/* shared-end.css (11 Nov 2026, Job N): the shared styles that must come AFTER each page's own file: the Holo chrome colours
   (Job A / Job M) and the top bar's offline / next stream line. Loaded last on Home, Cases, Guess the Balance and Bonus hunt
   (see the top of shared.css). Edit here for all four pages, then: cd tools && node stamp-app.mjs. */
/* Studio theme (Midnight & Gold, 11 Nov 2026, owner: "make it look like the most professional website ever seen"): one quiet frame, one accent,
   hairline borders, solid white headings, no rainbow foil or glow. Replaces the Holo chrome block. The colours are the tokens on :root. */
:root{--frame:#07080c;--bg:#0b0d13;--bg-2:#0e1118;--surface:#12151d;--surface-2:#171b25;--raised:#1d2230;--card-a:#141823;--card-b:#10131b;
  --line:#ffffff14;--line-2:#ffffff21;--line-3:#ffffff38;--text:#f4f5f7;--text-2:#d9dbe1;--muted:#9a9ea9;--faint:#6b6f7a;
  --cyan:#ecd08f;--cyan-2:#ecd08f;--blue:#d9b45a;--accent:#d9b45a;--accent-2:#ecd08f;--accent-ink:#1a1305;--accent-soft:#d9b45a24;
  --r-card:14px;--r-ctl:10px;--r-sm:8px;--r-xs:6px;--shadow-card:0 1px 0 #ffffff0a inset,0 1px 2px #0000004d,0 18px 40px -24px #000000b3;
  --chrome:linear-gradient(180deg,#ecd08f,#d9b45a)}
body{color:var(--text-2)}
.topbar,.topbar.scrolled{background:color-mix(in srgb,var(--frame) 88%,transparent)!important;backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)!important;border-image:none!important;box-shadow:none!important}
.sideNav,.bnav,.chatDock,.chpAsk{background:var(--frame)!important}
.sideNav{border-right:1px solid var(--line)!important}
.chatDock{border-left:1px solid var(--line)!important}
.bnav{border-top:1px solid var(--line)!important}
.subnav,html #subnav,.casesTabs{background:color-mix(in srgb,var(--frame) 92%,transparent)!important;border-bottom:1px solid var(--line)!important}
.sideNav a{border-radius:var(--r-ctl)!important}
.sideNav a:hover{background:#ffffff08!important}
.sideNav a.active{background:linear-gradient(90deg,var(--accent-soft),transparent 85%)!important;box-shadow:inset 0 0 0 1px #ffffff12!important;color:#fff!important}
.sideNav a.active::before{background:var(--accent)!important;box-shadow:none!important}
.snLabel{color:var(--faint)!important}
.snLabel::after{opacity:.18!important}
.snGroup .snLabel{color:var(--faint)!important}
.card,.hmCard,.ccard,.fcard,.card.panel,.nlMod,.card.pod,.card.gwMain,.mineCard,.howCard,.hmChal,.dcCard,.hero.heroPic,.heroSteps,.hmTile,.dzWTile,.pgHero.hasStage,.pcCard,.chpHead,.hmMain,.hmHero,.hmStrip{background:linear-gradient(180deg,var(--card-a),var(--card-b))!important;border:1px solid var(--line)!important;border-radius:var(--r-card)!important;box-shadow:var(--shadow-card)!important}
.hmTile{background:linear-gradient(180deg,var(--card-a),var(--card-b))!important}
.hmTile:hover,.fcard:hover,.ccard:hover{border-color:var(--line-3)!important}
h1,h2,.pgHero h1{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:var(--text)!important;filter:none!important;text-shadow:none!important}
.hmOff::after,.hmLive::after,.hmHunt::after{background:linear-gradient(90deg,var(--card-b) 30%,transparent 62%)!important}
.hmSide,.nlDate,.nlStats,.nlArr{background:var(--surface)!important}
th{background:var(--surface-2)!important;color:var(--muted)!important;font-weight:600!important;letter-spacing:.06em}
td{border-color:var(--line)!important}
.board{background:color-mix(in srgb,var(--surface) 80%,transparent)!important;border-radius:var(--r-card)!important}
.toast{background:color-mix(in srgb,var(--surface-2) 96%,transparent)!important;border:1px solid var(--line-2)!important;border-radius:var(--r-ctl)!important}
.btn,.choice{border-radius:var(--r-ctl)!important}
.btn.primary:not(.dcJoin),.primary.btn{background:var(--accent)!important;color:var(--accent-ink)!important;border-color:transparent!important;box-shadow:0 1px 0 #ffffff40 inset,0 8px 20px -10px var(--accent)!important;text-shadow:none!important}
.btn.primary:not(.dcJoin):hover{filter:brightness(1.08)}
.btn.secondary,.secondary.btn{background:#ffffff08!important;border:1px solid var(--line-2)!important;color:var(--text-2)!important;box-shadow:none!important}
.btn.secondary:hover,.secondary.btn:hover{background:#ffffff10!important;border-color:var(--line-3)!important}
.input,input.input,select.input,textarea.input{background:#0000002e!important;border:1px solid var(--line-2)!important;border-radius:var(--r-ctl)!important}
.input:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-soft)!important}
.chatFab{background:var(--surface)!important;border:1px solid var(--line-2)!important;border-radius:999px!important;box-shadow:0 10px 28px #000a!important}
.chip,.hmTab,.lbTab{border-radius:999px!important}
/* every close button: one plain X in a quiet rounded square (owner, 11 Nov 2026: "remove that custom X button") */
.dzWX,.hbToast button,.cpX,.pcX,.newX,.fairX,.xBtn,.sheetX{border:1px solid var(--line-2)!important;border-radius:var(--r-ctl)!important;background:#ffffff0a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9eaee' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/55% 55% no-repeat!important;box-shadow:none!important;transition:background-color .15s,border-color .15s!important}
.dzWX:hover,.hbToast button:hover,.cpX:hover,.pcX:hover,.newX:hover,.fairX:hover,.xBtn:hover,.sheetX:hover{background-color:#ffffff17!important;border-color:var(--line-3)!important;transform:none!important}
::selection{background:var(--accent-soft);color:#fff}
/* ---------- top bar, offline / next stream and follower goal (11 Nov 2026, owner: "I don't really like the box look"): no boxes, a thin
   divider before each, the goal's numbers over a slim progress line. Word for word the same in home, cases, gtb and hunt.css ---------- */
.hbOff,.hbGoal{height:42px;border:0;border-left:1px solid #ffffff17;border-radius:0;background:none;padding:0 18px}
.hbOff:hover,.hbGoal:hover{background:none}
.hbOff:hover span,.hbGoal:hover .hbGoalL{color:#fff}
.hbOff i{box-shadow:0 0 0 3px #8a94b826}
.hbOff b{color:#9da3b4;font-size:11px}
.hbOff span{color:#f0f0f3;font:600 13.5px/1 var(--font-body)}
.hbGoal{display:grid;grid-template-columns:auto auto 1fr;grid-template-areas:"k l n" "k bar bar";align-content:center;column-gap:9px;row-gap:6px}
.hbGoalK{grid-area:k;width:20px;height:20px;margin:0}
.hbGoalL{grid-area:l;color:#c9cbd4;font:600 12.5px/1 var(--font-body)}
.hbGoal b{grid-area:n;justify-self:end;color:#fff;font:800 12.5px/1 var(--font-body);font-variant-numeric:tabular-nums}
.hbGoalBar{grid-area:bar;width:auto;min-width:150px;height:3px;border-radius:2px;background:#ffffff14;overflow:visible}
.hbGoalBar i{box-shadow:0 0 10px #53fc1880}
@media(max-width:1360px){.hbGoal{grid-template-areas:"k n n" "k bar bar"}.hbGoalBar{min-width:110px}}

/* ---------- the top bar's stats (11 Nov 2026): level badge + XP, leaderboard place; signed out the top chatter and top gifter ---------- */
.hbStats{display:flex;align-items:center;flex:none;margin-left:auto}
.hbStats[hidden],.hbStat[hidden]{display:none!important}
.hbStat{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;border-left:1px solid var(--line);color:inherit;text-decoration:none;transition:background .15s}
.hbStat:hover{background:#ffffff06}
.hbStat img{flex:none;object-fit:contain}
.hbLvl img{width:34px;height:34px}
.hbStatTx{display:grid;gap:4px;min-width:0;line-height:1}
.hbStatTx small{color:var(--muted);font:600 10.5px/1 var(--font-body);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.hbStatTx b{max-width:170px;overflow:hidden;color:var(--text);font:700 14px/1.1 var(--font-body);white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.hbRank b{color:var(--accent);font-size:16px}
.hbXp{display:block;width:100px;height:3px;border-radius:2px;background:#ffffff14;overflow:hidden}
.hbXp i{display:block;width:0;height:100%;border-radius:2px;background:var(--accent);transition:width .4s}
.hbStats+.hbMe,.hbStats+.hbIn{margin-left:8px}
@media(max-width:1360px){#hbTopG{display:none!important}.hbXp{width:80px}}
@media(max-width:1180px){.hbStats{display:none!important}}
/* the wordmark in the theme: white, 420 in the accent (11 Nov 2026) */
.brandName{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:var(--text)!important}
.brandName i{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:var(--accent)!important}
/* phones and tablets (11 Nov 2026): signed in, a compact badge with the level and the leaderboard place sits in the top bar */
@media(max-width:1180px){
  .hbStats{display:flex!important;margin-left:auto}
  .hbStats[hidden],.hbTop{display:none!important}
  .hbStat{height:36px;padding:0 10px;gap:7px;border-left:0}
  .hbLvl img{width:26px;height:26px}
  .hbStatTx small,.hbXp{display:none}
  .hbStatTx b{font-size:13px}
  .hbRank{padding-left:0}
  .hbRank b{font-size:14px}
}
@media(max-width:380px){.hbLvl .hbStatTx{display:none}}
/* 13 Nov 2026: signed in, the picture (the account menu) sits in the phone bar too, so the level shows as its badge alone */
@media(max-width:480px){.topbar:has(#hbMe:not([hidden])) .hbLvl .hbStatTx{display:none}}

/* the prediction chip (Job T, 11 Nov 2026): the question and the pot while one runs in chat */
.hbChip.pred svg{stroke:var(--accent)}
.hbChip.pred b{color:var(--accent)}
.hbChip.pred span{max-width:340px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* a full top bar (live + prediction + stats) on laptop screens: nothing may overlap; the follower goal steps aside while live, the
   prediction's words shorten, and the top gifter goes first */
.hbLive{overflow:hidden}
@media(max-width:1760px){
  .topbar:has(#hbLive:not([hidden])) .hbGoal{display:none!important}
  .hbChip.pred span{max-width:240px}
}
@media(max-width:1500px){
  .topbar:has(#hbPred:not([hidden])) #hbTopG{display:none!important}
  .topbar:has(#hbLive:not([hidden])):has(#hbPred:not([hidden])) .hbT{display:none}
}
@media(max-width:1360px){.hbChip.pred span{max-width:170px}}
@media(min-width:1181px) and (max-width:1260px){.hbLvl .hbStatTx{display:none}}
/* Finishing touches (12 Nov 2026, owner: "high-end polish... just look like a high-end website"). The corner scale is --r-card 14 /
   --r-ctl 10 / --r-sm 8 / --r-xs 6: the old 3-5 px corners in the page files use the last two, so tiles, chips and fields inside a card
   round like the card. A keyboard ring for anything that has none of its own, the gold caret in fields, quiet placeholders. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}
:where(input,textarea){caret-color:var(--accent)}
::placeholder{color:var(--faint);opacity:1}

/* ---------- The top bar, fuller (13 Nov 2026, owner: "add the time for the free case and XP needed for the next level... make it feel more used,
   not so many empty spots"): signed in, the free case, the level with the XP still to go, the leaderboard place, and the top chatter on wide
   screens; signed out, a free-case sign-in, the top chatter and the top gifter. The stats spread out to fill the bar; a gear opens Settings. ---------- */
.hbStats{flex:1 1 auto;justify-content:flex-end;min-width:0}
.hbStat{position:relative;flex:none}
.hbStat .hbStatTx b{display:flex;align-items:baseline;gap:7px}
.hbXpTx{color:var(--muted);font:600 11.5px/1 var(--font-body);font-style:normal;white-space:nowrap}
.hbXpTx:empty{display:none}
.hbFree img,.hbJoin img{width:34px;height:34px;filter:drop-shadow(0 4px 8px #0008)}
.hbFree b{color:var(--text)}
.hbFree.ready b{color:#53fc18}
.hbFree.ready img{animation:hbChest 2.4s ease-in-out infinite}
.hbFree.ready::after{content:"";position:absolute;left:44px;top:9px;width:8px;height:8px;border-radius:50%;background:#53fc18;box-shadow:0 0 0 3px color-mix(in srgb,var(--frame) 90%,transparent)}
@keyframes hbChest{0%,100%{transform:none}8%{transform:rotate(-7deg) scale(1.05)}16%{transform:rotate(6deg) scale(1.05)}24%{transform:none}}
.hbJoin b{color:var(--accent)}
.hbStats.in #hbTopG{display:none!important}
@media(max-width:1579px){.hbStats.in #hbTopC{display:none!important}}
@media(max-width:1759px){.topbar:has(#hbLive:not([hidden])) .hbStats.in #hbTopC,.topbar:has(#hbPred:not([hidden])) .hbStats.in #hbTopC{display:none!important}}
@media(max-width:1500px){.hbXpTx{display:none}#hbJoin{display:none!important}}
/* a laptop-width bar keeps what matters: signed in, the follower goal steps aside for the free case, level and place */
@media(max-width:1400px){.topbar:has(.hbStats.in) .hbGoal{display:none!important}}
@media(max-width:1440px){.topbar:has(.hbStats.in):has(#hbLive:not([hidden])) .hbT{display:none}}
@media(max-width:1300px){.hbFree .hbStatTx small{display:none}}
.hbSet{flex:none;display:grid;place-items:center;width:42px;height:42px;margin-left:8px;padding:0;border:1px solid var(--line-2);border-radius:var(--r-ctl);background:#ffffff08;color:var(--text-2);cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.hbSet svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .4s cubic-bezier(.22,.8,.24,1)}
.hbSet:hover,.hbSet[aria-expanded="true"]{border-color:var(--line-3);background:#ffffff10;color:var(--text)}
.hbSet:hover svg,.hbSet[aria-expanded="true"] svg{transform:rotate(60deg)}
.hbStats+.hbSet{margin-left:4px}
.hbSet+.hbMe,.hbSet+.hbMe+.hbIn,.hbSet+.hbMe[hidden]+.hbIn{margin-left:8px}
.hbMe{gap:10px;height:46px;padding:0 10px 0 6px;border-radius:999px;border-color:var(--line-2);background:#ffffff08}
.hbMe:hover,.hbMe[aria-expanded="true"]{border-color:color-mix(in srgb,var(--accent) 55%,transparent);background:color-mix(in srgb,var(--accent) 7%,transparent)}
.hbAv{width:34px;height:34px;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:var(--accent-ink);box-shadow:0 0 0 2px color-mix(in srgb,var(--frame) 80%,transparent)}
.hbWho span{color:var(--text);font-size:13px}
.hbWho small{color:var(--accent)}
.hbCaret{flex:none;width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.hbMe[aria-expanded="true"] .hbCaret{transform:rotate(180deg)}
.hbMe.bump .hbWho small{animation:hbBump .5s cubic-bezier(.22,.8,.24,1)}
@keyframes hbBump{40%{transform:scale(1.14)}}
/* phones and tablets: the gear when signed out, the picture alone (it opens the same menu) when signed in */
@media(max-width:1180px){.hbFree .hbStatTx,.hbJoin{display:none!important}.hbFree{padding:0 6px}.hbFree img{width:28px;height:28px}.hbFree.ready::after{left:26px;top:6px}}
@media(max-width:760px){
  .hbMe:not([hidden]){display:inline-flex!important;width:40px;height:40px;padding:0;justify-content:center;border-radius:50%;margin-left:6px}
  .hbMe .hbWho,.hbMe .hbCaret{display:none}
  .hbMe .hbAv{width:32px;height:32px}
  .hbSet{width:40px;height:40px;margin-left:6px}
  .topbar:has(#hbMe:not([hidden])) .hbSet{display:none}
}
@media(max-width:420px){.hbFree{display:none!important}}

/* ---------- The account menu (13 Nov 2026): one bigger menu on every page; Account and Settings tabs ---------- */
.hbPop{position:fixed;z-index:200;display:flex;flex-direction:column;width:400px;max-width:calc(100vw - 16px);padding:0;overflow:hidden;
  border:1px solid var(--line-2);border-radius:var(--r-card);background:linear-gradient(180deg,var(--surface-2),var(--surface));
  box-shadow:0 30px 70px -10px #000000d9,0 0 0 1px #ffffff08 inset;color:var(--text-2);font:500 13.5px/1.45 var(--font-body);animation:hbPopIn .18s cubic-bezier(.22,.8,.24,1)}
html:not([data-theme]) .hbPop{background:linear-gradient(180deg,#171b25,#10131b)}
.hbPop svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hbPopTop{display:flex;align-items:center;gap:14px;padding:20px 20px 14px;background:radial-gradient(120% 140% at 0% 0%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 60%)}
.hbPopAv{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:var(--accent-ink);font:800 23px/1 var(--font-body);text-transform:uppercase;box-shadow:0 0 0 3px var(--surface-2),0 0 0 4px color-mix(in srgb,var(--accent) 60%,transparent)}
.hbPopAv img{width:100%;height:100%;object-fit:cover}
.hbPopAv svg{width:28px;height:28px}
.hbPopTop.out .hbPopAv{background:#ffffff10;color:var(--muted);box-shadow:0 0 0 1px var(--line-2)}
.hbPopTop>div{min-width:0}
.hbPopTop b{display:block;overflow:hidden;color:var(--text);font:800 19px/1.2 var(--font-body);white-space:nowrap;text-overflow:ellipsis}
.hbPopTop>div>span{display:flex;align-items:center;gap:6px;margin-top:3px;color:var(--muted);font-size:13px}
.hbPopTop>div>span img{width:18px;height:18px;object-fit:contain}
.hbPopTop.out>div>span{display:block;font-size:12.5px}
.hbPopIn{display:flex;align-items:center;justify-content:center;gap:9px;width:calc(100% - 40px);height:44px;margin:0 20px 18px;border:0;border-radius:var(--r-ctl);background:#53fc18;color:#08210a;font:800 14px/1 var(--font-body);cursor:pointer}
.hbPopIn img{height:17px;width:auto;filter:brightness(0);opacity:.85}
.hbPopIn.small{width:auto;height:40px;margin:4px 0 0;padding:0 16px;font-size:13px}
.hbPopIn:hover{filter:brightness(1.07)}
.hbPopXp{padding:0 20px 14px}
.hbPopBar{display:block;height:6px;border-radius:99px;background:#ffffff14;overflow:hidden}
.hbPopBar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--accent),var(--accent-2))}
.hbPopXp small{display:block;margin-top:7px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.hbPopXp small b{color:var(--text-2);font-weight:700}
.hbPopNote{margin:0 20px 14px;color:var(--muted);font-size:12.5px}
.hbPopStats{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;padding:0 20px 16px}
.hbPopStats>*{display:block;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-ctl);background:#0000001f;color:inherit;text-decoration:none}
.hbPopStats small{display:block;color:var(--muted);font:700 10.5px/1 var(--font-body);letter-spacing:.1em;text-transform:uppercase}
.hbPopStats strong{display:block;margin-top:6px;color:var(--text);font:800 18px/1 var(--font-body);font-variant-numeric:tabular-nums;white-space:nowrap}
.hbPopStats>div:first-child strong{color:var(--accent)}
.hbPopStats a{transition:border-color .15s,background .15s}
.hbPopStats a:hover{border-color:var(--line-3)}
.hbPopStats a.ready{border-color:#53fc1866;background:#53fc1812}
.hbPopStats a.ready strong{color:#53fc18}
.hbPopTabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 20px;padding:4px;border-radius:var(--r-ctl);background:#0000002e;border:1px solid var(--line)}
.hbPopTabs button{display:flex;align-items:center;justify-content:center;gap:7px;height:38px;border:0;border-radius:calc(var(--r-ctl) - 3px);background:none;color:var(--muted);font:700 13px/1 var(--font-body);cursor:pointer}
.hbPopTabs svg{width:16px;height:16px}
.hbPopTabs button:hover{color:var(--text)}
.hbPopTabs button[aria-selected="true"]{background:var(--raised,#ffffff14);color:var(--text);box-shadow:0 1px 0 #ffffff12 inset,0 2px 6px #0000004d}
.hbPopBody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 20px 20px}
.hbPopLinks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 12px}
.hbPopLinks a{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-ctl);background:#ffffff06;color:var(--text);font-weight:700;text-decoration:none;transition:border-color .15s,background .15s}
.hbPopLinks a svg{flex:none;width:18px;height:18px;color:var(--accent)}
.hbPopLinks a:hover,.hbPopLinks a:focus-visible{border-color:var(--line-3);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.hbPopOut{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;border:1px solid var(--line-2);border-radius:var(--r-ctl);background:transparent;color:var(--muted);font:700 13px/1 var(--font-body);cursor:pointer}
.hbPopOut svg{width:16px;height:16px}
.hbPopOut:hover{color:#fff;border-color:#ff8a8a80;background:#ff5a5a12}
/* Settings */
.hbSec+.hbSec{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.hbSec h4{margin:4px 0 10px;color:var(--muted);font:800 11px/1 var(--font-body);letter-spacing:.12em;text-transform:uppercase}
.hbThemes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hbTheme{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;padding:7px 7px 9px;border:1px solid var(--line-2);border-radius:var(--r-ctl);background:#00000024;color:var(--text-2);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.hbTheme b{padding:0 2px;color:var(--text);font:700 12.5px/1.15 var(--font-body)}
.hbTheme small{padding:0 2px;color:var(--muted);font-size:11px;line-height:1.3}
.hbTheme:hover{border-color:var(--line-3)}
.hbTheme[aria-checked="true"]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 30%,transparent)}
/* a tiny picture of each theme: the dark frame, the page and a card in its colours */
.hbThPrev{position:relative;display:block;height:46px;border-radius:calc(var(--r-ctl) - 3px);overflow:hidden;box-shadow:0 0 0 1px #ffffff14 inset}
.hbThPrev i{position:absolute;display:block}
.hbThPrev i:nth-child(1){left:0;top:0;bottom:0;width:22%}
.hbThPrev i:nth-child(2){left:30%;right:8%;top:22%;height:30%;border-radius:3px}
.hbThPrev i:nth-child(3){left:30%;width:28%;top:64%;height:16%;border-radius:3px}
.th-gold{background:#0b0d13}.th-gold i:nth-child(1){background:#07080c;box-shadow:1px 0 0 #ffffff14}.th-gold i:nth-child(2){background:#171b25;box-shadow:0 0 0 1px #ffffff14}.th-gold i:nth-child(3){background:#d9b45a}
.th-blue{background:#24324a}.th-blue i:nth-child(1){background:#0b111c}.th-blue i:nth-child(2){background:#33445f;box-shadow:0 0 0 1px #ffffff1f}.th-blue i:nth-child(3){background:#4fb8ff}
.th-arcade{background:#130b31 repeating-linear-gradient(180deg,transparent 0 2px,#0000002e 2px 3px)}.th-arcade i:nth-child(1){background:#0a0620;box-shadow:1px 0 0 #3ee8ff80}.th-arcade i:nth-child(2){background:#1f1248;border-radius:0;box-shadow:0 0 0 1px #3ee8ff99,2px 2px 0 #ff4fb0}.th-arcade i:nth-child(3){background:#ffd23f;border-radius:0;box-shadow:2px 2px 0 #ff4fb0}
.hbSetRow{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0}
.hbSetRow+.hbSetRow{border-top:1px solid var(--line)}
.hbSetRow label:not(.hbSwitch){display:block;color:var(--text);font-weight:700;font-size:13.5px}
.hbSetRow small{display:block;color:var(--muted);font-size:12px;line-height:1.35}
.hbSwitch{position:relative;flex:none;width:44px;height:26px;cursor:pointer}
.hbSwitch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.hbSwitch i{position:absolute;inset:0;border-radius:99px;background:#ffffff1f;box-shadow:inset 0 0 0 1px var(--line-2);transition:background .18s;pointer-events:none}
.hbSwitch i::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0006;transition:transform .18s cubic-bezier(.22,.8,.24,1)}
.hbSwitch input:checked+i{background:var(--accent)}
.hbSwitch input:checked+i::after{transform:translateX(18px)}
.hbSwitch input:focus-visible+i{outline:2px solid var(--accent-2);outline-offset:2px}
.hbNum{flex:none;width:92px;height:38px;padding:0 10px;border:1px solid var(--line-2);border-radius:var(--r-ctl);background:#00000033;color:var(--text);font:700 14px var(--font-body);text-align:right}
.hbSetNote{margin:0 0 8px;color:var(--muted);font-size:12.5px}
.hbSetLink{padding:0;border:0;background:none;color:var(--accent-2);font:700 12.5px var(--font-body);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* the payout profile inside Settings */
#hbPay [hidden]{display:none!important}
#hbPay .gwBanner{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;border-radius:var(--r-ctl);font-size:12.5px;font-weight:600}
#hbPay .gwBanner.ready{border:1px solid #53fc1859;background:#53fc1814;color:#d9ffd0}
#hbPay .gwBanner.todo{border:1px solid color-mix(in srgb,var(--accent) 45%,transparent);background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--text)}
#hbPay .gwBanner svg{flex:none;width:18px;height:18px;color:var(--accent)}
.hbOk{flex:none;width:18px;height:18px;border-radius:50%;background:#53fc18 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308210a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat}
#hbPay .gwForm{display:grid;gap:12px}
#hbPay .gwField{display:grid;gap:5px}
#hbPay .gwField label{display:flex;justify-content:space-between;gap:8px;color:var(--text);font-weight:700;font-size:13px}
#hbPay .gwField label em{color:var(--muted);font-style:normal;font-weight:600;font-size:11.5px}
#hbPay .gwField input{width:100%;height:42px;padding:0 12px;border:1px solid var(--line-2);border-radius:var(--r-ctl);background:#00000033;color:var(--text);font:600 14px var(--font-body);box-sizing:border-box}
#hbPay .gwField input.mono{font-family:var(--font-mono,ui-monospace,monospace);font-size:12.5px}
#hbPay .gwField input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
#hbPay .gwField input[aria-invalid="true"]{border-color:#ff6b7a}
#hbPay .gwHint{color:var(--muted);font-size:11.5px;line-height:1.4}
#hbPay .gwHint a{color:var(--accent-2)}
#hbPay .gwErr{color:#ff9aa5;font-size:12px;font-weight:600}
#hbPay .gwErr[hidden]{display:none}
#hbPay .gwCheck{display:flex;align-items:flex-start;gap:9px;color:var(--text-2);font-size:12.5px;cursor:pointer}
#hbPay .gwCheck input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--accent)}
#hbPay .gwActions{display:flex;flex-wrap:wrap;gap:8px}
#hbPay .gwSay{margin:0;font-size:12.5px;font-weight:600}
#hbPay .gwSay:empty{display:none}
#hbPay .gwSay.ok{color:#8dff6a}
#hbPay .gwSay.bad{color:#ff9aa5}
#hbPay .gwMeta{margin-top:10px;color:var(--muted);font-size:11.5px}
#hbPay .gwMeta b{color:var(--text-2)}
.hbBtn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 16px;border:1px solid var(--line-2);border-radius:var(--r-ctl);background:#ffffff0a;color:var(--text-2);font:700 13px/1 var(--font-body);cursor:pointer}
.hbBtn:hover{border-color:var(--line-3)}
.hbBtn.primary{border-color:transparent;background:var(--accent);color:var(--accent-ink)}
.hbBtn.primary:hover{filter:brightness(1.08)}
.hbBtn.danger{color:#ffb3ba;border-color:#ff6b7a59}
.hbBtn:disabled{opacity:.6;cursor:default}
.hbSkel{display:grid;gap:8px}
.hbSkel i{display:block;height:40px;border-radius:var(--r-ctl);background:linear-gradient(90deg,#ffffff08,#ffffff12,#ffffff08);background-size:200% 100%;animation:hbSk 1.2s linear infinite}
@keyframes hbSk{to{background-position:-200% 0}}
@media(max-width:560px){.hbPop{width:auto}.hbPopLinks{grid-template-columns:1fr}.hbThemes{grid-template-columns:1fr}.hbTheme{flex-direction:row;align-items:center;gap:10px}.hbThPrev{flex:none;width:76px;height:40px}.hbTheme b,.hbTheme small{display:block}}
@media(prefers-reduced-motion:reduce){.hbPop,.hbFree.ready img,.hbMe.bump .hbWho small,.hbSkel i{animation:none}}

/* ---------- the chat's Collapse at the bottom (13 Nov 2026, owner: "the one for the sidebar is at the bottom and the other one's at the top"):
   the same row, height and look as the side menu's Collapse, so the two line up along the bottom of the screen ---------- */
.cdFold{flex:none;padding:10px 12px 14px;border-top:1px solid var(--line)}
.cdFold .cdClose{display:flex;align-items:center;justify-content:flex-end;gap:12px;width:100%;height:56px;padding:0 9px;border:0!important;border-radius:var(--r-sm)!important;background:transparent!important;box-shadow:none!important;color:var(--muted)!important;font:600 13.5px/1 var(--font-body);white-space:nowrap}
.cdFold .cdClose svg{width:20px;height:20px;margin:0 7px;stroke-width:1.8}
.cdFold .cdClose:hover{background:#d1d1d80f!important;color:#fff!important;box-shadow:none!important}
.cdFold .cdClose:active{transform:none}
.cdFold .cdClose:focus-visible{outline:2px solid var(--accent-2);outline-offset:-2px}
html.cd-page .cdFold{display:none}
@media(max-width:1279px){.cdFold .cdClose{height:46px}.cdFold{padding:8px 12px 10px}}

/* the side menu's "Settings" (13 Nov 2026): under "New here?", a solid line instead of the dashed one; on small phones signed out
   the gear leaves the bar (the bar has no room) and this is the way in */
.snSet{margin-top:8px;border-style:solid;border-color:var(--line-2)}
.snSet .snNewIc svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media(max-width:480px){.hbSet{display:none!important}}
/* 17 Nov 2026 (owner: settings felt all over the place): ONE Settings menu (theme, giveaway payout, Cases), opened from the gear / account pill in the top bar; the side menu's copy of the button shows only on small phones, where there is no gear */
.snSet{display:none}@media(max-width:480px){.snSet{display:flex}}
/* the streamer's own account: "Streamer" in the place of a leaderboard number */
.hbRank.word b{font-size:14px;letter-spacing:.02em}

/* 17 Nov 2026 (owner): the bar at the foot of the side menu (the collapse button) is slimmer (it was 56 px tall plus padding), and the chat's hide button is just its symbol,
   inside the DabzillaBot box ("Have a question? Type !ask") instead of its own row with words */
@media(min-width:1181px){
  .snFoot{padding:4px 12px 6px}
  .sideNav .snCollapse{height:36px}
}
.cdFold{display:none!important}
.cdAskRow{display:flex;align-items:center;gap:4px;border-radius:var(--r-sm);background:color-mix(in srgb,var(--accent-2) 6%,transparent)}
.cdAskRow:hover{background:color-mix(in srgb,var(--accent-2) 9%,transparent)}
.cdFoot .cdAskRow a.cdAsk{flex:1;min-width:0;background:none!important}
.cdAskRow .cdClose{flex:none;width:34px;height:34px;margin-right:6px;border:0!important;border-radius:var(--r-sm)!important;background:transparent!important;box-shadow:none!important;color:var(--muted)!important}
.cdAskRow .cdClose:hover{background:#ffffff14!important;color:#fff!important}
.cdAskRow .cdClose svg{width:18px;height:18px;stroke-width:1.9}
html.cd-page .cdAskRow .cdClose{display:none}
