:root{color-scheme:dark;--ink:#f0f9ff;--muted:#a9c6df;--line:#98d5ff40;--cyan:#66daff;--green:#75f8bc;--red:#ff9bb3;--radius:18px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#111b29}
*{box-sizing:border-box}body{margin:0}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit;min-height:44px}a{color:inherit}button:focus-visible,a:focus-visible,#stage:focus-visible{outline:3px solid #fff;outline-offset:3px}button:disabled{opacity:.42;cursor:not-allowed}[hidden]{display:none!important}button{border:1px solid var(--line);background:#081d3fc4;border-radius:9px}#experience,#stage{position:relative;height:100dvh;width:100%;overflow:hidden}#stage{isolation:isolate;perspective:1500px;outline:none}#city{position:absolute;inset:-3%;background:url('./assets/apartment-v001.jpg') center center/cover no-repeat;z-index:-3}#city canvas{width:100%;height:100%;display:block}.shade{position:absolute;inset:0;background:linear-gradient(0deg,#07102145,transparent 20%,transparent 82%,#101d3540);z-index:-1;pointer-events:none}#holo-anchor{position:absolute;inset:80px 45px 90px;display:grid;align-items:center;justify-items:center;pointer-events:none;perspective:1700px}#hologram{width:min(1140px,100%);max-height:100%;overflow:auto;overscroll-behavior:contain;pointer-events:auto;padding:clamp(14px,2vw,24px);border:1px solid #aff4ffba;border-radius:var(--radius);background:linear-gradient(120deg,#071b38cd,#0a2346b8 60%,#0c2b4cc2);box-shadow:0 0 0 1px #56caff60,0 0 20px #42bfff80,inset 0 0 25px #249bdb26,0 30px 100px #08172760;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transform-style:preserve-3d;scrollbar-width:thin;scrollbar-color:#6dd9ff6a transparent;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(var(--float-y,0px));transition:box-shadow .4s}#hologram:focus-within,#hologram:hover{box-shadow:0 0 0 1px #9ef1ff70,0 0 25px #42bfffa0,inset 0 0 25px #249bdb26,0 30px 100px #08172760}.wallet-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:13px}.eyebrow{font-size:10px;letter-spacing:.14em;color:var(--muted);display:block}.wallet-row strong{font-size:clamp(27px,3vw,43px);font-weight:500;letter-spacing:-.035em;font-variant-numeric:tabular-nums;display:block;margin-top:3px}.wallet-meta{font-size:11px;display:grid;gap:7px}.wallet-meta span{display:flex;justify-content:space-between;gap:15px;color:var(--muted)}.wallet-meta b{font-variant-numeric:tabular-nums;color:#fff;font-weight:500}.market-label{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.1em;color:#bde7ff;padding:9px 0}.market-label #saved-state{margin-left:auto;color:#b2c2d3;font-size:9px;letter-spacing:0}.dot{width:5px;height:5px;background:#ffd287;box-shadow:0 0 7px #ffd287;border-radius:50%}#people{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.person{position:relative;min-width:0;display:flex;align-items:center;gap:9px;text-align:left;padding:6px;background:#061a34e6;border-radius:10px;transition:border-color .2s,background .2s}.person img{width:clamp(36px,4vw,58px);height:clamp(36px,4vw,58px);object-fit:cover;object-position:center 25%;border-radius:5px}.person .person-label{font-size:clamp(11px,1.1vw,14px);line-height:1.25}.person[aria-pressed=true]{border-color:#88e8ff;box-shadow:inset 0 0 12px #2bb7ff25,0 0 10px #22baff4a;background:#124c70ca}.person .count{position:absolute;right:3px;top:3px;background:#8aebff;color:#09243b;font-size:9px;min-width:16px;height:16px;border-radius:8px;display:grid;place-items:center}.main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:24px;margin-top:18px}.person-detail{display:flex;gap:16px;align-items:center;min-width:0}.person-detail img{width:clamp(80px,12vw,140px);height:clamp(80px,12vw,140px);border-radius:9px;object-fit:cover;object-position:center 25%;background:#0b2139;border:1px solid var(--line)}h1{font-size:clamp(21px,2.5vw,30px);font-weight:500;letter-spacing:-.025em;margin:0 0 12px}#wealth{font-size:clamp(29px,3.4vw,49px);letter-spacing:-.04em;display:block;font-variant-numeric:tabular-nums;font-weight:500;line-height:1.2;margin-top:3px}#wealth-change{font-size:11px;display:block;margin-top:5px;min-height:14px;color:#cce3ef;font-variant-numeric:tabular-nums}.chart-wrap{position:relative;height:96px;margin-top:14px;border:1px solid #85bfff25;border-radius:7px;background:repeating-linear-gradient(0deg,transparent 0 23px,#a9d7ff0c 23px 24px),repeating-linear-gradient(90deg,transparent 0 59px,#a9d7ff0c 59px 60px);overflow:hidden}.chart-wrap svg{width:100%;height:100%;display:block}.chart-time{position:absolute;bottom:5px;left:9px;font-size:8px;letter-spacing:.1em;color:var(--muted);background:#102946b0;padding:2px}.prediction-title h2{font-size:29px;font-weight:500;margin:4px 0 20px;letter-spacing:-.025em}fieldset{padding:0;margin:0 0 13px;border:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}legend{font-size:9px;letter-spacing:.12em;color:var(--muted);margin-bottom:9px}fieldset button{height:46px;font-size:18px;min-width:0;font-variant-numeric:tabular-nums}fieldset button[aria-pressed=true]{border-color:#75e4ff;box-shadow:inset 0 0 15px #53c2ff35,0 0 8px #53c2ff50}.directions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.directions button{font-size:24px;font-weight:600;height:59px;background:#082f35e6}.directions span{font-size:23px;margin-right:5px}#bet-up{border-color:#62ffbc;color:#9bffd3;box-shadow:inset 0 0 16px #29ff8a25,0 0 9px #3cff9e30}#bet-down{border-color:#ff799c;color:#ffc1d1;background:#3d1630dd;box-shadow:inset 0 0 16px #ff347c25,0 0 9px #ff3c7130}.directions button:hover{filter:brightness(1.25)}.payout{text-align:center;font-size:11px;color:#c8dfec;margin:10px 0 0}.notice{margin:12px 0 0;font-size:11px;line-height:1.4;min-height:30px;color:#bfe9ff}.notice.failure{color:#ffd5d5}.positions-heading{display:flex;justify-content:space-between;align-items:center;margin-top:15px;border-top:1px solid var(--line);padding-top:4px}.positions-heading button{background:transparent;border:0;font-size:10px;letter-spacing:.09em;min-height:37px;padding:4px 0}.positions-heading span{display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:15px;min-width:22px;height:22px;margin-left:5px;color:#b0edff}#positions,#history{display:flex;gap:9px;overflow:auto;scrollbar-width:thin;max-height:160px;overscroll-behavior:contain}.empty{color:var(--muted);font-size:11px;line-height:1.4;margin:6px 0}.position{position:relative;flex:0 0 210px;padding:10px 11px;background:#081b32c9;border:1px solid #79cffc40;border-radius:9px;overflow:hidden;font-size:11px;line-height:1.45}.position-top{display:flex;justify-content:space-between;gap:8px}.position strong{font-weight:600}.position .prediction{margin-top:3px;color:#d9e9f7}.position .values{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:9px;margin-top:7px}.position .values b{display:block;color:#dbeef9;font-size:10px;font-weight:400;font-variant-numeric:tabular-nums}.position .progress{position:absolute;height:2px;background:#70d9ff;bottom:0;left:0;width:var(--progress,100%)}.position .countdown{color:#9fe8ff;font-variant-numeric:tabular-nums}.positive{color:var(--green)!important}.negative{color:var(--red)!important}#history{padding-top:8px}#history .position{border-color:#91afbf35}.result-net{font-size:16px}.settled-summary{color:#b8d9e9;font-size:10px;margin-top:6px}header{position:absolute;z-index:4;top:max(22px,env(safe-area-inset-top));left:max(26px,env(safe-area-inset-left));right:26px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}header a{pointer-events:auto}.brand{text-decoration:none;font-size:20px;letter-spacing:-.05em;color:#f7fbff;text-shadow:0 1px 15px #102436}.brand span{color:#f7ddc5}.review-label{font-size:9px;letter-spacing:.15em;text-shadow:0 1px 9px #000}#playback-controls{position:absolute;z-index:4;bottom:21px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:5px;border:1px solid #ffffff40;border-radius:28px;background:#0a192caa;backdrop-filter:blur(10px)}#playback-controls button{background:transparent;border:0;border-radius:20px;font-size:11px;padding:4px 13px;white-space:nowrap}#playback-controls #auto-view{margin:0;font-size:11px;padding:4px 13px;border:0}.social-links{position:absolute;right:25px;bottom:29px;z-index:4;display:flex;gap:14px;font-size:10px;text-shadow:0 1px 8px #000}.social-links a{text-decoration:none;min-height:25px;display:flex;align-items:center}.piece-arrow{position:absolute;top:48%;left:6px;width:32px;min-height:48px;z-index:3;display:grid;place-items:center;text-decoration:none;font-size:34px;color:#f6fcff;text-shadow:0 1px 8px #19344b}.interaction-cue{position:absolute;z-index:5;left:50%;transform:translateX(-50%);pointer-events:none;background:#0a192cba;padding:9px 14px;border-radius:20px;border:1px solid #ffffff40;color:#dcefff;font-size:11px}.interaction-cue span{display:block;animation:cue-drag 2.5s ease-in-out infinite}@keyframes cue-drag{0%,100%{translate:-4px 0}50%{translate:4px 0}}dialog{border:1px solid #78cfff90;border-radius:18px;color:#e3f4ff;background:#0a1b31f5;max-width:460px;width:calc(100% - 28px);max-height:85dvh;padding:25px;line-height:1.55;box-shadow:0 20px 80px #0008}dialog::backdrop{background:#081526aa;backdrop-filter:blur(5px)}dialog p{font-size:13px;color:#bfcede}dialog h2{font-size:24px;font-weight:500}dialog button{padding:9px 16px}dialog a{font-size:11px;display:block;margin-top:20px}.close{float:right;background:transparent;border:0;font-size:25px}#error{position:absolute;z-index:8;top:60px;left:20px;right:20px;max-width:600px;margin:auto;background:#5e172df5;color:#fff;padding:12px 16px;font-size:13px;border:1px solid #ffb9cf;border-radius:9px}.fallback-portrait{background:linear-gradient(135deg,#123c57,#343e59)}
@media(max-width:700px){#holo-anchor{inset:70px 17px 60px}#hologram{padding:13px;border-radius:15px}.wallet-row{padding-bottom:9px}.wallet-row strong{font-size:32px}.wallet-meta{font-size:9px;gap:6px}.wallet-meta span{gap:8px}.eyebrow{font-size:8px}.market-label{font-size:8px;padding:8px 0}.market-label #saved-state{font-size:8px}#people{gap:5px}.person{display:flex;flex-direction:column;padding:4px 2px;gap:4px;text-align:center;border-radius:7px}.person img{width:100%;height:48px;max-width:64px;border-radius:4px}.person .person-label{font-size:10px;line-height:1.15;max-width:65px;min-height:23px}.main-grid{display:block;margin-top:12px}.person-detail{gap:12px}.person-detail img{width:84px;height:88px}h1{font-size:22px;margin-bottom:8px}#wealth{font-size:32px;letter-spacing:-.045em}#wealth-change{font-size:9px;min-height:11px;margin-top:3px}.chart-wrap{height:64px;margin-top:10px}.bet-controls{margin-top:11px}.prediction-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.prediction-title h2{font-size:18px;margin:0}.prediction-title .eyebrow{font-size:9px}fieldset{margin-bottom:9px;gap:7px}legend{font-size:8px;margin-bottom:6px}fieldset button{height:44px;font-size:18px}.directions{gap:9px}.directions button{font-size:23px;height:49px}.directions span{font-size:19px}.payout{font-size:10px;margin-top:7px}.notice{font-size:10px;margin-top:7px;min-height:14px}.positions-heading{margin-top:8px;padding-top:1px}.positions-heading button{min-height:34px}.empty{font-size:9px;margin:3px 0}.position{flex-basis:205px;padding:8px 10px}#positions,#history{max-height:140px}.brand{font-size:18px}header{left:18px;right:18px;top:max(18px,env(safe-area-inset-top))}.review-label{font-size:8px}.piece-arrow{width:18px;left:0;font-size:25px}.social-links{bottom:11px;right:15px;gap:12px;font-size:9px}#playback-controls{bottom:45px;width:max-content;max-width:calc(100% - 75px)}#playback-controls button,#playback-controls #auto-view{font-size:10px;padding:4px 9px}#experience .interface-toggle{min-width:38px;min-height:38px;width:38px;height:38px}.interaction-cue{display:none!important}}
@media(max-width:350px){#holo-anchor{inset:61px 13px 54px}#hologram{padding:10px}.wallet-row strong{font-size:28px}.wallet-meta{font-size:8px}.person img{height:39px}.person .person-label{font-size:9px}.person-detail img{width:68px;height:72px}h1{font-size:18px}#wealth{font-size:28px}.chart-wrap{height:45px}.market-label #saved-state{display:none}.main-grid{margin-top:8px}.prediction-title{margin-bottom:5px}.bet-controls{margin-top:8px}.notice{min-height:12px}}
@media(max-height:560px) and (min-width:701px){#holo-anchor{inset:55px 45px 65px}#hologram{padding:12px;max-width:900px}.wallet-row strong{font-size:27px}.wallet-row{padding-bottom:5px}.market-label{padding:5px 0}.person img{width:30px;height:30px}.person .person-label{font-size:10px}.main-grid{margin-top:10px;gap:20px}.person-detail img{width:70px;height:75px}h1{font-size:20px;margin-bottom:5px}#wealth{font-size:28px}.chart-wrap{height:45px;margin-top:8px}.prediction-title h2{font-size:20px;margin:3px 0 8px}.directions button{height:45px;font-size:20px}fieldset{margin-bottom:8px}fieldset button{height:44px}.notice{margin-top:6px;min-height:12px;font-size:10px}.positions-heading{margin-top:8px}.social-links{bottom:10px;font-size:9px}#playback-controls{bottom:10px!important}.positions-heading button{min-height:30px}.empty{margin:3px 0;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}#hologram:not(.motion-enabled){transform:none}}
/* Shared cue remains available on every viewport when chrome is restored. */
#experience .interaction-cue{display:flex!important;align-items:center;gap:5px;pointer-events:auto;min-height:44px;opacity:1}
#experience .interaction-cue[hidden]{display:none!important}
#experience .interaction-cue[data-state="fading"]{opacity:0;transition:opacity 1.2s}
#experience .interaction-cue svg{width:46px;height:28px;flex-shrink:0}
.interaction-cue .cue-hand{animation:hand-drag 2.8s ease-in-out infinite}.interaction-cue .cue-press{animation:contact 2.8s ease-in-out infinite;transform-origin:24px 7px}
@keyframes hand-drag{0%,25%{transform:translateX(-5px)}70%,100%{transform:translateX(5px)}}
@keyframes contact{0%,30%,100%{opacity:0;transform:scale(.7)}12%{opacity:1;transform:scale(1.1)}}
@media(prefers-reduced-motion:reduce){.interaction-cue .cue-hand,.interaction-cue .cue-press{animation:none}}
@media(max-width:700px){#experience:not(.art-only) #holo-anchor{bottom:112px}}
/* A short landscape viewport uses a compact header row, preserving bet targets. */
@media(max-height:560px) and (min-width:701px){
 #holo-anchor{inset:52px 45px 48px}
 #hologram{display:grid;grid-template-columns:170px minmax(0,1fr);gap:0 12px;padding:10px}
 .wallet-row{grid-column:1;grid-row:1;padding:0;border:0;align-items:start;display:block}
 .wallet-row strong{font-size:24px;margin:1px 0}.wallet-row .eyebrow{font-size:7px}
 .wallet-meta{display:flex;gap:7px;font-size:7px;margin-top:1px}.wallet-meta span{gap:3px}
 .market-label{grid-column:1;grid-row:2;font-size:6px;padding:2px 0}.market-label #saved-state{display:none}
 #people{grid-column:2;grid-row:1/span 2;gap:5px}.person{padding:3px;gap:4px}.person img{width:26px;height:29px}.person .person-label{font-size:9px}
 .main-grid{grid-column:1/-1;margin-top:9px;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:16px}
 .person-detail img{width:73px;height:76px}.person-detail{gap:10px}h1{font-size:20px}.chart-wrap{height:42px}
 .prediction-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.prediction-title h2{font-size:16px;margin:0}.prediction-title .eyebrow{font-size:8px}
 fieldset{margin-bottom:6px;gap:6px}legend{margin-bottom:4px;font-size:7px}fieldset button{height:44px;font-size:16px}
 .directions{gap:7px}.directions button{height:44px;font-size:20px}.payout{font-size:9px;margin-top:5px}.notice{font-size:9px;margin-top:5px;min-height:12px}
 .positions-heading{grid-column:1/-1;margin-top:6px;padding-top:0}.positions-heading button{min-height:29px;font-size:9px}
 #positions,#history{grid-column:1/-1}#positions .empty{display:none}.position{flex-basis:205px}
}
/* MWH-170: the entire play surface fits; only optional detailed history is scrollable. */
html,body{height:100%;overflow:hidden}
#holo-anchor{inset:65px 45px 80px}
#hologram{overflow:visible;max-height:none;padding:16px;transform-origin:50% 50%;will-change:transform}
.wallet-row{padding-bottom:7px}.wallet-row strong{font-size:34px}.market-label{padding:6px 0}
.main-grid{margin-top:12px;gap:20px}.person-detail img{width:86px;height:88px}h1{font-size:24px;margin-bottom:6px}#wealth{font-size:36px}.chart-wrap{height:65px;margin-top:9px}
.prediction-title h2{font-size:24px;margin:3px 0 10px}fieldset{margin-bottom:8px}legend{margin-bottom:6px}.directions button{height:49px;font-size:22px}.notice{min-height:15px;margin-top:7px}.payout{margin-top:7px}
.positions-heading{margin-top:8px}.positions-heading button{min-height:32px}
#positions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:visible;max-height:none}
.play-summary{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-width:0;padding:6px 8px;font-size:10px;min-height:54px;text-align:left;background:#071a32bd}.play-summary strong{font-size:12px}.play-summary .countdown{color:#a6eaff;font-size:9px}.play-summary span{white-space:nowrap}
#play-details{display:grid;gap:8px}#play-details .position{flex:none}#plays-dialog{max-height:80dvh}
@media(max-width:700px){
 #holo-anchor,#experience:not(.art-only) #holo-anchor{inset:57px 18px 92px}
 #hologram{padding:11px;border-radius:13px}.wallet-row strong{font-size:30px}.wallet-row{padding-bottom:5px}.market-label{padding:5px 0;font-size:7px}.market-label #saved-state{font-size:7px}
 .person img{height:37px;width:38px}.person{gap:3px;padding:3px 1px}.person .person-label{font-size:9px;min-height:21px}
 .main-grid{margin-top:8px}.person-detail{gap:10px}.person-detail img{width:58px;height:60px}.person-detail .eyebrow{margin:3px 0}h1{font-size:19px;margin-bottom:4px}#wealth{font-size:28px}#wealth-change{font-size:9px}.chart-wrap{height:40px;margin-top:6px}.chart-time{font-size:7px;bottom:2px}
 .bet-controls{margin-top:7px}.prediction-title{margin-bottom:5px}.prediction-title h2{font-size:17px;margin:0}.prediction-title .eyebrow{font-size:8px}legend{margin-bottom:4px;font-size:8px}fieldset{margin-bottom:6px;gap:6px}fieldset button{height:44px;font-size:17px}.directions button{height:44px;font-size:21px}.payout{margin-top:5px;font-size:9px}.notice{font-size:9px;min-height:13px;margin-top:5px;line-height:1.25}
 .positions-heading{margin-top:6px;padding-top:0}.positions-heading button{min-height:28px;font-size:9px}
 #positions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.play-summary{padding:4px 5px;min-height:48px;font-size:8px;gap:1px}.play-summary strong{font-size:10px}.play-summary .countdown{font-size:8px}
 #playback-controls{bottom:22px;left:50%;max-width:calc(100% - 85px)}.social-links{display:none}
}
@media(max-width:700px) and (max-height:730px){
 #holo-anchor,#experience:not(.art-only) #holo-anchor{inset:49px 16px 72px}
 .wallet-row strong{font-size:27px}.person img{height:30px;width:32px}.person .person-label{font-size:8px;min-height:19px}.person-detail img{width:45px;height:48px}h1{font-size:17px}#wealth{font-size:25px}.chart-wrap{height:28px;margin-top:4px}.market-label #saved-state{display:none}.main-grid{margin-top:6px}.bet-controls{margin-top:5px}.play-summary{min-height:44px}.notice{font-size:8px}.positions-heading{margin-top:4px}#hologram{padding:9px}
}
@media(min-width:701px) and (max-height:560px){
 #holo-anchor{inset:47px 45px 54px}#hologram{padding:9px;max-width:1000px}.wallet-row strong{font-size:23px}.main-grid{margin-top:6px;gap:14px}.person-detail img{width:65px;height:66px}h1{font-size:20px}#wealth{font-size:28px}.chart-wrap{height:34px;margin-top:5px}.directions button{height:44px}.prediction-title h2{font-size:17px;margin:0}.payout{margin-top:4px}.notice{font-size:8px;margin-top:3px;min-height:12px}.positions-heading{margin-top:3px}.positions-heading button{min-height:24px}.play-summary{min-height:44px;padding:3px 6px;font-size:8px}.play-summary strong{font-size:10px}#positions{grid-column:1/-1}.person-view .eyebrow{margin:3px 0}
}
/* Clip, rather than hidden scrolling containers: focus must not shift the scene. */
#experience,#stage{overflow:clip}
body #experience,body #stage{overflow:clip}
@media(min-width:701px) and (max-height:560px){
 .bet-controls{display:grid;grid-template-columns:1fr 1.3fr;gap:4px 7px;align-content:start}
 .prediction-title{grid-column:1/-1;margin-bottom:2px}
 .bet-controls fieldset{grid-column:1;margin:0;gap:3px}.bet-controls fieldset button{font-size:14px}
 .directions{grid-column:2;align-self:end;gap:5px}.directions button{font-size:18px}.directions span{font-size:15px;margin-right:2px}
 .bet-controls .payout,.bet-controls .notice{grid-column:1/-1;margin:0}
 .person-detail img{width:56px;height:58px}.chart-wrap{height:26px}.main-grid{margin-top:5px}
}
body #experience.has-interface{overflow:clip}
@media(min-width:701px) and (max-height:560px){
 #hologram{grid-template-rows:30px 14px auto auto auto}
 #hologram .wallet-row{display:flex;align-items:center;gap:5px}.wallet-row strong{font-size:20px;line-height:1;margin:1px 0}.wallet-meta{display:grid;gap:1px;font-size:6px;margin:0}.wallet-meta span{gap:3px}.wallet-row .eyebrow{font-size:6px}
 #hologram .market-label{padding:1px 0;font-size:6px}
 #hologram #people .person{height:44px;min-height:44px;padding:3px}
 .positions-heading button{line-height:1;min-height:24px}
 .bet-controls{row-gap:2px}.bet-controls .prediction-title{margin:0}.bet-controls .notice{font-size:8px;line-height:1.1;min-height:10px}
 #experience.has-interface #playback-controls{bottom:4px!important}
}
/* Accessible zoom/exceptionally small windows retain a reachable fallback. */
@media(max-width:299px),(max-height:320px){
 html,body{height:auto;overflow:auto}body #experience.has-interface,body #stage{height:auto;min-height:100dvh;overflow:visible}
 #holo-anchor,#experience:not(.art-only) #holo-anchor{position:relative;inset:auto;margin:55px 12px 85px;display:block}
 #hologram{width:100%;transform:none!important}#city{position:fixed;inset:0}.shade{position:fixed}
}

/* MWH-178: clear game premise, compact native guide, lived-in surroundings. */
.game-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;border-bottom:1px solid var(--line)}
.game-heading h2{font-size:22px;font-weight:600;letter-spacing:-.03em;margin:0}
.game-heading button{font-size:12px;padding:0 10px;background:transparent;border:0;color:#a9e9ff;min-height:44px;flex-shrink:0}
#tutorial{width:min(460px,calc(100% - 28px));padding:25px;max-height:90dvh;overflow:auto}
#tutorial h2{font-size:26px;line-height:1.1;margin:13px 20px 20px 0}
.tutorial-steps{padding-left:23px;display:grid;gap:16px}.tutorial-steps li{padding-left:4px;color:#83e6ff}.tutorial-steps strong,.tutorial-steps span{display:block;color:var(--ink)}.tutorial-steps span{font-size:14px;color:#c5d2df;margin-top:4px;line-height:1.4}
.tutorial-example{padding:14px;border:1px solid #78d6d94d;border-radius:8px;line-height:1.6;background:#73dcda0a}.tutorial-example b{color:#75f8bc}
#tutorial p{font-size:13px;line-height:1.45;color:#c5d2df}.tutorial-sim{color:#f2cd93!important}.tutorial-start{width:100%;min-height:48px;background:#67e7e1;color:#062329;font-weight:700;margin-top:5px}
@media(max-width:700px){.game-heading{margin-bottom:4px}.game-heading h2{font-size:18px}.game-heading button{font-size:11px;padding:0 5px}.prediction-title h2{font-size:15px}.directions button{font-size:17px}.notice{font-size:10px}#tutorial{padding:20px}}
@media(min-width:701px) and (max-height:560px){.game-heading{grid-column:1/-1;margin:0;border:0}.game-heading h2{font-size:16px}.game-heading button{min-height:28px;font-size:10px}#hologram{grid-template-rows:28px 30px 14px auto auto auto}.wallet-row{grid-row:2}.market-label{grid-row:3}#people{grid-row:2/span 2}.main-grid{grid-row:4}.positions-heading{grid-row:5}#positions{grid-row:6}}

@media(max-width:700px){#city{background-position:32.5% center}}

@media(max-width:700px){#positions{grid-template-columns:repeat(5,minmax(0,1fr))}.play-summary span{white-space:normal;overflow-wrap:anywhere}.play-summary{min-height:48px}.play-summary strong{font-size:9px}}

/* MWH179 — painted arcade character selection, rather than a banking panel. */
:root{--radius:3px;--cyan:#81f2f7;--line:#b4e3e650}
#hologram{border-radius:3px;border-width:2px;background:linear-gradient(125deg,#151723e0,#16212dbd 70%,#27192cda);box-shadow:5px 6px 0 #060a15b0,0 0 22px #32d4f355,inset 0 0 35px #20b9c320}
.game-heading h2{text-transform:uppercase;font-style:italic;letter-spacing:-.055em;font-weight:900;font-size:27px;text-shadow:2px 2px #742b4d}
.person{border-radius:2px;border-width:1px;background:#131927e6;transform:skewX(-3deg)}.person[aria-pressed=true]{border-color:#f8bf80;background:#55323dce;box-shadow:2px 2px 0 #ff55797a,inset 0 0 13px #ff884025}.person img{border-radius:0;filter:saturate(1.12)}
.person-detail{position:relative;isolation:isolate}.person-detail:before{content:'';position:absolute;z-index:-1;inset:-10px -5px;background:linear-gradient(125deg,#ff45451f,#20dcec10,transparent 75%);clip-path:polygon(0 15%,60% 0,100% 25%,80% 85%,5% 100%);pointer-events:none}
.person-detail img{width:146px;height:165px;object-fit:cover;object-position:center 24%;border-radius:0;border:0;box-shadow:4px 4px 0 #e5545960;transform:rotate(-2deg)}
h1{font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:-.04em}#wealth{font-weight:800}.chart-wrap{height:47px;border-radius:0}.chart-time{background:#101723a0}
fieldset button,.directions button{border-radius:2px;font-weight:900;font-style:italic}.directions button{box-shadow:3px 3px 0 #0009;text-shadow:1px 2px #07131b}.directions #bet-up{background:linear-gradient(120deg,#16493e,#144754bd)}.directions #bet-down{background:linear-gradient(120deg,#52213e,#521b37bd)}
#hologram[data-burst=up]{--burst:#65ffba}#hologram[data-burst=down]{--burst:#ff759d}
#hologram:after{content:'';position:absolute;inset:-14px;z-index:-1;pointer-events:none;opacity:0;border:9px solid var(--burst,#7eefff);clip-path:polygon(0 7%,78% 0,100% 16%,96% 90%,20% 100%,2% 85%)}
#hologram[data-burst]:after{animation:paint-impact .8s ease-out}
@keyframes paint-impact{0%{opacity:.95;transform:scale(.98) rotate(-1deg)}100%{opacity:0;transform:scale(1.04) rotate(1deg)}}
.character-enter{animation:character-enter .4s ease-out}@keyframes character-enter{from{opacity:.35;transform:translateX(-9px) rotate(-5deg)}to{opacity:1;transform:translateX(0) rotate(-2deg)}}
@media(max-width:700px){
 #holo-anchor,#experience:not(.art-only) #holo-anchor{inset:clamp(90px,17dvh,148px) 19px 73px;align-items:end}
 #hologram{padding:9px}.game-heading{margin-bottom:3px}.game-heading h2{font-size:19px}.game-heading button{font-size:10px}
 .wallet-row strong{font-size:26px}.wallet-meta{font-size:8px}.market-label{padding:4px 0}
 #people{gap:5px}.person{padding:2px;min-height:49px}.person img{height:29px;width:29px}.person .person-label{font-size:8px;min-height:18px}
 .person-detail img{width:96px;height:112px}.person-detail{min-height:112px;gap:10px}.person-detail h1{font-size:19px}.person-detail .eyebrow{font-size:7px;letter-spacing:.08em}#wealth{font-size:27px}#wealth-change{font-size:8px}
 .chart-wrap{height:22px;margin-top:5px}.chart-time{font-size:6px}.main-grid{margin-top:8px}.prediction-title h2{font-size:14px}.bet-controls{margin-top:5px}
 .notice{font-size:9px;min-height:12px;margin-top:4px}.payout{margin-top:4px}.positions-heading{margin-top:4px}.play-summary{min-height:44px}.directions button{font-size:17px}
}
@media(max-width:700px) and (max-height:730px){
 #holo-anchor,#experience:not(.art-only) #holo-anchor{inset:85px 18px 66px}.person-detail img{width:76px;height:84px}.person-detail{min-height:84px}.person-detail h1{font-size:17px}#wealth{font-size:24px}.chart-wrap{height:17px}.person img{width:24px;height:24px}.person .person-label{font-size:7px;min-height:16px}.person{min-height:44px}.wallet-row strong{font-size:24px}.game-heading h2{font-size:17px}.main-grid{margin-top:5px}.market-label{font-size:6px}.notice{font-size:8px}
}
@media(min-width:701px) and (max-height:560px){.person-detail img{width:75px;height:85px}.game-heading h2{font-size:17px}.chart-wrap{height:20px}.person-detail{min-height:0}}
@media(prefers-reduced-motion:reduce){.character-enter,#hologram[data-burst]:after{animation:none}}

@media(max-width:700px){#city{background-image:url('./assets/apartment-mobile-v001.jpg');background-position:center center}}

/* MWH180 — suspended glass, centered framing and a restrained travelling sheen. */
#hologram{background:linear-gradient(125deg,#091b3338,#09263d50 65%,#24132938);backdrop-filter:blur(1.3px);-webkit-backdrop-filter:blur(1.3px);box-shadow:0 0 0 1px #95fbff7a,0 0 24px #36eaff66,inset 0 0 30px #31d3ea1a,0 25px 60px #0004;border-color:#a1f5ffad;text-shadow:0 1px 3px #000,0 0 8px #001019}
#hologram>.holo-shimmer{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;opacity:.35;background:linear-gradient(112deg,transparent 35%,#7eeaff0a 42%,#adfbff60 49%,#b8faff12 55%,transparent 64%),repeating-linear-gradient(0deg,transparent 0 3px,#9bf3ff0b 3px 4px);background-size:300% 100%,100% 100%;background-position:160% 0,0 0;animation:holo-sheen 6.5s linear infinite;animation-play-state:paused}
#hologram.motion-enabled>.holo-shimmer{animation-play-state:running}
#hologram>:not(.holo-shimmer){position:relative;z-index:1}
.person{background:#0818266b}.person[aria-pressed=true]{background:#4e2c416e}.wallet-row{background:linear-gradient(90deg,#07152462,transparent);padding-left:4px;padding-right:4px}
.person-detail:before{background:linear-gradient(110deg,#07101b80,#07101b38,transparent 95%)}
#wealth,h1,.game-heading h2{filter:drop-shadow(0 1px 2px #000)}.chart-wrap{background-color:#07122050}.play-summary{background:#071a3299}
@keyframes holo-sheen{from{background-position:160% 0,0 0}to{background-position:-160% 0,0 0}}
@media(max-width:700px){#holo-anchor,#experience:not(.art-only) #holo-anchor{inset:64px 19px 76px;align-items:center}}
@media(max-width:700px) and (max-height:730px){#holo-anchor,#experience:not(.art-only) #holo-anchor{inset:43px 18px 66px;align-items:center}}
@media(prefers-reduced-motion:reduce){#hologram>.holo-shimmer{animation:none}}
@media(max-width:299px),(max-height:320px){#holo-anchor,#experience:not(.art-only) #holo-anchor{inset:auto}}

@media(min-width:701px) and (max-height:560px){#holo-anchor{inset:41px 45px 60px}#hologram{grid-template-rows:24px 26px 12px auto auto auto}.game-heading button{min-height:24px}}

/* MWH181 — explicit help in the same glass plane, never an initial modal. */
#hologram #game-surface{display:contents}#hologram #game-surface[hidden]{display:none!important}
#hologram .game-heading #how-to-play{font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:.025em;color:#e8ffff;background:#0d647cbd;border:1px solid #9bf7ff;border-radius:2px;box-shadow:0 0 12px #31dcff45;padding:0 12px;text-shadow:0 1px 2px #001b24}
#hologram #tutorial{display:block;grid-column:1/-1;width:100%;max-height:none;overflow:visible;padding:10px 2px;color:var(--ink)}
#hologram #tutorial[hidden]{display:none!important}
#hologram #tutorial h2{font-size:26px;font-weight:900;font-style:italic;text-transform:uppercase;margin:8px 0 18px;line-height:1.05}
#tutorial .tutorial-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-left:24px;margin:12px 0 20px}
#tutorial .tutorial-steps li{padding-right:10px}#tutorial .tutorial-steps strong{font-size:16px}#tutorial .tutorial-steps span{font-size:14px;line-height:1.4}
#tutorial .tutorial-example{background:#0618279c;border-color:#77efff80;font-size:15px;padding:12px}
#tutorial .tutorial-start{width:auto;min-width:170px;background:#075a71bf;color:#ecffff;border:1px solid #99faff;border-radius:2px;font-style:italic;text-transform:uppercase;box-shadow:0 0 12px #31dcff36}
#hologram.help-open>.holo-shimmer{animation-play-state:paused}
@media(max-width:700px){
 #hologram .game-heading h2{font-size:17px}#hologram .game-heading #how-to-play{font-size:10px;padding:0 8px;min-width:95px}
 #hologram #tutorial{padding:8px 1px}#hologram #tutorial h2{font-size:23px;margin:7px 0 15px}
 #tutorial .tutorial-steps{grid-template-columns:1fr;gap:12px;margin:10px 0 15px;padding-left:23px}#tutorial .tutorial-steps strong{font-size:14px}#tutorial .tutorial-steps span{font-size:13px;line-height:1.3;margin-top:3px}
 #tutorial .tutorial-example{font-size:13px;padding:10px}#tutorial p{font-size:12px;line-height:1.3;margin:9px 0}#tutorial .tutorial-start{width:100%;min-height:44px}
}
@media(min-width:701px) and (max-height:560px){#hologram.help-open{display:block}#hologram.help-open .game-heading{display:flex}#hologram #tutorial h2{font-size:21px;margin:6px 0 10px}#hologram #tutorial{padding:5px 0}#tutorial .tutorial-steps{margin:6px 0 9px;gap:12px}#tutorial .tutorial-steps strong{font-size:13px}#tutorial .tutorial-steps span{font-size:12px}#tutorial .tutorial-example{font-size:12px;padding:6px 10px}#tutorial p{font-size:11px;margin:6px 0}#tutorial .tutorial-start{min-height:36px;margin:0}#hologram.help-open #tutorial .tutorial-start{width:auto}}

#hologram #game-surface>*{position:relative;z-index:1}
/* Attract mode and result punctuation stay inside the artwork, outside site chrome. */
#demo-label{font-size:9px;color:#fff2ae;letter-spacing:.06em;white-space:nowrap}#hologram.demo-playing .wallet-row{border-color:#ffd16d80}
#result-fx{position:absolute;inset:0;z-index:6;pointer-events:none;display:grid;place-items:center;overflow:clip;isolation:isolate}
.result-stamp{display:grid;justify-items:center;gap:6px;text-align:center;transform:rotate(-6deg);padding:24px 40px;max-width:94%;color:#f6ffe7;text-shadow:4px 5px 0 #07191b,-2px -2px 0 #07191b,0 0 35px #1cffaf;animation:result-slam 2.6s ease-out both;background:radial-gradient(ellipse,#062b2be8,transparent 72%)}
.result-stamp small{font-size:clamp(15px,3vw,27px);font-weight:900;text-transform:uppercase}.result-stamp strong{font-size:clamp(48px,10vw,125px);font-style:italic;font-weight:1000;line-height:.9;white-space:nowrap;letter-spacing:-.07em}.result-stamp b{font-size:clamp(42px,8vw,95px);line-height:1.1}.result-stamp span{font-size:10px;letter-spacing:.12em;background:#07131ee8;padding:5px 10px}
.result-rays{position:absolute;width:min(900px,140vw);aspect-ratio:1;opacity:.55;background:repeating-conic-gradient(from 12deg,transparent 0deg 18deg,#61ffd14d 19deg 24deg,transparent 25deg 40deg);mask-image:radial-gradient(black 5%,transparent 68%);animation:result-rays 2.6s ease-out both}
.result-coins{position:absolute;inset:50%}.result-coins i{position:absolute;width:35px;height:35px;display:grid;place-items:center;border:3px solid #ffed9c;border-radius:50%;background:#ce8b1a;color:#fff6b7;font-style:normal;font-weight:900;box-shadow:0 0 15px #f9a82166;animation:result-token 2.6s cubic-bezier(.18,.7,.3,1) both;animation-delay:calc(var(--n)*12ms)}
#result-fx[data-result=loss] .result-stamp{color:#ffcedb;text-shadow:4px 5px 0 #200b22,-2px -2px 0 #200b22,0 0 35px #ff2765;animation-name:result-loss}
#result-fx[data-result=loss] .result-rays{background:repeating-conic-gradient(from 5deg,transparent 0deg 32deg,#ff537d99 33deg 34deg,transparent 35deg 54deg)}
#result-fx[data-result=loss] .result-coins i{border-radius:1px;border-color:#ff7896;background:#7c233d;color:transparent;width:5px;height:70px;animation-name:result-shard}
#result-fx[data-result=tie] .result-coins{display:none}#result-fx[data-result=tie] .result-stamp{color:#c9f5ff}
.effects-paused *, .effects-paused *:before{animation-play-state:paused!important}
@keyframes result-slam{0%{opacity:0;transform:scale(1.8) rotate(-14deg)}10%,72%{opacity:1;transform:scale(1) rotate(-6deg)}100%{opacity:0;transform:scale(1.1) translateY(-25px) rotate(-4deg)}}
@keyframes result-loss{0%{opacity:0;transform:scale(1.5) rotate(8deg)}12%,70%{opacity:1;transform:scale(1) rotate(5deg)}100%{opacity:0;transform:translateY(65px) scale(.85) rotate(9deg)}}
@keyframes result-token{0%{opacity:0;transform:translate(0,50px) scale(.2)}15%{opacity:1}65%{opacity:1;transform:translate(var(--x),var(--y)) rotate(var(--r))}100%{opacity:0;transform:translate(var(--x),180px) rotate(var(--r))}}
@keyframes result-shard{0%{opacity:0;transform:scale(.1)}18%{opacity:.8}100%{opacity:0;transform:translate(var(--x),250px) rotate(var(--r))}}
@keyframes result-rays{0%{opacity:0;transform:scale(.4) rotate(-10deg)}15%{opacity:.7}100%{opacity:0;transform:scale(1.4) rotate(20deg)}}
@media(max-width:700px){#demo-label{font-size:7px}.result-stamp{padding:20px 12px}.result-stamp strong{font-size:54px}.result-stamp small{font-size:17px}.result-stamp b{font-size:47px}.result-coins i{width:27px;height:27px}}
@media(prefers-reduced-motion:reduce){#result-fx *{animation:none!important}.result-coins,.result-rays{display:none}.result-stamp{transform:none}}

#result-fx.static-result .result-stamp{animation:none;opacity:1;transform:none}#result-fx.static-result .result-coins,#result-fx.static-result .result-rays{display:none}
/* MWH184: animate the visible face, retaining each full-size button hit target. */
#stakes button,.directions button{position:relative;isolation:isolate;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible}
#stakes button>.choice-face,.directions button>.choice-face{position:absolute;inset:3px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #67c6e6;background:#102a42e8;color:inherit;border-radius:2px;font:inherit;pointer-events:none;transform:scale(.88);opacity:.6;transition:transform .32s cubic-bezier(.18,.8,.25,1),opacity .28s,box-shadow .3s,background .3s;filter:saturate(.65)}
#stakes button[aria-pressed=true]>.choice-face{transform:scale(1.06);opacity:1;background:#175572f0;border-color:#d3ffff;box-shadow:0 0 0 1px #91f3ff,0 0 20px #57e6ff77,inset 0 0 15px #73eaff40;filter:saturate(1.2);color:#fff}
.directions:not(.has-choice) button>.choice-face{opacity:.85;transform:scale(.97);filter:none}
#bet-up>.choice-face{background:#073c36e8;border-color:#67ffc6}.directions #bet-down>.choice-face{background:#46172de8;border-color:#ff82ab}
.directions button[data-chosen=true]>.choice-face{transform:scale(1.065);opacity:1;filter:saturate(1.2);border-width:2px;border-color:currentColor;box-shadow:0 0 24px #6affba66,inset 0 0 18px #6affba35}
.directions #bet-down[data-chosen=true]>.choice-face{box-shadow:0 0 24px #ff4e8e80,inset 0 0 18px #ff4e8e40}
.directions .choice-face>span{font:inherit}#payout{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px 10px;line-height:1.25}#choice-summary{font-size:16px;letter-spacing:.02em;color:#f0fbff}#choice-summary[data-direction=up]{color:#9bffd3}#choice-summary[data-direction=down]{color:#ffc1d1}#choice-returns{font-size:9px;white-space:nowrap;opacity:.8}
#stakes button:hover>.choice-face,.directions button:hover>.choice-face{opacity:.85}#stakes button[aria-pressed=true]:hover>.choice-face,.directions button[data-chosen=true]:hover>.choice-face{opacity:1}
@media(max-width:700px){#choice-summary{font-size:12px}#choice-returns{font-size:8px}.directions button>.choice-face{font-size:20px}#payout{gap:2px 5px}}
@media(min-width:701px) and (max-height:560px){#choice-summary{font-size:12px}#choice-returns{font-size:8px}}
@media(prefers-reduced-motion:reduce){#stakes button>.choice-face,.directions button>.choice-face{transition:none}}

/* Public archive chrome integration; artwork dimensions remain approved v015. */
body.study12 .archive-nav{pointer-events:auto}body.study12 .edition{position:absolute;right:0;top:35px}body.study12 header .wordmark{font-size:20px}body.study12 header .dot{width:auto;height:auto;background:none;box-shadow:none}body.study12 #calendar h2{font-size:26px}body.study12 #calendar .eyebrow{margin:0}body.study12 #calendar button{color:inherit}
@media(max-width:700px){body.study12 header{left:18px;right:18px;top:18px}body.study12 .archive-nav{gap:12px}body.study12 .archive-nav button{font-size:10px;min-height:32px}body.study12 header .wordmark{font-size:17px}body.study12 .edition{top:30px;font-size:7px}}

body.study12 .piece-arrow-previous{left:0;right:auto}body.study12 .piece-arrow-next{left:auto;right:0}
