:root{color:#f5f2e8;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#17201b;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html,body,#app{width:100%;min-width:20rem;min-height:100%;margin:0}body{background:#17201b;min-height:100dvh}#app{flex-direction:column;min-height:100dvh;display:flex;position:relative}.topbar{z-index:2;background:#202c25;border-bottom:1px solid #dee4cd24;justify-content:space-between;align-items:center;gap:1rem;min-height:5rem;padding:.8rem clamp(1rem,3vw,2.5rem);display:flex;box-shadow:0 .5rem 2rem #00000026}.brand,.connection-area{align-items:center;display:flex}.brand{gap:.8rem}.brand-mark{color:#e8c27c;border:1px solid #9db18b;border-radius:.85rem .4rem;place-items:center;width:2.65rem;height:2.65rem;font-family:Georgia,serif;font-size:1.3rem;font-weight:700;display:grid}.brand h1,.brand p{margin:0}.brand h1{letter-spacing:.04em;font-size:1.05rem;font-weight:650}.brand p{color:#acb7a9;margin-top:.2rem;font-size:.75rem}.connection-area{flex-wrap:wrap;justify-content:flex-end;gap:.75rem}.connection-status{color:#c5cfc2;align-items:center;gap:.45rem;font-size:.82rem;display:inline-flex}.connection-status:before{content:"";background:#a89158;border-radius:50%;width:.5rem;height:.5rem}.connection-status[data-state=online]:before{background:#80c49a;box-shadow:0 0 .7rem #80c49a8c}.connection-status[data-state=offline]:before{background:#d4866e}button{color:#f5f2e8;min-height:2.5rem;font:inherit;cursor:pointer;background:#2c3b32;border:1px solid #718372;border-radius:.6rem;padding:.5rem .85rem;font-size:.8rem}button:hover:not(:disabled){background:#36483c;border-color:#a7c19e}button:focus-visible{outline-offset:2px;outline:2px solid #e8c27c}button:disabled{cursor:not-allowed;opacity:.55}button[aria-pressed=true]{background:#435440;border-color:#e8c27c}.world-frame{background:radial-gradient(at 50% 45%,#ede2b138,#0000 55%),linear-gradient(155deg,#879b7a 0%,#627c66 50%,#3b594d 100%);flex:1;min-height:31rem;position:relative;overflow:hidden}#world-canvas{touch-action:none;outline:none;width:100%;height:calc(100dvh - 5rem);min-height:31rem;display:block}#world-canvas:focus-visible{outline-offset:-2px;outline:2px solid #e8c27c}.scene-caption{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#19261fc7;border:1px solid #f4f0e02e;border-radius:999px;align-items:center;gap:.55rem;max-width:min(90vw,34rem);padding:.58rem .8rem;display:flex;position:absolute;top:1rem;left:1rem;box-shadow:0 .6rem 1.8rem #151e1833}.scene-caption p{color:#f0efdf;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.75rem;overflow:hidden}.observer-controls{z-index:2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#19261fd6;border:1px solid #f4f0e02e;border-radius:.8rem;flex-wrap:wrap;align-items:center;gap:.35rem;max-width:min(90vw,46rem);padding:.55rem .65rem;display:flex;position:absolute;top:4rem;right:1rem;box-shadow:0 .6rem 1.8rem #151e1833}.observer-controls label,.observer-controls span{color:#ebece0;font-size:.68rem}.observer-controls span{min-width:6rem;padding-inline:.25rem}.observer-controls select{color:#f5f2e8;min-height:2.25rem;font:inherit;background:#2c3b32;border:1px solid #718372;border-radius:.5rem;padding:.35rem .45rem;font-size:.72rem}.observer-controls.player-active{display:none}.journey-panel{z-index:3;scrollbar-color:#718372 #202c25;width:min(23rem,100vw - 2rem);max-height:calc(100dvh - 7rem);position:absolute;top:6rem;left:1rem;overflow:auto}.journey-card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#19261fed;border:1px solid #f4f0e033;border-radius:.9rem;padding:1rem;box-shadow:0 .7rem 2rem #0f171252}.journey-card h2,.journey-card h3,.journey-card p{margin-top:0}.journey-card h2{margin-bottom:.5rem;font-size:1.05rem}.journey-card h3{margin-bottom:.45rem;font-size:.86rem}.journey-card p,.journey-card label,.muted-copy{color:#c4cfbf;font-size:.76rem;line-height:1.45}.journey-card label{margin:.55rem 0 .3rem;display:block}.journey-card input,.journey-card select{color:#f5f2e8;width:100%;min-height:2.45rem;font:inherit;background:#19241d;border:1px solid #718372;border-radius:.55rem;padding:.5rem .65rem;font-size:.8rem}.journey-card input:focus-visible,.journey-card select:focus-visible{outline-offset:2px;outline:2px solid #e8c27c}.journey-card button{margin:.35rem .3rem .1rem 0}.primary-action{background:#5b5236;border-color:#c6a566}.journey-actions,.game-heading-row,.form-row,.status-grid{gap:.6rem;display:flex}.journey-actions{flex-wrap:wrap;margin-top:.7rem}.journey-actions>*{flex:1}.game-card{max-height:calc(100dvh - 7rem)}.game-heading-row{justify-content:space-between;align-items:flex-start}.game-heading-row h2,.game-heading-row p{margin-bottom:.25rem}.journey-message{background:#e8c27c17;border-left:2px solid #e8c27c;border-radius:.2rem;padding:.55rem .65rem}.game-section{border-top:1px solid #dee4cd21;margin-top:.75rem;padding-top:.7rem}.family-section h4{margin:.15rem 0 .35rem;font-size:.78rem}.family-section{z-index:1;background:#19261ff5;border:1px solid #f4f0e033;border-radius:.65rem;padding:.8rem;position:relative;box-shadow:0 .45rem 1.4rem #0f171240}.family-section .stacked-form{gap:.25rem}.family-member-list{gap:.35rem;margin:.35rem 0 0;padding:0;list-style:none;display:grid}.family-member-list li{color:#e4eadf;border:1px solid #dee4cd1f;border-radius:.45rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.45rem .55rem;font-size:.76rem;display:flex}.family-issued-invitation{background:#e8c27c14;border:1px solid #e8c27c59;border-radius:.55rem;margin-top:.65rem;padding:.65rem}.family-invitation-token{overflow-wrap:anywhere;color:#f5f2e8;-webkit-user-select:all;user-select:all;background:#111a14;border-radius:.4rem;padding:.55rem;font-size:.78rem;display:block}.status-grid>div{flex:1;min-width:0}.status-grid ul{color:#d9e2d4;max-height:5rem;margin:0;padding-left:1.1rem;font-size:.76rem;overflow:auto}.movement-pad{grid-template-columns:repeat(3,1fr);gap:.3rem;width:10.4rem;margin:.5rem auto .2rem;display:grid}.movement-pad button{touch-action:none;min-height:2.65rem;margin:0;font-size:1.1rem}.movement-pad button:first-child{grid-column:2}.movement-pad button:nth-child(2){grid-area:2/1}.movement-pad button:nth-child(3){grid-area:2/2}.movement-pad button:nth-child(4){grid-area:2/3}.stacked-form{border-top:1px solid #dee4cd21;flex-direction:column;gap:.25rem;margin-top:.85rem;padding-top:.75rem;display:flex}.stacked-form label{margin-top:.4rem}.form-row>div{flex:1;min-width:0}.journey-alert{z-index:5;color:#f5f2e8;background:#19261ff2;border:1px solid #e8c27c59;border-radius:.6rem;max-width:min(28rem,100vw - 2rem);margin:0;padding:.7rem .9rem;font-size:.8rem;position:fixed;bottom:1rem;right:1rem;box-shadow:0 .5rem 1.7rem #00000047}#app[data-observer-mode=ambient] .topbar,#app[data-observer-mode=ambient] .scene-caption,#app[data-observer-mode=ambient] .observer-controls,#app[data-observer-mode=ambient] .controls-hint,#app[data-observer-mode=ambient] .map-legend{display:none}#app[data-observer-mode=ambient] .world-frame,#app[data-observer-mode=ambient] #world-canvas{height:100vh;min-height:100vh}.caption-dot{background:#e8c27c;border-radius:50%;flex:none;width:.48rem;height:.48rem}.map-legend{color:#ebece0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#19261fc7;border:1px solid #f4f0e029;border-radius:.75rem;flex-wrap:wrap;justify-content:flex-end;gap:.45rem;max-width:34rem;padding:.65rem .75rem;font-size:.69rem;display:flex;position:absolute;bottom:1rem;right:1rem}.controls-hint{color:#ebece0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#19261fc7;border:1px solid #f4f0e029;border-radius:.7rem;padding:.62rem .75rem;font-size:.68rem;line-height:1.5;position:absolute;bottom:1rem;left:1rem}.map-legend span{white-space:nowrap;align-items:center;gap:.35rem;display:inline-flex}.legend-swatch{border:1px solid #ffffff40;border-radius:.2rem;width:.62rem;height:.62rem;display:inline-block}.legend-swatch.plains{background:#87a870}.legend-swatch.forest{background:#406e4f}.legend-swatch.modern{background:#c5d0b8}.legend-swatch.salvage{background:#856144}.render-error{color:#ffe0d6;text-align:center;background:#281916eb;border:1px solid #d4866e;border-radius:.7rem;width:min(32rem,100% - 2rem);margin:0;padding:1rem;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}#install-help{color:#f5f2e8;background:#202c25;border:1px solid #718372;border-radius:.8rem;width:min(25rem,100vw - 2rem);padding:1.2rem}#install-help::backdrop{background:#000000a6}#install-help h2{margin-top:0;font-size:1.1rem}#install-help p{color:#d6ddcf;line-height:1.5}#install-help form{justify-content:flex-end;display:flex}@media (width<=38rem){.topbar{padding:max(.7rem, env(safe-area-inset-top)) max(.8rem, env(safe-area-inset-right)) .7rem max(.8rem, env(safe-area-inset-left));flex-direction:column;align-items:stretch;gap:.6rem}.connection-area{flex-flow:wrap;justify-content:flex-start;align-items:center;gap:.4rem}.connection-status{font-size:.72rem}.journey-panel{width:min(22rem,100vw - 1.3rem);max-height:calc(100dvh - 9.2rem);top:8.5rem;left:.65rem}.game-card{max-height:calc(100dvh - 9.2rem)}.observer-controls{max-width:unset;gap:.3rem;top:4rem;left:.65rem;right:.65rem}.observer-controls label,.observer-controls span{font-size:.6rem}.observer-controls select{flex:auto;min-width:8rem;font-size:.65rem}.observer-controls button{min-height:2rem}button{min-height:2.25rem;padding:.4rem .65rem;font-size:.72rem}#world-canvas{height:calc(100dvh - 10rem);min-height:22rem}.world-frame{min-height:calc(100dvh - 10rem)}.map-legend{right:.65rem;bottom:max(.65rem, env(safe-area-inset-bottom));justify-content:flex-start;gap:.4rem .7rem;left:.65rem}.controls-hint{bottom:calc(4.3rem + env(safe-area-inset-bottom));font-size:.62rem;left:.65rem}}
