:root{color-scheme:dark;--bg:#000;--panel:#050709;--line:#263036;--text:#d5dce0;--muted:#87939c;--green:#63e199;--cyan:#8bcaec;--red:#e35857}*{box-sizing:border-box}[hidden]{display:none!important}html{background:#000}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 Consolas,'Liberation Mono','Courier New',monospace}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:var(--cyan)}input,button{border-radius:2px}input:focus-visible,button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--green);outline-offset:3px}.skip{position:fixed;left:12px;top:-60px;z-index:9;background:#18251d;padding:9px}.skip:focus{top:12px}.masthead{max-width:1260px;margin:auto;display:flex;justify-content:space-between;gap:25px;align-items:center;padding:24px 30px 17px;border-bottom:1px solid #1a2226}.wordmark{font:700 24px/1 Georgia,serif;letter-spacing:5px;color:#f4f4ee}.wordmark span{display:block;font:8px/1.5 Consolas,monospace;letter-spacing:2.2px;margin-top:9px;color:#7b878c}.masthead-right{display:flex;flex-direction:column;align-items:flex-end;gap:5px;font-size:10px;color:#a5afb4}.test-label{font-size:8px;letter-spacing:2px;color:#5b8a70}main{max-width:1260px;margin:0 auto;padding:0 30px}.ship-overview{margin:5px auto 0;max-width:1180px}.ship-overview img{display:block;width:100%;height:auto;max-height:445px;object-fit:contain}.ship-caption{display:flex;justify-content:space-between;gap:15px;padding:8px 0 14px;color:#9ea8ae;font-size:10px;border-bottom:1px solid #20282d}.ship-caption span:last-child{color:#65806e;font-size:9px}.room-overview{font-size:10px;line-height:1.8;color:#6fa8b8;margin:8px 0 14px;overflow-wrap:anywhere}.boarding{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;max-width:960px;margin:40px auto 45px;padding:25px 0}.eyebrow{font-size:9px;letter-spacing:2px;color:#79a88a}.boarding h1{font:normal 32px/1.2 Georgia,serif;letter-spacing:-.7px;margin:12px 0 20px;color:#f2f2eb}.boarding-copy p{font-size:12px;color:#9ca8b0;max-width:460px}.boarding-copy .command-example{padding:10px 0;color:#bda0e9;font-size:11px;overflow-wrap:anywhere}.boarding-copy .muted{font-size:10px;color:#71808b}.boarding-form{max-width:390px;width:100%;border-left:1px solid #273036;padding-left:28px}.boarding-form label{display:block;margin:0 0 6px;font-size:10px;color:#a5b2b9}.boarding-form input{display:block;width:100%;background:#080d11;color:#e3ecf0;border:1px solid #33404a;padding:10px 12px;margin-bottom:16px;min-height:42px}.boarding-form button{display:block;width:100%;background:#14281d;color:#b9eacd;border:1px solid #386348;padding:10px 14px;min-height:43px}.boarding-form button:hover{background:#1e3c2b}.notice{padding:10px 13px;border:1px solid #66532f;background:#1a150c;color:#dfc899;font-size:12px;margin:14px 0;white-space:pre-wrap}.form-status{color:#e5ae81;font-size:11px;white-space:pre-wrap}.form-status:empty{display:none}.chat{margin:17px 0 26px;border:1px solid #354048;background:#030506}.room-header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #303a41;background:#060a0d}.room-header .eyebrow{font-size:8px;letter-spacing:1.5px;color:#608472}.room-header h1{font:normal 21px/1.2 Consolas,'Liberation Mono',monospace;margin:1px 0 0;color:#b4e6c7}.connection{display:flex;align-items:center;gap:7px;font-size:9px;color:#6e8793}#connection-dot{width:5px;height:5px;border-radius:100%;background:#66737a}body[data-connected="true"] #connection-dot{background:#67cc8a}.chat-grid{display:grid;grid-template-columns:190px minmax(0,1fr)}.passengers{border-right:1px solid #2a353d;background:#04090d;padding:17px 14px;min-width:0}.passengers h2{font-size:11px;font-weight:normal;color:#8ca7b8;margin:0 0 18px}.passengers h2 span{color:#a6d6bd;margin-left:7px}.passengers ul{list-style:none;padding:0;margin:0}.passengers li{margin:0 0 13px;font-size:12px;overflow-wrap:anywhere;color:#b2c3cc}.passengers li.self{color:#8de6ac}.passengers li small{display:block;color:#647e8d;font-size:9px;margin-top:2px}.passengers .empty{color:#60727d;font-size:10px}#presence-note{font-size:9px;line-height:1.7;color:#4f6878;border-top:1px solid #1b2932;padding-top:14px;margin-top:24px}.conversation{min-width:0}.transcript{height:420px;overflow:auto;overscroll-behavior:contain;padding:15px 17px;scrollbar-width:thin;scrollbar-color:#37454f #080c10;font-size:13px;line-height:1.65;background:#000}.chat-line{margin:0 0 6px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-line .time{font-size:10px;color:#4e6878;margin-right:8px;font-variant-numeric:tabular-nums}.chat-line .author{font-weight:normal;color:#7ce3ae}.chat-line .body{color:#d2dce2}.chat-line.system .body{color:#699eb6}.chat-line.system .author{color:#55879e}.chat-line.private .body{color:#d4a8ed}.chat-line.private .author{color:#efbaea}.chat-line.error .body,.chat-line.error .author{color:#eaa78a}.chat-line .nick-0{color:#7ce3ae}.chat-line .nick-1{color:#d3bd79}.chat-line .nick-2{color:#8bbfe8}.chat-line .nick-3{color:#ca9ce7}.chat-line .nick-4{color:#e2a99c}.chat-line .nick-5{color:#7dcdd1}.command-form{display:grid;grid-template-columns:auto minmax(0,1fr) 46px;align-items:center;border-top:1px solid #3a454d;background:#0a1116;min-height:49px}.command-form label{font-size:11px;color:#88bd9a;padding:0 13px;max-width:200px;overflow-wrap:anywhere}.command-form input{width:100%;border:0;border-left:1px solid #2a3943;background:#050a0f;color:#e1ebef;padding:13px 11px;font-size:13px;min-width:0;min-height:48px}.command-form input::placeholder{color:#5c7788}.command-form button{border:0;border-left:1px solid #2c3d46;border-radius:0;background:#13271e;color:#8edaab;height:100%;font-size:23px}.command-form button:hover{background:#204432}.command-hint{font-size:9px;line-height:1.8;margin:0;padding:9px 13px;color:#5c7e92;background:#050b10;border-top:1px solid #1b2b35}#command-status{margin:0;padding:7px 13px;background:#211408}footer{border-top:1px solid #20282d;padding:18px 0 28px;color:#4d5b65;font-size:9px}footer p{font-size:9px;line-height:1.8;max-width:1050px;margin:9px 0 0}body[data-authenticated="true"] .ship-overview img{max-height:280px}body[data-authenticated="true"] .ship-caption{padding-bottom:8px;font-size:9px}body[data-authenticated="true"] .masthead{padding-top:16px;padding-bottom:13px}body[data-authenticated="true"] .wordmark{font-size:21px}body[data-authenticated="true"] .room-overview{margin-bottom:4px}
@media(min-width:1600px){.transcript{height:480px}}
@media(max-width:760px){main{padding:0 14px}.masthead{padding:18px 17px 13px}.wordmark{font-size:22px}.masthead-right{font-size:9px;max-width:52%;overflow-wrap:anywhere}.test-label{font-size:7px;letter-spacing:1px}.ship-caption{display:block;font-size:9px;padding-top:0}.ship-caption span:last-child{display:block;font-size:8px;margin-top:4px}.room-overview{font-size:9px}.boarding{gap:26px;margin:15px auto 30px;padding:15px 5px;grid-template-columns:1fr}.boarding-copy p{font-size:12px}.boarding h1{font-size:29px}.boarding-form{border-left:0;border-top:1px solid #273036;padding:22px 0 0;max-width:none}.boarding-form label{font-size:11px}.boarding-form input{font-size:16px}.room-header{padding:9px 11px;gap:10px}.room-header h1{font-size:18px}.connection{font-size:8px;max-width:45%;text-align:right;line-height:1.5}.chat-grid{grid-template-columns:108px minmax(0,1fr)}.passengers{padding:13px 9px}.passengers h2{font-size:10px}.passengers li{font-size:11px}.passengers li small{font-size:8px}.passengers #presence-note{font-size:8px;margin-top:15px}.transcript{height:400px;padding:10px 9px;font-size:12px;line-height:1.7}.chat-line .time{font-size:8px;margin-right:4px}.command-form{grid-template-columns:auto minmax(0,1fr) 40px}.command-form label{font-size:10px;max-width:82px;padding:0 8px}.command-form input{font-size:16px;padding:12px 8px}.command-hint{font-size:8px;padding:8px 10px}.chat{margin-top:12px}body[data-authenticated="true"] .ship-overview img{max-height:190px}footer{font-size:8px}}
@media(max-width:390px){.chat-grid{grid-template-columns:87px minmax(0,1fr)}.passengers{padding:10px 7px}.passengers h2{font-size:9px}.passengers li{font-size:10px}.transcript{font-size:11px;padding:9px 7px}.chat-line .time{display:none}.command-form label{max-width:66px}.wordmark{font-size:19px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Once aboard, the conversation uses the available window rather than a landing-page column. */
body[data-authenticated="true"] .masthead,
body[data-authenticated="true"] main{width:100%;max-width:none}
body[data-authenticated="true"] .masthead{padding-left:20px;padding-right:20px}
body[data-authenticated="true"] main{padding:0 20px}
body[data-authenticated="true"] .chat{display:flex;flex-direction:column;height:calc(100vh - 96px);height:calc(100dvh - 96px);min-height:320px;margin:12px 0}
body[data-authenticated="true"] .room-header,
body[data-authenticated="true"] .command-form,
body[data-authenticated="true"] .command-hint,
body[data-authenticated="true"] #command-status{flex-shrink:0}
body[data-authenticated="true"] .chat-grid{flex:1;min-height:0}
body[data-authenticated="true"] .passengers{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
body[data-authenticated="true"] .conversation{position:relative;min-height:0}
body[data-authenticated="true"] .transcript{position:absolute;inset:0;height:100%}
@media(max-width:760px){
 body[data-authenticated="true"] .masthead{padding-left:12px;padding-right:12px}
 body[data-authenticated="true"] main{padding:0 8px}
 body[data-authenticated="true"] .chat{margin:8px 0;height:calc(100vh - 88px);height:calc(100dvh - 88px)}
}
/* Fixed chat viewport: only transcript and occupants scroll, never the page. */
body[data-authenticated="true"]{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body[data-authenticated="true"] .masthead{flex:0 0 auto;margin:0}
body[data-authenticated="true"] main{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body[data-authenticated="true"] .chat{flex:1;min-height:0;height:auto;margin:6px 0 8px;overflow:hidden}
body[data-authenticated="true"] footer{display:none}
body[data-authenticated="true"] .room-overview{flex:none;margin:4px 0;font-size:9px;line-height:1.3}
body[data-authenticated="true"] .ship-overview{flex:none;width:100%;margin:0 auto}
body[data-authenticated="true"] .ship-overview img{max-height:24vh;max-height:24dvh}
body[data-authenticated="true"] .ship-caption{display:none}
@media(max-height:500px){body[data-authenticated="true"] .room-overview,body[data-authenticated="true"] .command-hint{display:none}body[data-authenticated="true"] .masthead{padding-top:7px;padding-bottom:7px}body[data-authenticated="true"] .wordmark span{display:none}}
