@font-face{font-family:Mongoose;src:url('assets/mongoose-black.otf') format('opentype');font-display:swap;font-weight:900}
:root{--space:#030e13;--panel:#07191d;--ink:#f7fffb;--muted:#a2b8b5;--green:#50f5a0;--line:#c4ffdf29;--body:Arial,Helvetica,sans-serif;--display:Mongoose,Impact,'Arial Narrow',sans-serif;color-scheme:dark}
*{box-sizing:border-box}html,body{width:100%;height:100%;height:100dvh;min-width:320px;margin:0;overflow:hidden;overscroll-behavior:none;background:var(--space)}body{color:var(--ink);font:14px/1.5 var(--body)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:default}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}img{max-width:100%}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--green);outline-offset:4px}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;margin:0}.ink-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:52px;padding:12px 19px;background:var(--green);border:1px solid var(--green);border-radius:8px;color:#052218;font:800 15px/1.2 var(--body);letter-spacing:.3px;transition:background .2s,transform .2s}.ink-button svg{width:22px;height:22px;flex:none}.ink-button:hover{background:#9affc9;transform:translateY(-2px)}.ink-button:active{transform:translateY(0)}

/* The supplied animation fills the viewport; the camera follows the cropped CRT. */
.intro{position:fixed;inset:0;z-index:100;overflow:hidden;background:#101624;color:#fff}.intro>video{width:100%;height:100%;object-fit:cover;display:block;transform-origin:var(--intro-origin-x,50%) var(--intro-origin-y,31%);will-change:transform,opacity}.intro-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#020a1244,transparent 20%,transparent 85%,#020a1233)}.intro-brand{position:absolute;top:max(26px,env(safe-area-inset-top));right:max(30px,env(safe-area-inset-right));line-height:0}.intro-brand img{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 2px 5px #0005)}.intro-start{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-width:195px}.intro-start:hover{transform:translate(-50%,calc(-50% - 2px))}.intro-bottom{position:absolute;right:max(30px,env(safe-area-inset-right));bottom:max(25px,env(safe-area-inset-bottom));display:flex;justify-content:flex-end}.intro-bottom button{display:flex;align-items:center;gap:12px;color:#fff;background:#09141a80;border:1px solid #ffffff55;border-radius:7px;padding:11px 15px;min-height:44px;font:700 13px/1.2 var(--body)}.intro-bottom button:hover{background:#09141acc}.intro-bottom button svg{width:18px;height:18px}.portal-flash{position:fixed;z-index:110;inset:0;background:#ddfff1;pointer-events:none;opacity:0}body[data-phase=jump] .intro>video{animation:computer-dive .95s cubic-bezier(.55,.02,.65,.5) forwards}body[data-phase=jump] .intro-bottom,body[data-phase=jump] .intro-brand,body[data-phase=jump] .intro-start{opacity:0;pointer-events:none;transition:opacity .15s}body[data-phase=jump] .intro{animation:intro-vanish .95s both}body[data-phase=jump] .portal-flash{animation:screen-crossing .95s both}body[data-phase=intro] .application-world{visibility:hidden}body[data-phase=form] .intro,body[data-phase=success] .intro{display:none}@keyframes computer-dive{from{transform:scale(1)}to{transform:scale(12)}}@keyframes screen-crossing{0%,28%{opacity:0}54%{opacity:1;background:#8fffbc}72%{opacity:1;background:#f1ffed}100%{opacity:0}}@keyframes intro-vanish{0%,56%{opacity:1}72%,100%{opacity:0}}

/* One scene, one form. The document itself never scrolls. */
.application-world{position:relative;isolation:isolate;width:100%;height:100%;display:grid;grid-template-rows:82px minmax(0,1fr);background:var(--space);overflow:hidden}.world-art{position:absolute;inset:0;z-index:-2;pointer-events:none}.world-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.application-world:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#030e1300 28%,#030e1322 48%,#030e1366 65%,#030e1310),linear-gradient(0deg,#030e13aa,transparent 22%,transparent 80%,#030e1366)}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px clamp(24px,4vw,76px);z-index:2}.brand{display:flex;align-items:center;gap:11px;font:900 28px/1 var(--display);letter-spacing:.6px}.brand-mark{display:flex;align-items:center;justify-content:center}.brand-mark img{width:40px;height:40px;object-fit:contain}.universe-link{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;color:#d0e5df}.universe-link>span{font-size:21px}.universe-link:hover{color:var(--green)}.application-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,500px);gap:6vw;width:min(100%,1500px);min-height:0;height:100%;margin:0 auto;padding:14px clamp(24px,4vw,76px);align-items:center}.welcome{align-self:start;padding-top:16px;min-width:0;pointer-events:none}.welcome>.eyebrow{color:#c0dbd3;font-size:10px}.welcome h1{font:900 clamp(66px,6.4vw,102px)/.88 var(--display);letter-spacing:.5px;margin:16px 0 0;outline:none}.welcome h1>span{color:var(--green)}.welcome-copy{font-size:14px;font-weight:500;color:#bed5cc;margin:17px 0 0}.passport{width:100%;max-height:100%;position:relative;min-width:0;padding:24px 28px 0;border:1px solid #b7fbd63d;border-radius:16px;background:linear-gradient(145deg,#0b2428f2,#041418f7);box-shadow:0 22px 70px #0004;overflow:hidden}.paper-topline{display:flex;justify-content:space-between;gap:12px;padding-bottom:17px;border-bottom:1px solid var(--line);font-size:10px;font-weight:700;letter-spacing:1.7px;color:#b5cfc7}.paper-topline>span:last-child{color:var(--green)}.username-panel{padding:28px 0 26px}.gate-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#acc5bc;margin:0 0 15px}.username-panel h2,.wallet-title{font:800 clamp(32px,3vw,42px)/1.06 var(--body);letter-spacing:-1.5px;margin:0 0 16px}.username-panel h2>span,.wallet-title>span{color:var(--green)}.gate-copy{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 25px}.username-form>label,.details-form>label{display:block;font-size:13px;font-weight:700;margin:0 0 10px}.username-form>label>span,.details-form>label>span{color:var(--green)}.input-wrap{display:flex;align-items:center;gap:11px;min-height:52px;padding:11px 14px;background:#020d11;border:1px solid #9cc8b84d;border-radius:8px;margin:0 0 11px;transition:border-color .2s,box-shadow .2s}.input-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #50f5a012}.input-wrap>span{font-size:19px;color:var(--green)}.input-wrap>input{border:0;outline:none;min-width:0;width:100%;flex:1;color:var(--ink);background:transparent;font:16px/1.5 var(--body)}.input-wrap>input::placeholder{color:#688881}.input-wrap>svg{width:20px;height:20px;color:var(--green);flex:none}.input-wrap:has(input[aria-invalid=true]){border-color:#ff9b88;box-shadow:0 0 0 2px #ff9b8814}.username-form #username-note,.details-form #field-note{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 23px;min-height:18px}.submit-entry{width:100%;justify-content:space-between}.passport-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:20px}.passport-heading h2{font:800 24px/1.05 var(--body);letter-spacing:-.8px;margin:0}.title-details{display:none}.completion-count{display:flex;align-items:baseline;gap:4px;white-space:nowrap;font-size:13px;font-weight:700;color:#7a9d90}.completion-count strong{font-size:22px;color:var(--green)}.mission-progress{height:4px;position:relative;margin:18px 0 16px;background:#b9ffda1a;border-radius:4px;overflow:hidden}#progress-fill{height:100%;width:0;background:var(--green);transition:width .45s cubic-bezier(.2,.8,.2,1)}.progress-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(6,1fr);pointer-events:none}.progress-grid>span:not(:last-child){border-right:4px solid #07191d}.mission-list{list-style:none;padding:0;margin:0 -14px 10px}.mission-step{display:flex;align-items:center;gap:12px;min-height:clamp(52px,7.5dvh,72px);padding:10px 12px;border:1px solid transparent;border-radius:9px;transition:background .2s,border-color .2s;min-width:0}.step-number{flex:0 0 28px;display:flex;align-items:center;justify-content:center;height:28px;border:1px solid #9cc8b84d;border-radius:50%;font-size:11px;font-weight:700;color:#a5c1b5}.step-number>svg{display:none;width:17px;height:17px;stroke-width:2.5}.step-copy{flex:1;min-width:0}.step-copy h3{font-size:14px;line-height:1.2;letter-spacing:-.1px;margin:0 0 4px}.step-copy p{font-size:11px;line-height:1.2;color:#9bb6ac;margin:0}.mission-action{display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 79px;min-height:38px;padding:8px 9px;border-radius:6px;border:1px solid #a3cfbd3b;background:#c8fdd913;color:var(--ink);font-size:11px;font-weight:700;white-space:nowrap;transition:background .2s,transform .2s}.mission-action>svg{width:15px;height:15px;flex:none}.mission-action:hover:not(:disabled){background:#50f5a02b;transform:translateY(-1px)}.is-active{background:#50f5a011;border-color:#50f5a050}.is-active .step-number{border-color:var(--green);color:var(--green)}.is-active .mission-action{background:var(--green);color:#052218;border-color:var(--green)}.is-locked{opacity:.48}.is-locked .mission-action{background:transparent}.is-complete .step-number{border-color:#50f5a080;color:var(--green);background:#50f5a011}.is-complete .step-number>span{display:none}.is-complete .step-number>svg{display:block}.is-complete .step-copy h3{color:#b2d9c5}.is-complete .mission-action{background:transparent;border-color:transparent;color:var(--green)}.is-complete .step-arrow{display:none}.is-pending .mission-action{font-size:10px;white-space:normal;text-align:center;background:#163b30;color:#c6f5db}.just-completed .step-number,.is-just-completed .step-number{animation:stamp-in .4s ease-out}@keyframes stamp-in{0%{transform:scale(1.4)}to{transform:scale(1)}}.paper-bottom{padding:16px 0 18px;border-top:1px solid var(--line)}.paper-bottom>p{font-size:12px;line-height:1.45;color:#bdd1c9;margin:0 0 12px;min-height:18px}.paper-bottom-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;letter-spacing:.6px;color:#8eaaa0}.paper-bottom-meta>span{display:flex;align-items:center;gap:6px}.paper-bottom-meta i{width:4px;height:4px;background:#89ae9e;border-radius:50%}.paper-bottom-meta button{background:transparent;padding:0;font:inherit;letter-spacing:0;text-decoration:underline;text-underline-offset:3px;color:#a5c0b4}.paper-bottom-meta button:hover{color:var(--green)}
.details-form{padding:23px 0 26px}.unlocked-note{display:flex;align-items:center;gap:8px;color:var(--green);font-size:10px;font-weight:700;letter-spacing:1px;margin:0 0 20px}.unlocked-note>svg{width:16px;height:16px;flex:none}.applicant-summary{display:flex;align-items:center;gap:10px;margin:0 0 22px;padding:11px 12px;background:#50f5a009;border:1px solid var(--line);border-radius:7px}.applicant-summary>span{font-size:9px;letter-spacing:.7px;color:var(--muted)}.applicant-summary>strong{font-size:14px;overflow-wrap:anywhere}.applicant-summary>svg{width:15px;height:15px;margin-left:auto;color:var(--green);flex:none}.wallet-input>input{font-family:monospace;font-size:15px}body.missions-complete .mission-list{display:none}body.missions-complete .title-missions{display:none}body.missions-complete .title-details{display:block}body[data-phase=success] .passport-heading,body[data-phase=success] .mission-progress{display:none}.success-panel{text-align:center;padding:24px 0}.success-seal{width:48px;height:48px;margin:0 auto 17px;border:1px solid #50f5a070;border-radius:50%;background:#50f5a011;display:flex;align-items:center;justify-content:center;color:var(--green)}.success-seal>svg{width:27px;height:27px;stroke-width:2.5}.success-panel>.eyebrow{font-size:10px;color:var(--green);letter-spacing:1.4px}.success-panel>h2{font:800 36px/.98 var(--body);letter-spacing:-1.4px;margin:15px 0}.success-panel>p:not(.eyebrow){font-size:12px;color:var(--muted);margin:0}.success-ticket{margin:22px auto 18px;padding:16px;background:#50f5a00b;border:1px solid #50f5a040;border-radius:8px;max-width:290px;display:flex;flex-direction:column;align-items:center;gap:8px}.success-ticket>span:first-child{font-size:9px;letter-spacing:1px;color:#a5c8b8}.success-ticket>strong{font:900 36px/1 var(--display);letter-spacing:2px}.success-ticket #entry-handle{font-size:12px;color:var(--green)}.ticket-barcode{height:16px;width:90%;opacity:.55;background:repeating-linear-gradient(to right,#92c9af 0 2px,transparent 2px 5px,#92c9af 5px 6px,transparent 6px 9px,#92c9af 9px 13px,transparent 13px 15px)}.success-actions{display:flex;justify-content:center;gap:24px;margin:20px 0}.success-actions>button{display:flex;align-items:center;gap:7px;padding:6px 0;background:none;font-size:12px;font-weight:700}.success-actions>button:hover{color:var(--green)}.success-actions svg{width:16px;height:16px}.success-panel>p.success-disclaimer{font-size:10px;max-width:280px;margin:0 auto}.no-script{position:fixed;z-index:999;inset:20% 20px auto;max-width:500px;margin:auto;padding:30px;background:var(--panel);border:1px solid var(--green);border-radius:12px}body[data-phase=form] .passport,body[data-phase=success] .passport{animation:panel-enter .55s cubic-bezier(.18,.8,.28,1) both}@keyframes panel-enter{from{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}

@media(min-width:1600px) and (min-height:900px){.application-world{grid-template-rows:104px minmax(0,1fr)}.application-stage{grid-template-columns:minmax(0,1fr) 540px;gap:90px}.welcome{padding-top:30px}.welcome h1{font-size:116px}.passport{padding:30px 34px 0}.username-panel{padding:36px 0}.username-panel h2,.wallet-title{font-size:46px}.gate-copy{margin-bottom:30px}.mission-step{min-height:76px}.step-copy h3{font-size:16px}.step-copy p{font-size:12px}.mission-action{min-height:42px;font-size:12px;flex-basis:90px}.paper-bottom{padding:20px 0 22px}.details-form{padding:30px 0}.paper-bottom>p{font-size:13px}}
@media(max-width:1100px){.application-stage{gap:24px;grid-template-columns:minmax(0,1fr) minmax(360px,460px)}.welcome h1{font-size:72px}.welcome-copy{font-size:12px}.welcome>.eyebrow{font-size:9px}.passport{padding-left:22px;padding-right:22px}.step-copy h3{font-size:13px}.step-copy p{font-size:10px}.mission-step{gap:9px}.mission-action{flex-basis:73px}}
@media(max-height:850px) and (min-width:821px){.application-world{grid-template-rows:66px minmax(0,1fr)}.site-header{padding-top:12px;padding-bottom:12px}.application-stage{padding-top:8px;padding-bottom:8px}.welcome{padding-top:6px}.welcome h1{font-size:72px}.passport{padding-top:18px}.paper-topline{padding-bottom:12px}.username-panel{padding:22px 0}.gate-eyebrow{margin-bottom:12px}.gate-copy{margin-bottom:20px}.username-panel h2,.wallet-title{font-size:36px}.mission-step{min-height:clamp(46px,7.4dvh,58px);padding-top:6px;padding-bottom:6px}.passport-heading{padding-top:16px}.mission-progress{margin-top:13px;margin-bottom:10px}.paper-bottom{padding-top:12px;padding-bottom:13px}.paper-bottom>p{font-size:11px;margin-bottom:9px}.details-form{padding:20px 0}.unlocked-note{margin-bottom:15px}.applicant-summary{margin-bottom:16px}.username-form #username-note,.details-form #field-note{margin-bottom:18px}}
@media(max-width:820px){.application-world{grid-template-rows:66px minmax(0,1fr)}.site-header{padding:14px 22px}.brand{font-size:23px;gap:8px}.brand-mark img{width:34px;height:34px}.universe-link{font-size:10px;gap:7px}.world-art img{object-position:25% center;opacity:.65}.application-world:after{background:linear-gradient(0deg,#030e13bb,#030e1333 60%,#030e1300)}.application-stage{display:flex;flex-direction:column;justify-content:center;gap:18px;max-width:520px;padding:8px 20px}.welcome{align-self:stretch;padding-top:0}.welcome>.eyebrow,.welcome-copy{display:none}.welcome h1{font-size:40px;line-height:1;margin:0}.welcome h1>br{display:none}.welcome h1>span{margin-left:6px}.passport{max-width:480px;padding:21px 24px 0;flex-shrink:0;background:linear-gradient(145deg,#0b2428ed,#041418f2)}.username-panel{padding:23px 0 25px}.username-panel h2,.wallet-title{font-size:38px}.gate-copy{font-size:13px;margin-bottom:22px}.gate-eyebrow{margin-bottom:13px}.paper-topline{padding-bottom:14px;font-size:9px}.mission-step{min-height:clamp(49px,7.6dvh,65px);padding:8px 11px}.mission-action{min-height:40px;flex-basis:78px}.step-copy h3{font-size:14px}.step-copy p{font-size:10px}.passport-heading h2{font-size:23px}.paper-bottom>p{font-size:11px}.intro-brand{top:22px;right:22px}.intro-brand img{width:42px;height:42px}.intro-bottom{right:22px;bottom:22px}.details-form{padding:22px 0}.wallet-input>input{font-size:16px}}
@media(max-width:480px){.application-stage{padding-left:14px;padding-right:14px;gap:15px}.site-header{padding-left:18px;padding-right:18px}.passport{padding-left:20px;padding-right:20px;border-radius:13px}.username-panel h2,.wallet-title{font-size:36px}.step-copy h3{font-size:13px}.step-copy p{font-size:9px}.mission-step{gap:9px;padding-left:9px;padding-right:9px}.step-number{flex-basis:25px;height:25px;font-size:10px}.mission-action{font-size:10px;flex-basis:70px;padding-left:7px;padding-right:7px;gap:4px}.mission-list{margin-left:-10px;margin-right:-10px}.paper-bottom-meta{font-size:8px}.success-panel>h2{font-size:32px}.universe-link{max-width:110px;line-height:1.2;text-align:right}.welcome h1{font-size:36px}}
/* Compact the current stage rather than adding a document scrollbar. */
@media(max-height:700px) and (max-width:820px){.application-world{grid-template-rows:56px minmax(0,1fr)}.site-header{padding-top:10px;padding-bottom:10px}.brand-mark img{width:30px;height:30px}.brand{font-size:21px}.application-stage{gap:0;padding-top:5px;padding-bottom:5px}.welcome{display:none}.passport{padding-top:15px}.paper-topline{padding-bottom:10px;font-size:8px}.username-panel{padding:18px 0}.gate-eyebrow,.gate-copy{display:none}.username-panel h2,.wallet-title{font-size:30px;line-height:1.05;letter-spacing:-1px;margin-bottom:18px}.username-panel h2 br{display:none}.username-form>label,.details-form>label{font-size:12px;margin-bottom:8px}.input-wrap{min-height:46px;padding-top:9px;padding-bottom:9px;margin-bottom:9px}.username-form #username-note,.details-form #field-note{font-size:11px;line-height:1.4;margin-bottom:17px}.ink-button{min-height:46px;font-size:13px}.paper-bottom{padding:12px 0}.paper-bottom>p{font-size:10px;line-height:1.35;margin-bottom:8px}.paper-bottom-meta{font-size:8px}.passport-heading{padding-top:14px}.passport-heading h2{font-size:21px}.mission-progress{margin:12px 0 8px}.mission-list{margin-bottom:6px}.mission-step{min-height:47px;padding-top:5px;padding-bottom:5px}.step-copy p{display:none}.step-copy h3{margin:0;font-size:12px}.mission-action{min-height:35px}.completion-count strong{font-size:20px}.details-form{padding:15px 0 18px}.unlocked-note{font-size:8px;margin-bottom:13px}.wallet-title br{display:none}.applicant-summary{padding:9px 10px;margin-bottom:15px}.applicant-summary>span{font-size:8px}.applicant-summary>strong{font-size:12px}.success-panel{padding:16px 0}.success-seal{width:35px;height:35px;margin-bottom:12px}.success-seal>svg{width:22px;height:22px}.success-panel>h2{font-size:28px;margin:12px 0}.success-ticket{margin:14px auto;padding:12px;gap:5px}.success-ticket>strong{font-size:30px}.success-actions{margin:12px 0}.success-panel>p.success-disclaimer{font-size:9px}}
@media(max-height:480px) and (min-width:480px){.application-world{grid-template-rows:48px minmax(0,1fr)}.site-header{padding:7px 24px}.brand{font-size:21px}.brand-mark img{width:28px;height:28px}.application-stage{display:flex;align-items:flex-end;justify-content:center;padding:4px 24px}.welcome{display:none}.passport{width:min(580px,calc(100vw - 48px));max-width:580px;padding:12px 20px 0;border-radius:12px}.paper-topline{font-size:8px;padding-bottom:9px}.username-panel{padding:15px 0;display:grid;grid-template-columns:.8fr 1.2fr;gap:0 24px;align-items:center}.gate-eyebrow,.gate-copy{display:none}.username-panel h2{font-size:30px;line-height:1.05;margin:0}.username-panel h2 br{display:block}.username-form>label{font-size:11px;margin-bottom:6px}.input-wrap{min-height:41px;padding:7px 11px;margin-bottom:7px}.username-form #username-note{font-size:10px;line-height:1.3;margin-bottom:10px}.ink-button{min-height:39px;font-size:12px;padding:9px 13px}.paper-bottom{padding:9px 0 10px}.paper-bottom>p{font-size:10px;line-height:1.3;margin:0 0 7px}.paper-bottom-meta{font-size:8px}.passport-heading{padding-top:11px}.passport-heading h2{font-size:20px}.completion-count strong{font-size:18px}.mission-progress{margin:10px 0}.mission-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;margin:0 -7px 9px}.mission-step{min-height:45px;padding:6px 7px;gap:7px}.step-number{flex-basis:23px;height:23px;font-size:9px}.step-copy h3{font-size:11px;margin:0}.step-copy p{display:none}.mission-action{flex-basis:60px;min-height:31px;padding:7px 5px;font-size:9px;gap:3px}.mission-action svg{width:12px;height:12px}.is-pending .mission-action{font-size:8px}.details-form{padding:13px 0 15px;display:grid;grid-template-columns:.8fr 1.2fr;gap:0 22px}.unlocked-note{grid-column:1;grid-row:1;margin:0 0 8px;font-size:8px;letter-spacing:.3px}.wallet-title{grid-column:1;grid-row:2/5;font-size:30px;margin:0}.wallet-title br{display:block}.applicant-summary{grid-column:2;grid-row:1;padding:6px 9px;margin-bottom:9px}.applicant-summary>span{font-size:7px}.applicant-summary>strong{font-size:11px}.details-form>label{grid-column:2;grid-row:2;font-size:11px;margin-bottom:6px}.wallet-input{grid-column:2;grid-row:3}.details-form #field-note{grid-column:2;grid-row:4;font-size:9px;line-height:1.3;margin:0 0 10px}.details-form>.submit-entry{grid-column:2;grid-row:5}.success-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;padding:15px 0}.success-seal{display:none}.success-panel>.eyebrow{grid-column:1;grid-row:1;text-align:left;font-size:9px}.success-panel>h2{grid-column:1;grid-row:2;font-size:30px;text-align:left;margin:0}.success-panel>p:not(.eyebrow){grid-column:1;grid-row:3;text-align:left;font-size:10px}.success-ticket{grid-column:2;grid-row:1/4;margin:0;width:100%;padding:12px;gap:5px}.success-ticket>strong{font-size:28px}.success-actions{grid-column:2;grid-row:4;margin:2px 0;gap:16px}.success-actions>button{font-size:10px}.success-panel>p.success-disclaimer{grid-column:1;grid-row:4;font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the opening stage quiet and within shorter viewport budgets. */
.gate-eyebrow{display:none}
@media(min-width:821px) and (max-height:840px){.username-panel{padding-top:24px;padding-bottom:24px}.gate-copy{margin-bottom:20px}.username-panel h2{font-size:38px}}
@media(max-height:700px) and (max-width:820px){.username-form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.username-panel h2{font-size:28px}.username-form #username-note{font-size:10px;min-height:28px;line-height:1.4;margin-bottom:13px}}
@media(max-height:480px) and (min-width:480px){.username-form>label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}.username-panel h2{font-size:30px}.username-form #username-note{font-size:10px;min-height:0;line-height:1.3;margin-bottom:10px}}

@media(max-width:820px){body[data-step-stage=missions] .welcome{display:none}}
@media(max-height:700px) and (max-width:820px){.details-form>.unlocked-note,.details-form>.applicant-summary{display:none}.wallet-title{font-size:26px;letter-spacing:-1px}.wallet-title br{display:none}}
@media(max-height:480px) and (min-width:480px){.details-form>.unlocked-note,.details-form>.applicant-summary{display:flex}.wallet-title{font-size:30px}.wallet-title br{display:block}}
@media(max-height:360px) and (min-width:480px){.passport{padding-top:10px}.paper-topline{display:none}.username-panel,.details-form{padding-top:12px;padding-bottom:12px}.mission-step{min-height:36px;padding-top:3px;padding-bottom:3px}.mission-action{min-height:28px}.passport-heading{padding-top:8px}.mission-progress{margin-top:8px;margin-bottom:7px}.mission-list{margin-bottom:7px}.paper-bottom{padding-top:8px;padding-bottom:9px}.success-panel{padding-top:12px;padding-bottom:12px}.success-ticket{padding:9px}.success-panel>h2{font-size:26px}.success-actions{margin:0}}
/* Allocate mission rows from the actual available stage height. */
body[data-step-stage=missions] .passport{height:100%;max-height:760px;display:flex;flex-direction:column}
body[data-step-stage=missions] .paper-topline,body[data-step-stage=missions] .paper-bottom{flex:none}
.mission-panel{min-height:0;display:flex;flex-direction:column;flex:1}
.passport-heading,.mission-progress{flex:none}
.mission-list{min-height:0;flex:1;display:grid;grid-template-rows:repeat(6,minmax(0,1fr))}
.mission-step{min-height:0}
@media(max-height:480px) and (min-width:480px){.mission-list{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:1fr 1fr}.mission-step{padding-top:4px;padding-bottom:4px}}
@media(max-height:360px) and (min-width:480px){.details-form>.unlocked-note,.details-form>.applicant-summary{display:none}.details-form #field-note{font-size:8px;line-height:1.3}.details-form{padding-top:10px;padding-bottom:10px}}
@media(max-width:820px){body[data-step-stage=success] .welcome{display:none}}
@media(max-height:700px) and (max-width:820px){body[data-step-stage=success] .paper-topline{display:none}.success-seal,.success-panel>.eyebrow,.success-panel>p:not(.eyebrow):not(.success-disclaimer),.ticket-barcode{display:none}.success-panel{padding:12px 0 16px}.success-panel>h2{margin-top:0;margin-bottom:14px}.success-ticket{padding:10px;margin:12px auto;gap:5px}.success-actions{margin:12px 0}.success-panel>p.success-disclaimer{font-size:9px}}
@media(max-height:480px) and (min-width:480px){.success-panel>.eyebrow,.success-panel>p:not(.eyebrow):not(.success-disclaimer){display:block}.success-panel{padding:12px 0}.success-panel>h2{margin:0}.success-ticket{margin:0;padding:10px}.success-actions{margin:2px 0}}
body[data-step-stage=success] .paper-topline{display:none}
@media(max-height:480px) and (min-width:480px){.success-panel>h2{grid-row:1/3}.success-ticket{grid-row:1/3}.success-actions{grid-row:3}.success-panel>p.success-disclaimer{grid-row:3}}

/* Keep the title in the dark space above the illustration. */
.welcome{position:relative;z-index:1;padding-top:0}
.welcome h1{font-size:clamp(48px,4.6vw,76px);line-height:1.02;margin:0;letter-spacing:.4px;white-space:nowrap;text-shadow:0 2px 18px #000c}
.welcome h1>span{margin-left:0}
.welcome-copy{display:block;font-size:14px;line-height:1.4;margin:10px 0 0;color:#f0fff7;text-shadow:0 2px 9px #000,0 0 18px #000}
.back-button{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:4px 0;background:transparent;color:var(--ink);font:700 12px/1.2 var(--body);letter-spacing:0}
.back-button svg{width:17px;height:17px;transform:rotate(180deg)}
.back-button:hover{color:var(--green)}
body[data-step-stage=missions] .application-label{display:none}
body[data-step-stage=missions] .paper-topline{display:flex;align-items:center;padding-bottom:10px}
@media(min-width:1600px) and (min-height:900px){.welcome{padding-top:0}.welcome h1{font-size:82px}}
@media(max-width:1100px) and (min-width:821px){.welcome h1{font-size:52px}}
@media(max-width:820px){.welcome{align-self:stretch;isolation:isolate}.welcome:before{content:'';position:absolute;z-index:-1;inset:-10px -12px -9px;background:radial-gradient(ellipse at left center,#030e13f5 25%,#030e13a6 65%,#030e1300 100%);pointer-events:none}.welcome h1{font-size:36px;line-height:1.04}.welcome-copy{font-size:12px;margin-top:7px}}
@media(max-height:700px) and (max-width:820px){.welcome-copy{display:none}}
@media(pointer:coarse){.back-button{min-height:40px}}
@media(max-height:480px) and (min-width:480px){.back-button{min-height:26px;font-size:11px}body[data-step-stage=missions] .paper-topline{padding-bottom:7px}}

/* One continuous scene, with three live typography studies. */
.site-header{position:relative;justify-content:flex-start}
.intro-brand{inset:max(16px,env(safe-area-inset-top)) auto auto max(16px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:center;width:48px;height:48px;z-index:2;transform:none}
.intro-brand img{width:44px;height:44px}
.application-stack{position:relative;grid-column:2;min-width:0;width:100%;max-height:100%}
.application-stack>.passport{height:auto;max-height:100%;border-color:#6affb74d;background:linear-gradient(150deg,#082327f5,#04151bf2);box-shadow:0 18px 55px #0005,inset 0 1px 0 #c5ffe80d}
body[data-step-stage=missions] .application-stack>.passport{height:min(660px,calc(100dvh - 230px));max-height:none}
.design-intro{position:absolute;left:0;right:0;bottom:calc(100% + 18px);text-align:center;pointer-events:none}
.design-intro h1{font:900 96px/.9 var(--display);letter-spacing:2px;margin:0;white-space:nowrap;color:#9dffbe;text-shadow:0 0 2px #dcffe7,0 0 14px #27ff91a6,0 0 34px #00f68291,0 0 64px #00d7794d}
.design-intro p{font-size:10px;font-weight:700;line-height:1.2;letter-spacing:6px;color:#c4f7d9;margin:11px 0 0}
body[data-design=signal] .design-intro h1{font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:54px;line-height:1;letter-spacing:4px;color:transparent;-webkit-text-stroke:1.3px #87ffb3;text-shadow:0 0 12px #1aff8b66,0 0 28px #00ff8759}
body[data-design=signal] .design-intro p{letter-spacing:4px;color:#71ffac}
body[data-design=signal] .application-stack>.passport{border-color:#4fff9b75;box-shadow:0 18px 55px #0005,0 0 26px #00f48510}
body[data-design=pals] .design-intro h1{font-size:104px;letter-spacing:5px;color:#c0ff9e;transform:rotate(-3deg);text-shadow:2px 3px 0 #087448,0 0 16px #39ff8999,0 0 40px #00ff8c80}
body[data-design=pals] .design-intro p{letter-spacing:8px;color:#b9ffd4}
body[data-design=pals] .application-stack>.passport{border-color:#c0ff7866}
.design-options{position:absolute;right:max(16px,env(safe-area-inset-right));top:16px;display:flex;align-items:center;gap:5px;padding:4px;background:#031b1be6;border:1px solid #8bffbf40;border-radius:8px;z-index:3}
.design-options>span{font-size:8px;font-weight:700;letter-spacing:1px;padding:0 5px;color:#a5cbb8}
.design-options>button{min-width:31px;min-height:30px;padding:6px;background:transparent;border-radius:5px;font-size:11px;font-weight:700;color:#b7d6c7}
.design-options>button[aria-pressed=true]{color:#042414;background:var(--green)}
@media(max-height:850px) and (min-width:821px){
  .application-stack .username-panel{padding:16px 0}
  .application-stack .username-panel h2{font-size:32px;margin-bottom:12px}
  .application-stack .gate-copy{font-size:12px;line-height:1.35;margin-bottom:14px}
}
@media(max-width:820px),(max-width:1024px) and (max-height:480px){
  .intro>video{object-fit:contain;object-position:center}
  .site-header{padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left))}
  .site-header .brand{width:44px;height:44px;justify-content:center;flex:none}
  .site-header .brand-mark img{width:32px;height:32px}
  .design-options{top:calc(env(safe-area-inset-top) + 6px)}
}
@media(max-width:820px) and (orientation:portrait){
  .application-world{grid-template-rows:calc(44px + env(safe-area-inset-top)) minmax(0,1fr);background:#010a12}
  .world-art{display:block;inset:0}
  .world-art img{width:100%;height:100%;object-fit:cover;object-position:center bottom;opacity:1;transform:none;filter:none;mask-image:none;-webkit-mask-image:none}
  .application-world:after{background:none}
  .application-stage{display:flex;align-items:center;justify-content:center;max-width:480px;padding:0 14px calc(10px + env(safe-area-inset-bottom));height:100%;min-height:0;gap:0}
  .application-stack{grid-column:auto;width:100%;height:auto;max-height:100%;transform:translateY(-7dvh)}
  .design-intro{bottom:calc(100% + 18px)}
  .design-intro h1{font-size:clamp(80px,24vw,108px);letter-spacing:2px}
  .design-intro p{font-size:10px;letter-spacing:6px;margin-top:10px}
  body[data-design=signal] .design-intro h1{font-size:clamp(38px,11vw,52px);letter-spacing:3px}
  body[data-design=pals] .design-intro h1{font-size:clamp(84px,25vw,112px);letter-spacing:4px}
  .application-stack>.passport,body[data-step-stage=missions] .application-stack>.passport{display:block;width:100%;height:auto;max-height:none;min-height:0;padding:14px 18px 0;border-radius:13px}
  .paper-topline{font-size:8px;line-height:1.25;padding-bottom:8px;align-items:center}
  .back-button{min-height:32px;font-size:11px;line-height:1.1;padding:4px 0}
  body[data-step-stage=missions] .paper-topline{padding-bottom:7px}
  .username-panel,.details-form{padding:16px 0 18px}
  .gate-copy,.details-form>.unlocked-note,.details-form>.applicant-summary{display:none}
  .username-panel .gate-copy{display:block;font-size:12px;line-height:1.4;color:#cbe0d7;margin:0 0 16px}
  .username-panel h2,.wallet-title{font-size:26px;line-height:1.05;letter-spacing:-.7px;margin:0 0 15px}
  .username-panel h2 br,.wallet-title br{display:none}
  .username-form>label,.details-form>label{display:block;position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;font-size:12px;line-height:1.2;margin:0 0 7px}
  .input-wrap{min-height:46px;padding:9px 12px;margin-bottom:9px}
  .input-wrap>input,.username-form .input-wrap>input,.wallet-input>input{font-size:16px}
  .username-form #username-note,.details-form #field-note{font-size:10px;line-height:1.3;min-height:0;margin:0 0 14px}
  .ink-button{min-height:46px;padding:10px 14px;font-size:13px;line-height:1.2}
  .mission-panel{display:block;flex:none;min-height:0}
  .passport-heading{padding-top:12px;gap:10px}
  .passport-heading h2{font-size:19px;line-height:1.1;letter-spacing:-.5px}
  .completion-count{line-height:1}
  .completion-count strong{font-size:18px;line-height:1}
  .mission-progress{height:3px;margin:9px 0}
  .mission-list{flex:none;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(64px,auto);gap:0;margin:0 -7px 6px}
  .mission-step{display:none;position:relative;min-height:0;padding:8px 7px;gap:8px}
  .mission-step.is-active,.mission-step.is-pending{display:flex;min-height:64px}
  .step-number{flex-basis:24px;height:24px;font-size:10px}
  .step-copy h3{font-size:14px;line-height:1.2;letter-spacing:0;margin:0}
  .step-copy p{display:none}
  .mission-action{flex-basis:82px;min-height:44px;font-size:11px;line-height:1.15;padding:7px;gap:4px}
  .mission-action:after{content:'';position:absolute;inset:0}
  .is-locked .mission-action:after,.is-complete .mission-action:after{content:none}
  .is-pending .mission-action{font-size:10px;line-height:1.1;padding:4px 6px}
  .paper-bottom{padding:10px 0}
  .paper-bottom>p{font-size:10px;line-height:1.3;min-height:0;margin:0 0 7px}
  .paper-bottom-meta{font-size:8px;line-height:1.2;gap:8px}
  .paper-bottom-meta button{font-size:9px;line-height:1.2;min-height:18px;padding:3px 0}
  .success-panel{display:block;padding:16px 0 18px}
  .success-panel>h2{font-size:28px;line-height:.98;letter-spacing:-1px;margin:0 0 14px;text-align:center}
  .success-ticket{margin:12px auto;padding:10px;gap:6px;max-width:280px}
  .success-ticket>strong{font-size:30px}
  .success-actions{margin:12px 0;gap:22px}
  .success-actions>button{font-size:11px;line-height:1.2}
  .success-panel>p.success-disclaimer{font-size:9px;line-height:1.3;text-align:center}
  .mission-action:hover:not(:disabled){transform:none}
}
@media(max-width:820px) and (orientation:portrait) and (max-height:700px){
  .application-stack{transform:translateY(-6dvh)}
  .design-intro{bottom:calc(100% + 14px)}
  .design-intro h1{font-size:68px}
  .design-intro p{font-size:9px;margin-top:8px}
  body[data-design=signal] .design-intro h1{font-size:38px;letter-spacing:2px}
  body[data-design=pals] .design-intro h1{font-size:72px;letter-spacing:3px}
  .application-stack>.passport,body[data-step-stage=missions] .application-stack>.passport{padding-top:10px}
  body[data-step-stage=username] .paper-topline{display:none}
  .paper-topline{font-size:7px;line-height:1.25;padding-bottom:7px}
  body[data-step-stage=missions] .paper-topline{padding-bottom:5px}
  .username-panel,.details-form{padding:12px 0 14px}
  .username-panel .gate-copy{display:none}
  .username-panel h2,.wallet-title{font-size:24px;margin-bottom:12px}
  .username-form>label,.details-form>label{font-size:11px;margin-bottom:6px}
  .input-wrap{min-height:44px;padding-top:8px;padding-bottom:8px;margin-bottom:8px}
  .username-form #username-note,.details-form #field-note{font-size:9px;line-height:1.3;margin-bottom:12px}
  .ink-button{min-height:42px;font-size:12px;padding:9px 12px}
  .passport-heading{padding-top:8px}
  .passport-heading h2{font-size:17px}
  .mission-progress{margin:7px 0}
  .paper-bottom{padding:8px 0}
  .paper-bottom>p{font-size:9px;line-height:1.25;margin-bottom:5px}
  .paper-bottom-meta{font-size:7px;line-height:1.2}
  .paper-bottom-meta button{font-size:8px;line-height:1.2;min-height:14px;padding:2px 0}
  .success-panel{padding:12px 0}
  .success-panel>h2{font-size:24px;margin-bottom:10px}
  .success-ticket{padding:8px;margin:8px auto;gap:5px}
  .success-ticket>span:first-child{font-size:8px}
  .success-ticket>strong{font-size:28px}
  .success-ticket #entry-handle{font-size:10px}
  .success-actions{margin:8px 0}
  .success-actions>button{font-size:10px;line-height:1.2}
  .success-panel>p.success-disclaimer{font-size:8px;line-height:1.3}
}
@media(max-width:820px) and (orientation:portrait) and (max-height:620px){.design-intro p{display:none}.design-intro h1{font-size:60px}body[data-design=pals] .design-intro h1{font-size:64px}}
@media(max-width:820px) and (orientation:portrait) and (pointer:coarse){.back-button{min-height:40px}}
@media(max-width:820px) and (orientation:portrait) and (max-height:520px){.design-intro{display:none}.application-stack{transform:none}}
@media(max-width:1024px) and (max-height:480px) and (orientation:landscape){
  .application-stage{display:flex;align-items:center;justify-content:center;padding:4px 24px}
  .application-stack{width:min(580px,calc(100vw - 48px));height:auto}
  .application-stack>.passport,body[data-step-stage=missions] .application-stack>.passport{display:block;width:100%;height:auto;max-height:none}
  .design-intro{bottom:calc(100% + 8px)}
  .design-intro h1{font-size:40px}body[data-design=signal] .design-intro h1{font-size:26px}body[data-design=pals] .design-intro h1{font-size:42px}
  .design-intro p{display:none}
  .world-art img{object-position:center bottom}
}
@media(max-width:480px) and (max-height:620px){
  .design-options{padding:3px;gap:3px}
  .design-options>span{display:none}
  .design-options>button{min-width:26px;min-height:26px;padding:4px;font-size:10px}
}

/* Live application controls. */
.mission-note{font-size:10px;line-height:1.4;color:var(--muted);margin:0 0 10px;flex:none}
#start-another{width:100%;max-width:360px;min-height:44px;font-size:12px;line-height:1.2;padding:10px 12px;margin:2px auto 15px}
#refresh-status{white-space:nowrap}
#status-message:empty{min-height:0;margin:0}
@media(max-width:820px) and (orientation:portrait){
  .mission-note{font-size:9px;line-height:1.3;margin-bottom:8px}
  .paper-bottom-meta{flex-wrap:wrap}
  #start-another{min-height:42px;font-size:11px;margin-bottom:12px}
}
@media(max-width:820px) and (orientation:portrait) and (max-height:620px){
  .design-intro{bottom:calc(100% + 10px)}
  .design-intro h1{font-size:52px}
  body[data-design=pals] .design-intro h1{font-size:48px}
  body[data-design=signal] .design-intro h1{font-size:32px}
}
@media(max-width:1024px) and (max-height:480px) and (orientation:landscape){
  .mission-note{font-size:9px;line-height:1.25;margin-bottom:6px}
  #start-another{grid-column:1/-1;grid-row:4;max-width:none;min-height:36px;font-size:10px;margin:3px 0 0}
}
.success-ticket>strong{max-width:100%;font-size:24px;line-height:1.2;letter-spacing:1px;overflow-wrap:anywhere}

.compact-form-viewport .application-world { height: var(--form-visible-height); }
.compact-form-viewport .application-stage {
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: 8px;
}
.compact-form-viewport .application-stack {
  flex: 0 0 auto;
  width: min(100%, 500px);
  height: auto;
  max-height: none;
  transform: none;
}
.compact-form-viewport .application-stack > .passport { max-height: none; }
.compact-form-viewport .design-intro { display: none; }

#completion-dialog {
  width: min(430px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(18px, 5dvh, 44px) 22px;
  overflow: auto;
  border: 1px solid #60f5af6b;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 25%, #103932, #07191e 66%);
  box-shadow: 0 12px 70px #001c19ac;
  color: var(--ink);
  text-align: center;
}
#completion-dialog::backdrop {
  background: #020b13dc;
}
#completion-dialog[open] {
  animation: completion-reveal .42s ease-out both;
}
.completion-radar {
  position: relative;
  width: min(100%, 66dvh);
  aspect-ratio: 8 / 5;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 1px solid #50f5a066;
  border-radius: 11px;
  background: repeating-radial-gradient(circle at center, #092320 0 27px, #50f5a022 28px 29px);
}
.completion-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.completion-sweep {
  position: absolute;
  inset: 0 auto 0 -20%;
  width: 20%;
  border-right: 2px solid #c0ffe0;
  background: linear-gradient(90deg, transparent, #50f5a077);
  box-shadow: 4px 0 15px -5px #50f5a0;
  opacity: 0;
}
#completion-dialog[open] .completion-image {
  animation: completion-image-reveal .8s .12s cubic-bezier(.32, .04, .28, 1) both;
}
#completion-dialog[open] .completion-sweep {
  animation: completion-scan .8s .12s cubic-bezier(.32, .04, .28, 1) both;
}
.completion-check {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: clamp(30px, 10%, 40px);
  aspect-ratio: 1;
  border: 1px solid #81ffc6;
  border-radius: 50%;
  background: #0d4638;
  box-shadow: 0 0 22px #50f5a066;
  color: #a0ffd3;
}
.completion-check svg {
  width: 65%;
  stroke-width: 3;
}
#completion-dialog[open] .completion-check {
  animation: completion-reveal .3s .82s ease-out both;
}
#completion-dialog[open] .completion-check path {
  stroke-dasharray: 1;
  animation: completion-checkmark .32s .9s ease-out both;
}
#completion-title {
  margin: 0;
  font: 900 clamp(34px, 10vw, 55px)/1 var(--display);
  letter-spacing: .02em;
  text-shadow: 0 0 24px #50f5a060;
}
#completion-note {
  margin: 8px 0 20px;
  color: #c8e0da;
  font-size: 13px;
}
#completion-done {
  min-height: 42px;
  padding: 8px 18px;
}
@keyframes completion-reveal {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes completion-image-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}
@keyframes completion-scan {
  from { opacity: 0; transform: translateX(0); }
  12%, 90% { opacity: 1; }
  to { opacity: 0; transform: translateX(500%); }
}
@keyframes completion-checkmark {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@media (max-height: 500px) {
  #completion-dialog { padding: 15px 18px; }
  .completion-radar { margin-bottom: 10px; }
  #completion-title { font-size: clamp(30px, 10vw, 42px); }
  #completion-note { margin: 6px 0 12px; }
}
@media (max-height: 500px) and (min-width: 560px) and (orientation: landscape) {
  #completion-dialog[open] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 8px 16px;
    width: min(610px, calc(100% - 32px));
  }
  .completion-radar {
    grid-column: 1;
    grid-row: 1 / 4;
    width: min(100%, 80dvh);
    margin-bottom: 0;
  }
  #completion-title { grid-column: 2; grid-row: 1; align-self: end; }
  #completion-note { grid-column: 2; grid-row: 2; margin: 0; }
  #completion-dialog > form { grid-column: 2; grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) {
  #completion-dialog[open], #completion-dialog[open] .completion-image,
  #completion-dialog[open] .completion-sweep, #completion-dialog[open] .completion-check,
  #completion-dialog[open] .completion-check path {
    animation: none;
  }
}
