#livery-open{display:flex;align-items:center;gap:12px;width:100%;padding:13px 16px;margin:16px 0 4px;background:linear-gradient(110deg,#293e49,#182c36);border:1px solid #768890;border-radius:5px;text-align:left;color:#f4ead2;cursor:pointer}#livery-open .paint-chip{width:28px;height:28px;background:var(--paint-color);clip-path:polygon(25% 0,100% 0,75% 100%,0 100%);box-shadow:inset 0 0 0 5px #ffffff22}#livery-open strong{display:block;font-size:12px;letter-spacing:2px}#livery-open small{display:block;font-size:11px;color:#b8c7c8;margin-top:3px}#livery-open b{margin-left:auto;font-size:22px}#livery-screen{position:fixed;inset:0;z-index:85;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 25% 20%,#314d5a 0,#162b35 55%,#0d1c27);color:#f7efd9;padding:max(18px,env(safe-area-inset-top)) 22px max(22px,env(safe-area-inset-bottom));--livery-accent:#f3c47b}#livery-screen *{box-sizing:border-box}#livery-screen button{font-family:inherit;cursor:pointer;touch-action:manipulation}#livery-screen button:focus-visible{outline:3px solid #fff0b4;outline-offset:3px}.livery-shell{max-width:1000px;margin:auto}.livery-head{position:static;height:auto;padding:0 0 20px;display:flex;gap:18px;align-items:center;border-bottom:1px solid #78909b50;background:none}.livery-head>div:first-child{margin-right:auto}.livery-head span,.livery-head small{font-size:9px;letter-spacing:2px;color:#adbec3}.livery-head h2{font-size:30px;letter-spacing:2px;margin:5px 0 0;font-weight:900}.livery-funds{text-align:right}.livery-funds strong{display:block;font-size:20px;color:#f5cc78;white-space:nowrap;margin-top:5px}#livery-close{width:44px;height:44px;border:1px solid #a3b6b9;background:#223743;color:#f3ead3;border-radius:5px;font-size:18px;flex-shrink:0}.livery-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;padding-top:28px}.livery-stage{min-height:470px;position:relative;overflow:hidden;border:1px solid #7d939b66;border-radius:8px;background:linear-gradient(#314d5966,#12293466),repeating-linear-gradient(0deg,transparent 0 39px,#a4c2c509 40px),repeating-linear-gradient(90deg,transparent 0 39px,#a4c2c509 40px)}#livery-aircraft-name{position:absolute;top:17px;left:18px;font-size:11px;letter-spacing:2px;text-transform:uppercase;z-index:1}.livery-radar{position:absolute;width:320px;height:320px;border:1px solid #b2ced326;border-radius:50%;left:50%;top:45%;transform:translate(-50%,-50%);box-shadow:0 0 0 34px #b2ced309,inset 0 0 0 34px #b2ced309}.livery-radar:after{content:'';position:absolute;inset:50% -20px auto;height:1px;background:#a4c2c533;transform:rotate(-25deg)}#livery-preview{position:absolute;width:125%;height:85%;left:-12.5%;top:-1%;object-fit:contain;filter:drop-shadow(10px 18px 13px #020d1c88);pointer-events:none}.livery-caption{position:absolute;bottom:22px;left:22px;right:22px}.livery-caption>span:first-child{font-size:10px;letter-spacing:3px;color:var(--livery-accent)}.livery-caption h3{font-size:43px;letter-spacing:-1px;margin:3px 0 9px}.livery-stencil{font-size:8px;letter-spacing:2px;color:#9cb0b8}.livery-section-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.6px;margin:0 0 14px;color:#c1ced0}.livery-section-label span{color:#7f9ca8}#livery-options{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}#livery-options button{padding:13px;text-align:left;background:#203743;border:1px solid #637b87;border-radius:5px;color:#e9e9db;position:relative;min-width:0}#livery-options button[aria-pressed=true]{border:2px solid var(--livery-accent);padding:12px;background:#354b54;box-shadow:0 0 16px #a5ced00b}#livery-options strong{display:block;font-size:16px;margin:10px 0 5px}#livery-options small{font-size:9px;letter-spacing:.7px;color:#c1cbca}.livery-swatches{height:25px;display:flex;gap:3px;transform:skew(-14deg);margin:0 3px}.livery-swatches i{flex:1;border:1px solid #ffffff22}.livery-swatches i:first-child{flex:2}#livery-hint{min-height:30px;font-size:11px;line-height:1.5;color:#afc2c7;margin:17px 0 12px}#livery-apply{width:100%;min-height:54px;border:1px solid #fff0b5;background:linear-gradient(#f6d78d,#dba650);color:#20313b;font-size:12px;font-weight:900;letter-spacing:1.3px;border-radius:5px;box-shadow:inset 0 -4px 0 #7f592a55}#livery-apply:disabled{background:#344b53;color:#b5c7c6;border-color:#65828b;box-shadow:none;cursor:default}#livery-status{font-size:11px;color:#bfe8cf;min-height:16px;line-height:1.4;margin:10px 0 0}@media(max-width:650px){#livery-screen{padding-left:18px;padding-right:18px}.livery-head{gap:12px;padding-bottom:14px}.livery-head h2{font-size:25px}.livery-head span{font-size:8px;letter-spacing:1.3px}.livery-funds strong{font-size:17px}.livery-layout{grid-template-columns:1fr;gap:20px;padding-top:16px}.livery-stage{min-height:255px;height:32dvh;max-height:340px}#livery-preview{width:102%;left:-1%;height:105%;top:-18%}.livery-radar{width:210px;height:210px;top:42%}.livery-caption{bottom:14px;left:16px}.livery-caption h3{font-size:30px;margin:3px 0 0}.livery-caption>span:first-child{font-size:8px;letter-spacing:2px}.livery-stencil{display:none}#livery-aircraft-name{top:13px;left:16px;font-size:9px}#livery-options{grid-template-columns:repeat(3,1fr);gap:8px}#livery-options button{padding:10px 8px}#livery-options button[aria-pressed=true]{padding:9px 7px}#livery-options strong{font-size:13px;margin:8px 0 4px}#livery-options small{font-size:7px;letter-spacing:.1px;white-space:nowrap}.livery-swatches{height:20px;gap:2px}.livery-section-label{margin-bottom:10px;font-size:9px}.livery-caption h3{text-shadow:0 2px 8px #132633}#livery-hint{min-height:28px;margin:12px 0 8px}#livery-apply{min-height:50px;font-size:11px}}

/* High-resolution studio view leaves clearance around the entire airframe. */
#livery-preview{width:100%;left:0;height:80%;top:0}@media(max-width:650px){#livery-preview{width:100%;left:0;height:88%;top:-2%}}

@media(min-width:651px){#livery-options button:last-child:nth-child(odd){grid-column:1/-1}}
