/* V05: reactions are scoped to game UI. No market/chart selectors, ancestor
   filters or canvas transformations. Exact quote/chart styling stays in market/. */
.loot-open{display:flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;min-height:45px;margin-left:auto;background:linear-gradient(120deg,#e7ff8b,#d5ff45 55%,#94cf30);color:#182307;border:1px solid #f0ffb5;border-radius:5px;font-size:13px;font-weight:850;box-shadow:0 0 0 4px #d5ff450b,0 8px 25px #a9e53819;position:relative;overflow:clip}
.loot-open>span{font-size:23px;line-height:1}.loot-open>b{font:800 15px League Display,sans-serif;letter-spacing:1px;border-left:1px solid #27340740;padding-left:9px}
.loot-open:after{content:'';position:absolute;inset:-50%;background:linear-gradient(105deg,transparent 40%,#fff8 49%,transparent 58%);transform:translateX(-80%)}
.loot-open:hover:after{animation:loot-shine .65s ease-out}.loot-open:hover{background:#fff;color:#17200c;box-shadow:0 0 22px #d5ff4538}
#motion-switch{background:#21192d;border:1px solid #9d79ff40;border-radius:4px;color:#bca5d4;min-height:34px;font-size:10px;padding:7px 9px}
#classroom>.league-player-hud{background:radial-gradient(ellipse at 0% 0%,#8054b52e,transparent 60%),linear-gradient(120deg,#281d38,#16131d 66%);border-color:#b18fe34d;box-shadow:inset 0 1px #ffffff16,0 10px 40px #0002;overflow:clip}
#classroom .my-summary strong{font-weight:850;text-shadow:0 3px 14px #0005;font-variant-numeric:tabular-nums}
#classroom .league-player-mark{box-shadow:0 0 30px #9d79ff33;transform:rotate(-5deg)}
#classroom>.league-player-hud>.my-pc{background:linear-gradient(110deg,#ecff9f,#d5ff45);transition:box-shadow .18s,background .18s}
#classroom>.league-player-hud>.my-pc:hover{background:#fff;box-shadow:5px 5px 0 #9d79ff,0 0 30px #d5ff4525}
#classroom .classmate.world-student{border-radius:3px 3px 11px 3px;transition:background .15s,border-color .15s,box-shadow .15s}
#classroom .classmate.world-student[data-card-tier=gold]{background:radial-gradient(ellipse at 50% 95%,#e7ba5e28,transparent 80%);border-bottom:2px solid #efc56888}
#classroom .classmate.world-student[data-card-tier=gold] .seat-rank{color:#ffe3a4;background:#3e2d14}
#classroom .classmate.world-student[data-card-tier=epic]{border-bottom-color:#b193ec77}
#classroom .classmate.world-student:hover{background:#ece3ff;color:#1c102c;box-shadow:0 0 25px #b88bff55}
#classroom .classmate.world-student:hover strong,#classroom .classmate.world-student:hover>b{color:#261039;text-shadow:none}
#classroom .classmate.world-student:hover .world-portrait{box-shadow:0 7px 15px #2b0c5240}
#classroom .classmate.world-student[data-inspecting]{box-shadow:inset 0 -3px #b68bff,0 0 0 1px #b68bff77,0 0 22px #9d79ff22}
#classroom .classmate.world-student[data-rival=true] .world-country:after{content:' ★';color:#d5ff45}
.floor-inspector{border-color:#b894f780;box-shadow:0 0 0 3px #9d79ff09,0 18px 45px #0005;background:radial-gradient(ellipse at 0% 100%,#51357933,transparent 55%),#1b1426;border-radius:6px 6px 22px 6px}
.floor-inspector-label{background:linear-gradient(100deg,#392448,#21172e)}
.floor-inspector-label>span{color:#e4ff7c;text-shadow:0 0 18px #d5ff4525}
.floor-person-art{animation:league-card-reveal .45s cubic-bezier(.16,.8,.18,1)}
.floor-person-copy h3{font-weight:900;letter-spacing:-1px;text-shadow:2px 2px 0 #9d79ff35,0 5px 20px #0007}
.floor-inspector:has([data-floor-position][data-direction=up]){border-color:#63e8b077}
.floor-inspector:has([data-floor-position][data-direction=down]){border-color:#ff899477}
.floor-position[data-direction=up]{background:linear-gradient(90deg,#63e8b00c,transparent)}
.floor-position[data-direction=down]{background:linear-gradient(90deg,#ff89940c,transparent)}
.floor-person-score b{font-size:28px;letter-spacing:-.9px}
.floor-person-actions button{transition:background .15s,color .15s,box-shadow .15s}
.floor-person-actions button:hover{background:#f6edff;color:#241132;box-shadow:3px 3px 0 #9d79ff55}
#classroom .floor-feed li>button{border-left:3px solid #aa83d2;background:linear-gradient(110deg,#30213d,#1c1525);box-shadow:0 6px 14px #0002}
#classroom .floor-feed li>button:has(b.positive){border-left-color:#63e8b0}
#classroom .floor-feed li>button:has(b.negative){border-left-color:#ff8994}
#classroom .floor-feed li>button:hover{background:#f1e8fb;color:#281435}
#classroom .floor-feed li>button:hover strong,#classroom .floor-feed li>button:hover span,#classroom .floor-feed li>button:hover small{color:#472a60}
.league-value-pop{animation:league-value-pop .7s cubic-bezier(.2,.8,.2,1)}
.league-reaction{position:relative;isolation:isolate;overflow:clip;display:grid;grid-template-columns:1fr auto;gap:5px 25px;padding:25px 32px;margin:0 0 20px;border:1px solid #c2a3ec;border-left:5px solid #b18ce9;border-radius:5px 5px 24px 5px;background:linear-gradient(110deg,#472b61,#20142f);box-shadow:0 0 0 4px #9d79ff0b,0 14px 45px #0004}
.reaction-label{font:700 10px League Sans,sans-serif;letter-spacing:2px;color:#c4a6e6}
.league-reaction>[data-reaction-title]{font:800 clamp(35px,4vw,64px)/.98 League Display,sans-serif;letter-spacing:1px;color:#faf2ff;grid-column:1}
.league-reaction>[data-reaction-number]{font:800 clamp(55px,6vw,92px)/1 League Display,sans-serif;letter-spacing:-1px;color:#e1c5ff;grid-column:2;grid-row:1/4;align-self:center;z-index:1}
.league-reaction>[data-reaction-note]{font-size:13px;color:#cbb7df;margin:7px 0 10px;grid-column:1}
.league-reaction[data-reaction=win]{border-color:#dbf89b;border-left-color:#d5ff45;background:radial-gradient(ellipse at 90% 40%,#668d2f55,transparent 65%),linear-gradient(110deg,#223b27,#182720)}
.league-reaction[data-reaction=win]>[data-reaction-number]{color:#e1ff78;text-shadow:0 0 35px #cfff4833}
.league-reaction[data-reaction=loss]{border-color:#e796a5;border-left-color:#ff8994;background:radial-gradient(ellipse at 90% 40%,#932e5a33,transparent 65%),linear-gradient(110deg,#3b1b35,#211323)}
.league-reaction[data-reaction=loss]>[data-reaction-number]{color:#ffb2bd}
.league-reaction[data-reaction=draw]{background:linear-gradient(110deg,#1b3541,#141f31);border-color:#8edbfc}
.league-reaction[data-reaction=rank-up]{background:linear-gradient(110deg,#583789,#241532);border-color:#d6b6ff}
.reaction-flare{position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 20%,#ffffff1a 45%,transparent 60%);animation:reaction-flare .8s ease-out both}
.reaction-actions{display:flex;flex-wrap:wrap;gap:9px;grid-column:1/-1}
.reaction-actions button{min-height:38px;padding:9px 14px;font-size:11px;border:1px solid #ffffff44;border-radius:3px;background:#ffffff09;color:#f6edff;font-weight:650}
.reaction-actions [data-reaction-trade]{background:#eee7f7;color:#251530;border-color:#eee7f7}
.reaction-actions [data-reaction-close]{margin-left:auto;font-size:18px;padding:3px 12px}
.reaction-actions button:hover{background:#d5ff45;color:#1b260d;border-color:#d5ff45}
#trade-dialog .prediction-ticket{border:1px solid #b08be555;background:linear-gradient(155deg,#282035,#18111f);box-shadow:inset 0 1px #ffffff14,0 12px 30px #0003}
#trade-dialog .prediction-ticket:has([data-pending]:not([hidden])){border-color:#c6abf0;box-shadow:0 0 0 3px #9d79ff0c,0 12px 30px #0004}
#trade-dialog .prediction-directions button{position:relative;overflow:clip;min-height:60px;font-weight:850;letter-spacing:.8px;border-radius:4px;transition:background .15s,color .15s,box-shadow .15s}
#trade-dialog .prediction-directions [data-direction=up]:hover{background:#c9ffe8;color:#0b3022;box-shadow:0 5px 0 #318866,0 0 25px #63e8b033}
#trade-dialog .prediction-directions [data-direction=down]:hover{background:#ffe1e7;color:#4c162c;box-shadow:0 5px 0 #9b4267,0 0 25px #ff899433}
#trade-dialog .prediction-directions button:active{transform:translateY(3px);box-shadow:none}
#trade-dialog .prediction-receipt:not([hidden]){border:1px solid #b9a1da;background:linear-gradient(120deg,#38284b,#21182b);border-radius:5px 5px 18px 5px}
#trade-dialog .prediction-receipt [data-receipt-net]{font:800 42px League Display,sans-serif;letter-spacing:-1px}
#trade-dialog .prediction-receipt [data-receipt-title]{font-size:23px;font-weight:850}
#trade-dialog .prediction-receipt [data-receipt-net].positive{color:#d5ff45}
#trade-dialog .position-countdown strong{font-family:League Display,League Sans,sans-serif;font-weight:800;letter-spacing:1px;font-size:43px}
#trade-dialog .pc-wheel-open{background:#d5ff4512;color:#e0ff77;border-color:#d5ff4550;font-size:11px;min-height:36px}
#my-settlement[data-outcome=win]{background:linear-gradient(110deg,#26442c,#18231d);border-color:#cfff7f;color:#eaffbf;box-shadow:0 0 26px #d5ff4512}
#my-settlement[data-outcome=loss]{background:linear-gradient(110deg,#462335,#261727);border-color:#e59aaa;color:#ffd7e1}
#my-settlement .settlement-figures>b{font:800 45px League Display,sans-serif;letter-spacing:-1px}
#my-settlement .settlement-label>strong{font-size:26px;font-weight:850}
.roster-tile[aria-pressed=true]{border-color:#e2ff7f;box-shadow:0 0 0 2px #d5ff4540,0 10px 24px #0003}
.roster-card{background:radial-gradient(ellipse at 0% 0%,#67448744,transparent 65%),#21162d;border:1px solid #b18ae977;border-radius:5px 5px 22px 5px;box-shadow:0 13px 35px #0004}
.roster-card h3{font-weight:900;letter-spacing:-1px;text-shadow:2px 2px #b395dc33}
.roster-card .roster-voice{border-left:3px solid #d5ff45;background:#9d79ff09}
.records-dialog>header h2,.compare-dialog>header h2,.weekly-dialog>header h2{font-weight:900;color:#f3e8ff;text-shadow:2px 2px #9d79ff20}
.records-dialog .record-query-summary{border-top:2px solid #b08bdf;background:linear-gradient(110deg,#352242,#1d1527)}
.records-dialog .record-query-summary strong{font-weight:850;letter-spacing:-.7px}
.records-dialog .trade-replay-result h3{font:800 43px League Display,League Sans,sans-serif}
.records-dialog .trade-replay-profit strong{font:800 47px League Display,sans-serif}
.compare-controls{border:1px solid #9d79ff33;background:#241a30;padding:17px;border-radius:4px}
.compare-controls select{background:#18101f;color:#e6d7f3;border-color:#b495cf44;font:13px League Sans,sans-serif;min-height:41px}
.compare-trader{border-color:#a780d34d;background:linear-gradient(145deg,#2b1d39,#1a1422);border-radius:5px 5px 20px 5px}
.compare-trader>header h3{font-size:33px;font-weight:850;letter-spacing:-.8px;color:#f1e3ff}
.compare-trader dd{font-size:29px;font-weight:800}
.weekly-dialog .week-personal{background:linear-gradient(110deg,#372344,#20162b);border-color:#b79bd866;border-radius:5px}
.weekly-dialog .week-personal strong{font-weight:850;font-size:32px}
.weekly-dialog .week-awards-heading>span{font:800 19px League Display,sans-serif;color:#d5ff45;letter-spacing:1px}
.weekly-dialog .week-awards-heading h3{font-size:37px;font-weight:900;letter-spacing:-1px;color:#f2e6ff}
.weekly-dialog .week-finalist{border:1px solid #c6a0e65c;border-radius:5px 5px 20px 5px;background:linear-gradient(155deg,#402b52,#21182d);box-shadow:0 12px 26px #0003}
.weekly-dialog .week-finalist.place-0{background:linear-gradient(145deg,#514229,#292017);border-color:#e9c77c;box-shadow:0 0 0 3px #f1c56a10,0 15px 35px #0004}
.weekly-dialog .week-finalist.place-0 .finalist-position{color:#ffde98}
.weekly-dialog .week-finalist>strong{font:800 39px League Display,sans-serif;letter-spacing:-.5px}
.weekly-dialog footer{background:#20172c;border-color:#a685cd40}
.weekly-dialog footer button{background:#d5ff45;border-color:#e7ff99;color:#1c280d;font-weight:800}
.week-empty{background:radial-gradient(ellipse at 50% 0,#8954c924,transparent 65%),#1d1527;border-color:#9d79ff35}
.reward-dialog{width:min(1000px,calc(100vw - 34px));max-width:1000px;max-height:calc(100dvh - 30px);padding:0;background:radial-gradient(ellipse at 0% 0%,#613c8050,transparent 65%),#16101e;color:#f4eafa;border:1px solid #b891e8a0;border-radius:9px 9px 25px 9px;box-shadow:0 0 0 6px #9d79ff09,0 25px 100px #000c;overflow:auto;font-family:League Sans,sans-serif}
.reward-dialog::backdrop{background:#09050fe0;backdrop-filter:blur(8px)}
.wheel-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:21px 29px;border-bottom:1px solid #b291d33d;background:#22162f;height:auto;position:sticky;top:0;z-index:5}
.wheel-dialog-header span{font:800 13px League Display,sans-serif;letter-spacing:2px;color:#d5ff45}.wheel-dialog-header h2{font-size:25px;font-weight:850;margin:6px 0 0;color:#f1e7fc}
.wheel-dialog-header>button{width:41px;height:41px;padding:0;flex-shrink:0;background:#ffffff08;border:1px solid #ffffff30;border-radius:4px;color:#efddff;font-size:27px}
.wheel-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.wheel-game{padding:26px 27px 30px;min-width:0}
.wheel-kicker{display:flex;justify-content:space-between;align-items:center;gap:15px}.wheel-kicker span{font:700 9px League Sans,sans-serif;letter-spacing:1.7px;color:#a38bb8}.wheel-kicker b{font:800 20px League Display,sans-serif;color:#e1ceef;letter-spacing:.5px}
.wheel-stage{width:min(340px,100%);aspect-ratio:1;position:relative;margin:24px auto 20px;display:grid;place-items:center;overflow:clip;overflow-clip-margin:6px}
.reward-wheel{position:absolute;inset:9px;will-change:transform;border-radius:50%;background:conic-gradient(from -30deg,#6d457e 0deg 60deg,#271f42 60deg 120deg,#894ba2 120deg 180deg,#2b1d42 180deg 240deg,#9f7e39 240deg 300deg,#cedb61 300deg 360deg);border:7px solid #dfb8f5;box-shadow:0 0 0 5px #392247,0 0 0 8px #ae82cc77,inset 0 0 25px #0006,0 0 40px #ad70d933;overflow:hidden}
.wheel-sectors{position:absolute;inset:0}
.wheel-sectors>span{position:absolute;left:50%;top:50%;width:88px;height:55px;margin:-27px 0 0 -44px;text-align:center;transform:rotate(calc(var(--sector)*60deg)) translateY(-111px) rotate(calc(var(--sector)*-60deg));color:#fcf0ff;text-shadow:0 2px 5px #17042190;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:1px 3px}
.wheel-sectors b{font:800 29px/.9 League Display,sans-serif;letter-spacing:-.5px}.wheel-sectors small{font:700 10px League Sans,sans-serif}
.wheel-sectors>span:last-child{color:#27320b;text-shadow:none}
.wheel-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:74px;height:74px;border:4px solid #e5c0ff;border-radius:50%;background:linear-gradient(130deg,#51346c,#1b1128);box-shadow:0 0 0 6px #160d2399,0 7px 15px #0005;font:800 39px League Display,sans-serif;color:#e4c5fa}
.wheel-pointer{position:absolute;left:50%;top:-6px;z-index:4;width:31px;height:40px;transform:translateX(-50%);background:linear-gradient(90deg,#d5ff45,#f0ffab);clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 4px 7px #0008)}
.wheel-ring{position:absolute;inset:0;border:1px dashed #b98bd58c;border-radius:50%;pointer-events:none}
.wheel-result{text-align:center;min-height:119px;padding:14px 10px 18px;background:radial-gradient(ellipse,#9d79ff0e,transparent 75%);position:relative}
.wheel-result>small{font:800 11px League Display,sans-serif;letter-spacing:2px;color:#ad8bcc}.wheel-result>strong{display:block;font:800 60px/.95 League Display,sans-serif;letter-spacing:-1px;margin:8px 0;color:#f7e8ff}.wheel-result>strong>span{font-size:26px;margin-left:6px}
.wheel-result>p{font-size:11px;color:#b69bc9;line-height:1.7;margin:8px 0 0}
.wheel-result[data-tier=legendary]>strong{color:#e6ff7c;text-shadow:0 0 35px #d5ff4538}.wheel-result[data-tier=epic]>strong{color:#d8b2ff;text-shadow:0 0 28px #a963ff66}
.wheel-spin{width:100%;min-height:57px;border:1px solid #efffac;border-radius:4px;background:linear-gradient(110deg,#e5ff8b,#c2ed36);color:#1d280d;font-size:18px;font-weight:850;box-shadow:4px 4px 0 #bce73020}
.wheel-spin:not(:disabled):hover{background:#fff;box-shadow:5px 5px 0 #9d79ff66}
.wheel-spin:disabled{opacity:.55;cursor:not-allowed}
.wheel-preview{width:100%;min-height:39px;font-size:11px;color:#ac91c2;background:none;border:0;margin-top:9px}
.wheel-preview:hover{color:#eee0fa;text-decoration:underline}
.wheel-pass{padding:29px 29px 30px;background:#9d79ff05;border-left:1px solid #9d79ff26;min-width:0}
.wheel-pass-kicker{font:800 13px League Display,sans-serif;color:#b593d2;letter-spacing:2px}
.wheel-pass h3{font-size:33px;font-weight:850;letter-spacing:-1.2px;line-height:1.15;margin:12px 0 16px;color:#f4e9ff}
.wheel-pass>p{font-size:12px;color:#b09bc2;line-height:1.8}
.wheel-steps{list-style:none;padding:0;margin:25px 0}.wheel-steps li{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid #ffffff12}.wheel-steps li>b{font:800 24px League Display,sans-serif;color:#b593d2}.wheel-steps strong{font-size:13px;display:block;color:#ddc9ed}.wheel-steps small{font-size:11px;line-height:1.7;color:#a88bbd;display:block;margin-top:4px}.wheel-steps em{font-style:normal;color:#e8fcae;font-weight:700}
.wheel-referral-link{display:block;text-align:center;min-height:44px;padding:12px 9px;border:1px solid #d5ff4555;border-radius:4px;background:#d5ff4510;color:#e6ff9b;text-decoration:none;font-size:12px;font-weight:750}
.wheel-referral-link:hover{background:#e5ff83;color:#1e280d}
.wheel-affiliate-note{display:block;font-size:10px;line-height:1.7;color:#967daa;margin:11px 0}
.wheel-pass .wheel-eligibility{font-size:12px;line-height:1.7;padding:12px 13px;border:1px solid #ae87ce33;background:#9d79ff0b;border-radius:4px;color:#c5aad8}
.wheel-pass [data-wheel-refresh]{min-height:36px;padding:7px 12px;border:1px solid #9d79ff44;border-radius:3px;background:#ffffff05;color:#b99acb;font-size:11px}
.wheel-odds{margin-top:17px;border-top:1px solid #9d79ff25;padding-top:13px}.wheel-odds summary{font-size:11px;color:#c3a8db;cursor:pointer;min-height:31px}.wheel-odds ul{padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0}.wheel-odds li{display:flex;justify-content:space-between;gap:9px;border:1px solid #9d79ff20;padding:7px 9px;background:#9d79ff08;font-size:11px;color:#d2bae3}.wheel-odds p{font-size:10px;color:#9d81b2;line-height:1.7}
@keyframes league-value-pop{0%{transform:scale(.93);color:#fff}30%{transform:scale(1.2) translateY(-2px);text-shadow:0 0 22px currentColor}100%{transform:scale(1)}}
@keyframes league-card-reveal{from{opacity:.25;transform:translateY(8px) scale(1.025)}to{opacity:1;transform:none}}
@keyframes loot-shine{from{transform:translateX(-80%)}to{transform:translateX(80%)}}
@keyframes reaction-flare{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(max-width:1100px){.loot-open{font-size:12px;padding:10px 13px}.loot-open>b{display:none}}
@media(max-width:750px){.wheel-layout{grid-template-columns:1fr}.wheel-pass{border-left:0;border-top:1px solid #9d79ff26}.reward-dialog{max-width:550px}.wheel-stage{width:330px}.wheel-pass h3{font-size:30px}.wheel-pass h3 br{display:none}}
@media(max-width:650px){.league-game-nav{flex-wrap:wrap;gap:10px}.league-game-nav>div:first-child{flex:1;min-width:125px}.floor-view-switch{order:3;width:100%}.floor-view-switch button{flex:1}.loot-open{font-size:12px;padding:9px 13px;min-height:42px;margin-left:0}.loot-open span{font-size:20px}.world-header-tools{gap:7px}#motion-switch{font-size:8px;min-height:32px;padding:5px 7px}.school-brand small{display:none}#language-switch{padding:6px 9px}#mute-status{font-size:8px}
 .league-reaction{padding:21px 17px;gap:4px 12px;border-radius:4px 4px 18px 4px}.league-reaction>[data-reaction-title]{font-size:35px}.league-reaction>[data-reaction-number]{font-size:48px}.league-reaction>[data-reaction-note]{font-size:11px;grid-column:1/-1}.reaction-actions{gap:6px}.reaction-actions button{font-size:10px;padding:8px 10px}
 #trade-dialog .trade-dialog-actions{flex-wrap:wrap}.weekly-dialog .week-personal strong{font-size:25px}.weekly-dialog .week-awards-heading h3{font-size:29px}.records-dialog .trade-replay-result h3{font-size:33px}.records-dialog .trade-replay-profit strong{font-size:36px}
 .reward-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:6px 6px 18px 6px}.wheel-dialog-header{padding:16px 17px;gap:10px}.wheel-dialog-header h2{font-size:22px}.wheel-dialog-header span{font-size:11px}.wheel-dialog-header>button{width:36px;height:36px;font-size:25px}
 .wheel-game{padding:21px 17px 23px}.wheel-stage{width:min(295px,100%);margin:22px auto 17px}.reward-wheel{border-width:6px}.wheel-sectors>span{transform:rotate(calc(var(--sector)*60deg)) translateY(-94px) rotate(calc(var(--sector)*-60deg));width:76px;margin-left:-38px}.wheel-sectors b{font-size:25px}.wheel-hub{width:62px;height:62px;font-size:33px}.wheel-result>strong{font-size:54px}.wheel-result>p{font-size:11px}.wheel-pass{padding:24px 20px}.wheel-spin{font-size:17px;min-height:54px}.wheel-kicker b{font-size:18px}.wheel-kicker span{font-size:8px}
}
@media(max-width:350px){.wheel-stage{width:245px}.wheel-sectors>span{transform:rotate(calc(var(--sector)*60deg)) translateY(-78px) rotate(calc(var(--sector)*-60deg))}.wheel-sectors b{font-size:22px}.wheel-hub{width:55px;height:55px;font-size:29px}.wheel-kicker{gap:5px}.wheel-kicker b{font-size:16px}.wheel-kicker span{font-size:7px}}
@media(prefers-reduced-motion:reduce){.league-value-pop,.floor-inspector .floor-person-art,.loot-open:after,.reaction-flare{animation:none!important}.loot-open,.floor-person-actions button,#classroom .classmate.world-student,#trade-dialog .prediction-directions button{transition:none!important}}
html[data-motion=off] .league-value-pop,html[data-motion=off] .floor-person-art,html[data-motion=off] .loot-open:after,html[data-motion=off] .reaction-flare,html[data-motion=off] .seat-terminal{animation:none!important}


@media(max-width:650px){.school-brand{font-size:25px;gap:10px}.school-brand:before{width:8px;height:25px}.world-header-tools{gap:5px}#mute-status{font-size:8px}#motion-switch{font-size:8px;min-height:32px;padding:5px 6px}}

.wheel-dialog-header{padding:16px 25px}
.wheel-dialog-header span{line-height:1.1}.wheel-dialog-header h2{line-height:1.15;margin-top:5px;font-size:24px}
.wheel-game{padding:20px 25px 24px}
.wheel-stage{width:min(300px,100%);margin:17px auto 13px}
.wheel-sectors>span{transform:rotate(calc(var(--sector)*60deg)) translateY(-95px) rotate(calc(var(--sector)*-60deg))}
.wheel-sectors b{font-size:27px}
.wheel-result{min-height:97px;padding:8px 5px 12px}
.wheel-result>small{font-size:10px;line-height:1.2}
.wheel-result>strong{font-size:49px;margin:5px 0}
.wheel-result>p{margin:5px 0 0;font-size:10px;line-height:1.6}
.wheel-result>strong{animation:wheel-prize-reveal .65s cubic-bezier(.15,.8,.2,1)}
.wheel-result[data-tier=legendary]{background:radial-gradient(ellipse,#b9de3430,transparent 70%)}
.wheel-result[data-tier=epic]{background:radial-gradient(ellipse,#9d79ff22,transparent 70%)}
.wheel-result [data-wheel-trade]{display:inline-block;background:#d5ff4512;border:1px solid #d5ff4550;color:#dfff84;border-radius:3px;font-size:11px;padding:7px 13px;min-height:32px;margin-top:10px}
.wheel-spin{min-height:52px;font-size:17px}
.wheel-preview{margin-top:6px;min-height:34px;font-size:10px}
@keyframes wheel-prize-reveal{0%{transform:scale(.7);opacity:.3}40%{transform:scale(1.16);text-shadow:0 0 30px currentColor}100%{transform:scale(1);opacity:1}}
@media(max-width:650px){.wheel-dialog-header{padding:14px 17px}.wheel-dialog-header h2{font-size:22px}.wheel-game{padding:20px 17px 22px}.wheel-stage{width:min(285px,100%)}.wheel-sectors>span{transform:rotate(calc(var(--sector)*60deg)) translateY(-89px) rotate(calc(var(--sector)*-60deg))}.wheel-sectors b{font-size:25px}.wheel-result>strong{font-size:49px}}
@media(max-width:350px){.wheel-stage{width:242px}.wheel-sectors>span{transform:rotate(calc(var(--sector)*60deg)) translateY(-74px) rotate(calc(var(--sector)*-60deg))}.wheel-sectors b{font-size:21px}}
@media(prefers-reduced-motion:reduce){.wheel-result>strong{animation:none!important}}
html[data-motion=off] .wheel-result>strong{animation:none!important}

/* Authentic finalists and comparison subjects use the existing identity atlas. */
.weekly-dialog .finalist-monitor.finalist-portrait{width:140px;height:112px;aspect-ratio:5/4;transform:none;margin:0 auto 13px;border:1px solid #d8b8ff66;border-radius:5px 5px 26px 5px;background-image:url('./assets/academy/global-cast.webp');background-size:600% 500%;background-position:var(--portrait-x) var(--portrait-y);box-shadow:0 9px 24px #0005;position:relative}
.weekly-dialog .finalist-monitor.finalist-portrait:before,.weekly-dialog .finalist-monitor.finalist-portrait:after,.weekly-dialog .finalist-monitor.finalist-portrait>i{display:none}
.weekly-dialog .week-finalist.place-0 .finalist-portrait{width:155px;height:124px;border-color:#f2d18b;box-shadow:0 0 0 3px #f1c56a14,0 10px 28px #0005}
.weekly-dialog .week-finalist h3{font-size:25px;line-height:1.1;font-weight:850;color:#f4e7ff;letter-spacing:-.5px}
.weekly-dialog .week-finalist .finalist-position{font:800 27px League Display,League Sans,sans-serif;letter-spacing:-.5px}
.weekly-dialog .week-podium[data-shared-leading=true] .finalist-portrait{width:140px;height:112px}
.compare-trader>header{position:relative;min-height:105px;padding:0 0 17px 105px;border-bottom:1px solid #b995e02b}
.compare-card-avatar{position:absolute;left:0;top:0;width:88px;height:90px;border-radius:4px 4px 17px 4px;border:1px solid #bfa0e76b;background-image:url('./assets/academy/global-cast.webp');background-size:600% 500%;background-position:var(--portrait-x) var(--portrait-y)}
.compare-trader>header>span:not(.compare-card-avatar){font-size:10px;color:#b49aca;letter-spacing:.5px}
.compare-trader>header>p{font-size:12px;color:#bba4cf;margin:5px 0}
.compare-trader>header>small{font-size:11px;line-height:1.6;color:#a58bb9}
.compare-trader>header h3{font-size:29px;margin:6px 0;line-height:1.1}
@media(max-width:650px){.weekly-dialog .finalist-monitor.finalist-portrait,.weekly-dialog .week-finalist.place-0 .finalist-portrait,.weekly-dialog .week-podium[data-shared-leading=true] .finalist-portrait{width:95px;height:76px}.weekly-dialog .week-finalist h3{font-size:20px}.weekly-dialog .week-finalist .finalist-position{font-size:23px}.compare-trader>header{min-height:99px;padding-left:91px}.compare-card-avatar{width:76px;height:80px}.compare-trader>header h3{font-size:26px}}

/* Price state reactions stay on the order card, never on its sibling chart. */
#trade-dialog .prediction-ticket>header{background:linear-gradient(110deg,#4a2d61,#24172f);border-bottom:1px solid #bd93ea70;padding:20px 21px;border-radius:5px 5px 0 0}
#trade-dialog .prediction-ticket>header h3{font-size:26px;font-weight:900;letter-spacing:-.8px}
#trade-dialog .prediction-ticket .prediction-phase{border:1px solid #d9b3f65c;background:#af79df22;color:#e4c7ff;font-size:10px;letter-spacing:.4px}
#trade-dialog .prediction-ticket[data-order-phase=checking]>header,#trade-dialog .prediction-ticket[data-order-phase=uncertain]>header{background:linear-gradient(110deg,#33435f,#251c37)}
#trade-dialog .prediction-ticket .prediction-pending{border-radius:5px 5px 21px 5px;border:1px solid #a584cb5c;background:linear-gradient(130deg,#2c1e3c,#15111e);box-shadow:inset 0 1px #ffffff0e;transition:background-color .4s,border-color .4s}
#trade-dialog .prediction-ticket[data-position=ahead] .prediction-pending{background:radial-gradient(ellipse at 20% 0,#63e8b020,transparent 70%),#161e20;border-color:#63e8b08c}
#trade-dialog .prediction-ticket[data-position=behind] .prediction-pending{background:radial-gradient(ellipse at 20% 0,#ff899425,transparent 70%),#241421;border-color:#ff89948c}
#trade-dialog .prediction-ticket[data-position=ahead] .position-status{background:#b8ffdc;color:#143826;border-color:#b8ffdc;font-weight:750}
#trade-dialog .prediction-ticket[data-position=behind] .position-status{background:#ffd6e0;color:#531c32;border-color:#ffd6e0;font-weight:750}
#trade-dialog .prediction-ticket[data-position=settling] .prediction-pending{border-color:#d5ff45;background:linear-gradient(110deg,#393d21,#181c19)}
#trade-dialog .prediction-receipt[data-outcome=win]:not([hidden]){background:linear-gradient(120deg,#294f30,#18281c);border-color:#d5ff45;box-shadow:0 0 0 3px #d5ff450b}
#trade-dialog .prediction-receipt[data-outcome=loss]:not([hidden]){background:linear-gradient(120deg,#5b2344,#271424);border-color:#ffadc6;box-shadow:0 0 0 3px #ff8cb90b}
#trade-dialog .prediction-receipt[data-outcome=draw]:not([hidden]){background:linear-gradient(120deg,#234451,#17212f);border-color:#a4dcff}
#trade-dialog .prediction-receipt[data-outcome=win] [data-receipt-net]{color:#e0ff85}
#trade-dialog .prediction-receipt[data-outcome=loss] [data-receipt-net]{color:#ffd3e3}
#trade-dialog .prediction-receipt:not([hidden]) [data-receipt-net]{animation:wheel-prize-reveal .65s cubic-bezier(.15,.8,.2,1)}
.league-reaction[data-reaction=win]{background:linear-gradient(115deg,#e3ff89,#cfff42 65%,#a1cd35);border-color:#f0ffba;box-shadow:5px 5px 0 #9d79ff33,0 15px 45px #a8db2622}
.league-reaction[data-reaction=win] .reaction-label,.league-reaction[data-reaction=win]>[data-reaction-title],.league-reaction[data-reaction=win]>[data-reaction-number],.league-reaction[data-reaction=win]>[data-reaction-note]{color:#18230b;text-shadow:none}
.league-reaction[data-reaction=win] .reaction-actions button{background:#1f2d12;border-color:#1f2d12;color:#eaffb9}
.league-reaction[data-reaction=loss]{background:radial-gradient(ellipse at 100% 0,#b845a44a,transparent 65%),linear-gradient(110deg,#661b55,#2c1337);border-color:#ef9ad3;border-left:6px solid #faabd8}
.league-reaction[data-reaction=loss]>[data-reaction-title]{color:#fff0fb;text-shadow:3px 3px #af3c8755}
.league-reaction[data-reaction=loss]>[data-reaction-number]{color:#ffd5ee;text-shadow:0 0 27px #ff9bd233}
.league-reaction[data-reaction=rank-up]{background:linear-gradient(115deg,#8458ba,#43255c);border-color:#dcc1ff;box-shadow:5px 5px 0 #d5ff4522}
.league-reaction[data-reaction=rank-up]>[data-reaction-number]{color:#e2ff89}
.roster-card>header{background:linear-gradient(115deg,#4b2a6466,transparent 70%);border-bottom:1px solid #b694dc33}
.roster-card .roster-focus-name h3{font-size:34px;font-weight:900;letter-spacing:-1.2px}
.roster-card footer [data-roster-records]{background:#d5ff45;color:#1c290d;border-color:#eaff9b;font-weight:800}
.roster-card footer [data-roster-select][aria-pressed=true]{background:#af7fdd27;color:#ecd4ff;border-color:#bb8ff0}
.weekly-dialog .week-finalist.place-0{background:radial-gradient(ellipse at 50% 0,#ffe39b35,transparent 65%),linear-gradient(145deg,#66512c,#2c2115);border-color:#ffdb91}
.weekly-dialog .week-finalist.place-0>strong{color:#ffeab4;text-shadow:0 0 25px #edc56c33}
@media(max-width:650px){#trade-dialog .prediction-ticket>header{padding:17px 18px}#trade-dialog .prediction-ticket>header h3{font-size:23px}.roster-card .roster-focus-name h3{font-size:29px}}
@media(prefers-reduced-motion:reduce){#trade-dialog .prediction-receipt:not([hidden]) [data-receipt-net]{animation:none!important}.prediction-pending{transition:none!important}}
html[data-motion=off] #trade-dialog .prediction-receipt [data-receipt-net]{animation:none!important}

/* V06: an actionable point pass, rather than a dead-end paragraph. */
#trade-dialog .ticket-call-kicker{display:block;font:800 10px/1.2 League Display,sans-serif;letter-spacing:2px;color:#c2a4dc;margin-bottom:7px}
#trade-dialog .prediction-ticket[data-order-phase=ready] .ticket-call-kicker{color:#d5ff45}
#trade-dialog .prediction-entry-block{position:relative;isolation:isolate;margin:19px 0 6px;padding:21px 20px 18px;background:radial-gradient(ellipse at 100% 0,#9e64db26,transparent 68%),linear-gradient(145deg,#30203f,#18131e);border:1px solid #ab83d566;border-radius:5px 5px 21px 5px;box-shadow:inset 0 1px #e7d4ff11;overflow:clip}
#trade-dialog .prediction-entry-block:before{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(135deg,transparent 0 12px,#dab7ff04 12px 13px);pointer-events:none}
#trade-dialog .entry-block-signal{height:74px;position:relative;margin:0 0 10px;display:grid;place-items:center}
#trade-dialog .entry-block-signal>span{position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:1px solid #c9a6ee;box-shadow:0 0 0 6px #bd8ef112,0 0 0 7px #c9a6ee24,0 0 24px #af6bdf22;background:linear-gradient(145deg,#b993e5,#503064);transform:rotate(-12deg);color:#f6e9ff;font:800 37px/1 League Display,sans-serif}
#trade-dialog .entry-block-signal>span:before{content:"P"}
#trade-dialog .entry-block-signal>i{position:absolute;left:calc(50% + 44px);top:10px;width:4px;height:4px;background:#d5ff45;box-shadow:12px 26px #bd8ef1,-101px 38px #bd8ef188}
#trade-dialog .entry-block-kicker{display:block;font:800 13px/1.2 League Display,sans-serif;letter-spacing:2px;color:#d5ff45;margin-bottom:11px}
#trade-dialog .prediction-entry-block>small:first-of-type{display:none}
#trade-dialog .prediction-entry-block>[data-entry-block-title]{display:block;font-size:21px;line-height:1.4;letter-spacing:-.6px;color:#f1e2fc;margin-bottom:12px;font-weight:850;word-break:keep-all;overflow-wrap:anywhere}
#trade-dialog .prediction-entry-block>[data-entry-block-detail]{font-size:12px;line-height:1.8;color:#d0b9e3;margin:0 0 10px;word-break:keep-all;overflow-wrap:anywhere}
#trade-dialog .prediction-entry-block>[data-entry-block-next]{display:block;font-size:11px;line-height:1.7;color:#a88dbe}
#trade-dialog .prediction-entry-block .entry-block-rewards{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;margin-top:20px;padding:11px 8px;border-radius:4px;border:1px solid #e6ff90;background:linear-gradient(110deg,#e2ff8e,#bfe547);color:#25310e;font-weight:850;font-size:12px;box-shadow:0 6px 19px #b9dc2915;transition:background .2s,color .2s,box-shadow .2s}
#trade-dialog .prediction-entry-block .entry-block-rewards>span{font-size:20px;line-height:1}
#trade-dialog .prediction-entry-block .entry-block-rewards:hover,#trade-dialog .prediction-entry-block .entry-block-rewards:focus-visible{background:#f2ffce;color:#111c04;box-shadow:0 0 0 3px #d5ff4533,0 7px 20px #d5ff4518}
#trade-dialog .prediction-entry-block .entry-block-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
#trade-dialog .prediction-entry-block .entry-block-actions>button{min-height:40px;padding:9px 6px;margin:0;font-size:10px;background:#b08ad60e;border:1px solid #b08ad633;color:#ccb4df;border-radius:3px;overflow-wrap:anywhere}
#trade-dialog .prediction-entry-block .entry-block-actions>button:hover{background:#c5a1e1;color:#1e122c}
#trade-dialog .prediction-entry-block[data-kind=connection]{border-color:#7ab9df66;background:radial-gradient(ellipse at 100% 0,#50a7bf25,transparent 68%),#172332}
#trade-dialog .prediction-entry-block[data-kind=connection] .entry-block-kicker{color:#a3d9ff}
#trade-dialog .prediction-entry-block[data-kind=connection] .entry-block-signal>span{background:linear-gradient(145deg,#75a3c0,#27435d);border-color:#b6ddf9;color:#d0f1ff;transform:none}
#trade-dialog .prediction-entry-block[data-kind=connection] .entry-block-signal>span:before{content:"↻"}
#trade-dialog .prediction-entry-block[data-kind=week] .entry-block-signal>span:before,#trade-dialog .prediction-entry-block[data-kind=shorter] .entry-block-signal>span:before{content:"◷"}
#trade-dialog .prediction-ticket .prediction-amount:focus-within{border-color:#d5ff45;box-shadow:0 0 0 3px #d5ff4514;background:#24252a}
#trade-dialog .prediction-ticket .prediction-durations button:hover:not(:disabled){background:#d5ff4512;border-color:#d5ff4580;color:#e5ff9c}
#trade-dialog .prediction-ticket .prediction-directions button{position:relative;min-height:59px;font-size:17px;font-weight:850;letter-spacing:.2px;box-shadow:inset 0 1px #ffffff22,0 4px 0 #0b251d;transition:background-color .18s,color .18s,box-shadow .18s}
#trade-dialog .prediction-ticket .prediction-directions button[data-direction=down]{box-shadow:inset 0 1px #ffffff22,0 4px 0 #351323}
#trade-dialog .prediction-ticket .prediction-directions button:hover:not(:disabled){box-shadow:inset 0 1px #ffffff55,0 4px 0 #0b251d,0 0 22px #8dffbb22}
#trade-dialog .prediction-ticket .prediction-directions button[data-direction=down]:hover:not(:disabled){box-shadow:inset 0 1px #ffffff55,0 4px 0 #351323,0 0 22px #ff8dbb22}
#trade-dialog .prediction-ticket .prediction-directions button:active:not(:disabled){box-shadow:inset 0 3px 7px #0005}
#trade-dialog .live-heading [data-live=connection][data-ready=false]{color:#bba4cf;border:1px solid #b58cdb33;background:#9565bc0a;border-radius:3px;padding:5px 8px}
@media(max-width:650px){#trade-dialog .prediction-entry-block{padding:18px 17px 16px}#trade-dialog .entry-block-signal{height:62px;margin-bottom:10px}#trade-dialog .entry-block-signal>span{width:48px;height:48px;font-size:31px}#trade-dialog .prediction-entry-block>[data-entry-block-title]{font-size:20px}#trade-dialog .prediction-ticket .prediction-directions button{min-height:55px}}
@media(prefers-reduced-motion:reduce){#trade-dialog .prediction-entry-block .entry-block-rewards,#trade-dialog .prediction-ticket .prediction-directions button{transition:none}}
html[data-motion=off] #trade-dialog .prediction-entry-block .entry-block-rewards,html[data-motion=off] #trade-dialog .prediction-ticket .prediction-directions button{transition:none}

.league-reaction[data-reaction=win] button[data-reaction-coverage] {
  background:#182516;
  color:#eaffbb;
  border-color:#52722d;
  font-weight:800;
}
.reaction-actions [data-reaction-coverage][hidden]{display:none}
