body.ui-theme dialog.aircraft-picker{--picker-accent:#236b89;--picker-wash:#e6f0f4;width:min(1040px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--ui-border);border-radius:28px;background:var(--ui-surface);color:var(--ui-text);box-shadow:0 24px 100px #06151d40;overflow:auto;overscroll-behavior:contain}
.aircraft-picker::backdrop{background:#07192285;backdrop-filter:blur(12px)}
.picker-heading{padding:30px 36px 24px}.picker-eyebrow{display:block;font-size:10px;letter-spacing:.23em;font-weight:700;color:var(--ui-muted)}.picker-heading h1{font-size:clamp(25px,3.4vw,38px);font-weight:650;letter-spacing:-.055em;line-height:1.13;margin:10px 0 8px}.picker-heading p{font-size:14px;color:var(--ui-muted);margin:0}
.picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;padding:0 28px 24px}
body.ui-theme .aircraft-card{position:relative;display:flex;flex-direction:column;grid-column:span 2;text-align:left;min-width:0;border:1px solid var(--ui-border);padding:0 0 17px;border-radius:18px;background:var(--ui-card);color:var(--ui-text);transition:background .18s,border-color .18s,transform .18s;overflow:hidden}
body.ui-theme .aircraft-card:nth-child(4){grid-column:2 / span 2}body.ui-theme .aircraft-card:hover{background:var(--picker-wash);transform:translateY(-2px)}body.ui-theme .aircraft-card[aria-pressed=true]{border-color:var(--picker-accent);background:var(--picker-wash);box-shadow:inset 0 0 0 1px var(--picker-accent)}
.aircraft-card-number{position:absolute;top:12px;left:16px;font-size:10px;letter-spacing:.08em;color:var(--ui-muted);opacity:.6}.aircraft-card-check{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--picker-accent);color:white;font-size:13px;opacity:0}.aircraft-card[aria-pressed=true] .aircraft-card-check{opacity:1}
.aircraft-card-picture{display:block;margin:8px 0 0;height:clamp(95px,18vh,142px);background:radial-gradient(ellipse at 50% 72%,#7c98aa17,transparent 63%)}.aircraft-card-picture img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.45);filter:drop-shadow(0 9px 5px #0e22351c);pointer-events:none}.aircraft-card-name{display:block;margin:4px 17px 0;font-size:15px;font-weight:650;line-height:1.3;letter-spacing:-.02em}
.picker-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;border-top:1px solid var(--ui-border);background:var(--ui-surface);z-index:1}#pickerSelectedName{font-size:13px;color:var(--ui-muted)}body.ui-theme #pickerFly{display:flex;align-items:center;justify-content:space-between;gap:48px;min-height:48px;padding:12px 21px;border:0;border-radius:12px;background:var(--ui-accent);color:var(--ui-on-accent);font-weight:650}#pickerFly span{font-size:23px;line-height:1}
@media(prefers-color-scheme:dark){body.ui-theme dialog.aircraft-picker{--picker-accent:#8bd5f1;--picker-wash:#203c4c}.aircraft-card-check{color:#102b39}.aircraft-card-picture{background:radial-gradient(ellipse at 50% 65%,#b8d2e115,transparent 64%)}}
@media(max-width:600px){body.ui-theme dialog.aircraft-picker{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:22px}.picker-heading{padding:25px 22px 20px}.picker-heading h1{font-size:29px;max-width:270px}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 14px 16px}body.ui-theme .aircraft-card,body.ui-theme .aircraft-card:nth-child(4){grid-column:auto;padding-bottom:13px;border-radius:14px}.aircraft-card-picture{margin-top:18px;height:90px}.aircraft-card-name{font-size:13px;margin:3px 12px 0;min-height:34px}.aircraft-card-number{top:10px;left:12px}.aircraft-card-check{width:20px;height:20px;right:9px;top:8px;font-size:11px}.picker-footer{padding:14px;gap:10px}#pickerSelectedName{max-width:135px;font-size:12px}body.ui-theme #pickerFly{gap:24px}}
@media(max-height:480px) and (min-width:601px){.picker-heading{padding:18px 28px 16px}.picker-heading h1{font-size:27px}.picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));padding-bottom:16px;gap:9px}body.ui-theme .aircraft-card,body.ui-theme .aircraft-card:nth-child(4){grid-column:auto}.aircraft-card-name{font-size:12px;margin:0 10px}.aircraft-card-picture{margin-top:16px;height:90px}.picker-footer{padding:12px 24px}}
@media(prefers-reduced-motion:reduce){body.ui-theme .aircraft-card{transition:none}body.ui-theme .aircraft-card:hover{transform:none}}
/* The opening focus target is a heading, not an interactive control. */
.picker-heading h1:focus{outline:none}
/* Keep the field as the backdrop without inactive flight controls behind it. */
body:has(#aircraftPicker[open]) .viewport>:not(#scene):not(.credit),body:has(#aircraftPicker[open]) :is(.language-control,#hardwareCheck){visibility:hidden}
