#intro .start-choices { display:flex; gap:14px; position:relative; z-index:1; }
#intro #multiplayer-button { display:block; width:168px; margin:0; padding:14px 20px; background:#c4d9f008; border:1px solid #c9dcec66; border-radius:3px; color:#f1f0e9; font-size:13px; letter-spacing:.12em; transition:background .2s,border-color .2s; }
#intro #multiplayer-button:hover,#intro #multiplayer-button:focus-visible { background:#c4d9f01c; border-color:#e0edff; outline:2px solid #e0edff44; outline-offset:5px; }
#intro #multiplayer-button:disabled { opacity:.5; cursor:wait; pointer-events:none; }
body.multiplayer-entry #modal { z-index:25; background:#02050ba8; }
body.multiplayer-entry #toast { visibility:visible; z-index:30; }
#panel.crew-panel { width:min(800px,100%); border:1px solid #b9d6c72e; border-radius:16px; background:linear-gradient(145deg,#213631f7,#101f23fc); padding:32px; }
.crew-panel .pack-nav { margin-bottom:28px; }
.online-crew { color:#f3eedf; }
.crew-heading { display:flex; gap:20px; align-items:center; padding-right:20px; }
.crew-heading svg { flex:none; width:46px; height:40px; fill:none; stroke:#e4c08f; stroke-width:2; stroke-linecap:round; }
#panel .crew-heading h2 { font-family:inherit; font-size:clamp(25px,3vw,34px); letter-spacing:-.035em; line-height:1.17; margin:9px 0 0; }
.crew-heading .eyebrow { color:#b6c9bf; font-size:10px; letter-spacing:.14em; }
.crew-intro { color:#bacac4; font-size:14px; line-height:1.6; max-width:570px; margin:23px 0 0; }
.crew-status { min-height:22px; font-size:12px; color:#a5d9bf; margin:15px 0; }
.crew-status:empty { min-height:0; margin:18px 0; }
.crew-status.crew-error { color:#ffc4a6; }
.crew-name { display:grid; gap:9px; font-size:12px; color:#d3ded7; max-width:340px; margin:0 0 22px; }
.online-crew input { width:100%; min-width:0; box-sizing:border-box; padding:13px 14px; background:#071a1d85; border:1px solid #a9cbb733; border-radius:8px; font:inherit; color:#f4eddc; }
.online-crew input:focus-visible { outline:2px solid #e4c08f; outline-offset:3px; }
.crew-choices { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.crew-choices article { border:1px solid #b7d2bc25; border-radius:12px; padding:23px; display:flex; flex-direction:column; align-items:start; background:#92bea307; }
.crew-choices .eyebrow { font-size:9px; color:#a9c5b9; letter-spacing:.12em; }
#panel .crew-choices h3 { font-size:20px; margin:11px 0; }
.crew-choices p { margin:0 0 22px; color:#b7c9c1; font-size:13px; line-height:1.65; }
.crew-choices input { font-size:12px; margin:3px 0 22px; }
.online-crew button { min-height:44px; font:inherit; font-size:13px; border-radius:7px; padding:12px 16px; border:1px solid #b7d2bc38; color:#eeeada; background:#92bea30b; }
.online-crew button.primary { background:#e4c08f; color:#1d2927; border-color:#f0d4ad; }
.online-crew button:focus-visible { outline:2px solid #e4c08f; outline-offset:4px; }
.online-crew button:hover:not(:disabled) { filter:brightness(1.13); }
.online-crew button:disabled { opacity:.42; cursor:default; }
.crew-choices button { margin-top:auto; width:100%; }
.online-crew .crew-resume { width:100%; display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:20px; text-align:left; border-color:transparent; }
.crew-resume small { color:#a9c5b9; font-size:10px; letter-spacing:.07em; }
.crew-note { font-size:11px; color:#8ba69b; line-height:1.7; margin:24px 0 0; }
.crew-invite { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px; background:#060f1466; border-radius:10px; margin:22px 0; flex-wrap:wrap; }
.crew-invite .eyebrow { display:block; font-size:9px; color:#9eb4ac; margin-bottom:10px; }
.crew-invite code { font:500 16px ui-monospace,monospace; color:#ecd6b3; letter-spacing:.07em; }
.crew-roster { border:1px solid #b7d2bc20; border-radius:10px; overflow:hidden; }
.crew-person { display:flex; align-items:center; gap:14px; padding:17px 18px; border-bottom:1px solid #b7d2bc16; }
.crew-avatar { width:34px; height:38px; display:grid; place-items:center; flex:none; border:1px solid #b7d2bc35; border-radius:16px 16px 12px 12px; font-size:11px; color:#e4c08f; background:#a9c5b909; }
.crew-person strong { font-size:14px; font-weight:500; overflow-wrap:anywhere; }
.crew-person small { display:block; color:#91aba0; font-size:11px; margin-top:4px; }
.crew-person strong small { display:inline; }
.crew-ready { margin-left:auto; color:#aab9b1; font-size:11px; white-space:nowrap; }
.crew-ready.is-ready { color:#a5d9bf; }
.crew-empty { padding:16px 18px; color:#78958a; font-size:12px; }
.crew-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:24px; }
.crew-actions .crew-leave { margin-left:auto; border-color:transparent; color:#b3c3b9; }
.crew-wait { font-size:12px; color:#a8bfb4; }
#online-status { position:fixed; z-index:35; top:22px; left:50%; transform:translateX(-50%); width:max-content; max-width:85vw; padding:12px 18px; border:1px solid #e4c08f55; border-radius:9px; background:#11262df5; color:#f1dcbd; font-size:12px; text-align:center; }
#online-status[hidden] { display:none; }
@media(max-width:600px) { #panel.crew-panel { padding:26px 20px; } .crew-choices { grid-template-columns:1fr; } .crew-heading { gap:12px; } .crew-heading svg { width:32px; } .crew-choices article { padding:19px; } .online-crew .crew-resume { flex-direction:column; align-items:start; gap:8px; } .crew-invite code { font-size:13px; } .crew-actions .crew-leave { margin-left:0; } .crew-person { gap:9px; padding:14px 12px; } }
@media(max-width:390px) { #intro .start-choices { flex-direction:column; } }

.crew-choices.has-invite { grid-template-columns:1fr; }
.crew-choices.has-invite article:first-child { border-color:#e4c08f66; background:#e4c08f08; }
.crew-avatar img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
#intro #multiplayer-modes button { display:block; width:168px; margin:0; padding:14px 20px; background:#c4d9f008; border:1px solid #c9dcec66; border-radius:3px; color:#f1f0e9; font-size:13px; letter-spacing:.12em; }
#intro #multiplayer-modes button:hover,#intro #multiplayer-modes button:focus-visible { background:#c4d9f01c; border-color:#e0edff; outline:2px solid #e0edff44; outline-offset:5px; }
#intro .start-choices.hidden { display:none; }
@media(max-width:600px) { #intro #multiplayer-modes { flex-wrap:wrap;justify-content:center; } }
/* Shared displays render the world, without duplicating phone controls. */
body.shared-viewer #touch-controls,body.shared-viewer #voice-hud,body.shared-viewer .quiet-header,body.shared-viewer .pack-button,body.shared-viewer #controller-hint,body.shared-viewer #combat-hud,body.shared-viewer #interaction,body.shared-viewer #toast,body.shared-viewer #fullscreen-button { display:none!important; }
body.shared-viewer #world { pointer-events:none; }

body.hosted-game #fullscreen-toggle,body.hosted-game #fullscreen-notice { display:none!important; }

body.shared-overview #touch-controls,body.shared-overview #voice-hud,body.shared-overview .quiet-header,body.shared-overview .pack-button,body.shared-overview #interaction,body.shared-overview #toast,body.shared-overview #health-warning { display:none!important; }
body.shared-overview #world { pointer-events:none; }
