/* Compact, navigable panels. Polling does not animate an unchanged view. */
dialog.chart-crop{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:18px max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border:0;border-radius:0;color:#f0e2fb;background:radial-gradient(ellipse at 60% 0,#3b2345,#160e20 70%);overflow:hidden;box-sizing:border-box}
dialog.chart-crop[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px}
.chart-crop::backdrop{background:#100919}
.crop-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:960px;width:100%;margin:auto}
.crop-heading h1{font-size:20px;font-weight:560;letter-spacing:-.4px;margin:0}.crop-heading p{font-size:12px;color:#bba1ce;margin:7px 0 0}
.crop-close{width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#b38bd41a;border:1px solid #cda0ee44;font-size:28px;color:#e3c4f7}
.crop-stage{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.crop-surface{position:relative;flex-shrink:0;touch-action:none;overflow:hidden;border-radius:8px;user-select:none}
.crop-surface[hidden]{display:none}.crop-surface>canvas{display:block;width:100%;height:100%;pointer-events:none}
.crop-selection{position:absolute;box-sizing:border-box;border:2px solid #e3c6ff;box-shadow:0 0 0 9999px #0a0519aa,0 0 24px #b98ddf55;cursor:move;touch-action:none}
.crop-selection:focus-visible{outline:2px solid #fff;outline-offset:3px}
.crop-selection button{position:absolute;width:44px;height:44px;background:transparent;padding:0;border:0;color:#fff;touch-action:none}
.crop-selection button:after{content:'';position:absolute;width:16px;height:16px;border:3px solid #fff;border-radius:2px;filter:drop-shadow(0 0 5px #cd9df6)}
.crop-selection [data-corner=nw]{top:0;left:0;cursor:nwse-resize}.crop-selection [data-corner=ne]{top:0;right:0;cursor:nesw-resize}.crop-selection [data-corner=sw]{bottom:0;left:0;cursor:nesw-resize}.crop-selection [data-corner=se]{bottom:0;right:0;cursor:nwse-resize}
.crop-selection [data-corner=nw]:after{top:0;left:0;border-right:0;border-bottom:0}.crop-selection [data-corner=ne]:after{top:0;right:0;border-left:0;border-bottom:0}.crop-selection [data-corner=sw]:after{bottom:0;left:0;border-right:0;border-top:0}.crop-selection [data-corner=se]:after{bottom:0;right:0;border-left:0;border-top:0}
.crop-footer{max-width:600px;width:100%;margin:auto;text-align:center;font-size:11px;color:#baa0cd}.crop-footer>span{display:block;line-height:1.5}.crop-footer>div{display:flex;gap:10px;margin-top:12px}.crop-footer button{min-height:48px;border-radius:16px;padding:12px 20px;font-size:13px;font-weight:550}.crop-all{background:#b089cd1a;border:1px solid #bd94db44;color:#ddc5ee}.crop-use{flex:1;background:linear-gradient(135deg,#edccff,#b58bd8);box-shadow:inset 0 1px 1px #fff9,0 0 20px #b87fdd33;color:#281632}
#crop-keyboard{font-size:10px;color:#947aa8;margin-top:3px}
.crop-position{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(pointer:coarse){#crop-keyboard{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
@media(max-width:360px){.crop-heading h1{font-size:18px}.crop-heading p{font-size:11px}.crop-footer button{padding:12px 16px}}
#drawer-back[hidden]{display:none}
.drawer-heading{display:flex;align-items:center;gap:6px;min-width:0}
.drawer-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#drawer-back{background:transparent;color:#d9c0f0;font-size:25px;min-width:36px;min-height:44px;padding:0;border-radius:10px}
#drawer:not(.session-dialog){width:min(430px,calc(100% - 24px))}
#drawer-content:focus{outline:none}
.panel-icon{width:22px;height:22px;filter:invert(79%) sepia(27%) saturate(510%) hue-rotate(217deg);flex-shrink:0}
.nav-item{display:flex;align-items:center;gap:13px;width:100%;min-height:64px;text-align:left;padding:12px 0;border:0;border-bottom:1px solid #6b4c7d44;background:transparent;color:#e9dbf3}
.nav-item>span:nth-child(2){flex:1}
.nav-item b{font-size:13px;font-weight:560}
.nav-item small,.bet-caption small{display:block;font-size:11px;color:#aa93bd;margin-top:3px}
.nav-chevron{font-size:23px;color:#b598cc}
.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.5px;color:#b8a0cb}
.balance-hero{text-align:center;padding:20px 10px 22px}
.balance-hero>strong{display:block;font-size:42px;font-weight:520;letter-spacing:-1.5px;line-height:1.25;margin:5px 0}
.balance-hero>span:last-child{font-size:12px;color:#b99ece}
.balance-meter{height:6px;border-radius:6px;background:#4b355b;display:flex;overflow:hidden;margin:13px 0 10px}
.balance-meter span{background:#bf9be8;min-width:0}
.allocation{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#b59ac9}
.allocation b{display:block;color:#e4d2ef;font-size:15px;margin-top:3px}
.allocation>span:last-child{text-align:right}
.wallet-main-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 12px}
.wallet-main-actions button.action{margin:0;min-height:46px;text-align:center}
.micro-note{font-size:11px;line-height:1.6;color:#ac94bd}
.panel-empty{padding:32px 14px;text-align:center;color:#ad93c3;display:grid;justify-items:center;gap:8px}
.panel-empty b{font-size:15px;color:#e4d4f1}
.panel-empty span{font-size:12px}
.segmented{display:flex;padding:4px;gap:4px;background:#180f22;border-radius:13px;margin:3px 0 20px}
.segmented button{flex:1;background:transparent;color:#bda5cf;border:0;min-height:40px;font-size:12px;border-radius:10px}
.segmented button[aria-pressed=true]{background:#463052;color:#fff}
.bet-list{display:grid;gap:8px}
.bet-tile{width:100%;display:flex;align-items:center;gap:11px;padding:14px 11px;background:#2c1e38;border:1px solid #65457544;border-radius:14px;color:#e9dff3;text-align:left;min-height:76px}
.bet-tile:hover{background:#352342}
.bet-mark{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;background:#51405f55;font-size:20px}
.outcome-profit .bet-mark{background:#75c4a51c;color:#a0f0ce}
.outcome-loss .bet-mark{color:#d1a2b4}
.bet-caption{flex:1;min-width:0}
.bet-caption b{font-size:13px;font-weight:550}
.bet-caption b small{display:inline;font-size:9px}
.bet-value{text-align:right;white-space:nowrap}
.bet-value strong{display:block;font-size:17px;font-weight:550;font-variant-numeric:tabular-nums}
.bet-value small{color:#ae95bf;font-size:10px}
.bet-tile .nav-chevron{font-size:18px}
.result-hero{text-align:center;padding:18px 0 15px}
.result-hero h2{margin:10px 0 3px;font-size:15px}
.result-hero>strong{font-size:44px;font-weight:520;line-height:1.2;letter-spacing:-1.5px;display:block}
.result-hero>span:not(.eyebrow){display:block;font-size:11px;color:#bea4d2}
.result-hero p{font-size:11px;margin:10px 0 0}
.result-hero[data-stage=touch]{color:#dec5ff}
.stage-rail{display:flex;list-style:none;margin:14px 0 18px;padding:0}
.stage-rail li{position:relative;flex:1;text-align:center;font-size:11px;color:#8e799f}
.stage-rail li:before{content:'';position:absolute;top:11px;left:0;width:100%;height:1px;background:#634775}
.stage-rail li:first-child:before{left:50%;width:50%}
.stage-rail li:last-child:before{width:50%}
.stage-rail li>span{position:relative;display:grid;place-items:center;margin:auto auto 5px;width:23px;height:23px;background:#2b1c37;border:1px solid #6b4e80;border-radius:50%;font-size:10px}
.stage-rail li.done>span{background:#8e70aa;color:white}
.stage-rail li.current>span{background:#c6a0ee;border-color:#c6a0ee;color:#24152e}
.stage-rail small{font-size:9px}
.stage-rail li.current small{color:#e5d4f3}
.round-visual,.help-demo{background:#18101f;border:1px solid #60477366;border-radius:16px;padding:10px;overflow:hidden}
.round-visual svg,.help-demo svg{display:block;width:100%;height:auto}
.round-visual>span,.help-demo>span{display:block;text-align:center;color:#957ca7;font-size:9px;margin:0 0 3px}
.sample-band{fill:#b68cdc1b;stroke:#a97ccc66;stroke-width:1}
.sample-trace{fill:none;stroke:#d9b8fb;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.round-visual text{fill:#957ca7;font-size:9px}
.trace-empty{padding:22px;text-align:center;border:1px dashed #6e507c;border-radius:14px;color:#c4aed7;font-size:12px}
.trace-empty span{display:block;font-size:10px;color:#987fab;margin-top:5px}
.price-band{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin:12px 0 18px;color:#aa92bc}
.price-band b{font-weight:500;color:#d0bbdf}
.money-breakdown{border-top:1px solid #65477955}
.money-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:12px;color:#af94c3}
.money-breakdown b{color:#e5d7ee;font-weight:500;font-variant-numeric:tabular-nums}
.money-breakdown small{font-size:10px;color:#a58bb8}
.money-breakdown .total{border-top:1px solid #65477955;padding-top:12px}
.help-heading{margin:12px 0 20px}
.help-heading h2{font-size:29px;font-weight:520;line-height:1.18;letter-spacing:-.8px;margin:9px 0}
.help-demo rect{fill:#9f76cb14;stroke:#ad83cc;stroke-width:1;stroke-dasharray:4 4}
.help-demo path{fill:none;stroke:#d3b4f5;stroke-width:2.5;stroke-dasharray:360;animation:help-line 4s ease-in-out infinite}
.help-demo circle{fill:#dfc9ff;animation:help-touch 4s ease-out infinite}
.guide-steps{margin:20px 0;display:grid;gap:20px}
.guide-steps>div,.oracle-path>div{display:flex;gap:14px;align-items:center}
.guide-steps>div>b{border:1px solid #926db1;border-radius:50%;display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;font-size:12px;color:#d4b5f0}
.guide-steps span{font-size:14px;color:#e7d8f2}
.guide-steps small,.oracle-path small{display:block;color:#b29ac6;font-size:11px;line-height:1.5;margin-top:3px}
.outcome-key{display:flex;gap:10px;margin:18px 0}
.outcome-key>span{flex:1;background:#2f203a;border-radius:11px;padding:12px;font-size:10px;color:#bfa2d1}
.outcome-key b{display:block;font-size:12px;color:#eadbf4;font-weight:500;margin-top:3px}
.fee-equation{display:flex;gap:14px;align-items:center;margin:22px 0}
.fee-equation>div{background:#30203b;border-radius:15px;padding:18px 12px;flex:1;text-align:center}
.fee-equation b{font-size:32px;display:block;line-height:1.2;font-weight:500}
.fee-equation span{font-size:11px;color:#b99fce}
.guide-card{padding:14px 0;border-bottom:1px solid #62457544}
.guide-card b{font-size:13px}
.guide-card p{font-size:12px;margin:5px 0}
.oracle-path{display:grid;gap:18px;margin:24px 0}
.oracle-path>div>b{font-size:12px;color:#c49be5;border:1px solid #805b9e;border-radius:9px;padding:10px}
.oracle-path span{font-size:14px}
.trust-note{background:#332135;border:1px solid #92647b66;border-radius:12px;padding:14px;margin:20px 0}
.trust-note b{font-size:12px;color:#ddbbcf}
.trust-note p{font-size:11px;margin:5px 0 0}
.deadline-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.deadline-grid>div{background:#2e1f38;padding:10px;border-radius:10px}
.deadline-grid b{display:block;font-size:20px;font-weight:500}
.deadline-grid small{font-size:10px;line-height:1.4;display:block;color:#b59ac8}
.play-effects{position:fixed;inset:0;z-index:5;pointer-events:none;overflow:hidden}
.effect-particle,.effect-ring{position:absolute;pointer-events:none}
.effect-particle{border-radius:2px}
.effect-ring{width:32px;height:32px;border:1.5px solid;border-radius:50%}
.touch-label{fill:#ead2ff;font-size:8px;pointer-events:none}
.share-image{display:block;width:100%;border-radius:14px;border:1px solid #8763a1}
.share-image[hidden]{display:none}
.chart-share-image{max-height:34dvh;object-fit:contain;background:#180f22}
.chart-share-tools{display:flex;gap:10px}.chart-share-tools .action{flex:1;text-align:center;min-height:44px;font-size:11px}
.chain-market #drawer.chart-share-dialog{inset:0;margin:auto;width:min(840px,calc(100% - 24px));height:fit-content;max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:26px}
.chain-market #drawer.chart-share-dialog::backdrop{background:#0d07168c;backdrop-filter:blur(5px)}
.chain-market #drawer.chart-share-dialog .drawer-header{background:transparent;border:0;padding:18px 20px 6px}
.chart-share-dialog .drawer-heading h1{font-size:21px;letter-spacing:-.5px;white-space:normal;line-height:1.2}
.chart-share-dialog #drawer-title:focus{outline:none}
.chart-share-dialog #drawer-content{padding:10px 20px 20px}
.chart-share-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:center}
.chart-share-preview{min-width:0;padding:12px;border:1px solid #d3afed33;border-radius:20px;background:radial-gradient(ellipse at 40% 0,#d6aeef1f,transparent 75%),#150f21;box-shadow:inset 0 1px 0 #ffffff17,0 12px 35px #0d071f55}
.share-preview-meta{display:flex;justify-content:space-between;gap:8px;margin:0 1px 10px;font-size:9px;color:#bda4d1;letter-spacing:.2px}.share-preview-meta>span:first-child{color:#e9d2fc}
.chart-share-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:220px;width:100%;padding:0;border:0;border-radius:10px;background:transparent}
.image-expand-hint{position:absolute;right:8px;bottom:8px;padding:6px 9px;border:1px solid #e1c1fa44;border-radius:10px;background:#24162fed;color:#e7cff9;font-size:10px;box-shadow:0 3px 10px #0005;pointer-events:none}
.chart-share-dialog .chart-share-image{width:100%;max-height:430px;object-fit:contain;border:0;border-radius:10px;background:transparent;box-shadow:0 8px 24px #0003}
.chart-share-actions{min-width:0}.share-ready .eyebrow{color:#b8e5d4;font-size:9px;letter-spacing:1.6px}
.share-ready h2{font-size:26px;line-height:1.12;letter-spacing:-.7px;font-weight:600;margin:9px 0 10px}
.share-ready p{font-size:12px;line-height:1.5;color:#bda5ce;margin:0 0 18px}
.chart-share-actions>.action.primary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;text-align:center;margin:0 0 10px;font-size:13px}
.chart-share-actions .action svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.chart-share-actions .chart-share-tools .action{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-size:10px;padding:10px 8px}
.chart-share-actions .share-extras{margin:15px 0 0;border:0;background:transparent;padding:0}.share-extras summary{font-size:11px;min-height:36px;padding:9px 0;color:#c9b1da}
.chart-share-actions #share-status:not([hidden]){margin:12px 0 0;padding:10px 12px;border:1px solid #a9dfc53b;border-radius:12px;background:#87bc9d10;font-size:11px;color:#bcebd7}
.chart-share-actions .share-disclosure{font-size:9px;line-height:1.5;color:#a58eb8;margin:16px 0 0;text-align:left}
.chart-share-actions .share-readable{overflow-wrap:anywhere}.chart-share-actions #share-text{width:100%;box-sizing:border-box}
dialog.share-image-viewer{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;padding:0;background:#160f20;color:#eddef7}
.share-image-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.share-image-viewer::backdrop{background:#100b19}
.share-image-viewer header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid #c19edb33;background:linear-gradient(145deg,#39283f,#21172f)}
.share-image-viewer header>div{display:flex;align-items:center;gap:8px}
.share-image-viewer h1{font-size:17px;letter-spacing:-.3px}
.share-image-viewer button{min-height:44px;padding:9px 13px;border:1px solid #c8a4e444;border-radius:14px;background:#cab2f012;font-size:12px;white-space:nowrap}
.share-image-viewer .image-close{width:44px;padding:0;border-radius:50%;font-size:25px}
.share-image-scroll{overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;padding:18px;min-width:0;min-height:0}
.share-image-scroll img{display:block;width:100%;max-width:var(--image-width,1200px);height:auto;margin:0 auto;border-radius:12px;box-shadow:0 12px 40px #0005}
.share-image-scroll.actual-size img{width:var(--image-width,auto);max-width:none;margin:0}
@media(max-width:700px){
 .chain-market #drawer.chart-share-dialog{width:min(430px,calc(100% - 24px));border-radius:23px}
 .chain-market #drawer.chart-share-dialog .drawer-header{padding:14px 16px 2px}
 .chart-share-dialog .drawer-heading h1{font-size:19px}
 .chart-share-dialog #drawer-content{padding:10px 14px 16px}
 .chart-share-layout{grid-template-columns:1fr;gap:16px}
 .chart-share-preview{padding:10px;border-radius:16px}.chart-share-art{min-height:0}
 .chart-share-dialog .chart-share-image{max-height:30dvh}
 .share-ready{display:none}
 .chart-share-actions .chart-share-tools .action{font-size:11px}
 .chart-share-actions .share-extras{margin-top:8px}
 .chart-share-actions .share-disclosure{margin-top:5px;text-align:center}.chart-share-actions .share-disclosure br{display:none}
}
.share-skeleton{height:180px;background:#30203b;border-radius:14px;display:grid;place-items:center;color:#bda2d1;font-size:12px}
.share-preview.has-image{padding:0;border:0;background:none}
.share-preview.has-image .share-copy{padding:12px 0}
.share-preview.has-image h2{font-size:16px;margin:3px 0}
.share-preview.has-image p{font-size:11px;color:#baa2cb;margin:4px 0}
.action-status{font-size:11px}
.account-links{margin-top:15px}
.activity-meta{display:flex;align-items:center;gap:8px;color:#b8a0c7;font-size:11px;margin:2px 0 18px}
.activity-meta strong{font-size:20px;color:#e6d3f5}
.result-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.result-summary>span{padding:12px;background:#b494d511;border:1px solid #80629344;border-radius:12px;color:#c4afd2;font-size:11px}
.result-summary b{display:block;color:#f0e5f7;font-size:17px;font-weight:550;overflow-wrap:anywhere}
.result-summary small{font-size:10px;color:#bda5ce}
.result-share{min-height:46px}
.panel-details{border:1px solid #80629344;border-radius:14px;background:#a783c609;margin:14px 0;padding:0 12px}
.panel-details>summary{min-height:46px;font-size:12px;align-content:center}
.panel-details[open]>summary{border-bottom:1px solid #80629333;margin-bottom:10px}
.panel-details p{overflow-wrap:anywhere}
.share-readable{white-space:pre-line;font-size:12px;line-height:1.65;color:#e1ceef}
.share-disclosure{font-size:11px;text-align:center;color:#c8b2d6}
.guide-card{padding:14px;border:1px solid #80629333;border-radius:14px;margin:10px 0;background:#b494d509}
.guide-card p{margin-bottom:0}
#drawer-feedback{position:sticky;bottom:0;margin:0 12px 12px;padding:12px 14px;border:1px solid #bb8ad277;border-radius:12px;background:#392444;color:#f3e5ff;box-shadow:0 -6px 28px #160d2388;font-size:12px;z-index:2}
#drawer-feedback[hidden]{display:none}
.panel-empty.is-loading>.panel-icon{animation:progress-orbit 2.4s linear infinite}
#drawer-content[data-view=rules] .help-heading{margin:4px 0 14px}
#drawer-content[data-view=rules] .help-demo svg{max-height:110px}
#drawer-content[data-view=rules] .guide-steps{gap:14px;margin:16px 0}
#drawer-content[data-view=rules] .help-heading h2{font-size:25px}
.chain-market button:disabled{cursor:default}
.no-effects .help-demo *,.no-effects .progress-orbit{animation:none!important}
@keyframes help-line{0%{stroke-dashoffset:360}
50%,100%{stroke-dashoffset:0}
}
@keyframes help-touch{0%,40%{opacity:.15;r:3}
55%{opacity:1;r:8}
75%,100%{opacity:1;r:5}
}
@keyframes progress-orbit{to{transform:rotate(360deg)}
}

@media(max-width:600px){#drawer:not(.session-dialog){width:calc(100% - 16px)}
.balance-hero>strong{font-size:38px}
.bet-tile{gap:8px;padding:12px 10px}
.bet-mark{width:28px;height:28px}
.bet-value strong{font-size:15px}
.bet-caption b{font-size:12px}
.price-band{flex-direction:column;gap:3px}
.drawer-header{padding:14px 16px}
.drawer-heading h1{font-size:16px}
.result-hero>strong{font-size:40px}
}

.session-permission{margin:16px 0;padding:15px;border:1px solid #7d5b9566;border-radius:14px;background:#2d1e39}
.session-permission>div:first-child{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.session-permission>div:first-child>span{font-size:10px;color:#af95c4}
.session-permission strong{font-size:19px;font-weight:550}
.session-permission small{font-size:10px;color:#c2a4da}
.permission-roles{display:flex;gap:24px;margin-top:13px}
.permission-roles span{font-size:10px;color:#aa8ec0}
.permission-roles b{display:block;font-size:11px;font-weight:500;color:#e0c9f0}
.session-permission p{font-size:10px;margin:12px 0 0;line-height:1.5}


/* A short guided entrance; the same steps survive wallet handoffs. */
.session-rail{display:flex;gap:12px;list-style:none;padding:0;margin:10px 0 24px}
.session-rail li{display:flex;align-items:center;gap:6px;flex:1;font-size:10px;color:#a18aaf;position:relative}
.session-rail li:not(:last-child):after{content:'';height:1px;background:#684d7c55;flex:1;margin-left:4px}
.session-rail li>span{display:grid;place-items:center;width:21px;height:21px;border:1px solid #785391;border-radius:50%;flex-shrink:0;font-size:10px}
.session-rail .current{color:#f0dfff}.session-rail .current>span{background:#c4a1eb;border-color:#c4a1eb;color:#281535}
.session-rail .done>span{color:#b0edcf;border-color:#85ba9b88;background:#71bd9b15}
.session-welcome{text-align:center;padding:2px 0 6px}.session-welcome>img{margin:2px auto 8px;display:block}
.session-dialog .session-welcome h2{font-size:25px;line-height:1.15;letter-spacing:-.7px;font-weight:560;margin:14px 0 10px}
.session-dialog .session-welcome p{font-size:12px;line-height:1.65;color:#bfa8ce;margin:8px 0}
.session-guide .session-next{text-align:center;font-size:10px;line-height:1.5;color:#b69cc9;margin:10px 0 0}
.session-guide .drawer-note{text-align:center;font-size:9px;color:#aa91bb;margin:17px 0 0}
.session-guide .session-lead{font-size:12px;line-height:1.5;margin:0 0 16px;color:#cbb8d8}
.funding-choices{display:flex;gap:8px;margin:0 0 20px}
.funding-choices button{flex:1;min-height:40px;padding:8px 10px;border:1px solid #73528b66;border-radius:12px;background:linear-gradient(160deg,#dbc0ef0d,#30203e);text-align:center;font-size:13px;font-variant-numeric:tabular-nums;transition:background .18s,border-color .18s}
.funding-choices button[hidden],.funding-faucet[hidden]{display:none}
.funding-choices:not(:has(button:not([hidden]))){display:none}
.funding-choices [aria-pressed=true]{border-color:#c9a7eb;background:#a975d329;box-shadow:inset 0 0 0 1px #c9a7eb44}
.session-guide .funding-label{display:flex;justify-content:space-between;color:#c5aed7;font-size:11px;margin-bottom:7px}
.funding-field{position:relative}
.funding-field>span{position:absolute;right:16px;top:50%;transform:translateY(-50%);pointer-events:none;color:#bc9dd2;font-size:12px}
.session-guide #deposit-amount{width:100%;box-sizing:border-box;padding:17px 76px 17px 16px;font-size:30px;line-height:1.2;font-variant-numeric:tabular-nums;min-height:74px;margin:0;transition:border-color .18s}
.session-guide #deposit-amount:focus{outline:2px solid #d1aff1;outline-offset:2px}
.funding-field:has(.funding-max)>span{right:68px}
.session-guide .funding-field:has(.funding-max) #deposit-amount{padding-right:118px}
.funding-max{position:absolute;right:8px;top:50%;transform:translateY(-50%);min-width:48px;min-height:44px;padding:8px;border:1px solid #c9a7eb55;border-radius:12px;background:#a975d31a;color:#e2c7f8;font-size:12px;transition:background .18s,border-color .18s,opacity .18s}
.funding-max:hover:not(:disabled){background:#a975d333;border-color:#c9a7eb}
.funding-max:focus-visible{outline:2px solid #d1aff1;outline-offset:2px}
.funding-max:disabled{opacity:.4;cursor:default}
.session-guide .funding-hint{font-size:11px;margin:7px 0 0;min-height:17px;line-height:1.5;color:#b9dec9}
.session-guide .funding-hint[data-error]{color:#edb8c5}
.session-guide .funding-wallet{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#aa92ba;margin:9px 0 14px;line-height:1.5}
.funding-wallet>span{color:#d3bddf;text-align:right;font-variant-numeric:tabular-nums}
.funding-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:17px;border-top:1px solid #b98bd326}
.funding-preview>span{flex-shrink:0;font-size:11px;color:#c7aed8}.funding-preview small{display:block;margin-top:4px;font-size:10px;color:#a98cbd}
.funding-preview>div{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:9px;min-width:0;font-size:16px;font-variant-numeric:tabular-nums;color:#a98cbd}
.funding-preview>div>*{max-width:100%;overflow-wrap:anywhere}
.funding-preview strong{font-size:22px;font-weight:550;color:#e3ffef;overflow-wrap:anywhere}
.funding-arrow{color:#b89ad0;font-size:17px}
.session-guide .funding-faucet{display:block;text-align:center;font-size:11px;padding:12px 0 0;min-height:32px}
.session-guide .funding-faucet[hidden]{display:none}
.session-guide[data-session-stage=fund] .drawer-note{margin-top:13px}
.session-guide .session-consent{border-top:1px solid #65477b66;padding-top:13px;margin:13px 0 0;color:#bca5cd;font-size:10px;line-height:1.5}
.session-consent b{color:#e5d5ef;font-weight:500;font-size:11px;display:block}
.session-dialog .session-consent p{font-size:10px;line-height:1.5;margin:7px 0 0;color:#bca5cd}
.session-guide .primary{margin:17px 0 0}.session-guide .action-status{margin:12px 0 0;padding:10px;border-radius:10px;background:#50364755;color:#f0c8d6;font-size:11px;line-height:1.5}
.session-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.session-footer .action{width:auto!important;margin:0!important;padding:6px 0!important;min-height:40px;font-size:10px}
.session-footer a{font-size:10px;padding:10px 0}
.session-emblem{position:relative;display:grid;place-items:center;width:72px;height:72px;margin:3px auto 16px}
.session-emblem img{border-radius:50%}.session-emblem .progress-orbit{position:absolute;inset:0;border:1px solid #78559177;border-top:2px solid #d7b3f3;border-radius:50%;animation:progress-orbit 2s linear infinite}
.ready-check{display:grid;place-items:center;position:absolute;right:0;bottom:0;width:25px;height:25px;border-radius:50%;background:#b6efd8;color:#183a2c;border:3px solid #24182f;font-size:12px}
.session-welcome .ready-balance{display:block;font-size:36px;letter-spacing:-1px;font-weight:520;margin:13px 0 18px;color:#dbffeb}
.ready-balance small{font-size:14px;font-weight:400;letter-spacing:0;color:#c5dccc}
.session-handoff{border:1px solid #6c517866;background:#30213a88;border-radius:12px;padding:13px 14px;margin:15px 0}
.session-handoff b{display:block;font-size:12px;font-weight:550;color:#e8d9f2}.session-handoff span{display:block;color:#bea6ce;font-size:11px;line-height:1.6;margin-top:4px}
.first-move{--move-accent:#d9b7f4;--move-hit:#a4edcf;--move-ink:#f2e6fa}
#drawer.session-dialog:has(.first-move) .drawer-heading h1{font-size:22px;font-weight:600;letter-spacing:-.5px}
.session-guide .first-move-lead{font-size:15px;line-height:1.5;color:#d7bfe7;margin:0 0 15px}
.first-move-scene{overflow:hidden;border:1px solid #c39bd633;border-radius:18px;background:radial-gradient(ellipse at 58% 50%,#a975d322,transparent 70%),linear-gradient(145deg,#37253f,#1c1327);box-shadow:inset 0 1px #e5c6f519,0 8px 24px #08030e30;margin-bottom:22px}
.first-move-scene svg{display:block;width:100%;height:auto;overflow:visible}
.first-move-grid{fill:none;stroke:#b697c31c;stroke-width:1}
.first-move-soon{fill:#c2a4df0a}
.first-move-box{fill:url(#first-move-glass);stroke:var(--move-hit);stroke-width:1.5;filter:drop-shadow(0 0 7px #b696e84d);animation:first-move-box 4s ease both}
.first-move-pick{fill:var(--move-accent);font-size:10px;font-weight:550}
.first-move-history{fill:none;stroke:#eeddf9;stroke-width:2.3;stroke-linecap:round;filter:drop-shadow(0 0 4px #d3aaf299)}
.first-move-now{fill:var(--move-accent)}
.first-move-line{fill:none;stroke:#eeddf9;stroke-width:2.3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0;filter:drop-shadow(0 0 4px #d3aaf299);animation:first-move-line 4s ease both}
.first-move-halo{fill:var(--move-hit);opacity:.14;transform-box:fill-box;transform-origin:center;animation:first-move-halo 4s ease both}
.first-move-tip{fill:#f1fff8;filter:drop-shadow(0 0 5px #c9ffe8);animation:first-move-tip 4s ease both}
.first-move-time{fill:#ab93bd;font-size:8px;letter-spacing:1.4px}
.first-move-steps{list-style:none;padding:0;margin:0;display:grid;gap:17px}
.first-move-steps li{display:flex;gap:12px;align-items:flex-start}
.first-move-steps li>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;border:1px solid #d9b7f44d;background:#b38cd41c;color:var(--move-accent);font-size:12px}
.first-move-steps li:last-child>span{color:var(--move-hit);background:#8fd8b813;border-color:#8fd8b84d}
.first-move-steps strong{display:block;color:var(--move-ink);font-size:16px;font-weight:560;line-height:1.4}
.session-guide .first-move-steps p{color:#bfa6cf;font-size:12px;line-height:1.55;margin:4px 0 0}
.first-move-funds{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #b89bc22b;margin-top:22px;padding:16px 0 4px}
.first-move-funds>span{min-width:0;color:#b59bc5;font-size:10px;line-height:1.5}
.first-move-funds>span:last-child{text-align:right}
.first-move-funds strong{display:block;color:#d9e9e1;font-size:16px;font-weight:500;overflow-wrap:anywhere}
.first-move-funds small{font-size:10px;font-weight:400;color:#b9bdba}
.session-guide .first-move-note{text-align:center;font-size:10px;line-height:1.5;color:#ae96bd;margin:10px 0 0}
@keyframes first-move-line{0%,14%{stroke-dashoffset:1}70%,100%{stroke-dashoffset:0}}
@keyframes first-move-box{0%,15%{opacity:.35;stroke:var(--move-accent)}28%,64%{opacity:1;stroke:var(--move-accent)}72%,100%{opacity:1;stroke:var(--move-hit)}}
@keyframes first-move-tip{0%,68%{opacity:0}74%,100%{opacity:1}}
@keyframes first-move-halo{0%,68%{opacity:0;transform:scale(.5)}78%{opacity:.25;transform:scale(1.2)}100%{opacity:.14;transform:scale(1)}}
.no-effects .first-move-scene *{animation:none!important}
@media(prefers-reduced-motion:reduce){.first-move-scene *{animation:none!important}}
@media(max-width:360px){.first-move-scene{margin-bottom:16px}.first-move-steps{gap:13px}.first-move-steps strong{font-size:15px}.first-move-funds{margin-top:17px;padding-top:13px}}
/* The win is a transient space in the chart, not a dialog or text card. */
.win-celebration{position:absolute;inset:0;pointer-events:none;overflow:hidden;isolation:isolate}
.win-celebration canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.win-atmosphere{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 42%,#a2efc514,transparent 52%,#150d2422);animation:win-atmosphere 4.2s ease both}
.win-fallback{position:absolute;left:50%;top:42%;width:min(260px,68vw);aspect-ratio:1;transform:translate(-50%,-50%);perspective:600px;animation:win-bloom 4.2s ease both}
.win-fallback:before{content:'';position:absolute;inset:-40%;border-radius:50%;background:radial-gradient(ellipse,#a8f3d535 0,#bda2ff18 32%,transparent 68%)}
.win-emblem{position:absolute;inset:25%;filter:drop-shadow(0 0 18px #bda2ff88);transform:rotateY(-18deg) rotateZ(-8deg)}
.win-emblem img{display:block;width:100%;height:100%;object-fit:contain}
.win-orbit{position:absolute;inset:5%;border-radius:50%;border:1.5px solid #c3ffe5b0;box-shadow:0 0 14px #8cddc642,inset 0 0 9px #d0ffee30;transform:rotateX(66deg) rotateZ(-27deg);animation:win-orbit 4.2s ease both}
.win-orbit:nth-child(2){inset:13%;border-color:#d4bdffb0;transform:rotateY(66deg) rotateZ(22deg)}
.win-orbit:nth-child(3){inset:-3%;border-color:#f6dd9d80;transform:rotateX(62deg) rotateZ(67deg)}
.win-result{position:absolute;left:50%;top:calc(42% + min(110px,26vw));transform:translate(-50%,0);z-index:2;text-align:center;color:#edfff4;white-space:nowrap;text-shadow:0 2px 10px #0c171fee,0 0 24px #a9f6cd77}
.win-result strong{display:block;font-size:clamp(28px,7vw,40px);font-weight:550;letter-spacing:-1.3px;line-height:1.2;font-variant-numeric:tabular-nums}
.win-unit{display:block;margin-top:5px;color:#c0d9d0;font-size:10px;letter-spacing:1.1px}
.win-brand{display:none;position:absolute;z-index:2;pointer-events:none;transform:translate(-50%,-50%)}
.win-brand img,.win-brand svg{display:block;width:100%;height:100%;object-fit:contain}
.has-webgl .win-brand{display:block}
.win-result-icon{display:none}.has-webgl .win-fallback{display:none}
.win-quiet .win-atmosphere,.win-quiet .win-fallback{display:none}
.win-quiet .win-result{left:18px;top:auto;bottom:100px;transform:none;display:grid;grid-template-columns:27px auto;column-gap:8px;text-align:left}
.win-quiet .win-result-icon{display:block;grid-row:1/3;width:27px;height:27px;align-self:center;filter:drop-shadow(0 0 10px #bda2ff66)}
.win-quiet .win-result strong{font-size:24px;letter-spacing:-.6px}.win-quiet .win-unit{font-size:9px;margin-top:2px}
@keyframes win-atmosphere{0%,100%{opacity:0}18%,70%{opacity:1}}
@keyframes win-bloom{0%{opacity:0;scale:.3}18%{opacity:1;scale:1.04}35%,67%{opacity:1;scale:1}100%{opacity:0;scale:.3}}
@keyframes win-orbit{0%{opacity:0;scale:.3}18%{opacity:1;scale:1.15}55%{scale:1}100%{opacity:0;scale:1.5}}
@media(prefers-reduced-motion:reduce){.win-celebration *{animation:none!important}}
@media(max-width:360px){.session-dialog .session-welcome h2{font-size:22px}.session-rail{gap:7px;margin-bottom:18px}.session-footer{gap:6px}.funding-choices{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.session-emblem .progress-orbit{animation:none}}

/* Own terms and the next offer are sibling controls, each at least 44px high. */
.quote-hit{fill:transparent;stroke:none}.quote-divider{stroke:#b18cce55;stroke-width:.7;pointer-events:none}
.owned-bets text,.additional-bet text{pointer-events:none;font-variant-numeric:tabular-nums}
.quote-caption{fill:#bea5d0;font-size:8px;letter-spacing:.4px}.own-multiplier{fill:#f1e2ff;font-size:14px;font-weight:600}.own-multiplier.quote-range{font-size:12px}
.add-multiplier{fill:#cda5ef;font-size:14px;font-weight:500}.quote-window-state{fill:#a789bc;font-size:8px;letter-spacing:.5px}
.box.won~.owned-bets .own-multiplier{fill:#a7edcf}.box.lost~.owned-bets .own-multiplier{fill:#e7a7bd}
.owned-bets:focus-visible .quote-hit,.additional-bet:focus-visible .quote-hit{stroke:#f7efff;stroke-width:1.5}
.box-quote-note{font-size:12px;line-height:1.7;color:#bca5ce;margin:3px 0 20px}.box-bet-list{display:grid;gap:10px}
.locked-bet{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px 12px;width:100%;text-align:left;padding:15px;border:1px solid #73508a66;border-radius:14px;background:#30203d}
.locked-bet>span>b{font-size:12px;font-weight:500}.locked-bet>span>small{display:block;font-size:10px;color:#b49bc7;margin-top:4px}
.locked-bet .locked-rate{font-size:24px;font-weight:550;color:#e9d4ff;letter-spacing:-.5px}.locked-bet .locked-cost{font-size:11px;color:#cbb5da;grid-column:1/-1}.locked-bet>small{font-size:10px;color:#ad93c0;grid-column:1/-1}
.box-closed-note{padding:14px;border:1px solid #72528566;border-radius:12px;font-size:11px;color:#b79bc9}
@media(max-width:600px){.own-multiplier{font-size:13px}.own-multiplier.quote-range{font-size:11px}.add-multiplier{font-size:12px}}

.player-identity{display:inline-flex;align-items:center;gap:9px;min-width:0;max-width:100%;text-align:left;color:#e9dff3;vertical-align:middle}.player-avatar{position:relative;display:inline-flex;overflow:hidden;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 1px #c9b0e530}.player-avatar>svg,.player-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:none}.player-label{min-width:0;display:block}.player-label>b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.player-label>small{display:block;overflow-wrap:anywhere;white-space:normal;color:#a991bc;font-size:10px;line-height:1.5}.identity .player-label{font-family:inherit}.identity .player-label>b{font-family:Inter,ui-sans-serif,sans-serif}.account-profile{display:flex;justify-content:center;margin:4px 0 12px}.bet-caption .player-identity{display:flex;margin-bottom:7px;gap:6px}.bet-caption .player-avatar{width:22px!important;height:22px!important}.bet-caption .player-label>b{font-size:11px}.bet-caption .player-identity+b{font-size:11px}.bet-tile:has(.player-identity)>.bet-mark{display:none}.bet-tile:has(.player-identity){min-height:94px}#wallet-avatar{display:inline-flex;align-items:center;flex-shrink:0}#wallet-avatar .player-avatar>img{width:100%;height:100%;filter:none}.player-avatar-svg{overflow:hidden}#drawer-content>.player-identity{margin-bottom:15px;width:100%}

/* One quiet control; keep the narrow-screen market header clear. */
#sound-button{width:44px;height:44px;min-height:44px;color:var(--muted)}
#sound-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#sound-button[data-active=true]{color:#e7d6ff;border-color:#b991d5}
@media(max-width:600px){.top-right{display:grid;grid-template-columns:auto 44px;gap:6px}#activity-button{grid-column:1;grid-row:1;justify-self:end}#menu-button{grid-column:2;grid-row:1}#sound-button{position:static;grid-column:2;grid-row:2}.top-right .session-entry{position:static;grid-column:1;grid-row:2}}

/* The stake menu sits above the existing lower-right control. */
.stake-pill #stake-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:110px;height:44px;padding:0 12px;border-radius:24px;font-size:15px}
.stake-pill #stake-button img{width:23px;height:23px;filter:none;flex-shrink:0}
.stake-pill #stake-button strong{font-weight:650;font-variant-numeric:tabular-nums}
.stake-pill #stake-button small{font-size:8px;letter-spacing:.4px}
.stake-chevron{font-size:13px;color:#c1a0d5;margin-left:2px;transition:transform .16s}
#stake-button[aria-expanded=true] .stake-chevron{transform:rotate(180deg)}
#stake-button:not([aria-haspopup]) .stake-chevron{display:none}
.stake-menu{position:absolute;right:0;bottom:calc(100% + 10px);width:244px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 104px);overflow:auto;padding:10px;border:1px solid #79518e88;border-radius:23px;background:#190e20f7;box-shadow:inset 0 0 14px #ba6ab92b,0 10px 36px #1008178c;backdrop-filter:blur(18px);animation:stake-menu-in .14s ease-out;transform-origin:bottom right}
.stake-menu[hidden]{display:none}
.stake-menu [role=menuitemradio]{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:10px 14px;border-radius:14px;background:transparent;text-align:left;font-size:19px;font-weight:450;white-space:nowrap;gap:12px;margin:3px 0;font-variant-numeric:tabular-nums}
.stake-menu [role=menuitemradio][aria-checked=true]{background:#403044}
.stake-menu [role=menuitemradio]:hover{background:#3b2b42}
.stake-menu [role=menuitemradio]:focus-visible{outline:2px solid #d4b7f4;outline-offset:-2px}
.stake-menu small{font-size:10px;color:#bca6ca;margin-left:4px}
.stake-menu kbd{font:500 12px/1.2 Inter,ui-sans-serif,sans-serif;background:#4a424e;color:#e9dfed;border-radius:7px;padding:5px 7px;min-width:35px;text-align:center}
@keyframes stake-menu-in{from{opacity:0;transform:translateY(5px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.stake-pill #stake-button{min-width:105px;font-size:14px;padding:0 10px;gap:7px}.stake-menu{width:230px}}
@media(prefers-reduced-motion:reduce){.stake-menu{animation:none}.stake-chevron{transition:none}}

.toggle-state{min-width:38px;text-align:center;font-size:11px;padding:4px 8px;border-radius:20px;background:#8e70aa22;color:#c2adcf}.toggle-item[aria-pressed=true] .toggle-state{background:#9f7ac546;color:#f2e3ff}

.recovery-available{display:block;color:#b6e4ce;font-size:11px;padding:0 0 9px 16px}

/* Explicit practice identity, with a reachable mode switch at every width. */
#mode-button{min-height:44px;min-width:66px;background:transparent;border:1px solid #b18bc23b;border-radius:22px;padding:8px;opacity:1}
.paper-mode #mode-button{color:#a9efdc;background:#17403977;border-color:#7eddb55c}
.paper-mode #activity-button[hidden]{display:none}
.paper-note{margin:0 0 16px;color:#a9e7d5;font-size:10px;letter-spacing:.7px}
@media(max-width:600px){#mode-button{top:50px;left:0;padding:6px;min-height:44px;min-width:66px}body.paper-mode #notice{top:106px}}
.paper-mode .top-right .icon-button{width:44px;height:44px;min-height:44px}

/* Mode selection is a compact destination, not a full-height account drawer. */
.chain-market #drawer.mode-dialog{inset:0;margin:auto;width:min(660px,calc(100% - 24px));height:fit-content;max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:26px}
.chain-market #drawer.mode-dialog::backdrop{background:#0d07168c;backdrop-filter:blur(5px)}
.chain-market #drawer.mode-dialog .drawer-header{border:0;background:transparent;padding:20px 22px 0}
.mode-dialog .drawer-heading h1{font-size:22px;letter-spacing:-.6px;white-space:normal;line-height:1.2}
.mode-dialog #drawer-title:focus{outline:none}
.mode-dialog #drawer-content{padding:0 22px 18px}
.mode-intro{margin:4px 0 20px;color:#c3add1;font-size:13px}
.mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mode-choice{--mode-accent:#cfaaf7;--mode-tint:#b991ef;position:relative;display:flex;flex-direction:column;align-items:stretch;isolation:isolate;min-width:0;padding:15px;border:1px solid #b18ac84d;border-radius:20px;background:radial-gradient(ellipse at 50% 20%,color-mix(in srgb,var(--mode-tint) 13%,transparent),transparent 75%),linear-gradient(155deg,#ffffff06,#ffffff00),#21162e;box-shadow:inset 0 1px 1px #ffffff14,0 7px 25px #0e071f33;text-align:left;transition:transform .2s,border-color .2s,box-shadow .2s;color:#f5eafa;overflow:hidden}
.mode-paper{--mode-accent:#abeed7;--mode-tint:#79d9b5}
.mode-choice[data-current=true]{border-color:color-mix(in srgb,var(--mode-accent) 65%,transparent);box-shadow:inset 0 1px 1px #ffffff24,0 0 24px color-mix(in srgb,var(--mode-tint) 10%,transparent)}
.mode-choice:focus-visible{outline:2px solid var(--mode-accent);outline-offset:3px}
.mode-current{min-height:20px;align-self:flex-start;display:inline-flex;align-items:center;gap:5px;font-size:9px;line-height:1.3;letter-spacing:1.1px;font-weight:600;color:#bca4cf}
.mode-current svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mode-choice[data-current=true] .mode-current{color:var(--mode-accent);letter-spacing:.2px;font-size:10px}
.mode-art{display:block;color:var(--mode-accent);margin:1px -6px 0;pointer-events:none}
.mode-scene{display:block;width:100%;height:150px;overflow:visible}
.mode-scene-float{transform-origin:120px 84px;animation:mode-scene-arrive .7s cubic-bezier(.2,.7,.2,1) both}
.mode-scene-chip{animation:mode-chip-arrive .7s .12s both}
.mode-trace,.mode-trace-light{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.3}
.mode-trace-light{stroke-width:9;opacity:.1}
.mode-trace{animation:mode-line-arrive 1.3s .12s both}
.mode-scene-tip{animation:mode-tip-arrive 1.5s both}
.mode-copy{display:flex;flex-direction:column;gap:7px;flex:1;line-height:1.45}
.mode-copy>strong{font-size:24px;font-weight:600;letter-spacing:-.6px;line-height:1.2}
.mode-copy>span:not(.mode-perk){font-size:12px;color:#c3accf;max-width:24ch}
.mode-perk{font-size:10px;color:var(--mode-accent);margin-top:3px}
.mode-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-top:18px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--mode-accent) 30%,transparent);border-radius:12px;background:linear-gradient(165deg,color-mix(in srgb,var(--mode-tint) 22%,transparent),color-mix(in srgb,var(--mode-tint) 9%,transparent));color:var(--mode-accent);box-shadow:inset 0 1px 0 #ffffff10;font-size:12px;font-weight:600}
.mode-cta svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.mode-footnote{font-size:10px;text-align:center;color:#ad95bf;margin:16px 0 0}
@media(hover:hover) and (pointer:fine){.mode-choice:hover{transform:translateY(-2px);border-color:var(--mode-accent);box-shadow:inset 0 1px 1px #ffffff26,0 5px 24px color-mix(in srgb,var(--mode-tint) 12%,transparent)}.mode-choice:hover .mode-cta svg{transform:translateX(3px)}}
.mode-choice:active{transform:scale(.985)}
@keyframes mode-scene-arrive{from{opacity:.3;transform:translateY(9px) scale(.97)}to{opacity:1;transform:none}}
@keyframes mode-chip-arrive{from{opacity:0}to{opacity:1}}
@keyframes mode-line-arrive{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}
@keyframes mode-tip-arrive{0%,70%{opacity:0}100%{opacity:1}}
.no-effects .mode-choice *{animation:none!important;transition:none!important}
.no-effects .mode-choice{transition:none!important}
@media(max-width:540px){
 .chain-market #drawer.mode-dialog{width:calc(100% - 24px);border-radius:23px}
 .chain-market #drawer.mode-dialog .drawer-header{padding:16px 16px 0}
 .mode-dialog .drawer-heading h1{font-size:20px}
 .mode-dialog #drawer-content{padding:0 14px 17px}
 .mode-intro{font-size:12px;margin:5px 3px 18px}
 .mode-choices{grid-template-columns:1fr;gap:12px}
 .mode-choice{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:9px;padding:13px 12px;border-radius:18px;align-items:center}
 .mode-current{grid-column:2;grid-row:1;font-size:8px;min-height:18px}
 .mode-art{grid-column:1;grid-row:1/3;margin:0 -12px 0 -10px}
 .mode-scene{height:120px}
 .mode-copy{grid-column:2;grid-row:2;gap:5px}
 .mode-copy>strong{font-size:21px}
 .mode-copy>span:not(.mode-perk){font-size:11px}
 .mode-perk{font-size:9px;margin-top:3px}
 .mode-cta{grid-column:1/-1;margin-top:12px;font-size:12px;min-height:44px}
 .mode-footnote{margin-top:14px;font-size:10px}
}
@media(max-width:360px){.mode-choice{grid-template-columns:76px minmax(0,1fr);column-gap:7px}.mode-scene{height:112px}.mode-copy>strong{font-size:19px}.mode-copy>span:not(.mode-perk){font-size:10px}}

.effect-hit{position:absolute;display:grid;gap:3px;text-align:center;pointer-events:none;color:#c9ffed;text-shadow:0 0 15px #88e8c8aa,0 2px 8px #140c20;white-space:nowrap}
.effect-hit b{font-size:18px;font-weight:650;letter-spacing:-.3px}.effect-hit small{font-size:9px;color:#ddcbed}
