
:root{--navy:#081d2a;--deep:#05101b;--gold:#e9b747;--cream:#f6ead1;--muted:#afbbc0;--teal:#65c5c1}*{box-sizing:border-box}body{margin:0;background:var(--deep);color:var(--cream);font-family:Arial,Helvetica,sans-serif}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid white;outline-offset:5px}button:disabled{cursor:default;opacity:.4}button,select{touch-action:manipulation}#app{min-height:100vh;min-height:100dvh}.shell{max-width:1600px;margin:auto;min-height:100vh;min-height:100dvh;position:relative;background:#081d2a}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid #e9b74730;background:#071822;z-index:3;position:relative;gap:15px}.wordmark{font-family:Georgia,serif;font-size:22px;letter-spacing:3px;font-weight:800;color:var(--cream)}.wordmark i{font-size:10px;font-family:Arial,sans-serif;display:block;color:var(--gold);letter-spacing:5px;font-style:normal;margin-top:6px}.tools{display:flex;gap:8px;align-items:center}.iconbtn{background:transparent;border:1px solid #e9b74750;color:var(--cream);border-radius:50%;width:40px;height:40px;font-size:18px}.chapter{font-size:11px;text-transform:uppercase;letter-spacing:3px;color:var(--gold)}.stage{height:clamp(300px,51vh,570px);position:relative;overflow:hidden;background:#203f45}.backdrop{position:absolute;inset:0;background:linear-gradient(0deg,#071b2a55,#071b2a05),url('assets/backdrop.png') center/cover;background-color:#314d52;transform:scale(1.025);animation:drift 20s ease-out forwards}.fallback-bg{background-image:linear-gradient(0deg,#071b2a66,#071b2a15),url('assets/brand.png');background-size:auto,200%;background-position:center,0% 69%}.stage:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#081d2a 0%,transparent 28%,#081d2a11 80%);pointer-events:none}.letterbox{position:absolute;top:21px;left:34px;z-index:2;font-size:10px;text-transform:uppercase;letter-spacing:3px;background:#071822cc;padding:9px 13px;border-left:2px solid var(--gold)}.ambient{position:absolute;inset:0;overflow:hidden;pointer-events:none}.ambient span{position:absolute;width:5px;height:5px;border:1px solid #ffdf99;border-radius:50%;opacity:0;animation:float 8s infinite}.ambient span:nth-child(2){left:20%;animation-delay:1s}.ambient span:nth-child(3){left:70%;animation-delay:3s}.ambient span:nth-child(4){left:90%;animation-delay:5s}.portrait{position:absolute;bottom:-8%;height:108%;width:32%;right:10%;overflow:hidden;filter:drop-shadow(0 15px 30px #0006);animation:arrive .5s both}.portrait img{position:absolute;width:400%;max-width:none;height:auto;top:-18%;left:0}.portrait[data-person=foam] img{left:-100%}.portrait[data-person=water] img{left:-200%}.portrait[data-person=wind] img{left:-300%}.portrait.clean img{width:100%;height:100%;object-fit:contain;top:0;left:0!important}.portrait.clean{bottom:-2%;height:100%;width:40%;right:8%}.scene-quote{position:absolute;top:30%;left:7%;max-width:40%;z-index:2;font-family:Georgia,serif;font-size:clamp(20px,3vw,42px);line-height:1.18;text-shadow:0 2px 20px #000b}.scene-quote small{display:block;font-family:Arial,sans-serif;font-size:10px;color:var(--gold);letter-spacing:3px;text-transform:uppercase;margin-bottom:20px}.story{position:relative;z-index:2;margin:-20px auto 0;max-width:1100px;padding:0 42px 28px}.speaker{font-size:11px;font-weight:bold;text-transform:uppercase;letter-spacing:3px;color:var(--gold);display:flex;align-items:center;gap:12px}.speaker:before{content:"";width:24px;height:2px;background:var(--gold)}.dialogue{font-family:Georgia,serif;font-size:clamp(20px,2.25vw,29px);line-height:1.4;min-height:87px;margin:16px 0 20px;animation:fade .4s both}.subtext{font-size:13px;color:var(--muted);line-height:1.6;margin:8px 0 22px}.bottomrow{display:flex;align-items:center;justify-content:space-between;gap:20px}.gold{border:1px solid #f9dc83;background:linear-gradient(130deg,#f1d180,#dfa42c);color:#0b2633;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:2px;padding:17px 24px;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);min-width:170px;transition:filter .2s,transform .2s}.gold:hover{filter:brightness(1.13);transform:translateY(-2px)}.hint{color:#81959f;font-size:11px;letter-spacing:1px}.progress{height:3px;background:#243a44}.progress>div{height:100%;background:var(--gold);transition:width .5s}.foot{padding:13px 34px;color:#7e939e;font-size:10px;display:flex;justify-content:space-between;letter-spacing:1px}.choices{display:grid;gap:9px}.choice{display:flex;align-items:center;text-align:left;color:var(--cream);background:#102a37;border:1px solid #80939240;padding:17px 20px;border-radius:3px;gap:15px;transition:.2s}.choice:hover{border-color:var(--gold);background:#183a49;transform:translateX(3px)}.choice b{display:block;font-size:14px;letter-spacing:.3px}.choice small{display:block;font-size:11px;color:#a9bbc4;margin-top:5px;line-height:1.5}.key{color:var(--gold);font-size:11px;border:1px solid #e9b74755;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}.title-screen{min-height:100vh;position:relative;overflow:hidden;display:flex;align-items:center}.title-screen .backdrop{background-position:center;filter:brightness(.65);transform:scale(1.06);animation:drift 35s forwards}.title-screen:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061623ed,#071a2777 60%,#071a271a)}.title-content{z-index:2;position:relative;padding:60px 7%;max-width:850px}.eyebrow{font-size:11px;letter-spacing:5px;text-transform:uppercase;color:var(--gold);margin-bottom:24px}.title-content h1{font-size:clamp(50px,8vw,112px);font-family:Georgia,serif;line-height:.9;letter-spacing:-4px;margin:10px 0 20px;font-style:italic}.title-content h1 span{display:block;font-size:.32em;letter-spacing:14px;font-style:normal;margin-bottom:18px}.subtitle{font-size:14px;letter-spacing:8px;color:var(--gold);text-transform:uppercase;margin:28px 0}.tagline{max-width:470px;line-height:1.8;color:#e3dfd3;font-size:16px;margin-bottom:33px}.title-buttons{display:flex;gap:12px;flex-wrap:wrap}.outline{background:#071b2abb;color:var(--cream);padding:16px 22px;border:1px solid #d9b96b70;font-size:11px;letter-spacing:2px;text-transform:uppercase}.title-footer{position:absolute;bottom:25px;left:7%;right:7%;z-index:3;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#acb7b9}.select-screen{padding:30px 6% 35px;background:radial-gradient(ellipse at top,#153d4b,#071a26 65%);min-height:calc(100vh - 70px)}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:center;margin-bottom:22px}.section-heading h2{font:italic 36px Georgia,serif;margin:8px 0}.section-heading p{font-size:13px;color:#abbac0;line-height:1.6}.candidates{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.candidate{border:1px solid #54778477;background:#102b39;border-radius:8px;overflow:hidden;transition:.25s;position:relative}.candidate:hover,.candidate.selected{border-color:var(--gold);transform:translateY(-4px);box-shadow:0 10px 35px #0004}.candidate-art{height:275px;position:relative;background:#f4e7cf;overflow:hidden}.candidate-art img{width:400%;max-width:none;position:absolute;top:-52px}.candidate-art[data-person=foam] img{left:-100%}.candidate-art[data-person=water] img{left:-200%}.candidate-art[data-person=wind] img{left:-300%}.candidate-art.clean{background:linear-gradient(135deg,#274752,#0c2634)}.candidate-art.clean img{width:100%;height:140%;object-fit:contain;top:0;left:0!important}.candidate-info{padding:20px}.candidate-info h3{font:28px Georgia,serif;margin:0;color:var(--cream)}.role{color:var(--gold);font-size:9px;letter-spacing:2px;text-transform:uppercase;margin:8px 0 14px}.candidate-info p{font-size:12px;color:#c2cdd0;line-height:1.6;min-height:58px}.statline{display:flex;justify-content:space-between;font-size:10px;color:#9fb6bf;margin:9px 0}.bars{display:flex;gap:4px}.bars i{width:12px;height:5px;background:#2d4b58}.bars i.on{background:var(--gold)}.candidate-actions{display:flex;gap:8px;margin-top:18px}.candidate-actions button{flex:1;min-width:0;padding:13px 8px;letter-spacing:1px;font-size:10px}.tag{position:absolute;top:12px;right:12px;padding:6px 10px;background:#061924dd;color:var(--gold);font-size:9px;letter-spacing:1px}.modal{position:fixed;z-index:20;inset:0;background:#020a13df;display:grid;place-items:center;backdrop-filter:blur(10px);padding:20px}.modal[hidden]{display:none}.modal-card{width:min(560px,100%);background:#102a38;border:1px solid #e9b74770;padding:32px;border-radius:8px}.modal-card h2{font:32px Georgia,serif;margin-top:0}.modal-card p{line-height:1.7;color:#c8d0cf;font-size:15px}.modal-card .choices{margin-top:25px}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.toast{color:var(--teal);font-size:12px;line-height:1.6;padding:12px 0}.results{min-height:calc(100vh - 70px);padding:45px 7%;background:radial-gradient(ellipse at 80% 30%,#194550,#061925 70%)}.results h1{font:italic clamp(35px,5vw,65px) Georgia,serif;margin:14px 0}.results p{max-width:700px;font-size:15px;line-height:1.8;color:#b8c8ce}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0;max-width:850px}.result-tile{padding:22px;border:1px solid #e9b74750;background:#102d3b}.result-tile strong{display:block;font:32px Georgia,serif;color:var(--gold);margin:10px 0}.result-tile small{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#a5bcc5}.timeline{display:flex;gap:25px;flex-wrap:wrap;padding:18px 0 30px;font-size:12px;color:#cad4d5}.timeline b{display:block;color:var(--gold);margin-bottom:7px}.bubble-effect{position:absolute;inset:0;pointer-events:none;z-index:2}.bubble-effect i{position:absolute;width:50px;height:50px;border:1px solid #defaff99;border-radius:50%;background:radial-gradient(circle at 25% 25%,#fff9,#ac7cff22 45%,#7de8ed33);animation:bubble 7s infinite;bottom:-70px}.bubble-effect i:nth-child(2){left:15%;width:80px;height:80px;animation-delay:2s}.bubble-effect i:nth-child(3){left:70%;animation-delay:1s}.bubble-effect i:nth-child(4){left:90%;animation-delay:4s}.bubble-effect.water i{border-radius:50% 50% 45% 45%;background:#89d9ff44;transform:rotate(45deg)}.bubble-effect.wind i{height:8px;width:140px;border:0;border-top:2px solid #d8f4fccc;background:none;animation:gust 5s infinite}.review-note{font-size:10px;color:#738c99;margin-top:24px}.title-emblem{font-size:35px;color:var(--gold);margin-bottom:20px}.statuschips{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#b7c8cf}.statuschips span{border-left:2px solid var(--gold);padding-left:8px}@keyframes drift{to{transform:scale(1)}}@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes arrive{from{opacity:0;transform:translateX(25px)}to{opacity:1;transform:translateX(0)}}@keyframes float{0%{bottom:0;opacity:0}30%{opacity:.5}100%{bottom:100%;opacity:0;transform:translateX(80px)}}@keyframes bubble{0%{bottom:-70px;opacity:0}10%{opacity:.8}100%{bottom:110%;opacity:0;transform:translateX(80px)}}@keyframes gust{from{left:-20%;bottom:40%;opacity:0}30%{opacity:.8}to{left:120%;bottom:70%;opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:700px){.topbar{height:65px;padding:0 18px}.wordmark{font-size:16px;letter-spacing:2px}.wordmark i{font-size:7px;letter-spacing:3px}.chapter{font-size:8px;letter-spacing:1px}.tools{gap:5px}.iconbtn{width:34px;height:34px;font-size:15px}.stage{height:36vh;min-height:240px}.letterbox{left:18px;top:14px;font-size:8px}.portrait{width:45%;right:2%;height:100%;bottom:-8%}.portrait.clean{width:60%;right:0}.scene-quote{left:6%;max-width:42%;font-size:22px}.scene-quote small{font-size:8px;letter-spacing:1px}.story{padding:0 22px 23px;margin:-10px auto 0}.dialogue{font-size:21px;min-height:88px;line-height:1.4;margin:12px 0 17px}.speaker{font-size:9px}.hint{display:none}.bottomrow{justify-content:flex-end}.gold{padding:15px 20px}.foot{padding:12px 20px;font-size:8px}.title-content{padding:50px 7% 100px}.title-content h1{font-size:60px;letter-spacing:-3px}.title-content h1 span{letter-spacing:9px}.subtitle{font-size:11px;letter-spacing:5px}.tagline{font-size:14px}.title-footer{flex-direction:column;gap:10px}.select-screen{padding:24px 20px}.section-heading{display:block}.section-heading h2{font-size:30px}.candidates{grid-template-columns:1fr}.candidate{display:grid;grid-template-columns:35% 65%}.candidate-art{height:100%;min-height:270px}.candidate-art img{top:0;width:480%}.candidate-art[data-person=foam] img{left:-120%}.candidate-art[data-person=water] img{left:-240%}.candidate-art[data-person=wind] img{left:-360%}.candidate-art.clean img{width:170%;height:100%;left:-35%!important;object-fit:cover;object-position:top}.candidate-info{padding:18px 14px}.candidate-info h3{font-size:25px}.candidate-info p{min-height:0}.candidate-actions{flex-wrap:wrap}.result-grid{grid-template-columns:1fr}.result-tile{display:flex;justify-content:space-between;align-items:center;gap:10px}.result-tile strong{font-size:24px}.result-tile small{max-width:110px}.results{padding:30px 24px}.choice{padding:14px}.choice b{font-size:13px}}
/* Consistent approved cast: original transparent portrait atlas. */
.portrait.atlas{background:none;bottom:-4%;height:100%;width:40%;right:5%}.portrait.atlas img{top:0;height:100%;width:400%;object-fit:fill}.candidate-art.atlas{background:linear-gradient(145deg,#315665,#0c2533)}.candidate-art.atlas img{top:0;width:400%;height:100%;object-fit:fill}.candidate-art.atlas[data-person=foam] img{left:-100%}.candidate-art.atlas[data-person=water] img{left:-200%}.candidate-art.atlas[data-person=wind] img{left:-300%}@media(max-width:700px){.portrait.atlas{width:60%;right:-4%}.candidate-art.atlas img{width:520%;height:100%}.candidate-art.atlas[data-person=foam] img{left:-142%}.candidate-art.atlas[data-person=water] img{left:-272%}.candidate-art.atlas[data-person=wind] img{left:-402%}}
/* Preserve portrait proportions rather than stretching the art. */
.portrait.atlas{height:100%;width:auto;aspect-ratio:3/4;right:14%}.portrait.atlas img{width:400%;height:auto;top:0}.candidate-art.atlas img{width:400%;height:auto;top:0}@media(max-width:700px){.portrait.atlas{width:auto;right:1%;height:100%;aspect-ratio:3/4}.candidate{display:block}.candidate-art.atlas{height:250px}.candidate-art.atlas img{width:400%;height:auto}.candidate-art.atlas[data-person=foam] img{left:-100%}.candidate-art.atlas[data-person=water] img{left:-200%}.candidate-art.atlas[data-person=wind] img{left:-300%}}
/* Clip the atlas to actual character silhouettes, not equal columns. */
.portrait.atlas[data-person=founder]{aspect-ratio:450/724}.portrait.atlas[data-person=founder] img{width:482.667%;left:0}
.portrait.atlas[data-person=foam]{aspect-ratio:580/724}.portrait.atlas[data-person=foam] img{width:374.483%;left:-77.586%}
.portrait.atlas[data-person=water]{aspect-ratio:500/724}.portrait.atlas[data-person=water] img{width:434.4%;left:-206%}
.portrait.atlas[data-person=wind]{aspect-ratio:642/724}.portrait.atlas[data-person=wind] img{width:338.318%;left:-238.318%}
.candidate-art.atlas img{height:100%;width:auto;left:50%!important;top:0}
.candidate-art.atlas[data-person=foam] img{transform:translateX(-34.07%);clip-path:inset(0 52.58% 0 20.72%)}
.candidate-art.atlas[data-person=water] img{transform:translateX(-58.93%);clip-path:inset(0 29.56% 0 47.42%)}
.candidate-art.atlas[data-person=wind] img{transform:translateX(-85.22%);clip-path:inset(0 0 0 70.44%)}
/* Final atlas bounds verified against the full-resolution source. */
.portrait.atlas[data-person=founder]{aspect-ratio:470/724}.portrait.atlas[data-person=founder] img{width:462.128%;left:0}
.portrait.atlas[data-person=foam]{aspect-ratio:610/724}.portrait.atlas[data-person=foam] img{width:356.066%;left:-78.689%}
.portrait.atlas[data-person=water]{aspect-ratio:530/724}.portrait.atlas[data-person=water] img{width:409.811%;left:-205.66%}
.portrait.atlas[data-person=wind]{aspect-ratio:552/724}.portrait.atlas[data-person=wind] img{width:393.478%;left:-293.478%}
.candidate-art.atlas[data-person=foam] img{transform:translateX(-36.14%);clip-path:inset(0 49.82% 0 22.1%)}
.candidate-art.atlas[data-person=water] img{transform:translateX(-62.38%);clip-path:inset(0 25.41% 0 50.18%)}
.candidate-art.atlas[data-person=wind] img{transform:translateX(-87.29%);clip-path:inset(0 0 0 74.59%)}
/* v0.2 — cinematic decisions and the launch desk */
:root{--blue:#43b8f2;--ice:#b8eaff}.cinema{height:100dvh;min-height:700px;overflow:hidden}.cinema .stage{position:absolute;top:70px;bottom:27px;left:0;right:0;height:auto;min-height:0}.cinema .stage:after{background:linear-gradient(0deg,#03101cf5 0%,#03101cba 22%,#03101c22 65%),linear-gradient(90deg,#03101c55,transparent 65%)}.cinema .portrait.atlas{height:90%;bottom:0;right:4%;opacity:.98}.cinema .scene-quote{top:11%;font-size:clamp(24px,3vw,44px);left:5%;max-width:47%}.cinema .story{position:absolute;bottom:54px;left:5%;right:5%;max-width:1050px;padding:0;margin:0;z-index:4}.cinema .dialogue{max-width:780px;min-height:0;font-size:clamp(20px,2vw,27px);margin:12px 0;line-height:1.45;text-shadow:0 1px 12px #0009}.cinema .subtext{max-width:760px;color:#d0d7d8;font-size:12px;margin:7px 0 15px}.cinema .progress{position:absolute;bottom:26px;left:0;right:0;z-index:5}.cinema .foot{position:absolute;bottom:0;left:0;right:0;background:#061520;z-index:5;height:26px;padding:8px 34px}.cinema .bottomrow{max-width:780px;margin-top:17px}.decision-scene .scene-quote{display:none}.decision-scene .portrait.atlas{right:0;height:96%}.decision-scene .story{max-width:760px;bottom:48px;left:5%;right:5%}.decision-scene .dialogue{font-size:22px;max-width:680px;margin:10px 0 16px}.overlay-choices{gap:10px}.overlay-choices .choice{position:relative;border:1px solid #cee9f09c;background:linear-gradient(100deg,#0d2737dd,#152e3aaa);backdrop-filter:blur(10px);border-radius:50px;padding:13px 22px;min-height:66px;transition:background .2s,border-color .2s,box-shadow .2s}.overlay-choices .choice:hover,.overlay-choices .choice:focus-visible{background:linear-gradient(100deg,#145d89ed,#0d3d5ddd);border-color:#7bd8ff;box-shadow:0 0 23px #31a3e866;transform:none}.overlay-choices .choice.default-choice{border-color:#a4d2e4}.overlay-choices .choice b{font-weight:500;font-size:15px}.overlay-choices .choice small{color:#c3d7df;font-size:11px}.overlay-choices .choice .key{border-radius:50%;color:var(--ice);border-color:#91bed055}.overlay-choices em{margin-left:auto;font-size:8px;letter-spacing:1px;font-style:normal;color:#96cfe8;flex-shrink:0}.decision-timing{margin:15px 22px 0;color:#9bb8c8;font-size:10px}.timer-line{height:3px;background:#a8c6d330;margin-bottom:9px}.timer-line i{display:block;height:100%;background:var(--blue);box-shadow:0 0 8px #29aaffaa;transition:width .1s linear}.decision-timing>div:last-of-type{display:flex;justify-content:space-between;gap:12px}.decision-timing strong{color:#c5efff}.timer-toggle{border:0;background:none;padding:8px 0 0;color:#c1d6df;text-decoration:underline;font-size:10px}.power-loop{position:absolute;z-index:3;right:4%;bottom:15%;width:32%;height:50%;pointer-events:none;opacity:.3}.power-loop.active{opacity:.8}.power-origin{position:absolute;width:14px;height:14px;border-radius:50%;background:#cdf8ff;filter:blur(5px);left:35%;top:45%;animation:powerPulse 2s ease-in-out infinite}.power-loop span{position:absolute;left:35%;top:45%;border:2px solid #b6eafa88;width:30px;height:30px;border-radius:50%;animation:powerRing 3s infinite}.power-loop span:nth-child(2){animation-delay:.6s}.power-loop span:nth-child(3){animation-delay:1.2s}.power-loop span:nth-child(4){animation-delay:1.8s}.power-loop span:nth-child(5){animation-delay:2.4s}.power-loop.foam span{background:radial-gradient(circle at 30% 20%,#fff8,#bca8ff33 55%,#b7f3fc55);animation:foamLift 4s infinite}.power-loop.water span{width:130px;height:35px;border-width:3px;border-color:#4bc9ff transparent #c9f6ff transparent;animation:waterOrbit 3s infinite}.power-loop.wind span{width:170px;height:22px;border-radius:60%;border-width:2px 0 0;border-color:#e1efff;animation:windSweep 2.5s infinite}.power-loop.founder{display:none}.power-outcome .portrait{animation:reaction .8s ease-out}.outcome-reward{display:inline-block;background:#154b48;color:#a6f4da;border:1px solid #50a893;padding:8px 13px;font-size:12px;border-radius:4px}.operations{background:#06151f}.ops-layout{padding:25px 34px 20px;max-width:1500px;margin:auto}.ops-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.ops-heading .eyebrow{font-size:9px;margin:0 0 8px;letter-spacing:3px}.ops-heading h2{font:italic 33px Georgia,serif;margin:0}.ops-clock{display:flex;align-items:center;gap:9px;color:#9bdcca;font-size:11px;letter-spacing:1px;text-transform:uppercase}.live-dot{width:7px;height:7px;border-radius:50%;background:#8be0ba;box-shadow:0 0 10px #8be0ba}.ops-intro{font-size:12px;color:#91aab7;max-width:900px;line-height:1.6;margin:12px 0 20px}.ops-workspace{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.site-map{position:relative;min-height:380px;border:1px solid #2e6473;background:radial-gradient(ellipse at center,#163b45,#0b222d);border-radius:7px;overflow:hidden;box-shadow:inset 0 0 80px #04151f}.map-grid{position:absolute;inset:0;background-image:linear-gradient(#5ba5b60d 1px,transparent 1px),linear-gradient(90deg,#5ba5b60d 1px,transparent 1px);background-size:28px 28px;transform:perspective(700px) rotateX(15deg);transform-origin:center}.map-road{position:absolute;bottom:9%;left:-5%;width:115%;height:16%;background:#243b44;border-top:2px dashed #6c8d9655;border-bottom:2px dashed #6c8d9655;transform:rotate(-12deg);font-size:9px;letter-spacing:5px;color:#779aa7;padding:22px}.map-building{position:absolute;background:linear-gradient(145deg,#315765,#163844);border:1px solid #72acb68c;box-shadow:8px 10px 0 #020e1644,0 0 20px #142e38;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;letter-spacing:2px;color:#c4dde4;border-radius:5px}.map-building small{position:absolute;left:9px;top:8px;color:#5d8d9a;font-size:9px}.map-building span{font-size:31px;margin-top:14px;color:#7eb4bd}.map-building.reception{left:7%;top:16%;width:27%;height:35%;transform:skewY(-6deg)}.map-building.wash{left:41%;top:22%;width:27%;height:33%;transform:skewY(-6deg)}.map-building.finish{right:4%;top:53%;width:29%;height:25%;transform:skewY(-6deg)}.map-garden{position:absolute;right:7%;top:12%;color:#558f7b;font-size:28px;transform:rotate(-10deg)}.map-pin{position:absolute;transform:translate(-50%,-50%);width:45px;height:45px;border:2px solid #ffcd69;border-radius:50%;background:#12333f;color:#ffe5aa;font-size:22px;box-shadow:0 0 0 7px #d9a7381a;z-index:3}.map-pin i{position:absolute;inset:-9px;border-radius:50%;border:1px solid #e2b75b88;animation:ping 2s infinite;pointer-events:none}.map-label{position:absolute;left:18px;top:15px;font-size:8px;letter-spacing:2px;color:#79a4b1}.map-key{position:absolute;left:18px;bottom:14px;font-size:8px;color:#7ba3ae;letter-spacing:1px}.situation{background:#102b38;border:1px solid #456b79;border-radius:7px;padding:23px;box-shadow:0 15px 35px #0002}.situation .eyebrow{font-size:9px;letter-spacing:2px;margin:0 0 12px}.situation h3{font:25px Georgia,serif;margin:0 0 12px}.situation>p{font-size:12px;color:#b0c5ce;line-height:1.7}.requirement{display:grid;grid-template-columns:1fr 1fr;gap:7px;font-size:11px;padding:14px 0;border-top:1px solid #7298a233;border-bottom:1px solid #7298a233;margin:15px 0}.requirement span{color:#8eaebd}.requirement b{text-align:right;color:#d0effa}.assignment-slot{width:100%;min-height:78px;display:flex;align-items:center;gap:13px;border:1px dashed #6ca7ba;background:#071e2b;color:#c5dbe4;border-radius:5px;padding:12px;text-align:left;transition:.2s;font-size:12px}.assignment-slot small{display:block;margin-top:6px;font-size:10px;color:#87a5b4;line-height:1.5}.slot-plus{font-size:30px;color:#89b7c9}.assignment-slot.drag-over,.assignment-slot:focus-visible{background:#164963;border-color:#76d5fb;box-shadow:0 0 20px #2b9bd944}.assignment-slot.filled{border-style:solid;border-color:#77c0d4}.assignment-actions{display:flex;gap:12px;align-items:center;margin-top:13px}.assignment-actions .gold{flex:1;font-size:10px;letter-spacing:1px;padding:14px 12px}.clear-assignment{background:none;border:0;color:#a4bcc6;font-size:11px;text-decoration:underline}.hub-help{font-size:10px!important;color:#7c9dab!important;margin:12px 0 0}.roster{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.staff-card{display:flex;align-items:center;text-align:left;gap:12px;background:#12303d;color:var(--cream);border:1px solid #426d7d;border-radius:6px;padding:12px;transition:.2s;cursor:grab;min-width:0}.staff-card:hover,.staff-card.selected{background:#194358;border-color:#7fd5f4;box-shadow:0 0 0 2px #3ea9de33}.staff-card:active{cursor:grabbing}.staff-card.busy{opacity:.4}.staff-text strong{font-size:13px;display:block}.staff-text small{display:block;font-size:8px;letter-spacing:1px;color:#c9ae6b;margin:6px 0}.staff-text em{font-size:8px;font-style:normal;color:#85cbb2}.staff-skills{display:grid;gap:6px;margin-left:auto;font-size:9px;color:#9fbdca;min-width:88px}.staff-skills span{display:flex;justify-content:space-between;gap:8px}.staff-skills b{color:#d8e9eb}.mini-portrait{display:block;position:relative;overflow:hidden;flex-shrink:0;width:56px;height:64px;border-radius:4px;background:linear-gradient(150deg,#38596a,#142e3f)}.mini-portrait img{position:absolute;max-width:none;height:115px;width:auto;top:0}.mini-portrait.foam img{left:-83px}.mini-portrait.water img{left:-172px}.mini-portrait.wind img{left:-263px}.staff-mover{position:absolute;left:50%;top:93%;z-index:5;animation:moveStaff 1.6s ease-in-out forwards}.staff-mover .mini-portrait{width:38px;height:43px;box-shadow:0 0 12px #8ce5ffaa;border:1px solid #a3e6ff}.staff-mover .mini-portrait img{height:80px}.staff-mover .mini-portrait.foam img{left:-58px}.staff-mover .mini-portrait.water img{left:-119px}.staff-mover .mini-portrait.wind img{left:-182px}.ops-controls{font-size:10px;line-height:1.7;color:#7194a4;text-align:center;margin-bottom:0}.ops-summary{padding:20px;border-left:2px solid var(--blue);background:#12303f;margin:25px 0;max-width:850px}.ops-summary small{display:block;font-size:9px;letter-spacing:2px;color:#82b7c9}.ops-summary strong{display:block;font:24px Georgia,serif;color:#d3f2fa;margin:8px 0}.ops-summary p{font-size:12px;margin:0}.modal{z-index:50}.modal-card{max-height:90dvh;overflow:auto}.modal-actions button{clip-path:none;border-radius:4px}
@keyframes powerPulse{50%{transform:scale(2);opacity:.6}}@keyframes powerRing{from{transform:scale(.1);opacity:.8}to{transform:scale(6);opacity:0}}@keyframes foamLift{0%{transform:translate(0,20px) scale(.3);opacity:0}30%{opacity:.8}100%{transform:translate(-130px,-160px) scale(1.9);opacity:0}}@keyframes waterOrbit{0%{transform:rotate(-30deg) translateX(-20px);opacity:.1}40%{opacity:.9}100%{transform:rotate(340deg) translateX(10px);opacity:0}}@keyframes windSweep{0%{transform:translateX(-90px) skewX(-30deg);opacity:0}40%{opacity:.9}100%{transform:translateX(200px) skewX(-30deg);opacity:0}}@keyframes reaction{0%{transform:translateY(12px) rotate(-2deg)}50%{transform:translateY(-6px) rotate(1deg)}100%{transform:none}}@keyframes ping{to{transform:scale(1.5);opacity:0}}@keyframes moveStaff{to{left:var(--tx);top:var(--ty);transform:translate(-50%,-50%)}}
@media(max-width:950px){.ops-workspace{grid-template-columns:1.2fr 1fr}.roster{gap:8px}.staff-skills{display:none}.cinema .story{right:4%;left:4%;max-width:78%}.decision-scene .story{max-width:76%}.cinema .portrait.atlas{right:-4%}.cinema .scene-quote{font-size:30px;max-width:50%}.ops-layout{padding:20px}.situation{padding:18px}}
@media(max-width:700px){.cinema{min-height:820px;height:100dvh;overflow:hidden}.cinema .stage{top:65px;bottom:26px}.cinema .portrait.atlas{height:54%;right:-4%;bottom:37%}.cinema .scene-quote{font-size:26px;top:12%;left:6%;max-width:45%}.cinema .story{left:6%;right:6%;bottom:45px;max-width:none}.cinema .dialogue{font-size:19px;line-height:1.4}.cinema .subtext{font-size:11px;line-height:1.6}.decision-scene .portrait.atlas{height:49%;bottom:43%;right:0}.decision-scene .story{left:5%;right:5%;max-width:none;bottom:42px}.decision-scene .dialogue{font-size:18px;line-height:1.4;margin-bottom:13px}.overlay-choices .choice{padding:12px 13px;border-radius:18px;min-height:65px;gap:10px}.overlay-choices .choice b{font-size:13px}.overlay-choices .choice small{font-size:10px}.overlay-choices em{font-size:7px}.decision-timing{margin:13px 12px 0;font-size:9px}.decision-timing>div:last-of-type{align-items:flex-start}.timer-toggle{font-size:10px;padding-top:9px}.cinema .stage:after{background:linear-gradient(0deg,#03101cfa 0%,#03101ce0 35%,#03101c11 78%)}.power-loop{height:30%;width:45%;right:5%;bottom:50%}.ops-layout{padding:19px 15px}.ops-heading h2{font-size:29px}.ops-clock{font-size:9px}.ops-intro{font-size:11px}.ops-workspace{grid-template-columns:1fr;gap:15px}.site-map{min-height:270px}.situation h3{font-size:23px}.roster{grid-template-columns:1fr;gap:9px}.staff-card{padding:10px}.staff-skills{display:grid}.staff-card .mini-portrait{height:57px}.ops-controls{font-size:9px}.power-outcome .story{bottom:60px}.ops-summary{padding:16px}.topbar .chapter{max-width:90px;text-align:center}.tools{gap:4px}.iconbtn{width:30px;height:30px}.wordmark{font-size:14px}.wordmark i{font-size:6px}.cinema .foot{font-size:7px;padding:8px 18px}}
@media(prefers-reduced-motion:reduce){.power-loop,.ambient,.bubble-effect,.map-pin i{display:none}.staff-mover{left:var(--tx);top:var(--ty);transform:translate(-50%,-50%)}.timer-line i{transition:none}}
.game-paused *, .tab-hidden *{animation-play-state:paused!important}
.staff-card{touch-action:none;user-select:none}.staff-card img{pointer-events:none}.drag-ghost{position:fixed!important;z-index:100!important;pointer-events:none!important;opacity:.9;transform:rotate(-3deg);box-shadow:0 15px 35px #0008;border-color:#9ce7ff!important}

/* v0.3: definitive owner-approved start artwork and graceful exit. */
.approved-title{min-height:100svh;background:#081c29;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;gap:10px;overflow:visible}
.approved-art{position:relative;width:min(100%,calc((100svh - 90px) * 1.107142857));aspect-ratio:1054/952;flex:none;box-shadow:0 20px 70px #0006}
.approved-art>img{display:block;width:100%;height:100%;object-fit:contain}
.approved-art button{position:absolute;background:transparent;border:0;cursor:pointer;border-radius:10px;color:transparent;padding:0;box-shadow:none;transition:background .18s,box-shadow .18s}
.approved-art .art-start{left:24%;top:87%;width:54%;height:10.5%;clip-path:polygon(8% 0,92% 0,100% 50%,92% 100%,8% 100%,0 50%)}
.approved-art .art-settings{left:91%;top:89.5%;width:6.7%;height:7.5%;border-radius:16px}
.approved-art button:hover{background:#fff2;box-shadow:inset 0 0 20px #ffe9a488}
.approved-art button:focus-visible{outline:4px solid #7bd8ff;outline-offset:1px;background:#87dfff33;box-shadow:inset 0 0 0 4px #a0e6ff}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.menu-extras{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;max-width:100%;color:#c5cdd0;font-size:11px}
.menu-extras button{padding:8px 14px;min-height:40px;font-size:12px}
.demo-farewell{margin:30px auto 20px;padding:24px;border:1px solid #d4af5766;border-radius:14px;background:linear-gradient(135deg,#162f3c,#10212b);max-width:750px}
.demo-farewell h2{font-family:Georgia,serif;color:#f5e6c3;font-size:clamp(25px,4vw,37px);margin:12px 0}
.demo-farewell p{margin:0 auto!important}
@media(max-width:600px){.approved-title{padding:8px;gap:16px}.approved-art{width:100%}.approved-art .art-settings{min-width:44px;min-height:44px;left:auto;right:1.8%;top:auto;bottom:2.8%}.menu-extras{gap:8px}.menu-extras span{width:100%;text-align:center}.demo-farewell{padding:20px 16px}}

.approved-title:after{display:none}

/* Layered opening scene: full-bleed art, independently animated light and cast. */
.approved-title{position:relative;display:block;min-height:100svh;padding:0;overflow:hidden;background:#102e45}
.approved-art{position:relative;width:100%;height:100svh;min-height:650px;aspect-ratio:auto;box-shadow:none;overflow:hidden;isolation:isolate}
.title-landscape{position:absolute;inset:-1.5%;background:url('assets/title-scene.png') center 57%/cover no-repeat;animation:title-breathe 22s ease-in-out infinite alternate;z-index:-3}
.title-sunlight{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 57%,#ffe9aa38,transparent 38%),linear-gradient(0deg,#05101ba6,transparent 27%,transparent 65%,#03142730);mix-blend-mode:screen;animation:title-light 9s ease-in-out infinite;z-index:-2}
.title-brand{position:absolute;top:2.5%;left:50%;transform:translateX(-50%);width:min(650px,65vw);height:auto;overflow:hidden;filter:drop-shadow(0 4px 9px #061b2ab0)}
.title-founders{position:absolute;bottom:20%;left:50%;width:min(470px,40vw);transform:translateX(-50%);filter:drop-shadow(0 14px 9px #07152280);animation:founder-breathe 8s ease-in-out infinite}
.title-founders img{display:block;width:100%;height:auto}
.title-atmosphere{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.title-atmosphere i{position:absolute;left:28%;top:65%;width:3px;height:3px;background:#fff1bb;border-radius:50%;box-shadow:0 0 7px #fff1bb;animation:title-mote 12s linear infinite;opacity:0}
.title-atmosphere i:nth-child(2){left:63%;top:76%;animation-delay:-3s}.title-atmosphere i:nth-child(3){left:40%;top:56%;animation-delay:-7s}.title-atmosphere i:nth-child(4){left:77%;top:62%;animation-delay:-9s}.title-atmosphere i:nth-child(5){left:19%;top:81%;animation-delay:-5s}
.approved-art .art-start{left:50%;top:auto;bottom:8%;transform:translateX(-50%);width:min(540px,53vw);height:94px;clip-path:none;border-radius:0;background:none;color:#161608;filter:drop-shadow(0 7px 8px #05101b80);transition:filter .2s,translate .2s}
.start-frame{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.button-face{fill:url(#button-gold);stroke:#ffe7a4;stroke-width:3}.button-inset{fill:none;stroke:#80511e;stroke-width:2}.start-beam{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-dasharray:65 935;filter:drop-shadow(0 0 4px white);animation:clockwise-beam 5s linear infinite}
.art-start span{position:relative;display:block;font:bold 43px Georgia,serif;text-transform:uppercase;letter-spacing:1px;text-shadow:0 1px 0 #fff5bf}
.approved-art .art-start:hover{background:none;box-shadow:none;filter:drop-shadow(0 0 14px #ffcd6d80) brightness(1.08);translate:0 -2px}.approved-art .art-start:active{translate:0 1px}
.approved-art .art-start:focus-visible{outline:3px solid #fff;outline-offset:7px;background:none;box-shadow:none}
.approved-art .art-settings{left:auto;right:max(25px,3vw);top:auto;bottom:8%;width:58px;height:58px;min-width:44px;min-height:44px;background:#0c2b38e8;color:#f7ce69;border:2px solid #eccc71;border-radius:15px;box-shadow:0 4px 12px #05101b66}
.art-settings svg{display:block;width:32px;height:32px;margin:auto;fill:currentColor}.art-settings circle{fill:#0c2b38}
.approved-art .art-settings:hover{background:#204453;box-shadow:0 0 18px #ffd98244}
.menu-extras{position:absolute;bottom:1.4%;left:50%;transform:translateX(-50%);width:90%;gap:8px 18px;color:#fff0d4;text-shadow:0 1px 4px #000;background:none;font-size:11px;z-index:2}
.menu-extras button{min-height:44px;border-color:#ffe0a766;background:#071c2ac9;color:#fff1d2;padding:8px 15px;border-radius:4px}.menu-extras span{font-size:10px;letter-spacing:.5px}
@keyframes clockwise-beam{from{stroke-dashoffset:0}to{stroke-dashoffset:-1000}}
@keyframes title-breathe{from{transform:scale(1)}to{transform:scale(1.025)}}
@keyframes title-light{50%{opacity:.6}}
@keyframes founder-breathe{50%{transform:translate(-50%,-3px)}}
@keyframes title-mote{0%{transform:translate(0,0);opacity:0}20%,70%{opacity:.65}100%{transform:translate(32px,-100px);opacity:0}}
@media(min-aspect-ratio:17/10){.title-brand{width:min(560px,55vw);top:1%}.title-founders{width:min(390px,33vw)}.approved-art .art-start{height:78px;width:460px}.art-start span{font-size:36px}}
@media(max-width:700px){.approved-art{height:100svh;min-height:700px}.title-landscape{background-position:center 54%;background-size:100% 100%}.title-brand{top:6%;width:94vw}.title-founders{width:84vw;bottom:27%}.approved-art .art-start{width:82vw;height:73px;bottom:15%;left:50%}.art-start span{font-size:clamp(24px,6.7vw,36px);letter-spacing:0}.approved-art .art-settings{right:20px;bottom:5%;width:46px;height:46px;border-radius:12px}.art-settings svg{width:27px;height:27px}.menu-extras{left:20px;bottom:3%;transform:none;width:calc(100% - 90px);justify-content:flex-start;gap:4px 8px}.menu-extras button{font-size:11px;padding:7px 10px}.menu-extras span{width:100%;text-align:left;font-size:9px;line-height:1.6}.title-atmosphere i{width:2px;height:2px}}
@media(prefers-reduced-motion:reduce){.title-landscape,.title-sunlight,.title-founders,.title-atmosphere i,.start-beam{animation:none!important}.title-atmosphere{display:none}.start-beam{stroke-dasharray:none;opacity:.45}.approved-art button{transition:none!important}}

/* Viewport edition: readable pages, explicit sections, no document scrolling.
   Overflow belongs to named, keyboard-focusable regions only as a zoom fallback. */
html,body{height:100%;overflow:hidden}body{overscroll-behavior:none}#app{height:100dvh;min-height:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
[hidden]{display:none!important}button{min-height:44px}button:focus-visible,[tabindex]:focus-visible{outline:3px solid #a6e5ff;outline-offset:-3px}
.shell{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.topbar{flex:0 0 60px;height:60px;padding:0 clamp(12px,3vw,34px)}.iconbtn{width:44px;height:44px;flex:none}.tools{gap:4px}.chapter{font-size:11px;letter-spacing:1px}.wordmark i{font-size:9px;letter-spacing:2px}
.view-tabs{display:flex;gap:6px;flex:none;margin:0 0 12px}.view-tab{flex:1;border:1px solid #537a88;border-radius:6px;background:#0b2230;color:#d6e7ec;font-size:14px;padding:8px 12px;min-width:0}.view-tab[aria-pressed=true]{background:#244d5d;border-color:#f2cd71;color:#ffe5aa}.view-tab:hover{background:#28586c}
.select-screen,.ops-layout,.results{min-height:0;max-width:1200px;width:100%;flex:1;overflow:auto;overscroll-behavior:contain;padding:16px clamp(14px,3vw,34px);scrollbar-width:thin}.gold,.outline{font-size:14px;letter-spacing:.6px;min-height:44px;padding:12px 18px}.gold{min-width:0}.eyebrow{font-size:12px;letter-spacing:2px;margin-bottom:12px}.review-note{font-size:12px;line-height:1.45;margin:12px 0}.hint{font-size:12px}
/* The approved art is composed against available height, rather than a tall canvas. */
.approved-title,.approved-art{height:100%;min-height:0}.approved-title{overflow:auto}.approved-art{min-height:240px}.title-brand{top:2%;width:min(650px,65vw,68dvh)}.title-founders{bottom:24%;width:min(470px,40vw,49dvh)}.approved-art .art-start{bottom:12%;height:clamp(48px,11dvh,88px);width:min(540px,60vw,70dvh)}.art-start span{font-size:clamp(22px,4.8dvh,40px)}.approved-art .art-settings{bottom:3%;width:48px;height:48px;right:16px}.menu-extras{bottom:2%;width:calc(100% - 140px);gap:6px 12px}.menu-extras span{font-size:12px}.menu-extras button{font-size:14px;padding:8px 12px}.title-landscape{background-size:cover}
/* Cinematic art stays behind a flexible, opaque-enough reading panel. */
.cinema{height:100%;min-height:0}.cinema .stage{top:60px;bottom:0}.cinema .story,.decision-scene .story,.power-outcome .story{position:relative;left:auto;right:auto;bottom:auto;margin:auto 4% 30px;max-width:900px;width:92%;padding:16px 20px;border-radius:10px;background:linear-gradient(100deg,#061925f5,#061925e6);max-height:calc(100% - 120px);overflow:auto;flex-shrink:1;scrollbar-width:thin}.cinema .dialogue,.decision-scene .dialogue{font-size:clamp(18px,2.3dvh,25px);line-height:1.4;margin:10px 0;max-width:800px}.cinema .subtext{font-size:14px;line-height:1.45;margin:8px 0 12px}.cinema .speaker{font-size:12px}.cinema .bottomrow{margin-top:12px;gap:12px}.cinema .portrait.atlas{height:85%;bottom:12%;right:3%}.cinema .scene-quote{top:12%;font-size:clamp(22px,3.8dvh,40px);max-width:45%}.cinema .letterbox{font-size:11px;top:12px;left:4%}.cinema .foot{height:22px;font-size:9px;padding:5px 4%}.cinema .progress{bottom:22px}.power-outcome .story{margin-bottom:20px}.outcome-reward{font-size:14px}.overlay-choices .choice{min-height:58px;border-radius:10px;padding:10px 14px;gap:10px}.overlay-choices .choice b,.overlay-choices .choice small{font-size:14px;line-height:1.3}.overlay-choices em{font-size:10px}.decision-timing{font-size:12px;margin:12px 0 0}.timer-toggle{font-size:14px;padding:8px 0;min-height:44px}.decision-intro .gold{margin-top:10px}.decision-scene:has(.decision-options:not([hidden])) .story{max-width:850px}.decision-options .choices{gap:8px}
/* One applicant at a time: all three remain one tap away. */
.select-screen{display:flex;flex-direction:column}.select-screen .section-heading{order:-1;display:block;margin:0 0 10px}.section-heading .eyebrow,.section-heading .statuschips{display:none}.section-heading h2{font-size:30px;margin:0 0 5px}.section-heading p{font-size:14px;line-height:1.4;margin:0}.candidates{display:block;min-height:0;flex:1}.candidate{height:100%;display:grid;grid-template-columns:42% 58%;max-width:900px;margin:auto;min-height:290px}.candidate:hover,.candidate.selected{transform:none}.candidate-art.atlas{height:100%;min-height:0}.candidate-info{padding:20px;display:flex;flex-direction:column;justify-content:center}.candidate-info h3{font-size:32px}.candidate-info .role{font-size:12px;margin:8px 0}.candidate-info p{font-size:14px;line-height:1.45;min-height:0;margin:8px 0}.statline{font-size:14px;margin:6px 0}.bars{align-items:center}.bars i{height:7px}.candidate-actions{margin-top:14px;flex-wrap:nowrap}.candidate-actions button{font-size:14px;padding:10px}.tag{font-size:11px;right:8px;top:8px}
/* Operations keep the same assignment mechanic, with separate workspace views. */
.ops-layout{display:flex;flex-direction:column}.ops-heading{order:-1;margin-bottom:12px;flex:none}.ops-heading .eyebrow{display:none}.ops-heading h2{font-size:28px}.ops-clock{font-size:12px;text-align:right}.ops-guide{padding:8px 12px}.ops-workspace{display:flex;min-height:0;flex:1;gap:0}.situation{width:100%;max-width:900px;margin:auto;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}.situation .eyebrow,.situation h3,.situation>p:not(.hub-help){grid-column:1}.situation .eyebrow{font-size:12px;margin:0}.situation h3{font-size:26px;margin:0}.situation>p{font-size:14px;line-height:1.45;margin:0}.requirement{grid-column:1;font-size:14px;margin:0;padding:10px 0}.choose-team{grid-column:2;grid-row:1/3}.assignment-slot{grid-column:2;grid-row:3/5;min-height:70px;font-size:14px}.assignment-slot small{font-size:14px}.assignment-actions{grid-column:2;margin:0}.assignment-actions .gold{font-size:14px;padding:10px}.hub-help{grid-column:1/-1;font-size:14px!important}.clear-assignment{font-size:14px;padding:8px}.site-map{width:100%;height:100%;min-height:200px;max-height:600px}.roster{width:100%;grid-template-columns:repeat(3,1fr);gap:12px;margin:0;align-content:center}.team-instruction{grid-column:1/-1;font-size:14px;margin:0 0 6px}.staff-card{flex-wrap:wrap;padding:16px;touch-action:pan-y;min-height:130px}.staff-text strong{font-size:18px}.staff-text small,.staff-text em{font-size:12px}.staff-skills{display:grid;width:100%;font-size:14px;gap:8px}.mini-portrait{width:56px}.map-key,.map-label{font-size:11px}
/* Results are three complete pages rather than one long report. */
.results{display:flex;flex-direction:column}.result-page{flex:1;min-height:0}.results h1{font-size:clamp(30px,5dvh,55px);margin:12px 0}.results p{font-size:14px;line-height:1.5;margin:12px 0}.result-grid{margin:18px 0;gap:12px}.result-tile{padding:16px}.result-tile strong{font-size:26px;margin:8px 0}.result-tile small{font-size:12px;letter-spacing:1px}.timeline{font-size:14px;gap:20px;padding:14px 0}.ops-summary{margin:12px 0;padding:16px}.ops-summary small{font-size:12px}.ops-summary strong{font-size:26px}.demo-farewell{margin:12px 0 18px;padding:20px}.demo-farewell h2{font-size:30px}.results .title-buttons{gap:10px}.results .review-note{font-size:12px}
.modal{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.modal-card{max-height:100%;padding:24px;overscroll-behavior:contain}.modal-card h2{font-size:28px;margin-bottom:14px}.modal-card p{font-size:14px;line-height:1.5}.modal-actions{margin-top:18px;gap:8px}.modal-actions button{font-size:14px}
@media(max-width:700px){
 .topbar{padding:0 10px;gap:8px}.topbar .chapter{display:none}.wordmark{font-size:16px}.wordmark i{font-size:8px}.tools{gap:2px}
 .title-brand{top:4%;width:min(94vw,59dvh)}.title-founders{width:min(86vw,52dvh);bottom:30%}.approved-art .art-start{width:84vw;bottom:19%;height:clamp(48px,10dvh,74px)}.art-start span{font-size:clamp(24px,6vw,36px)}.menu-extras{left:12px;bottom:3%;transform:none;width:calc(100% - 78px);gap:6px}.menu-extras span{width:100%;text-align:left;font-size:11px;line-height:1.35}.menu-extras button{font-size:12px;padding:8px}.approved-art .art-settings{right:12px;bottom:4%;width:44px;height:44px}
 .cinema .story,.decision-scene .story{padding:12px;margin: auto 3% 28px;width:94%;max-height:calc(100% - 108px)}.cinema .dialogue{font-size:18px}.cinema .scene-quote{top:12%;left:5%;font-size:24px}.cinema .portrait.atlas{height:60%;bottom:35%;right:-8%}.cinema .letterbox{font-size:10px;letter-spacing:1px}.cinema .scene-quote small{font-size:10px;margin-bottom:10px}.cinema .bottomrow{justify-content:flex-end}.cinema .hint{display:none}.overlay-choices .choice{gap:8px;padding:10px}.overlay-choices em{display:none}.decision-timing>div:last-of-type{gap:10px}.decision-timing strong{white-space:nowrap}
 .select-screen,.ops-layout,.results{padding:12px}.view-tabs{gap:5px;margin-bottom:10px}.view-tab{padding:8px;font-size:14px}.section-heading h2{font-size:26px}.candidate{grid-template-columns:30% 70%;min-height:310px}.candidate-info{padding:12px}.candidate-info h3{font-size:28px}.candidate-info p{font-size:14px}.candidate-info .role{line-height:1.4}.candidate-actions{gap:6px}.candidate-actions button{padding:9px 5px;font-size:13px}.candidate-art .tag{display:none}.review-note{font-size:11px;margin:8px 0 0}.statline{font-size:13px}.bars{gap:3px}.bars i{width:9px}
 .ops-heading{gap:8px;flex-wrap:wrap;margin-bottom:8px}.ops-heading h2{font-size:25px}.ops-clock{margin-left:auto;font-size:11px}.ops-guide{font-size:12px;min-height:44px;padding:8px}.situation{display:block;padding:12px}.situation .eyebrow{font-size:11px;margin-bottom:7px}.situation h3{font-size:23px;margin-bottom:8px}.situation>p{margin:8px 0}.requirement{grid-template-columns:1fr 1fr;font-size:14px;padding:8px 0;margin:8px 0}.choose-team{width:100%;margin-bottom:8px}.assignment-slot{padding:8px;min-height:60px}.assignment-actions{margin-top:8px;gap:8px}.situation .hub-help{font-size:12px!important;line-height:1.35;margin:8px 0 0}.roster{grid-template-columns:1fr;gap:8px}.staff-card{min-height:0;padding:10px;flex-wrap:nowrap}.staff-text strong{font-size:16px}.staff-text small,.staff-text em{font-size:10px}.staff-skills{width:auto;min-width:84px;font-size:12px;gap:6px}.staff-card .mini-portrait{width:45px;height:56px}.team-instruction{line-height:1.4}.site-map{min-height:200px}
 .result-grid{grid-template-columns:1fr;gap:8px;margin:12px 0}.result-tile{padding:12px;display:flex;gap:10px;align-items:center;justify-content:space-between}.result-tile strong{font-size:23px;margin:0;text-align:right}.result-tile small{max-width:100px;font-size:12px}.results h1{font-size:34px;margin:10px 0}.results .eyebrow{font-size:11px;margin-bottom:10px}.timeline{gap:12px;padding:10px 0}.timeline>div{width:100%}.demo-farewell{padding:14px;margin:0 0 12px}.demo-farewell h2{font-size:28px}.results .title-buttons{display:grid;gap:8px}.results .title-buttons button{width:100%}.modal-card{padding:18px}.modal-card h2{font-size:25px}.modal-actions{margin-top:12px}
}
@media(max-height:650px){
 .select-screen .section-heading p{display:none}.select-screen .section-heading{margin-bottom:8px}.candidate{min-height:280px}.candidate-info{padding:12px}.candidate-info p{margin:6px 0}.candidate-actions{margin-top:8px}.cinema .story{padding:10px 14px}.cinema .dialogue{font-size:18px}.cinema .subtext{margin:6px 0}.cinema .scene-quote{top:16%}.results h1{font-size:32px}.result-tile strong{font-size:22px}.results p{margin:8px 0}.demo-farewell h2{margin:6px 0}.ops-heading{margin-bottom:8px}.ops-heading h2{font-size:24px}.ops-guide{padding:6px 10px}.situation{padding:10px}.situation h3{font-size:21px}.situation>p{line-height:1.35}.situation .hub-help{display:none}
}
@media(max-height:450px) and (min-width:480px){
 .topbar{flex-basis:52px;height:52px}.wordmark{font-size:14px}.wordmark i{font-size:8px}.cinema .stage{top:52px}.cinema .story,.decision-scene .story{width:66%;margin:8px 2% 26px auto;max-height:calc(100% - 86px);padding:10px 14px}.cinema .portrait.atlas{height:90%;bottom:0;right:69%}.cinema .scene-quote{display:none}.cinema .letterbox{max-width:28%;line-height:1.4;top:10px;padding:7px}.cinema .dialogue{font-size:16px;margin:6px 0}.cinema .subtext{font-size:14px;line-height:1.35}.cinema .speaker{font-size:11px}.cinema .bottomrow{margin-top:8px}.decision-scene .story:has(.decision-options:not([hidden])){width:94%;margin-left:3%}.decision-options{display:grid;grid-template-columns:1.7fr 1fr;gap:16px}.decision-timing{margin:0}.overlay-choices .choice{min-height:52px;padding:7px 10px}.overlay-choices .choice b,.overlay-choices .choice small{font-size:14px}.overlay-choices .choice small{margin-top:2px}.decision-options .choices{gap:6px}.decision-timing>div:last-of-type{display:block}.decision-timing strong{display:block;margin-top:8px}
 .title-brand{left:26%;top:4%;width:min(44vw,65dvh)}.title-founders{left:26%;bottom:6%;width:min(36vw,58dvh)}.approved-art .art-start{left:72%;width:43vw;bottom:45%;height:60px}.art-start span{font-size:26px}.menu-extras{left:52%;width:38%;bottom:8%;justify-content:center}.menu-extras span{text-align:center;font-size:11px}.approved-art .art-settings{right:12px;bottom:12px}.title-landscape{background-size:cover}
 .select-screen,.ops-layout,.results{padding:8px 14px}.select-screen{display:grid;grid-template-columns:150px 1fr;grid-template-rows:auto 1fr;gap:6px 14px}.select-screen .section-heading{grid-column:1;grid-row:1;align-self:start}.section-heading h2{font-size:24px}.select-screen>.view-tabs{grid-column:1;grid-row:2;flex-direction:column;align-self:start}.select-screen>.view-tabs button{flex:none}.candidates{grid-column:2;grid-row:1/3}.candidate{min-height:0;grid-template-columns:22% 78%}.candidate-info{padding:8px 12px}.candidate-info h3{font-size:23px}.candidate-info .role{font-size:11px;margin:4px 0}.candidate-info p{font-size:14px;line-height:1.3;margin:4px 0}.statline{font-size:12px;margin:3px 0}.candidate-actions{margin-top:6px}.candidate-actions button{font-size:13px;padding:8px}.select-screen>.review-note{display:none}
 .ops-layout{display:grid;grid-template-columns:140px 1fr;grid-template-rows:auto 1fr;gap:8px 12px}.ops-heading{grid-column:1;grid-row:1;display:block}.ops-heading h2{font-size:22px}.ops-clock{margin-top:8px}.ops-guide{margin-top:6px;font-size:12px}.ops-layout>.view-tabs{grid-column:1;grid-row:2;flex-direction:column;align-self:start}.ops-workspace{grid-column:2;grid-row:1/3}.situation{display:block;padding:10px;overflow:auto;max-height:100%}.situation h3{font-size:20px;margin-bottom:5px}.situation .eyebrow{margin-bottom:5px}.situation>p{margin:5px 0}.requirement{display:flex;justify-content:space-between;font-size:12px;margin:6px 0;padding:6px 0}.choose-team{width:auto;margin:0 6px 6px 0;padding:8px;font-size:13px}.assignment-slot{display:inline-flex;width:calc(100% - 160px);vertical-align:top;min-height:44px;padding:5px;font-size:13px}.assignment-slot small{font-size:12px;margin-top:2px}.assignment-slot .mini-portrait{display:none}.assignment-actions{margin-top:0}.assignment-actions .gold{padding:8px;font-size:13px}.slot-plus{font-size:22px}.roster{grid-template-columns:1fr;gap:5px;align-content:start}.team-instruction{font-size:12px;margin:0}.staff-card{padding:6px;min-height:52px;gap:8px;flex-wrap:nowrap}.staff-card .mini-portrait{height:44px;width:40px}.staff-text strong{font-size:14px}.staff-text small{display:none}.staff-text em{font-size:10px}.staff-skills{width:auto;grid-template-columns:repeat(3,1fr);font-size:12px;gap:10px;min-width:0}.staff-skills span{display:block}.staff-skills b{display:block}.site-map{min-height:180px}.results{display:grid;grid-template-columns:145px 1fr;gap:16px}.results>.view-tabs{flex-direction:column;align-self:start}.results>.view-tabs button{flex:none}.result-page{overflow:auto}.results h1{font-size:28px;margin:6px 0}.results .eyebrow{margin:0;font-size:11px}.result-grid{display:flex;gap:6px;margin:10px 0}.result-tile{flex:1;display:block;padding:10px}.result-tile strong{font-size:18px;text-align:left;margin:5px 0 0}.result-tile small{font-size:11px}.results p{font-size:14px;line-height:1.35}.demo-farewell{padding:12px;margin:0 0 8px}.demo-farewell h2{font-size:24px}.results .title-buttons{display:flex;gap:6px}.results .title-buttons button{font-size:12px;padding:8px;flex:1;width:auto}.results .review-note{font-size:11px}.timeline{display:flex;flex-wrap:nowrap;font-size:12px;gap:12px}.ops-summary{padding:10px;margin:8px 0}.ops-summary strong{font-size:22px}
}
/* Dialog copy is paged; action buttons stay reachable even at enlarged text sizes. */
.modal-card{display:flex;flex-direction:column}.modal-card>p{flex-shrink:0}.modal-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0}.modal-pages button{font-size:14px;padding:8px 12px}.page-count{font-size:14px;white-space:nowrap}.modal-actions{flex-shrink:0}.modal-card .modal-actions button{flex:1 1 180px}.modal-card .modal-actions{position:sticky;bottom:0;background:#102a38;padding-top:8px}
@media(max-height:450px){.modal-card{padding:12px 18px}.modal-card h2{font-size:23px;margin:0 0 6px}.modal-card>p{margin:6px 0;font-size:14px;line-height:1.35}.modal-pages{margin:0}.modal-pages button{padding:8px}.modal-actions{margin-top:4px;gap:6px}.modal-card .modal-actions button{flex:1 1 180px;padding:8px;font-size:13px}}
/* Read the situation, compare the team, then review the assignment. */
.ops-workspace>.situation{display:flex;flex-direction:column;gap:12px;max-width:760px}.situation .choose-team{align-self:flex-start;margin:0;width:auto}.situation .requirement{width:100%;grid-template-columns:1fr 1fr}.assignment-panel .assignment-slot{width:100%;min-height:80px;display:flex}.assignment-panel .assignment-actions{width:100%;margin:0}.assignment-panel .hub-help{display:block}.assignment-panel h3{margin:0}.assignment-panel .assignment-slot .mini-portrait{display:block}
@media(max-width:700px){.ops-workspace>.situation{gap:10px}.situation .requirement{margin:0}.assignment-panel .assignment-slot{min-height:80px}.view-tab{padding-left:5px;padding-right:5px}}
@media(max-height:450px) and (min-width:480px){.ops-workspace>.situation{gap:8px}.situation .requirement{display:grid;font-size:14px;padding:8px 0}.situation .choose-team{margin:0}.assignment-panel .assignment-slot{min-height:60px}.assignment-panel .hub-help{font-size:12px!important}.ops-layout>.view-tabs{gap:4px;margin:0}.ops-layout>.view-tabs button{min-height:44px;padding:6px}.ops-layout{grid-template-columns:140px 1fr;grid-template-rows:58px 1fr}.ops-heading{position:relative}.ops-heading .ops-guide{position:absolute;top:-6px;left:148px;z-index:3;transform:translateY(-100%);display:none}.ops-heading h2{font-size:20px}.ops-clock{font-size:11px;margin-top:4px}}
.situation-navigation{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.situation-navigation .ops-guide{position:static;display:block;transform:none;margin:0}.candidate-note{display:none}
@media(max-width:480px){.candidate{grid-template-columns:1fr;isolation:isolate}.candidate-art.atlas{position:absolute;inset:0;width:100%;height:100%;opacity:.35;z-index:-1}.candidate-info{background:linear-gradient(90deg,#071b2ae8,#071b2ac9);padding:14px}.candidate-info p{line-height:1.4}.candidate-info .role{font-size:12px}.candidate-actions button{font-size:14px}.candidate-info .statline{font-size:14px}.candidate-actions{margin-top:10px}.ops-heading h2{font-size:23px}.ops-heading{flex-wrap:nowrap}.ops-workspace>.situation{gap:8px}.situation .requirement{grid-template-columns:1fr 1.2fr auto auto;gap:8px;align-items:center}.situation .requirement b{text-align:left}.situation-navigation .ops-guide,.situation-navigation .choose-team{font-size:13px;padding:8px}.situation .eyebrow{margin-bottom:0}.situation h3{margin-bottom:0}.situation>p{margin:0}}
@media(max-height:450px) and (min-width:480px){.candidate-note{display:block;font-size:12px;padding:8px;margin-top:8px}.select-screen .section-heading{margin:0}.situation-navigation .ops-guide{display:block}.situation-navigation .choose-team,.situation-navigation .ops-guide{font-size:13px;padding:8px}.situation .requirement{grid-template-columns:1fr 1.2fr auto auto}.ops-layout{grid-template-rows:58px 1fr}.ops-heading h2{font-size:20px}.ops-heading .ops-clock{font-size:11px}}
@media(max-height:450px) and (min-width:480px){.ops-layout{grid-template-rows:50px 1fr}.results h1{font-size:24px;line-height:1.15}.results h1 br{display:none}.results h1 br:after{content:' '}.result-tile{padding:8px}.result-tile strong{font-size:18px}.result-grid{margin:8px 0}.results .eyebrow{letter-spacing:1px}.results p{margin:6px 0}}
