/* Selection frames sit over the physical menu objects without hiding them. */
#choices .mode{border:1px solid transparent;border-radius:8px;transition:background-color .18s,border-color .18s,box-shadow .18s}
#choices .mode.selected{border-color:#c7fc6870;background:#b9ff5510;box-shadow:0 14px 30px #0003}
#choices .mode:is(:hover,:focus-visible){border-color:#e0ffab;background:#b9ff5523;box-shadow:0 16px 36px #0006;outline:2px solid #d8ff9755;outline-offset:5px}
#choices .mode .index{padding:6px 9px;background:#071611ed;color:#eaffc9;border:1px solid #a2c77d66;border-radius:3px;max-width:calc(100% - 26px)}
#modePreview{position:absolute;right:3.5%;top:43%;width:min(260px,22vw);padding:19px 21px;background:#06130f;border:1px solid #b9dc9380;border-radius:5px;box-shadow:0 18px 38px #0008;z-index:8;pointer-events:auto}
#modePreview .preview-tag{font-size:10px;letter-spacing:1px;color:#c7fc68}#modePreview h2{font:600 30px/1.05 'Barlow Condensed',sans-serif;margin:12px 0 15px;text-wrap:balance}#modePreview p{font-size:12px;line-height:1.55;margin:0;color:#d3e0da}#modePreview .preview-facts{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #68826a66;color:#e5ffc6}
#courtPresence{display:flex;flex-wrap:wrap;gap:9px 16px;margin-top:16px;max-width:300px;font-size:9px;letter-spacing:.6px}#courtPresence span{display:flex;align-items:center;gap:7px}#courtPresence b{font-weight:500;color:#d9e8df}#courtPresence i{width:6px;height:6px;border-radius:50%;background:#ffcf00;flex:none}#courtPresence [data-state=ready] i{background:#9aff00}#courtPresence [data-state=error] i{background:#ffda39}
#courtPresence [data-state=error] i{background:transparent;box-shadow:inset 0 0 0 1.5px #ffda39}#courtPresence small{width:100%;font-size:9px;color:#afc4b6}
body:not([data-world-view=entrance]) #modePreview,.touring #modePreview,#world-ui[hidden] #modePreview{display:none}
@media(max-width:1050px){#modePreview{right:3%;width:23vw;padding:14px}#modePreview h2{font-size:24px}#modePreview p{font-size:11px}}
@media(max-width:680px){#modePreview{left:4%;right:4%;top:auto;bottom:224px;width:auto;padding:15px 18px}#modePreview h2{font-size:25px;margin:7px 0}#modePreview .preview-description{display:none}#modePreview .preview-facts{margin:0;padding:0;border:0}#courtPresence{gap:7px;margin-top:10px;font-size:8px}#courtPresence small{display:none}#choices .mode .index{position:static;padding:0;border:0;background:none;max-width:none}#choices .mode.selected{background:#244328}}
@media(prefers-reduced-motion:reduce){#choices .mode{transition:none}}
@media(forced-colors:active){#choices .mode.selected{border:2px solid Highlight}#courtPresence i{background:CanvasText}}

@media(min-width:681px){#world-ui:has(#modePreview:not([hidden])) .opening-actions{visibility:hidden}}
.flight-coach{margin:18px 0 22px}.flight-coach iframe{border:1px solid #78958d66;border-radius:7px;width:100%;height:220px;display:block;background:#d9e1e8}.drawer .coach-heading{color:#c7fc68;font-size:10px;letter-spacing:1px;margin:0 0 9px}#howPanel{width:390px}@media(max-width:680px){#howPanel{width:auto}.flight-coach iframe{height:180px}}
/* Optical controls: rounded rims, a bright bevel and lifted type on interaction. */
#choices .mode{border-radius:20px 20px 27px 27px}
#choices .mode:is(:hover,:focus-visible){background:linear-gradient(125deg,#e9eef21f,#e9eef205 52%,#e9eef219);box-shadow:inset 0 1px #ffffffad,inset 1px 0 #e9eef245,inset 0 -2px #030b0dcc,0 18px 32px #0006;border-color:#e9eef29c}
#choices .mode .index{border-radius:20px;background:linear-gradient(155deg,#e9eef229,#071716ed);box-shadow:inset 0 1px #ffffff88,0 3px 0 #010a0da8,0 6px 12px #0004;text-shadow:0 1px #fff3,0 2px 3px #000;transition:transform .18s}
#choices .mode:is(:hover,:focus-visible) .index{transform:translateY(-4px);color:#fff}
#courtPresence [data-state=ready] i{box-shadow:0 0 0 3px #9aff0010,0 0 9px #9aff0055}
.mast nav button,.mast nav a{border-radius:18px;padding:9px 12px;transition:background .18s,box-shadow .18s,color .18s}
.mast nav :is(button,a):hover,.mast nav button[aria-current=page]{background:linear-gradient(135deg,#e9eef226,#e9eef208);box-shadow:inset 0 1px #e9eef260,inset 0 -1px #0008,0 5px 16px #0003;color:#f0f6f2}
#modePreview{border-radius:20px;background:linear-gradient(150deg,#06130ff5,#081618fa);border-color:#e9eef255;box-shadow:inset 0 1px #e9eef277,0 18px 48px #0009}
#flightLab{padding:0;width:min(1120px,94vw);max-width:none;max-height:92dvh;border:1px solid #e9eef26b;border-radius:24px;background:#0a151ded;color:#f0f6f2;box-shadow:inset 0 1px #e9eef288,0 40px 100px #000a;overflow:hidden;font-family:Inter,Arial,sans-serif}
#flightLab::backdrop{background:#02080de6;backdrop-filter:blur(12px)}
#flightLab header{display:flex;align-items:center;justify-content:space-between;padding:26px 30px;border-bottom:1px solid #e9eef22b}
#flightLab header small{font-size:10px;letter-spacing:1.5px;color:#b6c9c1}#flightLab h2{font-size:24px;font-weight:500;margin:10px 0 0;letter-spacing:-.6px}
#flightLab button{cursor:pointer;border:0;color:inherit;background:transparent;font:inherit}#flightLab button:focus-visible{outline:2px solid #d5ff8b;outline-offset:3px}
#flightLab .lab-close{width:44px;height:44px;background:#e9eef219;border:1px solid #e9eef238;border-radius:50%}
.lab-layout{display:grid;grid-template-columns:200px 1fr;min-height:420px;height:min(54vh,540px)}
.lab-layout nav{padding:20px 12px;border-right:1px solid #e9eef22b;display:flex;flex-direction:column;gap:12px}
#flightLab [data-scene]{padding:18px 12px;text-align:left;border-radius:16px;font-size:13px;min-height:80px}
#flightLab [data-scene] span{display:block;color:#8fa39c;font-size:10px;margin-bottom:10px}#flightLab [data-scene] small{display:block;color:#b6c9c1;font-size:10px;margin-top:8px}
#flightLab [aria-pressed=true]{background:linear-gradient(135deg,#e9eef226,#e9eef20c);box-shadow:inset 0 1px #ffffff7a,inset 0 -1px #0009;border:1px solid #e9eef24a}
.lab-viewport{background:#e9eef2;min-width:0}.lab-viewport iframe{border:0;width:100%;height:100%;display:block}
#flightLab footer{display:flex;align-items:center;justify-content:space-between;padding:20px 30px;gap:30px;border-top:1px solid #e9eef22b}#flightLab footer p{font-size:12px;line-height:1.65;color:#b6c9c1;max-width:560px;margin:0}#flightLab .primary{background:#cff889;color:#112117;padding:14px 20px;border-radius:30px;white-space:nowrap;font-size:12px;font-weight:600}
@media(max-width:680px){#flightLab{border-radius:18px}#flightLab header{padding:18px}#flightLab h2{font-size:18px}.lab-layout{display:flex;flex-direction:column;height:57dvh;min-height:340px}.lab-layout nav{flex-direction:row;padding:8px;border-right:0}#flightLab [data-scene]{flex:1;min-height:44px;padding:12px;font-size:11px}#flightLab [data-scene] span,#flightLab [data-scene] small{display:none}.lab-viewport{flex:1;min-height:0}#flightLab footer{padding:16px;gap:14px;flex-wrap:wrap}#flightLab footer p{font-size:11px}#flightLab .primary{width:100%}.mast nav button,.mast nav a{padding:7px 5px}.opening-actions{gap:8px}.opening-actions strong{font-size:8px}#choices .mode{border-radius:14px}.mode .index{box-shadow:none!important}}
