/* Field-notebook finish: clear hierarchy, compact tools, generous map space. */
:root{--cream:#f5f3e9;--ink:#243e35;--forest:#234f3e;--muted:#6b7c70;--line:#dce2d3;--shadow:0 8px 28px #244b3510}
body{background:radial-gradient(ellipse at 80% 15%,#e4ead9 0,transparent 55%),var(--cream)}
button{box-shadow:0 1px 2px #26432f08;font-weight:500;transition:background .16s,border-color .16s,box-shadow .16s}
button:hover:enabled{transform:none;border-color:#a7bba2;box-shadow:0 3px 9px #26432f0d}
button:active:enabled{box-shadow:inset 0 1px 3px #26432f18}
button:disabled{opacity:.5}.primary,.confirm{box-shadow:0 3px 8px #244b3518}
header{height:64px;padding:0 24px;background:#faf9f1ed;border-bottom-color:#dce2d3}
.brand{font-size:13px;letter-spacing:2.8px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d9aa76;border-radius:50%;font-size:25px;color:#c77740}.brand small{letter-spacing:2px;color:#83917f}
nav button{background:transparent;border-color:transparent;border-radius:10px}nav button:hover:enabled{background:#e8eedf}nav .flag[aria-pressed=true]{border:1px solid #9eb596;box-shadow:0 0 0 3px #e7eddf}
#connection{font-size:10px;letter-spacing:.2px;color:#73816e;margin-right:6px}
.landing{max-width:1140px;margin:clamp(35px,7vh,85px) auto;gap:80px;position:relative}
.landing h1{font-size:clamp(44px,5.3vw,76px);letter-spacing:-2px;max-width:600px}.landing .eyebrow{display:inline-flex;align-items:center;gap:12px;color:#977246;font-size:10px}.landing .eyebrow:before{content:'';width:26px;height:1px;background:#bca17a}
.landing p{font-size:15px;line-height:1.8;max-width:410px}.cover{border:8px solid #fffdf6;border-radius:140px 140px 22px 22px;box-shadow:0 22px 50px #334d3520,0 2px 4px #334d3510;max-height:600px}
.entry-form{padding:22px;background:#fffdf6c9;border:1px solid #e3e5d7;border-radius:20px;max-width:430px;box-shadow:0 8px 25px #244b3508;gap:14px}.entry-form label{font-size:11px;font-weight:700;letter-spacing:.3px}.entry-form input{background:#fafbf6!important;min-height:44px}.entry-form button{font-size:12px;min-height:44px}.entry-form .note{font-size:10px!important;line-height:1.6;margin:0;padding-top:3px;color:#7f8776}.entry-form .row:has(#room){border-top:1px solid #e4e7db;padding-top:14px}
.lobby{max-width:1080px;gap:70px;margin:40px auto}.lobby h2{font-size:38px;letter-spacing:-1px}.room-code{background:#e7eddf;border:1px dashed #acbea0;border-radius:12px;padding:10px 16px;font-size:23px;color:#31563c}.player-pill{background:#fffdf7;border:1px solid #e1e5d6;box-shadow:0 3px 7px #244b3506}.settings>strong{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:#7d876e}.settings{gap:9px}.settings .choice-buttons{margin:0 0 12px}.settings .choice-buttons button{font-size:12px;border-radius:11px}.settings [aria-pressed=true]{border-width:1px;box-shadow:inset 0 0 0 1px #568151}
.play{height:calc(100dvh - 64px);padding:12px 16px 6px;gap:16px;grid-template-columns:minmax(0,1fr) 278px}
.board-head{gap:9px;margin-bottom:9px;align-items:center}.board-head h3{font-size:20px;letter-spacing:-.4px}.board-head>.row{gap:4px}.board-head>.row button{font-size:11px;padding:7px 10px;min-height:35px;border-radius:9px}.board-head>.row .confirm{padding-inline:14px}.board-head .tool-selected{background:#e2ecda!important;border-color:#90ab83;box-shadow:inset 0 0 0 1px #90ab83}
.zoom-controls{width:100%;align-items:center;gap:4px;padding-top:3px;border-top:1px solid #e0e5d7}.zoom-controls>button{background:transparent;border-color:transparent;font-size:10px;min-height:28px;padding:4px 7px;color:#62765f}.zoom-controls>button:hover:enabled{background:#e8eedf;border-color:#cbd8bf}.zoom-controls #zoomIn,.zoom-controls #zoomOut{border-color:#dce2d3;background:#fffdf5;width:28px;padding:0;font-size:16px}
.zoom-controls .trail-viewers{padding-left:9px;border-left:1px solid #d8dfcf}.zoom-controls .trail-viewers button{background:#fffdf5;border-radius:20px;font-size:10px}.zoom-controls .trail-viewers button[aria-pressed=true]{border-width:1px;box-shadow:inset 0 0 0 1px #85a377}.zoom-controls .trail-viewers>small{font-size:9px}
.forecast-strip{background:#eeefdf;border:1px solid #e1e4d0;padding:7px 10px;border-radius:11px;gap:14px;margin-bottom:7px}.hike-label{font-size:11px;color:#53694e}.hike-label small{font-size:9px;margin-top:3px}.forecast-numbers span{background:#f7f8ef;color:#667760;font-size:11px;height:23px;min-width:21px;border-radius:7px}.forecast-numbers .current{background:#315d43;outline:2px solid #d7b168;box-shadow:0 2px 4px #26432f18}.forecast-numbers .past{opacity:.42}
.movement-line .movement-hud{background:#fffdf4;border-color:#e0e3d3;border-radius:12px;padding:8px 11px;gap:6px}.movement-line{gap:7px}.route-action-slot:has(.floating-confirm[hidden]){display:none}.route-action-slot{flex-basis:86px}.route-action-slot .floating-confirm button{width:35px;min-width:35px;height:35px;min-height:35px;font-size:16px}.combined-movement-bar{height:15px;box-shadow:inset 0 1px 3px #26432f12}.movement-budget-labels strong{font-variant-numeric:tabular-nums}.quick-equipment button{min-height:27px;font-size:10px;border-radius:8px}.quick-equipment>small{font-size:9px}.quick-backpack-label{font-size:10px}.quick-backpack-label small{font-size:8px}.movement-budget-labels>span{font-size:10px}
.viewport{border-radius:14px;border-color:#bfcfb5;box-shadow:0 4px 18px #26432f0c;background:#dfe7d3}.canvas-hint{font-size:10px;padding:7px 10px;border-radius:9px;bottom:9px;left:9px;max-width:min(530px,calc(100% - 18px));box-shadow:0 2px 8px #26432f0a;background:#fffef5f0}
.score-dock{padding:7px 0 3px;gap:3px;background:transparent}.score-dock>div{background:#fffcf4;border:1px solid #e1e4d6;border-radius:8px;padding:5px 7px;gap:5px;font-size:10px}.score-dock strong{font-size:15px;font-variant-numeric:tabular-nums}.score-dock .dock-total{border-color:var(--forest)}.score-dock .dock-total strong{font-size:20px}.map-navigation-note{font-size:9px;color:#85917c;padding:3px 0}
.side{padding:0 2px 8px;gap:0;scrollbar-color:#bccbb0 transparent}.side-section{padding:13px 1px}.side-section h3{font-size:17px;color:#435c47}.goal-card{border-radius:14px;padding:12px;margin-bottom:10px;background:linear-gradient(135deg,#f3e9cd,#fffaf0);border-color:#e2d5b2}.goal-card-heading strong{font-family:Fraunces,Georgia,serif;font-size:17px;font-weight:500}.goal-card-heading>b{font-size:21px}.goal-card p{font-size:10px;line-height:1.6}.goal-card button{min-height:27px;font-size:10px;margin-top:7px}.goal-seal{width:30px;height:30px}.goal-seal .route-icon{width:20px;height:20px}
.route-section{border-radius:15px;padding:13px!important;margin-bottom:8px;border-color:#dce2d1;background:#fffdf5;box-shadow:0 3px 12px #244b3506}.route-heading{font-size:21px!important;gap:9px}.route-emblem{width:34px;height:34px;border-radius:11px}.route-emblem .route-icon{width:23px;height:23px}.route-section .route-instruction{font-size:11px;padding:9px 10px;line-height:1.6;border-left-width:2px}.route-section .budget{margin:10px 0}.route-section .route-cost{padding:8px;border-radius:10px}.route-cost strong{font-size:22px}.route-cost .metric-icon{width:28px;height:28px;border-radius:8px}.route-cost .route-icon{width:20px;height:20px}.route-section .route-metrics>div{background:transparent;border:0;border-radius:0;padding:4px 2px}.route-section .route-metrics>div+div{border-left:1px solid #e3e7dc;padding-left:6px}.route-metrics b{font-size:15px}.route-section .turn-actions{padding-top:7px}.route-section .turn-actions button{font-size:12px;min-height:37px;border-radius:10px}.route-section .route-rewards{border-radius:11px;padding:10px}.route-rewards .reward-heading{font-size:11px}.resource-grid .resource{min-height:70px;padding:10px 8px;grid-template-columns:29px 1fr;gap:2px 7px;border-radius:12px}.resource-emblem{width:29px;height:35px;border-radius:10px}.resource-emblem .route-icon{width:21px;height:21px}.resource-grid .resource strong{font-size:23px}.resource-grid .resource small{font-size:9px}.track-pips{gap:3px}.track-pips span{height:21px;border-radius:5px;font-size:9px}.track-pips .filled{background:#578362}.stats-row{font-size:11px}.equipment button{border-radius:9px;font-size:11px}.journal-card button{border-radius:11px;background:#fffdf5;padding:10px;font-size:12px}.journal-card strong{font-size:22px}.journal-card small{font-size:10px}
.summary{margin:28px auto}.summary h2{font-size:clamp(30px,3vw,44px);letter-spacing:-1px}.summary>.eyebrow{font-size:10px;margin-bottom:13px}.summary>.row button{font-size:12px}.ranking{border:1px solid #e0e4d3;background:#fffdf4;border-radius:17px;padding:17px;box-shadow:0 4px 16px #244b3506}.trail-winner{background:linear-gradient(135deg,#f2e5b7,#fff7de);border-color:#d7bd7e}.ranking-count{padding-top:12px}.ranking-name{font-size:20px}.score-breakdown{line-height:1.5;color:#6d7a62;font-size:11px}.ranking button{margin-top:12px;font-size:11px}.trail-stage{border-radius:17px}.trail-legend{border:1px solid #e1e4d5;border-radius:20px}.ceremony{color:#9d743d}.trail-caption{font-size:14px;padding:9px 16px}
dialog{background:#fffdf4;border-radius:20px;border-color:#d7dfcc}input[type=range]{accent-color:#527a4c}#chatPanel{background:#faf9f0;border-radius:17px}.watch-banner{border:1px solid #d9c5d9;background:#f3eaf1}.wood-bonus-card{border-radius:13px}
@media(min-width:1450px){.play{grid-template-columns:minmax(0,1fr) 300px;padding-inline:24px;gap:20px}.board-head>.row button{font-size:12px}.side-section h3{font-size:18px}}
@media(max-width:1000px){.play{grid-template-columns:minmax(0,1fr) 250px;padding:10px;gap:10px}.landing{gap:35px}.landing h1{font-size:54px}.board-head h3{display:block;font-size:17px}.board-head>.row{margin-left:auto}.board-head>.row button{font-size:10px;padding:6px 8px}.score-dock>div{padding:5px;font-size:9px}.movement-budget-labels{gap:5px}.quick-equipment{gap:4px}.quick-equipment>small{display:none}}
@media(max-width:700px){header{height:58px;padding:0 12px}.brand{font-size:11px;letter-spacing:1.5px}.brand-mark{display:grid;width:25px;height:25px;font-size:18px}.brand small{display:none}nav button{min-width:30px;min-height:32px}.landing{margin:24px auto;padding:0 22px;gap:28px}.landing h1{font-size:44px;letter-spacing:-1.5px}.landing .cover{height:190px;max-height:190px;border-width:5px;border-radius:60px 60px 16px 16px;object-position:50% 27%;width:min(100%,360px);justify-self:center}.landing .eyebrow{margin-bottom:14px}.landing p{font-size:14px}.entry-form{padding:17px;max-width:none;margin-top:22px}.entry-form button{font-size:11px}.lobby{gap:20px;padding:0 20px}.lobby h2{font-size:30px}.play{display:flex;height:auto;min-height:calc(100dvh - 58px);padding:8px}.workspace{height:85dvh;min-height:570px}.board-head{gap:6px}.board-head h3{font-size:16px}.board-head>.row{width:100%;margin:0;gap:3px}.board-head>.row button{font-size:10px;padding:6px;min-height:34px;flex:1;white-space:nowrap}.board-head>.row .confirm{padding-inline:7px}.zoom-controls .trail-viewers{margin-left:0;padding-left:0;border:0}.forecast-strip{gap:7px}.forecast-numbers{padding:3px}.movement-line .movement-hud{padding:7px 9px}.movement-budget-labels>span{font-size:10px}.quick-equipment{justify-content:flex-start}.score-dock>div{flex:auto;padding:5px 6px}.score-dock .dock-total strong{font-size:18px}.side{display:flex}.route-section{padding:12px!important}.resource-grid .resource{min-height:65px}.side-section{padding:12px 2px}.summary{margin:20px auto}.final-layout{gap:16px}.ranking{margin-top:0}.canvas-hint{font-size:9px}}

.nav-icon{display:block;width:19px;height:19px;margin:auto;color:#60765d}nav button{position:relative}#unread:not(:empty){position:absolute;right:0;top:0;min-width:14px;height:14px;border-radius:50%;background:#bc7448;color:#fff;font-size:9px;display:grid;place-items:center}.board-head>.row button{font-size:12px}.zoom-controls>button{font-size:11px}@media(max-width:700px){.board-head>.row button{font-size:10px}.zoom-controls>button{font-size:10px}}
