@font-face {
  font-family:Barlow;
  src:url('/fonts/barlow-regular.woff2') format('woff2');
  font-weight:400;
  font-display:swap;
}
@font-face {
  font-family:Barlow;
  src:url('/fonts/barlow-bold.woff2') format('woff2');
  font-weight:700;
  font-display:swap;
}
@font-face {
  font-family:'Barlow Condensed';
  src:url('/fonts/barlow-condensed.woff2') format('woff2');
  font-weight:700;
  font-display:swap;
}
:root {
  color-scheme:light;
  --page:#eef2f5;
  --ink:#16324a;
  --muted:#53697b;
  --line:#d6e1e9;
  --blue:#173e60;
  --green:#08723a;
  --red:#b91e2d;
  --radius:14px;
  font-family:Barlow,Arial,sans-serif;
  color:var(--ink);
  background:var(--page);
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
  scrollbar-color:#9bb0c0 #eef2f5;
}
body {
  margin:0;
  font-size:16px;
  line-height:1.5;
}
::selection {
  background:#c5ead5;
  color:#0c3a25;
}
a {
  color:inherit;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
button,input,select {
  font:inherit;
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:wait;
  opacity:.65;
}
:focus-visible {
  outline:3px solid #3277b0;
  outline-offset:4px;
}
[hidden] {
  display:none!important;
}
.skip-link {
  position:fixed;
  top:8px;
  left:12px;
  z-index:20;
  transform:translateY(-150%);
  padding:10px 16px;
  background:white;
}
.skip-link:focus {
  transform:none;
}
.site-header {
  background:white;
  border-bottom:1px solid var(--line);
}
.header-inner {
  max-width:1344px;
  margin:auto;
  min-height:91px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 32px;
  gap:28px;
}
.brand {
  display:flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
  font-size:22px;
  line-height:1.08;
  white-space:nowrap;
}
.brand img {
  border-radius:10px;
  object-fit:contain;
}
.brand span {
  display:grid;
  gap:5px;
}
.brand strong {
  font-size:23px;
}
nav {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:15px;
  font-weight:700;
}
nav a {
  text-decoration:none;
}
nav a:hover {
  text-decoration:underline;
}
nav .current {
  color:var(--green);
}
.header-live {
  display:flex;
  align-items:center;
  gap:9px;
  padding:11px 15px;
  border:1px solid #e4bac0;
  border-radius:8px;
  color:#a51c2b;
}
.live-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:currentColor;
  flex:none;
}
.page-shell {
  max-width:1344px;
  margin:auto;
  padding:36px 32px 52px;
}
.page-intro {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:30px;
}
h1,h2,h3,p {
  margin:0;
}
h1 {
  font-size:38px;
  line-height:1.15;
  letter-spacing:-.025em;
  text-wrap:balance;
}
.page-intro p {
  margin-top:9px;
  color:var(--muted);
  font-size:16px;
}
.whatsapp-top {
  font-weight:700;
  color:#10633c;
  text-decoration:none;
  font-size:14px;
  margin-bottom:4px;
}
.whatsapp-top span {
  margin-left:7px;
}
.whatsapp-top:hover {
  text-decoration:underline;
}
.page-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 286px;
  gap:26px;
  align-items:start;
}
.follow-strip {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:-10px 0 27px;
  font-size:13px;
}
.follow-strip>span {
  color:var(--muted);
  margin-right:3px;
}
.follow-strip a {
  padding:6px 11px;
  border:1px solid #bfd0dd;
  border-radius:6px;
  text-decoration:none;
  background:#f8fafc;
  font-weight:700;
}
.follow-strip a:hover {
  background:white;
  border-color:var(--ink);
}
@media(max-width:680px) {
  .follow-strip {
    gap:7px;
    margin-top:-8px;
    margin-bottom:23px;
  }
  .follow-strip>span {
    display:none;
  }
  .follow-strip a {
    padding:6px 9px;
    font-size:12px;
  }
}
.results-section {
  min-width:0;
  scroll-margin-top:24px;
}
.filters {
  margin-bottom:29px;
}
.country-filters {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  padding-bottom:17px;
  border-bottom:1px solid #cbd8e2;
}
.country-filters button {
  padding:9px 12px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  min-height:40px;
}
.country-filters button:hover {
  background:#dfe8ee;
  color:var(--ink);
}
.country-filters button[aria-pressed=true] {
  background:var(--ink);
  color:white;
}
.search-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 190px;
  gap:14px;
  margin-top:18px;
}
.search-row label {
  display:grid;
  gap:6px;
  font-size:13px;
  font-weight:700;
}
input,select {
  background:white;
  border:1px solid #b9cbd8;
  border-radius:8px;
  min-width:0;
  width:100%;
  height:45px;
  padding:9px 12px;
  color:var(--ink);
  font-size:15px;
  font-weight:400;
  caret-color:var(--green);
}
input::placeholder {
  color:#627385;
  opacity:1;
}
input::-webkit-search-cancel-button {
  cursor:pointer;
}
select {
  padding-right:5px;
}
.results-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:17px;
}
.results-heading h2 {
  font-size:21px;
  line-height:1.25;
  letter-spacing:-.01em;
}
#refresh-status {
  font-size:13px;
  color:var(--muted);
  margin-top:4px;
  min-height:20px;
}
#refresh-status.error {
  color:#a8202e;
}
.refresh-button {
  background:white;
  border:1px solid #b9cbd8;
  color:var(--ink);
  border-radius:7px;
  padding:8px 13px;
  font-size:13px;
  font-weight:700;
  min-height:38px;
}
.refresh-button:hover {
  border-color:var(--ink);
  background:#e4edf3;
}
.result-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.result-card {
  position:relative;
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:17px 15px 15px;
  min-width:0;
}
.card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  min-height:61px;
  margin-bottom:10px;
}
.lottery-logo {
  max-width:calc(100% - 47px);
  width:140px;
  height:59px;
  object-fit:contain;
  object-position:left center;
}
.card-status {
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
  align-self:start;
  padding-top:3px;
}
.result-card.today .card-status {
  color:var(--green);
}
.result-card h3 {
  font-size:18px;
  line-height:1.15;
  letter-spacing:-.015em;
  margin-bottom:6px;
  font-weight:700;
  min-height:21px;
}
.draw-schedule {
  font-size:13px;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
  line-height:1.3;
  min-height:17px;
}
.winning-numbers {
  list-style:none;
  display:flex;
  justify-content:center;
  gap:7px;
  padding:0;
  margin:19px 0 0;
}
.winning-numbers li {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  min-width:0;
  flex:1;
}
.ball {
  display:grid;
  place-items:center;
  aspect-ratio:1;
  width:100%;
  max-width:88px;
  border-radius:50%;
  font-family:'Barlow Condensed',Barlow,sans-serif;
  font-size:clamp(38px,4.05vw,65px);
  line-height:1;
  font-weight:700;
  letter-spacing:-.025em;
  font-variant-numeric:tabular-nums;
  background:#e4ebf0;
  color:#455e72;
  border:1px solid #d6e0e8;
}
.today .ball {
  background:radial-gradient(ellipse 70% 45% at 50% 12%,#3fb86f 0,#1a9150 45%,transparent 100%),radial-gradient(circle at 50% 45%,#0b7a3c 0,#076a33 60%,#04502a 100%);
  color:white;
  border-color:#03401f;
  text-shadow:0 1px 2px #01371b;
}
.pending .ball {
  color:#8a9ba8;
  background:#f0f3f6;
  border-style:dashed;
}
.prize {
  font-size:12px;
  white-space:normal;
  text-align:center;
  line-height:1.2;
  color:var(--muted);
}
.draw-date {
  font-size:12px;
  color:var(--muted);
  margin-top:15px;
  padding-top:10px;
  border-top:1px solid #e7edf2;
  text-align:center;
  min-height:26px;
}
.result-card.today .draw-date {
  color:var(--green);
}
.loading-state,.empty-state {
  grid-column:1/-1;
  background:white;
  padding:46px 24px;
  text-align:center;
  border-radius:14px;
  border:1px solid var(--line);
  color:var(--muted);
}
.empty-state h3 {
  font-size:22px;
  color:var(--ink);
}
.empty-state p {
  margin-top:7px;
}
.empty-state button {
  margin-top:20px;
  border:0;
  border-radius:7px;
  padding:10px 16px;
  background:var(--ink);
  color:white;
  font-weight:700;
}
.results-note {
  margin:22px 0 0;
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  max-width:76ch;
}
.sidebar {
  display:grid;
  gap:24px;
}
.youtube-panel {
  padding:27px 24px 23px;
  background:var(--ink);
  color:white;
  border-radius:var(--radius);
}
.live-brand {
  border-radius:11px;
  margin-bottom:19px;
  object-fit:contain;
}
.youtube-panel h2 {
  font-size:29px;
  line-height:1.13;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.youtube-panel p {
  color:#cfdeea;
  font-size:14px;
  line-height:1.6;
  margin-top:12px;
}
.youtube-button {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#c72131;
  color:white;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  border-radius:8px;
  padding:12px 14px;
  margin-top:22px;
  gap:12px;
}
.youtube-button:hover {
  background:#ad1726;
}
.youtube-handle {
  display:block;
  text-align:center;
  font-size:12px;
  color:#cfdeea;
  margin-top:12px;
}
.next-draws,.social-panel {
  padding:0 3px;
}
.next-draws h2,.social-panel h2 {
  font-size:19px;
  line-height:1.25;
}
.next-draws ol {
  list-style:none;
  padding:0;
  margin:14px 0 0;
}
.next-draws li {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #ccd9e3;
  padding:10px 0;
  gap:12px;
}
.next-draws strong {
  font-size:14px;
  line-height:1.25;
  display:block;
}
.next-draws small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:2px;
}
.next-draws time {
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.next-draws>p {
  font-size:12px;
  color:var(--muted);
  margin-top:9px;
}
.social-panel>p {
  color:var(--muted);
  font-size:13px;
  margin:9px 0 15px;
}
.social-link {
  display:grid;
  grid-template-columns:33px minmax(0,1fr) 13px;
  gap:10px;
  align-items:center;
  text-decoration:none;
  padding:12px 0;
  border-bottom:1px solid #ccd9e3;
}
.social-link:hover strong {
  text-decoration:underline;
  text-underline-offset:3px;
}
.social-link strong {
  font-size:14px;
}
.social-link small {
  display:block;
  font-size:12px;
  color:var(--muted);
}
.social-link>span:last-child {
  color:var(--muted);
}
.social-monogram {
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  background:#dde7ed;
  color:var(--ink);
}
.youtube .social-monogram {
  color:#a41a28;
  background:#f8e2e4;
}
.instagram .social-monogram {
  color:#943575;
  background:#f3e5f0;
}
.facebook .social-monogram {
  color:#1755a5;
  background:#dee8f7;
  font-size:23px;
}
.whatsapp .social-monogram {
  color:#10633c;
  background:#dbece2;
}
.site-footer {
  max-width:1280px;
  margin:0 auto 25px;
  padding:25px 0;
  border-top:1px solid #cbd8e2;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:13px;
  color:var(--muted);
}
.site-footer div {
  display:flex;
  align-items:center;
  gap:20px;
}
.site-footer strong {
  color:var(--ink);
}
.site-footer a {
  text-decoration:none;
}
.site-footer a:hover {
  text-decoration:underline;
}
.result-card.updated .ball {
  animation:result-arrived .8s ease-out;
}
@keyframes result-arrived {
  0% {
    box-shadow:0 0 0 0 #08723a55;
  }
  100% {
    box-shadow:0 0 0 12px #08723a00;
  }
}
@media(min-width:1450px) {
  .ball {
    font-size:65px;
  }
}
@media(max-width:1180px) {
  .page-layout {
    grid-template-columns:minmax(0,1fr) 264px;
    gap:23px;
  }
  .result-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ball {
    font-size:65px;
  }
  .whatsapp-top {
    max-width:200px;
    text-align:right;
  }
  .site-footer {
    margin-inline:32px;
  }
}
@media(max-width:880px) {
  .header-inner {
    padding-inline:24px;
  }
  nav {
    gap:20px;
  }
  .brand {
    font-size:18px;
  }
  .brand strong {
    font-size:20px;
  }
  .page-shell {
    padding:28px 24px 40px;
  }
  .page-layout {
    grid-template-columns:minmax(0,1fr) 230px;
    gap:21px;
  }
  .country-filters button {
    padding-inline:9px;
    font-size:13px;
  }
  .result-grid {
    gap:11px;
  }
  .result-card {
    padding:13px 11px;
  }
  .card-top {
    min-height:54px;
    gap:4px;
  }
  .lottery-logo {
    height:51px;
  }
  .result-card h3 {
    font-size:16px;
  }
  .ball {
    font-size:49px;
  }
  .prize {
    font-size:12px;
  }
  .winning-numbers {
    gap:5px;
  }
  .search-row {
    grid-template-columns:1fr;
    gap:11px;
  }
  .status-field {
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center;
    gap:12px!important;
  }
  .status-field select {
    height:40px;
  }
  .youtube-panel {
    padding:23px 19px;
  }
  .youtube-panel h2 {
    font-size:25px;
  }
  .youtube-button {
    font-size:13px;
  }
  .whatsapp-top {
    display:none;
  }
  .site-footer div {
    display:grid;
    gap:4px;
  }
}
@media(max-width:680px) {
  html {
    scroll-padding-top:15px;
  }
  .header-inner {
    padding:13px 18px;
    min-height:80px;
    gap:14px;
  }
  .brand {
    gap:9px;
  }
  .brand img {
    width:43px;
    height:43px;
  }
  .brand span {
    font-size:17px;
    gap:4px;
  }
  .brand strong {
    font-size:18px;
  }
  nav>a.current,nav>a[href='#redes'] {
    display:none;
  }
  .header-live {
    padding:9px 10px;
    font-size:12px;
    gap:7px;
  }
  .page-shell {
    padding:25px 16px 34px;
  }
  .page-intro {
    margin-bottom:24px;
  }
  h1 {
    font-size:31px;
  }
  .page-intro p {
    font-size:14px;
  }
  .page-layout {
    display:flex;
    flex-direction:column;
    gap:32px;
  }
  .results-section,.sidebar {
    width:100%;
  }
  .country-filters {
    gap:3px;
    padding-bottom:12px;
  }
  .country-filters button {
    font-size:13px;
    padding:8px 10px;
    min-height:37px;
  }
  .search-row {
    grid-template-columns:minmax(0,1fr) 150px;
    gap:10px;
    margin-top:15px;
  }
  .status-field {
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .status-field select {
    height:45px;
    font-size:14px;
  }
  .search-row label {
    font-size:12px;
  }
  input {
    font-size:14px;
    padding-inline:10px;
  }
  .filters {
    margin-bottom:24px;
  }
  .results-heading h2 {
    font-size:21px;
  }
  .result-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:11px;
  }
  .result-card {
    padding:13px 11px;
  }
  .result-card h3 {
    font-size:17px;
  }
  .card-top {
    min-height:52px;
    gap:3px;
    margin-bottom:9px;
  }
  .lottery-logo {
    height:50px;
    max-width:calc(100% - 37px);
  }
  .card-status {
    font-size:12px;
  }
  .draw-schedule {
    font-size:12px;
  }
  .winning-numbers {
    margin-top:15px;
    gap:4px;
  }
  .ball {
    font-size:clamp(32px,9.5vw,52px);
    max-width:88px;
  }
  .prize {
    font-size:12px;
  }
  .draw-date {
    font-size:12px;
    margin-top:12px;
  }
  .sidebar {
    grid-template-columns:1fr 1fr;
    gap:26px 22px;
  }
  .youtube-panel {
    grid-column:1/-1;
    position:relative;
    padding:25px 24px;
  }
  .live-brand {
    width:51px;
    height:51px;
    margin-bottom:15px;
  }
  .youtube-panel h2 {
    font-size:30px;
  }
  .youtube-panel p {
    max-width:36ch;
  }
  .youtube-button {
    max-width:330px;
    font-size:15px;
  }
  .youtube-handle {
    text-align:left;
    margin-top:12px;
  }
  .next-draws h2,.social-panel h2 {
    font-size:18px;
  }
  .social-link {
    grid-template-columns:27px minmax(0,1fr) 10px;
    gap:7px;
  }
  .social-monogram {
    width:27px;
    height:27px;
    font-size:12px;
  }
  .facebook .social-monogram {
    font-size:20px;
  }
  .social-link small {
    font-size:12px;
  }
  .site-footer {
    margin:0 16px 20px;
    padding-top:22px;
    align-items:start;
    font-size:12px;
  }
  .site-footer>a {
    max-width:130px;
    text-align:right;
  }
}
@media(max-width:350px) {
  .header-inner {
    padding-inline:13px;
  }
  .header-live {
    font-size:12px;
    padding:8px;
  }
  .brand span {
    font-size:15px;
  }
  .brand strong {
    font-size:16px;
  }
  .page-shell {
    padding-inline:12px;
  }
  h1 {
    font-size:28px;
  }
  .search-row {
    grid-template-columns:1fr;
  }
  .result-grid {
    gap:9px;
  }
  .result-card {
    padding-inline:9px;
  }
  .result-card h3 {
    font-size:15px;
  }
  .ball {
    font-size:31px;
  }
  .prize {
    font-size:12px;
  }
  .sidebar {
    grid-template-columns:1fr;
  }
  .youtube-panel {
    grid-column:auto;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .result-card.updated .ball {
    animation:none;
  }
}
