@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root { --ink:#18352a; --green:#244d3b; --paper:#f5f3ed; --white:#fffefa; --gold:#b38b42; --line:#dfdfd3; --muted:#687269; --blue:#365d8c; --amber:#927126; --serif:'Libre Caslon Display',Georgia,serif; --sans:'DM Sans',Arial,sans-serif; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; background:var(--paper); color:var(--ink); font:15px/1.6 var(--sans); }
a { color:inherit; text-underline-offset:4px; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:wait; opacity:.5; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline:3px solid #b38b42; outline-offset:3px; }
button { transition:background .15s ease,color .15s ease; }
h1,h2,h3,p { margin:0; }
.skip { position:absolute; top:-80px; left:16px; padding:12px; background:white; z-index:9; }
.skip:focus { top:12px; }
.masthead { display:flex; align-items:center; justify-content:space-between; padding:23px 5vw; background:var(--ink); color:#f1ecd8; gap:20px; }
.brand { display:flex; align-items:center; gap:14px; font-family:var(--serif); font-size:24px; text-decoration:none; line-height:1.2; }
.brand small { display:block; font:9px var(--sans); text-transform:uppercase; letter-spacing:1.8px; margin-top:6px; color:#c8c4ab; }
.brand-mark { width:45px; height:45px; border:1px solid #b7a36d; border-radius:50%; display:grid; place-items:center; font-size:16px; color:#cab779; }
.header-right { display:flex; align-items:center; gap:30px; font-size:12px; }
.header-right a { text-decoration:none; color:#d2d8c8; }
.edition { text-transform:uppercase; letter-spacing:2px; font-size:10px; color:#c7b882; }
.notice { max-width:1320px; margin:16px auto 0; padding:14px 20px; background:#fff0dc; border:1px solid #dfc6a3; border-radius:4px; color:#765126; }
.notice.success { background:#e9eee3; color:var(--green); border-color:#cad4bf; }
.entry { max-width:1320px; margin:auto; padding:65px 40px 35px; display:grid; grid-template-columns:1.15fr 1fr; gap:65px; align-items:start; }
.eyebrow { font-size:10px; font-weight:600; letter-spacing:1.7px; text-transform:uppercase; display:block; color:var(--muted); }
.entry-intro>.eyebrow { display:flex; align-items:center; gap:10px; }
.live-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--gold); }
.entry h1 { font:96px/.96 var(--serif); letter-spacing:-1.5px; margin:28px 0; }
.entry h1 em { color:#5b765a; font-weight:400; }
.lead { font-size:17px; line-height:1.8; max-width:500px; color:#525f53; }
.entry-meta { display:flex; flex-wrap:wrap; gap:8px 22px; font-size:10px; text-transform:uppercase; letter-spacing:.6px; padding:24px 0 30px; border-bottom:1px solid var(--line); }
.role-teasers { display:grid; gap:19px; margin-top:28px; }
.role-teasers article { display:flex; align-items:center; gap:16px; }
.role-number { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; font-size:11px; background:#e5e9e9; color:var(--blue); }
.role-number.amber { background:#eee7d7; color:var(--amber); }
.role-number.green { background:#dfe8de; color:var(--green); }
.role-teasers h2 { font-size:14px; font-weight:600; }
.role-teasers p { font-size:12px; color:var(--muted); }
.entry-panel { background:var(--white); border:1px solid var(--line); margin-top:3px; box-shadow:0 12px 50px #192d2110; }
.tabs { display:flex; border-bottom:1px solid var(--line); }
.tabs button { flex:1; border:0; border-bottom:2px solid transparent; background:transparent; padding:18px 10px; color:var(--muted); font-size:12px; }
.tabs button[aria-selected=true] { color:var(--ink); border-color:var(--green); font-weight:600; }
.entry-form { padding:29px 32px 22px; }
.entry-form h2 { font:33px/1.2 var(--serif); margin:9px 0 12px; }
.entry-form>p { font-size:13px; color:var(--muted); margin-bottom:24px; }
label { display:block; font-weight:600; font-size:11px; margin:17px 0 7px; }
input,select,textarea { background:var(--white); color:var(--ink); width:100%; border:1px solid #cdd2c7; border-radius:3px; padding:12px 14px; font-size:14px; min-height:46px; }
textarea { line-height:1.65; resize:vertical; }
input::placeholder,textarea::placeholder { color:#8a9489; }
.code-input { text-transform:uppercase; letter-spacing:4px; font-size:18px; font-weight:600; }
.button { border:1px solid var(--line); border-radius:3px; font-size:12px; font-weight:600; padding:12px 17px; display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:45px; line-height:1.4; }
.button.primary { background:var(--green); color:#fffaf0; border-color:var(--green); }
.button.primary:hover { background:var(--ink); }
.button.secondary { background:var(--white); color:var(--ink); }
.button.secondary:hover { background:#eeeee6; }
.entry-form>.button { margin-top:24px; width:100%; justify-content:space-between; }
.server-status { font-size:11px; color:var(--muted); padding:0 32px 22px; }
.resume-panel { border-bottom:1px solid var(--line); padding:20px 32px; background:#f0f3e8; }
.resume-panel>div { display:grid; gap:7px; margin-top:12px; }
.resume-panel button { font-size:10px; text-align:left; justify-content:flex-start; }
.quiet-box { padding:17px 19px; background:#f1f2e9; border-left:2px solid #b6c1ab; font-size:12px; margin:24px 0 0; }
.quiet-box p { margin-top:5px; color:var(--muted); }
.entry-footer { grid-column:1/-1; border-top:1px solid var(--line); padding-top:18px; font-size:11px; display:flex; justify-content:space-between; color:var(--muted); }
.site-footer { max-width:1320px; margin:20px auto 0; padding:26px 40px; display:flex; justify-content:space-between; font-size:10px; color:var(--muted); gap:20px; }
.game { max-width:1440px; margin:auto; padding:27px 40px; }
.room-top { display:flex; align-items:center; gap:30px; padding:4px 0 24px; }
.room-top>div:first-child { flex:1; }
.room-top h1 { font:36px/1.3 var(--serif); margin-top:3px; }
.room-code { display:grid; grid-template-columns:auto auto; align-items:center; gap:0 15px; }
.room-code>span { font-size:10px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); }
.room-code button { border:1px solid #d5d9cc; border-radius:4px; background:#e8ebde; color:var(--ink); font-size:17px; letter-spacing:3px; font-weight:600; padding:8px 12px; grid-row:span 2; }
.room-code small { font-size:10px; color:var(--muted); }
.text-button { background:none; border:0; text-decoration:underline; text-underline-offset:4px; font-size:11px; color:var(--muted); }
.game-status { display:flex; justify-content:space-between; align-items:center; gap:18px; background:#e8edde; border:1px solid #c5d0b7; padding:18px 22px; margin-bottom:20px; }
.game-status.paused { background:#f5ead4; border-color:#dac59b; }
.game-status strong { font-size:15px; }
.game-status p { font-size:12px; color:#5e6755; margin-top:4px; }
.game-status .button { flex-shrink:0; }
.role-invites { display:flex; flex-wrap:wrap; align-items:center; gap:7px 18px; margin-top:14px; font-size:11px; }
.role-invites span { color:var(--muted); }
.role-invites a { font-weight:600; }
.phase-strip { display:grid; grid-template-columns:repeat(4,1fr) auto; border:1px solid var(--line); margin-bottom:27px; background:#eeeee5; }
.phase { padding:12px 17px; border-right:1px solid var(--line); font-size:12px; color:#798071; display:flex; align-items:center; gap:10px; }
.phase span { border:1px solid #cbd1c2; border-radius:50%; width:22px; height:22px; font-size:9px; display:grid; place-items:center; }
.phase.active { background:var(--green); color:#faf7eb; }
.phase.active span { border-color:#849984; }
.phase.done { color:var(--green); }
.timer { padding:12px 18px; text-align:right; font-size:13px; font-weight:600; min-width:100px; }
.timer small { display:block; font-weight:400; font-size:9px; color:var(--muted); }
.workspace { display:grid; grid-template-columns:245px minmax(0,1fr); gap:28px; align-items:start; }
.sidebar { display:grid; gap:22px; }
.mission { padding:23px; background:#e8ecdf; border-top:3px solid var(--green); }
.mission.blue { border-color:var(--blue); background:#e6ecef; }
.mission.amber { border-color:var(--amber); background:#efebdf; }
.mission h2 { font:29px/1.12 var(--serif); margin:10px 0 17px; }
.mission p { font-size:12px; color:#566251; }
.mission ol { padding-left:15px; margin:17px 0 0; font-size:11px; color:#586455; }
.mission li { padding-left:3px; margin:10px 0; }
.players-panel { padding:0 8px; }
.players-panel ul { list-style:none; padding:0; margin:12px 0; }
.players-panel li { display:flex; gap:10px; align-items:center; padding:7px 0; font-size:12px; }
.avatar { width:26px; height:26px; border-radius:50%; background:#e2e6da; display:grid; place-items:center; font-size:10px; color:var(--green); flex-shrink:0; }
.avatar.blue { background:#e1e9f0; color:var(--blue); }
.avatar.amber { background:#eee4d1; color:var(--amber); }
.player-name { line-height:1.3; overflow-wrap:anywhere; }
.player-name small { display:block; font-size:9px; color:var(--muted); margin-top:3px; }
.players-panel>p { font-size:10px; color:var(--muted); border-top:1px solid var(--line); padding-top:13px; }
.archive-link { font-size:11px; padding:15px 8px; border-top:1px solid var(--line); }
.main-workspace { min-width:0; }
.workspace-tabs { display:flex; gap:0; border-bottom:1px solid var(--line); overflow-x:auto; }
.workspace-tabs button { flex:1; background:none; border:0; border-bottom:2px solid transparent; color:var(--muted); white-space:nowrap; font-size:12px; padding:15px 12px; }
.workspace-tabs button[aria-selected=true] { color:var(--ink); border-color:var(--ink); font-weight:600; }
.workspace-tabs span { font-size:9px; padding-left:4px; }
.panel { padding:26px 0; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.panel-heading h2 { font:31px/1.2 var(--serif); margin-top:5px; }
.panel-heading select { width:auto; font-size:11px; padding:9px; min-height:38px; max-width:210px; }
.panel-intro { font-size:13px; color:var(--muted); margin:-5px 0 22px; max-width:680px; }
.badge { border:1px solid var(--line); background:#efefe6; padding:5px 9px; font-size:9px; flex-shrink:0; border-radius:3px; }
.feed { display:grid; gap:12px; max-height:530px; overflow-y:auto; padding:0 5px 10px 0; }
.feed-card { background:var(--white); border:1px solid var(--line); padding:20px 22px; border-radius:3px; }
.feed-card.incident { background:#f3efdf; border-left:3px solid #aa8a44; }
.feed-card.system { background:#eaf0e5; border:0; padding:14px 20px; }
.item-meta { display:flex; flex-wrap:wrap; align-items:center; gap:7px 10px; font-size:9px; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); margin-bottom:9px; }
.item-meta strong { color:var(--ink); }
.item-meta time { margin-left:auto; font-size:9px; }
.privacy { color:#8b6b32; }
.feed-card h3 { font-size:16px; line-height:1.4; margin-bottom:9px; }
.item-text { font-size:13px; color:#3f5043; white-space:pre-wrap; overflow-wrap:anywhere; }
.item-foot { display:flex; justify-content:space-between; align-items:center; margin-top:12px; gap:15px; }
.source-tags { display:flex; flex-wrap:wrap; gap:6px; }
.source-tag { font-size:9px; padding:3px 6px; border:1px solid #d7ddcf; border-radius:2px; color:var(--muted); }
.reply-button { border:0; background:none; color:var(--green); font-size:10px; font-weight:600; flex-shrink:0; }
.reply-context { font-size:10px; color:var(--muted); border-left:2px solid #c3ccb9; padding-left:10px; margin-bottom:12px; }
.empty { padding:40px 25px; text-align:center; color:var(--muted); border:1px dashed #cbd2c2; border-radius:3px; font-size:13px; }
.empty strong { display:block; color:var(--ink); margin-bottom:7px; font:24px var(--serif); }
.message-form { margin-top:23px; padding:22px; background:#eeeee5; border-top:2px solid #b5c1ad; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-row label { margin-top:0; }
.form-row select { margin-top:7px; }
.message-form .button { margin-top:15px; }
.form-hint { font-size:10px; color:var(--muted); margin-top:8px; }
.reply-banner { background:#e1e7d9; border-radius:2px; font-size:11px; padding:8px 12px; display:flex; justify-content:space-between; gap:15px; }
.reply-banner button { background:none; border:0; color:var(--muted); font-size:10px; }
.sources-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.source-card { min-width:0; overflow-wrap:anywhere; border:1px solid var(--line); border-radius:3px; padding:22px; background:var(--white); }
.source-card:has(input:checked) { border-color:#789075; background:#f5f7ed; }
.source-head { display:flex; align-items:center; gap:10px; }
.source-card .source-head input { flex:0 0 16px; width:16px; height:16px; min-height:0; accent-color:var(--green); margin:0; }
.source-card .source-head label { font-weight:400; font-size:9px; letter-spacing:1px; text-transform:uppercase; margin:0; color:var(--muted); }
.source-card h3 { font:25px/1.15 var(--serif); margin:15px 0; }
.source-card p { font-size:12px; color:#576253; }
.source-card .location { display:block; color:var(--muted); font-size:10px; margin:13px 0; }
.source-card a { font-size:10px; color:var(--green); font-weight:600; }
.source-selected-filter { display:flex; align-items:center; gap:10px; font-size:12px; }
.source-selected-filter input { flex:0 0 16px; width:16px; height:16px; min-height:0; margin:0; accent-color:var(--green); }
.archive-links { display:flex; flex-wrap:wrap; gap:9px 20px; margin-top:23px; font-size:10px; }
.desk-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:12px; }
#desk-panel>.quiet-box { margin:0 0 18px; }
.ai-box { margin-top:35px; border:1px solid var(--line); padding:26px; background:var(--white); }
.ai-box h3 { font:29px var(--serif); margin:6px 0 10px; }
.ai-box p { font-size:12px; color:var(--muted); }
.ai-box .button { margin:15px 0; }
.ai-history { display:grid; gap:14px; margin-top:15px; }
.ai-history .feed-card { background:#f1f3e9; }
.ai-history .item-text { font-size:12px; }
.host-controls { background:#e6ebde; border:1px solid #cad4bc; padding:18px; margin-bottom:20px; }
.host-top { display:flex; align-items:center; gap:16px; justify-content:space-between; flex-wrap:wrap; }
.host-top strong { font-size:12px; }
.host-buttons { display:flex; flex-wrap:wrap; gap:7px; }
.host-buttons .button { padding:7px 11px; min-height:34px; font-size:10px; }
.inject-controls { display:flex; flex-wrap:wrap; gap:7px; border-top:1px solid #cad4bc; padding-top:13px; margin-top:14px; }
.inject-controls button { font-size:10px; padding:8px 12px; background:var(--white); color:var(--ink); border:1px solid #cbd4c0; border-radius:3px; }
.inject-controls button:disabled { cursor:default; }
.host-hint { font-size:10px; color:var(--muted); margin-top:11px; }
.rubric { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:30px; }
.rubric article { background:#e9edde; padding:20px; }
.rubric h3 { font:24px var(--serif); margin:7px 0 10px; }
.rubric ul { padding-left:16px; color:#53624e; font-size:12px; }
.rubric p { font-size:12px; color:var(--muted); }
#deliverables { display:grid; gap:14px; margin:20px 0; }
#reflection-form .button { margin-top:15px; }
@media (min-width:1500px) { .entry { padding-top:90px; } }
@media (max-width:1050px) { .entry { gap:35px; padding:45px 30px; } .entry h1 { font-size:78px; } .workspace { grid-template-columns:210px minmax(0,1fr); gap:20px; } .game { padding:24px; } .mission { padding:18px; } .workspace-tabs button { font-size:11px; padding:15px 9px; } .phase { padding:10px; } }
@media (max-width:780px) { .masthead { padding:18px 22px; } .brand { font-size:19px; } .brand small { font-size:8px; letter-spacing:.8px; } .edition { display:none; } .entry { grid-template-columns:1fr; padding:36px 24px; gap:32px; } .entry h1 { font-size:78px; } .entry-meta { padding-bottom:20px; } .role-teasers { grid-template-columns:repeat(3,1fr); gap:12px; } .role-teasers article { align-items:start; gap:8px; flex-direction:column; } .role-teasers h2 { font-size:12px; } .role-teasers p { font-size:10px; } .entry-footer { flex-direction:column; gap:5px; } .game { padding:22px 18px; } .room-top { gap:15px; flex-wrap:wrap; } .room-top h1 { font-size:29px; } .room-top .text-button { width:100%; text-align:left; } .workspace { grid-template-columns:1fr; } .sidebar { grid-template-columns:1fr 1fr; gap:14px; } .mission { padding:18px; } .mission h2 { font-size:25px; } .mission ol { display:none; } .players-panel { padding:12px; background:#ebede3; } .archive-link { grid-column:1/-1; padding:10px 0; } .phase-strip { grid-template-columns:repeat(4,1fr); } .phase { gap:6px; font-size:10px; padding:9px 7px; } .phase span { width:18px; height:18px; font-size:8px; } .timer { grid-column:1/-1; padding:7px 12px; text-align:left; display:flex; align-items:center; gap:10px; } .panel-heading { gap:12px; flex-wrap:wrap; } .panel-heading h2 { font-size:29px; } .panel-heading select { max-width:100%; } .sources-grid { grid-template-columns:1fr; } .site-footer { padding:22px; flex-direction:column; gap:5px; } .notice { margin:12px 18px 0; } }
@media (max-width:430px) { .header-right a { font-size:10px; } .brand-mark { width:34px; height:34px; font-size:12px; } .brand { font-size:17px; gap:9px; } .brand small { max-width:180px; font-size:7px; } .entry h1 { font-size:67px; } .entry { padding:28px 18px; } .entry-form { padding:24px; } .entry .lead { font-size:15px; } .sidebar { grid-template-columns:1fr; } .mission p { font-size:12px; } .mission h2 { font-size:26px; } .players-panel ul { display:flex; flex-wrap:wrap; gap:5px 14px; } .players-panel>p { font-size:10px; } .form-row { grid-template-columns:1fr; gap:4px; } .feed-card,.message-form { padding:18px; } .phase { flex-direction:column; gap:5px; } .workspace-tabs button { flex:none; font-size:11px; padding:13px; } .rubric { grid-template-columns:1fr; } .room-code { gap:0 9px; } .room-code button { font-size:14px; } .ai-box { padding:20px; } }
@media (prefers-reduced-motion:reduce) { * { transition:none !important; scroll-behavior:auto !important; } }
@media (max-width:600px) { .game-status { flex-direction:column; align-items:stretch; padding:17px; } }
