#customize-harbor { margin:0 0 10px; border-color:#7cddd577; color:var(--cyan); }
#customize-harbor[hidden],.pilot-badge[hidden] { display:none; }
.harbor-customize { width:min(760px,calc(100vw - 28px)); max-width:none; padding:24px; }
.harbor-customize h2 { margin-bottom:8px; }
.harbor-customize .custom-intro { margin:0 0 12px; }
.custom-stage { position:relative; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#101a32; }
#custom-preview { width:100%; height:auto; display:block; }
.custom-persona { position:absolute; top:10px; right:10px; margin:0; }
.pilot-face { display:block; width:34px; height:34px; border:1px solid #7cddd544; border-radius:8px; background-color:#121e30; background-repeat:no-repeat; background-size:500% auto; flex:none; }
#custom-face { width:84px; height:104px; background-size:500% auto; }
.custom-selectors { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:14px 0; }
.custom-selectors label { display:grid; gap:6px; color:var(--muted); font-size:12px; }
.custom-selectors select { width:100%; min-width:0; min-height:44px; padding:8px; color:var(--text); border:1px solid var(--line); border-radius:8px; background:#151b30; font:inherit; }
.custom-selectors option { background:#151b30; }
.custom-checks { display:flex; flex-wrap:wrap; gap:8px 24px; margin:12px 0; }
.custom-checks label { display:flex; align-items:center; gap:8px; min-height:40px; font-size:12px; }
.custom-checks input { width:18px; height:18px; accent-color:var(--gold); }
.custom-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
#pilot-audio-status:empty { display:none; }
.pilot-badge { display:inline-flex; align-items:center; gap:7px; margin-left:auto; flex:none; }
.pilot-badge>span+span { display:grid; gap:3px; min-width:38px; }
#pilot-name { font-size:10px; color:var(--cyan); font-weight:600; }
#pilot-mood { font-size:9px; color:var(--muted); text-transform:capitalize; }
.game-footer>span:first-child { min-width:0; flex:1; }
#status { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body[data-setting=ember] #setting-name { display:none; }
.custom-hint { color:var(--muted); font-size:11px; line-height:1.5; }
@media(max-width:580px) {
 .harbor-customize { padding:16px; }
 .custom-selectors { grid-template-columns:1fr; gap:8px; }
 .custom-selectors label { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; }
 #custom-face { width:50px; height:60px; }
 .custom-persona { top:6px; right:6px; }
 .custom-actions { justify-content:space-between; gap:6px; }
 .custom-actions .icon-button { min-height:40px; }
 .pilot-face { width:28px; height:28px; }
 .pilot-badge>span+span { display:none; }
}
@media(max-height:460px) { .pilot-face { width:18px; height:18px; border-radius:4px; } .pilot-badge>span+span { display:none; } }
@media(prefers-reduced-motion:reduce) { .pilot-face { transform:none!important; } }

.custom-scene { grid-template-columns:1fr; margin-top:0; }
.custom-scene label { grid-template-columns:90px minmax(0,1fr); align-items:center; }
