/* DG8 white theme (temp8) — white surfaces, black type, red accent; layout per the owner's
   2026-11-19 mockup. Colour tokens feed every temp7 page (wallet, profile, promotions…). */
:root{
  /* !important: shared/cms.js writes the merchant theme inline on <html>; with no theme saved it falls back to blue. */
  --cms-primary-solid:#e3262f!important; --cms-primary:#e3262f!important; --cms-primary-contrast:#fff!important; --cms-primary-soft:#fde8e9!important;
  --cms-accent-solid:#111111!important; --cms-accent:#111111!important; --cms-accent-soft:#f1f1f2!important;
  --cms-bg-solid:#f4f5f7!important; --cms-surface:#ffffff!important; --cms-surface-2:#f7f7f8!important; --cms-surface-strong:#ffffff!important;
  --cms-text-solid:#111111!important; --cms-muted:#6b7280!important; --cms-muted-2:#9ca3af!important;
  --cms-line:#eceef1!important; --cms-line-strong:#dfe2e6!important; --cms-shadow-color:rgba(17,17,17,.08)!important;
  --d8-red:#e3262f!important; --d8-red-2:#c81e26!important; --d8-black:#111111!important; --d8-line:#eceef1!important;
}
html,body{background:#f4f5f7!important;color:#111}
body::before,body::after{display:none!important}           /* no coloured glow backdrop */
#chatFab{display:none!important}                           /* chat lives in the header / quick actions / Contact Us */

/* ---- header ---- */
.d8-top{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid var(--d8-line)}
.d8-ib{width:36px;height:36px;border:0;background:transparent;display:grid;place-items:center;color:#111;cursor:pointer;position:relative;flex:none;padding:0}
.d8-ib svg{width:24px;height:24px}
.d8-dot::after{content:"";position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:var(--d8-red);border:2px solid #fff}
.d8-gift{color:var(--d8-red)}
.d8-logo{color:#111;display:flex;align-items:center;min-width:0;text-decoration:none}
.d8-logo-img{height:34px;width:auto;max-width:120px;object-fit:contain}
.d8-logo-txt{font-weight:900;font-size:26px;letter-spacing:-.04em;color:#111;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw;display:block}
.d8-logo-txt em{font-style:normal;color:var(--d8-red)}
.d8-top-r{margin-left:auto;display:flex;align-items:center;gap:2px}
.d8-lang{display:flex;align-items:center;gap:1px;border:0;background:transparent;font-size:20px;cursor:pointer;padding:0 4px;color:#111}
.d8-lang svg{width:12px;height:12px}
.d8-auth{display:flex;flex-direction:column;gap:5px;margin-left:4px}
.d8-btn-line,.d8-btn-red{min-width:78px;height:28px;padding:0 12px;border-radius:6px;font:inherit;font-size:11px;font-weight:800;letter-spacing:.02em;cursor:pointer}
.d8-btn-line{background:#fff;color:#111;border:1px solid #d6d9de}
.d8-btn-red{background:var(--d8-red);color:#fff;border:1px solid var(--d8-red)}
.d8-bal{margin-left:6px;border:1px solid #e5e7eb;background:#fff;border-radius:8px;padding:4px 10px;text-align:right;cursor:pointer;font:inherit;color:#111}
.d8-bal small{display:block;font-size:10px;color:#6b7280}.d8-bal b{font-size:14px}

/* ---- menu (hamburger) ---- */
/* ---- side menu (hamburger → left drawer) ---- */
.d8-drawer{position:fixed;inset:0;z-index:2000;visibility:hidden;pointer-events:none}
.d8-drawer.open{visibility:visible;pointer-events:auto}
.d8-dr-bg{position:absolute;inset:0;background:rgba(17,17,17,.45);opacity:0;transition:opacity .2s}
.d8-drawer.open .d8-dr-bg{opacity:1}
.d8-dr-panel{position:absolute;top:0;bottom:0;left:0;width:min(300px,84vw);background:#fff;display:flex;flex-direction:column;transform:translateX(-102%);transition:transform .22s ease-out;box-shadow:6px 0 24px rgba(17,17,17,.12)}
.d8-drawer.open .d8-dr-panel{transform:none}
.d8-dr-head{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 12px 16px;border-bottom:1px solid var(--d8-line)}
.d8-dr-user,.d8-dr-guest{margin:12px 12px 4px;padding:12px;border-radius:12px;background:#111;color:#fff}
.d8-dr-user{display:flex;align-items:center;gap:10px}
.d8-dr-av{width:38px;height:38px;border-radius:50%;background:var(--d8-red);display:grid;place-items:center;flex:none}
.d8-dr-av svg{width:20px;height:20px}
.d8-dr-who{flex:1;min-width:0;display:flex;flex-direction:column}
.d8-dr-who b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-dr-who small{font-size:11px;color:#c9cbd0}
.d8-dr-user .d8-btn-red{min-width:0}
.d8-dr-guest p{margin:0 0 10px;font-size:12px;color:#d6d8dc;line-height:1.4}
.d8-dr-guest div{display:flex;gap:8px}.d8-dr-guest button{flex:1;height:34px}
.d8-dr-body{flex:1;overflow-y:auto;padding:4px 0 24px;-webkit-overflow-scrolling:touch}
.d8-dr-g{padding:6px 0;border-bottom:1px solid var(--d8-line)}
.d8-dr-g:last-child{border-bottom:0}
.d8-dr-g h3{margin:8px 16px 4px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#9ca3af}
.d8-dr-row{display:flex;align-items:center;gap:12px;padding:9px 16px;color:#111;text-decoration:none;cursor:pointer;font-size:14px;font-weight:600}
.d8-dr-row:active{background:#f4f5f7}
.d8-dr-row>span:not(.d8-dr-ic){flex:1}
.d8-dr-ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:#fff;flex:none;overflow:hidden}
.d8-dr-ic.red{background:var(--d8-red)}.d8-dr-ic.dark{background:#111}
.d8-dr-ic.img img{width:100%;height:100%;object-fit:contain}
.d8-dr-ic svg{width:17px;height:17px}
.d8-dr-chev{width:16px;height:16px;color:#c3c6cc}
.d8-dr-val{font-style:normal;font-size:13px;color:#6b7280;font-weight:600}
@media (hover:hover){.d8-dr-row:hover{background:#f7f7f8}}
@media (prefers-reduced-motion:reduce){.d8-dr-panel,.d8-dr-bg{transition:none}}

/* ---- default home banner (only while no banner is uploaded) ---- */
.d8-hero-def{display:none;position:relative;overflow:hidden;margin:10px 12px 0;border-radius:12px;aspect-ratio:2.3/1;background:linear-gradient(120deg,#e3262f 0%,#b5121b 58%,#111 58.2%,#111 100%);color:#fff}
/* Default card only once the site data has loaded and there really are no banners (no flash on refresh);
   while loading, an empty banner-sized placeholder keeps the layout still. */
.hero-carousel-host[data-sig]:empty+.d8-hero-def{display:flex;align-items:center}
.hero-carousel-host:not([data-sig]):empty{aspect-ratio:2/1;border-radius:14px;background:#e9eaee}
.d8-hb-copy{position:relative;z-index:1;padding:0 18px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:66%}
.d8-hb-copy small{font-size:11px;font-weight:800;letter-spacing:.14em;opacity:.85}
.d8-hb-copy b{font-size:40px;font-weight:900;letter-spacing:-.04em;line-height:.95}
.d8-hb-copy b em{font-style:normal;color:#111}
.d8-hb-copy span{font-size:11.5px;line-height:1.35;opacity:.92}
.d8-hb-cta{margin-top:8px;display:inline-block;background:#fff;color:#e3262f!important;font-weight:900;font-size:12px;letter-spacing:.04em;padding:8px 16px;border-radius:999px;cursor:pointer;opacity:1!important}
.d8-hb-mark{position:absolute;right:-6px;bottom:-14px;font-size:96px;font-weight:900;letter-spacing:-.06em;color:rgba(255,255,255,.1);line-height:1;pointer-events:none}

/* ---- notice bar ---- */
.notice-strip.d8-notice{display:flex;align-items:center;gap:10px;margin:10px 12px 0;padding:11px 14px;background:#111;color:#fff;border:0;border-radius:10px;cursor:pointer}
.d8-notice .bell{background:transparent!important;width:auto;height:auto;color:#fff;display:grid;place-items:center}
.d8-notice .bell svg{width:18px;height:18px}
.d8-notice .text{flex:1;min-width:0;font-size:13px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-notice .cup{color:#ff4d55;font-size:13px;font-weight:700;white-space:nowrap}

/* ---- banner ---- */
.hero-carousel-host{margin:10px 12px 0;border-radius:12px;overflow:hidden}

/* ---- quick actions ---- */
.d8-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 12px 0;background:#fff;border:1px solid var(--d8-line);border-radius:12px;padding:11px 2px}
.d8-q{display:flex;align-items:center;gap:4px;padding:0 3px;cursor:pointer;text-decoration:none;color:#111;min-width:0;border-right:1px solid var(--d8-line)}
.d8-q:last-child{border-right:0}
.d8-qi{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;flex:none;color:#fff}
.d8-qi.red{background:var(--d8-red)}.d8-qi.dark{background:#111}
.d8-qi svg{width:17px;height:17px}
.d8-qt{min-width:0}.d8-qt b{display:block;font-size:10.5px;letter-spacing:-.01em;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-qt small{display:block;font-size:8px;line-height:1.25;color:#6b7280;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media (max-width:370px){.d8-q{flex-direction:column;text-align:center;gap:4px}.d8-qt small{display:none}}

/* ---- categories ---- */
.d8-cats{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:12px 12px 0;padding:12px 6px 8px;background:#fff;border:1px solid var(--d8-line);border-radius:12px}
.d8-cats::-webkit-scrollbar{display:none}
.d8-cat{flex:0 0 auto;min-width:64px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:2px 6px 8px;cursor:pointer;color:#111;text-decoration:none;position:relative}
.d8-ci{width:34px;height:34px;display:grid;place-items:center}
.d8-ci svg{width:28px;height:28px;stroke-width:1.6}.d8-ci img{width:30px;height:30px;object-fit:contain}
.d8-cl{font-size:11px;font-weight:600;white-space:nowrap}
.d8-cat.on .d8-ci{color:var(--d8-red)}
.d8-cat.on::after{content:"";position:absolute;bottom:0;left:50%;width:18px;height:3px;border-radius:2px;background:var(--d8-red);transform:translateX(-50%)}

/* ---- sections ---- */
.d8-sec{margin:16px 0 0}
.d8-h{display:flex;align-items:center;justify-content:space-between;padding:0 12px 10px}
.d8-h h2{margin:0;font-size:15px;font-weight:900;letter-spacing:.02em;color:#111}
.d8-h a{font-size:12px;font-weight:800;color:var(--d8-red);text-decoration:none;cursor:pointer}
.d8-row{display:flex;gap:9px;overflow-x:auto;padding:0 12px 4px;scroll-padding:0 12px;scrollbar-width:none;scroll-snap-type:x proximity}
.d8-row::-webkit-scrollbar{display:none}
.d8-empty{color:#6b7280;font-size:13px;padding:18px 4px}
.d8-g{flex:0 0 112px;scroll-snap-align:start;cursor:pointer;text-decoration:none;color:#111}
.d8-gi{display:grid;place-items:center;width:112px;height:150px;border-radius:10px;overflow:hidden;background:#e9eaed;font-size:28px}
.d8-gi img{width:100%;height:100%;object-fit:cover}
.d8-gn{display:block;margin-top:6px;font-size:11px;font-weight:600;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#d8ProvSec .brand-list{padding:0 12px}

/* ---- promotions ---- */
.d8-pc{flex:0 0 180px;height:128px;position:relative;overflow:hidden;border-radius:12px;padding:14px 12px;background:#111;color:#fff;text-decoration:none;cursor:pointer;scroll-snap-align:start;display:flex;flex-direction:column}
.d8-pc.red{background:linear-gradient(135deg,#e3262f,#a8141b)}
.d8-pimg{position:absolute;right:-6px;bottom:-4px;width:58%;height:auto;max-height:100%;object-fit:contain;opacity:.95}
.d8-pt{position:relative;font-size:15px;font-weight:900;line-height:1.1;text-transform:uppercase;max-width:62%}
.d8-ps{position:relative;margin-top:4px;font-size:9px;font-weight:700;color:#ff6b72;text-transform:uppercase;max-width:62%}
.d8-pc.red .d8-ps{color:#ffe1a8}
.d8-pb{position:relative;margin-top:auto;align-self:flex-start;background:var(--d8-red);color:#fff;font-size:10px;font-weight:800;padding:6px 12px;border-radius:5px;text-transform:uppercase}
.d8-pc.red .d8-pb{background:#fff;color:var(--d8-red)}

/* ---- VIP club ---- */
.d8-vip{display:flex;gap:10px;align-items:center;margin:16px 12px 0;padding:14px;border-radius:12px;background:#111;color:#fff}
.d8-vip-l{flex:none;width:88px}
.d8-vip-l b{display:block;font-size:15px;font-weight:900}
.d8-vip-l small{display:block;font-size:9px;font-weight:700;color:#ff6b72;margin:2px 0 10px}
.d8-btn-gold{display:inline-block;background:var(--d8-red);color:#fff;font-size:10px;font-weight:900;padding:7px 12px;border-radius:5px;text-decoration:none}
.d8-vip-r{flex:1;min-width:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.d8-vip-r::-webkit-scrollbar{display:none}
.d8-tier{flex:1 1 0;min-width:46px;display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:#fff;text-align:center}
.d8-medal{width:36px;height:36px;display:grid;place-items:center;font-size:26px}.d8-medal img{width:40px;height:40px;object-fit:contain}
.d8-tier b{font-size:10px;font-weight:900;color:#f5d27a}.d8-tier small{font-size:9px;color:#cfcfd4}

/* ---- bottom navigation ---- */
#bottomtab{background:#fff!important;border-top:1px solid var(--d8-line)!important;box-shadow:0 -4px 16px rgba(17,17,17,.05)!important}
#bottomtab .bt-item{color:#111!important}
#bottomtab .bt-item .ic{background:transparent!important;color:#111!important;box-shadow:none!important}
#bottomtab .bt-item.active,#bottomtab .bt-item.active .ic{color:var(--d8-red)!important}
#bottomtab .bt-item.active span:last-child{color:var(--d8-red)!important;font-weight:800}

@media (min-width:720px){
  .d8-top,.d8-notice,.hero-carousel-host,.d8-quick,.d8-cats,.d8-sec,.d8-vip,.d8-hero-def{max-width:1080px;margin-left:auto;margin-right:auto}
  .d8-notice,.hero-carousel-host,.d8-quick,.d8-cats,.d8-vip,.d8-hero-def{width:calc(100% - 24px)}
  .d8-g{flex-basis:150px}.d8-gi{width:150px;height:200px}
  .d8-pc{flex-basis:260px;height:150px}
}

/* =====================================================================================
   DG8 inner pages (2026-11-19) — one design language for every page, same as the home:
   white cards with a thin grey border, bold black titles, red for action, black for feature
   blocks, red/black square icons. Overrides temp7 page styles; JS pages are unchanged.
   ===================================================================================== */
:root{ --cms-font-heading:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; --cms-font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
body,button,input,select,textarea{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
[style*="Bricolage"],[style*="Plus Jakarta"]{font-family:inherit!important}
h1,h2,h3,.section-title,.page-title{letter-spacing:-.01em}
.section-title,.section-title em{font-style:normal!important}
.section-title em{color:var(--d8-red)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.page-title{font-family:inherit;font-weight:900;font-size:1.15rem}

/* cards: flat white + thin border everywhere */
.glass-card,.asset-card,.welfare-card,.about-row,.mission-item,.ms-card,.vip-tier,.fs-v,.ag-card:not(.ag-hero):not(.ag-wallet){
  background:#fff!important;border:1px solid var(--d8-line)!important;box-shadow:none!important;border-radius:12px}
.glass-card{backdrop-filter:none!important}

/* feature blocks: black with red accent (was green / blue / mixed gradients) */
.vip-hero,.promo-head,.ag-wallet,.ag-kpi.big,.fs-v-l{background:#111!important;color:#fff!important;box-shadow:none!important}
.vip-hero small{color:var(--d8-red)!important}
.vip-hero *{border-color:rgba(255,255,255,.15)}
.ag-hero{background:linear-gradient(135deg,#e3262f,#a8141b)!important}
.ag-kpi.big span,.ag-kpi.big b{color:#fff!important}

/* profile: VIP strip, assets, reward centre */
.vip-banner{background:#111!important;border:0!important;box-shadow:none!important;color:#fff}
.vip-banner .row{color:#fff!important}.vip-banner .row i{color:#ff4d55!important}
.vip-banner .perks .perk{background:rgba(255,255,255,.08)!important;color:#f5d27a!important}
.asset-card .row4 .item .ic,.welfare-card .grid .it .ic{box-shadow:none!important}
/* Me page icons (owner pick B 2026-11-20): soft pink tiles, deposit/withdraw solid red */
.asset-card .row4 .item:nth-child(n) .ic,.welfare-card .grid .it:nth-child(n) .ic{background:#fde8e9!important;color:var(--d8-red)!important}
.asset-card .row4 .item[data-act=deposit]:nth-child(n) .ic,.asset-card .row4 .item[data-act=withdraw]:nth-child(n) .ic{background:var(--d8-red)!important;color:#fff!important}
/* Me page icon style "solid 3D" (owner trial 2026-11-20, alternative = glass D): delete this block to go back to flat */
.asset-card .row4 .item:nth-child(n) .ic,.welfare-card .grid .it:nth-child(n) .ic{background:linear-gradient(160deg,#fff 0%,#ffe3e5 55%,#ffc9cd 100%)!important;border:1px solid #ffd3d6;box-shadow:0 6px 12px -4px rgba(227,38,47,.35),inset 0 -3px 0 rgba(227,38,47,.18),inset 0 2px 0 #fff!important;transition:transform .12s,box-shadow .12s}
.asset-card .row4 .item[data-act=deposit]:nth-child(n) .ic,.asset-card .row4 .item[data-act=withdraw]:nth-child(n) .ic{background:linear-gradient(160deg,#ff6b72 0%,#e3262f 55%,#b8141c 100%)!important;border-color:#c81e26;box-shadow:0 8px 14px -5px rgba(200,20,30,.55),inset 0 -3px 0 rgba(0,0,0,.18),inset 0 2px 0 rgba(255,255,255,.45)!important}
.asset-card .row4 .item:active .ic,.welfare-card .grid .it:active .ic{transform:translateY(2px);box-shadow:0 2px 4px -2px rgba(227,38,47,.35),inset 0 -1px 0 rgba(227,38,47,.18),inset 0 2px 0 #fff!important}
.welfare-card .head{background:#fff!important;border-bottom:1px solid var(--d8-line)}
.welfare-card .head .lbl{font-weight:900}
.welfare-card .head .right{background:var(--d8-red)!important;box-shadow:none!important}
.promo-item{background:#fff!important;border:1px solid var(--d8-line)!important;box-shadow:none!important}

/* primary / secondary buttons */
.btn-blue,.btn-gold,.btn-primary,.mission-claim:not(.disabled),.fs-btn:not(.ghost),.ag-btn{background:var(--d8-red)!important;color:#fff!important;border-color:var(--d8-red)!important;box-shadow:none!important}
.btn-light,.btn-glass,.fs-btn.ghost{background:#fff!important;color:#111!important;border:1px solid #d6d9de!important;box-shadow:none!important}

/* chips / pills / tabs: selected = red */
.chip{box-shadow:none}
.chip.gold,.chip.emerald{background:#fde8e9!important;color:var(--d8-red)!important}

/* live chat: white instead of dark */
body .svc-shell{--svc-bg:#ffffff;--svc-card:#f4f5f7;--svc-line:#eceef1;--svc-text:#111111;--svc-muted:#6b7280}
body .svc-shell .svc-hd{background:#111!important;color:#fff;border-bottom:0}
body .svc-shell .svc-hd .svc-hd-status{color:#cfcfd4}
body .svc-shell .svc-hd .svc-hd-btn{color:#cfcfd4}

/* modals (login / register / promo detail) */
#modal-root .modal-card,#modal-root .modal{border-radius:14px}

/* lucky wheel: black stage, red spin button, black title (prize gold stays on the wheel itself) */
body .lw-head h1{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;color:#111!important}
body .lw-eyebrow{color:var(--d8-red)!important}
body .lw-head p{color:#6b7280!important}
body .lw-stage{background:radial-gradient(120% 80% at 50% 0%,#2a2a2e 0%,#141416 55%,#0b0b0c 100%)!important;border-color:#2a2a2e!important}
body .lw-btn{background:var(--d8-red)!important;color:#fff!important;box-shadow:none!important;text-shadow:none!important}
body .lw-result-card{background:#111!important}

/* tournament: white countdown card, black sticky "you" bar, red accents */
body .tn-clock{background:#fff!important;border:1px solid var(--d8-line)!important}
body .tn-me{background:#111!important;border:0!important}
body .tn-win{background:#fde8e9!important;border-color:#f6c3c6!important}

/* page intro headers (Agent Center, Daily Tasks, My Free Spins…): left-aligned like every other page */
#content > section:has(> h1.section-title),#content > section:has(> div > h1.section-title){text-align:left!important;padding:14px 16px 4px!important}
#content > section:has(h1.section-title) h1.section-title{font-size:22px!important;font-weight:900!important;line-height:1.15;color:#111!important}
#content > section:has(h1.section-title) h1.section-title em{color:#111!important}
#content > section:has(h1.section-title) p{text-align:left!important;font-size:13px!important;color:#6b7280!important;padding:0!important}
#content > section:has(h1.section-title) > div:first-child[style*="font-size:2"]{display:none}   /* decorative emoji above the title */

/* Colours written inline by the shared page scripts (blue info boxes etc.) → DG8 red / neutral */
[style*="rgba(30,108,255"],[style*="rgba(59,130,246"],[style*="rgba(37,99,235"]{background-color:#fdf0f1!important;border-color:#f6c3c6!important}
[style*="color:#1e6cff"],[style*="color:#2563eb"],[style*="color:#1d4ed8"],[style*="color:#3b82f6"],[style*="color: #2563eb"]{color:var(--d8-red)!important}
[style*="background:#1e6cff"],[style*="background:#2563eb"],[style*="background:#3b82f6"]{background:var(--d8-red)!important}
[style*="#60a5fa,#2563eb"],[style*="#60a5fa,#1d4ed8"],[style*="#38bdf8,#0284c7"],[style*="#818cf8,#4f46e5"],[style*="#22d3ee,#0891b2"],[style*="#2dd4bf,#0d9488"]{background:#111!important}
[style*="#34d399,#059669"],[style*="#f472b6,#db2777"],[style*="#fb7185,#e11d48"],[style*="#e879f9,#c026d3"],[style*="#fbbf24,#f59e0b"],[style*="#a78bfa,#7c3aed"],[style*="#fbbf24,#d97706"]{background:var(--d8-red)!important}
#content h1.section-title{text-align:left!important}
.notice-strip.d8-notice .cup{background:none!important;box-shadow:none!important;padding:0!important;color:#ff4d55!important}

/* ---- account panel (under banner) ---- */
.d8-acc{margin:12px 12px 0;background:#fff;border:1px solid var(--d8-line);border-radius:16px;overflow:hidden}
.d8-acc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 12px}
.d8-acc-hi{min-width:0;display:flex;flex-direction:column;gap:2px}
.d8-acc-hi small{font-size:11.5px;color:#71717a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-acc-hi b{font-size:16px;font-weight:800;color:#18181b;letter-spacing:-.01em;white-space:nowrap}
.d8-acc-btns{display:flex;gap:8px;flex:none}
.d8-pill{height:36px;padding:0 16px;border-radius:999px;border:0;background:#f1f1f3;color:#18181b;font:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.d8-pill.red{background:var(--d8-red);color:#fff;box-shadow:0 6px 14px -8px rgba(227,38,47,.8)}
.d8-pill:active{transform:scale(.97)}
.d8-acc-tiles{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--d8-line)}
.d8-acc-t{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 4px;font-size:12.5px;font-weight:650;color:#27272a;cursor:pointer;text-decoration:none;min-width:0}
.d8-acc-t+.d8-acc-t{border-left:1px solid var(--d8-line)}
.d8-acc-t span{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#fdeced;color:var(--d8-red);flex:none}
.d8-acc-t svg{width:17px;height:17px}

/* ---- shortcut row ---- */
.d8-sc{display:grid;grid-template-columns:repeat(5,1fr);margin:12px 12px 0;padding:14px 4px 12px;background:#fff;border:1px solid var(--d8-line);border-radius:16px}
.d8-sc a{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11.5px;font-weight:600;color:#3f3f46;cursor:pointer;text-decoration:none;text-align:center;line-height:1.15;min-width:0}
.d8-sc a span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#fdeced;color:var(--d8-red)}
/* home shortcuts: same solid 3D tiles as the Me page (owner 2026-11-20) */
.d8-sc a>span{background:linear-gradient(160deg,#fff 0%,#ffe3e5 55%,#ffc9cd 100%);border:1px solid #ffd3d6;box-shadow:0 6px 12px -4px rgba(227,38,47,.35),inset 0 -3px 0 rgba(227,38,47,.18),inset 0 2px 0 #fff;transition:transform .12s,box-shadow .12s}
.d8-sc a:active>span{transform:translateY(2px);box-shadow:0 2px 4px -2px rgba(227,38,47,.35),inset 0 -1px 0 rgba(227,38,47,.18),inset 0 2px 0 #fff}
/* All other pink icon tiles share the same solid 3D look (owner 2026-11-21: "要统一") */
.d8-acc-t span,.dkp-ic,.inv-b-ic,.ag-d-facts svg,.ag-d-closed>svg,html .vip-reward>span{background:linear-gradient(160deg,#fff 0%,#ffe3e5 55%,#ffc9cd 100%)!important;border:1px solid #ffd3d6;box-shadow:0 5px 10px -4px rgba(227,38,47,.35),inset 0 -3px 0 rgba(227,38,47,.18),inset 0 2px 0 #fff!important}
.d8-acc-t:active span{transform:translateY(2px)}
.d8-sc svg{width:21px;height:21px}
.d8-sc a:active span{background:#fbd5d8}

/* ---- referral card ---- */
.d8-rf{margin:14px 12px 0;padding:14px;border-radius:14px;background:#111;color:#fff;position:relative;overflow:hidden}
.d8-rf::before{content:"";position:absolute;right:-40px;top:-40px;width:140px;height:140px;border-radius:50%;background:var(--d8-red);opacity:.22}
.d8-rf-stats{position:relative;display:flex;align-items:center;justify-content:space-around;gap:6px;text-align:center}
.d8-rf-stats>i{font-style:normal;font-size:22px;font-weight:900;color:var(--d8-red)}
.d8-rf-stats div{flex:1;min-width:0}
.d8-rf-stats b,.d8-rf-head b{display:block;font-size:22px;font-weight:900;letter-spacing:-.02em}
.d8-rf-stats small{display:block;font-size:10.5px;color:#c9cbd0;margin-top:2px}
.d8-rf-head{position:relative}.d8-rf-head b{font-size:19px}
.d8-rf p{position:relative;margin:10px 0 12px;padding:9px 10px;border-radius:9px;background:rgba(255,255,255,.07);font-size:11.5px;line-height:1.45;color:#e5e7eb}
.d8-rf-btns{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.d8-rf-btns a{display:flex;align-items:center;justify-content:center;gap:6px;height:38px;border-radius:9px;background:#fff;color:#111;font-size:12.5px;font-weight:800;cursor:pointer;text-decoration:none}
.d8-rf-btns a.pri{background:var(--d8-red);color:#fff}
.d8-rf-btns svg{width:15px;height:15px}
@media (min-width:900px){
  .d8-acc,.d8-sc,.d8-rf{max-width:1080px;margin-left:auto;margin-right:auto;width:calc(100% - 24px)}
}
#bottomtab .bt-item.active::before{background:var(--d8-red)!important;box-shadow:none!important}

/* ---- replace temp7's green/lime hero accents with DG8 red/black ---- */
.info-hero{background:#111!important;box-shadow:none!important}
.info-hero:after,.vip-hero:after,.profile-identity-card:after{border-color:rgba(227,38,47,.35)!important;box-shadow:none!important}
.info-hero small,.info-panel>header small,.info-about-brand small,.vip-hero small,.profile-identity>small,.profile-guest small{color:var(--d8-red)!important}
.info-hero>svg,.vip-hero>svg{color:var(--d8-red)!important}
.profile-avatar,.profile-guest>span{background:var(--d8-red)!important;color:#fff!important}
.vip-member-top>span{background:linear-gradient(135deg,#ef3b43,#c81e26)!important;color:#fff!important}
.promo-item[data-act="withdraw"]{display:none!important}   /* template sample card (USDT withdraw boost) — not a DG8 offer */

/* ---- Promotions page (DG8): promos only, clean premium cards ---- */
.pr-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 14px 14px}
.pr-head span{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--d8-red)}
.pr-head h1{margin:2px 0 0;font-size:26px;font-weight:900;letter-spacing:-.03em;color:#111;line-height:1.1}
.pr-head b{font-size:12px;font-weight:700;color:#71717a;padding-bottom:4px}
.promo-tabs{display:flex!important;gap:8px!important;overflow-x:auto;padding:0 14px 4px!important;margin:0 0 12px!important;scrollbar-width:none;background:transparent!important;border:0!important}
.promo-tabs::-webkit-scrollbar{display:none}
.promo-tabs .tab{flex:none;height:34px;display:inline-flex!important;align-items:center;gap:6px;padding:0 16px!important;border-radius:999px!important;background:#fff!important;border:1px solid #e4e4e7!important;color:#3f3f46!important;font-size:13px!important;font-weight:700!important;box-shadow:none!important}
.promo-tabs .tab.active{background:#111!important;border-color:#111!important;color:#fff!important}
.promo-list{padding:0 14px 24px!important}
.promo-card{background:#fff!important;border:1px solid #ececef!important;border-radius:18px!important;box-shadow:0 12px 28px -18px rgba(17,17,17,.35)!important;margin-bottom:16px!important;transition:transform .15s}
.promo-card:active{transform:scale(.99)}
.promo-card .title{color:#111!important;font-size:15px!important}
.promo-card span[style*="#fcd34d"]{background:#fdeced!important;color:var(--d8-red)!important;border-radius:999px!important;padding:5px 11px!important}
.promo-card span[style*="#3730a3"]{background:#f4f4f5!important;color:#111!important;border-radius:999px!important}
.promo-claim-tag{background:var(--d8-red)!important;color:#fff!important;border-radius:999px!important;padding:6px 12px!important;font-size:12px!important;font-weight:800!important;box-shadow:0 6px 14px -8px rgba(227,38,47,.9)!important}
.promo-card.promo-hot{border-color:#f5c2c6!important}
.promo-empty{margin:8px 0;background:#fff;border:1px dashed #e4e4e7;border-radius:18px}

/* ---- Live chat pop-up (DG8): no floating bubble here, so the panel is a bottom sheet that reaches the
   screen edge — no strip of dimmed bottom bar under it. ---- */
.chat-ov-panel{bottom:calc(16px + env(safe-area-inset-bottom,0))!important;height:min(860px,calc(100vh - 40px))!important;clip-path:inset(100% 0 0 0 round 22px)!important;transition:clip-path .35s cubic-bezier(.4,0,.2,1)!important;background:#fff!important;border-color:#ececef!important}
body.chat-open .chat-ov-panel{clip-path:inset(0 0 0 0 round 22px)!important}
@media (max-width:600px){
  .chat-ov-panel{left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(100% - 12px - env(safe-area-inset-top,0))!important;border-radius:22px 22px 0 0!important;border-bottom:0!important;clip-path:inset(100% 0 0 0 round 22px 22px 0 0)!important}
  body.chat-open .chat-ov-panel{clip-path:inset(0 0 0 0 round 22px 22px 0 0)!important}
  #chatOverlay .svc-composer{padding-bottom:calc(10px + env(safe-area-inset-bottom,0))!important}
}

/* ---- VIP card (wallet balance card + VIP status) ---- */
.d8-vc{position:relative;margin:0 14px 12px;aspect-ratio:1200/628;border-radius:18px;background:#111 center/cover no-repeat;color:#fff;overflow:hidden;box-shadow:0 18px 34px -18px rgba(0,0,0,.7)}
.d8-vc:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.25) 48%,transparent 62%);pointer-events:none}
.d8-vc-l{position:absolute;left:0;top:0;bottom:0;width:60%;padding:14px 0 12px 16px;display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.d8-vc-tier{display:flex;align-items:baseline;gap:6px;min-width:0}
.d8-vc-tier small{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--vc)}
.d8-vc-tier b{font-size:15px;font-weight:900;letter-spacing:.02em;color:var(--vc);text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-vc-seg{display:inline-flex;align-self:flex-start;padding:2px;border-radius:999px;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.14)}
.d8-vc-seg .w-seg{border:0;background:transparent;color:rgba(255,255,255,.7);font:inherit;font-size:10.5px;font-weight:800;padding:4px 10px;border-radius:999px;cursor:pointer}
.d8-vc-seg .w-seg.on{background:var(--vc);color:#111}
.d8-vc-amt{font-size:30px;font-weight:900;letter-spacing:-.03em;line-height:1;text-shadow:0 2px 12px rgba(0,0,0,.5);font-variant-numeric:tabular-nums;white-space:nowrap}
.d8-vc-sub,.d8-vc-name{font-size:11px;color:rgba(255,255,255,.78);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-vc-prog{display:grid;gap:5px}
.d8-vc-prog span{font-size:10.5px;color:rgba(255,255,255,.8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-vc-prog span b{color:var(--vc)}
.d8-vc-prog i{display:block;height:4px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden;max-width:180px}
.d8-vc-prog em{display:block;height:100%;border-radius:99px;background:var(--vc)}
.d8-vc-ref{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.4);color:#fff;display:grid;place-items:center;cursor:pointer}
.d8-vc-ref svg{width:14px;height:14px}
.d8-vc-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 14px 14px}
.d8-vc-btns button{height:42px;border-radius:12px;border:0;font:inherit;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.d8-vc-btns svg{width:17px;height:17px}
.d8-vc-btns .w-go-dep{background:var(--d8-red);color:#fff;box-shadow:0 8px 16px -10px rgba(227,38,47,.9)}
.d8-vc-btns .w-go-wd{background:#111;color:#fff}
.d8-vc-dep{display:grid;gap:2px}
.d8-vc-dep span{font-size:10.5px;color:rgba(255,255,255,.7)}
.d8-vc-dep b{font-size:22px;font-weight:900;letter-spacing:-.02em}
.d8-vip-wrap{margin:4px 16px 14px}
.d8-vip-wrap .d8-vc{margin:0}
@media (min-width:600px){.d8-vc,.d8-vc-btns{max-width:520px}.d8-vc-amt{font-size:38px}}

/* ---- Sticky header balance strip + sticky categories (owner 2026-11-19) ---- */
.d8-top-acc{display:none;margin-left:auto;align-items:center;gap:6px}
.d8-top.compact .d8-top-r{display:none}
.d8-top.compact .d8-top-acc{display:flex;animation:d8fade .18s ease}
@keyframes d8fade{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
.d8-ta-bal{border:0;background:#f4f4f5;border-radius:10px;padding:5px 10px;display:flex;flex-direction:column;align-items:flex-end;line-height:1.15;cursor:pointer;font:inherit;max-width:130px}
.d8-ta-bal small{font-size:10px;color:#71717a;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.d8-ta-bal b{font-size:14px;font-weight:900;color:#111;font-variant-numeric:tabular-nums}
.d8-ta-ic{width:34px;height:34px;border-radius:10px;border:0;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
.d8-ta-ic svg{width:18px;height:18px}
.d8-ta-ic.red{background:var(--d8-red)}.d8-ta-ic.dark{background:#111}
.d8-ta-btn{height:32px;padding:0 14px;border-radius:999px;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer;border:0}
.d8-ta-btn.ghost{background:#f1f1f3;color:#111}.d8-ta-btn.red{background:var(--d8-red);color:#fff}
.d8-cats{position:sticky;top:var(--d8-top-h,57px);z-index:30;transition:padding .15s}
#d8CatSentinel{height:1px;margin-top:-1px}
.d8-cats.stuck{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:none!important;border-radius:0;border-left:0;border-right:0;border-top:0;padding:8px 6px 6px;gap:2px;box-shadow:0 8px 16px -12px rgba(0,0,0,.4)}
/* stuck bar keeps the category symbols (owner 2026-11-19), just a little tighter */
.d8-cats.stuck .d8-cat{gap:4px;padding:2px 6px 7px;min-width:62px}
.d8-cats.stuck .d8-ci{width:28px;height:28px}
.d8-cats.stuck .d8-ci svg,.d8-cats.stuck .d8-ci img{width:24px!important;height:24px!important}
.d8-cats.stuck .d8-cl{font-size:11.5px}






/* ---- VIP page: swipeable tier cards + benefits table ---- */
.d8-vipc{margin:4px 0 16px}
.d8-vipc-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 16px 10px;scroll-padding:0 16px;scrollbar-width:none}
.d8-vipc-track::-webkit-scrollbar{display:none}
.d8-vs{flex:0 0 86%;scroll-snap-align:center;max-width:460px}
.d8-vs .d8-vc{margin:0}
.d8-vs.locked .d8-vc:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.38);pointer-events:none}
.d8-vs.locked .d8-vc-l{z-index:2}
.d8-vc-lock{position:absolute;right:22%;top:50%;transform:translate(50%,-50%);z-index:2;width:46px;height:46px;border-radius:50%;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.35);display:grid;place-items:center;color:#fff}
.d8-vc-lock svg{width:20px;height:20px}
.d8-vc-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.25);font-size:11px;font-weight:800;color:#fff}
.d8-vc-badge svg{width:12px;height:12px}
.d8-vc-badge.ok{background:var(--vc);color:#111;border-color:transparent}
.d8-vipc-dots{display:flex;justify-content:center;gap:6px}
.d8-vipc-dots i{width:6px;height:6px;border-radius:99px;background:#d4d4d8;transition:width .2s}
.d8-vipc-dots i.on{width:18px;background:#111}
.vip-tier-grid.as-table{display:block!important}
.d8-vt-wrap{overflow-x:auto;border:1px solid #ececef;border-radius:14px;background:#fff;-webkit-overflow-scrolling:touch}
.d8-vt{border-collapse:separate;border-spacing:0;min-width:100%;font-size:12.5px}
.d8-vt th,.d8-vt td{padding:11px 12px;text-align:center;white-space:nowrap;border-bottom:1px solid #f0f0f2}
.d8-vt tbody tr:last-child td{border-bottom:0}
.d8-vt th:first-child,.d8-vt td:first-child{position:sticky;left:0;z-index:1;background:#fff;text-align:left;font-weight:700;color:#3f3f46;box-shadow:1px 0 0 #ececef}
.d8-vt thead th{background:#fafafa;vertical-align:bottom}
.d8-vt thead th:first-child{background:#fafafa;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#71717a}
.d8-vt thead th span{display:block;font-size:20px;line-height:1.1}
.d8-vt thead th b{display:block;font-size:12px;font-weight:800;color:#111;margin-top:2px}
.d8-vt thead th em{display:inline-block;margin-top:4px;padding:2px 7px;border-radius:99px;background:var(--d8-red);color:#fff;font-style:normal;font-size:9.5px;font-weight:800}
.d8-vt td{font-weight:700;color:#18181b;font-variant-numeric:tabular-nums}
.d8-vt .cur{background:#fff5f5}
.d8-vt thead th.cur{background:#fdecee}
.d8-vt-y{font-style:normal;color:#16a34a;font-weight:900}
.d8-vt-n{font-style:normal;color:#c4c4cc}
.d8-vt-note{margin:8px 2px 0;font-size:11.5px;color:#71717a}
.d8-vt th:first-child,.d8-vt td:first-child{white-space:normal;min-width:122px;max-width:136px;font-size:11.5px;line-height:1.3;padding:10px 10px}
.d8-vt th:not(:first-child),.d8-vt td:not(:first-child){min-width:74px;padding:10px 8px}

/* ---- Referral page (DG8): balanced invite banner — one column, equal heights, aligned edges ---- */
.invite-page{padding:10px 14px 28px!important;gap:14px!important}
.invite-hero{position:relative;overflow:hidden;display:grid!important;gap:16px!important;border-radius:20px!important;padding:20px 16px 16px!important;background:radial-gradient(120% 110% at 100% 0%,#e3262f 0%,#7d0d14 36%,#141416 72%)!important;color:#fff!important;box-shadow:0 20px 40px -24px rgba(0,0,0,.7)!important}
.invite-hero:before,.invite-hero:after{display:none!important}
.invite-copy>span{display:block;color:#ff8a90!important;font-size:10.5px!important;font-weight:800;letter-spacing:.16em!important}
.invite-copy h1{font-size:28px!important;line-height:1.08!important;margin:6px 0 8px!important;color:#fff!important;letter-spacing:-.03em}
.invite-copy em{color:#ff4d55!important;font-style:normal}
.invite-copy p{color:rgba(255,255,255,.72)!important;font-size:13px!important;line-height:1.5!important;margin:0!important;max-width:none!important}
.invite-tool{display:grid!important;gap:10px!important;background:rgba(0,0,0,.28)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:16px!important;padding:14px!important;backdrop-filter:none!important}
.invite-tool>div:first-child{display:flex!important;justify-content:space-between;align-items:center;margin:0!important;font-size:11.5px!important;color:rgba(255,255,255,.7)!important}
.invite-tool>div:first-child b{color:#4ade80!important;font-size:11.5px}
.invite-tool label{display:grid!important;grid-template-columns:minmax(0,1fr) 92px;gap:8px!important;margin:0!important}
.invite-tool input{height:44px!important;border-radius:12px!important;font-size:12.5px!important;color:#111!important;background:#fff!important;border:0!important;padding:0 12px!important;min-width:0}
.invite-tool button{width:100%!important;height:44px!important;border-radius:12px!important;background:var(--d8-red)!important;color:#fff!important;font-weight:800!important;font-size:13px!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;gap:6px}
.invite-tool button span{display:inline!important}
.invite-tool button svg{width:16px!important;height:16px!important;color:#fff}
.invite-tool button.done{background:#16a34a!important}
.inv-share{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.inv-share a{width:100%!important;justify-self:stretch!important;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:7px;height:42px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);color:#fff;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap}
.inv-share a svg{width:17px;height:17px}
.inv-share a:first-child svg{color:#4ade80}.inv-share a:last-child svg{color:#7cc7ff}
.inv-code{display:flex;align-items:center;gap:8px;height:42px;padding:0 6px 0 12px;border-radius:12px;background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.22)}
.inv-code span{font-size:12px;color:rgba(255,255,255,.65)!important;white-space:nowrap}
.inv-code b{flex:1;min-width:0;font-size:14px;font-weight:900;letter-spacing:.04em;color:#fff!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inv-code a{display:flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:9px;background:#fff;color:#111;font-size:12px;font-weight:800;cursor:pointer}
.inv-code a svg{width:13px;height:13px}
.invite-card{background:#fff!important;border:1px solid #ececef!important;border-radius:18px!important;box-shadow:none!important;color:#111!important}
.invite-card header svg{color:var(--d8-red)}
.inv-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.inv-stats div{padding:12px 8px;border-radius:12px;background:#f7f7f8;text-align:center}
.inv-stats b{display:block;font-size:20px;font-weight:900;color:#111;font-variant-numeric:tabular-nums}
.inv-stats div:last-child b{color:var(--d8-red)}
.inv-stats span{font-size:11px;color:#71717a;font-weight:700}
.inv-list{display:grid;border:1px solid #f0f0f2;border-radius:14px;overflow:hidden}
.inv-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #f0f0f2}
.inv-row:last-child{border-bottom:0}
.inv-av{width:34px;height:34px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px;flex:none}
.inv-who{flex:1;min-width:0;display:flex;flex-direction:column}
.inv-who b{font-size:13.5px;color:#111}
.inv-who small{font-size:11px;color:#71717a}
.inv-st em{font-style:normal;font-size:11.5px;font-weight:800;padding:4px 9px;border-radius:999px;background:#f4f4f5;color:#71717a;white-space:nowrap}
.inv-st em.ok{background:#e9f8ef;color:#15803d}
.inv-empty{display:flex;flex-direction:column;align-items:center;gap:4px;padding:22px 12px;text-align:center;color:#71717a;font-size:12.5px}
.inv-empty svg{width:24px;height:24px;color:var(--d8-red)}
.inv-empty b{color:#111;font-size:14px}

/* ---- All games grid (home) ---- */
.d8-cnt{font-size:12px;font-weight:700;color:#71717a}
.d8-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 12px}
.d8-gt{display:grid;gap:5px;cursor:pointer;text-decoration:none;color:#111;min-width:0}
.d8-gt span{display:grid;place-items:center;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:#e9eaed;font-size:28px}
.d8-gt img{width:100%;height:100%;object-fit:cover}
.d8-gt b{font-size:11.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-more{display:grid;place-items:center;padding:14px 0}
.d8-more i{width:22px;height:22px;border-radius:50%;border:3px solid #e4e4e7;border-top-color:var(--d8-red);animation:d8spin .8s linear infinite}
@keyframes d8spin{to{transform:rotate(360deg)}}
@media (min-width:600px){.d8-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* provider picker above the games grid */
.d8-pv{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:0 12px 12px}
.d8-pv::-webkit-scrollbar{display:none}
.d8-pv a{flex:0 0 auto;display:grid;justify-items:center;gap:4px;width:76px;padding:8px 4px 7px;border-radius:14px;background:#fff;border:1px solid #ececef;cursor:pointer;text-decoration:none;color:#111}
.d8-pv a span{width:56px;height:30px;border-radius:8px;overflow:hidden;display:grid;place-items:center;background:#f4f4f5}
.d8-pv a span img{width:100%;height:100%;object-fit:contain}
.d8-pv a span svg{width:18px;height:18px;color:#71717a}
.d8-pv a b{font-size:11px;font-weight:800;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-pv a small{font-size:10px;color:#71717a;font-weight:700}
.d8-pv a.on{border-color:#111;background:#111;color:#fff}
.d8-pv a.on small{color:#c9cbd0}
.d8-pv a.on span{background:#2a2a2e}
.d8-pv .d8-pv-all svg{color:var(--d8-red)}
/* provider cards (3 per row) → tap opens that provider's games */
.d8-h-l{display:flex;align-items:center;gap:8px;min-width:0}
.d8-back{width:32px;height:32px;border-radius:10px;border:1px solid #e4e4e7;background:#fff;display:grid;place-items:center;cursor:pointer;color:#111;flex:none;padding:0}
.d8-back[hidden]{display:none}
.d8-back svg{width:18px;height:18px}
.d8-prov .d8-pc2{display:grid;gap:4px;justify-items:center;padding:10px 6px 9px;border-radius:14px;background:#fff;border:1px solid #ececef;cursor:pointer;text-decoration:none;color:#111;min-width:0;text-align:center}
.d8-pc2 span{width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;display:grid;place-items:center;background:#f4f4f5}
.d8-pc2 span img{width:100%;height:100%;object-fit:contain}
.d8-pc2 span svg{width:22px;height:22px;color:#a1a1aa}
.d8-pc2 b{font-size:12px;font-weight:800;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-pc2 small{font-size:10.5px;color:#71717a;font-weight:700}
.d8-pc2:active{transform:scale(.98)}
.d8-pc2.maint{opacity:.55}

/* ===== DG8 home footer (white theme) ===== */
.d8-ft{margin:26px 0 0;padding:26px 16px 96px;background:#fff;color:#1d1d1f;border-top:1px solid var(--d8-line)}
.d8-ft h2{margin:0 0 14px;font-size:15px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#111;display:flex;align-items:center;gap:8px}
.d8-ft h2:before{content:"";width:4px;height:16px;border-radius:2px;background:var(--d8-red)}
.d8-ft h3{margin:0 0 10px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8a8a90}
.d8-ft-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 6px}
.d8-ft-track::-webkit-scrollbar{display:none}
.d8-ft-card{flex:0 0 86%;scroll-snap-align:start;position:relative;padding:18px 18px 16px;border-radius:16px;background:#fff;border:1px solid var(--d8-line);box-shadow:0 6px 18px rgba(17,17,17,.06);min-height:150px;display:flex;flex-direction:column}
.d8-ft-card:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:0 3px 3px 0;background:var(--d8-red)}
.d8-ft-q{position:absolute;top:4px;right:14px;font:900 64px/1 Georgia,serif;color:var(--d8-red);opacity:.18}
.d8-ft-card b{font-size:16px;color:#111;letter-spacing:.04em}
.d8-ft-card small{font-size:11px;color:#8a8a90;margin-top:2px}
.d8-ft-card p{margin:12px 0 0;font-size:14px;line-height:1.55;color:#3a3a3f;flex:1}
.d8-ft-card time{margin-top:12px;font-size:11px;color:#8a8a90}
.d8-ft-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
.d8-ft-dots i{width:6px;height:6px;border-radius:3px;background:#dcdde1;transition:width .25s,background .25s;cursor:pointer}
.d8-ft-tst{position:relative}.d8-ft-arw{display:none}
.d8-ft-dots i.on{width:18px;background:var(--d8-red)}
.d8-ft-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 16px;margin-top:24px;padding-top:22px;border-top:1px solid var(--d8-line)}
.d8-ft-wide{grid-column:1/-1}
.d8-ft-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.d8-ft-lic{height:32px;width:auto;max-width:112px;object-fit:contain}
.d8-ft-lic[alt="Malta Gaming Authority"]{height:26px}
.d8-ft-chip{padding:7px 10px;border:1px solid var(--d8-line);border-radius:8px;font-size:12px;font-weight:700}
.d8-ft-soc{width:38px;height:38px;display:block;border-radius:50%;transition:transform .15s}
.d8-ft-soc svg{width:100%;height:100%;display:block}
.d8-ft-soc:active{transform:scale(.92)}
.d8-ft-pay{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 12px 0 6px;border-radius:10px;background:#f6f6f8;border:1px solid var(--d8-line)}
.d8-ft-pay svg{width:28px;height:28px;flex:none}
.d8-ft-pay em{font-style:normal;font-size:12px;font-weight:800;color:#1d1d1f}
.d8-ft-pay img{height:28px;width:auto;max-width:96px;object-fit:contain}
.d8-ft-pay:has(img){padding:0 10px}
.d8-ft-base{margin-top:24px;padding-top:18px;border-top:1px solid var(--d8-line);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12px;color:#55555b}
.d8-ft-18{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:2px solid var(--d8-red);color:var(--d8-red);font-weight:900;font-size:11px}
.d8-ft-base small{font-size:11px;color:#8a8a90}
body:has(.d8-ft) #siteFooter{display:none}
.d8-ft-sub{margin:4px 0 8px;font-size:11px;font-weight:700;color:#55555b}
.d8-ft-payrow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
.d8-ft-payrow .d8-ft-pay{height:34px;min-width:0;gap:5px;padding:0 6px 0 4px;border-radius:9px}
.d8-ft-payrow .d8-ft-pay svg{width:24px;height:24px}
.d8-ft-payrow .d8-ft-pay em{font-size:11px;letter-spacing:-.01em}
.d8-ft-payrow .d8-ft-pay em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-ft-row:empty{display:none}
.d8-ft-logos{display:grid;grid-template-columns:repeat(9,minmax(0,34px));justify-content:space-between;gap:8px 4px}
.d8-ft-logos .d8-ft-logo{width:100%;height:auto;aspect-ratio:1}
.d8-ft-logo{width:34px;height:34px;display:block;border-radius:9px;background:#fff;box-shadow:0 0 0 1px var(--d8-line),0 1px 3px rgba(17,17,17,.08);object-fit:cover}
.d8-ft-logo svg{width:100%;height:100%;display:block}
.d8-ft-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:20px;margin-top:22px;padding-top:20px;border-top:1px solid var(--d8-line)}
.d8-ft-links section{min-width:0}
.d8-ft-links h3{margin:0 0 10px;padding-bottom:7px;border-bottom:1px solid var(--d8-line)}
.d8-ft-links ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.d8-ft-links li{min-width:0}
.d8-ft-links a{display:block;font-size:13px;color:#3a3a3f;text-decoration:none;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-ft-links a:active,.d8-ft-links a:hover,.d8-ft-legal a:hover{color:var(--d8-red)}
.d8-ft-legal{display:flex;gap:0;justify-content:center;margin-bottom:2px}
.d8-ft-legal a{font-size:12px;color:#55555b;text-decoration:none;padding:0 10px}
.d8-ft-legal a+a{border-left:1px solid #d5d6da}
.d8-ft-socs{display:grid;grid-template-columns:repeat(7,minmax(0,38px));gap:10px}
.d8-ft-socs .d8-ft-soc{width:100%;height:auto;aspect-ratio:1}
.d8-sc-t{font-style:normal;display:contents}
.d8-sc-d{display:none}
.d8-cf-nav{display:none}
.d8-sports-sec[hidden]{display:none!important}
.d8-spc .d8-pimg{right:10px;bottom:10px;top:auto;width:auto;height:48%;aspect-ratio:1;max-height:none;object-fit:cover;border-radius:12px;box-shadow:0 8px 18px rgba(0,0,0,.35);opacity:1}
.d8-spc .d8-pt,.d8-spc .d8-ps{max-width:52%}
.d8-mt-sec[hidden]{display:none!important}
.d8-mt{flex:0 0 268px;scroll-snap-align:start;display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:14px;background:#111;color:#fff}
.d8-mt header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11.5px}
.d8-mt-lg{display:flex;align-items:center;gap:6px;min-width:0;color:rgba(255,255,255,.7);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-mt-lg img{width:16px;height:16px;object-fit:contain}
.d8-mt header em{font-style:normal;font-weight:800;color:#ff6b72;white-space:nowrap}
.d8-mt header em.live{color:#fff;background:var(--d8-red);padding:2px 8px;border-radius:999px}
.d8-mt-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;text-align:center}
.d8-mt-teams>i{font-style:normal;font-size:11px;font-weight:900;color:rgba(255,255,255,.4)}
.d8-mt-team{display:grid;justify-items:center;gap:6px;min-width:0}
.d8-mt-team img,.d8-mt-team span{width:40px;height:40px;border-radius:50%;object-fit:contain;background:rgba(255,255,255,.08);display:grid;place-items:center;font-weight:900}
.d8-mt-team b{font-size:13px;line-height:1.25;max-width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.d8-mt-mk small{display:block;font-size:11px;color:rgba(255,255,255,.55);margin-bottom:6px}
.d8-mt-odds{display:grid;gap:6px}
.d8-mt-odds button{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 4px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;cursor:pointer}
.d8-mt-odds button span{font-size:10.5px;color:rgba(255,255,255,.6);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.d8-mt-odds button b{font-size:15px;font-weight:900;color:#fff}
.d8-mt-odds button:active{background:var(--d8-red);border-color:var(--d8-red)}
.d8-slip{display:grid;gap:12px;width:100%;min-width:0;padding:2px 2px 4px;box-sizing:border-box}
.d8-slip>*{min-width:0}
.d8-slip-m small{display:block;font-size:12px;color:#8a8a90}.d8-slip-m b{font-size:16px}
.d8-slip-s{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;background:#f7f7f8;font-size:13.5px}.d8-slip-s em{font-style:normal;font-weight:900;color:var(--d8-red);font-size:16px}
.d8-slip-in{display:flex;align-items:center;gap:8px;height:50px;padding:0 14px;border-radius:12px;border:1.5px solid #e3e4e8}.d8-slip-in span{font-weight:900;color:#8a8a90}.d8-slip-in input{flex:1;width:100%;min-width:0;border:0;outline:0;font-size:20px;font-weight:900;background:none}
.d8-slip-q{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.d8-slip-q button{height:34px;border-radius:9px;border:1px solid #e3e4e8;background:#fff;font-weight:800}
.d8-slip-r{display:flex;justify-content:space-between;align-items:center;font-size:14px}.d8-slip-r b{font-size:20px;font-weight:900}
.d8-slip-n{color:#8a8a90;font-size:12px}
.d8-slip-go{height:48px;border:0;border-radius:12px;background:var(--d8-red);color:#fff;font-size:15px;font-weight:900;cursor:pointer}.d8-slip-go:disabled{opacity:.6}
/* home rotating strip: invite & earn / weekly tournament */
.d8-duo{position:relative;margin:16px 12px 0}
.d8-duo[hidden]{display:none!important}
.d8-duo-track{display:grid}
.d8-duo-s{grid-area:1/1;display:flex;flex-direction:column;gap:14px;padding:18px 16px;border-radius:14px;color:#fff;opacity:0;visibility:hidden;transition:opacity .5s,visibility 0s .5s}
.d8-duo-s.on{opacity:1;visibility:visible;transition:opacity .5s}
.d8-duo-s.inv{background:radial-gradient(420px 220px at 100% 0%,rgba(227,38,47,.65),transparent 65%),linear-gradient(120deg,#111,#2a0c0f 60%,#7c1016)}
.d8-duo-s.trn{background:radial-gradient(420px 220px at 100% 100%,rgba(227,38,47,.6),transparent 65%),linear-gradient(240deg,#7c1016,#2a0c0f 45%,#111)}
.d8-duo-eye{font-size:10.5px;font-weight:900;letter-spacing:.14em;color:#ff6b72}
.d8-duo-s.trn .d8-duo-eye{color:#ff6b72}
.d8-duo-l h3{margin:6px 0 6px;font-size:22px;line-height:1.15;font-weight:900;letter-spacing:-.02em}
.d8-duo-l h3 em{font-style:normal;color:#ff4d55}
.d8-duo-l p{margin:0;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.72)}
.d8-duo-cd{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:7px 12px;border-radius:10px;background:rgba(255,255,255,.08);font-size:12px}
.d8-duo-cd b{font-variant-numeric:tabular-nums;font-size:15px;font-weight:900;color:#ff4d55}
.d8-duo-r{display:grid;gap:10px}
.d8-duo-kpi{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.d8-duo-kpi div{padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.07)}
.d8-duo-kpi b{display:block;font-size:18px;font-weight:900}.d8-duo-kpi small{font-size:11px;color:rgba(255,255,255,.6)}
.d8-duo-link{display:flex;gap:6px}.d8-duo-link input{flex:1;min-width:0;height:38px;border-radius:9px;border:0;padding:0 10px;font-size:12px;background:rgba(255,255,255,.95);color:#111}
.d8-duo-link button,.d8-duo-btns button{height:38px;padding:0 14px;border-radius:9px;border:0;background:var(--d8-red);color:#fff;font-weight:800;cursor:pointer}
.d8-duo-go{justify-self:start;font-size:13px;font-weight:800;color:#fff!important;text-decoration:none;opacity:.9}
.d8-duo-top{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.d8-duo-top li{display:grid;grid-template-columns:24px 1fr auto auto;gap:8px;align-items:center;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.07);font-size:13px}
.d8-duo-top li small{color:rgba(255,255,255,.6);font-variant-numeric:tabular-nums}.d8-duo-top li em{font-style:normal;font-weight:900;color:#ff4d55}
.d8-duo-top li.none{display:block;text-align:center;color:rgba(255,255,255,.7)}
.d8-duo-dots{position:absolute;left:0;right:0;bottom:-14px;display:flex;justify-content:center;gap:6px}
.d8-duo-dots i{width:6px;height:6px;border-radius:3px;background:#d4d5da;cursor:pointer;transition:width .25s,background .25s}
.d8-duo-dots i.on{width:18px;background:var(--d8-red)}
.d8-duo-top .rk{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.12);font-size:11px;font-weight:900}
.d8-duo-top .rk.r1{background:var(--d8-red)}

/* promo detail popup: promo banner replaces the red coded header (owner 2026-11-20) */
.promo-custom-shell.has-banner .promo-detail-banner{display:block;aspect-ratio:2/1;overflow:hidden;background:#111;border-radius:18px 18px 0 0}
.promo-custom-shell.has-banner .promo-detail-banner{position:relative}
.promo-custom-shell.has-banner .promo-detail-banner .pdb-img{position:relative;width:100%;height:100%;object-fit:cover;display:block}
.promo-custom-shell.has-banner .promo-detail-banner .pdb-bg{display:none}
.promo-custom-shell.has-banner .dgp-hero{display:none!important}
html.dk .promo-custom-shell.has-banner .promo-detail-banner{border-radius:0}

/* VIP cards on phones = coverflow like desktop (owner 2026-11-20): centre card large, neighbours smaller + blurred */
html:not(.dk) .d8-vipc.cf{position:relative}
html:not(.dk) .d8-vipc.cf .d8-vipc-track{position:relative;display:block;overflow:hidden;height:calc(min(78vw,440px) / 1.75 + 22px);padding:0;scroll-snap-type:none;touch-action:pan-y;user-select:none;-webkit-user-select:none;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
html:not(.dk) .d8-vipc.cf .d8-vs{position:absolute;left:50%;top:50%;width:min(78vw,440px);max-width:none;flex:none;margin:0;transition:transform .4s cubic-bezier(.2,.8,.2,1),opacity .3s,filter .3s}
html:not(.dk) .d8-vipc.cf .d8-vs .d8-vc{width:100%;aspect-ratio:1.75/1;height:auto;box-shadow:0 18px 34px -18px rgba(0,0,0,.55)}
html:not(.dk) .d8-vipc.cf .d8-vs.cf-side{filter:blur(2px) brightness(.6) saturate(.8)}
html:not(.dk) .d8-vipc.cf .d8-vipc-dots{margin-top:8px}
html:not(.dk) .d8-vipc.cf .d8-vipc-dots i{cursor:pointer}

/* phone bottom bar: floating rounded style kept from the premium look (owner 2026-11-20: only the bar) */
html:not(.dk) #bottomtab{left:10px!important;right:10px!important;width:auto!important;max-width:460px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;transform:none!important;margin:0 auto;border:0!important;border-radius:22px!important;box-shadow:0 10px 30px -8px rgba(17,17,17,.28),0 0 0 1px #efeff2!important;padding:6px!important;height:auto!important}
html:not(.dk) #bottomtab .bt-item{border-radius:16px;padding:6px 0!important}
html:not(.dk) #bottomtab .bt-item.active{background:#fdecee!important}
html:not(.dk) #bottomtab .bt-item.active::before{display:none!important}
html:not(.dk) #bottomtab .bt-item span:last-child{font-weight:700}
html:not(.dk) #app{padding-bottom:96px!important}

/* Promotion popup on phones (owner 2026-11-20): Close / Share / Claim stay pinned at the bottom of the card,
   the details scroll above them, and the card ends above the floating bottom bar. */
html:not(.dk) .modal-backdrop-light:has(.promo-custom-shell){padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
/* card runs down over the tab bar: Close / Claim sit where the tab bar is, details get more room (owner 2026-11-20) */
html:not(.dk) .promo-custom-shell{margin-top:auto;display:flex;flex-direction:column;max-height:calc(100dvh - 3vh - 8px - env(safe-area-inset-bottom,0px));background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 24px 50px -20px rgba(0,0,0,.55)}
html:not(.dk) .promo-custom-shell>.promo-detail-custom{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
html:not(.dk) .promo-custom-shell .promo-lbox-slot{flex:none}
html:not(.dk) .promo-custom-foot{flex:none;display:flex;gap:8px;margin:0!important;padding:10px 12px 12px!important;background:#fff;border-top:1px solid #f0f0f2;box-shadow:0 -10px 18px -14px rgba(17,17,17,.35)}
html:not(.dk) .promo-custom-foot>button{flex:1 1 0;min-width:0!important;height:46px;padding:0 10px!important;border-radius:12px!important;box-shadow:none!important;font-size:15px}
html:not(.dk) .promo-custom-foot .btn-light{background:#f2f2f4!important;color:#111!important;border:0!important}
html:not(.dk) .promo-custom-foot .btn-share{flex:0 0 auto;padding:0 14px!important}
html:not(.dk) .promo-custom-shell .promo-detail-banner{border-radius:0!important}
.dgp>.pd-elig{margin:4px 18px 14px;background:#fafafb}

/* Provider games: back bar sticks under the category tabs (mobile; owner 2026-11-20) */
@media (max-width:1023px){
  #d8AllSec:has(#d8Back:not([hidden])) > .d8-h{position:sticky;top:calc(var(--d8-top-h,57px) + var(--d8-cats-h,64px) - 1px);z-index:29;background:#f4f5f7;margin:0 0 8px;padding-top:10px;box-shadow:0 -12px 0 #f4f5f7,0 6px 10px -10px rgba(0,0,0,.25)}
}

/* Agent centre on phones (owner 2026-11-20: phone and desktop must show the same content; only the layout
   differs). Same markup + data as the desktop page (desktop-pages.js agentDesk), stacked for small screens. */
@media (max-width:1023px){
  .dkp{color:#111}
  .dkp-eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:.14em;color:var(--d8-red,#e3262f);text-transform:uppercase}
  .dkp-back{flex:none;width:42px;height:42px;border-radius:12px;border:1px solid #e3e4e8;background:#fff;display:grid;place-items:center;cursor:pointer;color:#111}
  .dkp-back svg{width:18px;height:18px}
  .dkp-head{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}
  .dkp-head h1{margin:4px 0 6px;font-size:30px;font-weight:900;letter-spacing:-.02em}
  .dkp-head p{margin:0;color:#6b6b72;font-size:14px;max-width:620px}
  .dkp-today{margin-left:auto;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;background:#fff;border:1px solid #e9eaee;font-size:13px;color:#6b6b72}
  .dkp-today b{color:#111}.dkp-today svg{width:16px;height:16px;color:var(--d8-red,#e3262f)}
  .dkp-card{background:#fff;border:1px solid #e9eaee;border-radius:18px;padding:24px 26px}
  .dkp-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
  .dkp-card h2{margin:0 0 4px;font-size:18px;font-weight:900}
  .dkp-card header p{margin:0;font-size:13px;color:#7a7a82}
  .dkp-btn{height:42px;padding:0 18px;border-radius:11px;border:0;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}
  .dkp-btn svg{width:16px;height:16px}
  .dkp-btn.red{background:var(--d8-red,#e3262f);color:#fff}.dkp-btn.red:hover{filter:brightness(.94)}
  .dkp-btn.ghost{background:#f1f2f4;color:#111}.dkp-btn.ghost:hover{background:#e7e8eb}
  .dkp-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
  .dkp-kpis>div{background:#fff;border:1px solid #e9eaee;border-radius:16px;padding:18px 22px}
  .dkp-kpis small{display:block;font-size:12px;font-weight:700;color:#7a7a82;margin-bottom:8px}
  .dkp-kpis b{font-size:30px;font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
  .dkp-kpis .hl{background:#111;border-color:#111;color:#fff}
  .dkp-kpis .hl small{color:#a1a1a8}.dkp-kpis .hl b{color:#fff}
  .dkp-tbl{width:100%;border-collapse:collapse;font-size:14px}
  .dkp-tbl th{text-align:left;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8a8a90;padding:0 14px 10px;border-bottom:1px solid #ececef}
  .dkp-tbl td{padding:14px;border-bottom:1px solid #f2f2f4;vertical-align:middle}
  .dkp-tbl tr:last-child td{border-bottom:0}
  .dkp-tbl tbody tr:hover td{background:#fafafb}
  .dkp-tbl .r{text-align:right}.dkp-tbl .c{text-align:center}
  .dkp-tbl .num{font-variant-numeric:tabular-nums;font-weight:700}
  .dkp-tbl .strong{font-weight:900;color:var(--d8-red,#e3262f)}
  .dkp-tbl td b{font-weight:800}
  .dkp-tbl td .sub{display:block;color:#8a8a90;font-size:12px;margin-top:2px}
  .dkp-tbl td.prog{min-width:220px}
  .dkp-tbl td.prog small{display:block;margin-top:6px;font-size:12px;color:#7a7a82}
  .dkp-ic{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fdecee;color:var(--d8-red,#e3262f);margin-right:10px;vertical-align:middle}
  .dkp-ic svg{width:17px;height:17px}
  .dkp-av{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#111;color:#fff;font-size:12px;font-weight:900;margin-right:10px;vertical-align:middle}
  .dkp-rate{font-style:normal;display:inline-block;padding:5px 10px;border-radius:999px;background:#fdecee;color:var(--d8-red,#e3262f);font-weight:900;font-size:13px}
  .dkp-pill{font-style:normal;display:inline-block;padding:4px 10px;border-radius:999px;background:#f1f2f4;color:#55555b;font-weight:800;font-size:12px}
  .dkp-pill.ok{background:#e8f7ee;color:#11823b}
  .dkp-gap{display:inline-block;margin:2px 8px 2px 0;font-size:12.5px;color:#6b6b72}.dkp-gap b{color:#111}
  .pos{color:#11823b}
  .dkp-bar{display:block;height:8px;border-radius:999px;background:#f0f0f2;overflow:hidden}
  .dkp-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e3262f,#ff6b4a)}
  .dkp-empty{text-align:center;color:#8a8a90;padding:28px 0!important;font-size:14px}
  .dkp-seg{display:flex;gap:4px;padding:4px;border-radius:12px;background:#f3f4f6}
  .dkp-seg button{border:0;background:none;padding:8px 14px;border-radius:9px;font-size:13px;font-weight:800;color:#6b6b72;cursor:pointer}
  .dkp-seg button.on{background:#fff;color:#111;box-shadow:0 1px 3px rgba(0,0,0,.08)}
  .dkp-mini{width:100%;border-collapse:collapse;font-size:13px}.dkp-mini td,.dkp-mini th{padding:8px 0;border-bottom:1px solid #f2f2f4;text-align:left}.dkp-mini .r{text-align:right}
  .dkp-count{font-size:22px;font-weight:900}
  .dkp-guest{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px}
  .dkp-guest svg{width:30px;height:30px;color:var(--d8-red,#e3262f)}
  .dkp-skel{display:grid;gap:14px}.dkp-skel i{display:block;height:96px;border-radius:16px;background:linear-gradient(90deg,#f0f0f2,#f7f7f8,#f0f0f2);background-size:200% 100%;animation:dkpSk 1.2s infinite}
  .inv-d-link{display:flex;gap:8px}
  .inv-d-link input{flex:1;min-width:0;height:44px;border-radius:11px;border:1px solid #e3e4e8;background:#f7f7f8;padding:0 14px;font-size:13.5px;color:#111}
  .dkp-tbl .neg{color:#c81e26}
  .ag-d{display:grid;gap:20px}
  .ag-d-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:center;padding:36px 40px;border-radius:22px;color:#fff;background:radial-gradient(600px 300px at 100% 0%,rgba(227,38,47,.5),transparent 60%),linear-gradient(120deg,#0d0d0e,#1d0b0d 60%,#6b0f15)}
  .ag-d-hero h1{margin:8px 0 10px;font-size:40px;font-weight:900;letter-spacing:-.03em}
  .ag-d-hero p{margin:0;font-size:15px;color:rgba(255,255,255,.72);max-width:560px}.ag-d-hero p b{color:#fff}
  .ag-d-facts{list-style:none;margin:0;padding:0;display:grid;gap:10px;min-width:330px}
  .ag-d-facts li{display:flex;gap:12px;align-items:center;padding:12px 16px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
  .ag-d-facts svg{width:22px;height:22px;color:#ff4d55;flex:none}
  .ag-d-facts b{display:block;font-size:14px}.ag-d-facts small{display:block;font-size:12px;color:rgba(255,255,255,.6)}
  .ag-d-closed{display:flex;align-items:center;gap:20px}
  .ag-d-closed>svg{width:40px;height:40px;flex:none;color:var(--d8-red,#e3262f);padding:10px;border-radius:14px;background:#fdecee;box-sizing:content-box}
  .ag-d-closed h2{margin:0 0 6px}.ag-d-closed p{margin:0;font-size:13.5px;color:#6b6b72;max-width:640px}
  .ag-d-closed .dkp-btn{margin-left:auto;text-decoration:none}
  .ag-d-apply{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;align-items:start}
  .ag-d-req{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
  .ag-d-req li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:1px solid #efeff2;font-size:13.5px}
  .ag-d-req li svg{width:18px;height:18px;color:#c4c4ca}.ag-d-req li.ok svg{color:#11823b}
  .ag-d-req li b{margin-left:auto;font-variant-numeric:tabular-nums}
  .ag-d-go h2{margin:0 0 6px}.ag-d-go p{margin:0 0 18px;font-size:13px;color:#6b6b72}
  .ag-d-go .dkp-btn{width:100%;justify-content:center;height:48px}
  .ag-d-go .dkp-btn:disabled{opacity:.45;cursor:not-allowed}
  .ag-d-st{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:12px;font-size:13.5px;font-weight:700;margin-bottom:14px}
  .ag-d-st svg{width:18px;height:18px;flex:none}
  .ag-d-st.wait{background:#fff7e6;color:#8a5a00}.ag-d-st.no{background:#fdecee;color:#b3141c}
  .ag-d-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .ag-d-steps div{position:relative;padding:20px;border-radius:16px;background:#fff;border:1px solid #e9eaee}
  .ag-d-steps span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#111;color:#fff;font-weight:900;margin-bottom:12px}
  .ag-d-steps b{display:block;font-size:14.5px}.ag-d-steps small{display:block;font-size:12.5px;color:#7a7a82;margin-top:4px;line-height:1.45}
  .ag-d-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
  .ag-d-two>:only-child{grid-column:1/-1}
  .ag-d-wbal{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-radius:14px;background:#f7f7f8}
  .ag-d-wbal b{font-size:32px;font-weight:900;font-variant-numeric:tabular-nums}
  .ag-d-wbal .dkp-btn:disabled{opacity:.45;cursor:not-allowed}
  .ag-d-mv{margin-top:10px}
  .ag-d-kpis{display:grid;grid-template-columns:1.3fr repeat(4,minmax(0,1fr));gap:14px}
  .ag-d-kpis>div{background:#fff;border:1px solid #e9eaee;border-radius:16px;padding:18px 20px}
  .ag-d-kpis small{display:block;font-size:12px;font-weight:700;color:#7a7a82;margin-bottom:8px}
  .ag-d-kpis b{font-size:24px;font-weight:900;font-variant-numeric:tabular-nums}
  .ag-d-kpis .hl{background:#111;border-color:#111;color:#fff}.ag-d-kpis .hl small{color:#a1a1a8}.ag-d-kpis .hl b{font-size:30px}
  .ag-d-kpis .neg{color:#c81e26}
  .ag-d-note{margin:-6px 0 0;font-size:12.5px;color:#7a7a82}
  .ag-d .dkp-tbl td{white-space:nowrap}
  .ag-d{padding:12px 12px 110px;gap:14px}
  .dkp-card{padding:18px 16px;border-radius:16px}
  .ag-d-hero{grid-template-columns:1fr!important;gap:18px!important;padding:24px 18px!important;border-radius:18px!important}
  .ag-d-hero h1{font-size:28px!important}
  .ag-d-facts{min-width:0!important}
  /* light hero (owner 2026-11-20: no dark gradient block on phone) */
  .ag-d-hero{background:#fff!important;color:#111!important;border:1px solid #eceef1!important;box-shadow:none!important;padding:18px 16px!important;gap:14px!important}
  .ag-d-hero h1{font-size:24px!important;margin:4px 0 6px!important;color:#111!important}
  .ag-d-hero p{font-size:13.5px!important;color:#6b7280!important}.ag-d-hero p b{color:#111!important}
  .ag-d-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .ag-d-facts li{flex-direction:column;align-items:flex-start!important;gap:8px!important;padding:12px 10px!important;background:#f7f7f8!important;border:0!important}
  .ag-d-facts svg{width:20px!important;height:20px!important;color:#e3262f!important;padding:7px;box-sizing:content-box;background:#fde8e9;border-radius:10px}
  .ag-d-facts b{font-size:13px!important;color:#111}.ag-d-facts small{display:none!important}
  .ag-d-closed{flex-wrap:wrap;gap:14px!important}.ag-d-closed .dkp-btn{margin-left:0!important;width:100%;justify-content:center}
  .ag-d-apply,.ag-d-two{grid-template-columns:1fr!important}
  .ag-d-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .ag-d-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dkp-card>header{flex-wrap:wrap}
  .inv-d-link{flex-wrap:wrap}.inv-d-link .dkp-btn{width:100%;justify-content:center}
  .dkp-tbl{font-size:13px}.dkp-tbl td,.dkp-tbl th{padding:10px 8px}
}

/* Phone header account cluster — option A (owner 2026-11-20, same design as desktop) */
.d8-wal{display:flex;align-items:center;height:38px;border-radius:999px;background:#f2f2f4;padding:0 3px 0 11px;gap:7px}
.d8-wal-b{display:flex;align-items:center;gap:6px;border:0;background:none;padding:0;font:inherit;color:#111;cursor:pointer}
.d8-wal-b svg{width:16px;height:16px;color:#55555c}
.d8-wal-b b{font-size:14.5px;font-weight:900;font-variant-numeric:tabular-nums;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.d8-wal-dep{width:32px;height:32px;border-radius:50%;border:0;background:var(--d8-red,#e3262f);color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
.d8-wal-dep svg{width:17px;height:17px;stroke-width:3}
.d8-av{width:36px;height:36px;border-radius:50%;border:0;background:#111;color:#fff;font-family:inherit;font-weight:900;font-size:14px;line-height:1;display:grid;place-items:center;cursor:pointer;flex:none}
.d8-mm{position:fixed;inset:0;z-index:2147482000;background:rgba(10,10,12,.45);display:flex;align-items:flex-end;justify-content:center}
.d8-mm-p{width:100%;max-width:480px;background:#fff;border-radius:20px 20px 0 0;padding:10px 10px calc(14px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 30px rgba(0,0,0,.2)}
.d8-mm-h{display:flex;align-items:center;gap:12px;padding:10px 12px 14px}
.d8-mm-h>span{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:900}
.d8-mm-h b{display:block;font-size:15px}.d8-mm-h small{font-size:12.5px;color:#8a8a90;font-weight:600}
.d8-mm-i{display:flex;align-items:center;gap:12px;width:100%;padding:13px 12px;border:0;border-radius:12px;background:none;font:inherit;font-size:15px;font-weight:600;color:#222;cursor:pointer;text-align:left}
.d8-mm-i:active{background:#f4f4f6}
.d8-mm-i svg{width:19px;height:19px;color:#55555c}
.d8-mm-i.hi{font-weight:800}.d8-mm-i.hi svg{color:var(--d8-red,#e3262f)}
.d8-mm-i.out,.d8-mm-i.out svg{color:#c81e28}
.d8-mm-p hr{border:0;border-top:1px solid #f0f0f2;margin:4px 8px}

/* Home: always-there "get the app" entry (phone only) */
.d8-app{display:flex;align-items:center;gap:12px;margin:10px 12px 0;padding:11px 12px;border-radius:14px;background:#0f0f12;color:#fff;cursor:pointer;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.14);-webkit-tap-highlight-color:transparent}
.d8-app:active{transform:scale(.99)}
.d8-app-ic{width:38px;height:38px;border-radius:10px;flex:none;display:grid;place-items:center;background:linear-gradient(135deg,#2a2a30,#0a0a0c 60%,#3a0d11);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.d8-app-ic svg,.d8-app-ic i{width:20px;height:20px;color:#fff;stroke:#fff}
.d8-app-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.d8-app-t b{font-size:.86rem;font-weight:800;color:#fff;line-height:1.25}
.d8-app-t small{font-size:.7rem;color:#b9bac3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d8-app-go{flex:none;background:#e11d2a;color:#fff;border-radius:999px;padding:7px 15px;font-size:.78rem;font-weight:800}
@media (min-width:900px){.d8-app{display:none}}

/* Invite page hero "B" (owner pick 2026-11-20): light card, reward amount first, official share icons */
.inv-b{background:#fff;border:1px solid var(--cms-line,#eceef1);border-radius:18px;padding:18px 16px 16px;color:#111;display:grid;gap:12px}
.inv-b-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.inv-b-lbl{font-size:13px;color:#6b7280;font-weight:600}
.inv-b-amt{font-size:34px;font-weight:900;color:#e3262f;letter-spacing:-.5px;line-height:1.15;margin:3px 0}
.inv-b-amt.sm{font-size:24px;color:#111}
.inv-b-sub{font-size:13px;color:#6b7280}
.inv-b-ic{flex:none;width:64px;height:64px;border-radius:20px;background:#fde8e9;display:grid;place-items:center;color:#e3262f}
.inv-b-ic svg{width:32px;height:32px}
.inv-b-lk{display:flex!important;gap:8px;margin:4px 0 0!important;align-items:center}
.inv-b-lk input{flex:1;min-width:0;height:44px;border:1px solid #dfe2e6;border-radius:12px;padding:0 12px;font-size:13.5px;background:#f7f7f8;color:#111}
.inv-b-lk button{flex:none;height:44px;padding:0 16px;border:0;border-radius:12px;background:#e3262f;color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;gap:6px}
.inv-b-lk button svg{width:17px;height:17px}
.inv-b-lk button.done{background:#16a34a}
.inv-b-shr-t{font-size:12.5px;color:#9ca3af;font-weight:600;margin-top:2px}
.inv-b-shr{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.inv-b-shr a{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:#374151;font-size:12px;font-weight:600;padding:10px 0;border-radius:14px;background:#f7f7f8}
.inv-b-shr a:active{background:#eceef1}
.inv-b-shr svg{width:40px;height:40px;display:block}
.inv-b-shr .ib-bg{width:40px;height:40px;border-radius:50%;display:grid;place-items:center}
.inv-b-shr .ib-bg svg{width:22px;height:22px}
.inv-b-code{display:flex;align-items:center;gap:8px;height:42px;padding:0 6px 0 12px;border-radius:12px;background:#f7f7f8;border:1px dashed #dfe2e6}
.inv-b-code span{font-size:12px;color:#6b7280;white-space:nowrap}
.inv-b-code b{flex:1;min-width:0;font-size:14px;font-weight:900;letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis}
.inv-b-code a{display:flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:9px;background:#111;color:#fff;font-size:12px;font-weight:800;cursor:pointer}
.inv-b-code a svg{width:14px;height:14px}
.inv-b-login{height:46px;border:0;border-radius:12px;background:#e3262f;color:#fff;font-weight:800;font-size:15px}
.ag-d-shr{margin-top:12px}

/* Daily check-in: game-style bento (owner 2026-11-21) — Days 1–6 small, last day = big tile spanning two rows. DG8 only. */
.ci-days.ci-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.5fr);gap:.5rem}
.ci-bento .ci-days-a,.ci-bento .ci-days-b{display:contents!important}
.ci-bento .ci-d{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:96px;border-radius:14px!important}
.ci-bento .ci-d.is-upcoming{background:linear-gradient(180deg,#fff,#f6f7f9)!important}
.ci-bento .ci-d.is-today{box-shadow:0 10px 22px -10px rgba(227,38,47,.75)!important}
.ci-bento .ci-last{grid-column:4;grid-row:1/3;padding:1rem .4rem!important;overflow:hidden;border-radius:16px!important}
.ci-bento .ci-last .ci-dl{font-size:.8rem!important}
.ci-bento .ci-last .ci-di{font-size:3rem!important;margin:.35rem 0!important;line-height:1;filter:drop-shadow(0 6px 12px rgba(245,197,24,.55))}
.ci-bento .ci-last .ci-da{font-size:1.6rem!important;letter-spacing:-.01em}
.ci-bento .ci-last .ci-df{font-size:.68rem!important}
.ci-bento .ci-last .ci-big{display:block!important;margin-bottom:.35rem;padding:.18rem .55rem;border-radius:999px;background:linear-gradient(90deg,#ffd34d,#f5a524);color:#3a1a00;font-size:.6rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.ci-bento .ci-last.is-upcoming{background:radial-gradient(90% 55% at 50% 38%,rgba(255,211,77,.32),transparent 70%),linear-gradient(165deg,#1b0b0c,#5a0c12 55%,#b3121f)!important;border:1px solid rgba(245,197,24,.55)!important;box-shadow:0 14px 28px -14px rgba(90,12,18,.9)!important}
.ci-bento .ci-last.is-upcoming .ci-dl,.ci-bento .ci-last.is-upcoming .ci-df{color:rgba(255,236,200,.85)!important}
.ci-bento .ci-last.is-upcoming .ci-da{color:#ffd34d!important}
.ci-bento .ci-last.is-today .ci-big{background:#fff;color:#b3121f}
.ci-bento .ci-last::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.22) 50%,transparent 65%);transform:translateX(-120%);animation:ciShine 3.2s ease-in-out infinite;pointer-events:none}
.ci-bento .ci-last.is-claimed::after{display:none}
@keyframes ciShine{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){.ci-bento .ci-last::after{animation:none;display:none}}
.ci-bento .ci-d:not(.ci-last)>span:first-child{top:-7px!important;right:-5px!important;z-index:1}
.ci-bento .ci-d.is-claimed:not(.ci-last)>span:first-child{box-shadow:0 0 0 2px #f3f4f6}
.ci-bento .ci-d.is-today:not(.ci-last)>span:first-child{right:50%!important;transform:translateX(50%);background:#111!important;color:#fff!important;padding:.15rem .45rem!important;border-radius:999px!important;font-size:.58rem!important;box-shadow:0 0 0 2px #f3f4f6}

/* Check-in style B — gold reward cards (owner picked 2026-11-21) */
.ci-bento .ci-d{border-radius:16px!important}
.ci-bento .ci-d.is-upcoming:not(.ci-last){background:#fff!important;border:1.5px solid #f0e2b6!important;box-shadow:0 6px 14px -10px rgba(160,110,0,.5)!important}
.ci-bento .ci-d.is-upcoming:not(.ci-last) .ci-da{color:#b3121f!important}
.ci-bento .ci-d.is-claimed:not(.ci-last){background:#f3f4f6!important;border:1.5px solid #e5e7eb!important}
.ci-bento .ci-d.is-claimed:not(.ci-last) .ci-di{filter:grayscale(1);opacity:.5}
.ci-bento .ci-d.is-claimed:not(.ci-last) .ci-da{color:#9ca3af!important}
.ci-bento .ci-d.is-today:not(.ci-last){background:linear-gradient(180deg,#fff8dc,#ffe08a)!important;border:2px solid #f5a524!important;box-shadow:0 10px 20px -10px rgba(245,165,36,.9)!important}
.ci-bento .ci-d.is-today:not(.ci-last) .ci-dl,.ci-bento .ci-d.is-today:not(.ci-last) .ci-df{color:#7a4a00!important}
.ci-bento .ci-d.is-today:not(.ci-last) .ci-da{color:#b3121f!important}
.ci-bento .ci-d.is-today:not(.ci-last)>span:first-child{background:#e3262f!important}
.ci-bento .ci-last.is-upcoming{background:radial-gradient(70% 45% at 50% 40%,rgba(255,255,255,.7),transparent 70%),linear-gradient(165deg,#ffe58a,#f5b62a 55%,#e08a00)!important;border:1.5px solid #f5a524!important;box-shadow:0 14px 26px -14px rgba(200,120,0,.9)!important}
.ci-bento .ci-last.is-upcoming .ci-da{color:#9b0f1a!important}
.ci-bento .ci-last.is-upcoming .ci-dl,.ci-bento .ci-last.is-upcoming .ci-df{color:#6b3a00!important}
.ci-bento .ci-last .ci-big{background:#e3262f;color:#fff}


/* Agent centre: team rebate calculator entry (owner 2026-11-21) — phone; desktop sizes in desktop.css */
.ag-d-calc{display:flex;align-items:center;gap:12px;padding:14px 16px;text-decoration:none!important;color:inherit!important;cursor:pointer}
.ag-d-calc>div{flex:1;min-width:0}
.ag-d-calc b{display:block;font-size:15px;font-weight:900;color:#111;text-decoration:none}
.ag-d-calc small{display:block;font-size:12px;color:#7a7a82;margin-top:2px;line-height:1.35}
.ag-d-calc .dkp-ic{flex:none}
.ag-d-calc .dkp-btn{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:10px;font-size:12.5px;font-weight:800;white-space:nowrap}
@media (max-width:420px){.ag-d-calc .dkp-btn{width:36px;padding:0;justify-content:center;font-size:0;gap:0}.ag-d-calc .dkp-btn svg{width:18px;height:18px}}

.ag-d-calcs{display:grid;gap:10px}
@media (min-width:1024px){.ag-d-calcs{grid-template-columns:1fr 1fr;gap:16px}}

/* Page banners (owner 2026-11-21): merchant's own picture in place of a built-in top banner */
.ci-hero.ci-hero-pb{background:none!important;padding:0!important;box-shadow:none!important;display:block!important;min-height:0!important}
.ci-pb{display:block;border-radius:16px;overflow:hidden}
.ci-pb-streak{margin-top:8px;font-weight:800;font-size:14px;color:var(--ink,#111)}
.ci-hero[hidden]{display:none!important}
.tgd-pb{border-radius:24px;overflow:hidden}
.tgd-pb .tg-pb{border-radius:24px}
.ci-hero.ci-hero-pb{margin-bottom:14px!important}
.rb-d-pb{display:block;border-radius:20px;overflow:hidden;margin-bottom:16px}
.tgd-pb-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}.tgd-pb-top h1{margin:2px 0 0;font-size:26px;font-weight:900}
