body .frontier-game .map-weather-trigger{background:var(--theme-night-raised);color:#ead39e;border:1px solid #728d77;flex:none;align-items:center;gap:7px;min-width:34px;display:flex}.map-weather-trigger svg{flex:none;width:23px;height:23px}.map-weather-trigger span{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.weather-dialog-body{background:var(--theme-night);padding:clamp(14px,3vw,28px)}.weather-dialog-body>.frontier-weather{width:100%;max-width:none;margin:0}.encounter-weather-heading{align-items:center;gap:10px;display:flex}.encounter-weather-heading svg{flex:none;width:26px;height:26px}.encounter-conditions .encounter-weather-record{font:400 14px/1.5 var(--font-frontier-ui);letter-spacing:normal;color:#46584b;margin-top:12px;display:block}.encounter-conditions.weather-storm .encounter-weather-record{color:#ced8ca}.encounter-weather-protected{font-weight:600}@media (max-width:1250px){.map-weather-trigger span{display:none}}@media (max-width:600px){body .frontier-game .map-weather-trigger{justify-content:center;width:34px;min-width:34px;max-width:34px;padding:4px}}@font-face{font-family:Alegreya;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/frontier/alegreya-400.ttf)format("truetype")}@font-face{font-family:Alegreya;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/frontier/alegreya-500.ttf)format("truetype")}@font-face{font-family:Alegreya;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/frontier/alegreya-600.ttf)format("truetype")}@font-face{font-family:Alegreya;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/frontier/alegreya-700.ttf)format("truetype")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/frontier/source-sans-3-400.ttf)format("truetype")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/frontier/source-sans-3-500.ttf)format("truetype")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/frontier/source-sans-3-600.ttf)format("truetype")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/frontier/source-sans-3-700.ttf)format("truetype")}:root{--font-frontier-display:"Alegreya", Georgia, serif;--font-frontier-ui:"Source Sans 3", "Segoe UI", sans-serif;--font-display:var(--font-frontier-display);--font-ui:var(--font-frontier-ui)}.travel-event.encounter-theater{--encounter-gold:#e5c68a;color:var(--theme-night-ink);font:16px/1.5 var(--font-frontier-ui);background:#0e1c1b;border:1px solid #766341;border-radius:16px;margin:16px 0;position:relative;overflow:clip;box-shadow:0 24px 70px #0005,inset 0 0 0 4px #e5c68a08;container-type:inline-size}.encounter-theater *{box-sizing:border-box}.encounter-theater button{font:600 16px/1.3 var(--font-frontier-ui);color:var(--theme-night-ink);background:var(--theme-night-raised);cursor:pointer;border:1px solid #726649;border-radius:8px;min-height:44px;padding:12px 18px;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}.encounter-theater button:hover:not(:disabled){background:var(--theme-night-raised);border-color:#ecd08c}:is(.encounter-theater button:focus-visible,.encounter-theater summary:focus-visible){outline-offset:4px;outline:3px solid #ffe0a2}.encounter-theater button:disabled{opacity:.65;cursor:not-allowed;box-shadow:none}.encounter-theater small{font-size:14px}.encounter-theater p{font:400 16px/1.5 var(--font-frontier-ui)}.encounter-theater .challenge-icon{flex-shrink:0;width:30px;height:30px}.encounter-scene{isolation:isolate;flex-direction:column;justify-content:space-between;min-height:380px;display:flex;position:relative;overflow:hidden}.encounter-landscape{object-fit:cover;object-position:center 40%;z-index:-3;width:100%;height:100%;animation:1.5s ease-out both encounter-scene-arrive;position:absolute;inset:0}.encounter-scene:after{content:"";z-index:-1;background:linear-gradient(#07151388,#0000 30%,#0e1c1b22 45%,#0e1c1bf2 94%,#0e1c1b),linear-gradient(90deg,#05100cb0,#0000 80%);position:absolute;inset:0}.encounter-atmosphere{z-index:-2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.encounter-topline{justify-content:space-between;align-items:center;gap:12px;padding:20px 28px;display:flex}.encounter-location{letter-spacing:.13em;text-shadow:0 1px 8px #000;font-size:14px;font-weight:700}.encounter-theater .encounter-expand{white-space:nowrap;background:#0e1c1bb0;font-size:14px}.encounter-title{max-width:800px;padding:50px 36px 26px;position:relative}.encounter-title>small{color:#e2bc78;letter-spacing:.16em;font-size:14px;font-weight:700}.encounter-theater .encounter-title h3{font:500 clamp(32px,4cqi,56px)/1.04 var(--font-frontier-display);color:var(--theme-night-ink);text-shadow:0 3px 24px #000;margin:8px 0 16px}.encounter-title p{color:#d4dacd;max-width:630px;margin:0}.encounter-seal{color:#ecc787;background:#172a24cf;border:1px solid #cbac70;border-radius:50%;place-items:center;width:48px;height:48px;display:grid;position:absolute;top:-10px;left:36px;box-shadow:0 0 30px #d1a45622}.is-hostile .encounter-seal{color:#f7b19a;background:#351e19d9;border-color:#aa6e51}.encounter-table{padding:0 32px 26px}.encounter-steps{color:#82998e;border-top:1px solid #cfb27333;border-bottom:1px solid #cfb27333;justify-content:space-between;gap:12px;margin:0 0 22px;padding:14px 0;list-style:none;display:flex}.encounter-steps li{font-variant-numeric:tabular-nums;letter-spacing:.05em;align-items:center;gap:10px;font-size:14px;display:flex}.encounter-steps .is-current{color:#f1ce86}.encounter-choice-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;display:grid}.encounter-theater .encounter-approach{text-align:left;background:linear-gradient(140deg,#22372e,#142823);border-color:#47604b;grid-template-columns:34px 1fr auto;align-items:center;gap:8px 12px;min-height:118px;padding:18px;display:grid;position:relative}.encounter-approach strong{font:600 22px/1.2 var(--font-frontier-display);display:block}.encounter-approach small{text-transform:uppercase;letter-spacing:.1em;color:#afbb9e;display:block}.encounter-approach b{font:600 28px/1 var(--font-frontier-ui);color:#e6c688;text-align:right}.encounter-approach b small{font:400 14px/1.5 var(--font-frontier-ui);text-transform:none;letter-spacing:0}.encounter-approach em{color:var(--theme-night-muted);grid-column:2/-1;font-size:14px;font-style:normal}.encounter-theater .encounter-approach[aria-pressed=true]{background:linear-gradient(140deg,#464431,#22382b);border-color:#e3bc75;transform:translateY(-2px);box-shadow:inset 0 0 0 1px #dbb47755,0 4px 20px #0003}.encounter-preparation{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:28px;margin:26px 0;display:grid}.encounter-section-label{color:#c7b489;letter-spacing:.1em;align-items:center;gap:10px;font-size:14px;display:flex}.encounter-pool{flex-wrap:wrap;gap:12px;margin:18px 0;display:flex}.encounter-source{border:1px solid color-mix(in srgb,var(--die-color),white 35%);background:linear-gradient(145deg,color-mix(in srgb,var(--die-color),#000 24%),color-mix(in srgb,var(--die-color),#000 60%));border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:92px;min-height:110px;transition:transform .2s;display:flex;box-shadow:0 5px #0005,0 12px 18px #0004}.encounter-source:hover{transform:translateY(-4px)rotate(-2deg)}.encounter-source strong{font-size:14px}.encounter-source small{color:#ded8c5}.encounter-pool-note{color:var(--theme-night-muted);max-width:560px;margin:12px 0}.encounter-rules{color:#b1c0b0;font-size:14px}.encounter-rules summary{cursor:pointer;min-height:44px;padding:12px 0}.encounter-rules p{color:var(--theme-night-muted)}.encounter-stakes{background:#d9bc7908;border:1px solid #9a81593d;border-left:3px solid #b39a60;border-radius:4px;align-self:start;padding:20px}.encounter-stakes>small{color:#bbaa85;font-size:14px;display:block}.encounter-stakes>strong{font:500 28px/1.1 var(--font-frontier-display);color:#efd6a3;margin:10px 0;display:block}.encounter-stakes p{color:var(--theme-night-muted);margin:10px 0 18px}.encounter-stakes>div{border-top:1px solid #b49a6229;justify-content:space-between;gap:16px;padding:12px 0;display:flex}.encounter-stakes b{color:#efa995}.encounter-actions{border-top:1px solid #c6a36c38;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:20px;display:flex}.encounter-theater .encounter-retreat{color:#b6c3b5;background:0 0;border-color:#4c5d4e}.encounter-theater .encounter-commit{color:#172c22;background:linear-gradient(145deg,#f1d798,#c3a568);border:1px solid #f7e0a6;grid-template-columns:32px 1fr;gap:2px 10px;min-width:250px;display:grid;box-shadow:0 4px #6e5732,0 0 30px #d5a75b18}.encounter-commit .challenge-icon{grid-row:span 2;align-self:center}.encounter-commit small{color:var(--theme-parchment-ink);grid-column:2;font-weight:400}.encounter-theater .encounter-commit:hover:not(:disabled){background:#f6dea4;transform:translateY(-2px);box-shadow:0 6px #6e5732,0 0 30px #d5a75b35}.encounter-result-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.encounter-result-heading small{color:#bbaa82;text-transform:uppercase;letter-spacing:.08em}.encounter-result-heading h4{font:500 32px/1.15 var(--font-frontier-display);color:#f4e2b7;margin:6px 0}.encounter-verdict{color:#cce7ab;white-space:nowrap;border:1px solid #8da770;border-radius:5px;padding:8px 14px}.encounter-verdict.is-setback{color:#f2b7a2;border-color:#ae7656}.encounter-dice-stage{background:radial-gradient(#2d4438 0,#152c25 48%,#0a1916 100%);border:1px solid #8d77504d;border-radius:12px;padding:36px 20px 22px;position:relative;overflow:hidden;box-shadow:inset 0 8px 35px #0006}.encounter-dice-orbit{border:1px solid #d2b37315;border-radius:50%;width:240px;height:240px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(20deg);box-shadow:0 0 0 24px #d2b37305,0 0 0 25px #d2b37312,0 0 0 60px #d2b37303}.travel-dice{perspective:900px;flex-wrap:wrap;justify-content:center;gap:22px;display:flex;position:relative}.encounter-die-slot{flex-direction:column;align-items:center;gap:12px;width:100px;display:flex}.encounter-die-slot>small{color:#c6bb9b;text-align:center;font-size:14px}.encounter-theater .table-die{text-align:center;border:1px solid #f6dfad99;border-radius:14px;width:82px;min-height:88px;padding:6px;position:relative;box-shadow:inset 2px 3px 2px #fff2,inset -3px -4px 2px #0003,0 7px #070f10,0 16px 18px #0007}.encounter-theater .table-die svg{width:100%;display:block}.encounter-theater .table-die small{color:inherit;font-size:14px}.encounter-theater .table-die.is-success{outline:2px solid #e8d198;animation:.5s ease-out both encounter-success;box-shadow:inset 0 0 20px #fff1,0 5px #263b21,0 0 28px #ceda7266}.encounter-theater.is-rolling .table-die{animation:encounter-cast 1.2s cubic-bezier(.18,.6,.3,1) var(--roll-delay) both}.encounter-tray-caption{text-align:center;color:#9eaf9a;letter-spacing:.06em;margin-top:28px;font-size:14px;display:block;position:relative}.encounter-aftermath{grid-template-columns:1fr 1fr;gap:18px;margin-top:20px;animation:.5s ease-out both encounter-reveal;display:grid}.encounter-aftermath.is-concealed{visibility:hidden;animation:none}.encounter-outcome-card,.encounter-loot-card,.encounter-no-loot{background:var(--theme-night);border:1px solid #6c765447;border-radius:9px;align-items:center;gap:18px;padding:20px;display:flex}.encounter-outcome-card>.challenge-icon{color:#d3be8b;width:44px;height:44px}.encounter-aftermath small{color:#b8bf9a;letter-spacing:.06em;font-size:14px;display:block}.encounter-aftermath strong{font:500 27px/1.1 var(--font-frontier-display);color:#efdcae;margin:6px 0;display:block}.encounter-aftermath p{color:var(--theme-night-muted);margin:6px 0 0}.encounter-loot-card{background:#e9d9b3;border-color:#e3c68b;animation:.7s .1s both encounter-loot-arrive;box-shadow:0 5px #8e7751}.encounter-loot-card small,.encounter-loot-card p{color:var(--theme-parchment-muted)}.encounter-loot-card strong{color:var(--theme-parchment-ink)}.encounter-loot-card .resource-illustration{background-repeat:no-repeat;background-size:500% 200%;border-radius:6px;flex:0 0 90px;width:90px;height:100px;display:block}.encounter-loot-card img.resource-illustration{object-fit:contain;background:var(--theme-parchment)}.encounter-no-loot{display:block}.encounter-result-status{color:var(--theme-night-muted);margin:18px 0 0}.encounter-dialog{width:min(1200px,96vw);max-width:96vw;max-height:94dvh;color:var(--theme-night-ink);background:#0e1c1b;border:0;border-radius:16px;margin:auto;padding:0;overflow:auto}.encounter-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#030c0be8}.encounter-dialog .encounter-theater{margin:0}@keyframes encounter-scene-arrive{0%{opacity:.4;transform:scale(1.045)}to{opacity:1;transform:scale(1)}}@keyframes encounter-cast{0%{opacity:.25;transform:translate3d(-30px,-70px,60px)rotateX(130deg)rotate(-35deg)}40%{opacity:1;transform:translate(14px,8px)rotateX(-20deg)rotate(16deg)}65%{transform:translate(-4px,-18px)rotateX(12deg)rotate(-7deg)}85%{transform:translateY(3px)rotate(3deg)}to{transform:none}}@keyframes encounter-success{0%{transform:scale(.92)}60%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes encounter-reveal{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes encounter-loot-arrive{0%{opacity:0;transform:translateY(24px)rotate(4deg)}to{opacity:1;transform:none}}@container (width<=650px){.encounter-scene{min-height:340px}.encounter-title{padding:50px 20px 22px}.encounter-seal{left:20px}.encounter-topline{align-items:flex-start;padding:14px}.encounter-location{letter-spacing:.04em;max-width:180px}.encounter-table{padding:0 16px 22px}.encounter-steps{gap:8px}.encounter-steps li{font-size:14px;display:block}.encounter-steps span{letter-spacing:0;display:block}.encounter-preparation,.encounter-aftermath{grid-template-columns:1fr;gap:18px}.encounter-result-heading{flex-wrap:wrap}.encounter-actions>button{width:100%}.encounter-source{width:80px}.encounter-theater .table-die{border-radius:10px;width:64px;min-height:72px}.encounter-die-slot{width:74px}.travel-dice{gap:14px}.encounter-dice-stage{padding:32px 12px 20px}.encounter-title p{max-width:430px}}@media (prefers-reduced-motion:reduce){.encounter-theater *,.encounter-theater :before,.encounter-theater :after{transition:none!important;animation:none!important}}.encounter-playground{min-height:100dvh;color:var(--theme-night-ink);font:16px/1.5 var(--font-frontier-ui);background:radial-gradient(at 50% 0,#314335,#0a1715 75%);padding:28px clamp(16px,4vw,60px) 60px}.encounter-playground>header,.encounter-playground>nav,.encounter-playground>.travel-event,.encounter-playground>p{max-width:1160px;margin-left:auto;margin-right:auto}.encounter-playground>header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.encounter-playground h1{font:500 36px/1.1 var(--font-frontier-display);color:#ecd09a;margin:5px 0}.encounter-playground>header small{letter-spacing:.12em;color:#a7b99f;font-size:14px}.encounter-playground a{color:#e5c68a}.encounter-preview-tabs{flex-wrap:wrap;gap:10px;margin-bottom:22px;display:flex}.encounter-preview-tabs button{background:var(--theme-night-raised);color:var(--theme-night-ink);min-height:46px;font:600 16px var(--font-frontier-ui);cursor:pointer;border:1px solid #62745a;border-radius:7px;padding:11px 16px}.encounter-preview-tabs button[aria-pressed=true]{color:#163023;background:#d4bb80;border-color:#f1dba5}.encounter-preview-tabs button:focus-visible{outline-offset:3px;outline:3px solid #ffe0a2}.encounter-playground>p{color:var(--theme-night-muted);font-size:16px}.creature-tell{background:linear-gradient(110deg,#392d2380,#182b24);border-left:3px solid #b28657;border-radius:4px;align-items:center;gap:14px;margin-bottom:18px;padding:16px 20px;display:flex}.creature-tell>.challenge-icon{color:#d0a978}.creature-tell small{color:#d7b98b;letter-spacing:.08em;font-weight:650}.creature-tell p{color:#ded2bb;margin:4px 0 0}.creature-conditions{flex-wrap:wrap;gap:8px;margin:16px 0 24px;display:flex}.creature-conditions span{background:var(--theme-night-raised);color:#e6d8b1;border:1px solid #6f8260;border-radius:5px;padding:7px 10px;font-size:14px}.creature-conditions .is-danger{color:#ffc4a7;background:#522d25;border-color:#bc725b}.creature-conditions .is-opening{color:#ffe49b;background:#4b4b29;border-color:#d3b875}.creature-response{border-bottom:1px solid #9c835657;margin:22px 0;padding:0 0 24px}.creature-answer{background:var(--theme-night-raised);border-left:4px solid #adbb75;border-radius:6px;align-items:center;gap:18px;margin:18px 0;padding:24px;animation:.5s both encounter-reveal;display:flex}.creature-answer.is-enraged{background:linear-gradient(110deg,#522d23,#26362a);border-left-color:#ed9964}.creature-answer small{letter-spacing:.18em;color:#e6b98b;margin-bottom:8px;display:block}.creature-answer strong{font:500 24px/1.3 var(--font-frontier-display);color:#f4e0b2}.creature-answer p{color:#d6c5a2;margin:12px 0 0}.creature-tactics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.creature-plan{padding:22px 0}.creature-plan h4{font:500 28px var(--font-frontier-display);color:#eecb8c;margin:0}.creature-plan p,.creature-rules{color:var(--theme-night-muted)}.creature-plan .creature-bonus{color:#eed398}.creature-exit{background:var(--theme-night-raised);border:1px solid #778872;border-radius:10px;align-items:center;gap:20px;padding:24px;display:flex}.creature-exit h4{font:600 34px var(--font-frontier-display);color:#e7d3a4;margin:8px 0}.creature-loot{min-width:150px;color:var(--theme-parchment-ink);text-align:center;background:#eddbb3;border-radius:8px;gap:8px;margin-left:auto;padding:16px;display:grid}.creature-loot .resource-illustration{background-repeat:no-repeat;background-size:500% 200%;width:100px;height:95px;margin:auto;display:block}.creature-loot small{color:var(--theme-parchment-muted);letter-spacing:0}@container (width<=650px){.creature-tactics{grid-template-columns:1fr}.creature-vitals>div:first-child{flex-wrap:wrap}.creature-answer{align-items:flex-start;padding:18px}.creature-loot{width:100%;margin-left:0}}.encounter-resistance{background:linear-gradient(100deg,#38282080,#182922);border:1px solid #92745666;border-radius:10px;margin:0 0 24px;padding:18px 22px;position:relative}.resistance-caption{color:#d0b58c;letter-spacing:.12em;justify-content:space-between;align-items:center;gap:14px;font-size:14px;display:flex}.resistance-caption strong{letter-spacing:0;font-variant-numeric:tabular-nums;color:#e9d5b3}.resistance-blocks{gap:14px;margin:16px 0 12px;display:flex}.resistance-slot{background:#070f11;border:1px solid #b8886244;border-radius:6px;flex:1;height:58px;position:relative;box-shadow:inset 0 3px 14px #0007}.resistance-shell{color:#ffe0a7;background:linear-gradient(160deg,#aa6545,#573528 60%,#b07845);border:1px solid #d6a36a;border-radius:5px;justify-content:center;align-items:center;gap:16px;font-size:22px;display:flex;position:absolute;inset:0;box-shadow:inset 0 3px #f4cf922b,0 4px #321d14}.is-discovery .resistance-shell{background:linear-gradient(160deg,#4c6e61,#273c35 65%,#758667)}.resistance-cleared-mark{color:#e6d296;opacity:0;place-items:center;font-size:32px;display:grid;position:absolute;inset:0}.resistance-slot.is-broken .resistance-shell{opacity:0;transform:scale(.85)}.resistance-slot.is-broken .resistance-cleared-mark{opacity:1}.resistance-slot.is-impact{animation:.45s ease-out resistance-impact}.resistance-slot.is-impact .resistance-shell{animation:.5s both resistance-crush}.resistance-fragments{pointer-events:none;position:absolute;inset:0}.resistance-fragments i{opacity:0;clip-path:polygon(0 0,100% 25%,80% 100%,20% 85%);background:#e7bb6e;width:18%;height:15px;position:absolute;top:40%;left:45%}.is-impact .resistance-fragments i{animation:.65s ease-out both resistance-shard}.resistance-hit{color:#fff4c7;font:700 24px var(--font-frontier-ui);text-shadow:0 0 22px #ffcc5c;pointer-events:none;place-items:center;animation:.65s both resistance-hit-word;display:grid;position:absolute;inset:0}.encounter-resistance>small{color:#acb6a2;font-size:14px}.encounter-resistance.is-cleared{background:linear-gradient(110deg,#8c793329,#23413166);border-color:#c7b16d}.encounter-victory{isolation:isolate;background:linear-gradient(115deg,#3d4826,#1e372d 70%);border:1px solid #e9c375;border-radius:10px;align-items:center;gap:24px;margin:0 0 24px;padding:30px;animation:.65s cubic-bezier(.16,.8,.3,1) both victory-arrival;display:flex;position:relative;overflow:hidden;box-shadow:0 0 45px #dcba5b22,inset 0 0 30px #e5b95a0d}.encounter-victory>.challenge-icon{color:#f5d180;filter:drop-shadow(0 0 14px #e3ba5999);width:72px;height:72px}.encounter-victory small{letter-spacing:.2em;color:#e3c886;font-size:14px}.encounter-victory h4{font:600 clamp(30px,5cqi,60px)/1 var(--font-frontier-display);letter-spacing:.06em;color:#ffedb6;text-shadow:0 2px 20px #f8bf4c44;margin:7px 0 12px}.encounter-victory p{color:#d8dfbc;max-width:560px;margin:0}.victory-perfect{letter-spacing:.1em;color:#edce84;text-align:right;max-width:150px;margin-left:auto;font-size:14px}.victory-rays{z-index:-1;pointer-events:none;background:repeating-conic-gradient(#0000 0deg 12deg,#f4d78809 12deg 20deg,#0000 20deg 30deg);animation:2.5s ease-out both victory-rays;position:absolute;inset:-150%}.is-victorious .encounter-seal{color:#ffe4a0;background:#57623c;border-color:#f2d28a;box-shadow:0 0 35px #e6c37566}@keyframes resistance-crush{0%{opacity:1;filter:brightness();transform:scale(1)}20%{opacity:1;filter:brightness(2);transform:scale(1.08)}to{opacity:0;filter:brightness();transform:scale(.7)}}@keyframes resistance-impact{0%,to{transform:none}20%{transform:translate(-5px);box-shadow:0 0 40px #eeca77aa}45%{transform:translate(5px)}65%{transform:translate(-2px)}}@keyframes resistance-shard{0%{opacity:1;transform:translate(0)rotate(0)}to{opacity:0;transform:translate(var(--fragment-x),var(--fragment-y)) rotate(var(--fragment-turn))}}@keyframes resistance-hit-word{0%{opacity:0;transform:scale(1.5)}20%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-24px)}}@keyframes victory-arrival{0%{opacity:0;transform:scale(.92)translateY(15px)}65%{opacity:1;transform:scale(1.02)}to{opacity:1;transform:none}}@keyframes victory-rays{0%{opacity:0;transform:rotate(-15deg)}to{opacity:1;transform:rotate(10deg)}}@container (width<=650px){.encounter-victory{flex-wrap:wrap;gap:14px;padding:22px}.encounter-victory>.challenge-icon{width:48px;height:48px}.victory-perfect{text-align:left;max-width:none;margin-left:0}.resistance-caption{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.encounter-resistance *,.encounter-victory,.encounter-victory *{animation:none!important}}.discovery-ledger{grid-template-columns:1.1fr 1fr;gap:24px;margin-bottom:28px;display:grid}.discovery-haul{background:linear-gradient(135deg,#364535,#182f29);border:1px solid #8f9360;border-radius:12px;align-items:center;gap:24px;padding:24px;display:flex}.discovery-haul>.resource-illustration{background-repeat:no-repeat;background-size:500% 200%;border-radius:8px;flex:0 0 100px;width:100px;height:124px;display:block;box-shadow:0 8px 16px #0004}.discovery-haul>div:first-child:has(img){flex:0 0 100px}.discovery-haul img{object-fit:contain;filter:drop-shadow(0 9px 9px #0006);width:100px;height:124px}.discovery-haul small,.discovery-pressure>small,.discovery-survey>small{letter-spacing:.12em;color:#d8c598;font-size:14px;display:block}.discovery-haul strong{font-family:var(--font-frontier-display),Georgia,serif;color:#f1dfad;margin:8px 0;font-size:30px;display:block}.discovery-haul p,.discovery-pressure p,.discovery-survey p{color:var(--theme-night-muted);margin:8px 0;font-size:16px;line-height:1.65}.discovery-pressure{background:linear-gradient(125deg,#412b2477,#1c3029);border:1px solid #806045;border-radius:12px;padding:24px}.discovery-pressure h4,.discovery-survey h4{margin:10px 0 16px;font-size:23px;line-height:1.2}.discovery-searches{gap:10px;margin:16px 0;display:flex}.discovery-searches span{color:#f3db9f;font-variant-numeric:tabular-nums;background:#3c4838;border:1px solid #b6a574;border-radius:5px;place-items:center;min-width:44px;height:40px;font-size:18px;display:grid}.discovery-searches .is-spent{color:#b39179;background:#422e28;border-color:#795340;text-decoration:line-through}.discovery-options{grid-template-columns:minmax(0,1fr) 280px;gap:24px;display:grid}.discovery-survey{background:linear-gradient(135deg,#263d40,#122b2a);border:1px solid #668781;border-radius:12px;align-self:start;padding:24px}.discovery-survey>svg{color:#c6ddd0;width:32px;height:32px;margin-bottom:15px}.discovery-survey button{width:100%;min-height:48px;margin:12px 0}.discovery-survey>small:last-child{letter-spacing:0;line-height:1.5}.discovery-theater .encounter-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:800px){.discovery-ledger,.discovery-options,.discovery-theater .encounter-choice-grid{grid-template-columns:1fr}.discovery-haul{gap:16px;padding:18px}.discovery-haul strong{font-size:25px}.discovery-haul img{width:78px;height:98px}.discovery-haul>.resource-illustration{flex-basis:78px;width:78px;height:98px}}.encounter-conditions{background:var(--theme-parchment);color:var(--theme-parchment-ink);font:16px/1.55 var(--font-frontier-ui);overflow-wrap:anywhere;border:1px solid #b99b61;border-left:4px solid #8f7847;border-radius:10px;margin:12px 0;padding:18px 22px}.encounter-conditions p{margin:8px 0}.encounter-conditions ul{margin-bottom:0;padding-left:22px}.encounter-conditions.weather-storm{color:var(--theme-night-ink);background:#253638;border-color:#9e91b9}.encounter-conditions.weather-rain{background:#d9e3df}body .encounter-theater .encounter-table,body .encounter-theater .discovery-options>*,body .encounter-theater .creature-plan{box-sizing:border-box;min-width:0}body .encounter-theater .creature-plan p{white-space:normal;overflow-wrap:break-word;max-width:68ch;margin:10px 0 18px;line-height:1.65}body .encounter-theater .encounter-pool{background:radial-gradient(at top,#34524744,#07151266);border:1px solid #bca47133;border-radius:12px;align-items:stretch;gap:12px;margin:20px 0 12px;padding:16px;box-shadow:inset 0 2px 14px #0003}body .encounter-theater .encounter-source{box-sizing:border-box;text-align:center;width:120px;min-height:126px;color:var(--theme-night-ink);flex:0 0 120px;gap:8px;padding:14px 8px}body .encounter-theater .encounter-source .challenge-icon{flex-shrink:0;width:26px;height:26px}body .encounter-theater .encounter-source strong{letter-spacing:0;font-size:14px;line-height:1.25}body .encounter-theater .encounter-source small{color:#f0e7d6;letter-spacing:0;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px;line-height:1.4;display:block}body .encounter-theater .encounter-actions{box-sizing:border-box;white-space:normal;align-items:stretch;gap:16px;width:auto;margin-top:20px;padding:20px 0 8px;position:static;inset:auto}body .encounter-theater .encounter-actions>button{box-sizing:border-box;white-space:normal;max-width:100%;min-height:64px;padding:12px 18px;line-height:1.4}body .encounter-theater .encounter-commit{text-align:left;color:#172c22;grid-template-rows:auto auto;grid-template-columns:28px minmax(0,1fr);gap:4px 12px}body .encounter-theater .encounter-commit>.challenge-icon{grid-area:1/1/3;width:26px;height:26px}body .encounter-theater .encounter-commit-label{color:#172c22;grid-area:1/2;min-width:0;font-size:16px;font-weight:700}body .encounter-theater .encounter-commit small{color:#36412c;letter-spacing:0;grid-area:2/2;font-size:14px;font-weight:500;line-height:1.4}body .encounter-theater .creature-rules{max-width:80ch;margin:18px 0 0;font-size:14px;line-height:1.65}@container (width<=800px){.discovery-options,.discovery-ledger{grid-template-columns:minmax(0,1fr)}}@container (width<=450px){body .encounter-theater .encounter-pool{gap:10px;padding:12px}body .encounter-theater .encounter-source{flex:calc(50% - 5px);gap:6px;width:auto;min-width:0;max-width:calc(50% - 5px);min-height:108px;padding:12px 6px}body .encounter-theater .encounter-source strong,body .encounter-theater .encounter-source small{font-size:14px}body .encounter-theater .encounter-actions>button{width:100%;min-width:0}}body .encounter-theater .encounter-loot-card{background:var(--theme-parchment);text-align:left;color:var(--theme-parchment-ink);border:1px solid #b8a071;border-radius:12px;flex:0 0 246px;margin-left:auto;padding:0;display:block;overflow:hidden;box-shadow:0 4px #a48b58,0 14px 24px #0004}body .encounter-theater .loot-art{background:radial-gradient(#fffbee,#e9dcbb);border:1px solid #d9c9a4;border-radius:7px;place-items:center;height:140px;margin:10px 10px 0;display:grid;position:relative}body .encounter-theater .loot-art .resource-illustration{object-fit:contain;filter:drop-shadow(0 6px 5px #6c533326);background-size:500% 200%;border:0;border-radius:5px;width:120px;height:120px;margin:0;display:block}body .encounter-theater .loot-quantity{background:var(--theme-night-raised);color:var(--theme-night-ink);font-variant-numeric:tabular-nums;border:1px solid #b49c65;border-radius:6px;padding:3px 10px;font-size:16px;font-weight:700;position:absolute;top:9px;right:9px}body .encounter-theater .loot-details{padding:16px 18px 18px}body .encounter-theater .loot-details small{color:#655638;font:700 14px/1.4 var(--font-frontier-ui);letter-spacing:.04em;display:block}body .encounter-theater .loot-details strong{color:var(--theme-parchment-ink);font:600 25px/1.15 var(--font-frontier-display);margin:7px 0 10px;display:block}body .encounter-theater .loot-details p{color:var(--theme-parchment-muted);font:400 16px/1.5 var(--font-frontier-ui);letter-spacing:0;max-width:none;margin:0}@container (width<=650px){body .encounter-theater .encounter-loot-card{flex-basis:100%;max-width:320px;margin-left:0}}.encounter-theater .encounter-approach{min-width:0;scroll-margin:20px}.encounter-approach>span{min-width:0}.encounter-approach strong{overflow-wrap:break-word}.encounter-theater .encounter-approach[aria-pressed=true]{border-color:#f2d296;box-shadow:inset 3px 0 #f2d296,inset 0 0 0 1px #dbb47744,0 5px 20px #0003}.encounter-section-label{margin-bottom:14px;line-height:1.45}.encounter-theater .creature-vitals,.encounter-theater .discovery-haul,.encounter-theater .discovery-pressure{min-width:0}.encounter-theater .creature-plan{padding:24px 0 16px}.encounter-theater .creature-plan h4{text-wrap:balance;line-height:1.2}.encounter-theater .creature-plan p{color:var(--theme-night-muted)}.encounter-theater .encounter-actions{border-top-color:#cfb27355}.encounter-theater .encounter-retreat{color:#d3dcc9;border-color:#687b68}.encounter-theater .encounter-result-heading h4{text-wrap:balance;max-width:28ch}.encounter-theater .creature-response,.encounter-theater .encounter-resolution-anchor,.encounter-theater button:focus,.encounter-theater summary:focus{scroll-margin-top:150px}.encounter-theater .encounter-victory>div:not(.encounter-loot-card){min-width:0}.encounter-theater .encounter-victory h4{overflow-wrap:break-word;text-wrap:balance}.encounter-theater .encounter-die-slot>small{line-height:1.4}.encounter-theater .discovery-survey{background:linear-gradient(140deg,#263d40,#122b2a);border-color:#66878180}.encounter-theater .discovery-survey h4{font-family:var(--font-frontier-display);color:var(--theme-night-ink);line-height:1.2}.encounter-dialog{overscroll-behavior:contain;scrollbar-color:#a28e63 #112520;scrollbar-width:thin}@container (width<=650px){.encounter-scene{min-height:290px}.encounter-title{padding-top:44px}.encounter-theater .encounter-approach{grid-template-columns:28px minmax(0,1fr) auto;gap:8px 10px;min-height:102px;padding:14px}.encounter-approach .challenge-icon{width:26px;height:26px}.encounter-approach strong{font-size:21px}.encounter-approach b{font-size:25px}.encounter-approach small{letter-spacing:.05em}.encounter-theater .discovery-ledger{gap:12px;margin-bottom:20px}.encounter-theater .discovery-pressure,.encounter-theater .discovery-survey{padding:18px}.encounter-theater .discovery-survey>svg{float:left;margin:0 12px 12px 0}.encounter-theater .discovery-survey>small:first-of-type{letter-spacing:.04em}.encounter-theater .discovery-survey h4{clear:both}.encounter-theater .creature-plan{padding:20px 0 6px}.encounter-theater .creature-vitals{padding:18px}.encounter-theater .encounter-victory{gap:16px;padding:20px}.encounter-theater .encounter-victory>.challenge-icon{width:40px;height:40px}.encounter-theater .encounter-victory small{letter-spacing:.1em}body .encounter-theater .loot-details small{letter-spacing:.03em}body .encounter-theater .encounter-actions{gap:12px}body .encounter-theater .encounter-actions>.encounter-commit{min-height:68px}body .encounter-theater .encounter-actions>.encounter-retreat{min-height:48px}.encounter-theater .creature-answer{gap:12px;padding:16px}.encounter-theater .creature-answer strong{font-size:22px}.encounter-theater .creature-answer small{letter-spacing:.08em}}body .encounter-theater details.encounter-rules{color:#d9dfc9;background:#172e2766;border:1px solid #96a58a55;border-radius:8px;max-width:none;margin:18px 0 0}body .encounter-theater details.encounter-rules>summary{cursor:pointer;color:#e6d5a7;min-height:44px;padding:12px 16px;font-size:16px;font-weight:600;line-height:1.5}body .encounter-theater details.encounter-rules[open]>summary{border-bottom:1px solid #96a58a40}body .encounter-theater details.encounter-rules>p{color:#d3dcc8;max-width:85ch;margin:12px 16px;font-size:16px;line-height:1.6}body .encounter-theater details.encounter-rules>summary:focus-visible{outline-offset:3px;outline:3px solid #d9b767}body .encounter-theater .encounter-risk-note{color:#dbcba6;margin:14px 0 0;font-size:14px;line-height:1.6}body .encounter-theater .encounter-check-summary{gap:8px;margin:14px 0 20px;font-size:16px;line-height:1.6;display:grid}body .encounter-theater .encounter-check-summary strong{color:#e6d5a7}body .encounter-theater .encounter-check-summary span{color:var(--theme-night-muted)}body .creature-theater .creature-actions{align-items:flex-end;gap:24px}body .creature-theater .creature-concessions{flex:580px;min-width:0}body .creature-theater .creature-concessions-heading{flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin-bottom:12px;display:flex}body .creature-theater .creature-concessions-heading>strong{color:#ebd5a3;font:600 22px/1.2 var(--font-frontier-display)}body .creature-theater .creature-concessions-heading>span{color:var(--theme-night-muted);font:400 14px/1.5 var(--font-frontier-ui);letter-spacing:0}body .creature-theater .creature-concession-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px;display:grid}body .creature-theater .creature-concession-option{width:100%;min-width:0;color:var(--theme-night-ink);text-align:left;white-space:normal;box-sizing:border-box;background:linear-gradient(120deg,#293d30,#182d26);border:1px solid #7b886b;border-radius:8px;margin:0;padding:14px 16px;line-height:1.5;transition:background .16s,border-color .16s;display:block}body .creature-theater .creature-concession-option:hover:not(:disabled){background:#334635;border-color:#d5bd80}body .creature-theater .creature-concession-option:focus-visible{outline-offset:3px;outline:3px solid #f0ca79}body .creature-theater .creature-concession-label{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}body .creature-theater .creature-concession-label>strong{color:var(--theme-night-ink);font:600 16px/1.4 var(--font-frontier-ui)}body .creature-theater .creature-concession-label>span{color:#f0ca87;font:600 14px/1.5 var(--font-frontier-ui);font-variant-numeric:tabular-nums}body .creature-theater .creature-concession-description{color:var(--theme-night-muted);font:400 14px/1.5 var(--font-frontier-ui);letter-spacing:0;margin-top:5px;display:block}body .creature-theater .creature-concession-option:disabled{opacity:1;background:var(--theme-night);cursor:not-allowed;box-shadow:none;border-color:#536156}body .creature-theater .creature-concession-option:disabled .creature-concession-label>strong,body .creature-theater .creature-concession-option:disabled .creature-concession-label>span{color:#b6c0b2}body .creature-theater .creature-concession-option:disabled .creature-concession-description{color:#adb9a9}body .creature-theater .creature-concession-reason{color:#d7bea0;font:400 14px/1.45 var(--font-frontier-ui);letter-spacing:0;border-top:1px solid #82907835;margin-top:9px;padding-top:8px;display:block}body .creature-theater .creature-concessions>p{color:var(--theme-night-muted);font:400 16px/1.6 var(--font-frontier-ui);margin:0}body .creature-theater .creature-concession-paid{background:linear-gradient(110deg,#49402a77,#1b3128);border:1px solid #a68c5766;border-radius:8px;align-items:center;gap:14px;margin:16px 0;padding:16px 20px;display:flex}body .creature-theater .creature-concession-paid>.challenge-icon{color:#e1c689;flex:0 0 28px;width:28px;height:28px}body .creature-theater .creature-concession-paid>span{gap:4px;display:grid}body .creature-theater .creature-concession-paid strong{color:var(--theme-night-muted);font:400 14px/1.4 var(--font-frontier-ui)}body .creature-theater .creature-concession-paid>span>span{color:#f2d395;font:600 18px/1.4 var(--font-frontier-ui);font-variant-numeric:tabular-nums}@container (width<=650px){body .creature-theater .creature-actions{gap:18px}body .creature-theater .creature-actions>.encounter-commit{width:100%;min-width:0}body .creature-theater .creature-concession-option{padding:13px 14px}body .creature-theater .creature-concession-paid{padding:14px 16px}}@media (prefers-reduced-motion:reduce){body .creature-theater .creature-concession-option{transition:none}}.encounter-theater>.ui-steps{margin:16px 0 0;padding:0 4px}.encounter-theater [hidden]{display:none!important}.encounter-glance{background:#ffffff0a;border:1px solid #c6a36c55;border-radius:10px;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin:16px 0;padding:14px 18px;display:flex}.encounter-glance strong{font:600 1.25rem/1.3 var(--ui-heading-font);color:#f6e1ad}.encounter-glance span{color:var(--theme-night-muted)}.encounter-site-details{background:#ffffff06;border:1px solid #c6a36c38;border-radius:10px;margin:0 0 16px}.encounter-site-details>summary{cursor:pointer;color:#e8d5a6;padding:10px 16px;font-weight:600}.encounter-site-details[open]>summary{border-bottom:1px solid #c6a36c38}.encounter-site-details>:not(summary){margin-inline:16px}.encounter-site-details>:last-child{margin-bottom:16px}.encounter-theater .encounter-action-bar{border-radius:0 0 10px 10px;margin-inline:-1px}.encounter-theater .encounter-action-bar>.encounter-commit{text-align:left;min-width:250px}.encounter-theater .encounter-action-bar>.encounter-take{color:#172c22;background:linear-gradient(145deg,#f1d798,#c3a568);border:1px solid #f7e0a6}.encounter-theater .encounter-action-bar>details.encounter-rules{background:0 0;border:0;margin:0 auto 0 0;padding:0}.encounter-theater .encounter-action-bar>details.encounter-rules[open]{margin:0;padding:4px 0 8px}.travel-confrontation .encounter-return.ui-action-bar{z-index:3;border-radius:0;max-width:none;margin:16px 0 0;position:sticky;bottom:0}@media (max-width:600px){.encounter-theater .encounter-action-bar>.encounter-commit{min-width:0}.encounter-theater .encounter-action-bar>details.encounter-rules{flex-basis:100%;order:5}}.encounter-statbar{z-index:8;isolation:isolate;color:var(--theme-night-ink);font:500 14px/1.25 var(--font-frontier-ui);font-variant-numeric:lining-nums tabular-nums;background:linear-gradient(110deg,#182c25,#101f1c 65%,#2a2620);border-top:1px solid #b8a07180;border-bottom:1px solid #b8a07180;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px;margin:0;padding:12px 24px 10px;display:grid;position:sticky;top:0;box-shadow:0 8px 20px #0005}.encounter-statbar *,.encounter-statbar :before,.encounter-statbar :after{box-sizing:border-box}.encounter-statbar .encounter-statbar-player{--vigor-color:#a8c588;--vigor-dark:#66854a;min-width:0;position:relative}.encounter-statbar .encounter-statbar-player.is-low{--vigor-color:#efc170;--vigor-dark:#af793d}.encounter-statbar .encounter-statbar-player.is-critical{--vigor-color:#ffac91;--vigor-dark:#c7604c}.encounter-statbar .encounter-statbar-label{min-width:0;color:var(--theme-night-muted);font:650 14px/1.2 var(--font-frontier-ui);letter-spacing:.075em;text-transform:uppercase;align-items:center;gap:7px;margin:0;display:flex}.encounter-statbar .encounter-statbar-label>svg{color:#d4b882;flex:none;width:18px;height:18px}.encounter-statbar .encounter-statbar-player .encounter-statbar-label>svg{color:var(--vigor-color)}.encounter-statbar .encounter-statbar-condition{color:var(--vigor-color);letter-spacing:.015em;text-transform:none;margin-left:auto;font-size:14px}.encounter-statbar .encounter-statbar-reading{align-items:baseline;gap:7px;min-height:34px;margin:1px 0 5px;display:flex}.encounter-statbar .encounter-statbar-reading>strong{color:var(--theme-night-ink);font:700 32px/1 var(--font-frontier-ui);letter-spacing:-.025em;margin:0;display:inline}.encounter-statbar .encounter-statbar-reading>span{color:var(--theme-night-muted);font:500 15px/1.2 var(--font-frontier-ui)}.encounter-statbar .encounter-statbar-meter{background:#060e0b;border:1px solid #67816499;border-radius:3px;height:8px;overflow:hidden}.encounter-statbar .encounter-statbar-meter>span{background:linear-gradient(90deg, var(--vigor-dark), var(--vigor-color));height:100%;transition:width .45s;display:block;box-shadow:0 0 10px #d6e9a433}.encounter-statbar .encounter-statbar-resources{color:var(--theme-night-muted);font:500 14px/1.15 var(--font-frontier-ui);flex-wrap:wrap;align-items:center;gap:5px 17px;margin-top:6px;display:flex}.encounter-statbar .encounter-statbar-resources>span{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.encounter-statbar .encounter-statbar-resources svg{color:#d3b97d;width:13px;height:13px}.encounter-statbar .encounter-statbar-resources b{color:var(--theme-night-ink);font-weight:650}.encounter-statbar .encounter-statbar-enemy{border-left:1px solid #bb9a5c45;min-width:0;padding-left:24px}.encounter-statbar .encounter-statbar-enemy-name{text-overflow:ellipsis;white-space:nowrap;color:#ebd7b0;overflow:hidden}.encounter-statbar .encounter-statbar-enemy .encounter-statbar-reading>strong{color:#f3c49d}.encounter-statbar .encounter-statbar-segments{grid-template-columns:repeat(var(--vitality-segments), minmax(0, 1fr));gap:4px;height:8px;display:grid}.encounter-statbar .encounter-statbar-segments>span{background:#0b1310;border:1px solid #bb86526b;border-radius:2px;height:100%;display:block;overflow:hidden}.encounter-statbar .encounter-statbar-segments i{background:linear-gradient(90deg,#a66440,#e8b474);height:100%;transition:width .45s;display:block}.encounter-statbar .encounter-statbar-enemy-state{color:#e8bc91;font:600 14px/1.15 var(--font-frontier-ui);margin-top:6px}.encounter-statbar .is-defeated .encounter-statbar-reading>strong,.encounter-statbar .is-defeated .encounter-statbar-enemy-state{color:var(--theme-night-muted)}.encounter-statbar .encounter-statbar-journey{border-left:1px solid #bb9a5c45;flex-direction:column;justify-content:center;min-width:0;padding-left:24px;display:flex}.encounter-statbar .encounter-statbar-journey .encounter-statbar-resources{gap:7px 22px;margin-top:10px;font-size:14px}.encounter-statbar .encounter-statbar-journey .encounter-statbar-resources b{font-size:22px}.encounter-statbar .encounter-statbar-journey .encounter-statbar-resources svg{width:17px;height:17px}.encounter-statbar .encounter-statbar-status{color:#dbc79a;font:500 14px/1.2 var(--font-frontier-ui);grid-column:1/-1;margin-top:7px}.encounter-statbar .encounter-statbar-reading>.encounter-statbar-damage{color:#ffd4bb;background:#522b25;border:1px solid #cb796580;border-radius:4px;margin-left:auto;padding:2px 7px;font-size:17px;font-weight:700;animation:.75s ease-out both encounter-statbar-damage}.encounter-statbar .encounter-statbar-impact{pointer-events:none;border-radius:4px;animation:.85s ease-out both encounter-statbar-impact;position:absolute;inset:-7px}@keyframes encounter-statbar-damage{0%{opacity:0;transform:translateY(5px)}35%{opacity:1;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@keyframes encounter-statbar-impact{0%{box-shadow:0 0 0 1px #e59874,inset 0 0 24px #b4463433}to{box-shadow:0 0 0 1px #e5987400,inset 0 0 24px #b4463400}}@media (max-width:600px){.encounter-statbar{gap:0 13px;padding:10px 13px}.encounter-statbar .encounter-statbar-enemy,.encounter-statbar .encounter-statbar-journey{padding-left:13px}.encounter-statbar .encounter-statbar-label{letter-spacing:.045em;gap:5px;font-size:14px}.encounter-statbar .encounter-statbar-label>svg{width:16px;height:16px}.encounter-statbar .encounter-statbar-condition{font-size:14px}.encounter-statbar .encounter-statbar-reading{gap:5px;min-height:32px}.encounter-statbar .encounter-statbar-reading>strong{font-size:30px}.encounter-statbar .encounter-statbar-reading>span,.encounter-statbar .encounter-statbar-vitality{font-size:14px}.encounter-statbar .encounter-statbar-resources{gap:4px 9px;font-size:14px}.encounter-statbar .encounter-statbar-resources svg{width:12px;height:12px}.encounter-statbar .encounter-statbar-enemy-state{font-size:14px}.encounter-statbar .encounter-statbar-journey .encounter-statbar-resources{gap:4px 12px;margin-top:7px;font-size:14px}.encounter-statbar .encounter-statbar-journey .encounter-statbar-resources b{font-size:19px}.encounter-statbar .encounter-statbar-reading>.encounter-statbar-damage{padding:2px 5px;font-size:14px}}@media (prefers-reduced-motion:reduce){.encounter-statbar .encounter-statbar-meter>span,.encounter-statbar .encounter-statbar-segments i{transition:none}.encounter-statbar .encounter-statbar-damage,.encounter-statbar .encounter-statbar-impact{animation:none!important}}.terrain-obstacle-preparation{grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);gap:20px;margin:24px 0;display:grid}.terrain-obstacle-tool{background:linear-gradient(125deg,#203d34,#152a25);border:1px solid #738975;border-radius:12px;align-items:center;gap:22px;min-width:0;padding:24px;display:flex}.terrain-obstacle-tool[data-ready=false]{background:linear-gradient(125deg,#3d3426,#1c2c27);border-color:#a38558}.terrain-obstacle-tool>img,.terrain-obstacle-tool>svg,.terrain-obstacle-tool>.resource-illustration{object-fit:contain;background:#f3e7c6;border-radius:10px;flex:none;width:108px;height:108px;padding:8px}.terrain-obstacle-tool h4,.terrain-obstacle-stakes h4{color:var(--theme-night-ink);margin:6px 0 12px;font-size:24px;line-height:1.25}.terrain-obstacle-tool p,.terrain-obstacle-stakes p{color:#d6dcce;margin:8px 0;font-size:16px;line-height:1.65}.terrain-obstacle-tool small,.terrain-obstacle-stakes small{letter-spacing:.09em;color:#c6b984;font-size:14px}.terrain-obstacle-stakes{background:var(--theme-night);border:1px solid #716344;border-radius:12px;padding:24px}.terrain-obstacle-stakes strong{color:#efcf88;margin-top:14px;display:block}.terrain-obstacle-hand{background:var(--theme-night);border:1px solid #3f5449;border-radius:10px;margin-bottom:20px;padding:22px}.terrain-obstacle-hand .encounter-pool{margin-top:15px}.terrain-obstacle-issue{color:#f4dca9;background:#3b3020;border-left:3px solid #d8af6a;padding:14px 18px;font-size:16px;line-height:1.6}.terrain-obstacle-result{margin-top:22px;margin-bottom:24px}.terrain-obstacle-theater .encounter-commit{white-space:normal}@media (max-width:680px){.terrain-obstacle-preparation{grid-template-columns:1fr;gap:12px}.terrain-obstacle-tool{align-items:flex-start;gap:14px;padding:16px}.terrain-obstacle-tool>img,.terrain-obstacle-tool>svg,.terrain-obstacle-tool>.resource-illustration{width:68px;height:68px}.terrain-obstacle-tool h4,.terrain-obstacle-stakes h4{font-size:21px}.terrain-obstacle-stakes{padding:18px}.terrain-obstacle-hand{padding:16px}.terrain-obstacle-theater .encounter-actions{align-items:stretch}.terrain-obstacle-theater .encounter-actions>button{width:100%}}
