*{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:hidden}
body{font-family:"DM Sans",system-ui,sans-serif;background:#eef2f7;color:#0f172a;line-height:1.55;-webkit-font-smoothing:antialiased;font-size:16.5px;padding-bottom:80px}
a{color:#7c3aed;text-decoration:none}

/* ============================================================ */
/* MOBILE-FIRST APP FRAME                                       */
/* ============================================================ */
@media(max-width:879px){
  body{background:linear-gradient(180deg,#7c3aed 0%,#a855f7 30%,#eef2f7 30%)}
}
.app{max-width:480px;margin:0 auto;background:#fafbff;min-height:100vh;box-shadow:0 0 60px rgba(0,0,0,.1);position:relative;z-index:1}
@media(min-width:880px){
  body{background:#eef2f7;padding-bottom:0}
  .app{max-width:1100px;background:transparent;box-shadow:none;min-height:auto;padding:0}
}

/* ============================================================ */
/* AD-RAIL LAYOUT (left + right side-rail ad slots)              */
/* Only visible on wide viewports (≥1300px). Content stays the   */
/* same width on all desktop sizes — rails appear when there's   */
/* horizontal room for them.                                     */
/* ============================================================ */
.page-grid{display:block}
@media(min-width:1480px){
  .page-grid{display:grid;grid-template-columns:160px minmax(0,1100px) 160px;gap:30px;justify-content:center;align-items:start;max-width:1480px;margin:0 auto;padding:0 12px}
  /* Pin content to the centre column so it stays centred even when the ad
     rails are hidden/absent (otherwise .app auto-places into the first
     160px track and the whole body shifts left). */
  .page-grid .app{max-width:none;grid-column:2}
}
.ad-rail{display:none}
@media(min-width:1480px){
  .ad-rail{display:block;position:sticky;top:96px;align-self:start}
  .ad-rail .slot{background:#fff;border:1px dashed #cbd5e1;border-radius:8px;padding:14px 8px;text-align:center;font-size:11px;font-weight:700;color:#94a3b8;letter-spacing:1px;text-transform:uppercase;line-height:1.4;min-height:600px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
  .ad-rail .slot::before{content:"AD";display:block;font-size:32px;font-weight:900;color:#cbd5e1;margin-bottom:6px;letter-spacing:2px}
  .ad-rail .slot small{font-size:10px;color:#cbd5e1;font-weight:600;letter-spacing:.5px;text-transform:none;margin-top:6px}
}

/* === MOBILE: app status bar + header (HIDDEN on desktop) === */
.mobile-only{display:block}
.desktop-only{display:none}
@media(min-width:880px){
  .mobile-only{display:none !important}
  .desktop-only{display:block}
}

.status-bar{background:#fff;color:#0f172a;padding:8px 18px;font-size:13px;font-weight:700;display:flex;justify-content:space-between;align-items:center;font-variant-numeric:tabular-nums}
.status-bar .signals{display:flex;gap:6px;font-size:11px}

.app-header{background:linear-gradient(135deg,#7c3aed 0%,#dc2626 100%);color:#fff;padding:16px 18px 70px;position:relative;overflow:hidden}
.app-header::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% -20%,rgba(251,191,36,.3) 0,transparent 50%)}
.app-header .row{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
.app-header .menu-btn{background:rgba(255,255,255,.2);border:none;color:#fff;width:38px;height:38px;border-radius:10px;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px)}
.app-header .title{font-size:15px;font-weight:700;flex:1;letter-spacing:-.01em;line-height:1.2}
.app-header .title small{display:block;font-size:11px;font-weight:500;opacity:.8;margin-top:2px}
.app-header .icon-btn{background:rgba(255,255,255,.2);border:none;color:#fff;width:38px;height:38px;border-radius:10px;font-size:16px;cursor:pointer;backdrop-filter:blur(10px)}
.app-header .greeting{margin-top:18px;font-size:24px;font-weight:800;letter-spacing:-.02em;position:relative;z-index:1;line-height:1.2}
.app-header .greeting small{display:block;font-size:13px;font-weight:500;opacity:.85;margin-top:4px;letter-spacing:0}

/* ============================================================ */
/* DESKTOP NAV + HERO                                           */
/* ============================================================ */
.desktop-nav{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:50}
.desktop-nav .inner{max-width:1100px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:20px;min-height:72px}
.desktop-nav .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#0f172a}
.desktop-nav .brand .mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#7c3aed,#dc2626);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:18px;box-shadow:0 8px 20px rgba(124,58,237,.3)}
.desktop-nav .brand .name{font-size:17px;font-weight:800;letter-spacing:-.01em;line-height:1.1}
.desktop-nav .brand .name small{display:block;font-size:10.5px;color:#7c3aed;font-weight:700;margin-top:2px;letter-spacing:1px;text-transform:uppercase}
.desktop-nav .menu{list-style:none;display:flex;gap:4px;margin-left:18px}
.desktop-nav .menu a{padding:10px 14px;font-size:15px;font-weight:600;color:#475569;border-radius:10px;text-decoration:none;transition:all .15s}
.desktop-nav .menu a:hover{background:#f1f5f9;color:#7c3aed}
.desktop-nav .menu a.active{background:linear-gradient(135deg,rgba(124,58,237,.1),rgba(220,38,38,.05));color:#7c3aed;font-weight:700}
.desktop-nav .right{margin-left:auto;display:flex;gap:8px;align-items:center}
.desktop-nav .state-btn{background:#fff;border:1px solid #e2e8f0;padding:8px 14px;border-radius:10px;font-family:inherit;font-size:13.5px;font-weight:700;color:#0f172a;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.desktop-nav .icon-btn{background:#f1f5f9;border:none;width:40px;height:40px;border-radius:10px;font-size:16px;cursor:pointer;color:#475569}

.desktop-hero{background:linear-gradient(135deg,#7c3aed 0%,#a855f7 50%,#dc2626 100%);color:#fff;padding:60px 24px 50px;position:relative;overflow:hidden;width:100%}
.desktop-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% -20%,rgba(251,191,36,.3) 0,transparent 50%)}
.desktop-hero .inner{max-width:1100px;margin:0 auto;position:relative;z-index:1;text-align:center}
.desktop-hero h1{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:8px;line-height:1.15}
.desktop-hero .sub{font-size:16px;opacity:.92;line-height:1.5}
.desktop-hero .sub strong{color:#fbbf24;font-weight:800}
/* === Branded share buttons (used in hero) === */
.share-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.share-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 14px;border-radius:12px;font-family:inherit;font-weight:800;font-size:14.5px;text-decoration:none;border:none;cursor:pointer;transition:all .15s;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.share-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.share-btn svg{width:20px;height:20px;flex-shrink:0;fill:currentColor}
.share-btn.wa{background:#25d366;color:#fff;padding:0 18px 0 14px}
.share-btn.fb{background:#1877f2;color:#fff;width:44px;padding:0}
.share-btn.tg{background:#229ed9;color:#fff;width:44px;padding:0}
.share-btn.more{background:#fff;color:#475569;width:44px;padding:0;border:1px solid rgba(15,23,42,.08);box-shadow:0 4px 10px rgba(0,0,0,.06)}
.share-btn.more:hover{color:#0f172a;border-color:#cbd5e1}

/* ============================================================ */
/* SLOT TABS                                                    */
/* ============================================================ */
.tab-row{padding:0 18px;margin-top:-56px;position:relative;z-index:2}
@media(min-width:880px){
  .tab-row{max-width:1100px;margin:-30px auto 0;padding:0 24px;position:relative;z-index:5}
}
.tabs{background:#fff;border-radius:16px;padding:6px;display:flex;gap:4px;box-shadow:0 12px 30px rgba(15,23,42,.12)}
@media(min-width:880px){.tabs{max-width:680px;margin:0 auto;padding:8px}}
.tab{flex:1;background:none;border:none;font-family:inherit;cursor:pointer;padding:10px 4px;border-radius:11px;display:flex;flex-direction:column;align-items:center;gap:2px;color:#64748b;font-weight:700;font-size:11px;letter-spacing:.3px;position:relative}
@media(min-width:880px){.tab{padding:12px 8px;font-size:12px}}
.tab .t{font-size:15px;color:#0f172a;font-weight:800;font-variant-numeric:tabular-nums}
@media(min-width:880px){.tab .t{font-size:17px}}
.tab.done .t::after{content:" ✓";color:#16a34a;font-size:13px}
.tab.live::before{content:"";position:absolute;top:6px;right:14px;width:7px;height:7px;background:#dc2626;border-radius:50%;animation:pulse 1.5s infinite}
.tab.upcoming .t{color:#ea580c}
.tab.active{background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;box-shadow:0 6px 16px rgba(124,58,237,.35)}
.tab.active .t{color:#fff}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ============================================================ */
/* RESULT CARD (mobile: full-width; desktop: 2-col with PDF)    */
/* ============================================================ */
.result-wrap{margin:14px 18px 0}
@media(min-width:880px){
  .result-wrap{max-width:1100px;margin:18px auto 0;padding:0 24px}
}
.result-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:880px){.result-grid{max-width:760px;margin:0 auto}}

.result-card,.pdf-preview-card,.checker-card,.section{background:#fff;border-radius:20px;padding:18px;box-shadow:0 4px 16px rgba(15,23,42,.05)}

/* ============================================================ */
/* NEW RESULT HEAD (theme-24 glass-card style, ported)          */
/* ============================================================ */
.result-card{padding:0;overflow:hidden}
.result-head{padding:22px 24px 16px;border-bottom:1px solid rgba(124,58,237,.08);position:relative;text-align:center}
.result-head::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#7c3aed,#a855f7,#dc2626,#fbbf24);border-radius:20px 20px 0 0}
.status-pill{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;padding:5px 12px;border-radius:99px;font-size:11.5px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;box-shadow:0 6px 14px rgba(220,38,38,.3);margin-bottom:10px;animation:pulse 2s infinite}
.status-pill::before{content:"";width:6px;height:6px;background:#fff;border-radius:50%}
.brand-meta{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;justify-content:center}
.brand-meta h2{font-size:clamp(20px,3vw,26px);font-weight:800;color:#0f172a;letter-spacing:-.015em;line-height:1.2}
.brand-meta .draw{font-family:ui-monospace,Monaco,monospace;font-size:13.5px;color:#64748b;font-weight:600}

.result-body{padding:24px;display:grid;grid-template-columns:1fr;gap:22px;align-items:center;text-align:center}
@media(min-width:720px){.result-body{grid-template-columns:1.5fr 1fr;text-align:left}}
.winner-display .label{font-size:11.5px;font-weight:800;color:#7c3aed;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.winner-display .amount{font-size:clamp(30px,5.5vw,44px);font-weight:900;color:#0f172a;letter-spacing:-.02em;line-height:1;margin-bottom:8px}
.winner-display .amount .grad{background:linear-gradient(135deg,#7c3aed,#dc2626);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.winner-display .net{font-size:15px;color:#64748b;margin-bottom:10px}
.winner-display .net b{background:linear-gradient(135deg,#10b981,#34d399);color:#fff;padding:3px 10px;border-radius:6px;font-weight:700;font-family:ui-monospace,Monaco,monospace}
.winner-display .meta-line{font-size:14.5px;color:#64748b}
.winner-display .meta-line strong{color:#0f172a;font-weight:700}

.ticket-glass{background:linear-gradient(135deg,#fef3c7 0%,#fef9c3 50%,#fbcfe8 100%);border:1px solid rgba(251,191,36,.4);border-radius:16px;padding:20px 16px;text-align:center;box-shadow:0 12px 28px rgba(251,191,36,.22);position:relative;overflow:hidden}
.ticket-glass::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.55) 50%,transparent 60%);animation:shine 3s infinite;pointer-events:none}
@keyframes shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.ticket-glass .lbl{font-size:11px;font-weight:800;color:#9a3412;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:6px;position:relative}
.ticket-glass .num{font-family:ui-monospace,Monaco,monospace;font-size:clamp(32px,6vw,44px);font-weight:900;color:#0f172a;letter-spacing:-.025em;line-height:1;position:relative}

/* PDF image moves below the result-body */
.result-card .pdf-real{margin:0 24px 18px;box-shadow:none}
.result-card .action-grid{padding:0 24px 10px}
.result-card #resultShareRow{padding:0 24px 22px;justify-content:center}

/* ============================================================ */
/* FULL RESULTS · 5 PRIZE TIERS (ported from theme-20-fonts)    */
/* ============================================================ */
.full-results{margin:18px auto 0;max-width:1100px;background:#fff;border:1px solid #e5e5e5;border-radius:18px;padding:22px;box-shadow:0 8px 20px rgba(10,10,10,.05)}
.full-results h3{font-size:20px;font-weight:800;color:#0f172a;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;letter-spacing:-.01em}
.full-results h3 .live{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;font-size:10.5px;padding:4px 10px;border-radius:5px;letter-spacing:1.5px;font-weight:900;display:inline-flex;align-items:center;gap:5px;box-shadow:0 4px 10px rgba(220,38,38,.3);animation:pulse 2s infinite}
.full-results h3 .live::before{content:"";width:6px;height:6px;background:#fff;border-radius:50%}
.tier{margin-bottom:12px;border-radius:12px;overflow:hidden;border:1px solid #e5e5e5}
.tier-head{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:13.5px;color:#fff;text-transform:uppercase;letter-spacing:.8px}
.tier-1 .tier-head{background:linear-gradient(135deg,#ea580c 0%,#dc2626 100%);border-left:5px solid #fbbf24}
.tier-2 .tier-head{background:linear-gradient(135deg,#f97316 0%,#fb923c 100%);border-left:5px solid #fde047}
.tier-3 .tier-head{background:linear-gradient(135deg,#15803d 0%,#16a34a 100%);border-left:5px solid #86efac}
.tier-4 .tier-head{background:linear-gradient(135deg,#0369a1 0%,#0284c7 100%);border-left:5px solid #7dd3fc}
.tier-5 .tier-head{background:linear-gradient(135deg,#7c3aed 0%,#a855f7 100%);border-left:5px solid #d8b4fe}
.tier-cons .tier-head{background:linear-gradient(135deg,#404040 0%,#171717 100%);border-left:5px solid #a3a3a3}
.tier-head .count{font-size:11.5px;opacity:.9;font-weight:600;margin-left:6px;text-transform:none;letter-spacing:0}
.tier-head .amt{background:rgba(255,255,255,.22);padding:4px 11px;border-radius:5px;font-size:12.5px;font-variant-numeric:tabular-nums;letter-spacing:.5px;font-family:ui-monospace,Monaco,monospace}
.tier-body{padding:14px 16px;font-family:ui-monospace,Monaco,monospace;font-size:15.5px;line-height:1.95;color:#0f172a;background:#fafafa;letter-spacing:.4px}
.tier-body span.n{display:inline-block;background:#fff;padding:4px 10px;margin:2px 4px 2px 0;border-radius:6px;border:1px solid #e5e5e5;font-weight:700;transition:all .15s}
.tier-body span.n:hover{border-color:#7c3aed;background:#faf5ff;transform:translateY(-1px)}
.tier-body.note{font-family:"DM Sans",sans-serif;font-size:15.5px;letter-spacing:0}
.tier-body.note span.n{font-family:ui-monospace,Monaco,monospace;letter-spacing:.4px}

/* ============================================================ */
/* HOW TO VERIFY YOUR TICKET (ported from theme-20-fonts)        */
/* ============================================================ */
.howto-card{margin:18px auto 0;max-width:1100px;background:#fff;border:1px solid #e5e5e5;border-radius:18px;padding:22px 24px;box-shadow:0 8px 20px rgba(10,10,10,.05)}
.howto-card .head-row{text-align:center;margin-bottom:18px}
.howto-card .head-row h2{font-size:22px;font-weight:800;color:#0f172a;letter-spacing:-.015em;margin-bottom:4px}
.howto-card .head-row h2 .accent{background:linear-gradient(135deg,#7c3aed,#dc2626);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.howto-card .head-row .sub{font-size:15.5px;color:#64748b;line-height:1.55;max-width:680px;margin:0 auto}
.howto{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:680px){.howto{grid-template-columns:repeat(2,1fr)}}
.howto-step{display:flex;gap:14px;padding:14px 16px;background:linear-gradient(135deg,#faf5ff,#fff);border:1px solid #e9d5ff;border-radius:12px}
.howto-step .n{flex-shrink:0;width:36px;height:36px;background:linear-gradient(135deg,#7c3aed,#dc2626);color:#fff;font-weight:900;font-size:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 4px 10px rgba(124,58,237,.25)}
.howto-step .body{flex:1;min-width:0}
.howto-step .body h4{font-size:16px;font-weight:800;color:#0f172a;margin-bottom:5px;letter-spacing:-.01em;line-height:1.25}
.howto-step .body p{font-size:15.5px;color:#475569;line-height:1.65;margin:0}
.howto-step .body p strong{color:#0f172a;font-weight:700}
.howto-step .body p code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:13.5px;color:#7c3aed;font-weight:700}
.howto-step .body p em{color:#dc2626;font-style:normal;font-weight:700}

.result-card .pill{display:inline-flex;align-items:center;gap:5px;background:#dcfce7;color:#15803d;padding:5px 11px;border-radius:99px;font-size:12px;font-weight:700;letter-spacing:.5px;margin-bottom:10px;text-transform:uppercase}
.result-card .pill.live{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;animation:pulse 2s infinite}
.result-card .pill.live::before{content:"";width:6px;height:6px;background:#fff;border-radius:50%}
.result-card .brand-line{font-size:17px;font-weight:700;color:#0f172a;margin-bottom:3px;letter-spacing:-.01em}
@media(min-width:880px){.result-card .brand-line{font-size:20px}}
.result-card .draw-meta{font-size:15px;color:#64748b;margin-bottom:14px}

.ticket-display{background:linear-gradient(135deg,#fef3c7 0%,#fbbf24 100%);border-radius:14px;padding:18px 14px;text-align:center;border:1px solid #f59e0b;margin-bottom:14px;position:relative;overflow:hidden}
.ticket-display::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 0,rgba(255,255,255,.5) 0,transparent 60%);pointer-events:none}
.ticket-display .label{font-size:12px;font-weight:800;color:#7c2d12;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:8px;position:relative}
.ticket-display .number{font-family:ui-monospace,Monaco,monospace;font-size:36px;font-weight:900;color:#0f172a;letter-spacing:-.03em;line-height:1;margin-bottom:8px;position:relative}
@media(min-width:880px){.ticket-display{padding:22px 14px}.ticket-display .number{font-size:44px}}
.ticket-display .amount{font-size:20px;font-weight:800;color:#dc2626;letter-spacing:-.015em;position:relative}
.ticket-display .net{font-size:13.5px;color:#7c2d12;font-weight:600;margin-top:4px;position:relative}

.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.act-btn{padding:12px 10px;background:#f1f5f9;border:none;border-radius:11px;font-family:inherit;font-weight:700;font-size:14.5px;color:#0f172a;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none}
.act-btn:hover{background:#e2e8f0}
.act-btn.primary{background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;box-shadow:0 4px 12px rgba(124,58,237,.3)}
.act-btn.share{background:#25d366;color:#fff}

/* === Visually-hidden helper for screen readers + crawlers === */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ============================================================ */
/* REAL PDF IMAGE — actual page-1 render from official PDF        */
/* ============================================================ */
.pdf-real{padding:0;overflow:hidden;border:3px solid #dc2626;background:#fff;border-radius:14px;box-shadow:0 8px 20px rgba(220,38,38,.18);scroll-margin-top:80px;margin-top:14px}
/* When nested inside result-card the outer card already has shadow — reduce ours */
.result-card .pdf-real{margin-top:14px;box-shadow:none}
/* Hide the nested pdf-real's action row (the result-card has its own) */
.result-card .pdf-real .pr-actions{display:none}
.pdf-real .pr-image-wrap{background:#fafafa;display:block;position:relative;cursor:zoom-in}
.pdf-real .pr-image-wrap img{display:block;width:100%;height:auto;border-bottom:1px solid #e2e8f0}
.pdf-real .pr-badge{position:absolute;top:10px;left:10px;background:rgba(15,23,42,.92);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:1.2px;padding:5px 10px;border-radius:5px;text-transform:uppercase;backdrop-filter:blur(8px);display:flex;align-items:center;gap:5px;line-height:1.2;z-index:2}
.pdf-real .pr-badge::before{content:"";width:6px;height:6px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}
.pdf-real .pr-zoom-hint{position:absolute;bottom:10px;right:10px;background:rgba(15,23,42,.85);color:#fff;font-size:11.5px;font-weight:700;padding:5px 10px;border-radius:5px;backdrop-filter:blur(8px);z-index:2;pointer-events:none;opacity:.9}
.pdf-real .pr-actions{padding:14px;background:#fafafa;border-top:1px solid #e2e8f0;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px}
.pdf-real .pr-actions a{padding:11px 8px;border-radius:9px;font-size:13.5px;font-weight:700;text-align:center;text-decoration:none;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:5px;line-height:1.2}
.pdf-real .pr-actions .v{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;box-shadow:0 4px 10px rgba(220,38,38,.25)}
.pdf-real .pr-actions .d{background:#fff;color:#0f172a;border-color:#e2e8f0}
.pdf-real .pr-actions .s{background:#25d366;color:#fff}

/* Lightbox overlay for full-size PDF view */
.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:200;padding:20px;overflow:auto;cursor:zoom-out}
.lightbox.open{display:flex;align-items:flex-start;justify-content:center}
.lightbox img{max-width:100%;width:auto;height:auto;border-radius:8px;box-shadow:0 30px 60px rgba(0,0,0,.6)}
.lightbox .close{position:fixed;top:18px;right:18px;background:rgba(255,255,255,.15);color:#fff;border:none;width:44px;height:44px;border-radius:50%;font-size:22px;cursor:pointer;font-weight:700;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px);z-index:201}
.lightbox .close:hover{background:rgba(255,255,255,.25)}

/* -- Top banner: yellow burst + red header + slot pill -- */
.pr-top{display:grid;grid-template-columns:120px 1fr auto;gap:0;background:linear-gradient(90deg,#dc2626 0%,#dc2626 100%);position:relative;overflow:hidden;border-bottom:3px solid #fbbf24}
.pr-burst{background:radial-gradient(circle at center,#fbbf24 0%,#f59e0b 100%);padding:10px 6px 12px;text-align:center;color:#dc2626;font-weight:900;position:relative;border-right:2px dashed #fff;display:flex;flex-direction:column;justify-content:center;line-height:1}
.pr-burst::before,.pr-burst::after{content:"";position:absolute;background:#fbbf24;width:14px;height:14px;transform:rotate(45deg);box-shadow:0 0 0 2px #fbbf24}
.pr-burst::before{top:-7px;left:50%;margin-left:-7px}
.pr-burst::after{bottom:-7px;left:50%;margin-left:-7px}
.pr-burst .pl1{font-size:8.5px;font-weight:800;color:#0f172a;letter-spacing:.3px;line-height:1.15;text-transform:uppercase;margin-bottom:1px}
.pr-burst .currency{font-size:13px;color:#0f172a;font-weight:900;line-height:1}
.pr-burst .big{font-size:48px;font-weight:900;letter-spacing:-.05em;line-height:.85;color:#1d4ed8;text-shadow:1px 1px 0 rgba(0,0,0,.1);margin:1px 0}
.pr-burst .word{font-size:18px;color:#1d4ed8;font-weight:900;letter-spacing:1px;line-height:1}
.pr-burst .seller{background:#fff;color:#dc2626;font-size:7.5px;font-weight:800;padding:2px 4px;margin-top:6px;letter-spacing:.2px;line-height:1.2;border:1px solid #dc2626;border-radius:2px}
@media(min-width:880px){.pr-burst .big{font-size:52px}.pr-top{grid-template-columns:140px 1fr auto}}

.pr-header{background:#dc2626;color:#fff;padding:8px 10px 0;text-align:center;display:flex;flex-direction:column;justify-content:flex-start}
.pr-state{font-size:11px;font-weight:800;letter-spacing:.8px;margin-bottom:3px;line-height:1.2}
.pr-brand{background:#1d4ed8;color:#fbbf24;font-size:32px;font-weight:900;letter-spacing:1px;padding:4px 10px;margin:0 -2px 4px;line-height:1;border-radius:4px;text-shadow:1px 1px 0 rgba(0,0,0,.2)}
.pr-game{background:#fbbf24;color:#1d4ed8;font-size:12px;font-weight:900;letter-spacing:.5px;padding:3px 6px;line-height:1.1;margin-bottom:2px}
.pr-game-sub{font-size:9.5px;font-weight:700;letter-spacing:.5px;margin-bottom:5px;color:#fff}
.pr-draw-row{display:flex;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:700;margin-bottom:3px}
.pr-draw-row .lbl{font-size:9px;color:#fff;font-weight:700}
.pr-draw-row .no{background:#fff;color:#dc2626;padding:2px 7px;border-radius:2px;font-weight:900;font-size:11px}
.pr-draw-row .date{background:#1d4ed8;color:#fff;padding:2px 7px;border-radius:2px;font-family:ui-monospace,Monaco,monospace;font-weight:800;font-size:11.5px;letter-spacing:.5px}
.pr-ticket{background:#fff;color:#dc2626;font-family:ui-monospace,Monaco,monospace;font-size:22px;font-weight:900;padding:6px 10px;border-radius:3px;letter-spacing:-.01em;margin-bottom:5px;line-height:1;border:1px solid #fbbf24}
@media(min-width:880px){.pr-ticket{font-size:26px}}

.pr-slot{background:#dc2626;color:#fff;padding:14px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:900;line-height:1;border-left:2px dashed #fff;min-width:60px;position:relative;text-align:center}
.pr-slot::before,.pr-slot::after{content:"";position:absolute;background:#dc2626;width:14px;height:14px;transform:rotate(45deg);box-shadow:0 0 0 2px #fbbf24;left:50%;margin-left:-7px;z-index:1}
.pr-slot::before{top:-7px}
.pr-slot::after{bottom:-7px}
.pr-slot .num{font-size:30px;color:#fff;line-height:.9}
.pr-slot .pm{font-size:18px;letter-spacing:1px;margin-top:2px}
.pr-slot .live{background:#fbbf24;color:#dc2626;font-size:7.5px;font-weight:800;padding:1px 4px;margin-top:4px;letter-spacing:.5px;border-radius:2px}
.pr-slot .mrp{font-size:8px;color:#fff;margin-top:6px;font-weight:700;line-height:1.1}
.pr-slot .mrp b{display:block;font-size:14px;color:#fbbf24;font-weight:900}

/* -- Sold-by strip -- */
.pr-sold{background:#fff;padding:6px 10px;font-size:10.5px;color:#0f172a;font-weight:700;text-align:center;border-bottom:1px solid #e2e8f0;line-height:1.4;letter-spacing:.2px}

/* -- Consolation strip -- */
.pr-cons{background:#fff;padding:7px 10px;font-size:10.5px;color:#0f172a;border-bottom:2px solid #dc2626;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;justify-content:center;text-align:center;line-height:1.4;font-weight:700}
.pr-cons .num{font-family:ui-monospace,Monaco,monospace;background:#fef9c3;border:1px solid #fbbf24;padding:2px 8px;font-size:13px;font-weight:900;color:#dc2626;border-radius:2px;letter-spacing:.5px}
.pr-cons .note{font-size:9.5px;color:#475569;font-weight:600;display:block;width:100%;text-align:center;margin-top:2px}

/* -- Prize tier strips (2nd, 3rd, 4th) -- */
.pr-tier{display:grid;grid-template-columns:88px 1fr;gap:0;border-bottom:1px solid #fff;background:#f1f5f9}
.pr-tier-label{padding:8px 4px;color:#fff;font-weight:900;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}
.pr-tier-label .r{font-size:11px;letter-spacing:.3px}
.pr-tier-label .amt{font-size:18px;margin-top:1px;line-height:1}
.pr-tier-label .amt b{font-family:ui-monospace,Monaco,monospace}
.pr-tier-label .for{font-size:7.5px;font-weight:700;opacity:.9;margin-top:2px;line-height:1.1}
.pr-tier-nums{padding:6px 8px;display:grid;grid-template-columns:repeat(5,1fr);gap:3px 6px;font-family:ui-monospace,Monaco,monospace;font-size:13px;font-weight:800;color:#0f172a;background:#fff;letter-spacing:.3px}
.pr-tier-nums div{text-align:center;padding:2px}
.pr-tier-2nd .pr-tier-label{background:#dc2626}
.pr-tier-3rd .pr-tier-label{background:#fbbf24;color:#dc2626}
.pr-tier-4th .pr-tier-label{background:#fbbf24;color:#dc2626}

/* -- 5th prize big grid -- */
.pr-fifth{background:#fff;border-top:3px solid #fff}
.pr-fifth-head{background:#1d4ed8;color:#fff;text-align:center;padding:6px 10px;font-size:11.5px;font-weight:900;letter-spacing:.4px}
.pr-fifth-grid{padding:6px 6px;display:grid;grid-template-columns:repeat(10,1fr);gap:2px 4px;font-family:ui-monospace,Monaco,monospace;font-size:10.5px;font-weight:800;color:#0f172a;letter-spacing:.2px}
.pr-fifth-grid div{text-align:center;padding:1px 0}
@media(min-width:540px){.pr-fifth-grid{font-size:11.5px;gap:3px 6px}}

/* -- Bottom strip -- */
.pr-foot{background:linear-gradient(90deg,#1d4ed8 0%,#dc2626 100%);color:#fff;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:4px 10px;border-top:3px solid #fbbf24;font-family:ui-monospace,Monaco,monospace;font-size:11px;font-weight:800}
.pr-foot .date{padding:3px 0}
.pr-foot .date:last-child{text-align:right}
.pr-foot .slot{background:#fff;color:#dc2626;padding:4px 11px;border-radius:99px;font-weight:900;font-size:13px;letter-spacing:.5px;text-align:center}
.pr-disclaimer{background:#fff;padding:5px 10px;text-align:center;font-size:8.5px;color:#525252;line-height:1.4;border-top:1px solid #e2e8f0}

/* -- Action row at very bottom -- */
.pr-actions{padding:14px;background:#fafafa;border-top:1px solid #e2e8f0;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px}
.pr-actions a{padding:11px 8px;border-radius:9px;font-size:13.5px;font-weight:700;text-align:center;text-decoration:none;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:5px;line-height:1.2}
.pr-actions .v{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;box-shadow:0 4px 10px rgba(220,38,38,.25)}
.pr-actions .d{background:#fff;color:#0f172a;border-color:#e2e8f0}
.pr-actions .s{background:#25d366;color:#fff}

/* === Quick checker === */
/* === GAMIFIED CHECKER: SLOT MACHINE (purple/red themed for theme-22) === */
.check-game{margin:14px 18px 0;background:linear-gradient(160deg,#faf5ff 0%,#fdf4ff 50%,#fef2f2 100%);border:1px solid rgba(124,58,237,.2);border-radius:20px;padding:24px 18px;position:relative;overflow:hidden;box-shadow:0 12px 30px rgba(124,58,237,.12)}
@media(min-width:880px){.check-game{max-width:1100px;margin:18px auto 0;padding:30px 32px}}
.check-game::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#7c3aed,#a855f7,#dc2626);border-radius:20px 20px 0 0}
.check-game::after{content:"🎰";position:absolute;font-size:140px;opacity:.06;top:-20px;right:-20px;transform:rotate(15deg);pointer-events:none}
.check-game h2{font-size:clamp(22px,4vw,28px);font-weight:800;text-align:center;color:#0f172a;letter-spacing:-.015em;margin:8px 0 6px;font-family:"DM Sans",system-ui,sans-serif}
.check-game h2 .accent{background:linear-gradient(135deg,#7c3aed,#dc2626);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.check-game .sub{text-align:center;color:#525252;font-size:16px;margin-bottom:20px;line-height:1.55}

/* Slot machine — dark wood-grain panel with reels */
.slot-machine{display:flex;gap:6px;justify-content:center;margin-bottom:18px;padding:16px;background:linear-gradient(180deg,#0a0a0a 0%,#1c1917 100%);border:2px solid #44403c;border-radius:14px;box-shadow:inset 0 4px 16px rgba(0,0,0,.6),0 8px 24px rgba(0,0,0,.2);position:relative}
.slot-machine::before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:60px;height:4px;background:linear-gradient(90deg,#7c3aed,#fbbf24,#dc2626);border-radius:2px}
.slot-machine::after{content:"";position:absolute;left:6px;right:6px;top:50%;height:1px;background:linear-gradient(90deg,transparent,#fbbf24,transparent);transform:translateY(-50%);opacity:.4;pointer-events:none}
.reel{flex:1;max-width:56px;height:68px;background:linear-gradient(180deg,#fff 0%,#fef3c7 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:ui-monospace,Monaco,monospace;font-size:30px;font-weight:900;color:#0a0a0a;box-shadow:0 0 0 1px #fbbf24,0 4px 12px rgba(0,0,0,.4),inset 0 2px 4px rgba(255,255,255,.5);position:relative;overflow:hidden;text-shadow:1px 1px 0 rgba(255,255,255,.5)}
.reel.spinning{animation:spinreel .08s linear infinite;color:#7c3aed}
@keyframes spinreel{0%{transform:translateY(-6px)}50%{transform:translateY(6px)}100%{transform:translateY(-6px)}}
.reel.win{animation:reelpop .5s ease;background:linear-gradient(180deg,#fbbf24 0%,#f59e0b 100%);color:#fff;text-shadow:0 0 12px rgba(255,255,255,.6)}
@keyframes reelpop{0%{transform:scale(1)}50%{transform:scale(1.15)}100%{transform:scale(1)}}
@media(max-width:480px){.reel{max-width:none;height:54px;font-size:24px}}

.scratch-area{background:#fff;border-radius:14px;padding:18px;border:2px solid rgba(124,58,237,.15);position:relative;z-index:1}
.scratch-label{font-size:11px;font-weight:800;color:#7c3aed;text-transform:uppercase;letter-spacing:2px;margin-bottom:10px;display:block;text-align:center}
.scratch-input{width:100%;font-family:ui-monospace,Monaco,monospace;font-size:clamp(20px,5vw,28px);font-weight:900;text-align:center;border:2px solid #e9d5ff;border-radius:12px;padding:14px 12px;background:#fafbff;color:#0f172a;letter-spacing:.15em;text-transform:uppercase;outline:none;transition:all .2s}
.scratch-input::placeholder{color:#cbd5e1}
.scratch-input:focus{border-color:#7c3aed;background:#fff;box-shadow:0 0 0 4px rgba(124,58,237,.12)}
.scratch-go{width:100%;margin-top:14px;background:linear-gradient(135deg,#7c3aed 0%,#dc2626 100%);color:#fff;border:none;padding:16px;border-radius:12px;font-family:inherit;font-size:16px;font-weight:800;cursor:pointer;letter-spacing:1px;text-transform:uppercase;box-shadow:0 10px 26px rgba(124,58,237,.35);transition:all .2s}
.scratch-go:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(124,58,237,.45)}
.scratch-go:active{transform:translateY(0)}
.scratch-result{margin-top:18px;padding:18px;border-radius:12px;text-align:center;font-weight:800;display:none;animation:popin .4s;font-size:15px}
@keyframes popin{0%{transform:scale(.7);opacity:0}100%{transform:scale(1);opacity:1}}
.scratch-result.win{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:2px solid #15803d;color:#14532d}
.scratch-result.win .big{font-size:32px;display:block;margin-bottom:4px;animation:bounce .6s}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.scratch-result.lose{background:#fef2f2;border:2px solid #fecaca;color:#7f1d1d}
.check-game .footnote{text-align:center;font-size:14px;color:#64748b;margin-top:14px;line-height:1.55}

/* === Quick actions === */
.quick-actions{margin:14px 18px 0;background:#fff;border-radius:20px;padding:16px;box-shadow:0 4px 16px rgba(15,23,42,.05)}
@media(min-width:880px){.quick-actions{max-width:1100px;margin:14px auto 0;padding:18px 24px}}
.quick-actions h3{font-size:15px;font-weight:800;color:#0f172a;margin-bottom:12px;letter-spacing:-.01em}
.qa-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media(min-width:880px){.qa-grid{grid-template-columns:repeat(8,1fr);gap:12px}}
.qa{display:flex;flex-direction:column;align-items:center;text-align:center;color:#0f172a;text-decoration:none;padding:8px 4px;border-radius:10px;transition:background .15s}
@media(min-width:880px){.qa{padding:12px 8px}}
.qa:hover{background:#f1f5f9}
.qa .ico{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:5px}
@media(min-width:880px){.qa .ico{width:52px;height:52px;font-size:24px;margin-bottom:8px}}
.qa-1 .ico{background:linear-gradient(135deg,#fee2e2,#fecaca)}
.qa-2 .ico{background:linear-gradient(135deg,#dbeafe,#bfdbfe)}
.qa-3 .ico{background:linear-gradient(135deg,#dcfce7,#bbf7d0)}
.qa-4 .ico{background:linear-gradient(135deg,#fef3c7,#fde68a)}
.qa-5 .ico{background:linear-gradient(135deg,#ede9fe,#ddd6fe)}
.qa-6 .ico{background:linear-gradient(135deg,#fce7f3,#fbcfe8)}
.qa-7 .ico{background:linear-gradient(135deg,#cffafe,#a5f3fc)}
.qa-8 .ico{background:linear-gradient(135deg,#fed7aa,#fdba74)}
.qa .lbl{font-size:12px;font-weight:700;color:#475569;line-height:1.25;letter-spacing:.2px}
@media(min-width:880px){.qa .lbl{font-size:13.5px}}

/* === Generic section card === */
.section{margin:14px 18px 0}
@media(min-width:880px){.section{max-width:1100px;margin:14px auto 0;padding:22px 24px}}
.section h3{font-size:16px;font-weight:800;color:#0f172a;margin-bottom:4px;letter-spacing:-.01em;display:flex;align-items:center;gap:6px}
@media(min-width:880px){.section h3{font-size:18px}}
.section .lead{font-size:15.5px;color:#64748b;margin-bottom:14px;line-height:1.55}
@media(min-width:880px){.section .lead{font-size:16.5px}}

/* === Multi-card grid on desktop === */
.section-grid-2{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:880px){.section-grid-2{max-width:1100px;margin:14px auto 0;padding:0 24px;grid-template-columns:1fr 1fr;gap:18px}}
@media(min-width:880px){.section-grid-2 .section{margin:0;max-width:none}}

.table-list{font-size:16px}
.table-list .item{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #f1f5f9}
.table-list .item:last-child{border-bottom:none}
.table-list .item span{color:#64748b;font-size:16px}
.table-list .item b{color:#0f172a;font-weight:700;font-size:16.5px;text-align:right;max-width:60%;font-family:ui-monospace,Monaco,monospace}
.table-list .item.win b{color:#15803d}

.tier-list .item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #f1f5f9}
.tier-list .item:last-child{border-bottom:none}
.tier-list .rank{background:#f1f5f9;color:#0f172a;font-weight:800;font-size:12.5px;padding:6px 11px;border-radius:7px;letter-spacing:.3px;line-height:1}
.tier-list .item.t1 .rank{background:linear-gradient(135deg,#fef3c7,#fbbf24);color:#7c2d12}
.tier-list .info-text{font-size:16px;color:#475569;line-height:1.45}
.tier-list .info-text strong{color:#0f172a}
.tier-list .amt{font-family:ui-monospace,Monaco,monospace;font-weight:800;color:#15803d;font-size:16.5px}

/* === State list (cards on desktop) === */
.state-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #f1f5f9;text-decoration:none;color:#0f172a}
.state-row:last-child{border-bottom:none}
.state-row .flag{width:38px;height:38px;border-radius:12px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.state-row.live .flag{background:linear-gradient(135deg,#dcfce7,#bbf7d0)}
.state-row .body{flex:1;min-width:0}
.state-row .name{font-weight:700;font-size:16px;line-height:1.2}
.state-row .brand{font-size:13.5px;color:#64748b;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.state-row .pill{font-size:11px;font-weight:800;padding:5px 9px;border-radius:99px;background:#f1f5f9;color:#475569;letter-spacing:.5px;text-transform:uppercase;flex-shrink:0;line-height:1.2}
.state-row.live .pill{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;animation:pulse 2s infinite;display:inline-flex;align-items:center;gap:4px}
.state-row.live .pill::before{content:"";width:5px;height:5px;background:#fff;border-radius:50%}
.state-row .arrow{color:#94a3b8;font-size:16px}

/* On desktop, switch state list to a grid */
@media(min-width:880px){
  .state-grid-desktop{display:grid;grid-template-columns:repeat(2,1fr);gap:0 24px}
  .state-grid-desktop .state-row{padding:11px 0}
}

/* === FAQ === */
.faq-item{padding:12px 0;border-bottom:1px solid #f1f5f9}
.faq-item:last-child{border-bottom:none}
.faq-item summary{font-weight:700;font-size:16px;color:#0f172a;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;line-height:1.4}
@media(min-width:880px){.faq-item summary{font-size:17px}}
.faq-item summary::after{content:"+";color:#7c3aed;font-size:22px;font-weight:300;line-height:1;flex-shrink:0;transition:transform .2s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{font-size:16px;color:#475569;line-height:1.7;margin-top:10px}
.faq-item p strong{color:#0f172a}

/* === Bottom nav (MOBILE only) === */
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:rgba(255,255,255,.96);backdrop-filter:blur(20px);border-top:1px solid #e2e8f0;padding:6px 8px 14px;display:flex;justify-content:space-around;z-index:50;box-shadow:0 -10px 30px rgba(15,23,42,.06)}
@media(min-width:880px){.bottom-nav{display:none}}
.bn{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 12px;text-decoration:none;color:#94a3b8;font-size:12px;font-weight:700;flex:1;border-radius:10px;transition:all .15s}
.bn .ico{font-size:20px;line-height:1}
.bn.active{color:#7c3aed}
.bn.fab{position:relative;color:#fff}
.bn.fab .ico{width:48px;height:48px;background:linear-gradient(135deg,#7c3aed,#dc2626);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;margin-top:-18px;box-shadow:0 6px 16px rgba(124,58,237,.4);color:#fff}
.bn.fab .lbl{color:#7c3aed;margin-top:-4px}

/* === Footer (desktop only — mobile uses bottom nav) === */
.desktop-footer{background:#0f172a;color:#cbd5e1;padding:36px 24px 22px;margin-top:36px;font-size:16px;line-height:1.6}
.desktop-footer .inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
.desktop-footer h4{font-size:12px;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:10px}
.desktop-footer a{color:#cbd5e1;display:block;padding:3px 0}
.desktop-footer a:hover{color:#a855f7}
.desktop-footer .brand-line{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.desktop-footer .brand-line .mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#7c3aed,#dc2626);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:16px}
.desktop-footer .brand-line strong{color:#fff;font-size:16px}
.desktop-footer .copy{border-top:1px solid #1e293b;margin-top:28px;padding-top:16px;text-align:center;font-size:13.5px;color:#94a3b8}
/* Mobile footer: collapse the 4-col grid to single-column so columns don't
   squeeze + words don't break mid-letter (body padding-bottom already clears
   the sticky bottom-nav). */
@media(max-width:879px){
  .desktop-footer{padding:28px 18px 22px}
  .desktop-footer .inner{display:flex;flex-direction:column;gap:22px}
  .desktop-footer h4{margin-bottom:6px}
  .desktop-footer .copy{margin-top:22px;padding-top:14px}
}
.pdf-embed-wrap{margin:14px 24px 18px;border:3px solid #7c3aed;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 20px rgba(124,58,237,.16)}
.result-card .pdf-embed-wrap{margin:14px 24px 18px;box-shadow:none}
.pdf-embed-head{padding:12px 16px;background:linear-gradient(135deg,#f5f3ff,#fef2f2);border-bottom:1px solid #e9d5ff;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}
.pdf-embed-head strong{font-size:14px;font-weight:800;color:#0f172a;letter-spacing:.2px}
.pdf-embed-head span{font-size:12.5px;color:#64748b;font-weight:600}
.pdf-embed-wrap object{display:block;width:100%;height:720px;border:0;background:#f8fafc}
.pdf-embed-fallback{padding:32px 24px;text-align:center;color:#64748b}
.pdf-embed-fallback p{font-size:15.5px;margin:0 0 14px}
.pdf-embed-fallback-btn{display:inline-block;padding:12px 22px;background:linear-gradient(135deg,#7c3aed,#dc2626);color:#fff;border-radius:10px;font-weight:800;font-size:14.5px;text-decoration:none}
.pdf-embed-mobile-btn{display:none;padding:14px 16px;background:#fafbff;border-top:1px solid #e9d5ff;text-align:center;font-size:14.5px;font-weight:800;color:#7c3aed;text-decoration:none}
@media (max-width:760px){.pdf-embed-wrap object{display:none}.pdf-embed-mobile-btn{display:block}}
@media (min-width:761px){.pdf-embed-mobile-btn{display:none}}
/* Brand image logo — homepage variants */
.desktop-nav .brand{gap:0}
.desktop-nav .brand img{display:block;height:70px;width:auto;max-width:260px;object-fit:contain}
@media(max-width:879px){.desktop-nav .brand img{height:40px;max-width:200px}}
.app-header .title-logo{display:block;flex:1;text-align:left}
.app-header .title-logo img{display:block;height:58px;width:auto;max-width:170px;background:#fff;padding:5px 8px;border-radius:8px}
/* Center "Today's Result" greeting to match desktop hero alignment */
.app-header .greeting{text-align:center}
.desktop-footer .brand-line{display:inline-flex;align-items:center;background:#fff;padding:8px 12px;border-radius:10px;margin-bottom:10px}
.desktop-footer .brand-line img{display:block;height:auto;max-width:200px;width:auto}
.tier-body .tier-empty{font-family:"DM Sans",sans-serif;font-size:16px;color:#475569;line-height:1.6;letter-spacing:0}
.tier-footnote{margin-top:16px;font-size:15px;color:#64748b;line-height:1.6;text-align:center;padding:0 8px}

/* ─────────────────────────────────────────────────────────────
   New homepage SEO content blocks (May 2026)
   ───────────────────────────────────────────────────────────── */

/* "What is Lottery Sambad" entity-definition block */
.section.explainer{background:linear-gradient(180deg,#fafbff 0%,#fff 100%);border-left:4px solid #7c3aed}
.section.explainer p{font-size:16.5px;line-height:1.7;color:#334155;margin-bottom:12px}
.section.explainer p:last-child{margin-bottom:0}
.section.explainer p strong{color:#0f172a;font-weight:700}

/* Brand-name weekly schedule table */
.brand-schedule-wrap{overflow-x:auto;margin-top:12px;-webkit-overflow-scrolling:touch}
.brand-schedule{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px;min-width:560px}
.brand-schedule thead th{background:linear-gradient(135deg,#7c3aed,#dc2626);color:#fff;font-weight:800;font-size:12.5px;text-transform:uppercase;letter-spacing:.8px;padding:10px 12px;text-align:left}
.brand-schedule thead th:first-child{border-top-left-radius:10px}
.brand-schedule thead th:last-child{border-top-right-radius:10px}
.brand-schedule tbody th{text-align:left;padding:11px 12px;font-weight:800;color:#0f172a;background:#fafbff;border-bottom:1px solid #e9d5ff;font-size:13.5px}
.brand-schedule tbody td{padding:11px 12px;color:#334155;border-bottom:1px solid #f1f5f9;font-weight:600;line-height:1.4}
.brand-schedule tbody tr:last-child th,.brand-schedule tbody tr:last-child td{border-bottom:none}
.brand-schedule tbody tr:hover th,.brand-schedule tbody tr:hover td{background:#faf5ff}

/* Ticket price / where-to-buy 4-card grid */
.buy-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
@media(min-width:520px){.buy-grid{grid-template-columns:1fr 1fr}}
@media(min-width:880px){.buy-grid{grid-template-columns:1fr 1fr 1fr 1fr}}
.buy-card{background:#fff;border:1px solid #e9d5ff;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.buy-card .buy-label{font-size:11px;font-weight:800;color:#7c3aed;letter-spacing:1.2px;text-transform:uppercase}
.buy-card .buy-value{font-size:22px;font-weight:900;color:#0f172a;letter-spacing:-.01em;line-height:1.1}
.buy-card .buy-note{font-size:12.5px;color:#475569;line-height:1.5;margin-top:auto}
.buy-card-warn{background:#fff7ed;border-color:#fed7aa}
.buy-card-warn .buy-label{color:#c2410c}
.buy-card-warn .buy-value{color:#9a3412}
.buy-card-warn .buy-note{color:#7c2d12}

/* "Is Lottery Sambad legal in my state?" 13-state grid */
.legal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:14px}
@media(min-width:540px){.legal-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:880px){.legal-grid{grid-template-columns:repeat(4,1fr)}}
.legal-yes{display:flex;align-items:center;gap:7px;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:700;color:#0f172a;line-height:1.3}
.legal-yes .dot{font-size:11px}

/* Expanded FAQ block */
.section.faq-block .faq-item{padding:14px 0;border-bottom:1px solid #f1f5f9}
.section.faq-block .faq-item:last-child{border-bottom:none}
.section.faq-block .faq-item summary{font-size:16px;font-weight:700;color:#0f172a;line-height:1.4}
.section.faq-block .faq-item p{font-size:16px;line-height:1.7;color:#475569;margin-top:10px}
.section.faq-block .faq-item p strong{color:#0f172a}

/* ─────────────────────────────────────────────────────────────
   Nav: hamburger, states dropdown, mobile drawer (May 2026)
   ───────────────────────────────────────────────────────────── */

/* Hamburger button — visible only on mobile (<880px) */
.nav-hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;background:transparent;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;padding:0 10px;flex-shrink:0;transition:all .15s}
.nav-hamburger:hover{background:#f1f5f9;border-color:#7c3aed}
.nav-hamburger span{display:block;width:100%;height:2.5px;background:#0f172a;border-radius:2px;transition:all .2s}
@media(max-width:879px){.nav-hamburger{display:flex}}

/* States dropdown (desktop, hover/click) */
.menu .has-dropdown{position:relative}
.menu .has-dropdown > a{cursor:pointer}
/* States dropdown — slim 2-column popup (see theme-22-inner.css for notes) */
.menu .has-dropdown{position:relative}
.states-dropdown{
  position:absolute;top:calc(100% + 8px);right:0;
  width:480px;max-width:calc(100vw - 24px);
  background:#fff;border:1px solid #e9d5ff;border-radius:14px;
  box-shadow:0 20px 44px rgba(15,23,42,.18),0 4px 12px rgba(124,58,237,.08);
  padding:14px;z-index:200;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  pointer-events:none;
}
.states-dropdown::before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}
.menu .has-dropdown:hover > .states-dropdown,
.menu .has-dropdown:focus-within > .states-dropdown{
  opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;
}
.states-dropdown-head{padding:4px 8px 10px;border-bottom:1px solid #f1f5f9;margin-bottom:8px;display:flex;flex-direction:column;gap:2px}
.states-dropdown-head strong{font-size:12px;font-weight:800;color:#7c3aed;letter-spacing:1.3px;text-transform:uppercase}
.states-dropdown-head span{font-size:12px;color:#64748b;font-weight:600}
.states-dropdown-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.sd-item{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:7px 8px;border-radius:8px;text-decoration:none;color:#0f172a;transition:background .12s;min-width:0}
.sd-item:hover{background:#faf5ff;text-decoration:none}
.sd-emoji{font-size:17px;line-height:1;text-align:center}
.sd-text{display:flex;flex-direction:column;gap:0;min-width:0;overflow:hidden}
.sd-name{font-weight:800;font-size:13px;color:#0f172a;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-brand{font-size:10.5px;color:#64748b;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-badge{font-size:9px;font-weight:900;padding:2px 6px;border-radius:4px;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap}
.sd-live{background:#dcfce7;color:#15803d}
.sd-soon{background:#f1f5f9;color:#94a3b8}
.states-dropdown-footer{display:block;margin-top:8px;padding:10px 12px;background:linear-gradient(135deg,#f5f3ff,#fef2f2);border-radius:9px;color:#7c3aed;font-weight:800;font-size:12.5px;text-align:center;text-decoration:none}
.states-dropdown-footer:hover{text-decoration:none;background:linear-gradient(135deg,#ede9fe,#fde2e2)}
@media(max-width:879px){.states-dropdown{display:none}}

/* Mobile drawer */
.nav-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(2px);z-index:200;opacity:0;transition:opacity .25s}
.nav-drawer-backdrop.is-open{opacity:1}
.nav-drawer{position:fixed;top:0;left:0;bottom:0;width:min(340px,86vw);background:#fff;z-index:201;box-shadow:8px 0 28px rgba(15,23,42,.18);transform:translateX(-100%);transition:transform .25s ease;display:flex;flex-direction:column;overflow:hidden}
.nav-drawer.is-open{transform:translateX(0)}
.nav-drawer-head{padding:14px 16px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;background:linear-gradient(135deg,#fafbff,#fff)}
.nav-drawer-brand img{display:block;height:42px;width:auto;max-width:200px}
.nav-drawer-close{background:#f1f5f9;border:none;width:36px;height:36px;border-radius:9px;font-size:16px;font-weight:700;cursor:pointer;color:#0f172a;flex-shrink:0;transition:background .12s}
.nav-drawer-close:hover{background:#e2e8f0}
.nav-drawer-body{flex:1;overflow-y:auto;padding:14px 16px 80px;-webkit-overflow-scrolling:touch}
.nav-drawer-section{margin-bottom:18px}
.nav-drawer-section h4{font-size:11px;font-weight:800;color:#7c3aed;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 8px;padding:0 8px}
.nav-drawer-section ul{list-style:none;margin:0;padding:0}
.nav-drawer-section li a{display:flex;align-items:center;gap:10px;padding:11px 10px;border-radius:9px;color:#0f172a;font-size:14.5px;font-weight:600;text-decoration:none;line-height:1.3;transition:background .12s}
.nav-drawer-section li a:hover{background:#fafbff;text-decoration:none}
.nav-drawer-section li a.active{background:linear-gradient(135deg,#ede9fe,#fde2e2);color:#7c3aed;font-weight:800}
.ds-emoji{font-size:18px;line-height:1;flex-shrink:0;width:22px;text-align:center}
.ds-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds-badge{font-size:9.5px;font-weight:900;padding:2px 6px;border-radius:4px;letter-spacing:.6px;text-transform:uppercase;flex-shrink:0}
.ds-live{background:#dcfce7;color:#15803d}
.ds-soon{background:#f1f5f9;color:#64748b}
.nav-drawer-helpline{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:3px;margin-top:6px}
.nav-drawer-helpline strong{font-size:11px;font-weight:800;color:#c2410c;letter-spacing:1px;text-transform:uppercase}
.nav-drawer-helpline a{font-size:18px;font-weight:900;color:#9a3412;text-decoration:none;font-family:ui-monospace,Monaco,monospace}
.nav-drawer-helpline span{font-size:11.5px;color:#7c2d12;line-height:1.4}

/* Hide desktop menu on mobile (drawer takes over) */
@media(max-width:879px){
  .desktop-nav .menu{display:none}
}
@media(min-width:880px){.desktop-nav .menu{margin-left:auto}}

/* ─────────────────────────────────────────────────────────
   Smooth scroll + smooth slot/FAQ transitions (May 2026)
   ───────────────────────────────────────────────────────── */

/* Native smooth scroll for in-page anchors (/#check, /#faq, etc.) */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* When switching slot tabs the result card content swaps — give it a
   short fade so the change feels intentional, not a hard repaint. */
.result-card{transition:opacity .22s ease}
.result-card.is-updating{opacity:.55}

/* Same for the prize tier panels (1st/cons/2nd/3rd/4th/5th bodies) */
.tier-body{transition:opacity .25s ease}
.full-results.is-updating .tier-body{opacity:.45}

/* Slot tabs themselves — subtle scale/lift on active selection */
.tab-row .tabs .tab{transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.tab-row .tabs .tab.active{transform:translateY(-1px)}

/* FAQ details — smooth chevron rotation + answer fade-in */
.faq-item summary{transition:color .15s ease}
.faq-item summary::after{transition:transform .22s ease}
.faq-item details[open] > p,
.section.faq-block details[open] > p{
  animation:faq-fade-in .25s ease both;
}
@keyframes faq-fade-in{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}
@media (prefers-reduced-motion:reduce){
  .result-card,.tier-body,.tab-row .tabs .tab{transition:none}
  .faq-item details[open] > p,.section.faq-block details[open] > p{animation:none}
}

/* Quick-actions tiles — subtle hover lift */
.qa-grid .qa{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.qa-grid .qa:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(124,58,237,.12)}

/* State-row hover in "Other state lotteries" — subtle slide */
.state-grid-desktop .state-row{transition:background .18s ease,transform .18s ease,border-color .18s ease}
.state-grid-desktop .state-row:hover{background:#faf5ff;transform:translateX(2px)}
