/* token-fallback: the dark tokens, in case this sheet arrives without tokens.css (a server not yet restarted after UX13), so the phone
   sheets and dropdowns still have solid backgrounds. :where() has no weight, so tokens.css always wins when it is there (and light works
   only with it). Must match tokens.css (test/stage-ux13.test.mjs checks). */
:where(:root){--bg:#0d0d0d;--bg-art:linear-gradient(#0000,#0000);--bg-glow:radial-gradient(ellipse at 80% 0,#d4a84314,transparent 55%);--bg-watermark:#f3efe40d;--surface:#161514;--raised:#1f1c16;--raised-2:#1b1914;--sunken:#0d0d0d;--gold-tint:#18150c;--gold-hover:#2a2212;--edge:#3a3428;--edge-strong:#4a4233;--line:#2c2820;--gold-line:#77612c;--text:#f3efe4;--text-soft:#d9d3c4;--text-muted:#cfc8b8;--faint:#a39c8c;--gold:#d4a843;--gold-strong:#f5ca27;--gold-text:#e7c25a;--gold-soft:#f0d488;--on-gold:#16130c;--gold-glow:#d4a84333;--coin:#f5ca27;--on-coin:#111111;--danger:#c62828;--on-danger:#ffffff;--danger-text:#ff8a7a;--warning-text:#f0b44c;--success:#3ccf6e;--success-text:#9fe0b2;--live:#e5484d;--on-live:#ffffff;--focus:#e7c25a;--scrim:#000000b3;--on-scrim:#f3efe4;--shadow:0 14px 40px #000000b0;--header:#0f0e0cf5;--tap:44px}
.viewer-header{position:sticky;top:0;z-index:40;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:7px 3vw;background:var(--header);border-bottom:1px solid var(--edge);min-height:78px}.viewer-header .header-brand{display:flex;align-items:center;gap:16px;min-width:0}.viewer-header .brand-logo{width:170px;height:70px}.viewer-header .brand-logo img{width:290px;left:-56px;top:-50px}.viewer-header .viewer-balance{display:flex;gap:8px;align-items:center;padding:10px 15px;border:1px solid var(--gold-soft);border-radius:5px;background:var(--gold-metal,linear-gradient(120deg,var(--gold-strong),var(--gold)));color:var(--on-gold);font-size:12px;font-weight:800;text-decoration:none;box-shadow:0 2px 18px var(--gold-glow)}.viewer-balance strong{font-size:17px;font-variant-numeric:tabular-nums}.header-account{justify-self:end}.header-account>.viewer-signin{font-size:12px;font-weight:750;color:var(--gold-text);text-decoration:none;border:1px solid var(--gold-line);border-radius:6px;padding:10px 18px}.header-account #viewer-profile{display:flex;align-items:center;justify-content:center;width:39px;height:39px;padding:0;border-radius:50%;overflow:hidden;background:var(--raised)}.header-account img{width:100%;height:100%;object-fit:cover}.viewer-header [hidden]{display:none!important}body.viewer-hdr main>nav{display:none}body.viewer-hdr main{padding-top:24px}@media(max-width:550px){.viewer-header{gap:8px;padding:6px 12px;min-height:65px}.viewer-header .header-brand{gap:4px}.viewer-header .brand-logo{width:80px;height:58px}.viewer-header .brand-logo img{width:165px;left:-39px;top:-26px}.viewer-header .viewer-balance{padding:8px;gap:5px;font-size:10px}.viewer-balance strong{font-size:14px}.header-account>.viewer-signin{padding:9px 12px;font-size:12px}}
.viewer-header #badge{display:none}.viewer-header .header-brand{grid-column:1;grid-row:1}.viewer-header .viewer-topnav{grid-column:2;grid-row:1}.viewer-header .header-account{grid-column:3;grid-row:1}

body.viewer-hdr main{width:100%;max-width:1380px;margin-inline:auto}

.viewer-header .viewer-balance>span{color:var(--on-gold);font-weight:850}
body.viewer-hdr main>.intro{margin-inline:auto;text-align:center}
body.viewer-hdr main>.intro>p{margin-inline:auto}

.header-account{position:relative}.header-account #viewer-profile{border:1px solid var(--gold-line);color:var(--gold-text);margin:0;cursor:pointer}#login-panel{max-width:500px;margin:24px auto}.intro{text-align:center}#wallet-link-panel{max-width:700px;margin:auto}

.profile-wallet{margin:22px 0;padding:18px;border:1px solid var(--edge);border-radius:9px;background:var(--surface)}.profile-wallet h3{margin:0 0 14px}.profile-wallet-identity{display:flex;align-items:center;gap:12px;margin:12px 0}.profile-wallet-identity svg{width:28px;height:28px;flex-shrink:0;color:var(--gold-text)}.profile-wallet-identity span{display:block;color:var(--text-muted);font-size:12px}.profile-wallet-identity strong{display:block;color:var(--text);font-size:16px;overflow-wrap:anywhere}

/* Stage UX13: the page palette for every viewer page is on the shared tokens (tokens.css): gold on charcoal in dark, marble with gold in
   light. The old purple and cyan page colours and the purple "B" monogram background are gone. --accent and --border are the older names
   bucks.css still reads. */
body.viewer-hdr{--accent:var(--gold-text);--border:var(--edge);background:var(--bg-glow),var(--bg-art),var(--bg);color:var(--text)}
html.viewer-hdr{background:var(--bg)}
body.viewer-hdr .viewer-header{background:var(--header);border-bottom-color:var(--edge);backdrop-filter:blur(16px)}
body.viewer-hdr .intro h1 em{color:var(--gold-text)}
body.viewer-hdr .eyebrow{color:var(--gold)}
body.viewer-hdr .card{border:1px solid var(--gold-line);border-radius:var(--ic-radius,15px);background:var(--ic-bg,var(--surface));box-shadow:var(--ic-ring,none);color:var(--text)}
body.viewer-hdr .help{color:var(--text-muted)}
body.viewer-hdr main button{border-color:var(--edge-strong)}
body.viewer-hdr button.primary,body.viewer-hdr #spin-now,body.viewer-hdr .store-categories button[aria-pressed=true]{background:var(--gold-metal,var(--gold));color:var(--on-gold)}
body.viewer-hdr input:focus,body.viewer-hdr select:focus{outline-color:var(--focus);border-color:var(--gold)}
body.viewer-hdr main{background:transparent}
body.viewer-hdr .about-grid article{background:var(--ic-bg,var(--surface))}

/* Profile settings: centred portrait, verified stream identity and simple actions. */
body.viewer-hdr #settings{position:relative;padding:30px}
.profile-portrait{width:104px;height:104px;margin:0 auto 25px;border:2px solid var(--gold-line);border-radius:50%;background:var(--raised);display:grid;place-items:center;box-shadow:0 0 28px var(--gold-glow);overflow:hidden}
.profile-portrait img{width:100%;height:100%;object-fit:cover;grid-area:1/1}.profile-portrait span{grid-area:1/1;font-size:36px;font-weight:800;color:var(--gold-text)}.profile-portrait:has(img:not([hidden])) span{display:none}
body.viewer-hdr .profile-wallet{border-color:var(--edge);background:var(--raised-2);padding:20px;margin:24px 0}
.profile-wallet h3{font-size:15px;color:var(--text)}.profile-wallet .help{margin:8px 0 14px;color:var(--text-muted)}.profile-wallet a{color:var(--gold-text);font-size:13px;font-weight:700}.wallet-linked-state{color:var(--gold-text);font-size:13px;font-weight:650;margin:0 0 18px}.profile-wallet-identity{padding:12px 14px;background:var(--sunken);border:1px solid var(--edge);border-radius:9px}.profile-wallet-identity span{color:var(--text-muted)}.profile-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;margin-top:24px}.profile-actions button{margin-top:0}#profile-status:empty{display:none}
@media(max-width:550px){body.viewer-hdr #settings{padding:22px}.profile-portrait{width:88px;height:88px}}
#settings{scroll-margin-top:110px}

.wallet-provider-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch}.wallet-provider-grid>.card{margin-bottom:0}.wallet-provider-grid h2{font-size:25px}.wallet-provider-grid .help{line-height:1.8}@media(max-width:850px){.wallet-provider-grid{grid-template-columns:1fr}}

.rewards-panel{min-height:220px;display:flex;flex-direction:column}.rewards-panel #status:empty{display:none}.rewards-panel #rewards{flex:1}.rewards-panel #rewards>p:only-child{padding:28px 0;color:var(--text-muted)}.rewards-panel-actions{display:flex;justify-content:flex-end;margin-top:22px}.rewards-panel-actions button{margin:0}.claimed-reward{padding:22px;margin-bottom:16px;background:var(--surface);border:1px solid var(--edge);border-radius:10px;scroll-margin-top:110px}.claimed-reward h2{font-size:22px;margin:0 0 14px}.claimed-reward h3{color:var(--gold-text);font-size:14px;margin:0 0 10px}.claimed-reward a,.claimed-reward summary,.rewards-panel #rewards>a{color:var(--gold-text)}.claimed-reward .help{overflow-wrap:anywhere}.claimed-reward details{margin-top:20px}

.community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.community-grid .card{margin:0}.community-grid h2{font-size:19px}.poll-choice{display:block;width:100%;text-align:left;margin:8px 0!important;background:var(--raised)!important;color:var(--text)!important;border:1px solid var(--edge-strong)!important}.poll-choice[disabled]{opacity:.85;cursor:default}.poll-result{height:5px;background:var(--gold);border-radius:4px;margin:5px 0 13px}.community-facts{white-space:pre-line;line-height:1.8}.community-toolbar{display:flex;gap:12px;align-items:center;margin:20px 0}.community-toolbar button{margin:0;white-space:nowrap}@media(max-width:1000px){.community-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.community-grid{grid-template-columns:1fr}}

.review-rail{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 0 16px;scrollbar-color:var(--gold-line) var(--surface)}.review-tile{flex:0 0 225px;scroll-snap-align:start;min-height:145px;padding:20px;border:1px solid var(--edge);border-radius:10px;background:var(--surface)}.review-tile:hover{border-color:var(--gold)}.review-tile h3{margin:14px 0;font-size:17px}.review-shelf h2{margin-top:0}.community-toolbar[hidden]{display:none}

.review-art{position:relative;aspect-ratio:4/3;margin:-20px -20px 18px;background:var(--sunken);overflow:hidden;border-radius:10px 10px 0 0}.review-art img{width:100%;height:100%;object-fit:cover;display:block}.review-art img.review-art-fallback{object-fit:contain;padding:25px}.review-score{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--score-colour,var(--raised));border:2px solid #ffffffaa;color:#fff;font-size:14px;font-weight:800;text-shadow:0 1px 3px #000;box-shadow:0 3px 12px #0007}.review-score.unrated{font-size:10px;text-align:center;padding:4px;border-color:var(--edge-strong)}.review-game-card{padding:20px!important;overflow:hidden}.review-tile{overflow:hidden}.review-tile .review-art{margin-bottom:18px}

.community-grid[hidden],#review-shelves[hidden]{display:none!important}.review-comments{border-top:1px solid var(--edge);margin-top:30px;padding-top:20px}.review-comments article{padding:18px 0;border-bottom:1px solid var(--line)}.review-comments textarea{width:100%;resize:vertical;background:var(--sunken);color:var(--text);border:1px solid var(--edge-strong);border-radius:8px;padding:12px;font:inherit}.review-comments form{margin-top:24px}

/* Full uncropped artwork with a compact product-style caption. */
.review-tile,.review-game-card{padding:0!important;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--surface)}
.review-tile{flex-basis:220px}.review-tile .review-art,.review-game-card .review-art{margin:0 0 16px;aspect-ratio:3/4;width:100%;border-radius:9px 9px 0 0;background:var(--sunken)}
.review-art img{object-fit:contain}.review-tile>.eyebrow,.review-game-card>.eyebrow{margin:0 16px 10px;font-size:10px}.review-tile>h3,.review-game-card>h2{margin:0 16px 14px;font-size:17px;line-height:1.35}.review-tile>.help{margin:0 16px 12px}
.review-cta{display:block;margin:auto 16px 16px;padding:10px 12px;text-align:center;border-radius:6px;background:var(--gold-metal,var(--gold));color:var(--on-gold);font-size:12px;font-weight:750}.review-tile:hover .review-cta,.review-game-card:hover .review-cta{background:var(--gold-metal-hover,var(--gold-strong))}
#review-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;margin-top:22px}#review-list .review-art{aspect-ratio:3/4;max-height:340px}#review-list .review-art img{object-fit:contain}#review-search{margin-bottom:20px}@media(min-width:1600px){#review-list{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:550px){#review-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#review-list .review-art{max-height:none}.review-game-card>h2{font-size:14px}.review-game-card>.eyebrow{font-size:9px}}

.viewing-review main>.intro{display:none}.review-page{margin-top:24px}.review-hero{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:32px;padding:26px!important;align-items:start}.review-hero .review-art{margin:0;aspect-ratio:3/4;border-radius:10px;max-height:360px}.review-hero-summary h1,.review-hero-summary h2{font-size:clamp(28px,3.5vw,44px);margin:12px 0 24px;line-height:1.12;letter-spacing:-.03em;font-weight:750}.review-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.review-fact-grid>div{padding:14px;border:1px solid var(--edge);border-radius:8px;background:var(--sunken)}.review-fact-grid dt{color:var(--text-muted);font-size:11px;margin-bottom:7px}.review-fact-grid dd{margin:0;color:var(--text);font-weight:700;font-size:14px;line-height:1.4}.review-bonus-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.review-bonus-chips span{font-size:11px;color:var(--gold-text);border:1px solid var(--edge-strong);background:var(--raised);border-radius:20px;padding:7px 11px}.review-editorial{padding:28px!important}.review-editorial h2{font-size:25px;margin:0 0 18px}.review-editorial h2:not(:first-child){margin-top:30px}.review-editorial .community-facts{font-size:15px;line-height:1.9;color:var(--text-soft);max-width:960px}.review-sources{margin-top:26px;border-top:1px solid var(--edge);padding-top:18px}.review-sources summary{color:var(--gold-text);cursor:pointer}.review-sources a{display:block;font-size:12px;color:var(--gold-text);margin-top:12px}.review-rating-panel a{color:var(--gold-text)}.review-rating-panel h2{font-size:24px}.review-overall-score{font-weight:700;color:var(--gold-text)}.review-rating-panel form{max-width:340px}.review-page .review-comments{margin:0;padding:0;border:0}.review-page .card{margin-bottom:22px}
@media(max-width:950px){.review-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-hero{grid-template-columns:200px minmax(0,1fr);gap:22px}}@media(max-width:650px){.review-hero{grid-template-columns:1fr;padding:20px!important}.review-hero .review-art{max-width:240px;justify-self:center;width:100%}.review-hero-summary h1,.review-hero-summary h2{text-align:center}.review-hero-summary>.eyebrow{text-align:center}.review-fact-grid dd{font-size:13px}}

.review-demo-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 22px;margin:0 0 20px;border:1px solid var(--gold);border-radius:9px;background:var(--gold-metal,var(--gold));color:var(--on-gold)!important;font:inherit;font-weight:800;text-decoration:none;transition:background .15s,box-shadow .15s}.review-demo-button:hover{background:var(--gold-metal-hover,var(--gold-strong));box-shadow:0 0 18px var(--gold-glow)}.review-demo-button:focus-visible{outline:3px solid var(--focus);outline-offset:4px}


.comment-with-avatar{display:flex;align-items:flex-start;gap:12px}.comment-avatar{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;overflow:hidden;border-radius:50%;background:var(--raised);color:var(--gold-text);font-weight:800;font-size:12px}.comment-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.comment-avatar img[hidden]{display:none}.comment-content{flex:1;min-width:0}.comment-content strong{display:block}.comment-actions{display:flex;gap:8px;margin-top:8px}.comment-actions button,.comment-delete-confirm button{font-size:11px!important;padding:6px 10px!important;margin:0!important}.comment-delete-confirm{margin-top:12px}.comment-delete-confirm button+button{margin-left:8px!important}.comment-content textarea{width:100%;box-sizing:border-box;background:var(--sunken);color:var(--text);border:1px solid var(--edge-strong);border-radius:8px;padding:10px;margin:12px 0}.comment-content form button{margin-right:8px}.announcement-post .delete-post{float:right;font-size:11px;background:transparent;color:var(--danger-text);border-color:var(--edge-strong)}.post-delete-confirm{clear:both;padding:16px;margin-top:15px;border:1px solid var(--edge-strong);border-radius:9px}.post-delete-confirm button+button{margin-left:8px}

/* COMMENT REPLIES (Aaron, 9 Nov 2026): replies sit indented under the comment they answer with a thin gold line on the left (slot reviews and
   announcements). One level only. The Reply form opens under the comment. Phones indent less so replies still have room. */
.comment-reply{margin-left:44px;padding-left:12px;border-left:2px solid var(--gold-line,#77612c)}
@media(max-width:480px){.comment-reply{margin-left:16px;padding-left:10px}}
.comment-reply-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}.comment-reply-form textarea{flex:1 1 100%;width:100%;box-sizing:border-box;font:inherit}
.comment-reply-form button{flex:0 0 auto;width:auto!important;min-height:44px;margin:0!important;padding:0 18px!important}
.comment-reply-form button[type=button]{background:transparent!important;color:var(--gold-text)!important;border:1px solid var(--gold-line)!important;box-shadow:none!important}
.comment-reply-form p{flex:1 1 100%;margin:0}
/* REQUEST ID (9 Nov 2026): the ID photo card on My Prizes. The file input hides behind a 44px gold button. */
.id-check-card{margin:16px 0;display:grid;gap:12px}.id-check-card h3{margin:0 0 4px}
.id-check-pick{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer}.id-check-pick input{position:absolute;inset:0;opacity:0;cursor:pointer}
.id-check-done{color:var(--gold-text,#e7c25a);font-weight:700}
/* Stage NAV REWORK + NAV ADDENDUM A: one viewer menu (viewer-balance.js). Over 768px: Home, Live, Play, Rewards, Slot Tools and a ? across
   the top bar, each (but Home) with a dropdown, and the footer. 768px and under: a fixed top bar (logo, centred Bucks pill, Sign in or the
   avatar) and a thin gold-on-charcoal bottom strip with six tabs whose buttons lift up bottom sheets (the strip replaces the footer). Gold on
   charcoal only; the current page is gold. Admin pages don't load these elements. Stage UX13: every colour is a shared token (tokens.css),
   so the light theme switches the menu too. */
/* bucks.css gives every nav a 28px margin and wrapping, and every span in a header link small grey text: not in this menu. */
.viewer-topnav,.viewer-tabs,.viewer-sheet-links,.viewer-footer nav{margin:0;flex-wrap:nowrap}
.viewer-header a span{margin-top:0}.viewer-header a span:not([class]){font-size:inherit;color:inherit}
.viewer-topnav{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}
.viewer-topnav .viewer-nav-link,.viewer-topnav .viewer-nav-button{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0;padding:0 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--text);font:700 14px/1 Montserrat,Arial,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .18s ease,background-color .18s ease,color .18s ease}
.viewer-topnav .viewer-nav-button svg{flex-shrink:0;transition:transform .2s ease}
.viewer-topnav .viewer-nav-link:hover,.viewer-topnav .viewer-nav-button:hover,.viewer-nav-item.open>.viewer-nav-button{background:var(--raised);color:var(--gold-text)}
.viewer-topnav>.viewer-nav-link[aria-current=page],.viewer-topnav .viewer-nav-button.is-current{color:var(--gold-text);box-shadow:inset 0 -2px var(--gold-strong)}
.viewer-nav-item.open>.viewer-nav-button svg{transform:rotate(180deg)}
.viewer-topnav .viewer-nav-link:active,.viewer-topnav .viewer-nav-button:active{transform:scale(.96)}
.viewer-nav-item{position:relative}
.viewer-nav-help{margin-left:6px}
.viewer-nav-help .viewer-nav-button{justify-content:center;width:44px;padding:0;border-color:var(--edge);border-radius:50%;color:var(--gold-text)}
.viewer-help-mark{font:900 17px/1 Montserrat,Arial,sans-serif}
/* Dropdowns fade and slide in; hidden ones can't be reached by Tab or a screen reader (visibility). */
.viewer-dropdown{position:absolute;left:0;top:calc(100% + 8px);z-index:45;min-width:230px;display:flex;flex-direction:column;gap:2px;padding:8px;background:var(--raised-2);border:1px solid var(--edge);border-radius:12px;box-shadow:var(--shadow);visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}
.viewer-dropdown::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.viewer-nav-item.open>.viewer-dropdown{visibility:visible;opacity:1;transform:none;transition:opacity .18s ease,transform .18s ease}
.viewer-nav-help .viewer-dropdown{left:auto;right:0}
.viewer-dropdown a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 12px;border-radius:8px;color:var(--text);font:600 14px Montserrat,Arial,sans-serif;text-decoration:none;white-space:nowrap;transition:background-color .15s ease,color .15s ease}
.viewer-dropdown a:hover{background:var(--gold-hover);color:var(--gold-text)}
.viewer-dropdown a[aria-current=page]{background:var(--raised);color:var(--gold-text);box-shadow:inset 3px 0 var(--gold-strong)}
/* Stage UX13: the avatar menu (My Account, the dashboards for those roles, Settings, Sign Out). The same solid dropdown, opened under the
   avatar against the right edge; on phones it hangs from the fixed top bar and never runs off a 360px screen. Every item is 44px. */
.header-account .viewer-profile-menu{left:auto;right:0;z-index:60;min-width:220px;max-width:calc(100vw - 24px);box-sizing:border-box}
.header-account.account-open>.viewer-profile-menu{visibility:visible;opacity:1;transform:none;transition:opacity .18s ease,transform .18s ease}
.viewer-profile-menu a,.viewer-profile-menu button{display:flex;align-items:center;width:100%;min-height:44px;margin:0;padding:0 12px;box-sizing:border-box;border:0;border-radius:8px;background:transparent;color:var(--text);font:600 14px Montserrat,Arial,sans-serif;text-align:left;text-decoration:none;cursor:pointer;transition:background-color .15s ease,color .15s ease}
.viewer-profile-menu a:hover,.viewer-profile-menu button:hover{background:var(--gold-hover);color:var(--gold-text)}
.viewer-profile-menu [data-item=signout]{margin-top:4px;border-top:1px solid var(--edge);border-radius:0 0 8px 8px;color:var(--text-muted)}
.viewer-profile-menu a:focus-visible,.viewer-profile-menu button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
@media(max-width:768px){.header-account .viewer-profile-menu{top:calc(100% + 4px);right:12px;min-width:min(240px,calc(100vw - 24px))}}
@media(prefers-reduced-motion:reduce){.header-account.account-open>.viewer-profile-menu,.viewer-profile-menu a,.viewer-profile-menu button{transition:none;transform:none}}
.viewer-topnav a:focus-visible,.viewer-topnav button:focus-visible,.viewer-header .header-account a:focus-visible,.viewer-header .header-account button:focus-visible,.viewer-tabs>:focus-visible,.viewer-sheet a:focus-visible,.viewer-sheet button:focus-visible,.viewer-footer a:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* Top right: the light/dark toggle (Stage UX13), then the Bucks pill (B coin, opens the wallet) beside the avatar (opens the account menu), or Sign in. */
.viewer-header .header-account{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.viewer-header .viewer-balance{min-height:44px;box-sizing:border-box;transition:transform .18s ease}
.viewer-header .viewer-balance:active{transform:scale(.96)}
.viewer-header .viewer-balance>.viewer-coin{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;background:var(--on-gold);color:var(--coin);font:900 13px/1 Montserrat,Arial,sans-serif}
body.viewer-hdr .viewer-header .header-account>.viewer-signin,body.viewer-hdr .viewer-header .header-account #viewer-profile{color:var(--gold-text);border-color:var(--gold-line);background:var(--raised-2)}
body.viewer-hdr .viewer-header .header-account>.viewer-signin{display:inline-flex;align-items:center;flex-shrink:0;min-height:44px;box-sizing:border-box;white-space:nowrap;transition:transform .18s ease}
body.viewer-hdr .viewer-header .header-account>.viewer-signin:active{transform:scale(.96)}
body.viewer-hdr .viewer-header .header-account #viewer-profile{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--raised-2);color:var(--gold-text);font:800 15px/1 Montserrat,Arial,sans-serif;text-decoration:none;transition:transform .18s ease}
body.viewer-hdr .viewer-header .header-account #viewer-profile:active{transform:scale(.94)}
.viewer-header .viewer-balance{flex-shrink:0;min-width:0;max-width:100%}.viewer-header .viewer-balance strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Medium screens: a smaller logo and tighter buttons so the whole menu fits on one line. */
@media(min-width:769px) and (max-width:1100px){.viewer-header{gap:10px;padding-inline:16px}.viewer-header .brand-logo{width:80px;height:58px}.viewer-header .brand-logo img{width:165px;left:-39px;top:-26px}.viewer-topnav{gap:2px}.viewer-topnav .viewer-nav-link,.viewer-topnav .viewer-nav-button{padding:0 9px;font-size:13px}.viewer-topnav .viewer-nav-button svg{display:none}}
/* Footer (every viewer page): Terms, Privacy, About me and Play safe. */
.viewer-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 16px;margin:32px 0 0;padding:10px 16px;border-top:1px solid var(--edge);background:var(--header);color:var(--faint);font:500 12px/1.4 Montserrat,Arial,sans-serif;text-align:center}
/* FOOTER AT THE BOTTOM (Aaron, 27 Oct): on a computer the footer (Terms, Privacy, About Me, Play Safe (18+), the copyright) sits at the bottom
   of the screen on every viewer page. The page is a column at least one screen tall (100dvh, 100vh where dvh is not known) and the footer
   takes the spare space above it, so on a short page like /play it rests on the bottom edge and on a long page it follows the content as
   before. Nothing is fixed in place, the page background runs on unbroken, and main keeps its top margin at 0 (some pages set margin:auto,
   which a column would turn into vertical centring) with the old 32px gap above the footer. Phones are untouched: the footer is hidden there
   and the tab bar keeps its own space. */
@media(min-width:769px){body.vf-on{display:flex;flex-direction:column;box-sizing:border-box;min-height:100vh;min-height:100dvh}
 body.vf-on>*{flex-shrink:0}
 body.vf-on>main{margin-top:0;margin-bottom:32px}
 body.vf-on>.viewer-footer{margin-top:auto}}
.viewer-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 4px}
.viewer-footer a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:var(--text);text-decoration:none}
.viewer-footer a:hover{color:var(--gold-text)}
.viewer-footer p{margin:0}
/* Phone bottom strip (hidden on a desktop) and the bottom sheet with its scrim. */
.viewer-tabs{display:none}
.viewer-scrim{position:fixed;inset:0;z-index:70;background:var(--scrim);cursor:pointer;animation:viewer-fade-in .2s ease-out;transition:opacity .2s ease}
.viewer-scrim.closing{opacity:0}
.viewer-sheet{position:fixed;left:0;right:0;bottom:0;z-index:71;max-height:min(82vh,600px);box-sizing:border-box;display:flex;flex-direction:column;margin:0;padding:6px 14px calc(16px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,var(--raised-2),var(--surface) 120px);border-top:1px solid var(--gold-line);border-radius:18px 18px 0 0;box-shadow:var(--shadow);overflow-y:auto;overscroll-behavior:contain;animation:viewer-sheet-up .24s cubic-bezier(.2,.8,.2,1);transition:transform .2s ease}
.viewer-sheet.dragging{transition:none}
.viewer-sheet.closing{transform:translateY(100%)}
.viewer-sheet[hidden],.viewer-scrim[hidden],.viewer-sheet [hidden]{display:none!important}
.viewer-sheet-grip{flex-shrink:0;width:44px;height:5px;margin:4px auto 8px;border-radius:3px;background:var(--edge-strong)}
.viewer-sheet-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:0 0 10px 4px;border-bottom:1px solid var(--edge)}
.viewer-sheet-top h2{margin:0;color:var(--gold-text);font:800 17px Montserrat,Arial,sans-serif}
#viewer-sheet-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid var(--edge);border-radius:12px;background:var(--raised-2);color:var(--gold-text);cursor:pointer;transition:transform .18s ease}
#viewer-sheet-close:active{transform:scale(.94)}
.viewer-sheet-links{display:flex;flex-direction:column;gap:6px;padding-top:10px}
.viewer-sheet-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:0 16px;border-radius:12px;background:var(--raised-2);color:var(--text);font:700 16px Montserrat,Arial,sans-serif;text-decoration:none;transition:transform .15s ease,background-color .15s ease}
.viewer-sheet-links a:hover{background:var(--raised);color:var(--gold-text)}
.viewer-sheet-links a[aria-current=page]{background:var(--gold-hover);color:var(--gold-text);box-shadow:inset 3px 0 var(--gold-strong)}
.viewer-sheet-links a:active{transform:scale(.98)}
/* The sheet's links rise in one after another as it lifts up. */
.viewer-sheet-links a{animation:viewer-link-in .22s ease-out backwards}.viewer-sheet-links a:nth-child(2){animation-delay:.03s}.viewer-sheet-links a:nth-child(3){animation-delay:.06s}.viewer-sheet-links a:nth-child(4){animation-delay:.09s}.viewer-sheet-links a:nth-child(n+5){animation-delay:.12s}
html.viewer-sheet-open,html.viewer-sheet-open body{overflow:hidden}
@keyframes viewer-sheet-up{from{transform:translateY(100%)}}
@keyframes viewer-fade-in{from{opacity:0}}
@keyframes viewer-link-in{from{opacity:0;transform:translateY(8px)}}
/* 768px and under: the top bar is fixed (pages start below it): small logo left, the Bucks pill in the middle (signed in), the light/dark
   toggle and Sign in or the avatar right, no ?. The thin bottom strip is fixed (pages end above it, clear of the iPhone home bar) with six equal
   tabs; it replaces the footer (Terms, Privacy, About me and Play safe are in the ? sheet). One full-width column. All of it fits a 360px screen. */
@media(max-width:768px){
 .viewer-header .viewer-topnav{display:none}
 .viewer-header{position:fixed;left:0;right:0;top:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;min-height:60px;padding:calc(6px + env(safe-area-inset-top,0px)) 12px 6px}
 .viewer-header .header-brand{justify-self:start}
 .viewer-header .header-account{display:contents}
 .viewer-header .viewer-balance{grid-column:2;grid-row:1;justify-self:center}
 body.viewer-hdr .viewer-header .header-account>.viewer-signin,body.viewer-hdr .viewer-header .header-account #viewer-profile{grid-column:3;grid-row:1;justify-self:end}
 /* Stage UX13: the toggle shares the right-hand cell, just left of Sign in (a fixed 84px) or the avatar (44px). */
 body.viewer-hdr .viewer-header .header-account>.viewer-signin{width:84px;justify-content:center;padding:0 8px}
 .viewer-header .header-account>.theme-toggle{grid-column:3;grid-row:1;justify-self:end;margin-right:52px}
 .viewer-header:has(#viewer-login:not([hidden])) .header-account>.theme-toggle{margin-right:92px}
 body.viewer-hdr{padding-top:var(--viewer-header-h,64px);padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
 body.viewer-hdr main{width:100%;max-width:100%;margin-left:0;margin-right:0}
 .viewer-tabs{position:fixed;z-index:39;left:0;right:0;bottom:0;display:flex;gap:0;margin:0;padding:4px 4px calc(4px + env(safe-area-inset-bottom,0px));background:var(--header);border-top:1px solid var(--gold-line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
 .viewer-tabs::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--gold-strong) 22%,var(--gold-soft) 50%,var(--gold-strong) 78%,transparent);opacity:.8;pointer-events:none}
 .viewer-tabs>a,.viewer-tabs>button{flex:1 1 0;min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;margin:0;padding:4px 1px;border:0;border-radius:12px;background:transparent;color:var(--faint);font:700 10.5px/1.15 Montserrat,Arial,sans-serif;letter-spacing:.01em;text-align:center;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .18s ease,background-color .18s ease,color .18s ease}
 .viewer-tabs>* svg{flex-shrink:0;transition:transform .18s ease}
 .viewer-tabs>* span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 /* Audit 2 A11Y-6: with wider text spacing (WCAG 1.4.12, e.g. a reading-aid extension) "Rewards" was cut to "Rewa…". The six labels all
    fit at normal spacing, so they are no longer clipped: a wider word now shows in full (it may touch the next tab's padding); the
    strip itself never gets wider (the width and no-wrap above are unchanged). */
 .viewer-tabs>* span{overflow:visible;text-overflow:clip}
 .viewer-tabs>a:not([aria-current]),.viewer-tabs>button:not([aria-current]):not([aria-expanded=true]){color:var(--faint)}
 .viewer-tabs>[aria-current]{color:var(--gold-text)}
 .viewer-tabs>[aria-current]::after{content:"";position:absolute;top:-4px;left:50%;width:24px;height:3px;margin-left:-12px;border-radius:0 0 3px 3px;background:var(--gold-strong);box-shadow:0 0 10px var(--gold-glow)}
 .viewer-tabs>[aria-current] svg{filter:drop-shadow(0 0 6px var(--gold-glow))}
 .viewer-tabs>[aria-expanded=true]{background:var(--gold-hover);color:var(--gold-text)}
 .viewer-tabs>[aria-expanded=true] svg{transform:translateY(-2px)}
 .viewer-tabs>:active{transform:scale(.94)}
 .viewer-footer{display:none}
 body.viewer-hdr .reward-toasts{bottom:calc(72px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:400px){.viewer-header{padding-inline:10px;gap:6px}.viewer-header .viewer-balance{padding:6px 8px}}
/* Stage UX14: signed out, the pill reads "Sign In" (B coin, signs in) in the pill's place, and stands in for the plain
   Sign in link while it shows (it is the same link). The "i" beside the pill opens the Buddha Bucks explainer. 44px taps; on phones the
   pill wraps to two short lines in the middle of the top bar and the "i" sits just left of it. The "i" is hidden under 420px and from
   769-959px, where the bar has no room for it (How Bucks Work is still in the Rewards menu and sheet). Headings on every viewer page wrap instead of running off the edge. */
body.viewer-hdr main :is(h1,h2){overflow-wrap:break-word}
.viewer-header:has(#viewer-earn:not([hidden])) #viewer-login{display:none}
.viewer-header .viewer-earn strong{font-size:13px;line-height:1.15;white-space:normal;text-wrap:balance}
.viewer-header .viewer-bucks-help{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;box-sizing:border-box;border-radius:50%;color:var(--gold-text);text-decoration:none;transition:transform .18s ease}
.viewer-header .viewer-bucks-help>span{display:grid;place-items:center;width:24px;height:24px;border:1.5px solid var(--gold-line);border-radius:50%;background:var(--raised-2);font:italic 800 14px/1 Georgia,serif}
.viewer-header .viewer-bucks-help:hover>span{border-color:var(--gold);background:var(--gold-hover)}
.viewer-header .viewer-bucks-help:active{transform:scale(.92)}
@media(max-width:768px){
 .viewer-header .viewer-earn{max-width:150px;padding:4px 10px}
 .viewer-header .viewer-earn strong{font-size:12px}
 .viewer-header:has(#viewer-earn:not([hidden])) .header-account>.theme-toggle{margin-right:0}
 .viewer-header .viewer-bucks-help{grid-column:1;grid-row:1;justify-self:end}
}
@media(min-width:769px) and (max-width:1100px){.viewer-header .viewer-earn{max-width:140px;padding:6px 12px}.viewer-header .viewer-earn strong{font-size:12px}}
@media(max-width:419px),(min-width:769px) and (max-width:959px){.viewer-header .viewer-bucks-help{display:none}}
@media(prefers-reduced-motion:reduce){.viewer-header .viewer-bucks-help{transition:none}.viewer-header .viewer-bucks-help:active{transform:none}}
@media(prefers-reduced-motion:reduce){.viewer-dropdown,.viewer-nav-item.open>.viewer-dropdown{transition:none;transform:none}.viewer-sheet,.viewer-scrim{animation:none;transition:none}.viewer-sheet.closing{transform:none}.viewer-sheet-links a{animation:none}.viewer-topnav .viewer-nav-link,.viewer-topnav .viewer-nav-button,.viewer-topnav .viewer-nav-button svg,.viewer-dropdown a,.viewer-tabs>*,.viewer-tabs>* svg,.viewer-sheet-links a,#viewer-sheet-close,.viewer-header .viewer-balance,body.viewer-hdr .viewer-header .header-account #viewer-profile,body.viewer-hdr .viewer-header .header-account>.viewer-signin{transition:none}.viewer-topnav :active,.viewer-tabs>:active,.viewer-tabs>[aria-expanded=true] svg,.viewer-sheet-links a:active,#viewer-sheet-close:active,.viewer-header .viewer-balance:active,body.viewer-hdr .viewer-header .header-account #viewer-profile:active,body.viewer-hdr .viewer-header .header-account>.viewer-signin:active{transform:none}}
/* PROFILE PAGE stage. The Bucks pill: while the balance loads (or can't be loaded) the amount is a quiet token-grey bar, never a dash; with no
   Kick or Facebook account linked it reads "Link Wallet" and opens Settings > Linked Accounts. The avatar wears the picture border the viewer
   chose on My Profile (same tokens as viewer-avatar.css). */
.viewer-header #viewer-balance-amount.pending{display:inline-block;width:3ch;height:.9em;border-radius:4px;background:var(--line);vertical-align:middle}
/* R2B #8 (2 Nov 2026): unlinked now shows 0 (0 BB) at the normal size, so the old smaller "Link Wallet" text size is gone. */
body.viewer-hdr .viewer-header .header-account #viewer-profile[data-frame]{border-color:transparent;box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--frame-colour,var(--gold))}
#viewer-profile[data-frame="frame-bronze"]{--frame-colour:var(--warning-text)}#viewer-profile[data-frame="frame-silver"]{--frame-colour:var(--text-soft)}#viewer-profile[data-frame="frame-gold"],#viewer-profile[data-frame="frame-crown"]{--frame-colour:var(--gold-strong)}#viewer-profile[data-frame="frame-legend"],#viewer-profile[data-frame="frame-double"]{--frame-colour:var(--gold)}#viewer-profile[data-frame="frame-marble"]{--frame-colour:var(--text)}
/* LIVE DOT stage: the small pulsing red dot beside Live (top menu, phone tab), Live Stream (its dropdown and phone sheet) and Watch On Kick
   (Live page), shown only while TheBuddhaX is live on Kick (viewer-balance.js). Red is for LIVE only. Reduced motion: no pulse. */
.viewer-live-dot{position:relative;display:inline-block;flex:0 0 auto;width:9px;height:9px;max-width:none;border-radius:50%;background:var(--live,#e5484d);box-shadow:0 0 0 0 rgba(229,72,77,.55);vertical-align:middle;animation:viewer-live-dot-pulse 1.8s ease-out infinite}
.viewer-live-dot[hidden]{display:none}
@keyframes viewer-live-dot-pulse{0%{box-shadow:0 0 0 0 rgba(229,72,77,.55)}70%{box-shadow:0 0 0 7px rgba(229,72,77,0)}100%{box-shadow:0 0 0 0 rgba(229,72,77,0)}}
.viewer-dropdown a>.viewer-live-dot,.viewer-sheet-links a>.viewer-live-dot{margin-right:auto}
.viewer-tabs>*>.viewer-live-dot{position:absolute;top:6px;left:calc(50% + 6px);width:8px;height:8px;border:2px solid var(--header);box-sizing:content-box}
.live-kick-link>.viewer-live-dot{margin:0 7px 0 0;vertical-align:-1px}
@media(prefers-reduced-motion:reduce){.viewer-live-dot{animation:none;box-shadow:0 0 0 2px rgba(229,72,77,.3)}}
/* LIVE PILL stage (Aaron, 27 Oct): Live pills read "Live" after the pulsing red dot: Home's On Kick badge (red text and edge already) and
   the Live page's status pill, which was solid red (a red dot would vanish on it), so live it takes the same red-edge look as Home's. */
.home-live-badge>.viewer-live-dot{margin-right:7px}
.live-chip[data-live=true]:has(>.viewer-live-dot){gap:6px;border-color:var(--live);background:var(--raised);color:var(--live);letter-spacing:.02em}

/* INFO CARDS (Aaron, 30 Oct 2026: "these boxes look yuck ... make them fit the style"): one premium look for the viewer site's info cards,
   in the same family as the Now Playing overlay: a gold hairline edge, a gold bar along the top, a white inset line and soft depth, on
   white marble (light) or black marble (dark). Used by Home (Who Am I?, What Is TheBuddha.LIVE?, the stream status, Latest News, the
   daily Buddha Bucks card, How To Earn Buddha Bucks), How Buddha Bucks Work, About Me and every viewer .card. Gold and ink only: no blue,
   cyan or purple. The tokens (--ic-marble, --ic-ring, --ic-radius, --ic-bar, --ic-bg) live in tokens.css. .ic-button is the 44px gold button (scoped to viewer pages, like the menu styles above) for a link inside a card (About Me's Watch On Kick). */
body.viewer-hdr .ic-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;padding:10px 20px;border:1px solid var(--gold-strong);border-radius:12px;background:var(--gold-metal,linear-gradient(120deg,var(--gold-strong),var(--gold)));color:var(--on-gold);font-size:14px;font-weight:800;line-height:1.2;text-align:center;text-decoration:none;transition:transform var(--dur-press,150ms) ease,filter var(--dur,200ms) ease}
body.viewer-hdr .ic-button:hover{filter:brightness(1.08)}
body.viewer-hdr .ic-button:active{transform:scale(.96)}
body.viewer-hdr .ic-button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
body.viewer-hdr .card>.ic-button{margin-top:10px}
@media(max-width:560px){body.viewer-hdr .card>.ic-button{width:100%}}
@media(prefers-reduced-motion:reduce){body.viewer-hdr .ic-button{transition:none}body.viewer-hdr .ic-button:active{transform:none}}

/* DESKTOP WIDTH (stage W). At 1280px and up every viewer page uses the same frame as Home (up to 1440px, 48px sides), and pages that were one
   long column of cards share the width in balanced columns with a readable line length. Phones and tablets are unchanged. Not applied to
   How Buddha Bucks Work (layout kept as is), Who Am I? (its own story layout), the live player or the slot selector (already full width). */
@media(min-width:1280px){
 body.viewer-hdr:not(.wai-page):not(.live-page):not(.selector-page):not(.vh-how) main{max-width:1440px;padding-left:48px;padding-right:48px}
 /* Stacks of cards (Terms, Privacy, 18+ And Playing Safe, Rewards, Settings): two balanced columns, the intro and any status line full width. */
 body.viewer-hdr:not(.vh-how) main:has(>section.card+section.card){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-content:start}
 body.viewer-hdr:not(.vh-how) main:has(>section.card+section.card)>:not(section.card){grid-column:1/-1}
 body.viewer-hdr:not(.vh-how) main:has(>section.card+section.card)>section.intro{justify-self:center}
 body.viewer-hdr:not(.vh-how) main:has(>section.card+section.card)>section.card{margin:0;min-width:0}
 body.viewer-hdr:not(.vh-how) main:has(>section.card+section.card)>section.card p{max-width:72ch}
 /* Schedule: the calendar and the event list side by side, each in the gold card look. */
 body[data-section=schedule] main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:24px;align-items:start}
 body[data-section=schedule] main>:not(.updates-panel){grid-column:1/-1}
 body[data-section=schedule] main>.updates-panel{margin:0 0 24px}
 /* Become A Clipper: steps and rules in two columns with a readable measure. */
 .clippers-page .clip-steps,.clippers-page .clip-rules{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:44px}
 .clippers-page .clip-steps li,.clippers-page .clip-rules li{max-width:72ch}
}
@media(min-width:1800px){
 body.viewer-hdr:not(.vh-how) main:has(>section.card+section.card):has(>section.card+section.card+section.card+section.card+section.card){grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Gold On Marble for the schedule and announcement panels, matching the On Kick card (both themes follow the --ic-* tokens). */
body.viewer-hdr .updates-panel{border-color:var(--gold-line);border-radius:var(--ic-radius,18px);background:var(--ic-bg,var(--surface));box-shadow:var(--ic-ring,none)}
/* Light theme: page eyebrows in the darker gold text so they pass AA on light marble (was about 2.3:1). */
[data-theme="light"] body.viewer-hdr:not(.wai-page) .eyebrow{color:var(--gold-text)}
/* REPORT A BUG (1 Nov 2026, Aaron's pick: Option 2 + Phone A). Computers: a dark pill with a hairline gold border and a metallic gold bug coin,
   just left of the light/dark switch. Phones (768px and under): no header button; the top row of the Help sheet instead (viewer-balance.js).
   The form itself is report-bug.css. Lives here (not in report-bug.css) so the pill is styled the moment the header is drawn. */
:root{--rb-metal:linear-gradient(180deg,#f7e08f 0%,#ecc650 30%,#d4a843 52%,#b8892a 74%,#e3b947 100%);--rb-metal-ring:inset 0 1px 0 #fff6d0cc,inset 0 -1px 0 #6b4e1499,0 2px 14px var(--gold-glow)}
.viewer-header .rb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;height:44px;box-sizing:border-box;margin:0;cursor:pointer;font:800 13px/1 Montserrat,Arial,sans-serif;letter-spacing:.01em;white-space:nowrap;text-decoration:none;flex-shrink:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.viewer-header .rb-pill{padding:0 16px 0 8px;border:1px solid var(--gold-line);border-radius:999px;background:linear-gradient(180deg,var(--raised),var(--sunken));color:var(--gold-text)}
.viewer-header .rb-pill:hover{border-color:var(--gold);box-shadow:0 2px 14px var(--gold-glow)}
.viewer-header .rb-pill:active{transform:scale(.96)}
.viewer-header .rb-ico-wrap,.viewer-sheet-links .rb-ico-wrap{display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--rb-metal);color:#16130c;box-shadow:inset 0 1px 0 #fff6d0aa,inset 0 -1px 0 #6b4e1466}
.viewer-header .rb-ico-wrap svg,.viewer-sheet-links .rb-ico-wrap svg{display:block}
.viewer-header .header-account>.rb-pill{margin-right:4px}
.viewer-header .header-account>.rb-pill:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
/* Narrow computer windows: the coin alone (still 44px, still labelled Report A Bug). */
@media(min-width:769px) and (max-width:1180px){.viewer-header .header-account>.rb-pill{width:44px;padding:0;margin-right:0}.viewer-header .header-account>.rb-pill .rb-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media(max-width:768px){.viewer-header .header-account>.rb-pill{display:none!important}}
/* Phone A: the first row of the Help sheet. */
.viewer-sheet-links .rb-sheet-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:52px;box-sizing:border-box;margin:0;padding:0 16px 0 10px;border:1px solid var(--gold-line);border-radius:12px;background:linear-gradient(180deg,var(--raised),var(--raised-2));color:var(--gold-text);font:700 16px Montserrat,Arial,sans-serif;text-align:left;cursor:pointer;animation:viewer-link-in .22s ease-out backwards}
.viewer-sheet-links .rb-sheet-row .rb-ico-wrap{width:32px;height:32px}
.viewer-sheet-links .rb-sheet-row small{margin-left:auto;color:var(--text-muted);font:600 12px Montserrat,Arial,sans-serif;white-space:nowrap}
.viewer-sheet-links .rb-sheet-row:active{transform:scale(.98)}
.viewer-sheet-links .rb-sheet-row:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.viewer-header .rb-btn,.viewer-sheet-links .rb-sheet-row{transition:none;animation:none}.viewer-header .rb-pill:active,.viewer-sheet-links .rb-sheet-row:active{transform:none}}
/* PAGE WEIGHT (R2, 2 Nov 2026): the header logo is a <picture> (AVIF / WebP, PNG fallback). The picture steps aside so the logo image
   keeps exactly the sizing and crop the logo rules give a plain logo image. */
.viewer-header .brand-logo:not(img)>picture{display:contents}
.viewer-header .brand-logo:not(img)>picture>img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover;object-position:center;image-rendering:high-quality;filter:blur(.25px)}
/* READABLE SMALL TEXT (R2 #7, 2 Nov 2026): on the viewer site no label is under 12px and no helper or status line under 13px. The eyebrow
   keeps its look (capitals, wide spacing, gold) at 12px; the bottom menu labels are 12px and still fit one line at 360px. */
html:where(.viewer-hdr) body .eyebrow,html:where(.viewer-hdr) body.home-page .eyebrow,html:where(.viewer-hdr) body .review-tile>.eyebrow,html:where(.viewer-hdr) body .review-game-card>.eyebrow,html:where(.viewer-hdr) body .winners-dashboard-card .eyebrow,html:where(.viewer-hdr) body.public-profile-page .pp-head-title>.eyebrow,html:where(.viewer-hdr) body .announcement-post .eyebrow{font-size:12px}
html:where(.viewer-hdr) body .es-wait-label{font-size:12px}
html:where(.viewer-hdr) body .help,html:where(.viewer-hdr) body .giveaway-card .help,html:where(.viewer-hdr) body .winner-record .help,html:where(.viewer-hdr) body.play-page .lb-note{font-size:13px}
html:where(.viewer-hdr) body .winners-stat small{font-size:12px}
html:where(.viewer-hdr) body .event-type{font-size:12px}
html:root:where(.viewer-hdr) body[data-section=schedule]:has(#calendar-grid) main>#local-timezone{font-size:13px}
.viewer-tabs>a,.viewer-tabs>button{font-size:12px}
/* STEADY HEADER (site review, 6 Nov 2026): the server sends the top bar already drawn (viewer-shell.mjs). On phones it is fixed, with the page
   padded below it once viewer-balance.js has measured it (vh-set); until then it sits in the page flow at the same height, so the swap never
   moves the page. Nothing changes once the script has run. */
@media(max-width:768px){html:not(.vh-set) .viewer-header{position:sticky}html:not(.vh-set) body.viewer-hdr{padding-top:0}}
/* JUMP ROW (site review, 6 Nov 2026): a row of "On This Page" links under a long page's title (How Buddha Bucks Work, Earn, About Me,
   Settings). Gold-outlined 44px chips; on phones one row that scrolls sideways so it never takes half the screen. */
.viewer-jump-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0}
.viewer-jump-row a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--gold-line);border-radius:999px;background:var(--surface);color:var(--gold-text);font:700 14px/1.2 Montserrat,Arial,sans-serif;text-decoration:none;white-space:nowrap;transition:background-color .18s ease,transform .15s ease}
.viewer-jump-row a:hover{background:var(--gold-hover,var(--surface))}
.viewer-jump-row a:active{transform:scale(.97)}
.viewer-jump-row a:focus-visible{outline:2px solid var(--focus,var(--gold));outline-offset:2px}
@media(max-width:640px){.viewer-jump-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-4px;padding-inline:4px}.viewer-jump-row::-webkit-scrollbar{display:none}.viewer-jump-row a{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.viewer-jump-row a{transition:none}.viewer-jump-row a:active{transform:none}}
html.vj-on main [id]{scroll-margin-top:calc(var(--viewer-header-h,72px) + 12px)}
