[data-look="03"]{--look-ink:#394550;--look-muted:#6c767f;--look-win:linear-gradient(105deg,#303e4c,#647786);--look-tabs:linear-gradient(115deg,#46525e,#6d7882);--look-button:linear-gradient(125deg,#28333e,#475766);--look-button-ink:#ffffff;--look-pale:#f0f2f4;--look-pulse:#dbe2e8;--look-accent:#46525e;--look-progress:linear-gradient(90deg,#46525e,#6d7882);--look-tab-ink:#ffffff}

html[data-look] body[data-mode=mobile]{--feedback-stake:var(--look-pulse);--feedback-latest:var(--look-pulse);--feedback-wagered:var(--look-pulse);--feedback-claimed:var(--look-pulse);--feedback-referral-income:var(--look-pulse);--feedback-accent:var(--look-accent)}
html[data-look] body[data-mode=mobile][data-screen=game] .game-hero{--hero-ink:var(--look-ink);--hero-muted:var(--look-muted)}
html[data-look] body[data-mode=mobile][data-screen=game] .game-balance .game-earned,
html[data-look] body[data-mode=mobile][data-screen=game] .game-balance .game-earned>span,
html[data-look] body[data-mode=mobile][data-screen=game] .game-balance .game-earned>strong,
html[data-look] body[data-mode=mobile][data-screen=game] .game-balance .game-potential>span,
html[data-look] body[data-mode=mobile][data-screen=game] .game-balance .game-potential>strong{background:none;color:var(--look-ink);-webkit-text-fill-color:var(--look-ink)}
html[data-look] body[data-mode=mobile][data-screen=game] .game-progress>span{background:var(--look-progress)}
html[data-look] body[data-mode=mobile][data-screen=game] .game-claim{background:var(--look-tabs);color:var(--look-tab-ink)}
html[data-look] body[data-mode=mobile][data-screen=game] .game-controls .game-deposit{background:var(--look-button);color:var(--look-button-ink);box-shadow:none}
html[data-look] body[data-mode=mobile][data-screen=game] .game-controls .game-deposit strong{color:inherit;-webkit-text-fill-color:currentColor}
html[data-look] body[data-mode=mobile][data-screen=game] .game-controls .game-deposit.is-cooling{filter:saturate(.55);opacity:.75}
html[data-look] body[data-mode=mobile][data-screen=game] .game-controls .text-link,
html[data-look] body[data-mode=mobile][data-screen=game] .game-award-side strong,
html[data-look] body[data-mode=mobile][data-screen=game] .game-latest [data-bind=lastPlayer],
html[data-look] body[data-mode=mobile][data-screen=game] .game-summary dd,
html[data-look] body[data-mode=mobile][data-screen=game] .game-summary>div:last-child dd{color:var(--look-ink);-webkit-text-fill-color:currentColor}
html[data-look] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize-amount{background:none;color:var(--reward-color);-webkit-text-fill-color:currentColor}
html[data-look] body[data-mode=mobile][data-screen=game] .game-latest .section-title,
html[data-look] body[data-mode=mobile][data-screen=game] .game-prize>small{color:var(--look-ink)}
html[data-look] body[data-mode=mobile][data-screen=game] .game-award-side small,
html[data-look] body[data-mode=mobile][data-screen=game] .game-summary dt,
html[data-look] body[data-mode=mobile][data-screen=game] .game-latest .muted{color:var(--look-muted)}
html[data-look] body[data-mode=mobile][data-screen=game] .game-summary>div{background:var(--look-pale)}
html[data-look] body[data-mode=mobile] .mobile-phase-links{background:var(--look-pale)}
html[data-look] body[data-mode=mobile] .mobile-phase-links .phase-season,
html[data-look] body[data-mode=mobile] .mobile-phase-links .phase-round,
html[data-look] body[data-mode=mobile] .mobile-player-name{color:var(--look-ink)}
html[data-look] body[data-mode=mobile] .mobile-player-balance{color:var(--look-muted)}
body[data-screen=game] [data-balance-number],
body[data-screen=game] [data-bind=lastPlayer]{border-radius:4px}
body[data-screen=game] [data-balance-number]{display:inline-block}

@keyframes mobile-feedback-stake{0%,
20%{background-color:var(--feedback-stake);box-shadow:0 0 0 4px var(--feedback-stake)}100%{background-color:transparent;box-shadow:0 0 0 4px transparent}}

html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-claim,
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-claim:hover:not(:disabled){background:var(--look-tabs);color:var(--look-tab-ink);transition:filter 160ms ease}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-claim:hover:not(:disabled){filter:brightness(1.06)}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-claim:active:not(:disabled){filter:brightness(.97)}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-investments [data-list=contributions] .contribution-auto .mvp-list-main>strong{background:none;color:var(--look-ink);-webkit-text-fill-color:currentColor;font-weight:700}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-investments [data-list=contributions] .mvp-list-value>strong,
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-investments [data-list=contributions] .contribution-auto .mvp-list-value>strong{background:var(--reward-gradient);background-clip:text;-webkit-background-clip:text;color:var(--reward-color);-webkit-text-fill-color:transparent;font-size:13px;font-weight:700;box-shadow:none}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-investments [data-list=contributions] .mvp-list-value{width:auto;min-width:83px;max-width:52%}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-investments [data-list=contributions] .mvp-list-value>small{background:none;color:var(--look-ink);-webkit-text-fill-color:currentColor;border:0;box-shadow:none;padding:0;font-weight:700;line-height:18px}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:baseline;gap:5px;width:100%;margin-top:4px}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize>small{justify-self:start;color:var(--look-ink);font-size:13px;font-weight:700;margin:0}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize-amount{display:block;justify-self:end;width:fit-content;max-width:100%;min-width:0;background:none;border:0;box-shadow:none;padding:0;color:var(--reward-color);-webkit-text-fill-color:currentColor;text-align:right;font-size:13px;font-weight:700;line-height:18px;letter-spacing:0;overflow-wrap:normal;white-space:nowrap}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-investments [data-list=contributions] .mvp-list-main>small{font-size:10.5px;font-weight:400;line-height:15px;color:#89929a;opacity:1}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-prize-value{display:inline-block;max-width:100%;border-radius:4px;--feedback-stake:var(--reward-flash);font-variant-numeric:tabular-nums}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-prize-ink{background:var(--reward-gradient);background-clip:text;-webkit-background-clip:text;color:var(--reward-color);-webkit-text-fill-color:transparent;font-weight:700}

html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize{grid-template-columns:auto minmax(0,max-content);width:fit-content;max-width:100%;margin-left:auto;gap:5px}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize-amount{min-width:calc(8ch + 3em);text-align:left}

[data-reward="06"]{--reward-gradient:linear-gradient(105deg,#801443 0%,#ad2569 48%,#d5689e 100%);--reward-color:#ad2569;--reward-flash:#f4d8e7}
@media(max-width:360px){html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize{width:100%;grid-template-columns:auto minmax(0,1fr)}html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize-amount{min-width:0;width:100%;text-align:left}}

html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize-amount{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;column-gap:4px;width:calc(8ch + 3em);min-width:0;max-width:100%;text-align:right}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-prize-value{justify-self:end;min-width:0;max-width:100%}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-prize-amount>.game-prize-ink:last-child{justify-self:end;white-space:nowrap}

[data-modecolor="06"]{--mode-gradient:linear-gradient(115deg,#28333e,#46545f,#68757d);--mode-selected:#f1f3f5;--mode-ink:#354551}
[data-gramlook="09"]{--gram-number:linear-gradient(105deg,#303b46,#61717e);--gram-ink:#394550;--gram-bar:linear-gradient(90deg,#46525e,#6d7882);--gram-button:#30a1f5;--gram-speed:4.8s}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-balance [data-balance-number]>[aria-hidden=true]{background:var(--gram-number);background-clip:text;-webkit-background-clip:text;color:var(--gram-ink);-webkit-text-fill-color:transparent}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-balance [data-balance-number]{--feedback-stake:var(--look-pulse)}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-balance .game-earned>strong>small,
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-balance .game-potential>strong>small{background:var(--gram-number);background-clip:text;-webkit-background-clip:text;color:var(--gram-ink);-webkit-text-fill-color:transparent}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-claim,
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-claim:hover:not(:disabled){background:var(--gram-button);color:#fff;-webkit-text-fill-color:currentColor;transition:filter 160ms ease}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-claim:hover:not(:disabled){filter:brightness(1.04)}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-progress{background:#c7cdd466}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-progress>span{position:relative;overflow:hidden;background:var(--gram-bar);transition:width 850ms cubic-bezier(.22,1,.36,1)}
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-progress>span::after{content:"";display:block;position:absolute;inset-block:0;left:0;width:55%;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,transparent 0%,rgb(220 226 232 / 16%) 30%,rgb(230 235 240 / 65%) 50%,rgb(220 226 232 / 16%) 70%,transparent 100%);opacity:0;transform:translate3d(-130%,0,0);animation:gram-progress-flow var(--gram-speed) cubic-bezier(.4,0,.2,1) infinite}

@keyframes gram-progress-flow{0%,
6%{transform:translate3d(-130%,0,0);opacity:0}22%{opacity:1}76%{transform:translate3d(210%,0,0);opacity:1}92%,
100%{transform:translate3d(210%,0,0);opacity:0}}
@media(prefers-reduced-motion:reduce){html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-progress>span{transition:none}html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-progress>span::after{animation:none;opacity:0}}

html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-prize-ink{background-size:var(--prize-gradient-width,100%) 100%;background-position:var(--prize-gradient-x,0px) 0;background-repeat:no-repeat}

html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-balance [data-balance-number]>[aria-hidden=true],
html[data-look="03"][data-gramlook] body[data-mode=mobile][data-screen=game] .game-balance strong>small{background-size:var(--prize-gradient-width,100%) 100%;background-position:var(--prize-gradient-x,0px) 0;background-repeat:no-repeat}
html[data-look="03"] body[data-mode=mobile] .mobile-player-header button.mobile-phase-links{align-items:flex-end;text-align:right}
html[data-look="03"] body[data-mode=mobile] .mobile-phase-links .phase-season,
html[data-look="03"] body[data-mode=mobile] .mobile-phase-links .phase-round{width:100%;justify-content:flex-end;text-align:right}
html[data-look="03"][data-gramlook="09"] body[data-mode=mobile][data-screen=game] .game-balance .game-earned>span,
html[data-look="03"][data-gramlook="09"] body[data-mode=mobile][data-screen=game] .game-balance .game-potential>span{background:var(--gram-number);background-clip:text;-webkit-background-clip:text;color:var(--gram-ink);-webkit-text-fill-color:transparent}

html[data-look="03"][data-gramlook="09"] body[data-mode=mobile] .mobile-player-header button.mobile-phase-links{padding:5px 32px 5px 8px;gap:0;min-height:36px}
html[data-look="03"][data-gramlook="09"] body[data-mode=mobile] .mobile-phase-links .phase-season{font-size:9px;line-height:11px}
html[data-look="03"][data-gramlook="09"] body[data-mode=mobile] .mobile-phase-links .phase-round{font-size:11px;line-height:13px}

/* The prize reserves two decimal places and stays on one row. */
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize{
 grid-template-columns:auto max-content;width:max-content;max-width:none;white-space:nowrap;
}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-last-player .game-prize-amount{
 grid-template-columns:minmax(10ch,max-content) max-content;width:max-content;min-width:0;max-width:none;
 white-space:nowrap;overflow-wrap:normal;word-break:normal;
}
html[data-look="03"][data-detail="11"] body[data-mode=mobile][data-screen=game] .game-prize-value{
 min-width:max-content;max-width:none;white-space:nowrap;overflow-wrap:normal;word-break:normal;
}
body[data-screen=game] .game-prize-ink{white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* Stable phone geometry while browser chrome collapses during scrolling. */
html:has(body[data-mode=mobile]){overscroll-behavior-y:none}
body[data-mode=mobile]{min-height:var(--mobile-stable-height,100svh);overscroll-behavior-y:none;overflow-x:clip}
body[data-mode=mobile] .app-shell,
body[data-mode=mobile] .page{min-height:calc(var(--mobile-stable-height,100svh) - var(--header-height))}
body[data-mode=mobile][data-screen=game] .game-page{overflow-anchor:none}

/* Fixed top-center refresh indicator; never occupies layout space. */
.pull-refresh-indicator{position:fixed;z-index:1000;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translateX(-50%);width:36px;height:36px;display:grid;place-items:center;background:#fff;border-radius:50%;box-shadow:0 2px 12px #24304724;pointer-events:none}
.pull-refresh-ring{width:20px;height:20px;border:2px solid #dbe2e8;border-top-color:#30a1f5;border-radius:50%;opacity:.65}
.pull-refresh-indicator.is-ready .pull-refresh-ring{opacity:1}
.pull-refresh-indicator.is-loading .pull-refresh-ring{opacity:1;animation:pull-refresh-spin .7s linear infinite}
@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pull-refresh-indicator.is-loading .pull-refresh-ring{animation:none}}

body[data-screen=game] .game-timer{position:relative}
.game-timer-bonus{position:absolute;left:calc(50% + 94px);top:24px;z-index:5;pointer-events:none;white-space:nowrap;color:#397b9f;font:700 12px/16px Nunito,sans-serif;letter-spacing:0;text-shadow:0 1px 4px #ffffffc9;animation:timer-bonus-slide 1.5s cubic-bezier(.2,.65,.3,1) both}
@keyframes timer-bonus-slide{0%{opacity:0;transform:translateX(var(--timer-bonus-enter,22px))}23%,
60%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-6px)}}
@media(prefers-reduced-motion:reduce){.game-timer-bonus{animation-name:timer-bonus-fade}@keyframes timer-bonus-fade{0%,
100%{opacity:0}15%,
70%{opacity:1}}}

/* Route entry must not translate the geometry used to size the hero. */
body[data-mode][data-screen=game] .game-page,
body[data-mode][data-screen=tickets] .superprize-page{animation:none;transform:none;overflow-anchor:none}

/* Shared mobile shell: route changes never change navigation or header geometry. */
body[data-mode=mobile] .page{animation:none;transform:none;overflow-anchor:none}
body[data-mode=mobile] .app-header{background:#fff;padding-inline:16px}
body[data-mode=mobile] .mobile-player-header,
body[data-mode=mobile][data-screen=game] .game-main>.mobile-player-header,
body[data-mode=mobile][data-screen=tickets] .superprize-hero>.mobile-player-header{height:64px;min-height:64px;flex-shrink:0}
body[data-mode=mobile] .mobile-nav{position:fixed;bottom:var(--mobile-visible-bottom,0px);z-index:50;display:flex;min-height:calc(55px + env(safe-area-inset-bottom));padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
body[data-mode=mobile] .mobile-nav a{height:42px;min-height:42px;gap:3px;font-size:10px;line-height:11px;white-space:nowrap}
body[data-mode=mobile] .mobile-nav img{width:20px;height:20px;flex-shrink:0}

body[data-mode=mobile][data-screen=game] .game-controls{bottom:calc(var(--mobile-game-nav-height) + var(--mobile-visible-bottom,0px))}

/* One title origin below the shared 64px header on both mobile screens. */
body[data-mode=mobile]{--mobile-hero-heading-top:9px}
@media(max-height:690px){body[data-mode=mobile]{--mobile-hero-heading-top:6px}}
@media(max-height:650px){body[data-mode=mobile]{--mobile-hero-heading-top:4px}}
body[data-mode=mobile][data-screen=game] .game-hero{padding-top:0}
body[data-mode=mobile][data-screen=game] .hero-stage{padding-top:var(--mobile-hero-heading-top)}

/* The two hero readouts share exact font metrics and row positions. */
body[data-mode]{--hero-readout-size:28px;--hero-readout-line:30px}
@media(max-width:380px){body[data-mode]{--hero-readout-size:24px}}
@media(max-height:690px){body[data-mode=mobile]{--hero-readout-size:24px;--hero-readout-line:25px}}
html body[data-mode][data-screen=game] .hero-stage .game-timer-value,
html body[data-mode][data-screen=tickets] .superprize-fund>strong{font-family:Nunito,Arial,sans-serif;font-size:var(--hero-readout-size);font-weight:800;line-height:var(--hero-readout-line);letter-spacing:0;font-variant-numeric:tabular-nums;margin:0;padding:0}
html body[data-mode][data-screen=tickets] .superprize-fund{display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);align-items:center;column-gap:0;margin:3px 0 0;min-height:var(--hero-readout-line)}
html body[data-mode][data-screen=tickets] .superprize-fund>strong{grid-column:2}
html body[data-mode][data-screen=tickets] .superprize-fund>span{grid-column:3;justify-self:start;margin-left:6px;font-size:11px;font-weight:700;line-height:16px;letter-spacing:0}
html body[data-mode=mobile][data-screen=game] .hero-stage>.game-timer{align-self:start;padding:0}
html body[data-mode=mobile][data-screen=tickets] .superprize-season-heading{flex:none;margin:0;padding:var(--mobile-hero-heading-top) 0 0}
html body[data-mode=mobile][data-screen=game] .hero-timer-label,
html body[data-mode=mobile][data-screen=tickets] .superprize-fund-label{display:block;margin:0;padding:0;font-family:Nunito,Arial,sans-serif;font-size:10px;font-weight:700;line-height:13px;letter-spacing:0;text-align:center}

/* Burning shares the Chrome mobile header and the site's neutral surfaces. */
body[data-mode=mobile][data-screen=burning]{--header-height:0px}
body[data-mode=mobile][data-screen=burning]>.app-header{display:none}
body[data-mode] .burning-page{height:auto;min-height:0;overflow:visible;display:block;color:var(--look-ink)}
body[data-mode] .burn-hero{display:flex;flex-direction:column;background:var(--hero-background);padding:24px;border-radius:18px}
body[data-mode] .burn-available{display:block;text-align:center;padding-top:9px}
body[data-mode] .burn-available>span{font-size:10px;line-height:13px;color:var(--look-muted);font-weight:700}
body[data-mode] .burn-available>strong{font-size:28px;line-height:30px;font-weight:800;color:var(--look-ink);font-variant-numeric:tabular-nums;margin-top:3px}
body[data-mode] .burn-available strong small{font-size:11px;color:var(--look-muted)}
body[data-mode] .burn-hero-art{height:220px;display:grid;place-items:center;margin:12px 0}
body[data-mode] .burn-hero-art .burn-mascot-animation{width:220px;height:220px;max-height:220px;max-width:100%}
.burn-hero-art img{width:100%;height:100%;object-fit:contain}
.burn-mission{max-width:640px;margin:0 auto;width:100%;text-align:center}
.burn-mission h1{font-size:22px;line-height:28px;font-weight:800}
.burn-mission p{font-size:13px;line-height:1.6;margin-top:10px;color:var(--look-muted)}
.burn-mission .text-link{display:inline-block;margin-top:12px;font-size:12px;color:var(--look-ink)}
body[data-mode] .burn-totals{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 0;text-align:center}
body[data-mode] .burn-totals>div{background:#ffffff70;padding:14px 8px;border-radius:12px}
body[data-mode] .burn-totals dt{font-size:11px;color:var(--look-muted)}
body[data-mode] .burn-totals dd,
body[data-mode] .burn-totals>div:last-child dd{font-size:21px;font-weight:700;color:var(--look-ink);font-variant-numeric:tabular-nums}
body[data-mode] .burn-totals dd small{font-size:10px;color:var(--look-muted)}
body[data-mode] .burn-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;margin-top:18px}
body[data-mode] .burn-offer,
body[data-mode] .burn-history-panel{display:flex;flex-direction:column;padding:20px;background:#f0f2f4;border-radius:16px;min-width:0}
.burn-market-prices{margin:18px 0 0;display:grid;gap:14px}
.burn-market-prices>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.burn-market-prices dt{font-size:12px;color:var(--look-muted)}
.burn-market-prices dd{margin:0;font-size:16px;font-weight:700;text-align:right;color:var(--look-ink)}
body[data-mode] .burn-tabs{background:linear-gradient(115deg,#28333e,#46545f,#68757d);padding:4px;border-radius:11px}
body[data-mode] .burn-tabs>button{color:#fff;font-size:11px;border-radius:8px}
body[data-mode] .burn-tabs>button[aria-pressed=true]{background:#f1f3f5;color:#354551}
body[data-mode] .burn-history-list{min-height:240px;max-height:430px;overflow:auto}
body[data-mode] .burn-history-state{color:var(--look-ink);background:#dbe2e8}
body[data-mode] .burn-history-row{border-color:#dbe2e8}
body[data-mode] .burn-history-row strong{color:var(--look-ink)}
body[data-mode] .burn-history-panel .text-link,
body[data-mode] .burn-history-heading p,
body[data-mode] .burn-history-row small,
body[data-mode] .burn-empty{color:var(--look-muted)}
body[data-mode=mobile][data-screen=burning] .burning-page{padding-top:0;padding-inline:0}
body[data-mode=mobile][data-screen=burning] .burn-hero{padding:0 16px 20px;border-radius:0 0 16px 16px}
body[data-mode=mobile][data-screen=burning] .burn-hero>.mobile-player-header{height:64px;min-height:64px;flex:none}
body[data-mode=mobile] .burn-layout{grid-template-columns:minmax(0,1fr);margin:16px 16px 0}
body[data-mode=mobile] .burn-offer,
body[data-mode=mobile] .burn-history-panel{padding:16px}

/* Inferno palette belongs only to Burning; geometry stays shared. */
body[data-screen=burning]{background:#0c0c0e}
body[data-mode][data-screen=burning] .burning-page{--look-ink:#f3eee9;--look-muted:#b5aaa1;--look-pale:#28211c;--burn-orange:#ff983f;background:#0c0c0e;color:var(--look-ink)}
body[data-mode][data-screen=burning] .burn-hero{background:linear-gradient(155deg,#191716 0%,#111113 55%,#21180f 100%)}
body[data-mode][data-screen=burning] .burn-available>strong{color:#ffae65}
body[data-mode][data-screen=burning] .burn-mission h1{color:#ff983f}
body[data-mode][data-screen=burning] .burn-mission .text-link{color:#ffad65}
body[data-mode][data-screen=burning] .burn-totals>div{background:#ffffff06;border:0}
body[data-mode][data-screen=burning] .burn-totals [data-burn-bind=burned]{color:#ff983f;font-weight:900;-webkit-text-fill-color:#ff983f}
body[data-mode][data-screen=burning] .burn-offer,
body[data-mode][data-screen=burning] .burn-history-panel{background:#181719}
body[data-mode][data-screen=burning] .burn-market-prices>div:last-child dd{color:#ffae65}
body[data-mode][data-screen=burning] .burn-history-state{background:#332317;color:#ffb16f}
body[data-mode][data-screen=burning] .burn-tabs{background:#26201c}
body[data-mode][data-screen=burning] .burn-tabs>button{color:#c5b6a9}
body[data-mode][data-screen=burning] .burn-tabs>button[aria-pressed=true]{background:#ed8b39;color:#1b1008}
body[data-mode][data-screen=burning] .burn-history-row,
body[data-mode][data-screen=burning] .burn-history-footer{border-color:#ffffff12}
body[data-mode][data-screen=burning] .burn-history-panel .text-link{color:#ffad65}
body[data-mode][data-screen=burning] .burn-pager button{background:#30251d;color:#ffad65;border-color:#523722}
body[data-mode][data-screen=burning] .burn-history-footer{color:#b5aaa1}
html[data-look] body[data-mode=mobile][data-screen=burning] .mobile-player-header button.mobile-phase-links{background:#2d241e}
html[data-look] body[data-mode=mobile][data-screen=burning] .mobile-phase-links .phase-season,
html[data-look] body[data-mode=mobile][data-screen=burning] .mobile-phase-links .phase-round{color:#f0c39c}
body[data-mode=mobile][data-screen=burning] .phase-chevron{border-color:#d49c70}
body[data-mode=mobile][data-screen=burning] .mobile-nav{background:#141416f5;border-top-color:#ffffff12}
body[data-mode=mobile][data-screen=burning] .mobile-nav a{color:#aaa3a0}
body[data-mode=mobile][data-screen=burning] .mobile-nav img{filter:brightness(0) invert(1)}
body[data-mode=mobile][data-screen=burning] .mobile-nav .is-active{color:#ff983f}
body[data-mode=mobile][data-screen=burning] .mobile-nav .is-active img{filter:brightness(0) saturate(100%) invert(68%) sepia(80%) saturate(1180%) hue-rotate(333deg) brightness(104%) contrast(101%)}

.burn-craft-details{margin-top:16px;text-align:left;padding:14px 0;border-top:1px solid #ffffff12}
.burn-craft-details summary{font-size:13px;font-weight:700;color:#ffad65;cursor:pointer}
.burn-craft-details p{font-size:12px;line-height:1.65}

/* Draw disclosure icons ourselves: no platform-specific summary glyphs. */
body[data-screen=burning] :is(.burn-craft-details,.burn-test-settings)>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer}
body[data-screen=burning] summary::-webkit-details-marker{display:none}
body[data-screen=burning] summary::marker{content:''}
body[data-screen=burning] :is(.burn-craft-details,.burn-test-settings)>summary::after{content:'';width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-right:3px}
body[data-screen=burning] :is(.burn-craft-details,.burn-test-settings)[open]>summary::after{transform:rotate(225deg)}
html body[data-mode=mobile][data-screen=burning] .burn-available{padding-top:var(--mobile-hero-heading-top);margin:0}
html body[data-mode=mobile][data-screen=burning] .burn-available>span{display:block;font:700 10px/13px Nunito,Arial,sans-serif;margin:0;letter-spacing:0}
html body[data-mode][data-screen=burning] .burn-available>strong{font-family:Nunito,Arial,sans-serif;font-size:var(--hero-readout-size);line-height:var(--hero-readout-line);font-weight:800;letter-spacing:0;margin-top:3px}
.fund-count-up{display:inline-block;font-variant-numeric:tabular-nums;white-space:nowrap;vertical-align:bottom;overflow:hidden}
.fund-digit,
.fund-separator{display:inline-block}
.fund-digit{width:1ch;text-align:center}
body[data-screen=burning] #dialog{color-scheme:dark;background:#181719;color:#f3eee9;border:1px solid #38302b;--hero-background:linear-gradient(135deg,#30251c,#211d19);--look-ink:#f3eee9;--look-muted:#b5aaa1}
body[data-screen=burning] #dialog::backdrop{background:#000b}
body[data-screen=burning] #dialog :is(.phase-current,.phase-list li,.phase-next-season,.burn-selected-gift,.burn-dialog-warning,.burn-proof,.burn-scenarios>button,.burn-gift-choice){background:#25211e;color:#eee1d6;border-color:#43362c}
body[data-screen=burning] #dialog :is(p,small,dt,label,.phase-note,.phase-section-label,.phase-copy small,.phase-amount,.burn-dialog-note,.burn-admin-summary,.burn-queue-footer,.burn-demo-label){color:#bfb0a3}
body[data-screen=burning] #dialog :is(.phase-number,.phase-list li.is-current .phase-number){background:#422b1b;color:#ffae65;border-color:#674327}
body[data-screen=burning] #dialog :is(input,select,textarea){background:#100f10;color:#f3eee9;border-color:#594332;accent-color:#ff983f}
body[data-screen=burning] #dialog :is(.button-primary,.burn-tabs>button[aria-pressed=true]){background:#f79a46;color:#211308}
body[data-screen=burning] #dialog :is(.button-secondary,.dialog-close,.burn-tabs,.phase-rounds-link){background:#302820;color:#efc6a5;border-color:#54402f}
body[data-screen=burning] #dialog :is(.text-link,.burn-proof strong,.burn-proof a,.burn-step-list li.is-complete){color:#ffad65}
body[data-screen=burning] #dialog :is(.burn-key-values>div,.burn-queue-row,.phase-list li,.burn-step-list li){border-color:#44362b}
body[data-screen=burning] #dialog :is(.burn-error,.burn-dialog .burn-error){background:#3a211d;color:#ffb39e}
body[data-screen=burning] #dialog :is(.burn-selected-gift small,.burn-gift-choice small,.burn-scenarios small,.burn-proof code,.burn-confirm-check){color:#bfb0a3}
