.choice-item{--item-accent:#63866b;--item-wash:#e5eedf;position:relative;isolation:isolate;display:flex;flex-direction:column;gap:5px;min-width:0;min-height:0;margin:0;padding:9px;text-align:left;border:2px solid #b5a377;border-radius:10px;background:linear-gradient(145deg,#fffdf2,#f0e7ce);color:#344538;box-shadow:inset 0 0 0 2px #fff9e7,0 3px #4c493c70,0 5px 9px #18261b25;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s;cursor:pointer}.choice-item:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--item-accent)}.choice-item[data-item-kind=badge]{--item-accent:#597954;--item-wash:#e4edda}.choice-item[data-item-kind=potion]{--item-accent:#8b6598;--item-wash:#efe4f2}.choice-item[data-item-kind=growth]{--item-accent:#568291;--item-wash:#dfedf0}.choice-item-header{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:20px;flex:none}.choice-item-category{padding:2px 6px;border:1px solid color-mix(in srgb,var(--item-accent),transparent 55%);border-radius:4px;background:var(--item-wash);color:var(--item-accent);font-size:10px;font-weight:800;line-height:14px;letter-spacing:.8px}.choice-item-price{white-space:nowrap;color:#80571e;font-size:14px;line-height:20px;font-weight:800;font-variant-numeric:tabular-nums;text-shadow:0 1px #fff}.choice-item-price>span{color:#cb922c;font-size:15px}.choice-item-hero{display:flex;align-items:center;gap:8px;flex:none;min-height:64px;padding:3px 0}.choice-item-art{position:relative;flex:0 0 62px;width:62px;height:62px;display:grid;place-items:center;border:1px solid #cdbd95;border-radius:12px;background:radial-gradient(circle,#fffef6 0 30%,var(--item-wash) 70%);box-shadow:inset 0 1px 2px #fff,0 2px #a8966c25}.choice-item-art:after{content:"";position:absolute;inset:4px;border:1px solid #ffffff9c;border-radius:8px;pointer-events:none}.choice-item .choice-image{display:block;width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 2px 1px #48432d25)}.choice-item-title{font-size:17px;font-weight:900;line-height:1.25;letter-spacing:-.7px;overflow-wrap:anywhere;text-shadow:0 1px #fff}.choice-item-description{display:block;flex:1;min-height:0;font-size:11px;line-height:1.5;color:#475747;overflow:auto;scrollbar-width:thin;overflow-wrap:anywhere}.choice-item-warning{display:block;flex:none;color:#9a4d3a;background:#f3dfcf;border-radius:4px;padding:3px 5px;font-size:10px;line-height:1.4}.choice-item-warning>span{display:inline-grid;place-items:center;width:11px;height:11px;border-radius:50%;background:#ad6047;color:#fff7e8;font-size:9px;font-weight:700}.choice-item-footer{display:flex;align-items:center;justify-content:space-between;gap:3px;flex:none;margin-top:auto;padding-top:5px;border-top:1px solid #c9bc9d;color:#82745b;font-size:9px;line-height:14px}.choice-item-status{color:var(--item-accent);font-weight:800;white-space:nowrap}.choice-item:hover:enabled{transform:translateY(-2px);border-color:var(--item-accent);box-shadow:inset 0 0 0 2px #fff9e7,0 5px #4c493c50,0 7px 12px #18261b30}.choice-item:active:enabled{transform:translateY(1px);box-shadow:inset 0 0 0 2px #fff9e7,0 1px #4c493c60}.choice-item:focus-visible{outline:3px solid var(--item-accent);outline-offset:2px}.choice-item:disabled{opacity:1;cursor:default;background:linear-gradient(145deg,#edece4,#dbd9cd);border-color:#a4a18e;box-shadow:inset 0 0 0 2px #e7e4d9,0 2px #77746550}.choice-item:disabled .choice-item-art{filter:saturate(.5);background:#e1e0d6}.choice-item:disabled .choice-item-title,.choice-item:disabled .choice-item-price{color:#777666}.choice-item[data-item-status=purchased] .choice-item-status{color:#486449}.choice-item[data-item-status=purchased] .choice-item-category{background:#d8e5ce;color:#486449}@media(prefers-reduced-motion:reduce){.choice-item{transition:none}}.engine-game-input-guard,.engine-game-input-guard *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.engine-game-input-guard{touch-action:manipulation}.engine-game-input-guard img,.engine-game-input-guard a{-webkit-user-drag:none}.engine-game-input-guard input,.engine-game-input-guard textarea,.engine-game-input-guard select,.engine-game-input-guard [contenteditable]:not([contenteditable=false]),.engine-game-input-guard [contenteditable]:not([contenteditable=false]) *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.engine-announcement{position:fixed;inset:0;z-index:200;display:grid;place-items:center;pointer-events:none;padding:24px;box-sizing:border-box;font-family:inherit}.engine-announcement__panel{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:8px;width:min(340px,100%);padding:22px 28px;text-align:center;color:#f3ead7;background:#34392ff5;border:1px solid #a1844d;border-radius:6px;outline:1px solid #a1844d;outline-offset:-6px;box-shadow:0 12px 40px #22282045}.engine-announcement__panel strong{font-size:clamp(24px,6vw,34px);line-height:1.25;letter-spacing:.08em;overflow-wrap:anywhere}.engine-announcement__panel span{font-size:14px;line-height:1.5;color:#d8cfb9;overflow-wrap:anywhere}.engine-announcement__panel[data-tone=player]{border-color:#aac5b0;background:#30473ff5}.engine-announcement__panel[data-tone=opponent],.engine-announcement__panel[data-tone=defeat]{border-color:#c38d6e;background:#693e36f5}.engine-announcement__panel[data-tone=victory]{border-color:#e5bd6b;background:#4c452cf5;color:#ffe1a0}.unit,.unit *{box-sizing:border-box}.unit{width:187px;height:140.25px;aspect-ratio:4/3;position:relative;margin:0;padding:0;font:14px/16px Malgun Gothic,Apple SD Gothic Neo,Arial,sans-serif;color:#33362d;background:#f3ead7;border:1px solid #b7ab90;border-radius:3px;box-shadow:1px 2px #443e3020;outline:1px solid #a1844d80;outline-offset:-3px;transform-origin:top left;isolation:isolate;overflow:hidden}.unit:before,.unit:after{content:"";position:absolute;width:7px;height:7px;border:1px solid #a1844d;pointer-events:none;z-index:3}.unit:before{left:2px;top:2px;border-right:0;border-bottom:0}.unit:after{bottom:2px;right:2px;border-left:0;border-top:0}.unit .unit-body{position:relative;z-index:1;display:grid;height:100%;padding:3px 5px;grid-template-rows:20px 2px repeat(2,minmax(0,1fr)) 18px;gap:2px}.unit .unit-title{position:absolute;left:50%;transform:translate(-50%);display:flex;align-items:center;justify-content:center;max-width:94px;height:20px;white-space:nowrap}.unit .unit-title strong{font-size:14px;line-height:18px;letter-spacing:-.6px;font-weight:700;overflow:hidden;text-overflow:ellipsis}.unit .card-art-clip{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;pointer-events:none;user-select:none}.unit .card-art{position:absolute;left:50%;top:50%;z-index:0;display:block;width:210%;height:auto;max-width:none;transform:translate(calc(0% - var(--card-art-focus-x,50%)),calc(0% - var(--card-art-focus-y,30%)));opacity:.36;pointer-events:none;user-select:none}.unit.leader{border-color:#9e4134}.unit .leader-mark{display:inline-block;font:700 14px/16px Malgun Gothic,Apple SD Gothic Neo,Arial,sans-serif;background:#9e4134;color:#f3ead7;padding:0 6px;border-radius:2px}.unit .unit-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:4px;white-space:nowrap;font-size:14px;line-height:18px;font-weight:700;letter-spacing:-.5px}.unit .health{color:#9e4134}.unit .stat-power{margin-right:auto}.unit .shield{color:#627b87}.unit .poison{color:#607354}.unit .hp-track{height:2px;background:#d6cbb3}.unit .hp-track i{display:block;height:100%;background:#607354;transition:width .2s}.unit .ability{appearance:none;display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:0;margin:0;padding:2px 4px;gap:5px;position:relative;border:1px solid #b7ab9099;border-radius:3px;background:#f4efdf;color:#28332c;text-align:left;cursor:pointer;touch-action:manipulation;font:14px/16px Malgun Gothic,Apple SD Gothic Neo,Arial,sans-serif}.unit .ability-meta{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 27px;align-self:stretch;border-right:1px solid #b7ab9066;padding-right:4px;gap:1px;font-size:14px;line-height:16px;color:#555e53;white-space:nowrap}.unit .ability-meta>span+span{font-size:10px;line-height:11px;white-space:normal;text-align:center;overflow-wrap:anywhere}.unit .ability-meta>span:empty{display:none}.unit .ability .sun{color:#856017}.unit .ability .moon{color:#3e617b}.unit .ability .ability-copy{display:block;flex:1;min-width:0;font-size:14px;line-height:16px;letter-spacing:-.4px;font-weight:700;overflow-wrap:anywhere;word-break:keep-all}.unit .ability-primary{display:flex;align-items:center;gap:5px;font-size:15px;line-height:18px;font-weight:800;letter-spacing:-.4px}.unit .ability-primary>span:last-child{min-width:0}.unit .ability-primary .ability-scope{flex:none;margin:0}.unit .ability-secondary{display:block;margin-top:1px;font-size:12px;line-height:14px;font-weight:600;letter-spacing:-.35px;color:#505b50;overflow-wrap:anywhere}.unit .ability-copy .text-term{font-family:inherit;padding-inline:0;background:none}.unit .ability-scope{display:inline-flex;position:relative;align-items:center;gap:2px;vertical-align:middle;margin-right:4px;line-height:20px;color:#9e4134;letter-spacing:0;white-space:nowrap}.unit .ability-scope svg{display:block;width:20px;height:20px;flex:none;overflow:visible}.unit .ability-scope line{stroke:currentColor;stroke-width:2}.unit .ability-scope rect{stroke:currentColor;stroke-width:1}.unit .ability-scope .filled{fill:currentColor}.unit .ability-scope .empty{fill:none;opacity:.35}.unit .ability-scope small{font-size:10px;line-height:12px;align-self:flex-start;font-weight:700}.unit .ability-reach{font-size:14px;line-height:20px;font-weight:700}.unit .ability-name,.unit .ability-mini,.unit .health-mini,.unit .cost-mini,.unit .passive-full{display:none}.unit .passive-mini,.unit .cost-mini,.unit .health-full{display:inline}.unit .passive-mini{font-size:11px;font-weight:700}.unit .cost-full{display:none}.unit .ability.ready{background:#fffbed;border-color:#a1844d}.unit .ability.ready:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:2px;background:#a1844d}.unit .ability.passive{background:#e9eddf}.unit .ability.unavailable{color:#50594f}.unit .ability.chosen{background:#f5dfbf;border-color:#9e4134;box-shadow:inset 0 0 0 1px #9e4134}.unit .ability:disabled{opacity:1;cursor:default}.unit .unit-body:not([data-card-preview]) .ability.unavailable{opacity:.25;background:#e3e5db}.unit .ability:focus-visible,.unit:focus-visible{outline:2px solid #9e4134;outline-offset:2px}.unit.targetable{cursor:pointer;overflow:visible;z-index:5}.unit.selected{border-color:#9e4134}.unit.targetable .unit-body{overflow:hidden}.engine-target-indicator{position:absolute;left:50%;top:0;translate:-50% -100%;width:36%;height:auto;z-index:5;pointer-events:none;overflow:visible;color:#f47859;filter:drop-shadow(0 2px 2px #20394166)}.engine-target-indicator[data-target-kind=ranged]{color:#f5b941}.engine-target-indicator[data-target-kind=poison]{color:#b375dc}.engine-target-indicator[data-target-kind=heal]{color:#53c88c}.engine-target-indicator[data-target-kind=shield]{color:#55bcea}.engine-target-indicator[data-target-kind=debuff]{color:#a779e9}.engine-target-indicator[data-target-kind=move]{color:#43c9c3}.engine-target-indicator[data-target-kind=resource]{color:#e7c264}.engine-target-indicator[data-target-kind=support]{color:#83b6ed}.engine-target-indicator-motion{animation:engine-target-bob .75s ease-in-out infinite alternate}@keyframes engine-target-bob{0%{transform:translateY(-3px)}to{transform:translateY(3px)}}.unit.targetable:hover>.engine-target-indicator,.unit.target-hover>.engine-target-indicator,.engine-target-slot:hover>.engine-target-indicator{filter:brightness(1.15) drop-shadow(0 2px 3px #20394188)}.engine-target-control{position:relative}.engine-target-control>.engine-target-indicator{left:auto;right:3px;top:50%;translate:0 -50%;width:44px;height:56px}.engine-target-slot{position:absolute;inset:0;z-index:8;display:grid;place-items:center;border:0;background:transparent;padding:0;min-height:0;cursor:pointer}.engine-target-slot:focus-visible{outline:2px solid #43c9c3;outline-offset:-3px}.engine-target-indicator[data-target-kind=replace]{color:#dc7545}.engine-target-slot>.engine-target-indicator:is([data-target-kind=replace],[data-target-kind=swap]){top:50%;translate:-50% -50%;width:72px}.engine-target-indicator[data-target-kind=swap]{color:#168f88}.engine-target-indicator[data-target-kind=swap] .engine-target-indicator-motion{animation:engine-target-swap 1.2s ease-in-out infinite}@keyframes engine-target-swap{0%,to{transform:translate(-3px) rotate(-5deg);transform-origin:40px 32px}50%{transform:translate(3px) rotate(5deg);transform-origin:40px 32px}}.engine-target-indicator[data-target-kind=replace] .engine-target-indicator-motion{transform-origin:27px 12px;animation:engine-target-kick 1.1s ease-in-out infinite}.engine-target-kick-impact{animation:engine-target-kick-impact 1.1s ease-in-out infinite}@keyframes engine-target-kick{0%,65%,to{transform:translate(0) rotate(-12deg)}20%{transform:translate(-5px) rotate(-28deg)}35%,43%{transform:translate(7px) rotate(16deg)}}@keyframes engine-target-kick-impact{0%,27%,55%,to{opacity:0}35%,43%{opacity:1}}@media(prefers-reduced-motion:reduce){.engine-target-indicator-motion{animation:none}}@media(prefers-reduced-motion:reduce){.engine-target-indicator:is([data-target-kind=replace],[data-target-kind=swap]) .engine-target-indicator-motion,.engine-target-kick-impact{animation:none}.engine-target-kick-impact{opacity:0}}.unit.dead{opacity:.45;filter:grayscale(1)}.unit .fallen{position:absolute;top:45%;left:6px;right:6px;background:#34392fe8;color:#f3ead7;text-align:center;padding:6px 0;border:1px solid #a1844d;pointer-events:none;font-size:14px;line-height:16px}@media(prefers-reduced-motion:reduce){.unit .hp-track i{transition:none}}.unit .unit-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;font-size:14px;line-height:16px;gap:3px}.unit .unit-footer .shield{justify-self:start}.unit .unit-footer .poison{justify-self:end}.unit .leader-space{text-align:center}.unit .leader-space{display:flex;align-items:center;justify-content:center;gap:2px}.unit .card-attachment{display:inline-flex;flex:none;align-items:center;justify-content:center;padding:0 4px;border:0;border-radius:2px;background:var(--card-attachment-color,#607354);color:#fff;white-space:nowrap;font:700 14px/16px Malgun Gothic,Apple SD Gothic Neo,Arial,sans-serif}.unit .card-attachment img{display:block;width:100%;height:100%;object-fit:contain}.unit .card-attachment.temporary{width:14px;height:14px;padding:0;border:1px solid #648c7d;background:#e9f1e5;color:#725f49;border-radius:50%;font-size:10px;line-height:12px}.unit.enhanced{border-color:#b18a34;box-shadow:0 0 7px #d6ac4d66,inset 0 0 9px #ebc87733}.unit .enhanced-stat{position:relative;color:#755000;background:#ffe6a8;border-radius:3px;box-shadow:0 0 4px #d5a43880;animation:card-enhancement-glow 2.4s ease-in-out infinite}.unit .enhanced-stat:after{content:"✦";position:absolute;right:-2px;top:-5px;font-size:9px;line-height:10px;color:#9a6b09;text-shadow:0 0 3px #fff6cd;pointer-events:none}@keyframes card-enhancement-glow{0%,to{box-shadow:0 0 3px #d5a43860}50%{box-shadow:0 0 8px #d5a438cc}}@media(prefers-reduced-motion:reduce){.unit .enhanced-stat{animation:none}}.unit[data-card-presentation=full]{width:374px;height:728px;aspect-ratio:374/728;display:grid;grid-template-rows:280px minmax(0,1fr);padding:8px;border-radius:8px;gap:8px}.unit .card-illustration-frame{position:relative;z-index:1;min-height:0;border:1px solid #a1844d;border-radius:4px;background:radial-gradient(ellipse at 50% 65%,#ded8bd,#faf3e3 75%);overflow:hidden}.unit .card-illustration-frame img{display:block;width:100%;height:100%;object-fit:contain;padding:8px}.unit[data-card-presentation=full] .unit-body{padding:6px;grid-template-rows:30px 2px auto auto 18px;gap:4px;border:1px solid #b7ab90;border-radius:3px}.unit[data-card-presentation=full] .unit-header{font-size:18px;line-height:26px}.unit[data-card-presentation=full] .unit-title{max-width:220px;height:30px}.unit[data-card-presentation=full] .unit-title strong{font-size:24px;line-height:30px}.unit[data-card-presentation=full] .ability{align-items:stretch;gap:8px;padding:4px 8px}.unit[data-card-presentation=full] .ability-meta{flex-basis:34px;justify-content:flex-start;padding-top:2px;font-size:18px;line-height:24px}.unit[data-card-presentation=full] .ability-meta>span+span{font-size:14px;line-height:18px}.unit[data-card-presentation=full]:not([data-card-ability-text=summary]) .cost-full{display:inline}.unit[data-card-presentation=full]:not([data-card-ability-text=summary]) .cost-mini{display:none}.unit[data-card-presentation=full] .ability-copy{display:none}.unit .ability-detail{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;line-height:1.5}.unit .ability-detail>strong{font-size:20px;line-height:24px;color:#33362d}.unit .ability-description{font-size:18px;line-height:23px;overflow-wrap:anywhere;word-break:normal;font-weight:400;color:#33362d}.unit .ability-detail-meta{font-size:14px;line-height:18px;color:#716650;margin-top:auto}.unit[data-card-ability-text=summary]{height:660px;aspect-ratio:374/660}.unit[data-card-ability-text=summary] .unit-body{grid-template-rows:66px 2px auto auto 18px}.unit[data-card-ability-text=summary] .unit-header{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:30px 36px;gap:0;font-size:32px;line-height:36px}.unit[data-card-ability-text=summary] .unit-title{position:static;transform:none;grid-column:1/-1;grid-row:1;max-width:none;width:100%;height:30px}.unit[data-card-ability-text=summary] .stat-power{grid-column:1;grid-row:2}.unit[data-card-ability-text=summary] .health{grid-column:2;grid-row:2;justify-self:end}.unit[data-card-ability-text=summary] .ability{align-items:center;gap:10px;padding:8px}.unit[data-card-ability-text=summary] .ability-copy{display:block;font-size:32px;line-height:38px;letter-spacing:-.65px}.unit[data-card-ability-text=summary] .ability-primary{font-size:32px;line-height:38px;gap:10px}.unit[data-card-ability-text=summary] .ability-secondary{font-size:24px;line-height:30px;margin-top:6px;letter-spacing:-.5px}.unit[data-card-ability-text=summary] .ability-meta{flex-basis:48px;font-size:24px;line-height:30px;justify-content:center;padding:0}.unit[data-card-ability-text=summary] .ability-scope{line-height:32px}.unit[data-card-ability-text=summary] .ability-scope svg{width:32px;height:32px}.unit[data-card-ability-text=summary] .ability-scope small{font-size:14px;line-height:16px}.unit .unit-header .stat-power,.unit .card-power-value,.unit .ability-copy .text-term[data-term-id=power],.unit .ability-description .text-term[data-term-id=power]{font-family:Arial Black,Malgun Gothic,sans-serif;font-weight:900;font-variant-numeric:tabular-nums;color:#e76f08;-webkit-text-stroke:.6px #783205;paint-order:stroke fill;text-shadow:0 1px 0 #fff8e8}.unit .unit-header .health,.unit .card-health-value{font-family:Arial Black,Malgun Gothic,sans-serif;font-weight:900;font-variant-numeric:tabular-nums;color:#df3933;-webkit-text-stroke:.6px #781e1b;paint-order:stroke fill;text-shadow:0 1px 0 #fff7ef}.unit .unit-header .unit-title strong{-webkit-text-stroke:1px #fff8e8;paint-order:stroke fill}.unit .unit-header .unit-title strong,.unit .unit-header .stat-power,.unit .unit-header .health{text-shadow:-1px -1px 0 #fff8e8,1px -1px 0 #fff8e8,-1px 1px 0 #fff8e8,1px 1px 0 #fff8e8,0 1px 2px #443e3080}.engine-card-reveal{position:fixed;z-index:900;pointer-events:none;perspective:1200px}.engine-card-reveal-turn{width:100%;height:100%;position:relative;transform-style:preserve-3d}.engine-card-reveal-front,.engine-card-reveal-back{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}.engine-card-reveal-back{display:grid;place-items:center;box-sizing:border-box;transform:rotateY(180deg);border:3px solid #e4c783;border-radius:12px;background:repeating-linear-gradient(45deg,transparent 0 12px,#ead59912 12px 14px),linear-gradient(145deg,#315c50,#132f2b);box-shadow:inset 0 0 0 5px #173e34,inset 0 0 0 7px #b89b59,0 5px 18px #14261f55;color:#f2d991}.engine-card-reveal-back>span{display:grid;place-items:center;width:48%;aspect-ratio:1;border:2px solid #c8ad6b;border-radius:50%;font:clamp(22px,5vw,54px) Georgia,serif;background:#193d34;box-shadow:0 0 0 5px #e4c78318}.engine-card-reveal-back.is-skinned{border:0;overflow:hidden}.engine-card-back-emblem{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.engine-card-back-frame{position:absolute;inset:0;border:12px solid transparent;border-image-slice:12%;border-image-repeat:stretch;pointer-events:none}.engine-card-skins{margin:16px 0;padding:12px;border:1px solid #b5a377;border-radius:8px;min-width:0}.engine-card-skins legend{padding:0 6px;font-weight:700}.engine-card-skins-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 8px}.engine-card-skin{display:block;position:relative;min-width:0;cursor:pointer}.engine-card-skin input{position:absolute;width:1px;height:1px;opacity:0}.engine-card-skin>span{display:flex;flex-direction:column;gap:5px;padding:3px;border:2px solid transparent;border-radius:8px;text-align:center}.engine-card-skin img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px}.engine-card-skin strong{font-size:11px;line-height:1.3;overflow-wrap:anywhere}.engine-card-skin input:checked+span{border-color:#886623;background:#eadcba;box-shadow:0 0 0 1px #fff7db}.engine-card-skin input:focus-visible+span{outline:3px solid #487864;outline-offset:2px}:root{font-family:Malgun Gothic,Apple SD Gothic Neo,sans-serif;color:#33362d;background:#d8cfb9;font-size:14px;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:320px;overscroll-behavior:none}#game-stage{position:fixed;left:var(--game-left,0px);top:var(--game-top,0px);width:var(--game-width,100vw);height:var(--game-height,100dvh);container:viewport / size;overflow:hidden}#app{position:relative;z-index:1;isolation:isolate;--edge:6px;--hud:26px}button{font:inherit;color:inherit;cursor:pointer;min-height:32px;border:1px solid #b7ab90;background:#f3ead7;border-radius:3px;padding:6px}button:disabled{cursor:default;opacity:.5}button:focus-visible,[tabindex]:focus-visible{outline:2px solid #9e4134;outline-offset:2px}h1,h2,h3,p{overflow-wrap:anywhere}h2{font-size:22px}p{line-height:1.5}.corner{position:absolute;z-index:10;height:var(--hud);min-height:var(--hud);background:#34392f;color:#f3ead7;border:1px solid #a1844d;outline:1px solid #827652;outline-offset:-3px;box-shadow:2px 3px #33362d20;border-radius:4px;padding:1px 6px;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:18px}.top-left{left:var(--edge);top:var(--edge);width:178px;justify-content:flex-start;gap:5px}.top-left>div{display:flex;align-items:center;gap:7px;white-space:nowrap}.top-left>div>span{color:#c3c4af}.seal{background:#9e4134;font:18px/20px Georgia;padding:0 3px}.top-right{right:var(--edge);top:var(--edge);width:86px}.top-right span,.bottom-right span{display:none}.bottom-left{left:var(--edge);bottom:var(--edge);min-width:100px}.bottom-right{right:var(--edge);bottom:var(--edge);min-width:104px;background:#9e4134;border-color:#c38d6e;outline-color:#c38d6e}.top-left{width:240px}.top-left>div{gap:5px}.coin-balance{margin-left:auto;display:flex;align-items:center;gap:3px;white-space:nowrap;color:#9c6610;font-variant-numeric:tabular-nums}.coin-balance>span{color:#cf961f}.battle-host,.recruit-host{position:absolute;inset:calc(var(--edge) + var(--hud) + 4px) var(--edge);overflow:visible}.battlefield{position:absolute;margin:0;display:grid;grid-template-rows:minmax(0,1fr) 28px minmax(0,1fr);gap:6px}.team{position:relative;min-height:0;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:4px}.card-row{display:flex;justify-content:center;align-items:stretch;gap:4px;min-height:0}.card-slot{position:relative;flex:0 0 calc((100% - 4px)/2);height:100%;min-width:0;min-height:0}.single-back .dead-slot{display:none}.resources{display:flex;align-items:center;gap:6px;position:relative;min-width:0;padding:0 2px}.token{flex:1;min-width:0;height:26px;min-height:26px;padding:0 10px;display:flex;align-items:center;gap:12px;text-align:left;background:#34392f;border:1px solid #a1844d;color:#e5bd6b;font-size:18px;line-height:24px}.moon-token{background:#3d4948;color:#bad0ce;border-color:#687b77}.animal{display:block;object-fit:contain;width:24px;height:24px}.scrim{position:absolute;inset:0;z-index:30;background:#33362da8;display:flex;align-items:center;justify-content:center;padding:12px}.modal{max-width:520px;width:100%;max-height:100%;overflow:auto;scrollbar-width:none;background:#f3ead7;border:1px solid #a1844d;outline:1px solid #a1844d;outline-offset:-6px;box-shadow:5px 8px #33362d30;padding:24px 20px;position:relative}.modal::-webkit-scrollbar{display:none}.modal>button:not(.close){display:block;width:100%;margin-top:10px}.close{position:sticky;float:right;top:0;right:0;width:36px;height:36px;min-height:36px;padding:0;font-size:24px;background:#f3ead7;z-index:1}.primary{background:#9e4134;color:#f3ead7;border-color:#9e4134;font-weight:700}.eyebrow{font-size:14px;letter-spacing:2px;color:#9e4134}.reward-choices{display:grid;gap:10px;margin-top:10px}.reward{text-align:left}.reward>span,.reward>small{display:block;line-height:1.5}.reward>span{font-weight:700}.reward>small{font-size:inherit;color:#777565}.reward:hover{background:#faf3e3}.reward-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reward-cards>article{min-width:0}.reward-card-slot{position:relative;width:100%;aspect-ratio:4/3}.reward-buy,.reward-replace{width:100%;margin-top:8px}.reward-growth{font-size:12px;line-height:1.5;margin:6px 0}.reward-new-card{max-width:230px;margin:0 auto 16px}.guide-scrim{padding:12px;z-index:40}.guide-scrim .reference-guide-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:start;gap:24px 18px}.guide-entry{min-width:0;width:100%;max-width:420px;margin:0 auto}.guide-entry>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px}.guide-entry i{font-size:12px;color:#777565}.guide-role{display:inline-block;font-size:11px;border:1px solid #a1844d;padding:3px 9px;color:#716650;letter-spacing:1px}.guide-card-slot{position:relative;width:100%;aspect-ratio:374 / 728;margin:0 auto}.hold-detail{position:absolute;inset:0;z-index:20;background:#f3ead7;border:4px solid #34392f;outline:1px solid #a1844d;box-shadow:2px 3px #33362d40;padding:12px;pointer-events:none;display:flex;flex-direction:column;justify-content:center;gap:8px;font-size:14px;line-height:18px}.hold-detail p,.hold-detail h2{margin:0}.hold-detail h2{font-size:20px}.hold-detail i{font-size:14px;color:#777565}.hold-detail hr{width:100%;border:0;border-top:1px solid #b7ab90;margin:2px 0}.hold-detail footer{border-top:1px solid #b7ab90;padding-top:6px;color:#777565;text-align:center;font-size:14px;line-height:18px}.recruitment{position:absolute;margin:0;display:grid;grid-template-rows:40px var(--draft-height,166.25px) 24px minmax(0,1fr) 40px;gap:6px;text-align:center}.recruit-intro h1{font-family:Georgia,Malgun Gothic,serif;font-size:22px;line-height:24px;margin:0}.recruit-intro p{font-size:12px;line-height:16px;margin:0;color:#777565}.formation-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;color:#716650;line-height:16px}.formation-slot{position:relative;flex:0 0 calc((100% - 4px)/2);display:flex;flex-direction:column;min-width:0;min-height:0;gap:2px}.formation-slot>.card-slot{flex:1;width:100%;height:auto;min-height:0}.draft-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-height:0}.draft-choice{position:relative;display:grid;grid-template-rows:minmax(0,1fr) 24px;gap:2px;min-width:0;min-height:0}.draft-card-slot{position:relative;min-width:0;min-height:0;text-align:left}.draft-choice>button{position:absolute;inset:0;display:flex;align-items:flex-end;padding:0;min-height:0;font-size:12px;line-height:20px;border:0;background:transparent}.draft-choice>button>span{width:100%;height:24px;border:1px solid #a1844d;border-radius:3px;background:#f8f0dc}.draft-choice>button:hover>span{background:#f0d7be}.shop-board .reward-card-slot{width:100%;height:100%;aspect-ratio:auto;min-height:0;text-align:left}.shop-board{grid-template-rows:24px var(--draft-height,166.25px) 20px minmax(0,1fr) 40px}.shop-board .choice-price{display:inline-block;flex:none;padding:1px 7px;border:1px solid #9e4134;border-radius:3px;background:#9e4134;color:#fff7e7;font-size:16px;font-weight:800;line-height:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.shop-board .draft-choice>button>span{display:flex;align-items:center;justify-content:space-between;padding:0 5px;font-weight:700}.shop-board .draft-choice>button .choice-price{padding:0 6px;font-size:15px;line-height:20px}.shop-board [data-reward-card]:disabled{opacity:1;color:#777565}.shop-board [data-reward-card]:disabled .choice-price{background:#615747;border-color:#615747}.shop-selected{outline:2px solid #9e4134;outline-offset:1px}.shop-selected>button>span{background:#f0d7be;border-color:#9e4134;font-weight:700}.shop-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px;min-height:0;padding-bottom:3px}.item-target-icon{display:block;width:88px;height:88px;object-fit:contain;margin:0 auto}.item-target-modal h2{text-align:center;margin:8px 0}.item-target-modal p{font-size:13px}.item-side-effect{color:#9e4134;font-weight:700}.item-target-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.item-target-list button{display:flex;flex-direction:column;gap:6px;text-align:left;padding:10px}.item-target-list small{font-size:11px;line-height:1.5}.shop-board .slot-select:disabled{opacity:1}.shop-board .formation-card-select:disabled{cursor:default}.draft-choice>button:focus-visible,.formation-card-select:focus-visible{outline:2px solid #9e4134;outline-offset:1px}.draft-complete{grid-column:1/-1;align-self:center;color:#716650;font-size:14px;padding:12px 28px}.draft-complete strong{font-size:20px;color:#33362d}.draft-complete p{line-height:1.6;margin:12px 0}.draft-complete small{font-size:12px}.formation-card-select{position:absolute;inset:24px 0 0;margin:0;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer}.formation-card-select:hover{background:#a1844d12}.slot-select{height:20px;min-height:20px;line-height:18px;padding:0 4px;font-size:14px;border:0;background:transparent;width:100%;white-space:nowrap}.active-slot>.slot-select{background:#9e4134;color:#f3ead7}.empty-slot{width:100%;height:100%;min-height:0;background:#f3ead750;border:1px dashed #a1844d;display:grid;place-items:center;color:#827652}.empty-slot>span{font-size:28px;line-height:1}.empty-slot small{display:block;font-size:14px;margin-top:8px}.remove-card{position:absolute;right:2px;top:0;z-index:2;width:20px;height:20px;min-height:20px;padding:0;border-radius:50%;line-height:16px;background:#34392f;color:#f3ead7}.embark{margin:0;width:100%;height:40px;min-height:40px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.text-term{font-family:"Noto Serif KR",Batang,Georgia,serif;font-weight:800;color:var(--term-ink,#592b31);padding-inline:.1em;background:linear-gradient(transparent 42%,var(--term-fill,#e8c7a4) 42% 92%,transparent 92%);box-decoration-break:clone;-webkit-box-decoration-break:clone;text-decoration:none}.reference-guide{--guide-paper:#f3ead7;--guide-ink:#34392f;--guide-accent:#9e4134;--guide-line:#b7ab90;width:min(1040px,100%);height:100%;max-height:900px;display:flex;flex-direction:column;min-height:0;background:var(--guide-paper);color:var(--guide-ink);border:1px solid #a1844d;box-shadow:5px 8px #33362d30;overflow:hidden;text-align:left}.reference-guide button:not(.ability),.reference-guide input,.reference-guide select{font:inherit;color:inherit;border:1px solid var(--guide-line);border-radius:3px;background:#fff8e9;min-height:40px;padding:8px 12px}.reference-guide button{cursor:pointer}.reference-guide :focus-visible{outline:2px solid var(--guide-accent);outline-offset:2px}.reference-guide-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 24px 16px;border-bottom:1px solid var(--guide-line)}.reference-guide-header h2{font-size:26px;margin:2px 0 6px;font-family:Georgia,Malgun Gothic,serif}.reference-guide-header p{margin:0;line-height:1.5}.reference-guide-eyebrow{font-size:11px;letter-spacing:3px;color:var(--guide-accent)}.reference-guide-header [data-guide-close]{flex:none;width:40px;padding:0;font-size:26px}.reference-guide-tabs{display:flex;gap:6px;padding:10px 24px;background:#e8deca;border-bottom:1px solid var(--guide-line)}.reference-guide-tabs button{flex:1;max-width:220px}.reference-guide .reference-guide-tabs button[aria-selected=true],.reference-guide .reference-guide-filters button[aria-pressed=true]{background:var(--guide-ink);border-color:var(--guide-ink);color:var(--guide-paper)}.reference-guide-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:24px;scrollbar-width:thin;scrollbar-color:#a1844d transparent}.reference-guide .document-reader>header h1{font-size:28px;margin:0 0 8px}.reference-guide .document-reader>header p{color:#716650;margin:0 0 16px}.reference-guide .document-reader-reading-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-24px;background:var(--guide-paper);z-index:2;border-block:1px solid var(--guide-line);padding:10px 0;margin-bottom:22px;font-size:12px}.reference-guide .document-reader-reading-tools label{display:flex;align-items:center;gap:8px}.reference-guide progress{width:90px;height:5px;accent-color:var(--guide-accent)}.reference-guide .document-reader-reading-tools button{min-height:28px;padding:2px 8px;font-size:12px}.reference-guide [hidden]{display:none!important}.reference-guide .document-reader-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px}.reference-guide .document-reader-toc{position:sticky;top:38px;align-self:start;display:flex;flex-direction:column;gap:4px;font-size:13px}.reference-guide .document-reader-toc strong{margin:12px 0 4px;color:var(--guide-accent)}.reference-guide .document-reader-toc a,.reference-guide .document-reader-mobile-toc a{display:block;text-decoration:none;color:var(--guide-ink);padding:7px 10px;border-left:2px solid var(--guide-line)}.reference-guide .document-reader-toc a:hover,.reference-guide .document-reader-toc a.active{background:#e8deca;border-color:var(--guide-accent)}.reference-guide .document-reader-mobile-toc{display:none}.reference-guide .document-reader-content{min-width:0;line-height:1.85}.reference-guide .document-reader-content>:first-child{margin-top:0}.reference-guide .document-reader-content h1{font-size:24px}.reference-guide .document-reader-content h2{font-size:20px;margin-top:32px;padding-top:16px;border-top:1px solid var(--guide-line);scroll-margin-top:60px;color:var(--guide-accent)}.reference-guide .document-reader-content h3{font-size:16px}.reference-guide .document-reader-content p{line-height:1.85}.reference-guide .document-reader-content strong{color:var(--guide-accent)}.reference-guide .document-reader-content blockquote{margin:16px 0;padding:10px 16px;background:#e8deca;border-left:3px solid var(--guide-accent)}.reference-guide .document-reader-content blockquote p{margin:0}.reference-guide .document-reader-content li{margin:6px 0}.reference-guide .document-reader-table-scroll{overflow-x:auto}.reference-guide table{border-collapse:collapse;width:100%;font-size:13px}.reference-guide th,.reference-guide td{border:1px solid var(--guide-line);padding:10px;text-align:left}.reference-guide th{background:#e8deca}.reference-guide-catalog-tools{display:flex;align-items:end;gap:12px}.reference-guide-catalog-tools label{display:flex;flex-direction:column;gap:6px;font-size:12px}.reference-guide-search{flex:1;min-width:0}.reference-guide-search input{width:100%}.reference-guide-filters{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.reference-guide-filters button{min-height:34px;padding:5px 14px}.reference-guide-count{font-size:12px;color:#716650;margin:16px 0}.reference-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.reference-guide-empty{grid-column:1/-1;text-align:center;padding:40px 12px;border:1px dashed var(--guide-line)}@media(max-width:680px){.reference-guide-header{padding:14px 16px 12px}.reference-guide-header h2{font-size:23px}.reference-guide-header>div>p:last-child{font-size:12px}.reference-guide-tabs{padding:8px 16px}.reference-guide-scroll{padding:16px}.reference-guide .document-reader-reading-tools{top:-16px}.reference-guide .document-reader-layout{display:block}.reference-guide .document-reader-toc{display:none}.reference-guide .document-reader-mobile-toc{display:block;background:#e8deca;padding:12px;margin-bottom:20px}.reference-guide .document-reader-mobile-toc summary{cursor:pointer;font-weight:700}.reference-guide .document-reader-mobile-toc strong{display:block;margin:12px 0 6px}.reference-guide .document-reader-content{font-size:14px}.reference-guide-grid{grid-template-columns:1fr}.reference-guide-catalog-tools{gap:8px}.reference-guide-catalog-tools select{max-width:110px}.reference-guide-catalog-tools input{padding:8px}.reference-guide .document-reader>header h1{font-size:24px}}@media(max-height:450px){.reference-guide-header{padding:8px 16px}.reference-guide-header>div>p:last-child,.reference-guide-eyebrow{display:none}.reference-guide-header h2{font-size:20px;margin:0}.reference-guide-tabs{padding-block:6px}.reference-guide-tabs button{min-height:32px;padding-block:4px}}.engine-pwa-install{position:fixed;z-index:10000;box-sizing:border-box;inset:auto max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));width:auto;max-width:420px;margin-inline:auto;padding:16px;border:1px solid #ddd0b4;border-radius:16px;background:#fff9eb;color:#30291e;box-shadow:0 8px 32px #0005;font:15px/1.5 system-ui,sans-serif;text-align:left;overflow-wrap:anywhere}.engine-pwa-install[hidden],.engine-pwa-install [hidden]{display:none!important}.engine-pwa-install__title{display:block;font-size:17px}.engine-pwa-install p{margin:8px 0}.engine-pwa-install__message:empty{display:none}.engine-pwa-install__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.engine-pwa-install button{min-height:44px;padding:8px 16px;border:1px solid transparent;border-radius:10px;background:#493b26;color:#fff9eb;font:inherit;font-weight:700;cursor:pointer;touch-action:manipulation}.engine-pwa-install button.engine-pwa-install__later{background:transparent;color:inherit;border-color:#b6a789}.engine-pwa-install button:focus-visible{outline:3px solid #2871bb;outline-offset:3px}.engine-pwa-install button:disabled{opacity:.6;cursor:wait}.game-launch{position:absolute;inset:0;z-index:50;display:grid;place-items:center;overflow:auto;padding:24px;background:var(--launch-background,#d8cfb9);color:var(--launch-color,#33362d);text-align:center}.game-launch-content{width:min(100%,360px);padding:32px 20px;border-block:1px solid #a1844d}.game-launch h1{font-family:Georgia,Malgun Gothic,serif;font-size:clamp(42px,12vw,64px);letter-spacing:.14em;margin:20px 0}.game-launch p{line-height:1.6}.game-launch-content>p:first-child{letter-spacing:.2em;color:#9e4134}.game-launch progress{width:100%;height:10px;accent-color:#9e4134;margin-top:28px}.game-launch button,.game-launch-notice button{display:block;width:100%;min-height:48px;margin-top:12px;background:#9e4134;color:#f3ead7;border:0;border-radius:3px;font:inherit;cursor:pointer}.game-launch button:disabled{opacity:.45;cursor:wait}.game-launch [hidden]{display:none}.game-launch-notice{width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #a1844d;border-radius:6px;background:#f3ead7;color:#33362d;padding:24px;font:inherit}.game-launch-notice::backdrop{background:#24251ed0}.game-launch-notice h2{font-size:22px;margin:0 0 20px}.game-launch-notice ul{padding-left:20px;line-height:1.8}.game-launch-with-art{background:var(--launch-background,radial-gradient(ellipse at 50% 30%,#fff3c9 0%,#e4eacb 48%,#bdd0ad 100%))}.game-launch-with-art .game-launch-content{box-sizing:border-box;min-width:0;width:min(100%,580px);padding:16px 12px 24px;border:0}.game-launch-with-art progress,.game-launch-with-art button{max-width:340px;margin-left:auto;margin-right:auto}.game-launch-with-art button{border-radius:14px;background:#446a3c;box-shadow:0 4px #2a492b;font-weight:700}.game-launch h1.game-launch-art{position:relative;margin:8px 0 0;letter-spacing:normal;isolation:isolate}.game-launch-art img{display:block;width:100%;height:auto;opacity:0}.game-launch-art-fallback{position:absolute;inset:0;display:grid;place-items:center}.game-launch-art.is-ready .game-launch-art-fallback{display:none}.game-launch-art.is-ready img{opacity:1;filter:drop-shadow(0 12px 10px #344d342b)}.game-launch-burst{position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:0}.game-launch-burst:before{content:"";position:absolute;inset:18% 14%;border:5px solid #ffe8a1;border-radius:50%}.game-launch-burst i{position:absolute;left:var(--x);top:var(--y);width:18px;height:26px;background:#fff3b1;clip-path:polygon(50% 0,63% 36%,100% 50%,63% 64%,50% 100%,37% 64%,0 50%,37% 36%)}.game-launch-burst i:nth-child(1){--x:9%;--y:22%}.game-launch-burst i:nth-child(2){--x:28%;--y:6%}.game-launch-burst i:nth-child(3){--x:69%;--y:7%}.game-launch-burst i:nth-child(4){--x:88%;--y:25%}.game-launch-burst i:nth-child(5){--x:93%;--y:58%}.game-launch-burst i:nth-child(6){--x:75%;--y:85%}.game-launch-burst i:nth-child(7){--x:22%;--y:84%}.game-launch-burst i:nth-child(8){--x:4%;--y:58%}.game-launch-art.is-ready[data-entrance=pop-sparkle] img{animation:game-launch-pop .95s both cubic-bezier(.2,.8,.2,1)}.game-launch-art.is-ready[data-entrance=pop-sparkle] .game-launch-burst{animation:game-launch-burst 1s .18s both}.game-launch-art.is-ready[data-entrance=pop-sparkle] .game-launch-burst i{animation:game-launch-glint .9s .26s both}@keyframes game-launch-pop{0%{opacity:0;transform:translateY(48px) scale(.35) rotate(-7deg)}55%{opacity:1;transform:translateY(-14px) scale(1.09) rotate(2deg)}75%{transform:translateY(5px) scale(.97) rotate(-1deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes game-launch-burst{0%{opacity:0;transform:scale(.45)}30%{opacity:1}to{opacity:0;transform:scale(1.2)}}@keyframes game-launch-glint{0%{transform:scale(.2) rotate(-35deg)}50%{transform:scale(1.3) rotate(15deg)}to{transform:scale(.5) rotate(45deg)}}@media(prefers-reduced-motion:reduce){.game-launch-art.is-ready[data-entrance] img,.game-launch-art.is-ready[data-entrance] .game-launch-burst,.game-launch-art.is-ready[data-entrance] .game-launch-burst i{animation:none}.game-launch-burst{display:none}}@media(max-height:600px)and (min-width:600px){.game-launch-with-art .game-launch-content{width:min(100%,400px);padding:0}.game-launch-with-art .game-launch-content>p{margin:4px 0}.game-launch-with-art progress{margin-top:8px}.game-launch-with-art .game-launch-art{max-width:330px;margin:auto}}.speech-text .speech-text__glyph{display:inline-block;white-space:pre;animation-delay:var(--speech-delay)!important;animation-duration:.42s;animation-fill-mode:both}.speech-text.speech-text--typewriter .speech-text__glyph{opacity:0;animation-name:speech-glyph-type;animation-duration:.18s}.speech-text.speech-text--rise .speech-text__glyph{animation-name:speech-glyph-rise}.speech-text.speech-text--bounce .speech-text__glyph{animation-name:speech-glyph-bounce}.speech-text.speech-text--glow .speech-text__glyph{animation-name:speech-glyph-glow}.speech-text.speech-text--wave .speech-text__glyph{animation-name:speech-glyph-wave}.speech-text.speech-text--stamp .speech-text__glyph{animation-name:speech-glyph-stamp;animation-duration:.5s}.speech-text.speech-text--tilt .speech-text__glyph{animation-name:speech-glyph-tilt;animation-duration:.52s}.speech-text .speech-text__glyph--comic,.speech-text .speech-text__glyph--laugh,.speech-text .speech-text__glyph--giggle,.speech-text .speech-text__glyph--cry,.speech-text .speech-text__glyph--exclaim,.speech-text .speech-text__glyph--sigh,.speech-text .speech-text__glyph--sound{color:#fff8df;font-weight:1000;-webkit-text-stroke:1px #38291f;paint-order:stroke fill;text-shadow:0 2px 0 #38291f,1px 3px 2px #38291f88}.speech-text .speech-text__glyph--comic{position:relative;z-index:1;font-size:1.14em;animation-name:speech-glyph-comic!important;animation-duration:.52s}.speech-text .speech-text__glyph--laugh{z-index:2;font-size:1.22em;animation:speech-glyph-laugh .56s cubic-bezier(.2,.8,.25,1.5) both!important;animation-delay:var(--speech-delay)!important}.speech-text .speech-text__glyph--giggle{z-index:2;font-size:1.15em;animation:speech-glyph-giggle .68s ease-out both!important;animation-delay:var(--speech-delay)!important}.speech-text .speech-text__glyph--cry{z-index:2;font-size:1.2em;animation:speech-glyph-cry .7s ease-in both!important;animation-delay:var(--speech-delay)!important}.speech-text .speech-text__glyph--exclaim{z-index:2;font-size:1.2em;animation:speech-glyph-exclaim .48s cubic-bezier(.15,.9,.25,1.4) both!important;animation-delay:var(--speech-delay)!important}.speech-text .speech-text__glyph--sigh{font-size:1.08em;font-weight:800;animation:speech-glyph-sigh .76s ease-out both!important;animation-delay:var(--speech-delay)!important}.speech-text .speech-text__glyph--sound{z-index:2;font-size:1.16em;animation:speech-glyph-exclaim .5s cubic-bezier(.15,.9,.25,1.4) both!important;animation-delay:var(--speech-delay)!important}@keyframes speech-glyph-type{0%{opacity:0}to{opacity:1}}@keyframes speech-glyph-rise{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes speech-glyph-bounce{0%{opacity:0;transform:scale(.45) rotate(-8deg)}65%{opacity:1;transform:scale(1.16) rotate(3deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes speech-glyph-glow{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@keyframes speech-glyph-wave{0%{opacity:0;transform:translateY(8px) rotate(8deg)}60%{opacity:1;transform:translateY(-3px) rotate(-4deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@keyframes speech-glyph-stamp{0%{opacity:0;transform:scale(1.8)}65%{opacity:1;transform:scale(.88)}to{opacity:1;transform:scale(1)}}@keyframes speech-glyph-tilt{0%{opacity:0;transform:translateY(-6px) rotate(-18deg)}70%{opacity:1;transform:translateY(1px) rotate(5deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@keyframes speech-glyph-comic{0%{opacity:0;transform:translateY(8px) scale(.35) rotate(-12deg)}58%{opacity:1;transform:translateY(-2px) scale(1.32) rotate(4deg)}78%{transform:translateY(1px) scale(.94) rotate(-2deg)}to{opacity:1;transform:translateY(0) scale(1.08) rotate(0)}}@keyframes speech-glyph-laugh{0%{opacity:0;transform:scale(.3) rotate(-24deg)}45%{opacity:1;transform:scale(1.35) rotate(15deg)}72%{transform:scale(.92) rotate(-9deg)}to{opacity:1;transform:scale(1.12) rotate(0)}}@keyframes speech-glyph-giggle{0%{opacity:0;transform:translateY(6px) rotate(12deg)}45%{opacity:1;transform:translateY(-5px) rotate(-9deg)}75%{transform:translateY(1px) rotate(5deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@keyframes speech-glyph-cry{0%{opacity:0;transform:translateY(-10px) scale(.7)}55%{opacity:1;transform:translateY(3px) scale(1.2)}78%{transform:translateY(-2px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1.08)}}@keyframes speech-glyph-exclaim{0%{opacity:0;transform:scale(.2) rotate(-16deg)}62%{opacity:1;transform:scale(1.42) rotate(6deg)}82%{transform:scale(.9) rotate(-2deg)}to{opacity:1;transform:scale(1.14) rotate(0)}}@keyframes speech-glyph-sigh{0%{opacity:0;transform:translateY(-5px)}42%{opacity:.8;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.speech-text .speech-text__glyph{animation:none!important;opacity:1!important;transform:none!important}}.engine-battle-intro{position:fixed;inset:0;box-sizing:border-box;width:min(100%,720px);height:min(100%,820px);max-width:100vw;max-height:100dvh;margin:auto;padding:24px;border:1px solid #aa8c55;border-radius:20px;background:radial-gradient(ellipse at 50% 38%,#fff6db,#eee0c4 68%);color:#34392f;box-shadow:0 20px 100px #1118;overflow:hidden;display:flex;flex-direction:column;font-family:inherit}.engine-battle-intro:not([open]){display:none}.engine-battle-intro::backdrop{background:#242a28de}.engine-battle-intro header{position:relative;padding-right:98px}.engine-battle-intro header>span{font-size:12px;letter-spacing:2px;color:#9e4134}.engine-battle-intro h2{font-size:clamp(20px,4vw,30px);margin:8px 0}.engine-battle-intro button{font:inherit;border:1px solid #ac905a;border-radius:8px;padding:10px 14px;cursor:pointer;background:#fff8e9;color:#34392f;min-height:44px}.engine-battle-intro button:focus-visible{outline:3px solid #9e4134;outline-offset:3px}.engine-battle-intro [data-skip]{position:absolute;right:0;top:0;font-size:12px}.engine-intro-stage{position:relative;display:flex;flex:1;min-height:0;align-items:center;gap:12px}.engine-intro-team{width:50%;height:100%;position:relative;display:flex;align-items:center;justify-content:center}.engine-intro-actor{position:absolute;margin:0;width:100%;max-height:100%;display:flex;align-items:center;flex-direction:column;transition:filter .2s,opacity .2s}.engine-intro-actor img{display:block;width:100%;max-height:clamp(90px,37dvh,330px);object-fit:contain;filter:drop-shadow(0 14px 8px #64532b28)}.engine-intro-actor figcaption{font-size:12px;padding:5px 9px;border-radius:20px;background:#fff8e9ee;text-align:center}.engine-intro-team:not(.is-speaking) .is-leader{filter:saturate(.6);opacity:.7}.engine-intro-team.is-speaking .is-leader{animation:engine-intro-boast .35s ease-out}.engine-intro-actor.is-friend{visibility:hidden;width:34%;bottom:8%;left:calc(var(--intro-order)*20%);z-index:2}.engine-intro-actor.is-friend img{max-height:140px}.engine-battle-intro[data-phase] .is-friend{visibility:visible;animation:engine-intro-walk 1.2s both;animation-delay:calc(var(--intro-order)*.12s)}.engine-battle-intro[data-phase] .is-leader{opacity:1;filter:none;width:75%;top:5%}.engine-intro-dialogue{position:relative;border:1px solid #b8a073;border-left:5px solid #9e4134;border-radius:12px;padding:18px;background:#fffaf0;min-height:114px;box-sizing:border-box}.engine-intro-dialogue strong{color:#9e4134;font-size:14px}.engine-intro-dialogue p{font-size:clamp(17px,3.7vw,23px);line-height:1.55;margin:8px 0 20px;word-break:keep-all;overflow-wrap:anywhere}.engine-intro-dialogue [data-count]{position:absolute;right:14px;bottom:10px;font-size:11px;color:#827763}.engine-battle-intro footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:16px}.engine-battle-intro footer>span{font-size:12px;color:#827763}.engine-battle-intro [data-next]{background:#9e4134;color:#fff8e9;border-color:#9e4134}@keyframes engine-intro-boast{50%{translate:0 -8px}}@keyframes engine-intro-walk{0%{translate:-120px 0;opacity:0}30%{translate:-70px -9px}55%{translate:-40px 0}80%{translate:-16px -7px}to{translate:0 0;opacity:1}}@media(max-height:520px){.engine-battle-intro{padding:12px}.engine-intro-dialogue{min-height:90px;padding:10px}.engine-intro-dialogue p{font-size:16px;margin:4px 0 16px}.engine-battle-intro footer{padding-top:8px}.engine-intro-actor img{max-height:28dvh}}@media(prefers-reduced-motion:reduce){.engine-battle-intro *{animation:none!important;transition:none!important}}.engine-battle-intro{--intro-speaker-color:#9e4134;--intro-tail:25%}.engine-battle-intro[data-speaker="1"]{--intro-speaker-color:#397b80;--intro-tail:75%}.engine-battle-intro[data-speaker=all]{--intro-speaker-color:#8a6627;--intro-tail:50%}.engine-intro-dialogue{border:2px solid var(--intro-speaker-color);border-radius:22px;box-shadow:0 5px #64532b22;transition:border-color .2s}.engine-intro-dialogue:before{content:"";position:absolute;left:var(--intro-tail);top:-10px;width:16px;height:16px;background:#fffaf0;border-top:2px solid var(--intro-speaker-color);border-left:2px solid var(--intro-speaker-color);transform:translate(-50%) rotate(45deg);transition:left .2s,border-color .2s}.engine-intro-dialogue strong{display:inline-block;background:color-mix(in srgb,var(--intro-speaker-color) 12%,white);color:var(--intro-speaker-color);padding:3px 10px;border-radius:20px}.engine-intro-actor img{transition:transform .2s,filter .2s}.engine-intro-team.is-speaking .is-leader img{transform:translateY(-10px) scale(1.06);filter:drop-shadow(0 0 12px color-mix(in srgb,var(--intro-speaker-color) 50%,transparent))}@media(prefers-reduced-motion:reduce){.engine-intro-team.is-speaking .is-leader img{transform:none}}.engine-tutorial-layer{position:absolute;z-index:35;inset:0;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s}.engine-tutorial-layer.is-visible{opacity:1;visibility:visible}.engine-tutorial-pointer{position:absolute;inset:0;width:100%;height:100%;color:#ffd36b;overflow:visible;filter:drop-shadow(0 2px 2px #2c1b1a)}.engine-tutorial-pointer path[marker-end]{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:5 5;animation:engine-tutorial-march 1.4s linear infinite}.engine-tutorial-pointer.is-hidden,.engine-tutorial-ring[hidden]{display:none}.engine-tutorial-ring{position:absolute;border:2px solid #ffd36b;border-radius:12px;box-shadow:0 0 0 4px #31221988,0 0 0 7px #ffd36b50;animation:engine-tutorial-pulse 1.8s ease-in-out infinite}.engine-tutorial-note{position:absolute;width:min(288px,calc(100% - 24px));max-height:min(250px,calc(100% - 24px));overflow-y:auto;padding:12px 14px 10px;border:2px solid #f5d181;border-radius:17px;background:#30271fee;color:#fff8e7;box-shadow:0 5px #1e1713,0 12px 26px #20130bb0;pointer-events:auto;overscroll-behavior:contain}.engine-tutorial-layer.is-visible .engine-tutorial-note{animation:engine-tutorial-open .3s cubic-bezier(.18,1.25,.3,1) both}.engine-tutorial-eyebrow{display:block;margin-bottom:2px;color:#ffd36b;font-size:10px;font-weight:900;letter-spacing:.08em}.engine-tutorial-title{display:block;font-size:16px;font-weight:950;line-height:1.35}.engine-tutorial-body{margin:5px 0 0;color:#f5e7cc;font-size:12px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}.engine-tutorial-note.page-enter .engine-tutorial-body{animation:engine-tutorial-page .22s ease-out}.engine-tutorial-actions{display:flex;align-items:center;gap:6px;margin-top:9px}.engine-tutorial-count{flex:1;color:#cbb99a;font-size:10px;font-weight:800}.engine-tutorial-actions button{min-height:32px;padding:3px 9px;border:1px solid #a7895f;border-radius:8px;background:#ffffff17;color:#fff8e7;font-size:11px;font-weight:900}.engine-tutorial-actions .engine-tutorial-next{border-color:#ffd36b;background:#f6d47a;color:#34271c}.engine-tutorial-actions button:focus-visible{outline:2px solid #fff;outline-offset:2px}@keyframes engine-tutorial-open{0%{opacity:0;transform:translateY(9px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes engine-tutorial-page{0%{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes engine-tutorial-march{to{stroke-dashoffset:-20}}@keyframes engine-tutorial-pulse{50%{box-shadow:0 0 0 2px #31221988,0 0 0 10px #ffd36b20}}@media(prefers-reduced-motion:reduce){.engine-tutorial-layer,.engine-tutorial-layer *,.engine-tutorial-layer *:before{animation:none!important;transition:none!important}}.reduced-motion .engine-tutorial-layer,.reduced-motion .engine-tutorial-layer *{animation:none!important;transition:none!important}.engine-tutorial-layer,.engine-tutorial-layer *{box-sizing:border-box}.nature-theme{--nature-ink:#354f41;--nature-leaf:#508561;--nature-line:#a9bc91;--nature-paper:#fff9e9;color:var(--nature-ink);background:#c1e7ed}.nature-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.nature-backdrop svg{display:block;width:100%;height:100%}.nature-environment{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.nature-environment,.nature-backdrop{--spring:1;--summer:0;--autumn:0;--winter:0;--leaf:#e6b2c6;--leaf-light:#f8dae3;--leaf-shadow:#b28f9b;--ground:#bfd49a;--ground-light:#d7dfa5;--ground-shadow:#456b58;--hill-far:#b7d3bb;--hill:#92b99b;--hill-near:#85ac8a;--forest:#80a68c;--bark:#9f8060;--bark-light:#c0a07b;--bark-line:#806b54;--grass:#648c55;--grass-light:#a4bc76;--sand:#e5d2a4;--sand-shadow:#b7a17c;--water:#87bbc4;--water-light:#c2ded6;--water-deep:#6498ac;--foam:#dfede0;--rock:#93a69e;--rock-light:#c5cdc0;--rock-shadow:#687f7d;--moss:#7a9a6c;--snow:#f3f6ec;--reed:#aa8c66}.nature-environment>svg{display:block;width:100%;height:100%;overflow:hidden}.nature-backdrop [data-layer=stars],.nature-backdrop [data-layer=aurora],.nature-backdrop [data-layer=meteors],.nature-backdrop [data-layer=eyes],.nature-backdrop [data-layer=fireflies],.nature-backdrop [data-layer=moon],.nature-backdrop [data-layer=sun],.nature-backdrop [data-layer=wind-trails],.nature-backdrop [data-layer=water-chop]{opacity:0}.nature-environment .nature-tree-crown{transform-origin:0px 120px;animation:nature-sway 9s ease-in-out var(--sway-delay,0s) infinite alternate}.nature-environment .nature-grass{transform-box:fill-box;transform-origin:center bottom;animation:nature-grass-sway 6s ease-in-out var(--sway-delay,0s) infinite alternate}.nature-environment .nature-flower{transform-origin:0px 0px;animation:nature-grass-sway 5s ease-in-out infinite alternate}.nature-environment .nature-cloud{transform:translate(0)}.nature-environment .nature-ripple{animation:nature-ripple 6s ease-in-out var(--delay,0s) infinite alternate}.nature-environment .nature-water-wave{animation:nature-water-wave var(--duration,6s) linear var(--delay,0s) infinite}.nature-environment .nature-shore-wash{animation:nature-shore-wash 7s ease-in-out var(--delay,0s) infinite}.nature-environment .nature-shore-foam{animation:nature-shore-foam 7s ease-in-out var(--delay,0s) infinite}.nature-environment .nature-rain-ring{transform-box:fill-box;transform-origin:center;animation:nature-rain-ring 3s ease-out var(--delay,0s) infinite}.nature-environment .nature-star{animation:nature-twinkle 7s ease-in-out var(--delay,0s) infinite alternate}.nature-environment .nature-aurora{animation:nature-aurora 24s ease-in-out var(--delay,0s) infinite alternate}.nature-environment .nature-meteor{animation:nature-meteor 18s linear var(--delay,0s) infinite}.nature-environment .nature-eyes{transform-box:fill-box;transform-origin:center;animation:nature-blink 9s ease-in-out var(--delay,0s) infinite}.nature-environment .nature-firefly{animation:nature-firefly 10s ease-in-out var(--delay,0s) infinite alternate}.nature-environment .nature-falling{animation:nature-fall var(--duration,25s) linear var(--delay,0s) infinite}.nature-environment .nature-flutter{animation:nature-flutter 5s ease-in-out var(--delay,0s) infinite alternate}.nature-environment .nature-falling-summer .nature-flutter{animation:none}.nature-environment .nature-falling-summer .nature-flutter{transform:rotate(var(--rain-angle,0deg))}.nature-environment .nature-fern{transform-box:fill-box;transform-origin:center bottom;animation:nature-grass-sway 8s ease-in-out var(--sway-delay,0s) infinite alternate}.nature-environment .nature-wind-trail{animation:nature-wind-trail 12s ease-in-out var(--delay,0s) infinite}.nature-environment .nature-butterfly{animation:nature-butterfly 14s ease-in-out var(--delay,0s) infinite alternate}.nature-environment .nature-butterfly-wing{transform-origin:0px 0px;animation:nature-wing .8s ease-in-out infinite alternate}.nature-environment.nature-motion-paused *{animation-play-state:paused!important}@keyframes nature-sway{0%{transform:rotate(calc(var(--wind-angle,.4deg) - var(--wind-sway,.3deg)))}to{transform:rotate(calc(var(--wind-angle,.4deg) + var(--wind-sway,.3deg)))}}@keyframes nature-grass-sway{0%{transform:rotate(calc(var(--grass-bend,1deg) - var(--grass-sway,.4deg)))}to{transform:rotate(calc(var(--grass-bend,1deg) + var(--grass-sway,.4deg)))}}@keyframes nature-ripple{0%{transform:translate(-2px);opacity:.3}to{transform:translate(var(--ripple-drift,5px));opacity:.7}}@keyframes nature-water-wave{0%{transform:translate(-8px,-10px);opacity:0}25%{opacity:.45}65%{opacity:.55}to{transform:translate(var(--ripple-drift,5px),18px);opacity:0}}@keyframes nature-shore-foam{0%,to{stroke-width:32;opacity:0}20%{stroke-width:24;opacity:.12}50%{stroke-width:5;opacity:.75}64%{stroke-width:3;opacity:.55}85%{stroke-width:12;opacity:0}}@keyframes nature-shore-wash{0%,to{stroke-width:4;opacity:.05}35%{stroke-width:12;opacity:.18}60%{stroke-width:22;opacity:.35}85%{stroke-width:9;opacity:.1}}@keyframes nature-rain-ring{0%{transform:scale(.3);opacity:0}20%{opacity:.6}85%,to{transform:scale(1.8);opacity:0}}@keyframes nature-twinkle{0%{opacity:.35}to{opacity:.95}}@keyframes nature-aurora{0%{transform:translate(-20px,-12px);opacity:.5}to{transform:translate(20px,16px);opacity:.9}}@keyframes nature-meteor{0%{transform:translate(0);opacity:0}1%{opacity:.85}14%{transform:translate(-240px,135px);opacity:0}to{transform:translate(-240px,135px);opacity:0}}@keyframes nature-blink{0%,94%,98%,to{transform:scaleY(1)}96%{transform:scaleY(.08)}}@keyframes nature-firefly{0%{transform:translate(0);opacity:.2}to{transform:translate(10px,-12px);opacity:.8}}@keyframes nature-fall{0%{transform:translateY(-20px)}to{transform:translate(var(--wind-drift,60px),1000px)}}@keyframes nature-flutter{0%{transform:translate(-9px) rotate(-30deg) scaleY(.7)}to{transform:translate(9px) rotate(35deg) scaleY(1)}}@keyframes nature-wind-trail{0%,to{transform:translate(calc(var(--cloud-drift,20px) * -.5));opacity:0}35%{opacity:.65}75%{transform:translate(var(--cloud-drift,20px));opacity:0}}@keyframes nature-butterfly{0%{transform:translate(0) rotate(-8deg)}to{transform:translate(calc(15px + var(--cloud-drift,20px)),-18px) rotate(8deg)}}@keyframes nature-wing{0%{transform:scaleX(.4)}to{transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.nature-environment *{animation-play-state:paused!important}}.nature-controls{display:grid;gap:10px;margin:20px 0;padding:14px;border:1px solid #b1c493;border-radius:12px;background:#f1f3df}.nature-controls legend{padding:0 6px;font-weight:700}.nature-controls label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.nature-controls select{font:inherit;min-height:36px;max-width:65%;padding:4px 10px;border:1px solid #a9bc91;border-radius:8px;background:#fff9e9;color:#354f41}.nature-controls input{accent-color:#508561;width:18px;height:18px}.nature-controls small{font-size:11px;line-height:1.5;color:#65765b}.nature-theme .nature-button{border:1px solid #a9bc91;border-radius:10px;background:linear-gradient(#fffdf3,#eee8ce);color:#354f41;box-shadow:inset 0 1px #fff,0 2px #879f77;transition:filter .15s,box-shadow .15s}.nature-theme .nature-button:hover:not(:disabled){filter:brightness(1.06)}.nature-theme .nature-button:active:not(:disabled){box-shadow:inset 0 2px 3px #354f4120}.nature-theme .nature-button:focus-visible{outline:3px solid #377c86;outline-offset:2px}.nature-theme .nature-button.primary{background:linear-gradient(#6da577,#4c855f);border-color:#437650;color:#fffbed;box-shadow:inset 0 1px #a4c990,0 3px #356347;text-shadow:0 1px #356347}.nature-theme .nature-hud{border:1px solid #a9bc91;outline:0;border-radius:9px;background:#fff9e9;color:#354f41;box-shadow:inset 0 1px #fff,0 2px #7a9b7370}.nature-theme .nature-hud .seal{border-radius:50%;background:#67956a;color:#fff9e9;font-family:inherit;font-size:13px}.nature-theme .nature-hud>div>span{color:#65765b}.nature-theme .nature-panel{background:#fff9e9;border:2px solid #b1c493;border-radius:20px;outline:1px solid #fffdf4;outline-offset:-7px;box-shadow:0 8px #496a4c30,0 18px 45px #294c4133;color:#354f41}.nature-theme .nature-slot{background:#fff9e9b8;border:2px dashed #8fac7c;border-radius:12px;color:#557350;box-shadow:inset 0 0 18px #eff3d3}.nature-theme .nature-tab{border-radius:7px;color:#354f41;background:#fff9e9d9}.nature-theme .active-slot>.nature-tab{background:#508561;color:#fff9e9}.nature-theme .nature-resource{border-radius:9px;border-color:#cfb973;background:#fff2bf;color:#6f552c;box-shadow:0 2px #a18e5a60}.nature-theme .nature-resource.moon-token{border-color:#8baeb5;background:#dfedf5;color:#40677d;box-shadow:0 2px #61869260}.nature-theme .game-launch{background:transparent;color:#354f41}.nature-theme .game-launch-content{padding:32px 28px;background:#fff9e9ed;border:2px solid #b1c493;border-radius:28px;box-shadow:inset 0 0 0 6px #fffdf4,0 8px #496a4c25,0 20px 60px #294c4125}.nature-theme .game-launch-content:before{content:"✿";display:grid;place-items:center;width:54px;height:54px;margin:0 auto;background:#e6edc9;color:#67956a;border-radius:50%;font-size:34px}.nature-theme .game-launch h1{color:#426d4c;text-shadow:0 3px #e0e7c6}.nature-theme .game-launch-content>p:first-child{color:#68835b}.nature-theme .game-launch button,.nature-theme .game-launch-notice button{background:linear-gradient(#6da577,#4c855f);border:1px solid #437650;border-radius:14px;box-shadow:inset 0 1px #a4c990,0 3px #356347;color:#fffbed;font-weight:700}.nature-theme .game-launch progress{accent-color:#67956a}.nature-theme .game-launch-notice{background:#fff9e9;border:2px solid #b1c493;border-radius:20px;color:#354f41}.nature-theme .scrim{background:#294c416b;backdrop-filter:blur(4px)}.nature-theme .reference-guide{--guide-ink:#354f41;--guide-paper:#fff9e9;--guide-accent:#508561;--guide-line:#b1c493;border:2px solid #b1c493;border-radius:20px;box-shadow:0 8px #496a4c30}.nature-theme .reference-guide-tabs{background:#e5edcf}.nature-theme .reference-guide button:not(.ability),.nature-theme .reference-guide input,.nature-theme .reference-guide select{border-radius:10px}.nature-theme .recruit-intro h1{color:#354f41;text-shadow:0 1px 0 #fff9e9}.nature-theme .recruit-intro p,.nature-theme .formation-heading{color:#405c46;background:#fff9e9d9;border-radius:8px}.nature-theme .turn-label,.nature-theme .eyebrow{color:#426d4c}.nature-theme .draft-choice>button>span{border-color:#a9bc91;border-radius:7px;background:#fff9e9;color:#354f41}.nature-theme .draft-choice>button:hover>span{background:#e4edcb}.nature-theme .nature-hud.bottom-right{background:linear-gradient(#6da577,#4c855f);color:#fffbed;border-color:#437650}.nature-theme .engine-battle-intro{background:radial-gradient(ellipse at 50% 35%,#eef5d8,#fff9e9 75%);color:#354f41;border:2px solid #b1c493;box-shadow:inset 0 0 0 6px #fffdf4,0 20px 100px #294c4166}.nature-theme .engine-battle-intro header>span{color:#508561}.nature-theme .engine-battle-intro button{border-color:#a9bc91;border-radius:12px;background:#fff9e9;color:#354f41}.nature-theme .engine-battle-intro [data-next]{background:#508561;border-color:#437650;color:#fffbed;box-shadow:0 3px #356347}.nature-theme .engine-battle-intro::backdrop{background:#294c418f;backdrop-filter:blur(4px)}.nature-theme .engine-tutorial-note{background:#fff9e9fa;color:#354f41;border-color:#b1c493;box-shadow:0 5px #496a4c40,0 12px 26px #294c4133}.nature-theme .engine-tutorial-eyebrow{color:#508561}.nature-theme .engine-tutorial-actions button{background:#e5edcf;color:#354f41;border-color:#a9bc91}.nature-theme .engine-tutorial-actions .engine-tutorial-next{background:#508561;color:#fffbed;border-color:#437650}.nature-theme .engine-pwa-install{background:#fff9e9;color:#354f41;border:2px solid #b1c493;box-shadow:0 8px 32px #294c4144}.nature-theme .engine-pwa-install button{background:#508561;color:#fffbed}.nature-theme .engine-pwa-install button.engine-pwa-install__later{background:transparent;color:#354f41;border-color:#a9bc91}.nature-theme .engine-announcement__panel{border-radius:20px;border-color:#a9bc91;outline-color:#b1c493;background:#426d4cf5;color:#fffbed}.nature-theme .engine-announcement__panel span{color:#f0eed6}@media(prefers-reduced-motion:reduce){.nature-theme .nature-button{transition:none}}.nature-theme{--nature-action-ink:#234f49;--nature-action-line:#527a70;--nature-action-top:#e3f2df;--nature-action-bottom:#a5cdc2;--nature-button-frame:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%3e%3crect%20x='1'%20y='1'%20width='46'%20height='46'%20rx='9'%20stroke='%23527a70'%20stroke-width='2'/%3e%3crect%20x='4.5'%20y='4.5'%20width='39'%20height='39'%20rx='5'%20stroke='%23f9f4d5'%20stroke-opacity='.8'/%3e%3cpath%20d='M5%2012C5%207%207%205%2012%205C12%2010%2010%2012%205%2012ZM36%205C41%205%2043%207%2043%2012C38%2012%2036%2010%2036%205ZM5%2036C10%2036%2012%2038%2012%2043C7%2043%205%2041%205%2036ZM43%2036C43%2041%2041%2043%2036%2043C36%2038%2038%2036%2043%2036Z'%20fill='%23c9dcac'%20stroke='%23527a70'%20stroke-width='.8'/%3e%3cpath%20d='m6%2011%205-5m26%200%205%205M6%2037l5%205m26%200%205-5'%20stroke='%23527a70'%20stroke-width='.8'/%3e%3c/svg%3e");--nature-button-gold-frame:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%3e%3crect%20x='1'%20y='1'%20width='46'%20height='46'%20rx='9'%20stroke='%2394703a'%20stroke-width='2'/%3e%3crect%20x='4.5'%20y='4.5'%20width='39'%20height='39'%20rx='5'%20stroke='%23fff5cf'/%3e%3cpath%20d='M5%2012C5%207%207%205%2012%205C12%2010%2010%2012%205%2012ZM36%205C41%205%2043%207%2043%2012C38%2012%2036%2010%2036%205ZM5%2036C10%2036%2012%2038%2012%2043C7%2043%205%2041%205%2036ZM43%2036C43%2041%2041%2043%2036%2043C36%2038%2038%2036%2043%2036Z'%20fill='%23fff0b3'%20stroke='%2394703a'%20stroke-width='.8'/%3e%3cpath%20d='m6%2011%205-5m26%200%205%205M6%2037l5%205m26%200%205-5'%20stroke='%2394703a'%20stroke-width='.8'/%3e%3c/svg%3e")}.nature-theme :is(.nature-button,button.nature-hud,.nature-tab,.engine-battle-intro button,.engine-tutorial-actions button,.engine-pwa-install button,.reference-guide button:not(.ability)){background:linear-gradient(180deg,#ffffff45,transparent 48%,#234f4910 49%),linear-gradient(var(--nature-action-top),var(--nature-action-bottom));color:var(--nature-action-ink);border:1px solid var(--nature-action-line);border-radius:9px;border-image:var(--nature-button-frame) 16 / 10px / 0 stretch;outline:0;box-shadow:inset 0 2px #f9ffe8,0 3px #3e675d,0 4px 7px #234f4924;text-shadow:0 1px #ffffff70;font-weight:700;transition:filter .16s,box-shadow .16s,translate .12s}.nature-theme .draft-choice>button>span{background:linear-gradient(var(--nature-action-top),var(--nature-action-bottom));color:var(--nature-action-ink);border:1px solid var(--nature-action-line);border-radius:7px;border-image:var(--nature-button-frame) 16 / 8px / 0 stretch;box-shadow:inset 0 1px #f9ffe8,0 2px #3e675d;transition:filter .16s,box-shadow .16s}.nature-theme .draft-choice>button:enabled:hover>span{background:linear-gradient(#eff8e8,#b7dfd1)}.nature-theme .draft-choice>button:enabled:active>span{filter:brightness(.94);box-shadow:inset 0 2px 4px #234f4938}.nature-theme :is(.nature-button,button.nature-hud,.nature-tab,.game-launch button,.game-launch-notice button,.engine-battle-intro button,.engine-tutorial-actions button,.engine-pwa-install button,.reference-guide button:not(.ability)):enabled:hover{filter:brightness(1.07)}.nature-theme :is(.nature-button,button.nature-hud,.nature-tab,.game-launch button,.game-launch-notice button,.engine-battle-intro button,.engine-tutorial-actions button,.engine-pwa-install button,.reference-guide button:not(.ability)):enabled:active{filter:brightness(.95);translate:0 2px;box-shadow:inset 0 2px 4px #234f4938,0 1px #3e675d}.nature-theme :is(.nature-button,button.nature-hud,.nature-tab,.draft-choice>button,.game-launch button,.game-launch-notice button,.engine-battle-intro button,.engine-tutorial-actions button,.engine-pwa-install button,.reference-guide button:not(.ability)):focus-visible{outline:3px solid #245d67;outline-offset:3px}.nature-theme :is(.active-slot>.nature-tab,.reference-guide button[aria-selected=true],.reference-guide button[aria-pressed=true]){background:linear-gradient(#497c68,#2a5c52);color:#fff9df;border-color:#365e4f;border-image-source:var(--nature-button-gold-frame);box-shadow:inset 0 1px #ffffff30,0 2px #254e43;text-shadow:0 1px #254e43}.nature-theme :is(.nature-button.primary,.game-launch button,.game-launch-notice button,.engine-battle-intro [data-next],.engine-tutorial-actions .engine-tutorial-next,.engine-pwa-install button:not(.engine-pwa-install__later)){background:linear-gradient(180deg,#ffffff45,transparent 48%,#94703a12 49%),linear-gradient(#ffe8ad,#e9b45b);color:#584019;border:1px solid #94703a;border-radius:9px;border-image:var(--nature-button-gold-frame) 16 / 10px / 0 stretch;box-shadow:inset 0 2px #fff5cf,0 3px #8a6837,0 5px 9px #58401926;text-shadow:0 1px #fff0bd;font-weight:800;transition:filter .16s,box-shadow .16s,translate .12s}.nature-theme :is(.nature-button.primary,.game-launch button,.game-launch-notice button,.engine-battle-intro [data-next],.engine-tutorial-next):enabled:not([aria-disabled=true]){animation:nature-button-attention 3.2s ease-in-out infinite;transform-origin:center}@keyframes nature-button-attention{0%,44%,to{scale:1}22%{scale:1.035}}.nature-theme .nature-button.nature-button--danger{background:linear-gradient(#f9dbd2,#e9ad98);color:#813b32;border-color:#b87868;border-image-source:var(--nature-button-gold-frame);box-shadow:inset 0 1px #fff1e7,0 3px #925c4e;text-shadow:none;animation:none}.nature-theme :is(.nature-button,button.nature-hud,.nature-tab,.draft-choice>button,.game-launch button,.game-launch-notice button,.engine-battle-intro button,.engine-tutorial-actions button,.engine-pwa-install button,.reference-guide button:not(.ability)):disabled{background:#e2e4db;color:#6c766b;border-color:#b9c0b2;border-image:none;box-shadow:inset 0 1px #f6f7ef;text-shadow:none;opacity:.7;animation:none}.nature-theme .draft-choice>button:disabled>span{background:#e2e4db;color:#6c766b;border-color:#b9c0b2;border-image:none;box-shadow:none}.nature-theme .nature-resource{border-image:var(--nature-button-gold-frame) 16 / 8px / 0 stretch;box-shadow:inset 0 1px #fff8dc,0 2px #9a865b70}.nature-theme .nature-resource.moon-token{border-image-source:var(--nature-button-frame);box-shadow:inset 0 1px #f2fbff,0 2px #61869270}@media(prefers-reduced-motion:reduce){.nature-theme :is(.nature-button,button.nature-hud,.nature-tab,.game-launch button,.game-launch-notice button,.engine-battle-intro button,.engine-tutorial-actions button,.engine-pwa-install button,.reference-guide button){animation:none!important;transition:none;scale:1}}
