.map-placeholder{height:12px;width:100%;pointer-events:none}
body.selecting-character .welcome-screen{display:none}
body.selecting-character .settings-trigger{display:none}
.character-select[hidden]{display:none}
.character-select{position:absolute;inset:0;z-index:15;background:radial-gradient(ellipse at 25% 70%,#30383c,#181a1d 65%);color:#f5f3e8;padding:24px max(24px,env(safe-area-inset-right));display:flex;flex-direction:column;gap:16px;overflow:auto}
.selection-header{display:flex;align-items:center;gap:20px}
.selection-back{border:1px solid #58605d;border-radius:12px;background:#272d2e;color:#fff;padding:12px 18px;cursor:pointer}
.selection-header small{color:#c4e958;letter-spacing:.15em;font-size:11px}
.selection-turn{margin:4px 0 0;font-size:clamp(18px,3vw,28px)}
.selection-seats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.selection-seat{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #49504e;border-radius:12px;background:#252a2c;color:#fff;text-align:left;min-height:56px;cursor:pointer}
.selection-seat b{color:var(--seat-color)}
.selection-seat small{margin-left:auto;color:#b4bbb9;font-size:11px}
.selection-seat.active{border-color:var(--seat-color);box-shadow:inset 0 -3px var(--seat-color)}
.selection-seat:disabled{opacity:.5;cursor:default}
.selection-body{display:grid;grid-template-columns:1fr 1fr;gap:28px;flex:1;min-height:170px;align-items:center;max-width:960px;width:100%;margin:auto}
.selection-preview{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;min-height:170px;height:100%;max-height:330px}
#characterPreview{width:100%;height:0;min-height:120px;display:block;flex:1}
.selection-preview-status{flex:none;display:flex;align-items:center;justify-content:center;gap:10px;min-height:36px;color:#f5f3e8}
.selection-color-ball{width:28px;height:28px;flex:none;border-radius:50%;background-color:var(--seat-color);box-shadow:0 3px 9px #0009,0 0 12px color-mix(in srgb,var(--seat-color),transparent 55%)}
.selection-color-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:112px}
.selection-color-label{font-size:13px;line-height:1.1}
.selection-color-value{color:#aab6b3;font-size:11px;letter-spacing:.08em}
.selection-edition{font-size:12px;font-weight:800}
.selection-detail h2{font-size:clamp(28px,5vw,50px);margin:8px 0 14px}
.selection-detail h3{font-size:17px;margin:0 0 8px}
.selection-detail h3 small{background:#3a4241;padding:3px 8px;border-radius:6px;font-size:11px}
.selection-detail p{color:#e3e7dd;font-size:14px;line-height:1.7;max-width:350px;margin:8px 0}
.selection-detail>small{color:#949f9b;font-size:11px}
.selection-footer{display:flex;gap:20px;align-items:stretch;max-width:960px;width:100%;margin:auto}
.character-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:1}
.character-choice{background:#2b3233;border:1px solid #535d59;border-radius:12px;color:#fff;font-size:16px;font-weight:800;min-height:52px;cursor:pointer}
.character-choice.selected{border-color:#dcfa61;background:#3f4b2d;color:#e6ff89}
.selection-confirm{border:0;border-radius:12px;background:#d7fa38;color:#151a13;font-size:16px;font-weight:900;padding:12px 25px;min-width:210px;cursor:pointer;box-shadow:0 4px #718726}
.character-select button:focus-visible{outline:3px solid white;outline-offset:3px}
@media(max-height:500px) and (orientation:landscape){.character-select{padding:10px 22px;gap:8px}.selection-header{gap:12px}.selection-back{padding:9px 14px}.selection-turn{font-size:18px}.selection-header small{font-size:9px}.selection-seat{min-height:42px;padding:8px}.selection-body{min-height:150px}.selection-preview{min-height:150px}.selection-preview-status{min-height:30px}.selection-color-ball{width:22px;height:22px}.selection-color-label{font-size:11px}#characterPreview{min-height:100px}.selection-detail h2{font-size:28px;margin:4px 0 7px}.selection-detail h3{font-size:14px}.selection-detail p{font-size:12px;margin:5px 0}.character-choice{min-height:44px;font-size:14px}.selection-confirm{font-size:14px;padding:10px 18px}}
@media(orientation:portrait){.character-select{padding:20px 16px}.selection-seats{gap:6px}.selection-seat{flex-direction:column;gap:5px;padding:9px 4px}.selection-seat small{margin:0}.selection-body{grid-template-columns:1fr;gap:12px;text-align:center}.selection-preview{height:260px;min-height:220px}.selection-preview-status{justify-content:center}.selection-color-copy{align-items:flex-start}.selection-detail p{margin:8px auto}.selection-detail h2{font-size:30px}.selection-footer{flex-direction:column;gap:12px}.selection-confirm{min-height:50px}}
@media(prefers-reduced-motion:no-preference){.character-choice,.selection-seat{transition:background .15s,border-color .15s}}
