:root{color-scheme:dark;--bg:#14151f;--panel:#20212e;--panel2:#242634;--panel3:#1a1c28;--border:#3a3640;--ivory:#f4ecdb;--muted:#a39c9b;--dim:#77767e;--gold:#f2b67e;--mint:#a6dec8;--softgold:#b08e6f;--plum:#704c66;--red:#ed948d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:14px; -webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ivory);min-width:320px;background-image:radial-gradient(ellipse at 10% -6%,rgba(127,78,90,.20),transparent 43%),radial-gradient(ellipse at 100% 10%,rgba(83,71,99,.11),transparent 45%)}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:3px}a{color:inherit;text-decoration:none}.app-shell{max-width:1660px;margin:auto;padding:0 38px}.topbar{height:88px;border-bottom:1px solid #39333e;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center}.brand-mark{width:29px;height:31px;display:flex;gap:3px;align-items:flex-end;transform:rotate(-10deg)}.brand-mark span{display:block;width:7px;border:1.5px solid var(--gold);border-radius:8px 8px 2px 2px;background:rgba(242,182,126,.11)}.brand-mark span:nth-child(1){height:17px}.brand-mark span:nth-child(2){height:30px}.brand-mark span:nth-child(3){height:23px}.brand-stack strong{display:block;font-size:17px;letter-spacing:.06em;font-weight:800}.brand-stack strong span{color:var(--gold);font-weight:500}.brand-stack small{display:block;font-size:8px;letter-spacing:.22em;color:#c2aba1;margin-top:3px}.top-right{font-size:10px;font-weight:700;letter-spacing:.19em;display:flex;align-items:center;gap:15px}.muted{color:var(--muted)}.flag-dot{width:15px;height:15px;display:inline-block;border-radius:50%;background:conic-gradient(#14b56c 0 33%,#f0bf48 33% 66%,#e84f43 66%);border:1px solid #a5896e}.separator{width:1px;height:19px;background:#52464d}.live-pill{padding:9px 12px;border:1px solid #49534d;border-radius:4px;color:var(--mint);white-space:nowrap;font-size:9px}.live-pill span,.status-dot{display:inline-block;height:6px;width:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 9px rgba(164,224,200,.85);margin-right:4px}.hero{padding:28px 0 28px}.eyebrow,.overline,.micro-label,.tiny-label{font-size:10px;letter-spacing:.2em;font-weight:750;color:var(--gold)}.eyebrow{display:flex;gap:10px;align-items:center}.eyebrow .line{height:1px;width:26px;background:var(--gold)}.serial{color:#817c82;margin-left:10px}.hero-line{display:flex;align-items:end;justify-content:space-between;gap:25px}.hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(46px,5.4vw,92px);line-height:.97;letter-spacing:-.06em;margin:15px 0 10px}.hero h1 em{color:var(--gold);font-style:normal;font-weight:300}.subtitle{color:#d1bfb2;margin:0;font-size:16px;letter-spacing:.025em}.hero-description{max-width:300px;display:flex;align-items:center;gap:16px;color:#a9a2aa;line-height:1.7;font-size:12px;margin-bottom:5px}.hero-squiggle{font-size:53px;line-height:1;color:#b88e7a;font-weight:100}.workspace{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(380px,.85fr);gap:15px}.stage-panel,.console-panel,.mission-panel,.discovery-panel{border:1px solid var(--border);background:var(--panel)}.stage-panel{display:flex;flex-direction:column;min-width:0}.stage-toolbar,.console-heading{height:49px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;border-bottom:1px solid var(--border)}.engine-status,.console-indicator{font-size:9px;letter-spacing:.1em;font-weight:800;color:#c3b5a7}.engine-status{display:flex;gap:6px;align-items:center}.stage-window{position:relative;background:radial-gradient(ellipse at 53% 48%,#48424a,#211e2b 72%,#1b1924);min-height:460px;height:clamp(460px,39vw,608px);overflow:hidden;cursor:grab;touch-action:none}.stage-window:active{cursor:grabbing}#scene{width:100%;height:100%;display:block}.stage-window:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,17,27,.4),transparent 23%,transparent 80%,rgba(21,18,26,.37));z-index:1;pointer-events:none}.stage-head,.stage-bottom{position:absolute;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:2}.stage-head{top:20px}.scene-id{font-size:9px;letter-spacing:.15em;font-weight:800;color:#e8dacb}.scene-id span{color:var(--gold)}.scene-state{font-size:9px;letter-spacing:.12em;color:var(--mint);font-weight:800}.stage-bottom{bottom:17px;align-items:end}.stage-hint{font-size:10px;letter-spacing:.01em;color:#d1c6c0;background:rgba(25,20,31,.52);padding:8px 11px;border-radius:3px;backdrop-filter:blur(5px)}.stage-hint b{color:var(--gold);margin:0 5px}.hint-icon{color:var(--gold);margin-right:7px}.axis-widget{width:32px;height:31px;border-left:1px solid #8e7d75;border-bottom:1px solid #8e7d75;position:relative;margin-right:9px}.axis-widget span{position:absolute;font-size:10px;font-weight:900}.axis-y{top:-6px;left:-4px;color:var(--mint)}.axis-z{bottom:-11px;right:-10px;color:var(--gold)}.axis-x{top:0;right:0;color:#efaaa8}.stage-corner{position:absolute;width:20px;height:20px;border-color:rgba(237,197,158,.47);border-style:solid;z-index:2;pointer-events:none}.stage-corner-tl{left:11px;top:11px;border-width:1px 0 0 1px}.stage-corner-tr{right:11px;top:11px;border-width:1px 1px 0 0}.stage-corner-bl{left:11px;bottom:11px;border-width:0 0 1px 1px}.stage-corner-br{right:11px;bottom:11px;border-width:0 1px 1px 0}.stage-actions{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-bottom:1px solid var(--border);gap:10px}.camera-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.tiny-label{color:#8f858a;margin-right:11px}.camera,.square-action{background:transparent;color:#aaa1a2;padding:8px 12px;border:1px solid transparent;border-radius:4px;font-size:11px}.camera:hover,.camera.is-active{color:#f2dbbd;background:#36313b;border-color:#6f5b55}.square-action{font-size:19px;padding:3px 11px;border-color:#4b454b;color:var(--gold)}.notes-strip{padding:14px 20px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.notes-strip .overline{display:block;font-size:9px}.smallcopy{display:block;color:#8f868d;font-size:10px;margin-top:5px}.notes{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.note{background:#332d34;border:1px solid #574950;color:#c7b7ab;min-width:33px;height:35px;border-radius:3px;font-weight:750;font-size:11px;position:relative}.note:hover,.note.is-selected{background:#ad795d;color:#1b1921;border-color:#e1ab7b}.note.is-challenge:after{content:"";position:absolute;right:2px;top:2px;width:4px;height:4px;background:var(--mint);border-radius:50%}.note.is-playing{box-shadow:0 0 18px rgba(245,172,114,.5);transform:translateY(-2px)}.console-panel{min-width:0;padding-bottom:17px}.console-indicator{color:var(--mint)}.selected-title{padding:22px 21px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.micro-label{color:#999198;font-size:9px;letter-spacing:.15em}.selected-number{display:flex;align-items:baseline;gap:15px;margin-top:4px}.selected-number>span:first-child{font-family:Georgia,serif;font-size:46px;line-height:1.1}.selected-label{font-size:10px;letter-spacing:.1em;font-weight:800;color:var(--gold)}.strike-btn{border:1px solid #d3a074;background:rgba(209,149,96,.13);padding:10px 16px;color:#f1c296;font-size:10px;font-weight:850;letter-spacing:.13em;border-radius:4px;white-space:nowrap}.strike-btn:hover{background:#c18d64;color:#241d25}.strike-btn span{font-size:16px;margin-right:6px}.metrics-row{margin:0 20px 17px;padding:14px 12px;border:1px solid #48414b;background:#1c1c29;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px}.metrics-row>div{min-width:0;padding-left:12px}.metrics-row>div+div{border-left:1px solid #433a43}.metrics-row strong{font-size:25px;font-weight:600;display:inline-block;letter-spacing:-.05em;margin-top:7px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.metric-unit{font-size:10px;color:var(--gold);margin-left:4px}.control-card{margin:12px 21px 0}.control-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.control-heading label{font-size:13px;font-weight:750}.control-heading output{font-size:12px;font-weight:850;color:var(--gold)}input[type=range]{display:block;width:100%;height:5px;border-radius:12px;appearance:none;background:linear-gradient(to right,#b78a65,#574e56);outline:none;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:var(--ivory);border:3px solid #c18c66;box-shadow:0 0 0 3px #2c2730}input[type=range]::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:var(--ivory);border:3px solid #c18c66}.slider-ends{display:flex;justify-content:space-between;color:#8c8186;font-size:8px;letter-spacing:.1em;margin-top:10px}.control-card p{font-size:10px;color:#8d8a94;margin:9px 0 0;line-height:1.5}.switch-row{margin:21px 21px 16px;padding-top:15px;border-top:1px solid #51434b;display:flex;align-items:center;justify-content:space-between}.switch-row strong{display:block;font-size:12px}.switch-row span:not(.switch-track){display:block;font-size:10px;color:#8f858c;margin-top:5px}.switch input{position:absolute;opacity:0}.switch-track{display:block;width:39px;height:22px;border-radius:22px;background:#49404a;border:1px solid #73606a;position:relative;cursor:pointer}.switch-track:after{content:"";position:absolute;top:3px;left:4px;width:14px;height:14px;background:#bbb0a6;border-radius:50%;transition:transform .15s}.switch input:checked+.switch-track{background:#648e83}.switch input:checked+.switch-track:after{transform:translateX(16px);background:#dbf4df}.response-panel{margin:0 20px;background:#181b28;border:1px solid #373744;padding:13px 14px 9px}.response-header,.response-footer{display:flex;justify-content:space-between;gap:5px}.response-live{font-size:8px;color:var(--mint);letter-spacing:.1em;font-weight:850}.response-panel canvas{display:block;width:100%;height:92px}.response-footer{font-size:8px;letter-spacing:.07em;color:#9d919a}.mini-fact{display:flex;align-items:start;gap:11px;margin:14px 20px 0;color:#9b9297}.fact-symbol{border:1px solid #726267;color:var(--gold);border-radius:50%;min-width:19px;height:19px;display:grid;place-items:center;font:italic bold 12px Georgia}.mini-fact p{font-size:10px;line-height:1.65;margin:0}.mini-fact strong{color:#cec1b5}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(380px,.85fr);gap:15px;margin-top:15px}.mission-panel,.discovery-panel{padding:27px 29px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.bottom-grid h2{font-family:Georgia,serif;font-weight:400;font-size:30px;line-height:1.12;letter-spacing:-.02em;margin:11px 0}.mission-badge{font-size:8px;letter-spacing:.13em;color:var(--mint);border:1px solid #52645e;padding:8px 10px;white-space:nowrap}.mission-intro{max-width:640px;line-height:1.7;color:#a99e9f;font-size:11px;margin:10px 0 21px}.mission-intro strong{color:#e4cfb6}.mission-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.mission-item{background:#1b1d29;border:1px solid #433e47;padding:14px 15px 12px;cursor:pointer;border-radius:3px;color:inherit;text-align:left;min-width:0}.mission-item:hover{border-color:#ab8068}.mission-item.is-done{border-color:#7fbca5}.mission-item-head{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#b3aaa7;letter-spacing:.12em;font-weight:850}.mission-item-head i{font-size:13px;font-style:normal;color:var(--gold)}.mission-item.is-done .mission-item-head i{color:var(--mint)}.mission-item-value{font-family:Georgia,serif;font-size:24px;margin-top:11px}.mission-item-sub{font-size:10px;color:#9d9297;margin-top:8px}.mission-item-track{background:#413a44;height:3px;margin-top:14px;overflow:hidden}.mission-item-fill{height:100%;background:var(--gold);transition:width .25s}.mission-item.is-done .mission-item-fill{background:var(--mint)}.mission-footer{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:19px}.score strong{display:block;font-size:38px;font-weight:500;letter-spacing:-.055em;line-height:1.2}.score strong span{color:#6f6a70;font-size:17px}.mission-buttons{display:flex;gap:9px}.btn{border-radius:3px;padding:14px 17px;font-size:10px;letter-spacing:.1em;font-weight:800;white-space:nowrap}.btn-secondary{border:1px solid #77615a;color:#ead3b8;background:#342c33}.btn-secondary:hover{background:#554049}.btn-primary{background:#e3b17e;color:#241922;border:1px solid #f6ca97}.btn-primary:hover{background:#ffd2a2}.btn:disabled{opacity:.5;cursor:not-allowed}.mission-message{font-size:10px;color:#b4a7a0;margin-top:16px;padding-top:12px;border-top:1px solid #453d45;min-height:27px}.mission-message.success{color:var(--mint)}.discovery-panel{background:linear-gradient(145deg,#25222b,#1d202b)}.discovery-panel h2{margin-bottom:21px}.insight-list{display:flex;flex-direction:column;gap:16px}.insight{display:flex;gap:13px}.insight-index{font-family:Georgia,serif;font-size:25px;color:#976f61;min-width:30px}.insight h3{font-size:9px;letter-spacing:.16em;margin:1px 0 5px;color:#e3c4a5}.insight p{font-size:10px;line-height:1.6;color:#a19a9d;margin:0}.source-link{display:inline-block;color:var(--mint);font-size:10px;font-weight:700;margin:23px 0 0;border-bottom:1px solid #62827c;padding-bottom:4px}footer{padding:27px 0 31px;display:grid;grid-template-columns:1fr auto;gap:13px;align-items:center}.footer-left{display:flex;align-items:center;gap:11px}.footer-seal{display:grid;place-items:center;width:34px;height:34px;border:1px solid #7b695e;color:var(--gold);font:italic 15px Georgia}.footer-left strong{display:block;font-size:10px;letter-spacing:.18em}.footer-left div span{display:block;color:#8d8185;font-size:9px;letter-spacing:.12em;margin-top:5px}.footer-actions{display:flex;gap:9px}.footer-actions button{background:none;border:1px solid #534950;padding:9px 11px;border-radius:3px;color:#ccb9ad;font-size:10px}.footer-actions button:hover{background:#35303b}.footer-note{grid-column:1/-1;color:#7d767e;font-size:10px;margin:8px 0 0}.is-busy{opacity:.5;pointer-events:none}#toast{position:fixed;z-index:40;bottom:23px;right:24px;color:#1e1d27;background:#e4be96;box-shadow:0 8px 45px rgba(0,0,0,.4);border-radius:4px;padding:12px 17px;max-width:330px;font-size:12px;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translateY(0)}
@media(max-width:1160px){.app-shell{padding:0 22px}.workspace,.bottom-grid{grid-template-columns:minmax(0,1fr) minmax(325px,.8fr)}.stage-window{height:520px}.metrics-row strong{font-size:20px}.selected-label{font-size:8px}.mission-panel,.discovery-panel{padding:22px}.mission-buttons{flex-wrap:wrap;justify-content:flex-end}.notes-strip{flex-wrap:wrap}.notes{justify-content:flex-start}}
@media(max-width:890px){.workspace,.bottom-grid{grid-template-columns:1fr}.console-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 0}.console-heading{grid-column:1/-1}.selected-title,.metrics-row{grid-column:1/-1}.control-card{margin-top:20px}.switch-row,.response-panel,.mini-fact{grid-column:1/-1}.stage-window{height:clamp(420px,62vw,650px)}.mission-buttons{flex-wrap:nowrap}}
@media(max-width:600px){.app-shell{padding:0 12px}.topbar{height:69px}.brand-stack strong{font-size:14px}.brand-stack small{font-size:7px}.top-right{font-size:8px;gap:7px}.top-right .muted,.top-right .separator{display:none}.live-pill{padding:7px}.hero{padding:24px 3px}.hero h1{font-size:51px}.hero-line{display:block}.subtitle{font-size:13px}.hero-description{margin-top:15px;max-width:none;font-size:11px}.hero-squiggle{font-size:34px}.serial{font-size:8px}.stage-toolbar,.console-heading{padding:0 12px}.stage-window{height:410px;min-height:0}.stage-head{top:18px;left:15px;right:15px}.scene-id{font-size:8px}.scene-state{display:none}.stage-bottom{left:10px;bottom:9px}.stage-hint{font-size:8px;max-width:270px;line-height:1.6}.axis-widget{display:none}.stage-actions{padding:9px 8px}.tiny-label{margin-right:0}.camera{padding:8px 7px;font-size:9px}.notes-strip{padding:14px 11px}.note{min-width:30px;height:31px}.console-panel{grid-template-columns:1fr 1fr}.selected-title{padding:17px 14px 8px}.metrics-row{margin:0 11px 12px}.metrics-row>div{padding-left:7px}.metrics-row strong{font-size:21px}.metrics-row .micro-label{font-size:7px}.metric-unit{font-size:9px}.control-card{margin:10px 13px}.switch-row,.response-panel,.mini-fact{margin-left:12px;margin-right:12px}.mission-panel,.discovery-panel{padding:19px 15px}.mission-badge{display:none}.bottom-grid h2{font-size:26px}.mission-bars{gap:5px}.mission-item{padding:11px 8px}.mission-item-head{font-size:8px}.mission-item-value{font-size:19px}.mission-item-sub{font-size:9px}.mission-footer{align-items:stretch;flex-direction:column}.mission-buttons{display:grid;grid-template-columns:1fr 1fr}.btn{padding:13px 8px;font-size:9px}.footer-actions{flex-wrap:wrap}.footer-actions button{flex:1}.footer-left div span{font-size:8px}footer{grid-template-columns:1fr}.footer-note{grid-column:1}.console-panel .control-card{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
