:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#233a32;background:#f7f6f0;font-synthesis:none;font-size:14px;--green: #1e4639;--ink: #183d31;--gold: #b29957;--line: #dfe2d7;--muted: #7b8275;--page-gutter: clamp(16px, 2.5vw, 48px)}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:#fffefa;color:var(--ink);padding:12px 16px;border-radius:6px;font-weight:600;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#ebeee4}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #bba367;outline-offset:3px}a{color:inherit}button.primary{background:var(--green);color:#fffbed;border-color:var(--green);display:flex;justify-content:space-between;align-items:center;gap:20px}button.primary:hover:not(:disabled){background:#2c5948}button.text-button{border:0;background:transparent;padding:8px 0;font-weight:500}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400}h1{font-size:52px;letter-spacing:-1.8px;line-height:1.12}h2{font-size:28px;letter-spacing:-.6px}h3{font-size:16px;font-weight:600}p{line-height:1.7}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#7b835f}.muted{color:var(--muted);font-size:12px}.masthead{height:96px;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:0 var(--page-gutter);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none;gap:11px;font-family:Georgia,serif;letter-spacing:2.3px;font-size:21px;font-weight:700;color:var(--ink)}.brand-mark{width:46px;height:46px}.brand small{display:block;font:8px -apple-system,sans-serif;letter-spacing:2px;margin-top:6px;color:var(--muted)}nav{display:flex;align-items:center;gap:30px;font-size:12px}nav .text-button span{margin-left:12px}.connection{display:flex;align-items:center;gap:7px;font-size:11px;color:#7d806c}.connection i,.live-dot{width:6px;height:6px;border-radius:50%;background:#baaa68;display:inline-block}.connection.online i,.live-dot{background:#628b59}.identity{display:flex;align-items:center;gap:10px}.identity>span{padding-left:8px;border-left:1px solid #d8dbd2}.lobby{margin:auto;padding:0 var(--page-gutter)}.hero{min-height:clamp(400px,45dvh,680px);display:grid;grid-template-columns:1.08fr 1fr;align-items:center;position:relative;overflow:hidden;border-bottom:1px solid var(--line)}.hero-copy{padding:48px 0;position:relative;z-index:1}.hero h1{font-size:clamp(54px,4.5vw,96px);margin:22px 0;color:#173d2f}.hero p{max-width:380px;color:#788074;font-size:15px;line-height:1.8}.hero-meta{display:flex;gap:19px;font-size:10px;margin-top:32px;color:#6d7865}.hero-art{height:clamp(400px,42dvh,640px);position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}.map-fragment{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;opacity:.57;-webkit-mask-image:radial-gradient(ellipse,black 15%,transparent 69%);mask-image:radial-gradient(ellipse,black 15%,transparent 69%);transform:rotate(-12deg) scale(1.1)}.map-fragment svg{width:120%;height:140%;transform:translateY(-15%)}.seal{display:flex;flex-direction:column;align-items:center;background:#173f31;color:#d8c78d;width:186px;height:216px;padding:27px 12px 32px;clip-path:polygon(50% 0,95% 21%,95% 77%,50% 100%,5% 77%,5% 21%);transform:rotate(7deg);box-shadow:0 10px 50px #183a3355}.seal .brand-mark{height:101px;width:100px}.seal span{font-family:Georgia,serif;font-size:15px;letter-spacing:1.5px}.seal small{font-size:8px;color:#a6b795;margin-top:10px}.map-note{position:absolute;bottom:33px;right:33px;font-family:Georgia,serif;font-style:italic;color:#7c836c}.lobby-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,480px);gap:56px;padding:42px 0 48px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-title h2{margin-top:10px}.count{font-family:Inter,sans-serif;font-size:12px;padding:4px 9px;background:#e8ecdf;border-radius:20px;vertical-align:middle;letter-spacing:0;margin-left:8px}.empty{text-align:center;border:1px dashed #d5dbc9;border-radius:8px;margin-top:25px;padding:31px 20px}.empty-icon{display:block;color:#99a187;font-size:36px;margin-bottom:12px}.empty h3{font-family:Georgia,serif;font-size:20px;font-weight:400;margin-bottom:8px}.empty p{color:#89917f;font-size:12px}.create-card{padding:28px 30px;background:#edefe5;border:1px solid #e3e5d9;border-radius:8px}.create-card h2{font-size:27px;margin:12px 0}.create-card p{color:#7b8273;font-size:12px}.create-card form{margin-top:22px}label{display:block;font-size:11px;font-weight:600;margin-bottom:8px}input{width:100%;border:1px solid #d7dbcc;background:#fffef9;padding:13px;border-radius:5px;color:var(--ink)}.create-card .primary{width:100%;margin-top:12px}.create-card>small{display:block;font-size:10px;line-height:1.8;color:#838c77;margin-top:18px}.room-row{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:15px;padding:21px 0}.room-row>div{flex:1}.room-row p{color:#8a907f;font-size:11px}.room-row p span{margin:0 7px}.room-icon{font-size:25px;color:#8a987b;width:39px}.room-row button{padding:10px 14px;font-size:12px}.room-row button span{margin-left:12px}footer{border-top:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;align-items:center;color:#919680;font-size:10px}footer>span:first-child{font-family:Georgia,serif;font-style:italic;font-size:12px}footer>span:nth-child(2){letter-spacing:1.6px}footer button{border:0;padding:0;background:none;font-size:10px;font-weight:400;color:#7e8970}.waiting{margin:auto;padding:28px var(--page-gutter) 60px}.waiting-title{display:flex;align-items:center;justify-content:space-between;margin:28px 0 38px;gap:30px}.waiting-title h1{margin:12px 0;font-size:42px}.waiting-title p{color:var(--muted)}.waiting-start{text-align:right;display:flex;flex-direction:column;gap:12px;color:var(--muted);font-size:12px}.waiting-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:36px}.waiting-layout h2{font-size:24px}.character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:20px}.character{padding:16px;text-align:left;background:#fffef9;border:1px solid #e0e4d7;border-radius:8px}.character.selected{border:2px solid #4d7153;padding:15px;background:#edf1e5}.character-top{display:flex;justify-content:space-between;align-items:center}.character-top>span{font-size:30px}.character-top>small{font-size:8px;letter-spacing:.8px;color:#8b917e}.character h3{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:8px 0}.character p{font-size:10px;min-height:49px;color:#818974;line-height:1.5}.stats-mini{display:flex;justify-content:space-between;margin-top:14px;gap:10px}.stats-mini>span{display:flex;flex-direction:column;gap:6px;text-align:center;flex:1}.stats-mini small{font-size:8px;letter-spacing:.8px;color:#92977f}.stats-mini b{font-size:17px;font-weight:500}.party-card{background:#eef0e6;padding:23px;border-radius:8px;align-self:start;position:sticky;top:20px}.party-card h2{margin:12px 0 20px}.party-card h2 small{font:12px sans-serif;color:var(--muted)}.seat{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #dce1d1}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:#fff;font-family:Georgia,serif;font-size:18px;flex-shrink:0}.seat>div{flex:1}.seat strong{display:block;font-size:12px}.seat small{display:block;font-size:10px;color:#8b917d;margin-top:5px}.seat .ready{color:#527951}.party-card button{width:100%;margin:20px 0 12px}.notice{font-size:11px;line-height:1.7;color:#879176;margin-top:20px;padding:15px 0;border-top:1px solid var(--line)}.game-shell{margin:auto;padding:24px var(--page-gutter) 32px}.game-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:24px;flex-wrap:wrap}.game-heading h1{font-size:40px;margin-top:8px}.eyebrow>span{margin:0 8px}.turn-heading{display:flex;gap:20px;align-items:center}.turn-heading>div{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:120px}.turn-heading>div small{font-size:11px;color:var(--muted)}.round{border-right:1px solid var(--line);padding-right:23px;font-family:Georgia,serif;font-size:32px;display:flex;flex-direction:column;align-items:center}.round small{font:8px sans-serif;letter-spacing:1px;color:#8a927b;margin-top:5px}.game-layout{display:grid;grid-template-columns:clamp(190px,14vw,260px) minmax(0,1fr) clamp(280px,21vw,380px);gap:23px;align-items:start}.game-party>.eyebrow{display:block;margin-bottom:14px}.player-card{padding:16px 13px;border:1px solid var(--line);border-radius:7px;background:#fffef9;margin-bottom:10px}.player-card.active{border-color:#7b9265;background:#eef2e4;box-shadow:inset 3px 0 #6c885c}.player-card.fallen{opacity:.5}.player-top{display:flex;gap:9px;align-items:center}.player-top>div{flex:1}.player-top h3{font-size:12px}.player-top h3 small{font-size:7px;color:#7b846e}.player-top p{font-size:10px;color:#87907a}.player-top .avatar{width:30px;height:30px;font-size:15px}.player-xp{font-family:Georgia,serif;font-size:20px;text-align:center}.player-xp small{display:block;font:7px sans-serif;color:#869078}.health{display:flex;justify-content:space-between;align-items:center;margin:13px 0 10px}.health>span{color:#aa6b54;font-size:13px;letter-spacing:1px}.health small{font-size:11px;color:#928555}.element-dots{display:flex;gap:6px;margin:12px 0}.element-dots span{width:20px;height:22px;color:#c5cab8;display:grid;place-items:center;border:1px solid #e1e4d7;border-radius:4px;font-size:12px}.element-dots span.collected{color:#94712f;border-color:#bca660;background:#efdfb2}.player-card>.muted{font-size:9px}.board-section{border:1px solid #cfd6c4;border-radius:8px;overflow:hidden;background:#eee9d7;box-shadow:0 5px 20px #1a3b2b06}.board-toolbar{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;background:#f5f4e9;border-bottom:1px solid #d4d7c5;font-size:11px}.board-toolbar>span{display:flex;gap:8px;align-items:center}.board-toolbar>div{display:flex;gap:10px;align-items:center;color:#879178;font-size:10px}.board-toolbar button{padding:2px 7px;border:0;background:none;font-size:17px}.map-scroll{height:max(420px,calc(100dvh - 300px));overflow:auto;scrollbar-width:thin;scrollbar-color:#b9c0a4 #e9e7d4}.game-map{display:block;max-width:none}.game-layout>*,.waiting-layout>*,.lobby-bottom>*,.player-top>div,.room-row>div{min-width:0}.game-heading,.waiting-title,.player-top h3,.room-row h3,.seat strong{overflow-wrap:anywhere}.board-toolbar{flex-wrap:wrap;gap:8px}.board-toolbar button{min-width:36px;min-height:36px}.hex{fill:#e9e6cf;stroke:#d0d1b3;stroke-width:.7}.hex.forest{fill:#acbea0;stroke:#9aac8b}.hex.mountain{fill:#c3bfab;stroke:#afae95}.hex.road{fill:#d6c994;stroke:#c0b884}.hex.water{fill:#a9c5c2;stroke:#98b6b3}.hex.death{fill:#466e67;stroke:#3e635d}.hex.dragon{fill:#9b6a50;stroke:#8b6249}.hex.city{fill:#dcc090;stroke:#b8a174}.hex.element{fill:#ba9852;stroke:#e4cc89;stroke-width:2}.hex.church,.hex.chapel{fill:#e6ddbf;stroke:#afa685}.hex.volcano{fill:#aa8068}.hex.glade{fill:#c9ce98}.hex.reachable{stroke:#667f43;stroke-width:1.6;cursor:pointer;filter:brightness(1.08)}.hex.reachable:hover{fill:#f5e8b2;stroke:#294d35;stroke-width:2.5}.hex.route{stroke:#c09b45;stroke-width:3;fill:#f1df96}.hex.chosen{stroke:#274e36;stroke-width:3;fill:#f9e9a0}.terrain-glyph{font-size:16px;fill:#667d57;opacity:.58}.terrain-glyph.mountain{fill:#89816a}.terrain-glyph.road{fill:#b0a16a}.terrain-glyph.death{fill:#92b4a1}.terrain-glyph.water{fill:#739890}.terrain-glyph.city,.terrain-glyph.element{fill:#574b30;opacity:1}.entrance{fill:#5b5635;font:700 13px sans-serif}.map-label-bg{fill:#f5f0d9;opacity:.9}.map-label{font:10px Georgia,serif;fill:#514e36}.map-legend{padding:11px;display:flex;gap:12px;flex-wrap:wrap;font-size:8px;color:#778168;background:#f5f4e9}.map-legend>span{display:flex;gap:4px;align-items:center}.map-legend i{width:7px;height:7px;border-radius:2px;background:#acbea0}.map-legend i.mountain{background:#aaa38e}.map-legend i.road{background:#c2b074}.map-legend i.death{background:#466e67}.map-legend i.element{background:#ba9852}.map-legend>small{margin-left:auto;font-size:8px}.phase-track{display:flex;background:#f8f6eb;padding:12px 8px;justify-content:space-around;border-top:1px solid #dedfcb;gap:5px}.phase-track>span{font-size:9px;color:#a4aa96;display:flex;align-items:center;gap:6px}.phase-track b{font-size:9px;display:grid;place-items:center;width:19px;height:19px;border:1px solid #dedfcd;border-radius:50%;font-weight:400}.phase-track .current{color:#3b6044;font-weight:600}.phase-track .current b{background:#31533e;color:#eee5c9;border-color:#31533e}.action-card{border:1px solid #d8dfcd;background:#eef1e5;padding:23px;border-radius:8px}.action-card h2{font-size:26px;line-height:1.2;margin:12px 0 14px}.action-card p{font-size:12px;line-height:1.7;color:#78846b}.action-card button{width:100%;margin-top:10px;font-size:11px;display:flex;justify-content:space-between;text-align:left;gap:10px;padding:12px}.action-card .eyebrow{font-size:8px}.movement-summary{display:flex;gap:30px;border-top:1px solid #dce2cc;border-bottom:1px solid #dce2cc;margin:18px 0;padding:14px 0}.movement-summary>span{font-family:Georgia,serif;font-size:27px}.movement-summary small{display:block;font:8px sans-serif;letter-spacing:1px;margin-top:7px;color:#949c81}.selected-place{margin-bottom:12px}.selected-place small{float:right;color:#9ba28e}.dice-icon{font-size:39px;color:#a49050;margin-top:12px}.dice-results{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:17px;border-top:1px solid #dce2cc;padding-top:13px}.dice-results small{font-size:7px;letter-spacing:1px;color:#90987c;margin-right:5px}.dice-results>span{padding:4px 7px;border:1px solid #d5dac7;background:#fcfaf1;border-radius:4px;font:11px Georgia,serif}.sheet{border:1px solid var(--line);padding:19px;border-radius:8px;margin-top:16px;background:#fffef9}.sheet .section-title h3{font-family:Georgia,serif;font-size:22px;font-weight:400}.sheet .section-title>span{color:#9c884d;font-size:12px}.sheet h4{font-size:11px;font-weight:500;margin:22px 0 10px;display:flex;justify-content:space-between}.sheet h4 small{font-size:10px;color:#a1a58e}.sheet p.muted{font-size:10px}.inventory-item{display:flex;justify-content:space-between;gap:6px;padding:10px 0;border-top:1px solid #ebecdf;align-items:center}.inventory-item strong{font-size:10px;font-weight:500}.inventory-item small{display:block;font-size:8px;color:#9a9e88;margin-top:4px}.item-buttons{display:flex;gap:3px}.item-buttons button{padding:4px;font-size:8px}.quest{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.quest .eyebrow{font-size:8px}.quest p{font-size:11px;color:#7e8871;margin:8px 0}.quest small{color:#a29363;font-size:10px}.chronicle{margin:30px 0 0;display:grid;grid-template-columns:220px 1fr;gap:25px;border-top:1px solid var(--line);padding-top:26px}.chronicle h2{font-size:24px;margin-top:8px}.log{max-height:225px;overflow:auto;padding-right:10px}.log p{font-size:11px;color:#87917b;padding:10px 0;border-bottom:1px solid #e7e9dd;display:flex;gap:12px}.log p:first-child{color:#485e45}.log p>span{color:#b2a168}.error{position:fixed;left:50%;top:16px;transform:translate(-50%);z-index:100;background:#fff0df;color:#8d482f;border:1px solid #d4a382;padding:15px 20px;box-shadow:0 6px 25px #0002;border-radius:6px;max-width:90vw;display:flex;gap:20px}.error button{padding:0;border:0;background:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#10291fd0;z-index:90;display:grid;place-items:center;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.rules-modal{background:#f8f6eb;border-radius:10px;max-width:690px;max-height:90vh;overflow:auto;padding:40px;position:relative;box-shadow:0 20px 100px #0004}.rules-modal .close{position:absolute;top:14px;right:15px;background:none;border:0;font-size:25px;padding:0 7px}.rules-modal h2{font-size:33px;margin:17px 0}.rules-modal p,.rules-modal li{color:#768169;font-size:13px;line-height:1.8}.rules-modal li{padding:5px 0}.rules-modal ol{padding-left:20px}.rules-modal h3{margin:25px 0 12px}.rules-modal .primary{margin-top:24px;width:100%}.source-links{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;margin-top:20px;color:#51714c}.ranking{padding-left:20px}.ranking li{padding:10px 0;color:#536944;font-size:12px}.ranking b{float:right}.encounter-summary{border-top:1px solid #dce2cc;margin-top:15px;padding-top:15px}.encounter-summary strong{font:18px Georgia,serif}.encounter-summary p{margin-top:10px}@media(max-width:1150px){.game-layout{grid-template-columns:160px minmax(300px,1fr) 250px;gap:14px}.game-shell{padding-left:2%;padding-right:2%}.player-card{padding:12px 9px}.action-card{padding:17px}.hero h1{font-size:54px}.hero-meta{gap:12px;font-size:9px}.character-grid{grid-template-columns:repeat(2,1fr)}.lobby-bottom{gap:25px}.phase-track>span{font-size:8px}.element-dots{gap:3px}.element-dots span{width:18px}.masthead{height:85px}}@media(max-width:1100px){.game-layout{grid-template-columns:minmax(0,1fr) 280px}.game-party{grid-column:1/-1;display:flex;gap:8px;overflow:auto;align-items:stretch}.game-party>.eyebrow,.game-party>.notice{display:none}.player-card{min-width:155px;margin:0}.map-scroll{height:clamp(420px,65dvh,900px)}.chronicle{grid-template-columns:1fr;gap:15px}.hero-meta{flex-direction:column;gap:8px}.hero{min-height:420px}.hero h1{font-size:50px}.hero-art{height:400px}.seal{width:155px;height:185px}.seal .brand-mark{width:80px;height:80px}.seal span{font-size:12px}.waiting-layout{grid-template-columns:1fr 260px;gap:20px}.lobby-bottom{grid-template-columns:1.1fr 1fr}.section-title>.muted{display:none}.create-card{padding:23px}.masthead nav{gap:18px}.brand{font-size:18px}}@media(max-width:650px){.masthead{height:78px;padding:0 5%}.brand{font-size:15px;letter-spacing:1.4px;gap:5px}.brand-mark{width:35px}.brand small{font-size:6px;letter-spacing:1.1px}nav{gap:12px}.connection,.identity{display:none}.hero{display:block;min-height:0}.hero-copy{padding:40px 0 35px}.hero h1{font-size:51px}.hero-art{position:absolute;width:230px;height:250px;right:-115px;top:50px;opacity:.23;z-index:0}.seal,.map-note{display:none}.hero-meta{flex-direction:row;flex-wrap:wrap;margin-top:22px}.hero p{max-width:310px;font-size:13px}.eyebrow{font-size:8px}.lobby-bottom{display:flex;flex-direction:column-reverse;gap:30px;padding:25px 0}.create-card{padding:24px}footer{gap:15px;flex-wrap:wrap}.waiting-title{align-items:start;flex-direction:column;gap:15px;margin-bottom:25px}.waiting-title h1{font-size:35px}.waiting-start{width:100%;flex-direction:row;align-items:center;justify-content:space-between}.waiting-layout{display:flex;flex-direction:column-reverse}.party-card{position:static;width:100%;padding:20px}.party-card h2{margin:8px 0}.party-card .notice{display:none}.party-card button{margin:12px 0}.seat{padding:10px 0}.character-grid{gap:10px}.character{padding:13px}.character.selected{padding:12px}.character h3{font-size:20px}.character p{font-size:9px}.game-shell{padding:20px var(--page-gutter)}.game-heading h1{font-size:30px}.game-heading,.turn-heading{gap:12px}.turn-heading>div{min-width:0;font-size:11px}.round{font-size:24px;padding-right:12px}.game-layout{display:flex;flex-direction:column;gap:15px}.game-party{width:100%;order:0}.player-card{min-width:165px}.board-section{width:100%;order:2}.action-column{display:contents}.action-card{order:1;width:100%;padding:20px}.action-card h2{font-size:24px;margin:8px 0}.action-card p{font-size:12px}.movement-summary{float:right;gap:20px;margin:5px 0 15px 15px;border:0;padding:0}.movement-summary>span{font-size:23px}.movement-summary small{font-size:7px}.action-card button{clear:both}.sheet{order:3;width:100%;margin-top:0}.map-scroll{height:clamp(320px,65dvh,620px)}.map-legend{gap:9px}.map-legend>small{display:none}.chronicle{margin-top:23px}.rules-modal{padding:30px 24px}.rules-modal h2{font-size:28px}.rules-modal p,.rules-modal li{font-size:12px}.error{width:90vw;font-size:12px}.dice-icon{display:none}input{font-size:16px}.board-toolbar button,.item-buttons button{min-width:44px;min-height:44px}.board-toolbar>div{gap:4px;flex-wrap:wrap}.phase-track{flex-wrap:wrap;justify-content:flex-start;gap:10px}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
