.console{border-top-color:var(--team)}.telemetry{border-left:3px solid var(--team)}.console-key{min-height:76px;border:5px solid #0b1219;border-bottom-width:7px;border-radius:3px;outline:1px solid #596873;background:linear-gradient(165deg,#50616e 0%,#364653 12%,#263541 48%,#19252f 100%);box-shadow:0 5px 0 #04090e,0 7px 6px #000b,inset 2px 2px 0 #b4c5cf33,inset -2px -3px 0 #0009;padding:10px;gap:10px}.console-key:before{left:1px;top:4px;bottom:4px;width:3px;background:var(--key);box-shadow:0 0 9px color-mix(in srgb,var(--key) 35%,transparent)}.console-key:after{content:'';position:absolute;right:7px;bottom:7px;width:13px;height:1px;background:#08121c;box-shadow:0 3px #08121c,0 6px #08121c}.console-key .key-number{font:800 26px 'Barlow Condensed',sans-serif;border-right:1px solid #67747d55;min-width:30px;padding-right:8px}.console-key .key-title{font:700 16px 'Barlow Condensed','Arial Narrow',sans-serif;line-height:1.05;color:#e5edef;padding-right:8px;text-shadow:0 1px 1px #000}.key-led{width:5px;height:5px;right:6px;top:6px;background:var(--key);box-shadow:0 0 4px color-mix(in srgb,var(--key) 40%,transparent)}.console-key:active:not(:disabled){transform:translateY(4px);border-bottom-width:7px;box-shadow:0 1px 0 #04090e,inset 2px 2px 5px #0008}.team-selector .key-title{color:var(--key);font:800 23px 'Barlow Condensed','Arial Narrow',sans-serif;padding:0;text-shadow:0 0 7px color-mix(in srgb,var(--key) 20%,transparent)}.aux-key{border-radius:2px;border:4px solid #0a1119;outline:1px solid #596873;border-bottom-width:6px;box-shadow:0 3px #04090e,inset 1px 1px #8da2b833;background:linear-gradient(155deg,#465966,#1d2c39)}.choice-mode .master-controls,.image-mode .master-controls{display:none}.image-mode #keypad,.open-mode #keypad{display:none}.open-mode .aux-key{display:none}.open-mode .master-controls{grid-template-columns:1fr}.image-mode .date-grid{margin-top:20px}.image-mode .date-option{min-height:44px}.choice-mode .capture{height:clamp(150px,34dvh,300px)}.choice-mode #screen h2{font-size:30px}.keypad{gap:12px 11px;padding:2px 1px 5px}.control-caption{padding-top:6px}.monitor{box-shadow:0 0 0 1px color-mix(in srgb,var(--team) 45%,#42535e),0 4px 8px #0009}
@media(max-height:740px){.console-key{min-height:66px;padding:8px}.console-key .key-title{font-size:14px}.team-selector .key-title{font-size:21px}.choice-mode .capture{height:clamp(110px,27dvh,200px)}.choice-mode #screen h2{font-size:25px}}
@media(max-width:350px){.console-key{gap:6px;padding:7px}.console-key .key-number{min-width:25px;font-size:23px;padding-right:6px}.console-key .key-title{font-size:13px}.team-selector .key-title{font-size:20px}}

.choice-mode .capture,.capture{height:auto;max-height:none;aspect-ratio:auto;width:calc(100% + 30px);margin:14px -15px 0;border-left:0;border-right:0;border-radius:0}.capture>img{display:block;width:100%;height:auto;object-fit:fill}@media(max-height:740px){.choice-mode .capture,.capture{width:calc(100% + 24px);margin-left:-12px;margin-right:-12px;height:auto}}
.choice-mode .capture,.capture{height:clamp(175px,30dvh,275px);position:relative;isolation:isolate;overflow:hidden;background:#0b1820}.capture:before{content:'';position:absolute;inset:-20px;background-image:var(--capture-image);background-size:cover;background-position:center;filter:blur(10px) brightness(.65);z-index:-1}.capture>img{position:relative;display:block;width:100%;height:100%;object-fit:contain}.capture>span{z-index:1}@media(max-height:740px){.choice-mode .capture,.capture{height:clamp(145px,27dvh,215px)}}.choice-mode #screen{display:flex;flex-direction:column}.choice-mode #screen .question-heading,.choice-mode #screen h2{flex-shrink:0}.choice-mode .capture{flex:1 1 auto;min-height:100px;height:auto;margin-bottom:-17px}.choice-mode #screen:has(.capture){overflow:hidden}@media(max-height:740px){.choice-mode .capture{height:auto;margin-bottom:-12px}}html,body{height:100%;height:100dvh;overflow:hidden}#screen{overflow:hidden!important;scrollbar-width:none}#screen::-webkit-scrollbar{display:none}.bridge-hud{display:flex;align-items:stretch;gap:8px;flex-shrink:0;height:98px}.bridge-hud .mission-brand{width:44%;height:100%;border:0;background:none}.bridge-hud .mission-logo{height:100%;width:100%}.bridge-hud .telemetry{flex:1;display:grid;grid-template-columns:1fr 1fr;min-height:0;padding:8px 10px;gap:8px}.hud-pilot{grid-column:1/-1}.hud-pilot strong{font:12px monospace;color:var(--team);margin:0;overflow:hidden;text-overflow:ellipsis;max-width:100%}#team-name{font:11px 'Barlow Condensed',sans-serif;color:var(--team);display:block;margin-top:3px;white-space:nowrap}.bridge-hud .telemetry>div strong{font-size:14px}.bridge-hud .telemetry .hud-pilot strong{font-size:12px}.bridge-hud .telemetry small{font-size:6px}.bridge-hud #live-score{color:var(--team)}.image-mode #screen{display:flex;flex-direction:column}.image-mode .question-heading,.image-mode h2{flex-shrink:0}.image-mode .date-grid{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));margin-top:8px}.image-mode .date-option{display:flex;flex-direction:column;min-height:0}.image-mode .photo{flex:1;min-height:0;aspect-ratio:auto;width:100%}.image-mode .photo img{height:100%;width:100%;object-fit:fill}.image-mode .date-option>span:last-child{flex-shrink:0}.report .score-dial{width:110px;height:110px;margin:10px auto}.report .score-dial strong{font-size:56px}.report h2{font-size:22px!important}.report .receipt{padding:8px;margin-top:10px}.report .overline{font-size:7px}.report .receipt b{font-size:16px}.report>p{margin:6px 0}.screen-intro h1{margin-top:10px!important}.identifying .screen-intro{margin-bottom:16px}@media(max-height:740px){.bridge-hud{height:74px}.bridge-hud .telemetry{padding:5px 8px;gap:4px}.bridge-hud .telemetry .hud-pilot strong{font-size:10px}#team-name{font-size:10px}.report .score-dial{width:82px;height:82px;margin:6px auto}.report .score-dial strong{font-size:43px}.report .score-dial>span{font-size:4px}.report h2{font-size:19px!important;margin:5px 0!important}.report .receipt{padding:5px}.report .receipt span,.report .receipt small{font-size:5px}.report .receipt b{font-size:13px}}@media(max-height:500px){.console{height:100dvh;min-height:0;max-height:none;gap:4px;padding:6px 12px}.console-header{display:none}.bridge-hud{height:52px}.bridge-hud .telemetry{padding:3px 6px;gap:2px}.bridge-hud .telemetry small{font-size:5px}.bridge-hud .telemetry>div strong{font-size:10px}.bridge-hud .telemetry .hud-pilot strong{font-size:9px}#team-name{font-size:9px;margin:1px 0}.monitor{flex:1;height:auto;min-height:0}.console-key{min-height:48px;padding:4px;gap:3px}.keypad{grid-template-columns:repeat(4,1fr);gap:6px;padding:0}.console-key .key-title{font-size:11px}.console-key .key-number{font-size:16px;min-width:14px;padding-right:3px}.team-selector .key-title{font-size:12px}.control-caption{padding:0;font-size:5px}.master-controls button{min-height:34px}.identifying .aux-key{min-height:34px;font-size:17px}.console-footer{min-height:18px}.sound-key{min-height:17px;padding:3px}#screen{padding:8px 10px}.monitor-top,.monitor-bottom{padding:5px 9px;font-size:6px}.screen-intro h1{font-size:22px!important;margin:0 0 8px!important}.screen-intro{margin-bottom:8px!important}.identity-fields input{min-height:35px;margin-top:4px;padding:7px}.choice-mode .capture{margin-left:-10px;margin-right:-10px;width:calc(100% + 20px);margin-bottom:-8px;min-height:40px}.report .score-dial{width:65px;height:65px}.report .score-dial strong{font-size:34px}.report .receipt{margin-top:4px}}
.capture:before{display:none}.capture>img{object-fit:cover;object-position:50% var(--photo-y,55%)}.choice-mode .capture{min-height:40px;margin-bottom:0}

#question-title{text-wrap:balance;word-break:normal;overflow-wrap:normal;hyphens:none}.keep-phrase{white-space:nowrap}

.bridge-hud .telemetry{grid-template-columns:minmax(0,1fr) 66px}.bridge-hud .hud-pilot{grid-column:1;grid-row:1}.bridge-hud .telemetry>div:nth-child(2){grid-column:1;grid-row:2}.bridge-hud .telemetry>div:nth-child(3){grid-column:2;grid-row:1/3;align-self:center;text-align:center}.bridge-hud #live-score{font:800 46px 'Barlow Condensed',sans-serif;line-height:1;margin-top:3px}.bridge-hud .telemetry>div:nth-child(3)>small{font-size:7px;letter-spacing:1px}@media(max-height:740px){.bridge-hud .telemetry{grid-template-columns:minmax(0,1fr) 50px}.bridge-hud #live-score{font-size:39px}}@media(max-height:500px){.bridge-hud #live-score{font-size:29px}}

.capture:has(img[src*='asterix-launch'])>img{object-fit:fill}

/* Preserve the reference in each capture, particularly R2-D2 at the bottom right. */
.capture>img{object-position:var(--photo-x,50%) var(--photo-y,55%)}
.choice-mode #screen h2{margin-top:7px;margin-bottom:10px}
.choice-mode .capture{margin-top:0}
@media(max-width:600px) and (max-height:740px){.console{gap:6px}.bridge-hud{height:64px}.console-header{min-height:18px}.choice-mode .console-key{min-height:62px}.choice-mode .control-caption{padding-top:2px}.choice-mode #screen{padding-top:10px}.choice-mode .monitor-top,.choice-mode .monitor-bottom{padding-top:6px;padding-bottom:6px}}

.completed-mode .master-controls{display:none}@media(max-height:740px){.completed-mode .keypad{grid-template-columns:repeat(4,1fr)}.completed-mode .console-key{min-height:48px;padding:5px;gap:4px}.completed-mode .key-title{font-size:10px}.completed-mode .key-number{min-width:14px;padding:0;font-size:17px}.completed-mode .team-selector .key-title{font-size:10px}}

/* Free-text responses stay above their illustration and remain reachable with the mobile keyboard. */
.open-mode #screen{display:flex;flex-direction:column;overflow-y:auto!important;touch-action:pan-y;-webkit-overflow-scrolling:touch;scroll-padding:12px}
.open-mode #screen>.question-heading,.open-mode #screen>h2,.open-mode #open-form{flex:0 0 auto}
.open-mode #open-form{padding:10px 0 14px}
.open-mode #open-answer{min-height:48px;font-size:18px;width:100%;scroll-margin:16px}
.open-mode .capture{flex:0 0 auto;margin-top:4px}
