:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#243b32;background:#f3f0e7;font-synthesis:none;--ink:#243b32;--muted:#626d62;--green:#236047;--line:#dcdccf;--paper:#fffdf7;--warm:#bf763d;--radius:18px;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 6% 4%,#e4e9d9 0,transparent 42%),radial-gradient(circle at 96% 12%,#e4ede2 0,transparent 38%),radial-gradient(circle at 70% 96%,#f0e4c7 0,transparent 40%),#f3f0e7;background-attachment:fixed}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{min-width:44px;min-height:44px;padding:9px 17px;border:1.5px solid #cbd3c7;background:#fffdf7;border-radius:11px;color:var(--ink);font-weight:650;cursor:pointer;box-shadow:0 2px 0 #e0e3d8;transition:background .15s,border-color .15s,transform .15s,box-shadow .15s}button:hover:not(:disabled){background:#eef2e8;border-color:#8aa894;transform:translateY(-1px);box-shadow:0 4px 0 #d5dfd1}button:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px 0 #e0e3d8}button:disabled{cursor:not-allowed;opacity:.47}button.primary{color:#fffdf5;border-color:#1c4e39;background:linear-gradient(#2b6b50,#20533e);box-shadow:0 3px 0 #153f2d,0 8px 18px #284d3424}button.primary:hover:not(:disabled){background:linear-gradient(#34775a,#286346);border-color:#1c4e39}button.primary:active:not(:disabled){box-shadow:0 1px 0 #173f2d}button.subtle{background:transparent}button.danger{color:#a14632}button.text-button{border:0;background:transparent;padding:7px 0;color:var(--green);text-decoration:underline;text-underline-offset:4px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.map-tile:focus-visible{outline:3px solid #286346;outline-offset:3px}input,select{width:100%;min-height:48px;border:1.5px solid #cbd3c7;background:#fffdf7;color:var(--ink);border-radius:10px;padding:10px 13px;box-shadow:inset 0 2px 0 #f1f2e9}input:focus,select:focus{border-color:#6f9479;box-shadow:inset 0 2px 0 #f1f2e9,0 0 0 3px #e1ebdd}input[aria-invalid=true]{border-color:#b25b40}label{display:block;font-size:14px;font-weight:650;margin:15px 0 7px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:650;line-height:1.35;letter-spacing:-.025em}h1{font-size:38px}h2{font-size:23px}h3{font-size:16px}p{margin-bottom:12px}small{font-size:12px}strong{font-weight:700}svg{display:block} [hidden]{display:none!important}.wrap{max-width:1280px;margin:auto;padding-left:40px;padding-right:40px}.site-header{display:flex;align-items:center;justify-content:space-between;padding-top:28px;padding-bottom:28px;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;letter-spacing:.06em}.brand small{display:block;font-size:11px;letter-spacing:.06em;color:#626d62;font-weight:600;margin-top:2px}.brand-mark{display:grid;place-items:center;border:2px solid #c7d2bd;width:42px;height:42px;border-radius:10px;transform:none;font-family:system-ui,sans-serif;font-size:29px;color:#245d43;background:linear-gradient(#f2f0e5,#e1e9d7);box-shadow:0 3px 0 #cbd7c5,inset 0 2px 0 #fffdf7}.header-tools{display:flex;align-items:center;gap:24px;font-size:13px}.home-link{white-space:nowrap}.connection{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:7px}.connection:before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#899689;box-shadow:0 0 0 3px #e1e6db}.connection[data-state=connected]:before{background:#2c7654;box-shadow:0 0 0 3px #dcebdc}.connection[data-state=offline]:before{background:#b47a2b;box-shadow:0 0 0 3px #f3e7c8}.skip-link{position:fixed;left:10px;top:-80px;padding:10px 16px;background:#fffdf7;border:2px solid #8aa894;border-radius:10px;font-weight:650;box-shadow:0 6px 18px #d8ddcf;z-index:100}.skip-link:focus{top:10px}.eyebrow{font-size:11px;color:#5c695d;letter-spacing:.13em;font-weight:700;display:block;margin-bottom:12px}.welcome-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:75px;padding:40px 35px 45px;align-items:start}.welcome-copy h1{font-size:56px;line-height:1.22;letter-spacing:-.055em;margin-bottom:22px;font-weight:600}.welcome-copy h1 span{display:block;color:#286346}.intro{font-size:15px;color:#5f6b5f;line-height:1.95}.goal-badges{display:flex;gap:10px;margin:26px 0 18px;flex-wrap:wrap}.goal-badges span{padding:7px 15px;border:2px solid #c7d4bf;border-radius:999px;font-size:13px;font-weight:650;color:#365d42;background:linear-gradient(#f1f0e5,#e8eddf);box-shadow:0 3px 0 #dce3d3}.goal-badges span:nth-child(2){border-color:#b5c9d6;color:#3c627b;background:linear-gradient(#edf3f5,#dce9ef);box-shadow:0 3px 0 #dae5eb}.goal-badges span:nth-child(3){border-color:#dfcc9b;color:#795a23;background:linear-gradient(#fbf6e7,#f4e8c6);box-shadow:0 3px 0 #eadcb6}.adaptation{font-size:11px;color:#626d62}.panel{border:1.5px solid var(--line);background:var(--paper);border-radius:var(--radius);box-shadow:0 2px 0 #e9e8dd,0 10px 26px #47523a0d}.entry-card{padding:28px 34px 22px;position:relative;z-index:1;margin-top:7px;box-shadow:0 3px 0 #e4e8da,0 18px 50px #d8ddcfa6}.entry-card h2{margin:24px 0 10px;font-size:25px}.entry-card .muted{font-size:13px;margin-bottom:24px}.tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);gap:25px}.tabs button{background:transparent;border:none;border-radius:0;color:#637164;position:relative;padding:9px 0 15px;box-shadow:none}.tabs button:hover:not(:disabled){background:transparent;box-shadow:none;transform:none}.tabs button[aria-selected=true]{color:#236047}.tabs button[aria-selected=true]:after{content:"";height:4px;border-radius:4px;background:linear-gradient(90deg,#80a47a,#286346);position:absolute;bottom:-1px;left:12%;right:12%}.entry-card form>.primary{margin-top:26px;display:flex;justify-content:space-between;padding-left:19px;padding-right:19px}.entry-foot{border-top:1px solid var(--line);padding-top:16px;margin-top:25px;font-size:10px;text-align:center;color:#647061}.wide{width:100%}.muted{color:var(--muted)}.small{font-size:12px}.field-hint{font-size:12px;color:#5f6b5f;margin:8px 0}.field-error{font-size:13px;color:#a2482d;margin:12px 0}.notice{background:#edf4e8;border:1.5px solid #c3d8bd;padding:14px 18px;border-radius:18px;margin:5px 0 18px;font-size:13px;overflow-wrap:anywhere}.notice-warm{background:#fcf5df;border-color:#dfce9c;color:#795a23}.pending-panel{display:flex;align-items:center;justify-content:space-between;gap:15px}.pending-panel p{margin:2px 0}.pending-panel button{flex-shrink:0}.code-input{letter-spacing:.2em;text-transform:uppercase;font-family:ui-monospace,monospace}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px dashed #d3d8c8;border-bottom:2px dashed #d3d8c8;padding:28px 10px;gap:30px;margin-bottom:45px}.feature-strip article{display:flex;gap:17px}.feature-strip b{flex-shrink:0;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;font:700 15px/1 ui-monospace,monospace;color:#245d43;background:linear-gradient(#f0f3e8,#e3ead9);border:2px solid #c7d4bf;box-shadow:0 3px 0 #dce3d3}.feature-strip article:nth-child(2) b{color:#2c6545;background:linear-gradient(#edf5e8,#dbead4);border-color:#bed3b3;box-shadow:0 3px 0 #d0dfc5}.feature-strip article:nth-child(3) b{color:#795a23;background:linear-gradient(#fbf6e7,#f4e8c6);border-color:#dfcc9b;box-shadow:0 3px 0 #eadcb6}.feature-strip h3{font-size:14px;margin:1px 0 7px}.feature-strip p{font-size:11px;line-height:1.9;color:#626e60;margin:0}.town-illustration{height:190px;width:340px;position:relative;transform:scale(.9);transform-origin:top left;margin-top:20px}.town-road{position:absolute;left:14px;top:150px;width:312px;height:30px;border-radius:999px;background:#edeedc;border:2px solid #d4dbc8}.town-road:after{content:"";position:absolute;left:16px;right:16px;top:11px;height:4px;border-radius:4px;background:repeating-linear-gradient(90deg,#bccbb2 0 11px,transparent 11px 24px)}.house{position:absolute;width:56px;height:48px;border-radius:10px 14px 12px 12px;background:linear-gradient(#f5f5e9,#e4e9d9);border:2px solid #b8caae;box-shadow:0 4px 0 #cad7bc}.house:before{content:"";position:absolute;left:-7px;top:-25px;width:66px;height:30px;border-radius:33px 33px 7px 7px;background:linear-gradient(#80a47a,#709768);box-shadow:inset 0 -3px 0 #5b8753}.house:after{content:"";position:absolute;left:33px;bottom:0;width:13px;height:17px;border-radius:7px 7px 0 0;background:#e2c06d;border:2px solid #bd9e4d;border-bottom:0}.house i{position:absolute;left:10px;top:14px;width:15px;height:14px;display:block}.house i:before,.house i:after{content:"";position:absolute;top:0;width:8px;height:12px;border-radius:8px 8px 0 0;background:#80a47a}.house i:before{left:7px;transform:rotate(-45deg);transform-origin:0 100%}.house i:after{left:0;transform:rotate(45deg);transform-origin:100% 100%}.house b{position:absolute;left:25px;top:-44px;width:3px;height:21px;border-radius:2px;background:#aab89d;display:block}.house b:before{content:"";position:absolute;left:3px;top:1px;width:11px;height:8px;border-radius:0 6px 6px 0;background:#e2c06d}.house-a{left:46px;top:96px}.house-b{left:132px;top:78px;transform:scale(.92);background:linear-gradient(#f0f6eb,#deebd6);border-color:#bbd2b0}.house-b:before{background:linear-gradient(#a4c494,#7ba36c);box-shadow:inset 0 -3px 0 #658c56}.house-c{left:226px;top:100px;transform:scale(.84);background:linear-gradient(#faf5e3,#f0e3bf);border-color:#dbc58c}.house-c:before{background:linear-gradient(#b0b8cd,#8995b4);box-shadow:inset 0 -3px 0 #7584a7}.town-tree{position:absolute;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 34% 30%,#adc99d 0 38%,#8fb37b 39%);box-shadow:0 3px 0 #759b61}.town-tree:after{content:"";position:absolute;width:6px;height:16px;border-radius:3px;background:#b59b75;left:14px;bottom:-12px}.tree-a{left:108px;top:118px}.tree-b{left:300px;top:112px;transform:scale(.82)}.town-cloud{position:absolute;width:52px;height:18px;border-radius:999px;background:#fffdf7;box-shadow:0 3px 0 #e4e6d6}.town-cloud:before,.town-cloud:after{content:"";position:absolute;border-radius:50%;background:#fffdf7}.town-cloud:before{width:24px;height:24px;left:9px;top:-11px}.town-cloud:after{width:17px;height:17px;right:7px;top:-8px}.cloud-a{left:22px;top:26px}.cloud-b{left:214px;top:14px;transform:scale(.78)}.town-person{position:absolute;width:24px;height:28px;background:linear-gradient(#9ebf91,#709768);border:2px solid #fffdf7;border-radius:12px 12px 10px 10px;color:#fffdf5;font-size:11px;font-weight:bold;text-align:center;line-height:25px;box-shadow:0 3px 0 #cbd9bd}.person-a{left:96px;top:146px}.person-b{left:196px;top:150px;background:linear-gradient(#9fdfc7,#7ba36c)}.town-flower{position:absolute;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#e2c06d 0 26%,#f2f0e5 27%);box-shadow:0 -6px 0 -3px #80a47a,0 6px 0 -3px #80a47a,-6px 0 0 -3px #80a47a,6px 0 0 -3px #80a47a}.flower-a{left:22px;top:198px}.flower-b{left:290px;top:196px;transform:scale(.85)}.flower-c{left:200px;top:128px;transform:scale(.75)}.town-label{position:absolute;left:112px;top:196px;transform:none;font-size:10px;color:#245d43;letter-spacing:.17em;font-weight:650}.room-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0 26px}.room-heading h1{margin:0;font-size:30px}.room-heading .eyebrow{margin-bottom:5px}.room-code{font-family:ui-monospace,monospace}.room-tools{display:flex;gap:9px;flex-wrap:wrap}.lobby-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:22px;margin-bottom:35px}.goals-panel,.lobby-players{padding:28px}.section-title{display:flex;gap:10px;align-items:center;margin-bottom:18px}.section-title h2{font-size:19px;margin:0}.step-dot{flex-shrink:0;width:28px;height:28px;display:grid;place-items:center;border:2px solid #c7d4bf;border-radius:50%;color:#245d43;font:700 14px/1 ui-monospace,monospace;background:linear-gradient(#f0f3e8,#e3ead9);box-shadow:0 2px 0 #dce3d3}.goals-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0 12px}.goals-inputs label{margin:0;padding:15px 12px;border-radius:18px;background:linear-gradient(#f3f4e9,#ffe8f1);border:2px solid #cbd7c5;color:#365d42}.goals-inputs label:nth-child(2){background:linear-gradient(#f0f6eb,#dff5ec);border-color:#b6e5d3;color:#2c6545}.goals-inputs label:nth-child(3){background:linear-gradient(#faf5e3,#fff2d6);border-color:#dfcc9b;color:#795a23}.goals-inputs label>span{display:block;margin-bottom:11px;font-size:13px}.goals-inputs input{font-size:24px;font-family:Georgia,serif;height:52px;padding:4px 8px;text-align:center;border-radius:10px}.goals-inputs small{font-size:10px;color:#8a5b6b;display:block;margin-top:6px}.goal-total{font-size:13px;color:#2c6545;font-weight:650;margin:10px 0}.goal-total.invalid{color:#b4443f}.ready-section{border-top:1px solid var(--line);margin-top:24px;padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.ready-section p{font-size:12px;margin:4px 0}.ready-section strong{font-size:14px}.ready-section button{flex-shrink:0}.pill{display:inline-flex;align-items:center;background:linear-gradient(#f0f3e8,#e3ead9);border:1.5px solid #c7d4bf;color:#a93f68;font-size:11px;font-weight:650;border-radius:999px;padding:3px 11px;white-space:nowrap}.lobby-player{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #dfe2d6}.seat-marker{width:32px;height:36px;flex-shrink:0;display:grid;place-items:center;border-radius:10px 14px 11px 11px;border:2px solid #fffdf7;color:#fffdf7;font-size:15px;font-weight:800;background:var(--seat-color);box-shadow:0 2px 0 #d8ddcf,inset 0 -2px 0 #0000001f;text-shadow:0 1px 1px #00000040}.player-name{overflow-wrap:anywhere;font-weight:650;font-size:14px}.lobby-player .player-meta{flex:1;min-width:0}.player-subtitle{font-size:11px;color:#626d62}.lobby-player .ready-label{flex-shrink:0;font-size:12px;font-weight:650;color:#2c6545;background:#eaf2e2;border:1.5px solid #bed3b3;border-radius:999px;padding:3px 10px}.lobby-player .waiting{color:#637164;background:#f1f1e9;border-color:#dcdccf}.play-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:22px;align-items:start}.board-panel{overflow:hidden;padding:22px 20px 17px}.board-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.board-heading .eyebrow{font-size:9px;margin-bottom:6px}.board-heading h2{font-size:24px;margin:0}.map-tools{display:flex;gap:4px;background:#e9eddf;border:1.5px solid #cbd7c5;padding:3px;border-radius:11px}.map-tools button{min-height:44px;padding:4px 12px;border-color:transparent;font-size:12px;font-weight:650;color:#5e6c5f;background:transparent;border-radius:13px;box-shadow:none}.map-tools button:hover:not(:disabled){background:#f3f4e9;border-color:transparent;transform:none;box-shadow:none}.map-tools button[aria-pressed=true]{background:#fffdf7;border-color:#c7d4bf;color:#245d43;box-shadow:0 2px 0 #dce3d3}.board-mount{height:520px;width:100%;position:relative;overflow:hidden;border-radius:22px;outline:2px solid #cbd7c5;outline-offset:-2px;background:linear-gradient(#f1f0e5,#ffe9f1);margin:17px 0 12px}.three-board,.plane-board{width:100%;height:100%;display:block}.three-board{touch-action:none}.plane-board{user-select:none}.map-tile{cursor:pointer}.map-tile:hover rect,.map-tile:focus-visible rect{stroke:#1c593b;stroke-width:4px}.map-index{font-size:15px;font-weight:700;font-family:ui-monospace,monospace}.map-glyph{font-size:21px;font-weight:700}.map-gate-text{font-size:12px;font-weight:700;fill:#35513c}.map-node{font-size:12px;font-weight:700;fill:#435b41}.map-building-name{font-size:13px;fill:#304d37;font-weight:700}.map-token-number{font-size:10px;font-weight:800;fill:#fff}.board-controls{display:flex;gap:7px;align-items:center}.board-controls button{min-height:44px;padding:5px 12px;font-size:12px;font-weight:650}.board-controls button[aria-pressed=true]{background:linear-gradient(#eef2e8,#e1e9d7);border-color:#83a478;color:#a9325f}.place-controls{display:flex;align-items:center;gap:13px;margin-top:15px}.place-controls label{font-size:12px;white-space:nowrap;margin:0}.place-controls select{min-height:44px;font-size:13px;padding:6px 10px}.place-detail{border-top:1px solid #d6dccb;margin-top:14px;padding-top:14px;min-height:90px;font-size:13px}.place-detail p{margin:5px 0;color:#5d695b;font-size:12px}.action-column{display:grid;gap:18px}.turn-panel,.my-panel{padding:23px}.turn-caption{display:flex;justify-content:space-between;gap:8px;align-items:center}.turn-caption .eyebrow{margin-bottom:10px}.turn-panel h2{font-size:24px;margin:0 0 7px;overflow-wrap:anywhere}.turn-panel .muted{font-size:13px}.countdown{font-size:12px;font-variant-numeric:tabular-nums;color:#795a23;background:#f7efda;border:1.5px solid #dfcc9b;border-radius:999px;padding:2px 10px}.action-buttons{display:grid;gap:9px}.action-buttons button{width:100%;text-align:center;overflow-wrap:anywhere}.action-buttons .choice-cost{display:block;font-size:11px;font-weight:normal;color:inherit;opacity:.7}.dice-display{font-size:21px;color:#795a23;margin:5px 0 15px;padding:10px 15px;border-radius:11px;background:linear-gradient(#fbf6e7,#eee2bd);border:2px solid #dfcc9b;display:flex;align-items:center;gap:8px}.dice-display small{font:11px system-ui;color:#7d622f;margin-left:5px}.my-panel .section-title{margin-bottom:16px;justify-content:space-between}.progress-row{margin-bottom:12px}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:5px}.progress-label strong{font-weight:600;font-variant-numeric:tabular-nums}.progress-track{height:8px;border-radius:999px;background:#e7ecdc;border:1px solid #d4ddc8;overflow:hidden}.progress-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#9ab78a,#5b8753)}.progress-row:nth-child(2) .progress-track span{background:linear-gradient(90deg,#9abc8d,#4e855a)}.progress-row:nth-child(3) .progress-track span{background:linear-gradient(90deg,#dec584,#c6993e)}.my-summary{font-size:11px;color:#5c695d;margin:17px 0;border-top:1px solid var(--line);padding-top:13px;display:grid;gap:3px}.my-summary p{margin:0}.hand-heading{font-size:13px;margin:20px 0 3px;display:flex;gap:8px}.hand-heading span{color:#606e5d;font-weight:normal}.hand-list{display:flex;gap:8px;flex-wrap:wrap}.hand-list button{min-width:52px;min-height:66px;padding:7px 10px;background:linear-gradient(#fbf6e7,#f4e8c6);border-color:#dbc58c;border-radius:18px;box-shadow:0 3px 0 #e7d6a7;display:grid;gap:1px;font-size:20px;color:#795a23}.hand-list button:hover:not(:disabled){background:linear-gradient(#fdf9ed,#f1e1b7);border-color:#cfb574}.hand-list button small{font-size:9px;color:#7d622f;font-weight:400}.hand-list .empty{font-size:12px;color:#606e5d}.roster-section{margin:34px 0 24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading h2{font-size:20px;margin:0}.section-heading p{font-size:11px;margin:0}.player-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.player-card{background:linear-gradient(#fffdf7,#f3f0e7);border:1.5px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 2px 0 #e9e8dd}.player-card.active{border-color:#83a478;box-shadow:0 0 0 3px #e5edda,0 2px 0 #cbd7c5}.player-card.left{opacity:.6}.player-card-heading{display:flex;gap:10px;align-items:center;margin-bottom:14px}.player-card-heading>div{flex:1;min-width:0}.player-card .player-name{font-size:13px}.player-card .progress-row{margin:7px 0}.player-card .progress-label{font-size:10px}.player-location{font-size:10px;color:#5e6b5e;border-top:1px solid var(--line);margin:11px 0 0;padding-top:9px;overflow-wrap:anywhere}.log-panel{padding:22px;margin-bottom:35px}.log-panel .section-title{justify-content:space-between}.log-panel h2{font-size:17px}#event-log{padding:0;list-style:none;margin:0;max-height:240px;overflow:auto;overscroll-behavior:contain}#event-log li{padding:9px 0;border-bottom:1px solid #e0e3d5;font-size:12px;color:#5c695d;overflow-wrap:anywhere}#event-log li:first-child{color:#2f5c3c;font-weight:650}#event-log time{font:10px ui-monospace,monospace;color:#5b6b54;margin-right:10px}.result-panel{background:linear-gradient(#f9f3e1,#eaf0df);border:2px solid #dbc58c;text-align:center;border-radius:18px;padding:28px;margin-bottom:25px;box-shadow:0 3px 0 #e7d6a7}.result-panel h2{font-size:28px;margin-bottom:12px;color:#245d43}.result-panel p{font-size:13px;color:#5e685a}.guide,.identity-panel{padding:0 24px;margin-bottom:16px;background:linear-gradient(#fffdf7,#f3f4e9)}.guide summary,.identity-panel summary{min-height:60px;cursor:pointer;font-size:13px;font-weight:650;padding:17px 0;list-style:revert}.guide summary span,.identity-panel summary span{font-weight:400;font-size:11px;color:#64705e;margin-left:13px}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px 35px;margin:15px 0 20px}.guide-grid p{font-size:12px;color:#626d5c;line-height:1.9}.guide-grid h3{font-size:13px}.identity-panel{margin-top:25px}.identity-panel>p{font-size:12px}.identity-panel form{max-width:650px;padding-bottom:16px}.identity-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.identity-actions button{font-size:12px}.identity-panel #recovery-display{max-width:650px;margin:18px 0}.identity-panel input{font-family:ui-monospace,monospace;font-size:12px}.inline-form{display:flex;gap:9px;align-items:center}.inline-form button{white-space:nowrap;font-size:12px}.identity-panel summary span{color:#795a23}footer{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#626d62;padding-top:25px;padding-bottom:30px;margin-top:14px!important;border-top:2px dashed #d3d8c8}dialog{border:2px solid #c7d4bf;border-radius:18px;padding:28px;max-width:410px;width:calc(100% - 32px);color:var(--ink);background:linear-gradient(#fffdf7,#f5f5e9);box-shadow:0 3px 0 #cbd7c5,0 25px 70px #314b322e}dialog::backdrop{background:#263d356e;backdrop-filter:blur(3px)}dialog h2{font-size:24px}dialog p{font-size:14px;color:#5d695b}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:27px}.dialog-actions button{min-width:85px}#copy-panel input{font-family:ui-monospace,monospace;font-size:12px;background:#f7f7ef}#copy-panel label{margin-top:0}.inline-badge{font-size:10px;color:#5d6c59;margin-left:6px;white-space:nowrap}
@media(min-width:1440px){.welcome-grid{padding-top:65px;padding-bottom:60px}.board-mount{height:550px}}
@media(max-width:1050px){.welcome-grid{gap:30px;padding:25px 0 35px}.welcome-copy h1{font-size:48px}.entry-card{padding:23px}.wrap{padding-left:25px;padding-right:25px}.play-grid{grid-template-columns:minmax(0,1.25fr) minmax(290px,1fr)}.board-mount{height:410px}.board-panel{padding:18px 14px}.turn-panel,.my-panel{padding:20px}.town-illustration{transform:scale(.8);height:200px}.feature-strip{gap:22px}}
@media(max-width:780px){.brand{font-size:17px}.brand small{font-size:7px}.header-tools{gap:12px}.connection{font-size:10px}.home-link{font-size:11px}.welcome-grid{grid-template-columns:1fr 1fr;gap:24px}.welcome-copy h1{font-size:36px}.intro{font-size:12px}.goal-badges{gap:6px}.goal-badges span{font-size:11px;padding:5px 9px}.adaptation{font-size:9px}.town-illustration{transform:scale(.65);height:150px}.entry-card{padding:20px}.entry-card h2{font-size:21px}.entry-card .muted{font-size:11px;margin-bottom:18px}.feature-strip{gap:14px;padding:25px 0}.feature-strip article{gap:10px}.feature-strip h3{font-size:12px}.feature-strip p{font-size:10px}.lobby-grid{grid-template-columns:1fr}.play-grid{grid-template-columns:1fr}.action-column{grid-template-columns:1fr 1fr;align-items:start}.board-mount{height:460px}.player-roster{grid-template-columns:repeat(3,minmax(0,1fr))}.player-card{padding:12px}.room-heading{align-items:start}.room-tools{justify-content:flex-end;max-width:250px}.room-tools button{font-size:11px;padding:7px 11px}.section-heading p{max-width:210px;text-align:right}.my-panel .section-title h2{font-size:17px}.guide summary span,.identity-panel summary span{font-size:10px;margin-left:6px}}
@media(max-width:600px){.wrap{padding-left:18px;padding-right:18px}.site-header{padding-top:20px;padding-bottom:23px}.brand{font-size:15px;gap:9px;letter-spacing:0}.brand-mark{width:33px;height:35px;font-size:21px;border-radius:10px}.brand small{font-size:5.6px;letter-spacing:.09em}.header-tools{gap:8px;align-items:flex-end;flex-direction:column}.connection{font-size:9px;gap:4px}.connection:before{width:4px;height:4px}.home-link{font-size:10px}.welcome-grid{display:flex;flex-direction:column;padding:19px 0 32px;gap:14px}.welcome-copy{position:relative;width:100%;min-height:265px}.welcome-copy .eyebrow{font-size:10px;margin-bottom:11px}.welcome-copy h1{font-size:38px;margin-bottom:14px;max-width:310px}.welcome-copy h1 span{display:inline}.intro{font-size:12px;max-width:310px;line-height:1.8}.goal-badges{margin:19px 0 10px}.adaptation{max-width:230px;font-size:8px}.town-illustration{position:relative;right:auto;top:auto;height:124px;margin:6px 0 2px;transform:scale(.52);transform-origin:top left;pointer-events:none}.entry-card{width:100%;margin:10px 0 0;padding:22px 24px}.entry-card h2{font-size:24px}.entry-card .muted{font-size:12px}.entry-card label{font-size:12px}.entry-card form>.primary{margin-top:22px}.entry-foot{font-size:9px;margin-top:22px}.feature-strip{grid-template-columns:1fr;gap:20px;padding:24px 7px;margin-bottom:27px}.feature-strip article{gap:16px}.feature-strip b{font-size:24px}.feature-strip h3{font-size:13px;margin-top:0;margin-bottom:3px}.feature-strip p{font-size:10px}.pending-panel{align-items:stretch;flex-direction:column}.pending-panel button{align-self:start}.notice{font-size:12px;padding:13px 15px}.room-heading{flex-direction:column;margin:14px 0 18px;gap:14px}.room-heading h1{font-size:27px}.room-heading .eyebrow{font-size:9px}.room-tools{max-width:none;justify-content:flex-start;gap:7px}.room-tools button{font-size:11px;padding:8px 12px}.goals-panel,.lobby-players{padding:20px 17px}.section-title h2{font-size:17px}.goals-panel>.muted{font-size:12px}.goals-inputs{gap:7px;margin-top:20px}.goals-inputs label{padding:12px 8px}.goals-inputs label>span{font-size:11px;margin-bottom:8px}.goals-inputs input{font-size:24px;padding:4px 6px}.goals-inputs small{font-size:8px}.ready-section{align-items:start}.ready-section strong{font-size:12px}.ready-section p{font-size:10px}.ready-section button{font-size:11px;padding:9px 12px}.lobby-player .player-name{font-size:12px}.lobby-player .player-subtitle{font-size:9px}.board-panel{padding:17px 11px 13px}.board-heading{padding:0 4px}.board-heading h2{font-size:21px}.board-mount{height:335px;margin:13px 0 10px}.board-controls{gap:6px}.board-controls button{min-width:44px;min-height:44px;font-size:11px;padding:8px 12px}.board-panel>#board-status{font-size:10px;padding:0 4px}.place-controls{padding:0 4px;gap:10px}.place-controls label{font-size:11px}.place-detail{padding:12px 4px 0;font-size:12px}.place-detail p{font-size:11px}.action-column{grid-template-columns:1fr;gap:15px}.turn-panel,.my-panel{padding:20px}.turn-panel h2{font-size:25px}.turn-panel .muted{font-size:12px}.action-buttons button{min-height:48px}.my-panel .section-title h2{font-size:18px}.my-summary{font-size:11px}.hand-list button{min-height:64px}.player-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.player-card{padding:12px 10px}.player-card .seat-marker{width:25px;height:30px;font-size:12px;border-radius:9px 9px 6px 6px}.player-card-heading{gap:7px}.player-card .player-name{font-size:11px}.player-card .player-subtitle{font-size:8px}.player-card .progress-label{font-size:9px;gap:4px}.player-location{font-size:9px}.section-heading{align-items:start}.section-heading h2{font-size:18px}.section-heading p{font-size:9px;max-width:140px}.log-panel{padding:18px 15px}.log-panel .section-title{margin-bottom:12px}#event-log li{font-size:11px}.guide,.identity-panel{padding:0 17px;border-radius:17px}.guide summary,.identity-panel summary{font-size:12px}.guide summary span,.identity-panel summary span{display:block;margin:3px 0 0 16px;font-size:9px}.guide-grid{grid-template-columns:1fr;gap:12px}.guide-grid p{font-size:11px}.guide-grid h3{margin-bottom:7px}.identity-actions button{font-size:11px}.inline-form{align-items:stretch;flex-direction:column}.inline-form button{align-self:start}.identity-panel input{font-size:11px}.identity-panel label{font-size:11px}footer{flex-direction:column;gap:8px;font-size:10px;padding-top:20px;padding-bottom:25px}.result-panel{padding:24px 17px}.result-panel h2{font-size:23px}.result-panel p{font-size:12px}}
@media(max-width:380px){.wrap{padding-left:14px;padding-right:14px}.welcome-copy h1{font-size:35px}.entry-card{padding:20px}.town-illustration{right:-120px;opacity:.55}.board-mount{height:310px}.player-card .progress-label{font-size:8.5px}.header-tools .connection{max-width:105px;text-align:right}.brand small{font-size:5px}.goals-inputs small{font-size:7.5px}}
@media(max-height:520px) and (min-width:600px){.board-mount{height:330px}.site-header{padding-top:12px;padding-bottom:12px}.welcome-grid{padding-top:10px}.welcome-copy h1{font-size:34px}.town-illustration{display:none}.welcome-copy{min-height:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}button:hover:not(:disabled),button:active:not(:disabled){transform:none!important}}

.board-seat-overlay{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}.board-seat-leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.board-seat-leaders line{stroke:#6f8a66;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:3 3;opacity:.85}.board-seat-label{position:absolute;display:grid;place-items:center;width:20px;height:20px;border:2px solid var(--seat-color);border-radius:50%;background:#fffdf7;color:#263b2d;font:800 13px/1 system-ui,sans-serif;box-shadow:0 1px 3px #3d51302b;pointer-events:none;user-select:none}.board-seat-label.active{border-width:3px;box-shadow:0 0 0 2px #fffdf7,0 1px 4px #3d51304d}

/* Printed board treatment: clear controls, restrained surfaces, and a compact phone entry. */
.brand { letter-spacing:0; }
.brand small { line-height:1.5; }
input, select, summary, .panel, .welcome-copy, .entry-card, .player-card { min-width:0; }
button.primary { letter-spacing:.02em; }
.panel { box-shadow:0 2px 8px #35472d08; }
.entry-card { border-top:4px solid var(--green); }
.entry-foot { font-size:11px; }
.welcome-copy .intro { max-width:38em; }
.feature-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.feature-strip p, .adaptation { font-size:12px; }
.town-flower { display:none; }
.board-mount { border-radius:14px; background:#e6ebdc; }
.map-tile.is-current rect, .map-tile.is-current circle { stroke:#183d2a; stroke-width:5; }
.map-tile.is-selected rect, .map-tile.is-selected circle { stroke:#183d2a; stroke-width:5; stroke-dasharray:5 3; }
.map-tools button { min-width:44px; flex-shrink:0; }
.board-controls { flex-wrap:wrap; }
.place-controls select { min-height:44px; }
.place-detail { background:#f6f6ed; border-radius:10px; padding:13px; }
.progress-row:first-child .progress-track span { background:#ac8142; }
.progress-row:nth-child(2) .progress-track span { background:#53826a; }
.progress-row:nth-child(3) .progress-track span { background:#c69c41; }
.guide, .identity-panel { background:var(--paper); }
.guide summary, .identity-panel summary { font-size:14px; }
@media(max-width:780px) {
  .brand small { font-size:10px; }
  .player-card .progress-label { flex-wrap:wrap; }
}
@media(max-width:600px) {
  .site-header { padding-top:16px; padding-bottom:16px; gap:10px; }
  .brand { font-size:16px; gap:8px; }
  .brand small { font-size:10px; letter-spacing:0; }
  .brand-mark { width:36px; height:38px; font-size:27px; }
  .header-tools .connection, .home-link { font-size:10px; }
  .welcome-grid { padding-top:12px; padding-bottom:24px; gap:8px; }
  .welcome-copy { min-height:0; }
  .welcome-copy h1 { font-size:36px; max-width:none; }
  .intro { font-size:14px; max-width:none; }
  .goal-badges { margin:17px 0 10px; }
  .goal-badges span { font-size:12px; }
  .adaptation { max-width:none; font-size:11px; }
  .town-illustration { display:none; }
  .entry-card { margin-top:10px; padding:20px; }
  .entry-card .muted, .field-hint { font-size:12px; }
  .entry-foot { font-size:11px; }
  .feature-strip { grid-template-columns:1fr; padding:20px 0; gap:16px; }
  .feature-strip p { font-size:12px; }
  .goals-inputs small { font-size:10px; overflow-wrap:anywhere; }
  .lobby-player .player-subtitle, .ready-section p { font-size:11px; }
  .board-mount { height:335px; }
  .map-tools button { font-size:13px; }
  .board-panel>#board-status, .place-detail p { font-size:12px; }
  .place-controls { flex-wrap:wrap; gap:5px; }
  .place-controls label { font-size:12px; }
  .place-controls select { width:100%; }
  .player-roster { grid-template-columns:1fr 1fr; }
  .player-card .player-name { font-size:12px; }
  .player-card .player-subtitle, .player-location { font-size:10px; }
  .player-card .progress-label { font-size:11px; }
  .guide-grid p, .guide-grid h3, .identity-panel label { font-size:12px; }
}
@media(max-width:380px) {
  .brand { font-size:14px; }
  .brand small { font-size:9px; }
  .header-tools { gap:5px; }
  .header-tools .connection, .home-link { font-size:9px; }
  .welcome-copy h1 { font-size:33px; }
  .board-mount { height:310px; }
}

/* All three goal fields are independent and share the same card height. */
.goals-inputs { align-items:stretch; }

/* Plane-first navigation. Gestures are opt-in so a normal swipe still scrolls the page. */
.plane-board { touch-action:pan-y; }
.plane-board.is-interactive { touch-action:none; cursor:grab; }
.plane-board.is-interactive:active { cursor:grabbing; }
.map-route-direction, .map-branch-direction { pointer-events:none; }
.map-node { font-size:13px; }
.map-tile.is-first circle { stroke:#3d7750; stroke-width:3.2; fill:#e5f3dd; }
.map-tile.is-last circle { stroke:#9d7735; stroke-width:3; stroke-dasharray:3 2; fill:#fff4d7; }
.map-tile.is-current rect, .map-tile.is-current circle { stroke:#244d32; stroke-width:5; stroke-dasharray:none; }
.map-tile.is-selected rect, .map-tile.is-selected circle { stroke:#a45d23; stroke-width:5; stroke-dasharray:5 3; }
.map-plaza-title { fill:#35513c; font-size:16px; font-weight:750; }
.map-plaza-label { fill:#57684d; font-size:12px; font-weight:600; }
#plane-interact[aria-pressed=true] { color:#244d32; background:#dce9d0; border-color:#7d9f69; }

.map-glyph { font-size:24px; }
.map-gate.is-current path { stroke:#244d32; stroke-width:4; fill:#e4efda; }
.map-gate.is-current text { fill:#244d32; font-weight:800; }
