@font-face{font-family:Selawik;src:url(/assets/selawik-regular-dOYqoPcB.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Selawik;src:url(/assets/selawik-semibold-DJnRixAg.woff2)format("woff2");font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:Selawik;src:url(/assets/selawik-bold-Bqnk0knP.woff2)format("woff2");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:Cormorant Garamond;src:url(/assets/cormorant-garamond-latin-400-B-1hWBU7.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{color:#eee9df;font-synthesis:none;text-rendering:optimizelegibility;color-scheme:dark;--panel:#141e26;--line:#37424a;--muted:#b4bdc4;--copper:#e5ad70;--health:#df6671;--shield:#91d9f2;--guard:#ade8c9;--bleed:#f49bb6;--burn:#ffc17a;background:#0c1319;font-family:Selawik,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{min-width:300px;margin:0}button,input{font:inherit}button{color:#eee9df;cursor:pointer;background:#1c2831;border:1px solid #56616a;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 16px;line-height:1.3;transition:background-color .15s ease-out,border-color .15s ease-out;display:inline-flex}button:hover:not(:disabled){border-color:var(--copper);background-color:#33414a}button:disabled{cursor:default;color:#aab1b5;background:#1a2228;border-color:#3f484d}button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline-offset:4px;outline:3px solid #ffd3a0}button.selected,button[aria-pressed=true]{border-color:var(--copper)}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{text-wrap:balance;margin-bottom:10px;font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(28px,2.8vw,42px);font-weight:400;line-height:1.12}h2{margin:0;font-size:17px;line-height:1.3}h3{font-size:17px}p{line-height:1.5}small{font-size:12px;line-height:1.4}strong{font-weight:650}summary{cursor:pointer;min-height:44px;padding-block:7px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.icon{width:20px;height:20px;mask-image:var(--icon);background:currentColor;flex:none;display:inline-block;mask-position:50%;mask-size:contain;mask-repeat:no-repeat}.portrait{background:#263640;border-radius:6px;flex:none;width:48px;height:48px;display:block}.muted{color:var(--muted);font-size:13px}.primary{color:#fff4e6;background:#965524;border-color:#e5ad70;font-weight:650}.primary:hover:not(:disabled){color:#fff;background:#a3622e}.primary:disabled{color:#c6b8ab;background:#46392f;border-color:#77614f}.icon-button{flex:none;width:44px;padding:8px}.button-row{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.button-row>button{flex:auto}.app-shell{flex-direction:column;width:100%;height:100dvh;display:flex;overflow:hidden}.game-layout{background:radial-gradient(at 50% 32%,#41404a 0%,#282a35 48%,#171e28 100%);flex:1;min-height:0;position:relative;overflow:hidden}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.world-map{flex-direction:column;height:100%;padding:clamp(16px,3vw,40px);display:flex;overflow:auto}.world-map .section-heading{flex-wrap:wrap}.world-map-ground{flex:1;place-items:center;min-height:240px;display:grid}.world-building{color:var(--copper);background:#141e26;border-color:#716659;flex-direction:column;gap:20px;padding:32px}.world-building .icon{width:96px;height:96px}.world-building>span:last-child{color:#eee9df;font-family:Cormorant Garamond,Georgia,serif;font-size:30px}.section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.section-heading>span{color:var(--muted);font-size:12px}.main-column{min-width:0;height:100%}.arena{background:0 0;border:0;border-radius:0;height:100%;padding:48px max(32px,10vw);overflow:auto}.arena-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.arena-title p{color:var(--muted);margin:0;font-size:14px}.arena-title>.icon{color:var(--copper);width:32px;height:32px}.lead{color:#cbd1d5;max-width:60ch;font-size:17px}.route-screen{flex-direction:column;height:100%;padding:32px 48px;display:flex;overflow:auto}.route-title{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:12px;display:flex}.route-title p{color:var(--muted);margin-bottom:0;font-size:14px}.route-title button{flex-shrink:0}.route-layout{flex:1;grid-template-columns:minmax(400px,1.35fr) minmax(280px,1fr);align-items:center;gap:8vw;min-height:0;display:grid}.map-content{min-width:0;height:100%}.route-map{width:100%;max-width:860px;height:100%;min-height:610px;margin-inline:auto;position:relative}.map-edges{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.map-edges line{vector-effect:non-scaling-stroke;stroke:#61717c;stroke-width:2px;stroke-dasharray:5 6}.map-edges .visited{stroke:var(--copper);stroke-width:3px;stroke-dasharray:none}.map-node{color:#c3ccd3;background:#202e38;border-color:#56616a;border-radius:50%;width:44px;min-height:44px;padding:8px;position:absolute;transform:translate(-50%,-50%)}.map-node .icon{width:22px;height:22px}.map-node>span:last-child:not(.icon){text-align:center;color:#c3ccd3;width:72px;font-size:12px;line-height:1.1;position:absolute;top:46px}.map-node.reachable{color:#ffd7a3;background:#5c3e29;border-color:#edb579}.map-node.selected{outline-offset:4px;outline:2px solid #e7b581}.map-node.current:after{content:"";background:#bae7b9;border-radius:50%;width:8px;height:8px;position:absolute;top:-1px;right:-1px}.map-node.visited{color:var(--copper);border-color:var(--copper)}.map-node.node-boss{color:#f3d48e;background:#433b28;border-radius:12px}.map-node.node-elite{color:#f7a6bd}.map-node.node-event{color:#d0baff}.map-node.node-rest{color:#ffc47d}.map-node.node-treasure{color:#a0def6}.map-depth{color:#a8b5bf;font-size:12px;position:absolute;left:0;transform:translateY(-50%)}.route-preview{max-width:640px;padding-block:24px}.node-emblem{width:62px;height:62px;color:var(--copper);place-items:center;margin-bottom:20px;display:grid}.node-emblem .icon{width:48px;height:48px}.node-description{color:#c8d0d7;max-width:60ch}.encounter-preview{margin:24px 0}.preview-enemy{border-bottom:1px solid var(--line);gap:16px;padding:16px 0;display:flex}.preview-enemy .portrait{width:60px;height:60px}.preview-enemy strong,.preview-enemy span,.preview-enemy small{display:block}.preview-enemy span{color:#d1d8de;margin-top:5px;font-size:14px}.preview-enemy small{color:var(--muted);max-width:60ch;margin-top:5px}.preview-next{margin-top:28px}.unit-title{align-items:center;gap:10px;display:flex}.unit-title>div>span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.shield{color:var(--shield)}.guard{color:var(--guard)}.bleed,.tag-bleed{color:var(--bleed)}.burn,.tag-fire{color:var(--burn)}.tag-armor{color:var(--shield)}.tag-crit{color:#d3b9fc}.event-result,.event-death{color:#f7cea0}.inventory-drawer{background:#141e26;padding:32px 48px;position:absolute;inset:0;overflow:auto}.inventory-drawer>.section-heading{margin-bottom:20px}.inventory-column{grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:22px;display:grid}.guild-panel{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.guild-panel>.section-heading,.inventory-note{grid-column:1/-1}.guild-panel>.section-heading,.bag-panel>.section-heading{padding:16px}.loadout{border-top:1px solid var(--line);min-width:0;padding:16px}.loadout .unit-title{flex-wrap:wrap}.loadout .portrait{width:38px;height:38px}.loadout-attack{align-items:center;gap:4px;margin-left:auto;font-size:12px;display:inline-flex}.loadout-attack .icon{width:14px;height:14px}.slots{flex-direction:column;gap:8px;margin-top:12px;display:flex}.equipment-slot{text-align:left;justify-content:flex-start;min-height:46px;padding:8px;font-size:12px}.equipment-slot.empty{background:0 0;border-style:dashed}.hero-details{color:var(--muted);margin-top:10px;font-size:12px}.hero-details p{margin:5px 0}.inventory-note{color:var(--shield);margin:0;padding:0 16px 16px;font-size:12px}.bag-panel>.muted{padding:0 16px 16px}.bag-list{gap:8px;padding:0 16px 16px;display:grid}.bag-item{text-align:left;justify-content:flex-start;font-size:13px}.item-detail{border-top:1px solid var(--line);padding:16px}.item-detail p{font-size:13px}.item-detail .section-heading>strong{font-size:14px}.shop-offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px;display:grid}.shop-offer{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(0,1fr);gap:12px;padding:22px 0;display:grid}.item-symbol .icon{width:32px;height:32px}.shop-offer h2{font-size:17px}.shop-offer p{color:#cbd4db;margin:8px 0 0;font-size:13px}.offer-bottom{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:12px;display:flex}.discount{color:#b8e6bd;font-size:12px}.shop-offer>small{color:var(--muted);text-align:right;grid-column:1/-1}.shop-offer.sold{opacity:.6}.shop-services{gap:28px;margin:26px 0;display:flex}.shop-services>div{flex:1}.shop-services p{color:var(--muted);margin:6px 0 12px;font-size:13px}.node-choices{flex-direction:column;align-items:flex-start;gap:16px;margin-top:24px;display:flex}.node-choices>small{color:var(--muted)}.training{border-top:1px solid var(--line);padding-top:16px}.found-item{padding-block:14px}.found-item>.icon{vertical-align:middle;width:28px;height:28px;margin-right:12px}.found-item p{color:#cbd4db;margin:12px 0 0}.result-party{gap:24px;margin:24px 0;display:flex}.result-party>div{flex:1}.result-party strong{margin-top:8px;font-size:14px;display:block}.run-summary{color:#e9c494;flex-wrap:wrap;gap:20px;margin-block:24px;display:flex}.storage-warning{color:#ffdfab;background:#473b26;border:1px solid #c9a66b;border-radius:8px;flex:none;max-height:25dvh;margin:0;padding:12px 16px;font-size:13px;overflow:auto}.storage-warning button{margin-left:10px;font-size:12px}.dialog{color:#eee9df;background:#18232c;border:1px solid #716659;border-radius:12px;width:min(560px,100% - 28px);max-height:calc(100dvh - 40px);padding:0}.dialog::backdrop{background:#030912cf}.dialog-inner{padding:26px}.dialog .section-heading{margin-bottom:20px}.dialog h2{font-family:Cormorant Garamond,Georgia,serif;font-size:28px;font-weight:400}.dialog p{color:#cbd4db;font-size:14px}.seed-field{flex-direction:column;gap:8px;margin-block:18px 8px;font-size:14px;display:flex}.seed-field input{color:#f5dfc4;background:#0c151e;border:1px solid #736d65;border-radius:6px;width:100%;padding:12px}.error{background:#472b33;border-radius:6px;padding:12px;color:#ffc2c4!important}body:has(.app-shell){overflow:hidden}.portrait{object-fit:contain;background:#292432}.phase-prepare .encounter-preview{justify-content:center;gap:48px;margin:32px 0;display:flex}.phase-prepare .preview-enemy{border:0;flex-direction:column;flex:1;max-width:360px}.phase-prepare .preview-enemy strong{font-family:Cormorant Garamond,Georgia,serif;font-size:30px;font-weight:400}.result-party{max-width:1100px;margin-block:32px}.result-party strong{font-size:22px}.shop-offers{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-block:48px}.shop-offer{border-bottom-color:#716659;flex-direction:column;display:flex}.shop-offer h2{font-family:Cormorant Garamond,Georgia,serif;font-size:30px;font-weight:400}.shop-offer p{font-size:16px}.offer-bottom{margin-top:auto}.shop-services{max-width:880px;margin-block:32px}.combat-log{padding-left:24px;font-size:16px;line-height:1.7}.asset-credit{color:var(--muted);margin-top:24px;font-size:13px}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1200px){.route-layout{gap:32px}.inventory-column{grid-template-columns:1fr}.shop-offers{grid-template-columns:repeat(2,minmax(0,1fr));margin-block:24px}}@media (width<=700px){.arena{padding:24px 16px}.route-screen{padding:20px 12px}.route-title{align-items:center;gap:12px}.route-title button{gap:0;width:44px;padding:8px;font-size:0}.route-layout{display:block}.map-content{height:640px}.route-preview{padding:24px 4px}.route-preview .node-emblem{display:none}.map-node>span:last-child:not(.icon){width:60px;font-size:10px}.inventory-drawer{padding:20px 12px}.inventory-drawer>.section-heading button{font-size:12px}.guild-panel{grid-template-columns:1fr}.phase-prepare .encounter-preview{flex-wrap:wrap;gap:16px}.phase-prepare .preview-enemy{min-width:120px}.result-party{gap:12px}.shop-offers{grid-template-columns:1fr;gap:16px}.shop-services{flex-direction:column;gap:20px}.dialog-inner{padding:20px}.dialog .button-row{flex-direction:column}}@font-face{font-family:Cinzel;src:url(/assets/cinzel-variable-Dzu6Mfm8.ttf)format("truetype");font-weight:400 900;font-display:swap}.app-shell{isolation:isolate;--copper:#f0b767;--display:"Cinzel", Georgia, serif;color:#f4ead8;background:radial-gradient(at 50% 60%,#404249 0,#292c35 40%,#10151c 80%);position:relative}.encounter-background{z-index:-1;pointer-events:none;position:absolute;inset:0}.encounter-background img{object-fit:cover;width:100%;height:100%}.encounter-background:after{content:"";background:linear-gradient(#0d131ccc,#0d131cc4 35% 70%,#0d131cdd);position:absolute;inset:0}.app-shell h1,.app-shell .dialog h2,.app-shell .world-building>span:last-child,.app-shell .phase-prepare .preview-enemy strong,.app-shell .shop-offer h2{font-family:var(--display);font-weight:500}.app-shell h1{font-size:clamp(28px,2.5vw,42px)}.app-shell button{background:linear-gradient(135deg,#3d3b38,#19212a 65%);border-color:#887660;border-radius:2px;box-shadow:inset 0 0 0 2px #171c23}.app-shell button:hover:not(:disabled){background:#4d4034;border-color:#e6bd85}.app-shell button:disabled{color:#b5b3b2;background:#20232a;border-color:#59544d}.app-shell .primary{background:linear-gradient(#81542f,#4f3427);border-color:#cda066;padding:14px 24px;box-shadow:inset 0 0 0 3px #382725,inset 0 0 0 4px #be9460}.app-shell .primary:hover:not(:disabled){background:linear-gradient(#a77543,#624128)}.app-shell .primary:disabled{color:#c6b8ab;background:#44382f;border-color:#77614f;box-shadow:inset 0 0 0 3px #382f29}.app-shell .dialog{background:#171b24;border:2px solid #9c835c;border-radius:2px;box-shadow:0 20px 60px #0009}.app-shell .panel{border-color:#6c6050;border-radius:2px}.app-shell .world-building{border:2px solid #a4875c;padding:32px;box-shadow:inset 0 0 0 5px #171c23,inset 0 0 0 6px #796047}.app-shell .map-node{border-radius:50%;box-shadow:inset 0 0 0 3px #171c23}.app-shell .map-node.selected{outline:2px solid #ffe0a4}.app-shell .map-node:focus-visible{outline-offset:6px;outline:3px solid #ffd3a0}.app-shell .map-node.node-boss{border-radius:2px}.phase-prepare .figure{height:min(36vh,380px);scale:-1 1}.phase-result .figure{height:min(38vh,400px)}.app-header{z-index:2;background:0 0;flex:none;grid-template-columns:minmax(0,1fr) fit-content(38%) minmax(0,1fr);align-items:start;gap:24px;min-height:92px;padding:16px 32px 6px;display:grid;position:relative}.brand-group{grid-column:1;min-width:0}.brand{text-decoration:none;display:inline-block}.wordmark{font:700 29px var(--display);letter-spacing:.1em;color:var(--copper)}.journey{color:#d1c1ad;align-items:center;gap:16px;margin-top:5px;font-size:14px;display:flex}.journey-progress{white-space:nowrap}.journey strong{font-weight:650}.team-hp,.gold{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.team-hp small{font-size:12px}.team-hp .icon{color:var(--health);width:18px}.gold{color:#f3c77c}.gold>span:not(.icon){display:none}.gold .icon{width:25px;height:25px}.turn-heading{border-bottom:1px solid #9d7e55;flex-direction:column;grid-column:2;align-items:center;gap:5px;min-width:220px;padding:4px 32px 15px;display:flex;position:relative}.turn-heading>span{color:#ccc2b5;font-size:14px}.turn-heading h1{font:600 24px/1.2 var(--display);text-align:center;overflow-wrap:anywhere;margin:0}.turn-heading:after{content:"";border:1px solid var(--copper);background:#191c22;width:9px;height:9px;position:absolute;bottom:-5px;transform:rotate(45deg)}.header-actions{grid-column:3;justify-self:end;align-items:start;gap:12px;display:flex}.app-shell .header-actions button{width:auto;min-width:48px;box-shadow:none;background:0 0;border:0;flex-direction:column;gap:6px;padding:0}.tool-face{color:#e2cbb0;clip-path:polygon(23% 0,77% 0,100% 23%,100% 77%,77% 100%,23% 100%,0 77%,0 23%);background:linear-gradient(135deg,#4f4840,#151b22 55%,#27262a);border:2px solid #827563;place-items:center;width:50px;height:50px;display:grid;box-shadow:inset 0 0 0 3px #181b22}.tool-face .icon{width:30px;height:30px}.tool-label{color:#d4cab9;font-size:12px;line-height:1.2;display:none}.header-actions button:hover:not(:disabled) .tool-face,.header-actions button[aria-expanded=true] .tool-face,.app-shell:has(.settings-menu:popover-open) [popovertarget=settings-menu] .tool-face{color:#fff0d3;background:#715138;border-color:#d9ad76}.header-actions button:disabled .tool-face{opacity:.45}.game-layout{background:0 0}.phase-combat{background:0 0;border:0;border-radius:0;max-width:none;padding:0;display:grid;position:relative;overflow:hidden}.battlefield{--figure-height:clamp(60px, min(49cqh, calc(100cqh - 190px)), 390px);isolation:isolate;grid-template-columns:46% 46%;justify-content:space-between;align-items:end;min-height:0;padding:130px 4% 30px;display:grid;position:relative;container-type:size}.battlefield:before{content:"";z-index:-1;background:radial-gradient(at 24% 68%,#8b756426,#0000 42%),radial-gradient(at 75% 68%,#752c4133,#0000 38%);position:absolute;inset:35% 0 0}.battlefield .combat-heading{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.party-stage,.enemy-stage{min-width:0}.hero-line,.enemy-line{justify-content:space-around;align-items:end;gap:3%;display:flex}.hero,.enemy{text-align:center;flex:1;width:0;min-width:0;max-width:290px;position:relative}.app-shell .hero-select,.app-shell .enemy{text-align:center;box-shadow:none;color:inherit;background:0 0;border:0;border-radius:0;padding:0;display:block}.hero-select{width:100%}@media (width>=701px){.enemy-line:has(>:nth-child(4)) .unit-title strong{font-size:clamp(14px,1vw,18px)}}.app-shell .hero-select:hover:not(:disabled),.app-shell .enemy:hover:not(:disabled),.app-shell .hero-select:disabled,.app-shell .enemy:disabled{color:inherit;box-shadow:none;background:0 0}.battlefield .unit-title{flex-direction:column;align-items:stretch;gap:12px;display:flex}.figure-stage{display:block;position:relative}.figure-stage:before{content:"";border:2px solid #0000;border-radius:50%;width:92%;height:20%;position:absolute;bottom:2px;left:4%}.hero.selected .figure-stage:before{background:#be853e17;border-color:#d69c51;box-shadow:0 4px 16px #0008,inset 0 0 0 4px #342c28,inset 0 0 0 5px #a2784c}.enemy.targeted .figure-stage:before{border-style:dashed;border-color:#edaf94}.figure{height:var(--figure-height,280px);object-fit:contain;object-position:center bottom;width:100%;transform:scale(var(--sprite-scale,1));transform-origin:bottom;pointer-events:none;filter:drop-shadow(0 10px 8px #03050b85);user-select:none;display:block}.enemy .figure{scale:-1 1}.figure-ogre{height:clamp(80px,min(58cqh,100cqh - 160px),460px)}.battlefield .unit-title strong{font:600 23px var(--display);color:#e7d9c6;overflow-wrap:anywhere;display:block}.hero.selected .unit-title strong{color:var(--copper)}.battlefield .unit-title>div>span{color:#cfc6b8;min-height:17px;margin-top:4px;font-size:12px;display:block}.hero.used .figure{opacity:.5;filter:saturate(.45)drop-shadow(0 8px 6px #0008)}.fallen .figure{opacity:.28;filter:grayscale()}.health{flex-direction:column-reverse;gap:7px;margin-top:7px;display:flex}.health-track{background:#07090c;border:1px solid #8b7660;height:10px;position:relative;overflow:hidden}.health-track>span{transform-origin:0;background:linear-gradient(#d8756a,#a3444c);border-top:1px solid #f3987a;width:100%;height:100%;transition:transform .18s ease-out;display:block}.health-track>.health-loss{opacity:.8;background:#ffdeb9;border:0;position:absolute;top:0}.health>span{font-variant-numeric:tabular-nums;font-size:16px;display:block}.battlefield .health{margin-inline:12px}.unit-statuses{flex-wrap:wrap;justify-content:center;gap:4px 8px;min-height:22px;margin-top:6px;font-size:14px;display:flex}.unit-statuses>span{align-items:center;gap:3px;display:inline-flex}.unit-statuses .icon{width:18px;height:18px}.unit-statuses small{font-size:12px}.attack-stat{color:#ced7dd;justify-content:center;align-items:center;gap:4px;margin-top:3px;font-size:14px;display:flex}.attack-stat .icon{width:17px;height:17px}.enemy .intent{color:#f4decb;text-align:left;background:linear-gradient(90deg,#0000,#211a22e0 14% 86%,#0000);border-block:1px solid #866657;justify-content:center;align-items:center;gap:9px;width:100%;padding:13px 10px;display:flex;position:absolute;bottom:calc(100% + 28px);left:0}.intent-order{background:#25202a;border:1px solid #9d7b65;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;display:grid;position:absolute;top:-17px;left:calc(50% - 12px)}.intent>.icon{color:#f1b18c;width:30px;height:30px}.intent>div{min-width:0}.intent>div>span{color:#e1bda8;margin-bottom:3px;font-size:12px;display:block}.intent strong{overflow-wrap:anywhere;font-size:16px;display:block}.enemy.legal-target{cursor:crosshair}.enemy.legal-target:hover .figure{filter:brightness(1.15)drop-shadow(0 8px 6px #0008)}@media (width<=1500px){.tool-label{display:none}.header-actions{gap:8px}.team-hp{display:none}}@media (width<=1200px){.app-header{gap:16px;min-height:96px;padding-inline:24px}.turn-heading{min-width:180px;padding-inline:24px}.battlefield{padding-inline:3%;--figure-height:clamp(60px, min(48cqh, calc(100cqh - 190px)), 350px);padding-top:116px}.battlefield .unit-title strong{font-size:18px}.intent strong{font-size:14px}.intent>.icon{width:24px;height:24px}.enemy .intent{gap:6px;padding-inline:7px}}@media (width<=1000px){.app-header{grid-template-columns:1fr auto}.header-actions{grid-area:1/2;gap:6px}.app-shell .header-actions button{min-width:44px}.tool-face{width:44px;height:44px}.turn-heading{grid-area:2/1/auto/-1;min-width:0;padding:0 12px 8px}.turn-heading h1{font-size:18px}.turn-heading>span{font-size:12px}}@media (width>=701px) and (height<=850px){.battlefield{--figure-height:clamp(70px, min(45cqh, calc(100cqh - 160px)), 320px);padding-block:100px 20px}.enemy .intent{padding-block:9px;bottom:calc(100% + 14px)}}@media (width<=700px){.app-header{flex-wrap:wrap;align-items:center;gap:8px;min-height:0;padding:8px 12px;display:flex}.phase-prepare .figure{height:160px}.phase-result .figure{height:150px}.brand-group{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.wordmark{font-size:21px}.journey{gap:8px;margin:0;font-size:12px}.journey-progress strong{font-size:13px}.gold{gap:4px}.gold .icon{width:22px;height:22px}.header-actions{justify-content:flex-end;gap:8px;width:100%}.app-shell .header-actions button{justify-content:center;width:44px;min-width:44px;min-height:44px}.tool-face{width:38px;height:38px}.tool-face .icon{width:24px;height:24px}.turn-heading{order:1;width:100%;min-width:0;padding:8px 0 7px}.turn-heading h1{font-size:16px}.turn-heading>span{font-size:11px}.battlefield{grid-template-columns:44% 48%;align-items:start;margin-top:8px;padding:0 12px 12px;overflow:auto;container-type:normal}.hero-line,.enemy-line{flex-direction:column;align-items:stretch;gap:16px}.hero,.enemy{flex:none;width:100%;max-width:none}.app-shell .hero-select,.app-shell .enemy{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:5px;display:grid}.battlefield .unit-title{gap:4px}.battlefield .figure{height:80px}.battlefield .figure-ogre{height:135px}.battlefield .unit-title strong{font:650 12px Selawik,sans-serif}.battlefield .unit-title>div>span{min-height:0;margin-top:3px;font-size:11px}.battlefield .health{gap:5px;margin-inline:0}.battlefield .health>span{font-size:12px}.health-track{height:7px}.unit-statuses{gap:3px;min-height:0;margin-top:4px;font-size:11px}.unit-statuses small{font-size:11px}.enemy .unit-statuses{grid-column:2}.unit-statuses .icon{width:14px;height:14px}.attack-stat{display:none}.enemy .intent{grid-column:1/-1;gap:5px;width:100%;margin-top:0;padding:8px 5px 8px 22px;position:relative;inset:auto}.intent-order{width:18px;height:18px;font-size:11px;top:11px;left:0}.intent>.icon{width:22px;height:22px}.intent>div>span{font-size:11px}.intent strong{font-size:12px}}@media (width<=359px){.app-header{padding-inline:6px}.header-actions{flex-wrap:nowrap;display:flex}.app-shell .header-actions button{width:44px;min-width:44px}}.phase-combat{grid-template-rows:minmax(0,1fr) auto}.hero.targeted .figure-stage:before{border-style:dashed;border-color:#ade8c9}.hero.legal-target .hero-select{cursor:crosshair}.target-hint{color:#ffca8e;flex-wrap:wrap;place-content:start center;gap:2px 10px;min-height:38px;margin-top:5px;font-size:13px;font-weight:650;line-height:1.4;display:flex}.hero .target-hint{color:#ade8c9}.action-panel{background:linear-gradient(90deg,#0000,#0d1318ee 10% 90%,#0000);border-top:1px solid #927752;grid-template-columns:48px minmax(0,1fr) 120px;grid-template-areas:"energy choices end";align-items:center;gap:24px;width:min(740px,100% - 24px);min-height:100px;margin:0 auto 12px;padding:16px 24px;display:grid}.actor-prompt{text-align:center;font:600 18px var(--display);color:var(--copper);grid-area:choices}.energy-count{text-align:center;color:var(--copper);grid-area:energy}.energy-core{background:radial-gradient(circle at 40% 30%,#604126,#19151c 70%);border:2px solid #99764c;border-radius:50%;place-items:center;width:42px;height:42px;margin:auto;display:grid;position:relative;box-shadow:inset 0 0 0 4px #191820,inset 0 0 0 5px #746048}.energy-core .icon{opacity:.18;width:40px;height:40px;position:absolute}.energy-core strong{font:600 26px var(--display)}.energy-count>span:nth-child(2){text-transform:uppercase;letter-spacing:.05em;margin-top:4px;font-size:11px;display:block}.action-choices{grid-area:choices;justify-content:center;align-items:center;gap:16px;display:flex}.app-shell .action-choice{width:0;min-width:0;max-width:200px;min-height:60px;box-shadow:none;text-align:left;background:0 0;border:0;flex-direction:row;flex:1;justify-content:start;align-items:center;gap:12px;padding:0 4px;display:flex}.app-shell .action-choice:hover:not(:disabled),.app-shell .action-choice.selected,.app-shell .action-choice:disabled{box-shadow:none;background:0 0}.ability-face{background:radial-gradient(at 38% 22%,#4d4f50,#161a21 75%);border:3px solid #7c7264;border-radius:50%;flex:none;place-items:center;width:56px;height:56px;transition:transform .18s ease-out,border-color .18s ease-out;display:grid;position:relative;box-shadow:inset 0 0 0 3px #151920,inset 0 0 0 4px #736d5e,0 5px 10px #0008}.ability-face:before{content:"";border-radius:inherit;border:1px solid #645d50;position:absolute;inset:8px}.ability-face>.icon{color:#c6c6bb;filter:drop-shadow(0 3px 1px #000);width:36px;height:36px}.action-cost{width:23px;height:23px;font:700 14px var(--display);color:#ffe4a8;background:linear-gradient(135deg,#685434,#1b1b24);border:2px solid #a78756;border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-2px;right:-6px}.action-choice strong{font:600 16px var(--display);overflow-wrap:anywhere;display:block}.action-choice small{color:#d0c8bb;overflow-wrap:anywhere;margin-top:3px;font-size:12px;line-height:1.3;display:block}.action-choice.selected .ability-face{background:radial-gradient(at 38% 22%,#9a6135,#36282a 65%);border-color:#f1c67d;box-shadow:inset 0 0 0 3px #292023,inset 0 0 0 4px #d6a063,0 5px 10px #0008}.action-choice.selected .ability-face:after{content:"";background:#f7d6a1;width:9px;height:9px;position:absolute;top:-8px;transform:rotate(45deg)}.action-choice.selected .icon,.action-choice.selected strong{color:#ffe0a4}.action-choice:hover:not(:disabled) .ability-face{border-color:#e3d0b0;transform:translateY(-3px)}.action-choice:active:not(:disabled) .ability-face{transform:translateY(2px)}.action-choice:disabled .ability-face{filter:grayscale(.65);opacity:.48}.turn-footer{grid-area:end;justify-self:end}.app-shell .end-turn{color:#e0cfb5;box-shadow:none;font:600 13px var(--display);text-align:left;background:0 0;border:0;flex-direction:row;gap:8px;padding:0;display:flex}.app-shell .end-turn:hover:not(:disabled){color:#fff2d5;background:0 0}.turn-face{clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);background:linear-gradient(135deg,#3c3c3d,#111821);border:2px solid #867863;flex:none;place-items:center;width:44px;height:44px;display:grid;box-shadow:inset 0 0 0 3px #171b22}.turn-face .icon{width:27px;height:27px}.end-turn:hover .turn-face{border-color:#dfb57e}@media (width<=700px){.action-panel{grid-template-columns:40px minmax(0,1fr) 54px;gap:8px;width:calc(100% - 12px);margin-bottom:6px;padding:12px 6px}.target-hint{grid-column:1/-1;gap:2px 6px;min-height:34px;font-size:12px}.energy-core{width:38px;height:38px}.energy-core strong{font-size:24px}.energy-core .icon{width:30px;height:30px}.energy-count>span:nth-child(2){letter-spacing:0}.action-choices{gap:6px}.app-shell .action-choice{text-align:center;flex-direction:column;gap:5px;min-height:68px;padding:0 3px}.ability-face{width:44px;height:44px}.ability-face>.icon{width:28px;height:28px}.ability-face:before{inset:6px}.action-cost{width:23px;height:23px;font-size:14px;bottom:-2px;right:-4px}.action-choice strong,.app-shell .end-turn{font:650 12px Selawik,sans-serif}.action-choice small{font-size:11px}.turn-face{width:44px;height:44px}.turn-face .icon{width:26px;height:26px}.app-shell .end-turn{text-align:center;flex-direction:column;gap:5px}}.settings-menu{color:#f4ead8;background:linear-gradient(135deg,#34302c,#121920 65%);border:1px solid #a08661;width:min(270px,100vw - 24px);margin:0;padding:8px;position:fixed;inset:78px 24px auto auto;box-shadow:0 12px 32px #0009,inset 0 0 0 3px #151b21}.app-shell .settings-menu :is(button,a){width:100%;min-height:48px;box-shadow:none;font:600 14px var(--display);background:0 0;border:0;justify-content:flex-start;align-items:center;gap:14px;padding:10px 12px;text-decoration:none;display:flex}.settings-menu button+button{border-top:1px solid #82756355}.settings-menu .icon{color:#dec29a;width:26px;height:26px}.app-shell .settings-menu :is(button,a):hover:not(:disabled){color:#fff1d7;background:#765538}.settings-menu button:disabled{opacity:.5}.game-tooltip{color:#fff0d6;width:max-content;max-width:min(300px,100vw - 16px);font:600 13px/1.5 var(--display);overflow-wrap:anywhere;background:linear-gradient(135deg,#383028,#111821 75%);border:1px solid #bc9361;border-radius:0;margin:0;padding:10px 14px;position:fixed;inset:auto;box-shadow:0 8px 20px #000a,inset 0 0 0 3px #171c22}@media (prefers-reduced-motion:reduce){button,.health-track>span,.ability-face{transition:none}.action-choice:is(:hover,:active):not(:disabled) .ability-face{transform:none}}@media (width<=700px){.settings-menu{top:96px;right:12px}}
