:root{color-scheme:dark;--ink: #f6f1e5;--muted: #a9a28f;--night: #090c10;--panel: #11161c;--panel-2: #171d24;--line: rgba(246, 241, 229, .14);--gold: #d6ae58;--gold-bright: #f2cf78;--red: #db685f;--blue: #65a9cc;--green: #78b98c;--violet: #a98bd4;--shadow: 0 24px 80px rgba(0, 0, 0, .38);font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,system-ui,sans-serif}@media(min-width:721px){.fighter-panel.enemy-panel{display:grid;grid-template-columns:minmax(0,1fr) auto}.enemy-panel>.fighter-identity{grid-column:1}.enemy-panel>.resource-row{grid-column:2}.enemy-panel>.status-row,.enemy-panel>.totem-zone,.enemy-panel>.turret-zone,.enemy-panel>.puppet-grid63,.enemy-panel>.math-zone62,.enemy-panel>.garden-zone,.enemy-panel>.summon-zone{grid-column:1 / -1;min-width:0;width:100%}}@media(min-width:721px)and (max-width:1050px){.fighter-panel.enemy-panel{grid-template-columns:minmax(0,1fr)}.enemy-panel>.resource-row{grid-column:1}}.puppet-grid63:not([hidden]){display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0}.puppet63{background:#171e24;border:1px solid #46515b;border-radius:10px;padding:8px;min-width:0;font-size:12px}.puppet63 p{margin:6px 0;overflow-wrap:anywhere}.puppet63 summary{cursor:pointer;color:#d9bb75}.puppet-steps63{display:flex;gap:7px;margin-top:7px}.puppet-steps63 span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#293138;color:#a8afb7}.puppet-steps63 .active{background:#edc764;color:#171e24;font-weight:800}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;color:var(--ink);background:radial-gradient(circle at 12% 18%,rgba(91,125,111,.14),transparent 27rem),radial-gradient(circle at 88% 5%,rgba(185,126,61,.1),transparent 24rem),linear-gradient(155deg,#0b0f14,#080b0f 58%,#101116)}button{font:inherit}button:focus-visible{outline:3px solid rgba(242,207,120,.72);outline-offset:3px}.game-shell{width:min(1480px,100%);min-height:100vh;min-height:100dvh;margin:0 auto;padding:18px clamp(14px,3vw,44px) 26px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:70px;border-bottom:1px solid var(--line)}.brand-lockup,.fighter-identity,.topbar-actions,.player-summary,.hand-heading,.log-heading{display:flex;align-items:center}.brand-lockup{gap:13px}.brand-mark{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(214,174,88,.55);color:var(--gold-bright);transform:rotate(45deg)}.brand-mark:first-letter{transform:rotate(-45deg)}.eyebrow,.side-label{margin:0 0 3px;color:var(--gold);font-size:.75rem;font-weight:800;letter-spacing:.16em}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-family:Georgia,"Noto Serif KR",serif;font-size:clamp(1.4rem,2vw,1.85rem);font-weight:600;letter-spacing:-.03em}.topbar-actions{gap:10px}.turn-pill,.ghost-button{border:1px solid var(--line);border-radius:999px;background:#ffffff09}.turn-pill{padding:9px 14px;color:var(--muted);font-size:.86rem;font-weight:700}.turn-pill.active{border-color:#d6ae5873;color:var(--gold-bright);box-shadow:0 0 20px #d6ae5814}.ghost-button{padding:9px 15px;color:var(--ink);cursor:pointer}.ghost-button:hover{border-color:#f6f1e54d;background:#ffffff12}.battle-board{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(210px,1fr) auto;gap:12px;min-height:calc(100vh - 115px);min-height:calc(100dvh - 115px);padding-top:14px}.fighter-panel,.combat-center{border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#171d24f5,#0e1217f5);box-shadow:var(--shadow)}.fighter-panel{position:relative;overflow:visible;padding:15px 18px}.combat-effect{position:absolute;z-index:20;top:48%;left:50%;pointer-events:none;text-shadow:0 0 14px currentColor;transform:translate(-50%,-50%);animation:combat-impact .76s ease-out both}.combat-effect-slash{color:#ffe6a0;font-size:3.4rem;font-weight:900;letter-spacing:-.35em;animation-name:combat-slash}.combat-effect-stab{color:#f0d8ff;font-size:3.8rem}.combat-effect-arrow{color:#bde7c0;font-size:3.2rem;animation-name:combat-arrow}.combat-effect-fire,.combat-effect-frost,.combat-effect-poison{font-size:2.6rem}.combat-effect-poison{color:#89e46f}@keyframes combat-impact{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}32%{opacity:1;transform:translate(-50%,-50%) scale(1.18)}to{opacity:0;transform:translate(-50%,-62%) scale(.9)}}@keyframes combat-slash{0%{opacity:0;transform:translate(-75%,-10%) rotate(-24deg) scale(.5)}36%{opacity:1;transform:translate(-50%,-50%) rotate(-24deg) scale(1.15)}to{opacity:0;transform:translate(-25%,-85%) rotate(-24deg) scale(.85)}}@keyframes combat-arrow{0%{opacity:0;transform:translate(-140%,-50%) scale(.7)}38%{opacity:1;transform:translate(-48%,-50%) scale(1.15)}to{opacity:0;transform:translate(35%,-50%) scale(.8)}}.enemy-panel,.player-summary{display:flex;align-items:center;justify-content:space-between;gap:18px}.fighter-identity{gap:13px;min-width:0}.class-emblem{display:grid;flex:0 0 auto;width:48px;height:48px;place-items:center;border:1px solid rgba(214,174,88,.42);border-radius:13px;color:var(--gold-bright);background:linear-gradient(135deg,#d6ae581f,#d6ae5805);font-size:1.45rem}.enemy-emblem{color:#d8dadc;border-color:#d8dadc45;background:#d8dadc0b}.fighter-panel h2{margin-bottom:2px;font-family:Georgia,"Noto Serif KR",serif;font-size:1.25rem;font-weight:600}.passive-copy{max-width:670px;margin-bottom:0;overflow:hidden;color:var(--muted);font-size:.8rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.resource-row{display:grid;grid-template-columns:minmax(168px,1.7fr) repeat(5,auto);align-items:stretch;gap:7px}.resource{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:5px;min-width:64px;padding:8px 10px;border:1px solid var(--line);border-radius:11px;background:#00000029}.resource.hp{display:grid;min-width:168px;grid-template-columns:1fr;gap:6px;padding:7px 10px 8px;overflow:hidden;border-color:#ec5d5a57;background:linear-gradient(145deg,#79212333,#0000002e)}.resource-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.hp-track{display:block;width:100%;height:7px;overflow:hidden;border-radius:999px;background:#ffffff1a;box-shadow:inset 0 1px 2px #00000073}.hp-fill{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b5323d,#ff7d72);transition:width .22s ease}.resource.hp.is-critical{border-color:#ff5656b8;box-shadow:0 0 20px #dc313b2e}.resource-icon{font-size:.72rem;line-height:1}.resource.armor{border-color:#5bb1e06b;background:linear-gradient(145deg,#3684b033,#00000029)}.resource.armor .resource-icon{color:#85c8e8;transform:rotate(45deg)}.resource.energy{position:relative;min-width:112px;padding-bottom:20px;border-color:#f2cf7875;background:radial-gradient(circle at 18% 20%,#f2cf782e,#00000029)}.resource.energy .resource-icon{color:var(--gold-bright)}.energy-orbs{position:absolute;right:8px;bottom:6px;left:8px;display:flex;flex-wrap:wrap;gap:3px}.energy-orb{width:8px;height:8px;border:1px solid rgba(242,207,120,.55);border-radius:50%;background:transparent}.energy-orb.filled{background:var(--gold-bright);box-shadow:0 0 6px #f2cf788c}.energy-orb.reserved{border-color:#73d8e8;background:#55b9d0;box-shadow:0 0 6px #55b9d08c}.resource b{font-size:1.1rem}.resource small{color:var(--muted);font-size:.7rem}.resource.hp b{color:#ff7d72}.resource.armor b{color:#85c8e8}.resource.energy b{color:#f2cf78}.resource.cards b{color:#c8a9eb}.status-row{display:flex;min-height:26px;flex-wrap:wrap;gap:6px;margin-top:9px}.totem-zone{margin-top:8px;padding:9px;border:1px solid rgba(182,140,226,.3);border-radius:12px;background:linear-gradient(135deg,#6f4c9b1f,#3f8a8b14)}.totem-zone[hidden]{display:none}.totem-heading{display:flex;margin-bottom:7px;align-items:center;justify-content:space-between;color:#d3b6ef;font-size:.72rem;font-weight:850}.totem-slots{display:grid}.totem-slot{display:flex;min-height:48px;padding:8px 10px;flex-direction:column;justify-content:center;gap:3px;border:1px solid rgba(198,164,232,.3);border-radius:9px;color:var(--ink);background:#111b22d1}.totem-slot small{color:var(--muted);font-size:.65rem}.totem-slot.empty{color:#c9bbda8c}.turret-zone{margin-top:8px;padding:9px;border:1px solid rgba(104,190,205,.28);border-radius:12px;background:#439aab0f}.turret-zone[hidden]{display:none}.turret-heading{display:flex;margin-bottom:7px;align-items:center;justify-content:space-between;color:#a9dce4;font-size:.72rem;font-weight:850}.turret-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.turret-slot{display:flex;min-height:54px;padding:7px;flex-direction:column;justify-content:center;gap:3px;overflow:hidden;border:1px solid rgba(124,205,218,.3);border-radius:9px;color:var(--ink);background:#111b22d1;text-align:left}.turret-slot strong,.turret-slot small{overflow-wrap:anywhere}.turret-slot strong em{display:inline-block;margin-left:5px;padding:1px 5px;border-radius:999px;color:#bfe8ef;background:#5fbbcb2e;font-size:.58rem;font-style:normal;vertical-align:1px}.turret-slot small{color:var(--muted);font-size:.62rem;line-height:1.3}.turret-slot.empty{align-items:center;color:#b4c6cb7a;font-size:.68rem}.turret-slot.selectable{border-color:var(--gold-bright);box-shadow:0 0 0 2px #f2cf7824;cursor:pointer}.turret-slot.selectable:hover{background:#f2cf7824}.summon-zone{margin-top:8px;padding:9px;border:1px solid rgba(164,188,226,.25);border-radius:12px;background:#6982a912}.summon-zone[hidden]{display:none}.summon-heading{display:flex;margin-bottom:7px;align-items:center;justify-content:space-between;color:#c0d4f2;font-size:.72rem;font-weight:850}.summon-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.summon-slot{display:grid;min-height:48px;padding:5px 3px;place-items:center;align-content:center;gap:2px;border:1px solid rgba(164,188,226,.28);border-radius:9px;color:var(--ink);background:#111b22d1;text-align:center}.summon-slot strong{font-size:1rem}.summon-slot small{color:var(--muted);font-size:.58rem;line-height:1.2}.summon-slot.empty{color:#b4c6cb61}.status-chip{padding:4px 8px;border:1px solid rgba(169,139,212,.32);border-radius:999px;color:#d9c7f1;background:#a98bd41a;font-size:.72rem;font-weight:700}.stance-meter,.stance-dots{display:inline-flex;align-items:center}.stance-meter{gap:7px;border-color:#d6ae586b;color:var(--gold-bright);background:#d6ae5814}.stance-dots{gap:4px}.stance-dot{width:9px;height:9px;border:1px solid rgba(246,241,229,.38);border-radius:50%;background:#050608;box-shadow:inset 0 0 0 1px #000000a6}.stance-dot.active{border-color:var(--gold-bright);background:var(--gold-bright);box-shadow:0 0 8px #f2cf78b8}.tooltip-target{position:relative;cursor:help}.tooltip-target:after{display:none;position:absolute;z-index:30;bottom:calc(100% + 9px);left:50%;width:max-content;max-width:min(280px,75vw);padding:8px 10px;border:1px solid rgba(242,207,120,.38);border-radius:8px;color:#f4eee0;background:#080c10f7;box-shadow:0 10px 28px #0000006b;content:attr(data-tooltip);font-size:.78rem;font-weight:500;line-height:1.45;opacity:0;pointer-events:none;text-align:left;transform:translate(-50%,5px);transition:opacity .12s ease,transform .12s ease;white-space:pre-line}.element-meter:after{left:0;width:max-content;max-width:min(460px,calc(100vw - 48px));transform:translateY(5px)}.tooltip-target:hover:after,.tooltip-target:focus-visible:after{display:block;opacity:1;transform:translate(-50%)}.element-meter:hover:after,.element-meter:focus-visible:after{transform:translate(0)}.combat-center{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.42fr);gap:14px;padding:14px;background:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(145deg,#13191ff5,#0a0e12f5);background-size:32px 32px,32px 32px,auto}.weapon-zone{display:grid;grid-template-columns:minmax(150px,1fr) 74px minmax(150px,1fr);align-items:center;gap:18px;min-height:180px}.weapon-slot{display:flex;min-height:132px;flex-direction:column;align-items:center;justify-content:center;padding:18px;border:1px dashed rgba(246,241,229,.22);border-radius:16px;text-align:center;background:#00000021}.weapon-slot strong{margin:8px 0 3px;font-size:1.05rem}.weapon-slot small,.slot-label{color:var(--muted);font-size:.76rem}.slot-label{font-weight:800;letter-spacing:.12em}.versus-mark{display:grid;width:68px;height:68px;place-items:center;border:1px solid rgba(214,174,88,.4);border-radius:50%;color:var(--gold-bright);background:radial-gradient(circle,#d6ae5826,#00000026 64%);font-family:Georgia,serif;font-size:1.05rem}.weapon-action,.end-turn-button,.primary-button{border:0;border-radius:10px;color:#17130a;background:linear-gradient(135deg,var(--gold-bright),var(--gold));font-weight:900;cursor:pointer;box-shadow:0 8px 24px #d6ae5829}.weapon-action{margin-top:12px;padding:8px 12px;font-size:.8rem}button:disabled{cursor:not-allowed;filter:saturate(.25);opacity:.42;box-shadow:none}.battle-log{display:flex;min-height:0;flex-direction:column;border-left:1px solid var(--line);padding-left:14px}.log-heading,.hand-heading{justify-content:space-between;color:var(--muted);font-size:.78rem;font-weight:800;letter-spacing:.08em}.battle-log ol{display:flex;min-height:0;margin:10px 0 0;padding:0;overflow-y:auto;flex-direction:column;height:210px;max-height:210px;flex:0 0 auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;cursor:grab;list-style:none}.battle-log li{flex:0 0 auto;position:relative;padding:7px 3px;border-bottom:1px solid rgba(246,241,229,.07);color:#cbc6b8;font-size:.78rem;line-height:1.42}.battle-log li.has-card-preview{cursor:help}.battle-log ol.dragging,.battle-log ol.dragging li{cursor:grabbing;user-select:none}.battle-log li.has-card-preview:hover,.battle-log li.has-card-preview:focus-visible{color:var(--gold-bright);background:#d6ae5812;outline:none}.log-card-preview{position:fixed;z-index:80;min-height:286px;padding:13px;pointer-events:none;border:1px solid rgba(242,207,120,.5);border-radius:14px;color:var(--ink);background:linear-gradient(160deg,#242b34,#10151b 72%);box-shadow:0 20px 55px #000000a6}.log-card-preview[hidden]{display:none}.log-preview-topline{display:flex;align-items:center;justify-content:space-between;color:var(--gold-bright);font-size:.75rem;font-weight:900}.log-preview-topline b{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;color:#17130a;background:var(--gold-bright)}.log-card-preview>strong{display:block;margin-top:10px;font-family:Georgia,"Noto Serif KR",serif}.log-card-preview>p{margin:8px 0 0;color:#c3beb1;font-size:.78rem;line-height:1.5}.battle-log li strong{color:var(--ink)}.player-panel{padding-bottom:13px}.player-summary{align-items:flex-start}.hand-heading{margin:7px 0 10px}.end-turn-button{min-width:104px;padding:9px 16px}.card-hand{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:220px;gap:10px;padding:8px 4px 13px;overflow:visible}.scope-placement-bar{display:flex;grid-column:1 / -1;min-width:0;padding:14px;flex-direction:column;gap:8px;border:1px solid rgba(242,207,120,.6);border-radius:14px;background:#1a1f26f5}.scope-placement-bar>span{color:var(--muted);font-size:.82rem}.scope-placement-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:7px;padding-bottom:2px}.scope-placement-button{display:flex;min-width:0;padding:9px 10px;flex-direction:column;gap:3px;border:1px solid rgba(242,207,120,.42);border-radius:10px;color:var(--ink);background:#f2cf781a;cursor:pointer}.scope-placement-button strong,.scope-placement-button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-placement-button small{color:var(--muted);font-size:.65rem}.scope-placement-button:hover,.scope-placement-button:focus-visible{border-color:var(--gold-bright);background:#f2cf7833}.game-card{position:relative;display:flex;width:100%;min-width:0;min-height:276px;padding:13px;overflow:hidden;flex-direction:column;border:1px solid var(--card-line);border-radius:14px;color:var(--ink);text-align:left;background:linear-gradient(160deg,var(--card-wash),transparent 48%),linear-gradient(160deg,#202730,#11161c 72%);cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.game-card:after{position:absolute;right:-25px;bottom:-35px;width:95px;height:95px;border:1px solid var(--card-line);border-radius:50%;content:"";opacity:.42}.game-card.center-aimed{border-color:#f2cf78e6;box-shadow:inset 0 0 0 1px #f2cf7847,0 0 22px #d6ae5829}.card-kind-row{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}.center-badge{padding:3px 6px;border:1px solid rgba(242,207,120,.58);border-radius:999px;color:#161107;background:var(--gold-bright);font-size:.62rem;font-weight:950;letter-spacing:.06em}.return-badge{padding:3px 6px;border:1px solid rgba(126,218,239,.62);border-radius:999px;color:#dff9ff;background:#2a7f9780;font-size:.62rem;font-weight:950;letter-spacing:.06em}.petrified-badge{padding:3px 6px;border:1px solid rgba(190,203,213,.58);border-radius:999px;color:#e3e9ec;background:#59677194;font-size:.62rem;font-weight:950}.game-card.petrified{border-color:#b8c6cf9e;background:linear-gradient(160deg,rgba(153,168,177,.2),transparent 48%),linear-gradient(160deg,#2a3035,#14181c 72%);box-shadow:inset 0 0 24px #d3dee414}.game-card.counter-available{z-index:4;border-color:#73f2d7;filter:none;opacity:1;box-shadow:0 0 0 2px #4ecdb53d,0 0 30px #4ecdb54d;animation:counter-ready-pulse 1.15s ease-in-out infinite alternate}@keyframes counter-ready-pulse{0%{transform:translateY(0);box-shadow:0 0 0 2px #4ecdb533,0 0 18px #4ecdb533}to{transform:translateY(-5px);box-shadow:0 0 0 2px #73f2d761,0 0 34px #4ecdb56b}}.game-card.return-active{border-color:#7edaefd1;box-shadow:inset 0 0 0 1px #7edaef38,0 0 24px #3da7c22e}.game-card[data-keyword-tooltip]:before{position:absolute;z-index:5;right:8px;bottom:38px;left:8px;padding:9px 10px;border:1px solid rgba(195,166,233,.5);border-radius:9px;color:#f2eafd;background:#090b10f7;box-shadow:0 10px 28px #0000006b;content:attr(data-keyword-tooltip);font-size:.78rem;font-weight:600;line-height:1.6;opacity:0;pointer-events:none;transform:translateY(5px);transition:opacity .12s ease,transform .12s ease;white-space:pre-line}.game-card[data-keyword-tooltip]:hover:before,.game-card[data-keyword-tooltip]:focus-visible:before{opacity:1;transform:translateY(0)}.game-card:hover:not(:disabled){z-index:3;border-color:var(--card-accent);transform:translateY(-7px);box-shadow:0 18px 35px #00000057}.game-card.skill{--card-line: rgba(219, 104, 95, .3);--card-accent: #eb837a;--card-wash: rgba(219, 104, 95, .18)}.game-card.weapon{--card-line: rgba(214, 174, 88, .34);--card-accent: #efcb75;--card-wash: rgba(214, 174, 88, .18)}.game-card.equipment{--card-line: rgba(101, 169, 204, .34);--card-accent: #86c7e8;--card-wash: rgba(101, 169, 204, .17)}.game-card.buff{--card-line: rgba(169, 139, 212, .34);--card-accent: #c3a6e9;--card-wash: rgba(169, 139, 212, .18)}.game-card.counter{--card-line: rgba(78, 205, 181, .38);--card-accent: #72e2cd;--card-wash: rgba(78, 205, 181, .18)}.game-card.mix{--card-line: rgba(238, 143, 83, .42);--card-accent: #f3a366;--card-wash: rgba(238, 143, 83, .2)}.game-card.turret{--card-line: rgba(104, 190, 205, .42);--card-accent: #8bd9e5;--card-wash: rgba(67, 154, 171, .2)}.game-card.totem{--card-line: rgba(181, 132, 224, .42);--card-accent: #d2a8f1;--card-wash: rgba(131, 86, 173, .2)}.game-card.contract{--card-line: rgba(198, 76, 91, .44);--card-accent: #f08792;--card-wash: rgba(139, 42, 57, .22)}.card-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.card-cost{display:grid;width:31px;height:31px;place-items:center;border-radius:50%;color:#161107;background:var(--gold-bright);font-weight:950}.card-type{color:var(--card-accent);font-size:.68rem;font-weight:900;letter-spacing:.12em}.card-name{margin:11px 0 8px;font-family:Georgia,"Noto Serif KR",serif;font-size:1rem;line-height:1.25}.card-art-frame{display:block;position:relative;height:82px;margin:11px -5px 0;overflow:hidden;border:1px solid var(--card-line);border-radius:9px;background:#0003}.card-art-placeholder,.card-art-image{position:absolute;inset:0;width:100%;height:100%}.card-art-placeholder{display:grid;place-items:center;color:var(--card-accent);background:radial-gradient(circle at 50% 45%,var(--card-wash),transparent 47%),linear-gradient(145deg,#ffffff0b,#0000001f);font-family:Georgia,serif;font-size:1.7rem}.card-art-image{display:block;object-fit:cover;opacity:0}.card-art-image.is-loaded{opacity:1}.card-art-image.is-broken{display:none}.card-text{white-space:pre-line;margin:0;color:#c3beb1;font-size:.78rem;line-height:1.52}.card-footer{margin-top:auto;padding-top:12px;color:var(--muted);font-size:.68rem}.game-dialog{width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:18px;border:0;color:var(--ink);background:#050709d6;backdrop-filter:blur(14px)}.game-dialog[open]{display:grid;place-items:center}#setup-dialog,#setup-dialog::backdrop{background:#0c121b;backdrop-filter:none}#music-source139{width:100%}.dialog-card{width:min(1080px,100%);padding:clamp(24px,4vw,42px);border:1px solid rgba(214,174,88,.28);border-radius:22px;background:linear-gradient(145deg,#181e25,#0d1116);box-shadow:0 35px 100px #0009}.dialog-card h2{margin-bottom:8px;font-family:Georgia,"Noto Serif KR",serif;font-size:clamp(1.7rem,4vw,2.5rem);font-weight:600;letter-spacing:-.04em}.dialog-intro,.rule-note{color:var(--muted);line-height:1.6}.main-menu-card{width:min(880px,100%);text-align:center}.main-menu-heading .dialog-intro{margin:6px auto 0}.main-menu-grid{display:grid;margin-top:24px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.main-menu-grid button{display:flex;min-height:150px;padding:20px 16px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(214,174,88,.24);border-radius:16px;color:var(--ink);background:linear-gradient(145deg,#d6ae5817,#a98bd40b);cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}.main-menu-grid button:hover,.main-menu-grid button:focus-visible{border-color:var(--gold-bright);background:linear-gradient(145deg,#d6ae582e,#a98bd417);transform:translateY(-3px)}.main-menu-grid button>span{color:var(--gold-bright);font-size:1.65rem}.main-menu-grid button>strong{font-size:1rem}.main-menu-grid button>small{color:var(--muted);font-size:.72rem}.utility-card{width:min(900px,100%);max-height:calc(100dvh - 36px);overflow:hidden}.compact-utility-card{width:min(650px,100%)}.catalog-list{display:grid;max-height:min(68vh,680px);padding:3px 7px 3px 2px;overflow-y:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.catalog-list button{display:flex;min-width:0;min-height:82px;padding:11px;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#ffffff09;text-align:left;cursor:pointer}.catalog-list button:hover{border-color:#f2cf78a6}.catalog-list button>span:last-child{min-width:0}.catalog-list strong,.catalog-list small{display:block}.catalog-list strong{margin-bottom:4px}.catalog-list small{color:var(--muted);font-size:.68rem;line-height:1.35}.catalog-emblem{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border:1px solid rgba(214,174,88,.36);border-radius:10px;color:var(--gold-bright)}.patch-list,.option-list{display:grid;margin-top:20px;gap:10px}.patch-list article,.option-list label{padding:14px;border:1px solid var(--line);border-radius:12px;background:#ffffff09}.patch-list p{margin:6px 0 0;color:var(--muted);line-height:1.5}#patch-dialog .dialog-card{max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden}#patch-dialog .deck-detail-heading{flex-shrink:0}#patch-dialog .patch-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;cursor:grab}#patch-dialog .patch-list.dragging{cursor:grabbing;user-select:none}.pvp-clocks{display:flex;gap:10px;margin:8px 0;font-variant-numeric:tabular-nums}.pvp-clocks[hidden]{display:none}.pvp-clocks span{flex:1;padding:9px;border:1px solid var(--line);border-radius:9px;text-align:center}.pvp-clocks b{font-size:1.1rem;margin-left:6px}.pvp-clocks .clock-active{border-color:var(--gold-bright);background:#342d1c}.pvp-clocks .clock-low b{color:#ff7676}.option-list label{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}.option-list label span,.option-list label strong,.option-list label small{display:block}.option-list label small{margin-top:4px;color:var(--muted)}.option-list input{width:24px;height:24px;accent-color:var(--gold)}fieldset{margin:24px 0 0;padding:0;border:0}.setup-card{display:flex;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);flex-direction:column;overflow:hidden}@media(min-width:721px){#setup-dialog .setup-card{width:min(1500px,100%);height:calc(100dvh - 36px);padding:18px 22px}#setup-dialog .setup-deck-grid{gap:16px}#setup-dialog fieldset{margin-top:10px;overflow:hidden}#setup-dialog .deck-options{min-height:0;max-height:none;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:195px;align-content:start;gap:9px}#setup-dialog .deck-option{min-height:0}#setup-dialog .deck-option label{min-height:0;padding-bottom:6px}#setup-dialog .deck-portrait{height:62px}#setup-dialog .deck-option-copy{padding:6px 8px 0}#setup-dialog .deck-name-row{display:flex!important;flex-wrap:wrap;min-height:0;gap:3px 5px}#setup-dialog .deck-name-row strong{flex:1 0 100%;min-width:0;min-height:0;margin:0;font-size:.78rem;line-height:1.3;word-break:keep-all;overflow-wrap:anywhere}#setup-dialog .deck-option-copy>span:not(.deck-name-row){min-height:0;margin-top:4px;font-size:.68rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#setup-dialog .deck-view-button{margin-top:4px;padding:5px 6px}#setup-dialog .deck-lock-footer{margin:3px 0 0}#setup-dialog .primary-button{margin-top:10px;padding:11px 14px}#setup-dialog .desktop-rule-note{margin:6px 0 0;font-size:.7rem;line-height:1.3}#setup-dialog .dialog-intro{margin:6px 0 0}#setup-dialog .random-deck-button{margin-bottom:5px;padding:4px 8px}}.setup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.story-mode-status{margin:8px 0 0;color:#d9c7f1;font-size:.75rem;line-height:1.45}.mobile-rule-details{display:none}.tutorial-coach{position:fixed;z-index:35;right:18px;bottom:18px;display:flex;width:min(430px,calc(100vw - 36px));padding:14px;align-items:center;gap:14px;border:1px solid rgba(242,207,120,.55);border-radius:15px;background:#10141af7;box-shadow:var(--shadow)}.tutorial-coach[hidden]{display:none}.tutorial-coach>div{min-width:0;flex:1}.tutorial-coach strong{color:var(--gold-bright)}.tutorial-coach p{margin:5px 0 0;color:var(--muted);font-size:.78rem;line-height:1.45}.tutorial-coach button{flex:0 0 auto}.setup-deck-grid{display:grid;flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.setup-deck-grid fieldset{position:relative;display:flex;min-height:0;flex-direction:column}legend{margin-bottom:10px;font-size:.85rem;font-weight:900}.deck-options{display:grid;flex:1;max-height:min(50vh,510px);padding:2px 7px 8px 2px;overflow-y:auto;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:10px;scrollbar-color:rgba(214,174,88,.48) rgba(255,255,255,.04)}.deck-option{position:relative;display:flex;min-width:0;flex-direction:column}.random-deck-button{position:static;align-self:flex-end;margin:0 7px 8px 0;padding:6px 9px;border:1px solid rgba(214,174,88,.34);border-radius:999px;color:var(--gold-bright);background:#d6ae5814;font-size:.7rem;font-weight:850;cursor:pointer}.random-deck-button:hover{border-color:#f2cf78b8;background:#d6ae5829}.deck-option input{position:absolute;opacity:0;pointer-events:none}.deck-option label{display:flex;min-height:198px;padding:0 0 12px;flex-direction:column;flex:1;align-items:stretch;gap:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#ffffff06;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.deck-portrait{display:block;position:relative;width:100%;height:112px;flex:0 0 auto;overflow:hidden;border:0;border-bottom:1px solid rgba(214,174,88,.32);border-radius:12px 12px 0 0;background:linear-gradient(145deg,#d6ae581f,#080b0fe0)}.deck-portrait-placeholder,.deck-portrait-image{position:absolute;inset:0;width:100%;height:100%}.deck-portrait-placeholder{display:grid!important;place-items:center;color:var(--gold-bright)!important;font-size:1.45rem!important}.deck-portrait-image{object-fit:cover;object-position:center 30%;opacity:0}.deck-portrait-image.is-loaded{opacity:1}.deck-option label[for$=-chieftain] .deck-portrait-image,.deck-option label[for$=-titan] .deck-portrait-image{object-position:50% 0%}.deck-option label[for$=-ninja] .deck-portrait-image{object-position:72% 8%}.deck-option label[for$=-noble] .deck-portrait-image{object-position:70% 0%}.deck-option label[for$=-inquisitor] .deck-portrait-image{object-position:50% 4%}.deck-option label[for$=-sheriff] .deck-portrait-image{object-position:50% 0%}.deck-portrait-image.is-broken{display:none}.deck-option-copy{width:100%;min-width:0;padding:11px 12px 0}.deck-name-row{display:flex!important;min-height:2.6em;align-items:flex-start;justify-content:space-between;gap:6px}.deck-name-row strong{min-height:0;margin-bottom:0}.deck-difficulty{flex:0 0 auto;padding:2px 5px;border:1px solid currentColor;border-radius:999px;font-size:.58rem!important;font-weight:850;line-height:1.25!important}.difficulty-easy{color:#8dd8a0!important}.difficulty-normal{color:#9dcce3!important}.difficulty-hard{color:#e9bd78!important}.difficulty-expert{color:#e990a0!important}.deck-option label:hover{border-color:#d6ae587a;transform:translateY(-2px)}.deck-option input:checked+label{border-color:var(--gold);background:#d6ae581a;box-shadow:inset 0 0 0 1px #d6ae582e}.deck-option input:focus-visible+label{outline:3px solid rgba(242,207,120,.7);outline-offset:3px}.deck-option.is-locked label{opacity:.52;cursor:not-allowed;filter:grayscale(.45)}.deck-option.is-locked label:hover{transform:none;border-color:var(--line)}.deck-option-badges{display:flex!important;flex:0 0 auto;align-items:center;gap:4px}.deck-lock-badge{padding:2px 5px;border:1px solid rgba(230,105,105,.62);border-radius:999px;color:#f0a1aa!important;font-size:.58rem!important;font-weight:850;line-height:1.25!important}.deck-option strong,.deck-option span{display:block}.deck-view-button{width:100%;margin-top:6px;padding:7px 8px;border:1px solid rgba(169,139,212,.3);border-radius:9px;color:#d9c7f1;background:#a98bd414;font-size:.72rem;font-weight:800}.deck-view-button:hover{border-color:#c3a6e9a6;background:#a98bd429}.secondary-button{padding:9px 14px;border:1px solid rgba(214,174,88,.38);border-radius:10px;color:var(--gold-bright);background:#d6ae5814;font-weight:850;cursor:pointer}.secondary-button:hover{border-color:#f2cf78b8;background:#d6ae5826}.deck-detail-card{width:min(900px,100%);max-height:calc(100vh - 36px);overflow:hidden}.deck-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.deck-detail-list{display:grid;max-height:min(62vh,620px);padding:4px 8px 4px 2px;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.element-formula-guide{grid-column:1 / -1;padding:15px;border:1px solid rgba(242,207,120,.3);border-radius:14px;background:linear-gradient(135deg,#d6ae5814,#a98bd412)}.element-formula-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}.element-formula-heading h3{margin:0;font-size:1rem}.element-formula-heading span{color:var(--muted);font-size:.74rem}.element-formula-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.element-formula-row{display:grid;gap:4px;padding:9px 10px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#00000024}.element-formula-row strong{color:var(--gold-bright);font-size:.78rem}.element-formula-row span{color:var(--muted);font-size:.74rem;line-height:1.45}.deck-card-row{padding:13px;border:1px solid var(--line);border-radius:12px;background:#ffffff09}.deck-card-title,.deck-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.deck-card-title span,.deck-card-meta span{color:var(--gold-bright);font-size:.72rem;font-weight:800}.deck-card-meta{justify-content:flex-start;margin-top:6px}.deck-card-row p{margin:8px 0 0;color:var(--muted);font-size:.78rem;line-height:1.5}.deck-option strong{margin-bottom:7px;min-height:2.6em;line-height:1.3}.deck-option span{color:var(--muted);font-size:.76rem;line-height:1.45}.deck-option-copy>span:not(.deck-name-row){min-height:4.35em}.primary-button{width:100%;margin-top:26px;padding:14px 18px}.rule-note{margin:12px 0 0;text-align:center;font-size:.76rem}.result-card{position:relative;overflow:hidden;width:min(460px,100%);text-align:center}.result-victory .result-card{animation:result-victory-pulse .72s ease-out both;box-shadow:0 0 0 1px #f2cf7880,0 0 52px #f2cf783d}.result-defeat .result-card{animation:result-defeat-shake .52s ease-out both;box-shadow:0 0 0 1px #e6696973,0 0 46px #e6696933}.result-draw .result-card{animation:result-victory-pulse .62s ease-out both}@keyframes result-victory-pulse{0%{opacity:0;transform:translateY(12px) scale(.88)}55%{opacity:1;transform:translateY(0) scale(1.035)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes result-defeat-shake{0%{opacity:0;transform:translate(0) scale(.94)}25%{opacity:1;transform:translate(-8px) scale(1)}50%{transform:translate(7px)}75%{transform:translate(-3px)}to{opacity:1;transform:translate(0)}}@media(max-width:900px){.combat-center{grid-template-columns:1fr}.battle-log{min-height:150px;border-top:1px solid var(--line);border-left:0;padding-top:12px;padding-left:0}.battle-log ol{max-height:130px}}@media(max-width:720px){.game-shell{padding:8px}.topbar{min-height:auto;padding:8px 2px 12px;flex-wrap:wrap;gap:10px}.brand-lockup{min-width:0}.brand-mark{width:32px;height:32px;flex:0 0 auto}h1{font-size:1.25rem}.topbar-actions{width:100%;justify-content:space-between}.turn-pill,.ghost-button{min-height:40px}.battle-board{grid-template-rows:auto auto auto;min-height:auto;padding-top:8px}.topbar,.enemy-panel,.player-summary{align-items:flex-start}.enemy-panel,.player-summary{flex-direction:column}.resource-row{width:100%;padding-bottom:4px;overflow:visible;grid-template-columns:repeat(4,minmax(0,1fr))}.resource{min-width:0;padding:7px}.resource.hp{grid-column:1 / -1;min-width:0}.resource.energy{min-width:0;grid-column:span 3}.resource.cards,.resource.deck{grid-column:span 2;justify-content:center}.passive-copy{white-space:normal}.weapon-zone{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.versus-mark{display:none}.weapon-slot{min-height:118px;padding:10px}.combat-center{padding:10px}.card-hand{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;gap:8px;padding:10px 3px 13px}.game-card{min-height:238px;padding:11px}.card-art-frame{height:68px}.game-dialog{padding:8px}.game-dialog[open]{display:block;overflow-x:hidden;overflow-y:auto}#setup-dialog[open]{display:grid;overflow:hidden}.dialog-card{padding:18px 12px;border-radius:16px}.main-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.main-menu-grid button{min-height:112px;padding:13px 8px}.catalog-list{grid-template-columns:1fr;max-height:70dvh}.setup-card{display:flex;width:100%;height:calc(100dvh - 16px);min-height:0;max-height:calc(100dvh - 16px);overflow:hidden}.setup-deck-grid{display:grid;flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.setup-deck-grid fieldset{display:flex;min-height:0;margin-top:8px;overflow:hidden}.deck-options{height:auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content}.setup-card>.primary-button{position:static;z-index:auto;min-height:52px;margin-top:8px;flex:none}.desktop-rule-note{display:none}.mobile-rule-details{display:block;flex:0 0 auto;margin-top:5px;padding-bottom:max(2px,env(safe-area-inset-bottom));color:var(--muted);font-size:.7rem;line-height:1.4}.mobile-rule-details summary{color:var(--gold-bright);text-align:center;cursor:pointer}.mobile-rule-details p{max-height:78px;margin:5px 0 0;overflow-y:auto}.story-mode-status{margin-top:5px;font-size:.66rem}.setup-card>.dialog-intro{margin:5px 0 0;font-size:.72rem}.deck-option label{min-height:164px;padding:0 0 8px}.deck-portrait{height:76px}.deck-option-copy{padding:9px 9px 0}.deck-option strong{min-height:2.5em;font-size:.86rem}.deck-option-copy>span:not(.deck-name-row){min-height:3.9em;font-size:.66rem}.deck-name-row{min-height:2.5em}.deck-name-row strong{min-height:0}.tutorial-coach{right:8px;bottom:8px;width:calc(100vw - 16px)}.random-deck-button,.deck-view-button{min-height:40px}.log-card-preview{width:min(176px,calc(100vw - 24px));min-height:250px}.deck-detail-list,.element-formula-grid{grid-template-columns:1fr}}@media(max-width:390px){.card-hand{gap:7px}.game-card{min-height:224px;padding:10px}.deck-options{gap:7px}.deck-option label{min-height:154px}.deck-portrait{height:68px}.fighter-panel{padding:13px 12px}}@media(max-width:480px){.setup-card,.setup-deck-grid,.setup-deck-grid fieldset,.deck-options{width:100%;min-width:0}.deck-options{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}.player-hit-effect.is-active{animation:none!important;opacity:.38}}.player-hit-effect{position:fixed;inset:0;z-index:500;pointer-events:none;opacity:0;border:clamp(8px,1.8vw,24px) solid rgba(238,45,52,.9);background:#b40c142e;box-shadow:inset 0 0 clamp(45px,12vw,150px) #ff1420b8}.player-hit-effect.is-active{animation:player-hit-flash .56s ease-out both}@keyframes player-hit-flash{0%{opacity:0}16%{opacity:.82}52%{opacity:.46}to{opacity:0}}.game-card.selecting-return{outline:3px solid rgba(88,230,166,.82);outline-offset:-3px;cursor:pointer}.game-card.selecting-mix{outline:3px solid rgba(109,221,191,.9);box-shadow:0 0 0 4px #6dddbf1f}.game-card.foreign-card{border-color:#b37ceab8;box-shadow:inset 0 0 0 1px #b37cea38}.game-card.selecting-discard{outline:3px solid rgba(230,105,105,.9);outline-offset:-3px;cursor:pointer}.game-card.selecting-return:hover{transform:translateY(-8px);box-shadow:0 14px 34px #2cd6903d}.choice-overlay{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px;overflow-y:auto;background:#04080db8;backdrop-filter:blur(5px)}.choice-overlay[hidden]{display:none}.dual-weapon-holder>:not(.dual-weapons){display:none!important}.dual-weapon-holder{padding:8px}.dual-weapons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.dual-weapons[hidden]{display:none}.dual-weapon-slot{display:flex;flex-direction:column;gap:7px;position:relative;overflow:hidden;min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;text-align:left}.dual-weapon-slot>:not(.dual-weapon-art){position:relative;z-index:1}.dual-weapon-slot strong{font-size:1rem;overflow-wrap:anywhere}.dual-weapon-slot small{font-size:.75rem}.dual-weapon-rules{font-size:.875rem;line-height:1.45;overflow-wrap:anywhere}.dual-weapon-art{position:absolute;inset:0;opacity:.2;pointer-events:none}.dual-weapon-art .card-art-frame{width:100%;height:100%;margin:0}.dual-weapon-slot .weapon-action{margin-top:auto;width:100%;min-height:40px;white-space:normal}@media(max-width:620px){.dual-weapons{grid-template-columns:minmax(0,1fr);gap:6px}.dual-weapon-slot{padding:8px;gap:4px}.dual-weapon-rules{font-size:.8125rem}}.choice-panel{width:min(620px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;padding:24px;border:1px solid rgba(235,194,94,.52);border-radius:22px;background:linear-gradient(145deg,#151c24,#0c1118);box-shadow:0 24px 70px #00000094;text-align:center}.choice-panel h2{margin:4px 0 18px}.paladin88{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 12px;margin-top:10px;border:1px solid #baa06b70;border-radius:10px;background:#eacb7e0a}.paladin88 strong{color:#f3d792}.paladin88 small{flex-basis:100%;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.choice-options.is-oath88{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}.choice-options.is-oath88 .choice-card{min-width:0;min-height:116px;padding:10px 6px;gap:6px;border-radius:10px}.choice-options.is-oath88 .choice-icon{display:none}.choice-options.is-oath88 .choice-card strong{font-size:.95rem}.choice-options.is-oath88 .choice-card span{font-size:.8rem;line-height:1.4;overflow-wrap:anywhere}.choice-options.is-oath88 .choice-card:hover{transform:translateY(-2px)}.choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.deck-card-title{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,150px) auto;position:relative}.deck-art-expand summary{cursor:zoom-in;list-style:none}.deck-art-expand summary::-webkit-details-marker{display:none}.deck-art-expand .card-art-frame{width:100%;height:auto;aspect-ratio:3/1;margin:0}.deck-expanded-art{display:none}.deck-art-expand[open] .deck-expanded-art{display:block;position:absolute;z-index:4;top:100%;left:0;right:0;padding:8px;border:1px solid var(--gold);border-radius:10px;background:#10171c;box-shadow:0 10px 28px #0009}.contract-reward{margin-top:10px;border-top:1px solid var(--line);padding-top:8px}.contract-reward summary{cursor:pointer;color:var(--gold-bright);font-size:.85rem}.reward-preview{display:grid;gap:6px;padding:12px;margin-top:8px;background:#10171c;border-radius:10px}.reward-preview .card-art-frame{height:auto;aspect-ratio:3/1}.reward-preview>span{color:var(--gold-bright);font-size:.8rem}.class-emblem{width:64px;height:72px;overflow:hidden}.class-emblem .deck-portrait{width:100%;height:100%;min-height:0;aspect-ratio:auto;margin:0;border:0;border-radius:inherit}.weapon-slot{position:relative;isolation:isolate;overflow:hidden}.weapon-slot>:not(.weapon-art){position:relative;z-index:1}.weapon-art{position:absolute;inset:0;z-index:0;pointer-events:none}.weapon-art .card-art-frame{width:100%;height:100%;margin:0;border:0;border-radius:inherit;background:transparent}.weapon-art .card-art-placeholder{display:none}.weapon-art .card-art-image.is-loaded{opacity:.25;object-fit:cover}.combat-center{position:relative}.played-card-visual{position:absolute;z-index:8;width:200px;max-width:55%;top:10px;left:12px;padding:10px;background:#0f161cf7;border:1px solid var(--gold);border-radius:12px;box-shadow:0 8px 28px #0007;pointer-events:none}.played-card-visual[hidden]{display:none}.played-card-visual small{display:block;color:var(--gold-bright);font-size:.72rem}.played-card-visual .card-art-frame{height:auto;aspect-ratio:3/1;margin:7px 0}.played-card-visual strong{display:block;font-size:.9rem}.played-card-visual p{margin:5px 0 0;font-size:.76rem;line-height:1.4;max-height:5.6em;overflow:hidden}.choice-card .card-art-frame{width:100%;height:auto;aspect-ratio:3/1;margin:0;flex-shrink:0}@media(max-width:600px){.deck-card-title{grid-template-columns:minmax(0,1fr) 90px auto;gap:7px}.class-emblem{width:48px;height:58px}.played-card-visual{width:165px;padding:8px;top:4px;left:4px}}.choice-card{min-height:230px;padding:18px;border:1px solid rgba(235,194,94,.38);border-radius:18px;color:#f7f0dc;background:linear-gradient(165deg,#333e4afa,#161c24fa);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.choice-card:hover,.choice-card:focus-visible{transform:translateY(-6px);border-color:#ebc25e;box-shadow:0 15px 32px #ebc25e2e}.menu-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;margin-top:24px;border-top:1px solid #3d4650;padding-top:16px}.menu-footer a,.transfer-card a{color:#dfbf79;font-size:.85rem}.catalog-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.catalog-tabs [aria-pressed=true]{border-color:#dfbf79;color:#dfbf79}#rules-catalog{display:grid;gap:24px;grid-template-columns:minmax(0,1fr)}#rules-catalog .rules-section891{min-width:0}#rules-catalog .rules-section891>h2{margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid #526070;font-size:1.12rem}#rules-catalog .rules-grid891{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}#rules-catalog[hidden],#catalog-list[hidden]{display:none}#rules-catalog article{padding:14px;background:#192129;border:1px solid #39434c;border-radius:12px}#rules-catalog h3{margin:0 0 8px;color:#dfbf79}#rules-catalog p{margin:0;line-height:1.6}.transfer-card{max-width:680px;margin:30px auto;line-height:1.7}.save-import{display:block;margin:24px 0}.save-import input{display:block;max-width:100%;margin-top:10px}@media(max-width:700px){.combat-center{gap:6px}.weapon-zone{grid-template-columns:1fr 1fr;gap:6px}.weapon-zone .versus-mark{display:none}.weapon-slot{min-height:0;padding:7px 9px;gap:3px}.weapon-slot strong{font-size:.82rem}.weapon-slot small,.weapon-slot .slot-label{font-size:.65rem;line-height:1.3}.weapon-action{min-height:30px;padding:5px 8px;margin-top:3px}.battle-log{min-height:0;height:auto;padding:6px 9px}.log-heading{margin-bottom:3px;font-size:.68rem}#log-list{height:68px;min-height:0;max-height:68px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;font-size:.69rem}#log-list li{margin-bottom:3px;line-height:1.4}.transfer-card{margin:12px}}.pvp-seats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.battle-board>*,.fighter-identity,.fighter-identity>div{min-width:0}.passive-copy{white-space:pre-line;overflow-wrap:anywhere}#rules-catalog p,.element-formula-guide>p{white-space:pre-line}@media(max-width:1050px){.enemy-panel,.player-summary{flex-wrap:wrap;gap:12px}.resource-row{max-width:100%}.card-hand{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.card-hand{grid-template-columns:repeat(2,minmax(0,1fr))}.weapon-zone{min-height:0}.pvp-seats{gap:10px}.pvp-seats>*{min-width:0}}.pvp-seats strong,.pvp-seats small,.pvp-seats select{display:block;margin-top:10px}.pvp-seats select,.pvp-join input{width:100%;background:#15212b;color:#f1e7cc;border:1px solid #56616b;border-radius:8px;padding:12px;font:inherit}.pvp-join{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.pvp-join input{flex:1;min-width:120px;text-transform:uppercase}.pvp-connection{padding:8px 12px;border:1px solid #56616b;background:#172632;font-size:.85rem}.pvp-connection[hidden]{display:none}#pvp-code{font-size:1.6rem;letter-spacing:.12em;color:#e8bf65}.garden-zone{margin-top:12px;min-width:0}.garden-zone[hidden]{display:none}.garden-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.garden-slot{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid #426d4f;border-radius:10px;background:#15241c;min-width:0;overflow-wrap:anywhere}.garden-slot strong{color:#c5e2b7;font-size:14px}.garden-slot small{color:#d6dfd7;font-size:12px;line-height:1.5}.garden-slot meter{width:100%;height:8px;accent-color:#7fbe77}.garden-slot.empty{background:transparent;color:#8e9b92;border-style:dashed;font-size:12px;justify-content:center;text-align:center}.botanist-crop-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.botanist-crop-guide section{min-width:0}.botanist-crop-guide p{font-size:14px;line-height:1.6}@media(max-width:620px){.garden-slot{padding:7px 5px}.garden-slots{gap:5px}.botanist-crop-guide{grid-template-columns:1fr}}.ad-placement{margin:150px 0 0;padding:24px 0 0;border-top:1px solid #39434c;text-align:center;width:100%;min-width:0;flex:none}.ad-placement .adsbygoogle{width:100%;min-height:90px}.ad-placement[hidden]{display:none}.ad-placement>small{display:block;margin-bottom:12px;color:#a1aab2}.ad-consent{margin:20px 0;padding:16px;border:1px solid #39434c;border-radius:10px}.ad-consent button{margin:8px}.choice-card .choice-icon{font-size:3.2rem}.choice-card strong{font-size:1.15rem}.choice-card span{color:#c9d3df;line-height:1.55}@media(max-width:560px){.choice-overlay{padding:12px}.choice-panel{padding:18px 12px}.choice-options{gap:9px}.choice-card{min-height:190px;padding:13px 10px}.choice-card .choice-icon{font-size:2.5rem}.choice-card strong{font-size:.98rem}.choice-card span{font-size:.78rem}}:root .story-ending-visual .card-art-frame{width:100%;height:auto;aspect-ratio:1}:root .story-ending-visual .card-art-image{object-fit:contain}#rules-catalog{min-height:0;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;cursor:grab}#rules-catalog.dragging{cursor:grabbing;user-select:none}.deck-option label .deck-lock-footer{display:block;align-self:stretch;flex:none;margin:10px 0 0;text-align:center}.deck-option.is-locked .deck-name-row strong{min-width:0;word-break:keep-all;overflow-wrap:anywhere}#setup-dialog .ad-placement{margin:18px 0 0;padding:10px 0 0;flex:0 0 auto}#setup-dialog .ad-placement .adsbygoogle{height:50px;min-height:50px}#setup-dialog .ad-placement>small{margin-bottom:6px}.patch-list h3{margin:0 0 14px;color:var(--gold-bright);font-size:1.15rem}.patch-list ol{margin:0;padding-left:24px}.patch-list li{margin:0 0 14px;line-height:1.7;color:var(--muted)}.patch-list li b{color:var(--ink)}#catalog-dialog .utility-card{display:flex;flex-direction:column}#catalog-dialog .deck-detail-heading,#catalog-dialog .catalog-tabs{flex-shrink:0}#catalog-dialog #rules-catalog{flex:1 1 auto}.resource-row button.resource{cursor:pointer;font:inherit;color:inherit}.resource-row button.resource:hover{border-color:var(--gold)}@media(min-width:721px){.fighter-panel .resource-row{flex:0 0 auto}.fighter-panel .resource-row .resource:not(.hp){white-space:nowrap}.enemy-panel .fighter-identity,.player-summary .fighter-identity{flex:1 1 0}}.log-turn-divider{color:var(--gold-bright);border-bottom:1px solid #665332;padding:8px 0;font-weight:700;position:sticky;top:0;background:#11171b}#archaeologist-arrange[hidden]{display:none}.math-zone62{border:1px solid #8171ac;border-radius:10px;padding:10px;margin:8px 0;display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;background:#191727}.math-zone62[hidden],#math-calculate62[hidden]{display:none}.math-zone62 strong{font-size:1.1rem;color:#dfd3ff}.math-zone62 small{color:#b5a6cf}.math-zone62 b{color:var(--gold-bright)}@media(min-width:721px)and (max-width:1050px){.enemy-panel,.player-summary{flex-wrap:wrap}.enemy-panel .fighter-identity,.player-summary .fighter-identity{flex:1 0 100%}.fighter-panel .resource-row{flex:1 1 100%;flex-wrap:wrap}}#math-calculate62,#archaeologist-arrange{margin-left:auto;margin-right:8px;white-space:nowrap}.status-row .tooltip-target:after{left:0;transform:translateY(5px)}.status-row .tooltip-target:hover:after,.status-row .tooltip-target:focus-visible:after{transform:translateY(0)}@media(min-width:721px){.enemy-panel .status-row .tooltip-target:after{left:auto;right:0}}#pile-dialog57{width:min(920px,94vw);max-height:90dvh;padding:0;border:1px solid #47515a;border-radius:16px;background:#11171b;color:var(--ink)}.pile-panel57{padding:20px}.pile-cards57{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;max-height:65dvh;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.pile-cards57 article{min-width:0;padding:12px;border:1px solid #424b53;border-radius:10px;background:#192127}.pile-cards57 h3{font-size:15px;margin:8px 0}.pile-cards57 p{font-size:13px;line-height:1.6;white-space:pre-line}.pile-cards57 .card-art-frame{width:100%}@media(max-width:620px){.fighter-panel .resource-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;width:100%}.fighter-panel .resource-row .hp{grid-column:1/-1;width:100%}.fighter-panel .resource-row .resource:not(.hp){grid-column:auto;grid-row:auto;min-width:0;width:auto;padding:7px 3px;gap:3px}.fighter-panel .resource-row .resource small{font-size:10px;white-space:nowrap}.fighter-panel .resource-row .resource b{font-size:17px}.fighter-panel .resource-row .resource-icon{display:none}.fighter-panel .resource-row .energy-orbs{gap:2px;flex-wrap:wrap}.pile-panel57{padding:12px}.pile-cards57{grid-template-columns:repeat(2,minmax(0,1fr))}}.math-rewards65{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.math-rewards65 section{padding:12px;border:1px solid #46515b;border-radius:10px;background:#171e24}.math-rules65{display:grid;gap:10px;margin-top:14px}.math-rules65 section{padding:12px;border:1px solid #46515b;border-radius:10px}.math-rewards65 h4,.math-rules65 h4{margin:0 0 6px}#deck-detail-close{flex-shrink:0;white-space:nowrap}.choice-inspect65{display:block;margin:14px auto 0;font-size:12px;min-height:32px}.choice-inspect65[hidden]{display:none}#choice-situation65{width:min(1250px,96vw);max-height:94dvh;overflow:auto;background:#11171b;color:var(--ink);padding:16px}.situation-panel65>button{position:sticky;top:0;z-index:2}#situation-content65>section{margin:12px 0;padding:12px;border:1px solid #46515b;border-radius:12px}#situation-content65 .enemy-panel{display:block}#situation-content65 .resource-row{flex-wrap:wrap}#situation-content65 button{pointer-events:none}#situation-content65 .card-hand{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.evidence67{width:100%;min-width:0;flex:0 0 100%;grid-column:1 / -1;padding:10px;border:1px solid #655335;border-radius:8px;box-sizing:border-box}.evidence67[hidden]{display:none}.evidence67 header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:12px;margin-bottom:6px}.evidence-items67{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.evidence-items67 section{padding:8px;min-width:0;border:1px solid #504832;border-radius:6px;background:#231d16b3}.evidence-items67 strong,.evidence-items67 small{display:block;overflow-wrap:anywhere}.evidence-items67 strong{font-size:12px;color:#f1ce86}.evidence-items67 small{font-size:11px;margin-top:4px}.ghoul-stomach73{width:100%;min-width:0;border:1px solid #676044;border-radius:10px;padding:8px;background:#171c18}.ghoul-stomach73 summary{cursor:pointer;color:#d6db9b;font-size:12px}.ghoul-slots73{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}.ghoul-slots73 article{min-width:0;padding:7px;border:1px solid #444c3b;border-radius:8px;overflow-wrap:anywhere}.ghoul-slots73 article strong,.ghoul-slots73 article small{display:block}.ghoul-slots73 article strong{font-size:12px}.ghoul-slots73 article small,.ghoul-slots73 article p{font-size:11px;line-height:1.4;white-space:pre-line}.ghoul-slots73 .card-art{height:56px}.ghoul-slots73 .empty{display:grid;place-items:center;color:#929b89;min-height:70px}.shop76{border:1px solid #74603e;border-radius:12px;padding:12px;margin:10px 0;background:#171c22;color:#eee}.shop76[hidden]{display:none}.shop76 header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.shop76 details{font-size:12px;margin:8px 0}.shop-products76{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:230px;overflow:auto}.shop-products76 button,.shop-empty76{display:flex;flex-direction:column;gap:6px;text-align:left;min-width:0;padding:10px;border:1px solid #8b754d;border-radius:8px;background:#252b33;color:#f6ead3;white-space:normal;overflow-wrap:anywhere}.shop-products76 button span{font-size:12px;line-height:1.45;flex:1}.shop-products76 button:disabled{opacity:.65;cursor:default}.shop-products76 button b{color:#efc973}.inline-choice76{grid-column:1/-1;flex-basis:100%;padding:10px;border:1px solid #efc973;border-radius:8px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#3a3326;color:#fff}.chef-board79{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:8px;margin:8px 0;grid-column:1/-1;min-width:0}.chef-board79[hidden]{display:none}.astro-board82{grid-column:1/-1;min-width:0;width:100%;margin:8px 0;padding:10px;border:1px solid #6c6995;border-radius:10px;background:#141b30;color:#e4e5ff;box-sizing:border-box}.astro-board82[hidden]{display:none}.astro-board82 header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px}.astro-row82{display:flex;gap:6px;align-items:center;margin-top:6px;min-width:0}.astro-row82>strong{font-size:11px;flex:0 0 48px}.astro-track82{display:flex;gap:4px;flex:1;min-width:0}.astro-star82{flex:1;min-width:0;border:1px solid #393e60;border-radius:6px;padding:5px 2px;text-align:center;font-size:12px;display:flex;flex-direction:column;gap:2px}.astro-star82.current{background:#373654;border-color:#e4c57b}.astro-star82 small{font-size:9px;color:#aeb5cc}.astro-star82 em{font-size:9px;font-style:normal;color:#f4d58c}.astro-board82 details{font-size:11px;max-height:160px;overflow:auto;margin-top:8px}.astro-board82 summary{cursor:pointer;padding:5px}.astro-board82 p{margin:5px 0;overflow-wrap:anywhere}@media(max-width:480px){.astro-board82{padding:6px}.astro-row82>strong{flex-basis:34px;font-size:10px}.astro-track82{gap:2px}.astro-star82{font-size:11px}.astro-star82 small{font-size:8px}}.chef-board79 article{background:#272522;border:1px solid #8e774e;border-radius:10px;padding:10px;min-width:0;overflow-wrap:anywhere;font-size:12px}.chef-board79 header{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;color:#f4d39c}.chef-board79 p{margin:5px 0;line-height:1.5}.chef-guide79 details{margin:8px 0}.chef-guide79 summary{cursor:pointer;padding:8px;color:#f4d39c}@media(max-width:640px){.shop-products76{grid-template-columns:repeat(2,minmax(0,1fr));max-height:195px}.shop76{padding:8px}.shop76 header{font-size:12px}.shop-products76 button{padding:8px}}#mansion90{border:1px solid #b59b61;border-radius:10px;padding:10px;margin:8px 0;font-size:12px}#mansion90[hidden]{display:none}#mansion90 p{margin:6px 0}#mansion90 button{margin:4px;padding:9px 12px}.mansion-map90{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"study living dining kitchen" ". hall bedroom .";gap:5px;margin-top:8px}.room90:nth-child(1){grid-area:living}.room90:nth-child(2){grid-area:study}.room90:nth-child(3){grid-area:dining}.room90:nth-child(4){grid-area:kitchen}.room90:nth-child(5){grid-area:hall}.room90:nth-child(6){grid-area:bedroom}.room90{border:1px solid #566473;padding:7px;border-radius:6px;text-align:center}.room90 small{display:block;opacity:.8}.room90.here90{border-color:#ecd081;background:#584b28}.mechanic098{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;border:1px solid #657888;border-radius:10px;background:#101e29}.mechanic098[hidden]{display:none}.mechanic098 span{font-size:12px}.mechanic098 button{min-height:44px}.public-info84{margin-top:8px;min-width:0}.public-info84[hidden]{display:none}.public-info84 header{font-size:.8rem;color:#e3c994}.public-info84 header small{color:#acb9c4}.supplies84{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.supplies84>button,.supplies84>span{display:flex;flex:1 1 120px;max-width:260px;flex-direction:column;gap:4px;padding:10px;border:1px solid #536774;border-radius:9px;background:#192732;color:#e8eef4;text-align:left;font-size:.75rem;min-height:44px}.supplies84>button:disabled{opacity:.55;cursor:default}.supplies84>button:not(:disabled):hover{border-color:#e0be7c}.supplies84 span span{font-size:.72rem}.contract-hand84{display:flex;flex-direction:column;min-width:0}.contract-hand84>.game-card{flex:1}.reward-button84{margin-top:5px;padding:9px;border:1px solid #92743d;border-radius:8px;background:#262b36;color:#f2d398;font-size:.72rem;min-height:44px;cursor:pointer;text-align:left}button.summon-slot{cursor:pointer;min-height:60px;min-width:0}button.summon-slot:hover,button.summon-slot:focus-visible{border-color:#efd08b;outline:2px solid #a08246}#inspect-dialog84{box-sizing:border-box;width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 28px);overflow:auto;padding:20px;border:1px solid #aa8f58;border-radius:16px;background:#15202b;color:#e8eef4}#inspect-dialog84::backdrop{background:#0009}#inspect-dialog84 header{display:flex;gap:12px;align-items:center;justify-content:space-between}#inspect-dialog84 h2{margin:0;font-size:1.1rem}#inspect-dialog84 button{min-height:44px;padding:8px 12px;flex-shrink:0;background:#263949;color:#fff;border:1px solid #708899;border-radius:8px}#inspect-dialog84 .card-art-frame{display:block;margin-top:12px;aspect-ratio:3/1;width:100%;height:auto}#inspect-dialog84 p{line-height:1.6;white-space:pre-line}.summon-health84{font-weight:700;color:#f3bbba}.inspect-note84{font-size:.78rem;color:#aebfce}@media(max-width:720px){#player-hand>.contract-hand84{flex:0 0 116px!important;width:116px;min-width:116px;max-width:116px;height:156px;gap:3px}#player-hand>.contract-hand84>.game-card{flex:1;min-height:0!important;height:109px!important;padding:7px!important;gap:4px;transform:none!important;animation:none!important;overflow:hidden;user-select:none}#player-hand>.contract-hand84>.game-card:disabled{pointer-events:none}#player-hand>.contract-hand84>.reward-button84{flex:0 0 44px;margin:0;min-height:44px;padding:4px 6px;font-size:10px;line-height:1.2;overflow:hidden}}@media(max-width:720px)and (max-height:600px){#player-hand>.contract-hand84{height:114px}#player-hand>.contract-hand84>.game-card{height:67px!important}}:root{--night:#15100b;--panel:#26251d;--panel-2:#302c22;--ink:#eee2c8;--muted:#bdaf91;--line:#6b58403d;--gold:#bb9455;--gold-bright:#e0bd79;--shadow:0 16px 40px #0007}body{background-color:#24180f;background-image:linear-gradient(90deg,#0006,transparent 18%,transparent 82%,#0006),repeating-linear-gradient(2deg,#c69a5b05 0 1px,transparent 1px 7px),repeating-linear-gradient(90deg,#372519 0 150px,#20150e 150px 153px,#2b1d13 153px 304px);background-attachment:fixed}.game-shell{max-width:1560px}.topbar{gap:12px;border-bottom:2px solid #9c794847;min-height:64px}.topbar h1{font-family:Georgia,"Noto Serif KR",serif;font-size:1.5rem;letter-spacing:.02em}.topbar>.turn-pill{margin-right:auto;white-space:nowrap}.topbar-actions{margin-left:auto;flex-shrink:0}.brand-mark{border-radius:3px;border-color:#a9844a;background:#3f2e19;box-shadow:inset 0 0 0 3px #21170d}.turn-pill,.ghost-button,.secondary-button{border-radius:4px;border-color:#8d754c;background:#251e15;color:#e3cfaa}.primary-button,.end-turn-button,.weapon-action{border-radius:4px;background:linear-gradient(#dac18a,#b4975e);color:#271c0f;border:1px solid #e4cc93;box-shadow:inset 0 0 0 2px #5f432c33,0 3px #4c321c}.fighter-panel,.combat-center{border:1px solid #7a694b;border-radius:5px;box-shadow:inset 0 0 0 3px #171a14,0 5px 12px #0005;background-color:#252a22;background-image:repeating-linear-gradient(0deg,#fff02 0 1px,transparent 1px 4px)}.class-emblem{border-radius:4px;border:2px solid #a1834e;background:#33291c;box-shadow:0 0 0 2px #100e09}.resource{border-radius:4px;background:#12181088}.resource.energy{background:#3b3521;border-color:#c7a963}.energy-orb{border-radius:2px;transform:rotate(45deg);margin:1px}.energy-orb.filled{background:#e2c482;box-shadow:inset 0 0 0 1px #ffeda799}.status-chip{border-radius:3px;background:#302b36;border-color:#82718e}.combat-center{grid-template-rows:auto 1fr;gap:8px 14px;padding:10px 14px;background-color:#24302a}.battle-view-tabs66{display:flex;align-items:center;gap:8px;grid-column:1;font-size:12px;min-height:30px}.battle-view-tabs66 button{color:#b5a481;border:0;border-bottom:2px solid transparent;background:none;padding:4px 6px;cursor:pointer}.battle-view-tabs66 button[aria-pressed=true]{color:#f0dab0;border-color:#c29c56}.weapon-zone{grid-column:1;grid-row:2;min-height:100px;gap:10px;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)}.weapon-slot{min-height:94px;padding:8px 12px;gap:3px;border:1px solid #8a795649;border-radius:4px;background:#141c1799}.weapon-slot strong{font-size:1rem}.weapon-slot small{line-height:1.4}.weapon-action{min-height:30px;padding:4px 12px;margin-top:4px;font-size:12px}.versus-mark{width:34px;height:34px;font-size:11px;border-color:#8b734b;background:#181b12}.battle-log{grid-column:2;grid-row:1/3;background:#ded0b0;color:#392f21;border:1px solid #9d8253;border-radius:3px;padding:10px 12px;box-shadow:inset 0 0 20px #8b65332e;min-height:0}.battle-log .log-heading,.battle-log strong{color:#62401e}.battle-log #log-list{height:120px;max-height:120px;min-height:0;color:#453727;overflow-y:auto}.battle-log li{border-color:#8b714d38}.battle-log .log-turn-divider{background:#ded0b0;color:#604622;border-color:#9d8253}.battle-log #log-list li,.battle-log #log-list li span{color:#453727}.battle-log #log-list li strong{color:#62401e}.passive-details66>summary{display:none}.passive-details66:not([open])>.passive-copy{display:block}.card-hand{gap:10px}.game-card{--card-edge66:#847254;border-radius:5px!important;border:1px solid var(--card-edge66)!important;background:linear-gradient(105deg,#e2d3b3,#cbb88e)!important;color:#34291c;box-shadow:inset 0 0 0 3px #f5e6bd66,0 5px 9px #0006}.game-card .card-name{color:#302215;font-family:Georgia,"Noto Serif KR",serif}.game-card .card-text{color:#4a3c29}.game-card .card-footer{color:#746044}.game-card .card-type{color:var(--card-edge66);font-weight:850}.game-card .card-cost{border:1px solid #89703d;background:#382b19;color:#ffe6a5}.game-card .card-art-frame{border:1px solid #89714a;border-radius:2px;background:#41382b}.game-card.skill{--card-edge66:#853c2e}.game-card.weapon{--card-edge66:#51616a}.game-card.buff{--card-edge66:#706042}.game-card.equipment{--card-edge66:#806133}.game-card.counter{--card-edge66:#306b61}.game-card:disabled{opacity:.57;filter:saturate(.45)}.game-card:not(:disabled){outline:1px solid #d7bc74;outline-offset:-4px}.game-card:hover:not(:disabled){box-shadow:0 0 0 2px #e5c57d,0 8px 16px #0006}.game-card.counter-available{outline:2px solid #69bc98;outline-offset:1px}.game-card:after{opacity:.2}.game-dialog{border-color:#8c7145;border-radius:6px;background:#221b13}.dialog-card,.utility-card,.main-menu-card{background:linear-gradient(110deg,#32281b,#211c14);border-radius:4px}.main-menu-heading{padding:12px 0 22px;border-bottom:1px solid #8d7045;margin-bottom:18px}.main-menu-heading h2{font-family:Georgia,"Noto Serif KR",serif;letter-spacing:.12em;color:#f3dfb6}.main-menu-grid button{border-radius:3px;border:1px solid #8c754e;background:#262b23;box-shadow:inset 0 0 0 3px #10150e80,0 4px 6px #0005}.main-menu-grid button:hover{background:#354035;border-color:#d1b37c}.deck-choice,.deck-card-row{border-radius:4px;border-color:#766449;background:#2d3025}.deck-choice:has(input:checked){outline-color:#dfc58a;background:#444733}.deck-card-title strong{font-family:Georgia,"Noto Serif KR",serif}.deck-card-meta{color:#e1bd7d}.deck-card-row p{color:#d4c5a7}.deck-art-expand summary .card-art-frame{border-radius:2px}.element-formula-guide,.choice-panel{border-radius:5px;background:#262b23;border-color:#8e7950}.choice-option{border-radius:4px;background:#383526;border-color:#a68a50}.mobile-card-zoom66[hidden]{display:none!important}.mobile-card-zoom66{display:none}@media(min-width:721px){.combat-center[data-view66=log] .battle-log{box-shadow:0 0 0 2px #ddbe79,inset 0 0 20px #8b65332e}}@media(max-width:720px){:root{--tray66:218px;--safe66:env(safe-area-inset-bottom,0px)}body.battle-active66{height:100dvh;min-height:0;overflow:hidden}.game-shell{padding:0 7px;min-height:0;height:100dvh;display:flex;flex-direction:column}.topbar{height:44px;min-height:44px;gap:7px;flex-shrink:0;flex-wrap:nowrap}.topbar .brand-mark,.topbar .eyebrow{display:none}.topbar h1{font-size:16px;white-space:nowrap;margin:0;letter-spacing:0}.brand-lockup{min-width:0;gap:0}.topbar .turn-pill{font-size:10px;padding:4px 6px;margin-right:auto;flex-shrink:0;min-height:28px}.topbar-actions{gap:0;width:auto}.topbar #new-game-button{font-size:11px;padding:6px 9px;min-height:30px;white-space:nowrap}.battle-board{display:flex;flex-direction:column;gap:6px;margin-top:6px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:1px 1px 10px;margin-bottom:calc(var(--tray66) + var(--safe66));scrollbar-width:thin}.battle-board>.fighter-panel,.battle-board>.combat-center{flex:0 0 auto}.fighter-panel{padding:8px!important;overflow:visible}.enemy-panel,.player-summary{display:flex!important;flex-wrap:wrap;gap:6px;align-items:center}.fighter-identity{width:100%;gap:8px;flex:none!important}.fighter-identity>div{flex:1}.fighter-panel h2{font-size:14px;margin:0;line-height:1.3}.class-emblem{width:34px;height:38px;min-width:34px;border-width:1px}.side-label{font-size:9px;margin:0}.passive-details66>summary{display:block;cursor:pointer;color:#c9b889;font-size:10px;margin-top:2px;list-style:none}.passive-details66>summary:before{content:"\25b8  "}.passive-details66[open]>summary:before{content:"\25be  "}.passive-details66:not([open])>.passive-copy{display:none}.passive-copy{font-size:11px;line-height:1.5;margin:4px 0 0}.fighter-panel .resource-row{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:100%;max-width:none;flex:none!important}.fighter-panel .resource-row .resource,.fighter-panel .resource-row .resource.hp{grid-column:auto!important;grid-row:auto!important;width:auto;min-width:0!important;min-height:36px;padding:4px 3px!important;display:flex;align-items:center;justify-content:center;gap:2px;flex-wrap:wrap}.fighter-panel .resource-row .resource.hp{display:block;grid-column:1/-1!important;min-height:30px;padding:3px 7px!important}.resource-label{gap:3px;justify-content:space-between;white-space:nowrap}.fighter-panel .resource-row .resource b{font-size:13px;line-height:1.2}.fighter-panel .resource-row .resource small{font-size:8px;white-space:nowrap}.fighter-panel .resource-row .hp-track{height:4px;margin-top:4px}.resource-icon{display:none}.fighter-panel .resource-row .energy{padding-bottom:11px!important}.energy-orbs{bottom:3px;left:4px;right:4px;gap:2px;justify-content:center}.energy-orb{width:5px;height:5px;margin:0}.status-row{min-height:0;margin-top:5px;gap:4px;width:100%}.status-chip{font-size:9px;padding:3px 5px}.status-row:empty{display:none}.combat-center{display:block!important;padding:5px 7px;min-height:0}.battle-view-tabs66{min-height:26px;gap:6px}.battle-view-tabs66 button{min-height:26px;font-size:11px;padding:2px 7px}.weapon-zone{display:grid;grid-template-columns:1fr 1fr!important;gap:6px;min-height:0;align-items:stretch}.weapon-zone .versus-mark{display:none}.weapon-slot{min-height:63px;padding:5px 6px;gap:1px;border-radius:3px}.weapon-slot strong{font-size:12px;margin:1px 0}.weapon-slot small,.weapon-slot .slot-label{font-size:9px;line-height:1.3}.weapon-action{min-height:27px;font-size:10px;padding:3px 5px;margin-top:3px}.battle-log{display:none;padding:6px 8px;min-height:0}.combat-center[data-view66=log] .weapon-zone{display:none}.combat-center[data-view66=log] .battle-log{display:block}.battle-log #log-list{height:86px;max-height:86px;font-size:11px}.log-heading{font-size:10px;margin-bottom:3px}.dual-weapons{gap:3px}.dual-weapon-slot{padding:4px;gap:2px}.dual-weapon-slot strong{font-size:10px}.dual-weapon-slot .weapon-action{min-height:27px;font-size:10px}.dual-weapon-rules{font-size:9px}#player-panel>.hand-heading{position:fixed;z-index:40;left:0;right:0;bottom:calc(174px + var(--safe66));height:44px;min-height:44px;margin:0;padding:5px 10px;display:flex;align-items:center;gap:6px;background:#271d12;border-top:2px solid #917144;box-shadow:0 -4px 16px #0005}.hand-heading>span{font-size:11px;color:#ddc7a2}.hand-heading .end-turn-button{padding:6px 10px;min-height:30px;white-space:nowrap;font-size:11px}.hand-heading #end-turn-button{margin-left:auto}.hand-heading #math-calculate62,.hand-heading #archaeologist-arrange{margin-left:auto;margin-right:0}#player-hand{position:fixed;z-index:39;left:0;right:0;bottom:0;height:calc(174px + var(--safe66));min-height:0;display:flex!important;flex-wrap:nowrap;align-items:stretch;gap:8px;margin:0;padding:5px 10px calc(8px + var(--safe66));overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;background:repeating-linear-gradient(1deg,#ffffff03 0 1px,transparent 1px 6px),#342419;box-shadow:inset 0 0 15px #0007}#player-hand>.game-card{flex:0 0 116px!important;width:116px!important;min-width:116px!important;max-width:116px;min-height:0!important;height:156px!important;padding:7px!important;gap:4px;transform:none!important;animation:none!important;display:flex;flex-direction:column;overflow:hidden;user-select:none}#player-hand>.game-card:disabled{pointer-events:none}#player-hand>.game-card.mobile-selected66{outline:2px solid #ffdd8d;outline-offset:-2px}#player-hand .card-topline{min-height:19px;gap:2px}#player-hand .card-cost{width:22px;height:22px;min-width:22px;font-size:12px}#player-hand .card-type{font-size:9px}#player-hand .card-art-frame{height:44px!important;min-height:44px;flex:none}#player-hand .card-name{font-size:12px;line-height:1.2}#player-hand .card-text{font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}#player-hand .card-footer{display:none}#player-hand .game-card:before{display:none!important}#player-hand [data-scope-position]{flex:0 0 78px;min-width:78px}.mobile-card-zoom66{display:block;position:fixed;z-index:55;left:50%;bottom:calc(var(--tray66) + var(--safe66) + 6px);transform:translate(-50%);width:min(310px,88vw);max-height:calc(100dvh - var(--tray66) - var(--safe66) - 58px);overflow:auto;padding:9px;background:#241d14;border:1px solid #d5b879;box-shadow:0 10px 40px #000b;border-radius:5px;overscroll-behavior:contain}.zoom-heading66{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:7px;font-size:10px;color:#e8d9b4}.zoom-heading66 button{padding:4px 9px;min-height:29px}.mobile-card-zoom66 .game-card{width:100%;min-height:0;max-height:none;padding:13px;display:flex;flex-direction:column;gap:8px;transform:none!important;animation:none!important;text-align:left}.mobile-card-zoom66 .game-card:disabled{opacity:1;filter:none}.mobile-card-zoom66 .card-art-frame{height:90px;min-height:90px}.mobile-card-zoom66 .card-text{font-size:14px;line-height:1.55}.mobile-card-zoom66 .card-name{font-size:18px}.mobile-card-zoom66 .card-footer{font-size:10px}.mobile-card-zoom66 details{margin-top:8px;font-size:12px}.mobile-card-zoom66 details p{white-space:pre-line;line-height:1.6}.played-card-visual{max-width:150px;top:30px;left:7px}.played-card-visual .card-art-frame{height:46px}.puppet-grid63:not([hidden]){gap:4px;margin-top:5px}.puppet63{padding:5px;font-size:10px}.puppet63 p{margin:3px 0}.puppet-steps63{gap:4px;margin-top:4px}.puppet-steps63 span{width:18px;height:18px;font-size:10px}.totem-zone,.turret-zone,.garden-zone,.summon-zone,.math-zone62{padding:5px;margin-top:5px}.math-zone62{font-size:11px}.math-zone62 strong{font-size:13px}.summon-heading,.turret-heading,.totem-heading{font-size:9px}.pvp-connection{font-size:10px;padding:3px 6px;margin:2px 0;flex-shrink:0}.pvp-clocks{font-size:11px;margin:2px 0;flex-shrink:0}.choice-inspect65{font-size:11px}.player-panel>.choice-inspect65:not([hidden]){position:fixed;z-index:43;bottom:calc(var(--tray66) + var(--safe66) + 3px);right:10px;margin:0;background:#33261a}#situation-content65 .hand-heading,#situation-content65 .card-hand{position:static;display:grid!important;height:auto;padding:6px}.tutorial-coach{bottom:calc(var(--tray66) + var(--safe66) + 8px);max-height:150px;overflow:auto;font-size:12px}}@media(max-width:720px)and (max-height:600px){:root{--tray66:174px}#player-panel>.hand-heading{bottom:calc(130px + var(--safe66))}#player-hand{height:calc(130px + var(--safe66))}#player-hand>.game-card{height:114px!important}#player-hand .card-art-frame{height:28px!important;min-height:28px}#player-hand .card-text{-webkit-line-clamp:1}.mobile-card-zoom66{max-height:calc(100dvh - 50px);bottom:8px}.mobile-card-zoom66 .card-art-frame{height:48px;min-height:48px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}:root{--night:#0d1118;--panel:#151c26;--panel-2:#1d2633;--ink:#edf1f6;--muted:#a6b2c1;--line:#b2c8e124;--gold:#c0cede;--gold-bright:#f0d796;--shadow:0 16px 48px #0006}body{background-color:#0d1118;background-image:linear-gradient(180deg,#070b12a3,#070b12e0),url(assets/town-background.png);background-position:center;background-size:cover;background-attachment:fixed;color:var(--ink)}.topbar{border-bottom:1px solid #b8cce52b}.topbar h1{font-family:inherit;letter-spacing:-.02em}.brand-mark{background:#151e2b;border:1px solid #bacbe34d;box-shadow:none;border-radius:8px}.turn-pill,.ghost-button,.secondary-button{background:#18212ddd;border:1px solid #91a9c638;color:#dce5ef;border-radius:8px;box-shadow:none}.ghost-button:hover,.secondary-button:hover{background:#26374b;border-color:#a9bfd7;color:#edf3fb}.turn-pill.active{border-color:#8aafcf;color:#d8eafb;box-shadow:none}.primary-button,.end-turn-button,.weapon-action{background:#d1deeb;color:#142031;border:1px solid #e0eafa;box-shadow:0 3px 12px #0003;border-radius:8px}.primary-button:hover,.end-turn-button:hover,.weapon-action:hover{background:#e8f1fa}.fighter-panel,.combat-center{border:1px solid #96acc22b;border-radius:12px;box-shadow:0 8px 28px #0003;background:#101821ed;background-image:none}.class-emblem{border:1px solid #9aafcb50;background:#172231;box-shadow:none;border-radius:10px}.resource{background:#0b111bcc;border-radius:9px}.resource.energy{background:#202738;border-color:#bea36560}.energy-orb{border-radius:50%;transform:none}.energy-orb.filled{background:#f1d486;box-shadow:0 0 5px #f1d48633}.status-chip{border-radius:6px;background:#2d263d;border-color:#9881c044}.battle-view-tabs66 button{color:#a8b6c7}.battle-view-tabs66 button[aria-pressed=true]{color:#edf4fc;border-color:#9bb9d7}.weapon-slot{border:1px solid #829cba33;background:#0d1520bb;border-radius:8px}.versus-mark{background:#17212d;border-color:#8b9fb947;color:#c3d0de}.battle-log{background:#0d1520;color:#c0cbd8;border:1px solid #8b9fb92b;border-radius:8px;box-shadow:none}.battle-log .log-heading,.battle-log strong,.battle-log #log-list li strong{color:#e0e9f4}.battle-log #log-list,.battle-log #log-list li,.battle-log #log-list li span{color:#b9c6d5}.battle-log li{border-color:#a5b7cf1b}.battle-log .log-turn-divider{background:#17212c;color:#c5d7ec;border-color:#90a3bb30}.game-card{border-radius:10px!important;border:1px solid var(--card-line)!important;background:linear-gradient(155deg,var(--card-wash),transparent 75%),#121b26!important;color:#e8edf5;box-shadow:0 6px 18px #0004}.game-card .card-name{color:#f0f4fa;font-family:inherit}.game-card .card-text{color:#ccd6e3}.game-card .card-footer{color:#8b9aaf}.game-card .card-type{color:var(--card-accent)}.game-card .card-cost{border:none;background:var(--card-accent);color:#101722}.game-card .card-art-frame{background:#0e1722;border:1px solid #8eacc42b;border-radius:7px}.game-card:not(:disabled){outline:none}.game-card:hover:not(:disabled){box-shadow:0 0 0 1px var(--card-accent),0 10px 24px #0005}.game-card:disabled{opacity:.52;filter:saturate(.55)}.game-card.counter-available{outline:2px solid #72e2cd;outline-offset:1px}.game-card:after{opacity:.08}.game-dialog{background:#101822;border-color:#92a9c538;border-radius:14px;box-shadow:0 24px 80px #0008}.dialog-card,.utility-card{background:#111a26;border-radius:12px}.main-menu-card{background:linear-gradient(180deg,#0a111d77,#090f1ad9),url(assets/town-background.png) center 45%/cover;border-radius:14px}.main-menu-heading{border-bottom:1px solid #a0b8d12e}.main-menu-heading h2{font-family:inherit;letter-spacing:.04em;color:#f0f4fc;text-shadow:0 2px 16px #0009}.main-menu-grid button{background:#111d2ce0;border:1px solid #a4bbd442;border-radius:10px;box-shadow:0 6px 20px #0003;color:#ecf2f9}.main-menu-grid button:hover,.main-menu-grid button:focus-visible{background:#21334aee;border-color:#bfd6f2a0;box-shadow:0 0 0 2px #9bb9d755}button:focus-visible{outline:2px solid #a6c9ed;outline-offset:3px}.main-menu-card{border-color:#91abc43b}.main-menu-footer a{color:#bdccde}.deck-choice,.deck-card-row,.deck-option label{background:#182230;border-color:#99b0c833;border-radius:9px}.deck-choice:has(input:checked),.deck-option input:checked+label{background:#26364b;border-color:#bad0ea;outline-color:#bad0ea}.deck-card-title strong{font-family:inherit}.deck-card-meta{color:#cbd9ec}.deck-card-row p{color:#bac8db}.element-formula-guide,.choice-panel{background:#121d2b;border:1px solid #9eb4ce40;border-radius:12px}.choice-card,.choice-option{background:#1d2a3b;border:1px solid #8ba8c344;border-radius:10px;color:#e2ecf8}.choice-card:hover,.choice-option:hover{background:#283d56;border-color:#bad6f5}.evidence67{background:#111b27;border-color:#92aac33a}.evidence-items67 section{background:#1c293b;border-color:#8aa4bf33}.evidence-items67 strong{color:#d9e7f9}.chess-zone68{flex:0 0 100%;grid-column:1/-1;width:100%;min-width:0;margin-top:6px;padding:8px 10px;border:1px solid #9db6d43b;border-radius:9px;background:#13202c;box-sizing:border-box}.chess-zone68 summary{cursor:pointer;font-size:12px;color:#dce9f8}.chess-zone68 p{font-size:11px;color:#b9cadc}.chess-board68{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(340px,100%);aspect-ratio:1;margin:12px auto;border:1px solid #829abb;border-radius:7px;overflow:hidden;gap:2px;padding:3px;background:#101827;box-sizing:border-box}.chess-cell68{position:relative;min-width:0;min-height:0;padding:0;border:1px solid transparent;border-radius:3px;background:#415066;color:#c8d7ec;aspect-ratio:1;opacity:1!important;filter:none!important;box-shadow:none}.chess-cell68.dark{background:#263449}.chess-cell68 small{position:absolute;top:3px;left:4px;font-size:9px;color:#c4d2e2}.chess-cell68 span{font-size:clamp(22px,5vw,37px);line-height:1;display:block}.chess-cell68.noble{color:#b998fc}.chess-cell68.red,.king-label68.red{color:#ffa09d}.chess-cell68.gold,.king-label68.gold{color:#ffe09a}.chess-cell68.white,.king-label68.white{color:#fff}.chess-cell68.blue,.king-label68.blue{color:#8cd6ff}.chess-cell68.legal{border:2px solid #74d1c1;cursor:pointer;background:#2f635f}.chess-cell68.legal:hover{background:#43847a;box-shadow:inset 0 0 0 2px #b3ffed}.chess-cell68:focus-visible{outline:3px solid white;outline-offset:-4px}.choice-options.is-chess68{display:block}.chess-choice68>p{font-size:12px;line-height:1.7;text-align:center;color:#b6c9df}.chess-extra68{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.chess-extra68 button{min-height:40px;padding:8px 12px;flex:1 1 135px}.chess-extra68 small{display:block;font-size:11px;margin-top:3px}.chess-zone68 .chess-board68{width:min(250px,100%)}@media(min-width:721px){.combat-center[data-view66=log] .battle-log{box-shadow:0 0 0 1px #a5c3e670}}@media(max-width:720px){.enemy-panel,.player-summary{flex-direction:row;align-content:flex-start}#player-panel>.hand-heading{background:#111b29;border-top:1px solid #8ca8c442;box-shadow:0 -6px 18px #0005}#player-hand{background:#101925;box-shadow:none}.hand-heading>span{color:#c0cede}.passive-details66>summary{color:#b8cade}.mobile-card-zoom66{background:#152235;border-color:#91aec6;border-radius:12px}.zoom-heading66{color:#d6e4f5}.player-panel>.choice-inspect65:not([hidden]){background:#172739}#player-hand>.game-card.mobile-selected66{outline-color:var(--card-accent)}.hand-heading #chess-king-move68{font-size:10px;padding:5px 7px;margin-left:auto}.hand-heading #end-turn-button{margin-left:auto}.chess-zone68{padding:6px 8px}.chess-zone68 summary{font-size:10px}.chess-choice68 .chess-board68{width:min(290px,100%);margin:8px auto}}.resource,.resource-row,.status-row,.weapon-slot,.class-emblem{position:relative}.resource.hp{overflow:visible}.class-emblem{overflow:visible;isolation:isolate}.hp-track{position:relative;isolation:isolate;overflow:hidden}.hp-fill{position:relative;z-index:2}.hp-trail761{position:absolute;inset:0 auto 0 0;background:#f5c8a1;z-index:1;transition:width calc(.28s * var(--fx-time92, 1)) ease-out}.feedback-float761{position:absolute;z-index:65;pointer-events:none;left:50%;top:calc(-7px - var(--lane761,0)*22px);transform:translate(-50%,-50%);white-space:nowrap;font-size:13px;font-weight:850;line-height:1.3;padding:3px 7px;border-radius:6px;background:#0b1425ee;border:1px solid #96b6cf55;color:#eef4ff;text-shadow:0 1px 3px #000;animation:feedback-float761 calc(.75s * var(--fx-time92, 1)) ease-out both}.feedback-float761.damage{color:#ff9c94}.feedback-float761.armor{color:#93d9ff}.feedback-float761.heal{color:#9bf0b7}.feedback-float761.poison{color:#c2e77c}.feedback-float761.status{color:#d6bbfa}.feedback-float761.break{color:#ffe0a0}.feedback-float761.dodge{color:#9df5e5}.feedback-impact761{position:absolute;pointer-events:none;inset:-12px;z-index:5;border:3px solid #e4efff;border-radius:50%;animation:feedback-impact761 calc(.35s * var(--fx-time92, 1)) ease-out both}.feedback-impact761.slash{inset:25% -28%;border:0;border-top:4px solid #fff0c1;border-radius:50%;transform:rotate(-35deg);box-shadow:0 -3px 10px #ffc966}.feedback-impact761.pierce{inset:45% -35%;border:0;border-top:3px solid #eee2ff;border-radius:50%;box-shadow:0 -2px 8px #d6baff}.feedback-impact761.poison{border-color:#b1d976;box-shadow:inset 0 0 18px #8da95788}.feedback-impact761.tick{border-width:1px;opacity:.5}.feedback-impact761.strong{border-width:5px}.feedback-hit761{animation:feedback-hit761 calc(.24s * var(--fx-time92, 1)) ease-out}.feedback-heavy761{animation:feedback-heavy761 calc(.31s * var(--fx-time92, 1)) ease-out}.feedback-dodge761{animation:feedback-dodge761 calc(.3s * var(--fx-time92, 1)) ease-out}.feedback-pulse761{animation:feedback-pulse761 calc(.36s * var(--fx-time92, 1)) ease-out}.feedback-break761{animation:feedback-break761 calc(.38s * var(--fx-time92, 1)) ease-out}.feedback-arrive761{animation:feedback-arrive761 calc(.43s * var(--fx-time92, 1)) ease-out}.feedback-source761{position:relative!important;inset:auto!important;grid-column:1/-1;grid-row:auto;width:auto!important;max-width:none!important;min-height:44px;padding:5px 10px!important;display:flex;align-items:center;gap:9px;margin-bottom:4px;border-color:#8eabc350;background:#111d2def;box-shadow:none;pointer-events:none}.feedback-source761[hidden]{display:flex!important;visibility:hidden}@media(min-width:721px){.combat-center .feedback-source761{grid-row:1}.combat-center .battle-view-tabs66{grid-row:2}.combat-center .weapon-zone{grid-row:3}.combat-center .battle-log{grid-row:2/4}}.feedback-source761 .feedback-source-art761{width:62px;flex:none}.feedback-source761 .card-art-frame{height:32px!important;aspect-ratio:auto;margin:0}.feedback-source761 strong{font-size:13px}.feedback-source761 small{font-size:10px}.feedback-source761 .card-art-fallback{font-size:16px}.feedback-source-in761{animation:feedback-source761 calc(.18s * var(--fx-time92, 1)) ease-out}.feedback-counter761{display:block;width:100%;text-align:left;margin:0 0 8px;padding:10px 12px;background:#163a40;color:#d3fff8;border:1px solid #78dec9;border-radius:8px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:40px}.feedback-counter761[hidden]{display:none!important}.feedback-live761{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.feedback-defeated761{filter:grayscale(1);opacity:.25;animation:feedback-defeat761 calc(.42s * var(--fx-time92, 1)) ease-out both}.feedback-victor761{box-shadow:0 0 16px #f5db8b77}.feedback-disabled761 .feedback-defeated761{animation:none;opacity:.3;filter:grayscale(1)}.feedback-disabled761 .feedback-victor761{box-shadow:none}.feedback-disabled761 .hp-fill,.feedback-disabled761 .hp-trail761{transition:none}button:not(:disabled):active{filter:brightness(.87);translate:0 1px}button:focus-visible{outline:2px solid #b5e3ff;outline-offset:3px}.game-card.feedback-new-card761{box-shadow:0 0 0 2px #d5eaff,0 0 18px #80b6d966!important}.game-card:disabled .card-text{color:#bdcbd9}@keyframes feedback-float761{0%{opacity:0;translate:0 5px}15%{opacity:1}70%{opacity:1}to{opacity:0;translate:0 -18px}}@keyframes feedback-impact761{0%{opacity:1;scale:.7}40%{opacity:.9}to{opacity:0;scale:1.25}}@keyframes feedback-hit761{0%,to{translate:0 0;filter:none}20%{translate:2px 0;filter:brightness(1.65)}}@keyframes feedback-heavy761{0%,to{translate:0 0;filter:none}15%{translate:4px 1px;filter:brightness(1.9)}42%{translate:-2px 0}}@keyframes feedback-dodge761{40%{translate:7px 0;opacity:.45}}@keyframes feedback-pulse761{35%{box-shadow:0 0 0 2px #a6d8e9aa}}@keyframes feedback-break761{30%{box-shadow:0 0 13px #8ac7edbb;filter:brightness(1.8)}}@keyframes feedback-arrive761{0%{opacity:.4;scale:.94}65%{scale:1.035}to{opacity:1;scale:1}}@keyframes feedback-source761{0%{opacity:.45;translate:0 3px}to{opacity:1;translate:0 0}}@keyframes feedback-defeat761{0%{opacity:1;filter:none}35%{filter:brightness(2);translate:2px 1px}to{opacity:.25;filter:grayscale(1);translate:0 8px;scale:.9}}@media(max-width:720px){.feedback-counter761{position:fixed;z-index:48;left:8px;right:8px;bottom:calc(var(--tray66,218px) + var(--safe66,0px) + 4px);width:calc(100% - 16px);margin:0;font-size:12px;padding:8px 10px;box-shadow:0 -4px 12px #0006}.counter-phase761 .battle-board{padding-bottom:54px}.feedback-source761{min-height:36px;padding:3px 6px!important}.feedback-source761 .feedback-source-art761{width:45px}.feedback-source761 .card-art-frame{height:27px!important}.feedback-source761 strong{font-size:12px}.feedback-source761 small{font-size:9px}.feedback-float761{font-size:11px;padding:2px 5px}.weapon-action{min-height:36px}.hand-heading .end-turn-button{min-height:34px}.game-card.counter-available{box-shadow:inset 0 0 0 2px #8bf4db,0 0 10px #75ddc355!important}}@media(prefers-reduced-motion:reduce){.feedback-impact761{display:none!important}.feedback-float761{animation:none!important;translate:none}.feedback-defeated761{animation:none!important;opacity:.3;filter:grayscale(1)}.hp-trail761{transition:none!important}}.weapon-zone{align-items:stretch}.weapon-zone>.versus-mark{align-self:center}.weapon-zone>.weapon-slot{padding:0 0 8px;min-width:0;min-height:0;justify-content:flex-start;gap:4px;overflow:visible}.weapon-slot>.weapon-art{position:relative;inset:auto;display:block;flex:none;width:100%;aspect-ratio:3/1;overflow:hidden;border-radius:7px 7px 0 0;background:#111d29}.weapon-slot>.weapon-art:empty:after{content:"\2014";display:grid;place-items:center;height:100%;color:#4c6178}.weapon-slot .weapon-art .card-art-frame{display:block;position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0}.weapon-slot .weapon-art .card-art-image.is-loaded{opacity:1;object-fit:contain;object-position:center}.weapon-slot>.slot-label{margin-top:3px}.weapon-slot>strong{margin:0 8px;font-size:14px;line-height:1.4}.weapon-slot>small{padding:0 8px;overflow-wrap:anywhere;line-height:1.5}.weapon-slot>.weapon-action{margin-top:auto;max-width:calc(100% - 16px)}.weapon-slot[tabindex],.dual-weapon-slot[tabindex]{cursor:help}.weapon-slot:focus-visible,.dual-weapon-slot:focus-visible{outline:2px solid #d9c295;outline-offset:3px}.dual-weapon-slot{padding:0 0 7px;overflow:visible}.dual-weapon-slot>.dual-weapon-art{position:relative;inset:auto;order:-1;display:block;aspect-ratio:3/1;width:100%;opacity:1;overflow:hidden;background:#111d29}.dual-weapon-art .card-art-frame{position:absolute;inset:0;margin:0;border:0}.dual-weapon-art .card-art-image{object-fit:contain}.dual-weapon-slot>.dual-weapon-rules{display:none}.dual-weapon-slot>strong,.dual-weapon-slot>small{padding:0 6px}.weapon-card-preview761{pointer-events:auto;max-height:calc(100dvh - 24px);min-height:0;overflow:auto;z-index:110}.weapon-card-preview761 .card-art-frame{height:auto;aspect-ratio:3/1;margin-top:8px}.weapon-card-preview761 .card-art-image{object-fit:contain}.weapon-card-preview761>p{white-space:pre-line;font-size:13px;line-height:1.6}.weapon-card-preview761>.weapon-live761{border-top:1px solid #8fa3bc44;padding-top:8px;color:#97d8ff;font-size:12px}.weapon-preview-close761{float:right;border:0;background:transparent;color:#bac9da;padding:4px 0 4px 10px;cursor:pointer}@media(max-width:720px){.weapon-zone>.weapon-slot{gap:2px;padding-bottom:5px}.weapon-slot>strong{font-size:12px}.weapon-slot>small{font-size:9px;padding:0 4px}.weapon-slot>.weapon-action{margin-top:auto;min-height:30px}}.weapon-slot>.feedback-float761,.dual-weapon-slot>.feedback-float761,.feedback-float761,.feedback-impact761,.feedback-vfx77{position:absolute!important;pointer-events:none!important;flex:none!important}.combat-center{grid-template-rows:30px auto;align-content:start;padding-top:60px;min-width:0}.combat-center .feedback-source761{position:absolute!important;inset:8px 12px auto!important;box-sizing:border-box;height:44px!important;min-height:44px!important;max-height:44px!important;overflow:hidden;margin:0!important;grid-area:auto;width:auto!important;contain:layout paint}.feedback-source761>span{min-width:0}.feedback-source761 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feedback-source761 .feedback-source-art761{height:32px;overflow:hidden}.combat-center .battle-view-tabs66{grid-row:1}.combat-center .weapon-zone{grid-row:2}.combat-center .battle-log{grid-row:1/3}.feedback-vfx77{display:block!important;width:102px;height:102px;margin:0!important;inset:50% auto auto 50%;z-index:6;transform:translate(-50%,-50%);isolation:isolate;contain:layout style;animation:vfx-fade77 calc(.52s * var(--fx-time92, 1)) ease-out both}.feedback-vfx77 svg{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:var(--fx77);stroke-width:3;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 0 4px var(--fx77))}.vfx-sparks77{opacity:0;transform-origin:center;animation:vfx-sparks77 calc(.4s * var(--fx-time92, 1)) calc(90ms * var(--fx-time92, 1)) ease-out both}.vfx-body77{transform-origin:center;animation:vfx-pop77 calc(.38s * var(--fx-time92, 1)) ease-out both}.vfx-hammer .vfx-body77,.vfx-pick .vfx-body77{animation:vfx-hammer77 calc(.4s * var(--fx-time92, 1)) ease-out both;fill:#9d714b66;stroke-width:4}.vfx-bolt,.vfx-arrow,.vfx-bullet{width:130px;height:64px}.vfx-bolt .vfx-body77,.vfx-arrow .vfx-body77,.vfx-bullet .vfx-body77{animation:vfx-shot77 calc(.26s * var(--fx-time92, 1)) cubic-bezier(.1,.7,.1,1) both;stroke-width:2.8}.vfx-slash .vfx-body77,.vfx-iaido .vfx-body77,.vfx-pierce .vfx-body77{stroke-dasharray:180;animation:vfx-cut77 calc(.3s * var(--fx-time92, 1)) ease-out both;stroke-width:4}.vfx-claw .vfx-body77{stroke-dasharray:240;animation:vfx-cut77 calc(.36s * var(--fx-time92, 1)) ease-out both;stroke-width:4}.vfx-axe .vfx-body77{animation:vfx-axe77 calc(.36s * var(--fx-time92, 1)) ease-out both;fill:#98493466}.vfx-flame .vfx-body77,.vfx-pillar .vfx-body77{fill:#ff802444;animation:vfx-flame77 calc(.44s * var(--fx-time92, 1)) ease-out both}.vfx-frost .vfx-body77{animation:vfx-frost77 calc(.44s * var(--fx-time92, 1)) ease-out both;stroke-width:2}.vfx-shuriken .vfx-body77,.vfx-gear .vfx-body77,.vfx-boomerang .vfx-body77,.vfx-dice .vfx-body77{animation:vfx-spin77 calc(.42s * var(--fx-time92, 1)) ease-out both}.vfx-tentacle .vfx-body77,.vfx-chain .vfx-body77,.vfx-thread .vfx-body77{stroke-dasharray:300;animation:vfx-cut77 calc(.45s * var(--fx-time92, 1)) ease-out both}.vfx-self .vfx-body77,.vfx-gravity .vfx-body77{animation:vfx-inward77 calc(.4s * var(--fx-time92, 1)) ease-out both}.vfx-mist .vfx-body77,.vfx-wind .vfx-body77,.vfx-afterimage .vfx-body77{animation:vfx-wind77 calc(.43s * var(--fx-time92, 1)) ease-out both}.vfx-rock .vfx-body77,.vfx-stone .vfx-body77{fill:#b5b49b33;animation:vfx-hammer77 calc(.38s * var(--fx-time92, 1)) ease-out both}.vfx-maw .vfx-body77,.vfx-bat .vfx-body77{animation:vfx-bite77 calc(.42s * var(--fx-time92, 1)) ease-out both}.vfx-electric .vfx-body77{animation:vfx-electric77 calc(.36s * var(--fx-time92, 1)) steps(2,end) both}.vfx-note .vfx-body77{fill:#f3dfa533;animation:vfx-note78 calc(.44s * var(--fx-time92, 1)) ease-out both}.vfx-star .vfx-body77{fill:#d6ceff55;animation:vfx-star85 calc(.42s * var(--fx-time92, 1)) ease-out both}.vfx-meat .vfx-body77,.vfx-fish .vfx-body77,.vfx-mushroom .vfx-body77,.vfx-tomato .vfx-body77{animation:vfx-food85 calc(.44s * var(--fx-time92, 1)) ease-out both;stroke-width:3}.vfx-meat svg{stroke:#f6cb98;fill:#a9554266}.vfx-fish svg{stroke:#a9dce8;fill:#579dbb66}.vfx-mushroom svg{stroke:#edcf9a;fill:#ac705b66}.vfx-tomato svg{stroke:#ff9b79;fill:#d44f4266}@keyframes vfx-star85{0%{transform:translate(-30px,-25px) rotate(-70deg) scale(.2);opacity:0}40%{transform:translate(0) rotate(0) scale(1.1);opacity:1}to{transform:scale(.8);opacity:0}}@keyframes vfx-food85{0%{transform:translate(-45px,-30px) rotate(-35deg) scale(.6);opacity:0}45%{transform:translateY(5px) rotate(8deg) scale(1.08,.9);opacity:1}to{transform:translate(10px,12px) rotate(20deg) scale(.85);opacity:0}}@keyframes vfx-note78{0%{transform:translateY(14px) rotate(-12deg) scale(.6);opacity:0}35%{opacity:1;transform:translateY(0) rotate(7deg) scale(1)}to{transform:translateY(-18px) rotate(-5deg);opacity:0}}.feedback-vfx77.phase-remove .vfx-body77{animation:vfx-remove77 calc(.44s * var(--fx-time92, 1)) ease-out both}.feedback-vfx77.phase-tick{width:65px;height:65px;opacity:.75}@keyframes vfx-fade77{0%{opacity:0}12%,65%{opacity:1}to{opacity:0}}@keyframes vfx-pop77{0%{transform:scale(.35)}32%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes vfx-hammer77{0%{transform:translateY(-38px) rotate(-23deg);opacity:0}32%{transform:translateY(9px) rotate(0);opacity:1}45%{transform:translateY(-5px)}65%,to{transform:translateY(0)}}@keyframes vfx-shot77{0%{transform:translate(-85px) scaleX(1.3);opacity:0}24%{opacity:1}60%{transform:translate(4px) scaleX(.9)}to{transform:translate(10px);opacity:0}}@keyframes vfx-cut77{0%{stroke-dashoffset:240;opacity:0}18%{opacity:1}65%,to{stroke-dashoffset:0}}@keyframes vfx-axe77{0%{transform:rotate(-80deg) translateY(-15px);opacity:0}55%{transform:rotate(12deg);opacity:1}to{transform:rotate(0)}}@keyframes vfx-flame77{0%{transform:translateY(18px) scale(.6);opacity:0}45%{transform:translateY(-4px) scale(1.08);opacity:1}to{transform:translateY(-18px) scale(.9)}}@keyframes vfx-frost77{0%{transform:scale(.25) rotate(-30deg)}60%{transform:scale(1.1) rotate(4deg)}to{transform:scale(1) rotate(0)}}@keyframes vfx-spin77{0%{transform:rotate(-160deg) scale(.3)}65%{transform:rotate(12deg) scale(1.1)}to{transform:rotate(0) scale(1)}}@keyframes vfx-inward77{0%{transform:scale(1.45);opacity:0}45%{transform:scale(.85);opacity:1}to{transform:scale(.65)}}@keyframes vfx-wind77{0%{transform:translate(-18px);opacity:0}40%{opacity:1}to{transform:translate(18px);opacity:0}}@keyframes vfx-bite77{0%{transform:scaleY(1.3) scaleX(.7)}45%{transform:scaleY(.7) scaleX(1.1)}to{transform:scale(1)}}@keyframes vfx-electric77{0%,35%,70%{opacity:0}15%,50%,90%{opacity:1}}@keyframes vfx-remove77{to{transform:scale(1.4);opacity:0}}@keyframes vfx-sparks77{0%{opacity:0;transform:scale(.5)}25%{opacity:1}to{opacity:0;transform:scale(1.35)}}@media(max-width:720px){.combat-center{padding-top:47px!important}.combat-center .feedback-source761{inset:5px 7px auto!important;height:36px!important;min-height:36px!important;max-height:36px!important}.feedback-source761 .feedback-source-art761{height:27px}.feedback-vfx77{width:70px;height:70px}.vfx-bolt,.vfx-arrow,.vfx-bullet{width:88px;height:45px}.feedback-vfx77 svg{filter:none}}@media(prefers-reduced-motion:reduce){.feedback-vfx77{display:none!important}}.feedback-disabled761 .feedback-vfx77{display:none!important}.weapon-slot.empty-weapon80{justify-content:center;padding:10px;gap:3px;min-height:70px}.weapon-slot.empty-weapon80>.weapon-art,.weapon-slot.empty-weapon80>#weapon-action,.weapon-slot.empty-weapon80>small{display:none}.deck-option[hidden],.filter-empty80[hidden],.planned80[hidden],.choice-hint80[hidden]{display:none!important}.deck-filters80{display:flex;gap:10px;align-items:end;margin-bottom:8px;flex:none}.deck-filters80 label{display:grid;gap:4px;flex:1;min-width:0;font-size:12px}.deck-filters80 input,.deck-filters80 select,.options-extra80 select{width:100%;min-width:0;border:1px solid #47566a;background:#111c28;color:#edf3fa;border-radius:7px;padding:10px;font:inherit}.picked-decks80{margin:4px 0 10px;font-size:12px;line-height:1.5;color:#e9cd83;flex:none}.picked-flash80{animation:picked80 .6s ease-out}@keyframes picked80{0%{background:#75622f}to{background:transparent}}.setup-heading #setup-back-button{flex:none;white-space:nowrap}.choice-hint80{background:#243d50;border:1px solid #83cce7;border-radius:8px;padding:10px;margin:8px 0;color:#effaff;font-size:13px;line-height:1.5}.choice-hint80 .inline-choice76{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:0;background:none;padding:0;min-width:0}.choice-target80{outline:2px solid #85dce9!important;outline-offset:-2px}.planned80{font-size:12px;color:#c5d5e3;margin:8px 0}.planned80 summary{cursor:pointer;min-height:28px}.planned80 p{margin:4px 0;overflow-wrap:anywhere}.notice80{position:fixed;z-index:150;top:12px;left:50%;transform:translate(-50%);max-width:calc(100vw - 24px);width:max-content;background:#192c3b;color:#f3f8ff;border:1px solid #80b6cc;border-radius:8px;padding:12px 16px;pointer-events:none;box-shadow:0 6px 20px #0007;font-size:14px}.options-extra80{display:grid;gap:10px;margin-top:20px;border-top:1px solid #415363;padding-top:16px}.options-extra80 label{display:flex;justify-content:space-between}.options-extra80 input{width:100%;accent-color:#dec47b;min-height:30px}.options-extra80 p{font-size:12px;color:#b3c6d5;line-height:1.5}.background-shade80{position:fixed;inset:0;z-index:-1;pointer-events:none;background:rgb(0 0 0 / var(--background-dim80,0))}body{isolation:isolate}body.solid-background80{background:#101820!important}.network-locked80 #player-hand,.network-locked80 .weapon-action,.network-locked80 #end-turn-button,.network-locked80 #choice-options{opacity:.65;cursor:wait}.pvp-connection{line-height:1.5;min-height:30px}.pvp-search80{display:grid;grid-template-columns:1fr auto;gap:8px;margin:8px 0}.pvp-search80 input{min-width:0;background:#13202c;color:#edf3fa;border:1px solid #526476;border-radius:6px;padding:10px}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #8ce3f1;outline-offset:3px}button:not(:disabled):active{filter:brightness(.9)}@media(min-width:721px){.combat-center .battle-log{display:flex;flex-direction:column;min-height:0}.combat-center .battle-log .log-heading{flex:none}.combat-center .battle-log #log-list{flex:1 1 0;height:0;min-height:0;max-height:none;overflow-y:auto}}@media(max-width:720px){.topbar .topbar-actions{display:flex;gap:5px}.topbar .brand-lockup{min-width:0}.topbar h1{font-size:17px;white-space:nowrap}.topbar .brand-mark{display:none}#battle-options80,#new-game-button,#end-turn-button,.weapon-action,.battle-view-tabs66 button,#setup-back-button,.random-deck-button,.deck-view-button,.pvp-dialog button,.choice-hint80 button{min-height:44px}#battle-options80{min-width:44px;padding:6px}.topbar #new-game-button{padding:6px 8px;min-height:44px}.turn-pill{padding:7px;font-size:11px;white-space:nowrap}.weapon-slot.empty-weapon80{min-height:62px;padding:8px}.weapon-slot.empty-weapon80 strong{font-size:12px}.deck-filters80{gap:6px}.deck-filters80 label:first-child{flex:1.2}.deck-filters80 input,.deck-filters80 select{padding:7px;font-size:12px;min-height:40px}.deck-filters80 button{font-size:12px;padding:6px;min-height:40px}.picked-decks80{font-size:11px;margin-bottom:5px}.setup-heading h2{font-size:18px}.combat-center{padding-top:5px!important}.combat-center .feedback-source761{inset:5px 7px auto 112px!important}body.battle-active66{--tray66:230px}#player-panel>.hand-heading{height:56px;min-height:56px}.battle-active66 .choice-hint80{position:fixed;bottom:calc(230px + env(safe-area-inset-bottom));left:8px;right:8px;z-index:44;margin:0;max-height:92px;overflow:auto;padding:8px}body.battle-active66.choosing-hand80{--tray66:326px}.choice-hint80 .inline-choice76 span{font-size:11px}.choice-hint80 .inline-choice76{gap:4px}.planned80{margin:5px 0}.planned80 summary{min-height:36px;padding-top:6px}.options-extra80 input{min-height:44px}.pvp-connection{font-size:12px}}@media(max-width:720px)and (max-height:600px){body.battle-active66{--tray66:186px}body.battle-active66.choosing-hand80{--tray66:282px}.battle-active66 .choice-hint80{bottom:calc(186px + env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.picked-flash80{animation:none}}body.workspace91{--dock91:214px;--safe91:env(safe-area-inset-bottom,0px)}body.workspace91.battle-active66{height:100dvh;min-height:0;overflow:hidden}.workspace91 .game-shell{height:100dvh;min-height:0;max-width:1680px;padding:0 12px;display:flex;flex-direction:column}.workspace91 .topbar{flex:none;height:48px;min-height:48px;padding:4px 0;margin:0}.workspace91 .topbar h1{font-size:19px}.workspace91 .topbar .eyebrow{font-size:9px;margin:0}.workspace91 .battle-board{display:grid;grid-template-rows:auto minmax(100px,1fr) auto;gap:8px;flex:1;min-height:0;height:auto;overflow:hidden;margin:8px 0 0;padding:0 0 var(--safe91)}.overview91{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}.workspace91 .overview91>.fighter-panel{display:block!important;min-height:0;padding:10px!important;min-width:0;overflow:visible;border-radius:10px}.workspace91 .player-summary{display:block!important;margin:0}.workspace91 .fighter-identity{width:auto;min-width:0;gap:9px;align-items:center}.workspace91 .fighter-identity h2{font-size:16px;line-height:1.3;margin:0}.workspace91 .side-label{font-size:10px;margin:0}.workspace91 .class-emblem{width:48px;height:48px;min-width:48px;overflow:visible}.workspace91 .class-emblem .portrait-image{border-radius:7px}.workspace91 .passive-details66{display:none}.workspace91 .resource-row{display:grid!important;grid-template-columns:minmax(100px,2fr) repeat(5,minmax(35px,1fr));gap:5px;max-width:none;width:100%;margin-top:7px}.workspace91 .resource-row .resource,.workspace91 .resource-row .resource.hp{grid-column:auto!important;grid-row:auto!important;display:flex;position:relative;justify-content:center;align-items:center;flex-wrap:wrap;min-width:0!important;min-height:36px;padding:4px!important;gap:3px;border-radius:6px}.workspace91 .resource-row .resource.hp{display:block}.workspace91 .resource b{font-size:15px}.workspace91 .resource small{font-size:10px;white-space:nowrap}.workspace91 .resource-icon{display:none}.workspace91 .hp-track{height:5px;margin-top:4px}.workspace91 .energy-orbs{display:none}.workspace91 .status-row{display:flex;flex-wrap:nowrap;overflow:auto;max-width:100%;margin:5px 0 0;min-height:24px;gap:4px;scrollbar-width:thin}.workspace91 .status-chip{flex:none;white-space:nowrap;font-size:11px;line-height:1.2;padding:4px 7px;cursor:pointer}.detail-open91{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;border-top:1px solid #697f9438;color:#c2d7e9;text-align:left;font:inherit;font-size:12px;min-height:30px;padding:5px 0 0;cursor:pointer}.mechanic-mini91{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eed397;font-size:11px}.detail-open91:after{content:"\ff0b";font-size:18px;margin-left:auto}.workspace91 .combat-center{display:grid!important;grid-template-columns:minmax(230px,.9fr) minmax(300px,1.2fr);grid-template-rows:1fr;position:relative;min-height:0;gap:12px;padding:10px!important;overflow:hidden}.workspace91 .battle-view-tabs66{display:none}.workspace91 .weapon-zone{grid-column:1;grid-row:1;min-height:0;align-self:stretch;gap:8px;grid-template-columns:1fr 1fr!important}.workspace91 .versus-mark{display:none}.workspace91 .weapon-slot{min-height:0;justify-content:center;padding:8px;gap:5px;overflow:auto}.workspace91 .weapon-art{width:100%;height:auto;aspect-ratio:3/1;flex:none;min-height:0;max-height:80px}.workspace91 .weapon-art img{object-fit:cover;width:100%;height:100%}.workspace91 .weapon-slot strong{font-size:13px}.workspace91 .weapon-slot small{font-size:11px}.workspace91 .weapon-slot .slot-label{font-size:10px}.workspace91 .weapon-action{min-height:34px;padding:6px;font-size:11px}.workspace91 .combat-center .battle-log{display:flex!important;flex-direction:column;grid-column:2;grid-row:1;min-height:0;overflow:hidden;padding:8px;border-radius:8px}.workspace91 .log-heading{gap:8px;flex-wrap:wrap;align-items:center;font-size:11px;margin-bottom:4px}.workspace91 #log-list{flex:1 1 0;height:0;min-height:0;max-height:none!important;overflow-y:auto;font-size:12px;line-height:1.5;padding-right:5px;scrollbar-width:thin}.workspace91 #log-list li{padding:5px 2px;min-height:0}.workspace91 #log-list li.log-turn-divider{padding:3px;font-size:10px}#expand-log91{padding:4px 8px;font-size:11px;min-height:28px;margin-left:auto}.log-count91{font-size:10px;color:#a3b3c2}.log-home91{display:none}.hand-dock91{display:flex;flex-direction:column;min-width:0;min-height:0;height:var(--dock91);border-radius:10px 10px 0 0;background:#111c28;border:1px solid #415468;overflow:hidden}.workspace91 .hand-dock91>.hand-heading{position:static;flex:none;min-height:42px;height:auto;padding:5px 10px;margin:0;gap:8px;background:transparent;box-shadow:none;border:0;display:flex;flex-wrap:wrap}.workspace91 .hand-dock91 .hand-heading>span{font-size:12px}.workspace91 .hand-heading #end-turn-button{margin-left:auto;min-height:32px;font-size:12px;padding:5px 16px}.workspace91 #player-hand{position:static;display:grid!important;grid-template-columns:repeat(var(--hand-count91,10),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);width:100%;height:auto;flex:1;min-height:0;overflow:auto;gap:6px;margin:0;padding:4px 8px 7px;box-sizing:border-box;background:none;box-shadow:none;touch-action:pan-y}.workspace91 #player-hand>.game-card{display:flex;flex-direction:column;flex:none!important;width:100%!important;min-width:0!important;max-width:none;min-height:0!important;height:100%!important;padding:6px!important;gap:4px;transform:none!important;overflow:hidden;border-radius:7px!important}.workspace91 #player-hand .card-topline{min-height:20px}.workspace91 #player-hand .card-cost{width:24px;height:24px;min-width:24px;font-size:13px}.workspace91 #player-hand .card-type{font-size:10px}.workspace91 #player-hand .card-art-frame{height:44px!important;min-height:30px;flex:none;width:100%;margin:0}.workspace91 #player-hand .card-name{font-size:12px;line-height:1.3;min-height:16px}.workspace91 #player-hand .card-text{font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}.workspace91 #player-hand .card-footer{display:none}.workspace91 #player-hand>.game-card:disabled{pointer-events:auto}.workspace91 #player-hand>.game-card[data-keyword-tooltip]:before{display:none!important}.workspace91 #player-hand .card-name{margin:0}.workspace91 .hand-dock91>.choice-hint80,.workspace91 .hand-dock91>.feedback-counter761,.workspace91 .hand-dock91>.choice-inspect65{position:static;flex:none;margin:0;max-height:80px;overflow:auto;font-size:12px;padding:6px 10px;transform:none;width:auto}.workspace91 .choice-hint80:not([hidden])~#player-hand{min-height:75px}.detail-dialog91,.log-dialog91{width:min(800px,calc(100vw - 24px));max-height:85dvh;padding:16px;background:#14202d;color:#e5edf5;border:1px solid #678095;border-radius:12px;box-sizing:border-box;overflow:auto}.detail-heading91{display:flex;gap:8px;align-items:center;position:sticky;top:0;background:#14202d;z-index:1;padding:0 0 10px}.detail-heading91 h2{font-size:18px;flex:1;margin:0}.detail-heading91 button{min-height:40px}.detail-passive91 p,.detail-passive91 small{white-space:pre-line;line-height:1.7;font-size:14px}.detail-passive91 h3{font-size:14px;color:#edcd89}.detail-status91{border-bottom:1px solid #67809533;padding-bottom:8px}.detail-status91 small{display:block;color:#a9bed1}.detail-content91>*{max-width:100%;margin:10px 0}.detail-content91 button{min-height:40px}.detail-content91 .planned80{display:block}.detail-content91 .planned80[hidden]{display:none}.workspace91 .detail-dialog91,.workspace91 .log-dialog91{margin:auto;height:auto;inset:0;backdrop-filter:none}.workspace91 .detail-dialog91[open]{display:block}.workspace91 .log-dialog91[open]{display:flex;flex-direction:column;height:85dvh;overflow:hidden}.workspace91 .log-dialog91 .battle-log{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:10px}.workspace91 .log-dialog91 #log-list{font-size:14px;line-height:1.65}.card-inspect91{position:fixed;z-index:70;pointer-events:none;padding:10px;background:#14202d;color:#eaf2f8;border:1px solid #bda778;border-radius:10px;box-shadow:0 12px 35px #0009;max-height:60dvh;overflow:auto;box-sizing:border-box}.card-inspect91[hidden]{display:none}.card-inspect91 .game-card{min-height:0!important;width:100%;padding:12px;display:flex;flex-direction:column;opacity:1!important;filter:none!important}.card-inspect91 .card-art-frame{height:90px}.card-inspect91 .card-name{font-size:17px}.card-inspect91 .card-text{font-size:14px;line-height:1.6}.inspect-keyword91{white-space:pre-line;font-size:12px;line-height:1.6}.workspace91 [hidden],.workspace91 .hand-dock91 .choice-inspect65[hidden],.workspace91.counter-phase761 .choice-hint80{display:none!important}.workspace91.counter-phase761 .hand-dock91{height:var(--dock91)}.workspace91 .mobile-card-zoom66{bottom:calc(var(--dock91) + var(--safe91) + 8px);max-height:calc(100dvh - var(--dock91) - 65px);border-radius:10px;background:#14202d}.workspace91 .feedback-source761{display:none!important}.battle-fx91{position:fixed;inset:0;pointer-events:none;z-index:49;overflow:hidden}.attack-trail91{position:absolute;display:block;height:5px;border-radius:50%;background:linear-gradient(90deg,transparent,var(--ink91),white);box-shadow:0 0 15px var(--ink91);transform-origin:0 50%;transform:rotate(var(--angle91));animation:trail91 calc(.4s * var(--fx-time92, 1)) ease-out both}.attack-trail91.hammer,.attack-trail91.axe,.attack-trail91.rock{height:10px}.attack-hit91{position:absolute;width:96px;height:96px;border:3px solid var(--ink91);border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 20px var(--ink91),inset 0 0 20px var(--ink91);animation:hit91 calc(.5s * var(--fx-time92, 1)) ease-out both}.attack-hit91.guard{border-radius:20% 20% 45% 45%;border-color:#96d9ff}.attack-hit91.health:after{content:"";position:absolute;inset:22%;background:var(--ink91);clip-path:polygon(0 44%,100% 30%,40% 58%,90% 80%,0 60%)}@keyframes trail91{0%{opacity:0;clip-path:inset(0 100% 0 0)}30%{opacity:1;clip-path:inset(0 0 0 0)}to{opacity:0}}@keyframes hit91{0%{opacity:1;scale:.45}60%{opacity:.8}to{opacity:0;scale:1.4}}.action-readout91{position:absolute;z-index:5;left:10px;top:7px;max-width:calc(45% - 10px);display:flex;flex-direction:column;gap:5px;pointer-events:none;background:#101b2de8;border:1px solid #b2c8db;border-radius:7px;padding:8px 12px;box-shadow:0 4px 15px #0006;font-size:12px}.action-readout91[hidden]{display:none}.action-readout91 span{font-size:15px;color:#f1d59b}.result-summary91{display:block;margin-bottom:16px}.result-advice-title91{display:block;color:#e7cb8f;text-align:left}.result-advice91{padding-left:20px;margin:10px 0 16px;text-align:left;line-height:1.8;word-break:keep-all}.result-advice91 li+li{margin-top:8px}#result-copy>small{display:block;font-size:11px;text-align:left;color:#9cabb9}.result-card{max-height:85dvh;overflow:auto}#result-copy{white-space:normal}.workspace91 #result-dialog[open]{display:flex;align-items:center;justify-content:center}.manual-guide91{padding:14px;margin:10px 0;border:1px solid #647a8f;border-radius:9px;line-height:1.7}.manual-guide91 h3{font-size:15px;color:#e5c47e;margin:0 0 6px}.manual-guide91 p{margin:6px 0;white-space:pre-line}.manual-guide91 details{font-size:13px}.rule-search91{display:flex;gap:8px;align-items:center;position:sticky;top:0;padding:10px 0;background:#14202d;z-index:2}.rule-search91 input{flex:1;min-width:0;padding:10px;border-radius:7px;background:#0d1721;color:#edf4fc;border:1px solid #627e92;font:inherit}.rule-search91 span{font-size:12px;white-space:nowrap}.rule-basics91{padding:12px;border:1px solid #72899e;border-radius:8px;margin-bottom:10px;line-height:1.7}.rule-basics91 summary{cursor:pointer;color:#ebd092}.rule-basics91 p{font-size:14px;margin:8px 0}.battle-rules91{order:1;font-size:11px;padding:5px 9px;min-height:34px}.workspace91 .hand-heading #end-turn-button{order:2}#rules-catalog article p{white-space:pre-line!important;line-height:1.7}#rules-catalog article details summary{cursor:pointer;line-height:1.6}#rules-catalog article details summary strong{display:block;color:#ebd092;font-size:15px}#rules-catalog article details summary span{display:block;font-size:13px;color:#c6d2df}#rules-catalog article[hidden],.rules-section891[hidden]{display:none!important}@media(max-width:1000px){.workspace91 .resource-row{grid-template-columns:repeat(5,minmax(0,1fr))}.workspace91 .resource-row .resource.hp{grid-column:1/-1!important;min-height:25px}.workspace91 .resource-row .resource{min-height:28px}.workspace91 #player-hand .card-type{display:none}.workspace91 #player-hand .card-text{-webkit-line-clamp:2}}@media(max-width:720px){.card-inspect91{display:none!important}body.workspace91{--dock91:248px}.workspace91 .game-shell{padding:0 5px}.workspace91 .topbar{height:44px;min-height:44px}.workspace91 .topbar h1{font-size:15px}.workspace91 .topbar .turn-pill{font-size:10px;padding:4px}.workspace91 .topbar #new-game-button{min-height:36px;font-size:11px}.workspace91 #battle-options80{min-height:36px;min-width:34px}.workspace91 .battle-board{gap:5px;margin-top:5px}.overview91{gap:5px}.workspace91 .overview91>.fighter-panel{padding:6px!important}.workspace91 .fighter-identity{gap:5px}.workspace91 .fighter-identity h2{font-size:12px}.workspace91 .side-label{font-size:9px}.workspace91 .class-emblem{width:32px;height:36px;min-width:32px}.workspace91 .resource-row{gap:3px;margin-top:4px}.workspace91 .resource-row .resource{gap:1px;min-height:26px;padding:2px!important}.workspace91 .resource b{font-size:12px}.workspace91 .resource small{font-size:9px}.workspace91 .status-row{min-height:22px;margin-top:3px}.workspace91 .status-chip{font-size:10px;padding:3px 5px}.detail-open91{min-height:32px;font-size:11px;gap:2px;display:block;position:relative;padding-right:12px}.detail-open91:after{position:absolute;right:0;top:7px}.mechanic-mini91{display:block;font-size:9px;max-width:100%}.workspace91 .combat-center{grid-template-columns:1fr;grid-template-rows:60px minmax(65px,1fr);gap:5px;padding:5px!important}.workspace91 .weapon-zone{grid-column:1;grid-row:1;gap:5px;display:grid!important}.workspace91 .weapon-slot{padding:3px 5px;gap:1px;display:grid;grid-template-columns:1fr auto;align-content:center}.workspace91 .weapon-art{display:none}.workspace91 .weapon-slot strong{font-size:11px;grid-column:1}.workspace91 .weapon-slot small{font-size:9px;grid-column:1}.workspace91 .weapon-slot .slot-label{font-size:9px}.workspace91 .weapon-slot .weapon-action{min-height:36px;max-width:90px;grid-column:2;grid-row:1/4;font-size:10px}.workspace91 .dual-weapons{grid-column:1/-1;display:flex}.workspace91 .dual-weapons[hidden]{display:none}.workspace91 .dual-weapon-slot{flex:1;padding:2px}.workspace91 .dual-weapon-rules{display:none}.workspace91 .combat-center .battle-log{grid-column:1;grid-row:2;padding:4px 6px}.workspace91 .log-heading{font-size:10px;margin-bottom:2px;gap:4px}.log-count91{display:none}.workspace91 #log-list{font-size:11px;line-height:1.45}.workspace91 #log-list li{padding:3px 1px}#expand-log91{min-height:28px;font-size:10px;padding:3px 7px}.workspace91 .hand-dock91>.hand-heading{min-height:40px;padding:3px 7px;gap:4px}.workspace91 .hand-heading #end-turn-button{min-height:34px;font-size:11px;padding:4px 12px}.workspace91 #player-hand{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;padding:3px 5px 5px;overflow:auto}.workspace91 #player-hand>.game-card{padding:4px!important;gap:2px}.workspace91 #player-hand .card-topline{min-height:16px;justify-content:flex-end}.workspace91 #player-hand .card-cost{width:18px;height:18px;min-width:18px;font-size:11px}.workspace91 #player-hand .card-art-frame{height:29px!important;min-height:20px}.workspace91 #player-hand .card-name{font-size:10px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.workspace91 #player-hand .card-text,.workspace91 #player-hand .card-type{display:none}.workspace91 .hand-dock91>.choice-hint80{max-height:60px;font-size:11px}.workspace91 .hand-dock91>.feedback-counter761{font-size:11px;padding:4px 8px;min-height:30px}.workspace91 .hand-dock91:has(.choice-hint80:not([hidden])){height:calc(var(--dock91) + 45px)}.action-readout91{max-width:calc(100% - 20px);font-size:11px;padding:5px 8px}.action-readout91 span{font-size:13px}.workspace91 .pvp-connection{font-size:10px;min-height:0;line-height:1.3;padding:2px;margin:0}.workspace91 .pvp-clocks{font-size:10px;margin:0}.detail-dialog91,.log-dialog91{padding:10px}.workspace91 .log-dialog91 #log-list{font-size:13px}.workspace91 .tutorial-coach{bottom:calc(var(--dock91) + 8px)}}@media(max-height:680px){body.workspace91{--dock91:174px}.workspace91 .overview91 .resource-row .resource{min-height:22px}.workspace91 .class-emblem{height:30px;width:30px;min-width:30px}.workspace91 #player-hand .card-art-frame{height:22px!important;min-height:16px}.workspace91 #player-hand .card-text{display:none}.workspace91 .status-row{min-height:20px}.workspace91 .battle-board{gap:3px}.workspace91 .overview91>.fighter-panel{padding:4px!important}.workspace91 .mechanic-mini91{display:none}}@media(max-height:490px){.workspace91.battle-active66{overflow:auto}.workspace91 .game-shell{height:auto;min-height:100dvh}.workspace91 .battle-board{min-height:460px}.workspace91 .hand-dock91{position:sticky;bottom:0}}@media(prefers-reduced-motion:reduce){.attack-trail91,.attack-hit91{display:none}}@media(max-width:720px){.workspace91 .detail-open91,.workspace91 .hand-heading #end-turn-button,.workspace91 .weapon-slot .weapon-action{min-height:42px}}@media(max-width:720px){.workspace91 .resource b,.workspace91 .resource small{line-height:1.15}.workspace91 .pvp-clocks span{padding:4px;line-height:1.3}.workspace91 .pvp-clocks b{font-size:13px;margin-left:3px}}@media(max-width:720px)and (max-height:680px){body.workspace91{--dock91:162px}.workspace91 .combat-center{grid-template-rows:52px minmax(65px,1fr)}.workspace91 #player-hand>.game-card{position:relative}.workspace91 #player-hand .card-topline{position:absolute;top:3px;right:3px;z-index:1}.workspace91 #player-hand .card-art-frame{height:14px!important;min-height:14px}.workspace91 #player-hand .card-name{font-size:10px;line-height:1.2}}.chess-lane92{display:grid;grid-template-columns:1fr;align-content:center;gap:6px;min-width:0}.chess-lane92[hidden]{display:none}.chess-lane92.two-boards92{grid-template-columns:1fr 1fr}.chess-lane92 .chess-zone68{grid-column:auto;margin:0;padding:7px;flex:none}.chess-lane92 .chess-zone68:before{content:attr(data-board-label92);display:block;font-size:12px;font-weight:700;color:#ead193;margin-bottom:5px}.chess-lane92 .chess-board68{width:min(225px,100%);margin:6px auto}.chess-lane92 .chess-zone68 p{font-size:10px;line-height:1.5;margin:5px 0}.workspace91.has-chess92 .overview91{grid-template-columns:minmax(0,1fr) minmax(215px,280px) minmax(0,1fr);padding:4px 0;gap:8px}.workspace91.has-chess92 .overview91:has(.two-boards92){grid-template-columns:minmax(0,1fr) minmax(330px,420px) minmax(0,1fr)}@media(max-width:1000px){body.workspace91.has-chess92.battle-active66{height:auto;min-height:100dvh;overflow:auto}.workspace91.has-chess92 .game-shell{height:auto;min-height:100dvh}.workspace91.has-chess92 .battle-board{flex:none;overflow:visible;grid-template-rows:auto auto auto}.workspace91.has-chess92 .overview91,.workspace91.has-chess92 .overview91:has(.two-boards92){grid-template-columns:1fr 1fr}.workspace91.has-chess92 #ai-panel{grid-column:1;grid-row:1}.workspace91.has-chess92 #player-panel{grid-column:2;grid-row:1}.workspace91.has-chess92 .chess-lane92{grid-column:1/-1;grid-row:2}.chess-lane92:not(.two-boards92) .chess-zone68>details{display:flow-root}.chess-lane92:not(.two-boards92) .chess-zone68 .chess-board68{float:left;width:min(180px,54%);margin:6px 8px 3px 0}.chess-lane92:not(.two-boards92) .chess-zone68 p{padding-top:4px}.chess-lane92 .chess-board68{width:min(180px,100%);margin:0 auto}.workspace91.has-chess92 .hand-dock91{position:static}}.workspace91 .hand-dock91:has(#player-hand .scope-placement-bar){height:clamp(280px,44dvh,410px)}.workspace91 #player-hand:has(.scope-placement-bar){display:block!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.workspace91 #player-hand:has(.scope-placement-bar)>.game-card,.workspace91 #player-hand:has(.scope-placement-bar)>.contract-hand84{display:none!important}.workspace91 .scope-placement-bar{height:auto;min-height:min-content;padding:9px;gap:6px}.workspace91 .scope-placement-bar>span{font-size:12px;line-height:1.5}.workspace91 .scope-placement-options{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.workspace91 .scope-placement-button{min-height:88px;padding:7px 9px;font-size:13px;touch-action:pan-y;scroll-margin:10px}.workspace91 .scope-placement-button strong{white-space:normal;line-height:1.3}.workspace91 .scope-placement-button small{font-size:11px;color:#e8ce91}.scope-art92{display:block;width:100%;height:30px;overflow:hidden;pointer-events:none}.workspace91 .scope-art92 .card-art-frame{display:block;height:30px!important;min-height:30px!important;width:100%;margin:0}.workspace91 .scope-art92 img{width:100%;height:100%;object-fit:cover}@media(max-width:720px){.workspace91 .scope-placement-options{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace91 .scope-placement-bar>span{font-size:11px}}.mechanic-actions92{display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;flex:none;min-height:44px;max-width:100%;padding:3px 0;scrollbar-width:thin}.mechanic-actions92[hidden]{display:none}.workspace91 .hand-dock91:has(.mechanic-actions92:not([hidden])){height:calc(var(--dock91) + 44px)}.quick-fixed92{display:flex;align-items:center;gap:5px;flex:none}.mechanic-actions92 button{min-height:38px;white-space:nowrap;font-size:12px;padding:6px 10px;border-radius:7px}@media(max-width:720px){.mechanic-actions92{min-height:40px;gap:4px}.mechanic-actions92 button{font-size:11px;min-height:36px;padding:5px 8px}}.effect-sample92{position:relative;min-height:110px;display:grid;place-items:center;border:1px solid #576c84;border-radius:10px;margin-top:8px;background:#0d1723;font-size:12px;color:#90a5ba;overflow:hidden}.workspace91 .battle-board{grid-template-rows:minmax(0,1fr) auto auto;gap:8px}.workspace91 .overview91{min-height:0;align-items:center;gap:18px;padding:12px 3%}.workspace91 .overview91>.fighter-panel{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:8px;padding:18px!important;max-height:100%;overflow:auto;box-shadow:0 8px 24px #0005}.workspace91 .overview91 .fighter-identity{gap:18px;min-height:96px;flex:none}.workspace91 .overview91 .class-emblem{width:100px;height:112px;min-width:100px;flex:none}.workspace91 .overview91 .fighter-identity h2{font-size:21px;word-break:keep-all}.workspace91 .overview91 .side-label{font-size:12px;margin-bottom:8px;color:#9fb5c9}.workspace91 .resource-row{grid-template-columns:minmax(95px,2fr) repeat(5,minmax(36px,1fr));margin:0;gap:6px}.workspace91 .resource-row .resource.hp{grid-column:1/-1!important;min-height:46px;padding:8px 10px!important}.workspace91 .resource-row{grid-template-columns:repeat(5,minmax(0,1fr))}.workspace91 .resource-row .resource:not(.hp){min-height:38px}.workspace91 .resource-row .resource.hp b{font-size:21px}.workspace91 .hp-track{height:7px}.workspace91 .resource b{font-size:18px}.workspace91 .resource small{font-size:11px}.workspace91 .status-row{margin:0;min-height:28px;flex-wrap:wrap;max-height:65px;overflow:auto}.workspace91 .status-chip{font-size:12px;min-height:26px;display:inline-flex;align-items:center}.workspace91 .overview91 .weapon-slot{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;align-items:center;min-height:62px;flex:none;padding:7px 10px;gap:4px 8px;text-align:left;overflow:hidden;border-radius:8px}.workspace91 .overview91 .weapon-art{display:none}.workspace91 .overview91 .weapon-slot>.slot-label{display:none}.workspace91 .overview91 .weapon-slot>strong{font-size:13px;grid-column:1;grid-row:1}.workspace91 .overview91 .weapon-slot>small{font-size:11px;grid-column:1;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace91 .overview91 .weapon-slot>.weapon-action{grid-column:2;grid-row:1/3;min-height:42px;max-width:145px;padding:6px 10px;font-size:11px}.workspace91 .overview91 .weapon-slot.dual-weapon-holder{display:block}.workspace91 .overview91 .dual-weapons{display:grid;grid-template-columns:1fr 1fr;gap:5px}.workspace91 .overview91 .dual-weapon-slot{padding:4px;min-width:0;display:flex;flex-direction:column;gap:2px}.workspace91 .overview91 .dual-weapon-slot strong{font-size:11px}.workspace91 .overview91 .dual-weapon-slot small{font-size:10px}.workspace91 .overview91 .dual-weapon-art,.workspace91 .overview91 .dual-weapon-rules{display:none}.workspace91 .detail-open91{min-height:42px;font-size:12px;margin-top:0;padding-top:5px}.workspace91 .mechanic-mini91{font-size:11px}.workspace91 .combat-center{display:flex!important;flex-direction:row;align-items:center;gap:10px;padding:5px 10px!important;min-height:46px;overflow:visible}.workspace91 .combat-center>.weapon-zone,.workspace91 .combat-center>.battle-log,.workspace91 .battle-view-tabs66{display:none!important}.recent-action92{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#aebed0}.log-open92{min-height:36px;white-space:nowrap;padding:6px 12px;font-size:12px}.workspace91 .action-readout91{left:50%;top:auto;bottom:54px;transform:translate(-50%);max-width:90%;text-align:center;min-width:180px;background:#101b2df5}.workspace91 .log-dialog91{width:min(1000px,calc(100vw - 24px))}.workspace91 .log-dialog91 #log-list{flex:1;height:0}.workspace91 .log-dialog91 .log-heading{display:none}.workspace91 #player-hand{grid-template-columns:repeat(var(--hand-count91,10),minmax(0,1fr))}.workspace91 .overview91 .class-emblem:has(.portrait-image){border-radius:12px}.workspace91 .overview91 .class-emblem .portrait-image{width:100%;height:100%;object-fit:cover;border-radius:12px}.workspace91 .detail-open91:focus-visible,.log-open92:focus-visible{outline:2px solid #f0d183;outline-offset:2px}@media(min-width:1001px)and (min-height:800px){body.workspace91{--dock91:250px}.workspace91 #player-hand .card-art-frame{height:64px!important}.workspace91 #player-hand .card-text{-webkit-line-clamp:4}.workspace91 .overview91 .class-emblem{width:120px;height:134px;min-width:120px}}@media(max-width:1000px){.workspace91 .overview91{padding:4px 0;gap:8px}.workspace91 .overview91>.fighter-panel{padding:10px!important;gap:6px}.workspace91 .overview91 .class-emblem{width:65px;height:72px;min-width:65px}.workspace91 .overview91 .fighter-identity{min-height:72px;gap:10px}.workspace91 .overview91 .fighter-identity h2{font-size:17px}}@media(max-width:720px){.workspace91 .battle-board{gap:4px}.workspace91 .overview91{align-items:center;gap:5px}.workspace91 .overview91>.fighter-panel{padding:7px!important;gap:5px;border-radius:10px}.workspace91 .overview91 .fighter-identity{flex-direction:column;align-items:flex-start;gap:6px;min-height:0}.workspace91 .overview91 .class-emblem{width:58px;height:64px;min-width:58px;align-self:center}.workspace91 .overview91 .fighter-identity h2{font-size:12px;line-height:1.4;min-height:32px}.workspace91 .overview91 .side-label{font-size:10px;margin:0}.workspace91 .resource-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.workspace91 .resource-row .resource.hp{min-height:33px;padding:4px!important}.workspace91 .resource-row .resource.hp b{font-size:16px}.workspace91 .resource-row .resource:not(.hp){min-height:34px;display:flex;flex-direction:column;gap:2px;padding:2px!important}.workspace91 .resource b{font-size:13px}.workspace91 .resource small{font-size:8px}.workspace91 .hp-track{height:5px;margin-top:3px}.workspace91 .status-row{min-height:22px;max-height:48px}.workspace91 .status-chip{font-size:10px;min-height:22px;padding:3px 5px}.workspace91 .overview91 .weapon-slot{display:flex;flex-direction:column;align-items:stretch;min-height:56px;padding:5px;gap:3px}.workspace91 .overview91 .weapon-slot>strong{font-size:11px}.workspace91 .overview91 .weapon-slot>small{font-size:9px}.workspace91 .overview91 .weapon-slot>.weapon-action{max-width:none;min-height:36px;font-size:10px;padding:3px}.workspace91 .overview91 .weapon-slot.dual-weapon-holder{padding:2px}.workspace91 .overview91 .dual-weapons{gap:2px}.workspace91 .overview91 .dual-weapon-slot .weapon-action{font-size:9px;padding:3px;min-height:36px}.workspace91 .detail-open91{min-height:38px;font-size:10px}.workspace91 .mechanic-mini91{font-size:9px}.workspace91 .combat-center{min-height:39px;padding:3px 6px!important;gap:5px}.recent-action92{font-size:10px}.log-open92{font-size:10px;padding:4px 8px;min-height:34px}.workspace91 #player-hand{grid-template-columns:repeat(5,minmax(0,1fr))}.workspace91 .action-readout91{bottom:44px;font-size:11px}}@media(max-height:740px){.workspace91 .overview91 .fighter-identity{min-height:0}.workspace91 .overview91 .class-emblem{width:60px;height:64px;min-width:60px}.workspace91 .overview91{padding:0}.workspace91 .overview91>.fighter-panel{gap:4px;padding:8px!important}}@media(max-width:720px)and (max-height:740px){.workspace91 .overview91 .fighter-identity{flex-direction:row;align-items:center;gap:5px}.workspace91 .overview91 .class-emblem{width:34px;height:38px;min-width:34px;align-self:auto}.workspace91 .overview91 .fighter-identity h2{font-size:11px;min-height:0}.workspace91 .resource-row .resource:not(.hp){min-height:28px}.workspace91 .resource-row .resource.hp{min-height:30px}.workspace91 .overview91 .weapon-slot{min-height:48px}.workspace91 .mechanic-mini91{display:none}.workspace91 .overview91>.fighter-panel{padding:5px!important;gap:3px}}body.workspace91.has-mechanics92.battle-active66{height:auto;min-height:100dvh;overflow:auto}.workspace91.has-mechanics92 .game-shell{height:auto;min-height:100dvh}.workspace91.has-mechanics92 .battle-board{flex:none;overflow:visible;grid-template-rows:auto auto auto auto}.workspace91.has-mechanics92 .overview91{padding:3px 0;align-items:start}.workspace91.has-mechanics92 .overview91>.fighter-panel{padding:10px!important;gap:5px;overflow:visible;max-height:none}.workspace91.has-mechanics92 .overview91 .fighter-identity{min-height:0;gap:10px}.workspace91.has-mechanics92 .overview91 .class-emblem{width:52px;height:58px;min-width:52px;align-self:auto}.workspace91.has-mechanics92 .overview91 .fighter-identity h2{font-size:17px;min-height:0}.workspace91.has-mechanics92 .hand-dock91{position:static}@media(min-width:1001px){.workspace91.has-mechanics92 .overview91 .fighter-identity{min-height:0}.workspace91.has-mechanics92 .overview91 .class-emblem{width:40px;height:44px;min-width:40px}.workspace91.has-mechanics92 .resource-row{grid-template-columns:minmax(110px,2fr) repeat(5,minmax(38px,1fr));gap:5px;margin-top:5px}.workspace91.has-mechanics92 .resource-row .resource.hp{grid-column:auto!important;min-height:40px}.workspace91.has-mechanics92 .resource-row .resource:not(.hp){min-height:40px}.workspace91.has-mechanics92 .overview91 .weapon-slot{min-height:44px}.workspace91.has-mechanics92 .detail-open91{min-height:28px;font-size:11px}.workspace91.has-mechanics92 .status-row{min-height:24px}}.mechanic-board92{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;min-width:0}.mechanic-board92[hidden]{display:none}.mechanic-board92>[data-mechanic-label92]{flex:1 1 340px;grid-column:auto;min-width:0;width:auto;margin:0;padding:9px;box-sizing:border-box;border:1px solid #596b8255;border-radius:10px;background:#111c28f2;font-size:13px;line-height:1.45}.mechanic-board92>[hidden]{display:none!important}.mechanic-board92>[data-mechanic-label92]:before{content:attr(data-mechanic-label92);display:block;grid-column:1/-1;font-size:11px;font-weight:700;color:#a9c0d9;margin-bottom:5px}.mechanic-board92>#shop76,.mechanic-board92>#chef-board79{flex-basis:100%;order:1;grid-column:1/-1}.mechanic-board92>#shop76:before,.mechanic-board92>#chef-board79:before{display:none}.mechanic-board92 .shop-products76{grid-template-columns:repeat(5,minmax(0,1fr));max-height:none;overflow:visible}.mechanic-board92 .shop-products76 button{padding:8px;gap:4px;min-height:44px;touch-action:pan-y}.mechanic-board92 .shop-products76 button strong{font-size:13px}.mechanic-board92 .shop-products76 button span{font-size:12px}.mechanic-board92 .shop76 details{margin:4px 0}.mechanic-board92 .math-zone62{gap:3px;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);align-items:center}.mechanic-board92 .math-zone62 strong{font-size:19px}.mechanic-board92 .math-zone62 b{grid-column:1/-1}.mechanic-board92 .puppet63 p{margin:5px 0}.mechanic-board92 .puppet63{padding:7px}.mechanic-board92 .public-info84 .supplies84{align-items:start}.mechanic-board92 .supplies84>*{max-width:none}.mechanic-board92 #mansion90 button{min-height:44px;margin:3px;padding:7px 10px}.mechanic-board92 #mansion90 p{margin:5px 0;font-size:11px}.mechanic-board92 .room90{padding:5px;font-size:11px}.workspace91 .overview91 .paladin88{margin:0;font-size:12px;padding:8px}@media(max-width:720px){.workspace91.has-mechanics92 .overview91>.fighter-panel{padding:6px!important;gap:4px}.workspace91.has-mechanics92 .overview91 .fighter-identity{flex-direction:row;gap:5px;align-items:center}.workspace91.has-mechanics92 .overview91 .class-emblem{width:34px;height:38px;min-width:34px}.workspace91.has-mechanics92 .overview91 .fighter-identity h2{font-size:11px}.mechanic-board92{gap:5px}.mechanic-board92>[data-mechanic-label92]{padding:7px;font-size:12px}.mechanic-board92 .shop-products76{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.mechanic-board92 .shop-products76 button{padding:6px;gap:3px}.mechanic-board92 .shop-products76 button strong{font-size:12px}.mechanic-board92 .shop-products76 button span{font-size:11px}.mechanic-board92 .shop-products76 button small{font-size:10px}.mechanic-board92 .shop76 header{font-size:11px}.mechanic-board92 .math-zone62 strong{font-size:17px}}.workspace91 .academy92,.workspace91 .lesson-intro92,.workspace91 .lesson-quiz92{margin:auto;inset:0;width:min(950px,calc(100vw - 24px));height:auto;max-height:90dvh;padding:22px;box-sizing:border-box;overflow:auto;border:1px solid #668399;border-radius:14px;background:#122130;color:#e5edf5;backdrop-filter:none}.academy92::backdrop,.lesson-intro92::backdrop,.lesson-quiz92::backdrop{background:#060c16d9}.academy92 .detail-heading91{background:#122130}.academy-intro92,.lesson-intro92 p,.lesson-quiz92 p{line-height:1.8;font-size:14px;white-space:pre-line;word-break:keep-all}.academy92 input{width:100%;padding:12px;border:1px solid #567187;border-radius:8px;background:#0a1622;color:#fff;font:inherit;margin-bottom:15px;box-sizing:border-box}.academy-list92{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.lesson-entry92{display:flex;flex-direction:column;gap:9px;text-align:left;padding:16px;min-height:112px;background:#1b2c3e;color:#e5edf5;border:1px solid #445e73;border-radius:9px;cursor:pointer;word-break:keep-all}.lesson-entry92 strong{font-size:15px}.lesson-entry92 span{font-size:13px;color:#edcc85}.lesson-entry92 small{font-size:11px;color:#a9bdcf}.lesson-entry92:hover{background:#29415a}.lesson-entry92:focus-visible{outline:2px solid #f0ce81}.lesson-entry92[data-lesson92=hero],.lesson-entry92[data-lesson92=knight]{border-color:#c2a363}.workspace91 .lesson-intro92,.workspace91 .lesson-quiz92{width:min(650px,calc(100vw - 24px))}.lesson-intro92 h2,.lesson-quiz92 h2{font-size:21px;margin:0 0 15px;line-height:1.5}.lesson-intro92 ul{line-height:1.9}.lesson-note92{padding:12px;background:#0b1724;border-radius:8px;color:#a5bbcd}.lesson-intro92>button,.lesson-quiz92>button{min-height:44px;margin:6px 8px 0 0}.coach92{flex:none;margin:5px 0 0;padding:8px 12px;border:1px solid #a78f5f;border-radius:10px;background:#182b3cef;color:#e8f0f7;max-height:25dvh;overflow:auto}.coach-heading92{display:flex;gap:5px;align-items:center}.coach-heading92 strong{flex:1;color:#f0d38a;font-size:13px}.coach-heading92 button{min-height:32px;font-size:11px;padding:4px 9px}.lesson-next92{font-size:12px;line-height:1.5;margin:5px 0 0;color:#d3e1ed}.coach-heading92>.primary-button:disabled{display:none}.coach-body92{display:grid;grid-template-columns:1fr auto;gap:6px 10px}.coach-body92 p{grid-column:1/-1;margin:4px 0;font-size:12px;line-height:1.65;white-space:pre-line}.coach-body92>button{font-size:12px;min-height:34px;padding:5px 12px;align-self:center}.lesson-goals92{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.lesson-goals92 span{font-size:11px;color:#c4ccd6;padding:3px 6px;background:#0a1724;border-radius:5px}.lesson-goals92 .done92{color:#91e6b3}.lesson-answers92{display:grid;gap:10px}.lesson-answers92 button{min-height:50px;text-align:left;line-height:1.6;white-space:normal;padding:12px}.workspace91 #player-hand>.lesson-target92:not(:disabled){border-color:#f2cd72;box-shadow:inset 0 0 0 1px #f2cd72,0 0 9px #e9c35750}.workspace91 .tutorial-coach{position:static;flex:none;width:auto;max-width:none;transform:none;inset:auto;padding:10px 14px;margin:5px 0;border-radius:10px;z-index:auto}.workspace91.in-lesson92 .overview91{padding:0}.workspace91.in-lesson92 .overview91>.fighter-panel{padding:8px!important;gap:4px}.workspace91.in-lesson92 .overview91 .class-emblem{width:52px;height:58px;min-width:52px}.workspace91.in-lesson92 .overview91 .fighter-identity{min-height:0}@media(max-width:720px){.academy-list92{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.lesson-entry92{padding:10px;min-height:112px}.lesson-entry92 strong{font-size:13px}.lesson-entry92 span{font-size:11px}.workspace91 .academy92,.workspace91 .lesson-intro92,.workspace91 .lesson-quiz92{padding:14px}.academy-intro92{font-size:12px}.coach92{padding:5px 8px;max-height:23dvh}.coach-heading92 strong{font-size:11px}.coach-heading92 button{min-height:32px;padding:4px 6px}.coach-body92 p{font-size:11px;line-height:1.5}.lesson-goals92 span{font-size:10px}.coach-body92{gap:4px}.coach-body92>button{font-size:11px;padding:4px 8px}.workspace91.in-lesson92 .overview91 .fighter-identity{flex-direction:row;gap:5px}.workspace91.in-lesson92 .overview91 .class-emblem{width:30px;height:36px;min-width:30px;align-self:auto}.workspace91.in-lesson92 .overview91>.fighter-panel{padding:4px!important;gap:2px}.workspace91.in-lesson92 .overview91 .fighter-identity h2{min-height:0;font-size:11px}.workspace91.in-lesson92 .resource-row .resource:not(.hp){min-height:25px}.workspace91.in-lesson92 .overview91 .weapon-slot{min-height:45px}.workspace91.in-lesson92 .detail-open91{min-height:33px}.workspace91.in-lesson92 .status-row{min-height:20px;max-height:25px}.workspace91 .tutorial-coach{padding:6px 8px}.workspace91 .tutorial-coach p{font-size:11px}}@media(max-height:690px){.workspace91.in-lesson92 .battle-board{grid-template-rows:minmax(0,1fr) auto auto}.coach92{max-height:130px}.workspace91.in-lesson92 .overview91>.fighter-panel{max-height:100%;overflow:auto}}.workspace91 .coach-heading92{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.workspace91 .coach-heading92>strong{flex:1 1 16rem;min-width:0;white-space:normal;word-break:keep-all;overflow-wrap:break-word;line-height:1.5}.workspace91 .coach-heading92>button{flex:0 0 auto;width:auto!important;min-width:0;white-space:nowrap;margin-top:0;margin-bottom:0}@media(max-width:600px){.workspace91 .coach-heading92>strong{flex-basis:100%}.workspace91 .coach-heading92>.primary-button{margin-left:auto}}@media(min-height:541px){body.workspace91.battle-active66,body.workspace91.has-mechanics92.battle-active66,body.workspace91.has-chess92.battle-active66{height:100dvh;min-height:0;overflow:hidden}.workspace91 .game-shell,.workspace91.has-mechanics92 .game-shell,.workspace91.has-chess92 .game-shell{height:100dvh;min-height:0}.workspace91 .battle-board,.workspace91.has-mechanics92 .battle-board,.workspace91.has-chess92 .battle-board{display:flex!important;flex-direction:column;flex:1;min-height:0;overflow:hidden}.workspace91 .overview91{display:grid;flex:none}.workspace91 .mechanic-board92{flex:1;min-height:70px;overflow:auto;overscroll-behavior:contain;align-content:start}.workspace91 .hand-dock91{flex:none;height:210px!important;position:relative!important;min-height:0}.workspace91 .hand-dock91:has(.mechanic-actions92:not([hidden])){height:250px!important}.workspace91 .overview91>.fighter-panel{padding:7px!important;gap:3px!important}.workspace91 .overview91 .fighter-identity{min-height:0!important;gap:8px!important;flex-direction:row!important}.workspace91 .overview91 .class-emblem{width:42px!important;height:46px!important;min-width:42px!important;align-self:auto!important}.workspace91 .overview91 .fighter-identity h2{font-size:15px!important;min-height:0}.workspace91 .overview91 .side-label{margin:0}.workspace91 .overview91 .weapon-slot{min-height:30px!important;padding:4px 6px!important}.workspace91 .detail-open91{min-height:28px!important;padding:3px 0}.workspace91 .overview91 .resource-row .resource{min-height:33px!important}.workspace91 .status-row{min-height:22px;max-height:44px}.workspace91 .combat-center{flex:none;min-height:35px}}.workspace91 .overview91,.workspace91.has-chess92 .overview91,.workspace91.has-chess92 .overview91:has(.two-boards92){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start;padding:4px 0;gap:10px}.workspace91 .overview91>#player-panel{grid-column:1!important;grid-row:1!important}.workspace91 .overview91>#ai-panel{grid-column:2!important;grid-row:1!important}.mechanic-board92{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.mechanic-side93{display:flex;flex-direction:column;gap:7px;min-width:0}.mechanic-side93[data-side=player]{grid-column:1;grid-row:1}.mechanic-side93[data-side=ai]{grid-column:2;grid-row:1}.mechanic-side93[hidden]{display:none}.mechanic-side93>*{box-sizing:border-box;min-width:0;width:100%;margin:0!important;padding:8px;border:1px solid #4c627655;border-radius:9px;background:#111d29f5}.mechanic-side93>[data-mechanic-label92]:before{content:attr(data-mechanic-label92);display:block;font-size:11px;color:#cfb77f;margin-bottom:5px}.mechanic-side93 #shop76{width:100%;min-width:0}.mechanic-side93 .shop-products76{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible}.mechanic-side93 .chef-board79{display:block}.mechanic-side93 .paladin88{display:flex;flex-direction:column}@media(max-width:720px){.mechanic-side93 .shop-products76{grid-template-columns:1fr}}.mechanic-side93 .chess-board68{width:min(220px,100%);margin:5px auto}.workspace91.has-mechanics92 .overview91>.fighter-panel{padding:7px!important;position:relative}.workspace91.has-mechanics92 .overview91 .detail-open91{position:absolute;right:7px;top:7px;width:28px;height:28px;min-height:28px!important;font-size:0!important;border:0;padding:0;overflow:hidden}.workspace91.has-mechanics92 .overview91 .detail-open91:after{content:"\24d8";font-size:18px}.workspace91.has-mechanics92 .overview91 .detail-open91>*{display:none}.workspace91.has-mechanics92 .overview91 .fighter-identity{padding-right:30px}@media(min-width:721px){.workspace91.has-mechanics92 .overview91 .resource-row .resource{padding:4px!important;min-height:36px!important}.workspace91.has-mechanics92 .overview91 .resource-row .resource.hp{padding:4px 7px!important}.mechanic-side93 .chess-zone68>details{display:flow-root}.mechanic-side93 .chess-board68{float:left;width:175px;margin:4px 12px 0 0}.mechanic-side93 .chess-zone68 p{line-height:1.7}}.mechanic-side93 .chess-zone68 p{font-size:11px;line-height:1.5}.mechanic-side93 .chess-zone68:before{content:attr(data-board-label92);color:#dec488;font-size:11px}.workspace91 #player-hand:not(:has(.scope-placement-bar)){display:flex!important;gap:7px;overflow-x:auto;overflow-y:hidden;align-items:stretch;justify-content:flex-start;scrollbar-width:thin}.workspace91 #player-hand>.game-card,.workspace91 #player-hand>.contract-hand84{flex:0 0 clamp(150px,16vw,218px);width:clamp(150px,16vw,218px);max-width:218px;min-width:0;height:100%;box-sizing:border-box}.workspace91 #player-hand>.contract-hand84>.game-card{width:100%;min-width:0}.energy93{display:inline-flex;align-items:center;gap:6px;margin-left:9px;color:#f7d882;font-size:15px;white-space:nowrap}.energy93 .pips93{letter-spacing:2px;font-size:12px}.energy93 b{font-size:19px}.energy93.changed93{animation:energy-pop93 .35s ease-out}@keyframes energy-pop93{50%{transform:scale(1.12);color:#fff3c2}}.game-card.bomb{background:linear-gradient(155deg,#242830,#080c12)!important;border-color:#687280!important;color:#eef2f7}.game-card.bomb .card-cost{display:grid!important;visibility:visible!important;opacity:1!important;background:#e3c782;color:#161718;flex:none}.workspace91 .overview91 .weapon-slot:has(>strong:only-of-type):not(:has(.weapon-action:not([disabled]))){min-height:38px}#options-dialog{height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y}#options-dialog[open]{display:block}#options-dialog>.dialog-card{margin:0 auto}html:has(#options-dialog[open]),body:has(#options-dialog[open]){overflow:hidden!important}#options-dialog>.dialog-card{height:auto!important;max-height:none!important;overflow:visible!important;min-height:0;touch-action:pan-y}@media(max-width:720px){.workspace91 #player-hand>.game-card,.workspace91 #player-hand>.contract-hand84{flex:0 0 146px!important;width:146px!important;max-width:146px!important}.energy93{font-size:12px;gap:4px;margin-left:5px}.energy93 b{font-size:16px}.energy93 .pips93{display:none}.mechanic-board92{gap:5px}.mechanic-side93>*{padding:5px}.mechanic-side93 .chess-board68{width:100%}.mechanic-side93 .astro-row82{gap:2px}.mechanic-side93 .chess-zone68 p{font-size:9px}}@media(orientation:landscape)and (max-height:540px){#setup-dialog{max-height:calc(100dvh - 12px);overflow:auto}#setup-dialog .setup-card{height:auto!important;min-height:calc(100dvh - 30px);padding:10px!important;gap:6px!important}#setup-dialog .setup-heading h2{font-size:18px;margin:0}#setup-dialog .eyebrow,#setup-dialog .dialog-intro,#setup-dialog .desktop-rule-note,#setup-dialog .mobile-rule-details,#setup-dialog .ad-slot{display:none!important}#setup-dialog .setup-deck-grid{flex:1 0 auto!important;min-height:185px;gap:10px}#setup-dialog .deck-options{height:175px!important;min-height:175px!important;overflow:auto!important}#setup-dialog #start-button{min-height:36px;padding:6px;position:sticky;bottom:0}#setup-dialog .deck-filters80{gap:5px;padding:0;margin:0}#setup-dialog .deck-filters80 label{font-size:0;gap:0}#setup-dialog .deck-filters80 input,#setup-dialog .deck-filters80 select,#setup-dialog .deck-filters80 button{font-size:12px;min-height:29px;height:29px;padding:3px 6px}#setup-dialog .picked-decks80{margin:0;font-size:10px}#setup-dialog fieldset{padding:0;margin:0}#setup-dialog .setup-heading{margin:0;min-height:30px}#setup-dialog .setup-heading button{min-height:28px;padding:3px 7px;font-size:11px}#setup-dialog .random-deck-button{min-height:24px;font-size:10px;margin:0}#setup-dialog .deck-options{margin-top:3px}body.workspace91.battle-active66{height:auto;overflow:auto}.workspace91 .game-shell{height:auto;min-height:100dvh}.workspace91 .battle-board{overflow:visible;flex:none}.workspace91 .overview91 .fighter-identity{flex-direction:row;gap:6px}.workspace91 .overview91 .class-emblem{width:40px;height:44px;min-width:40px}.workspace91 .overview91 .fighter-identity h2{font-size:12px}.workspace91 .hand-dock91{position:static;height:200px}.workspace91 #player-hand .card-art-frame{height:45px!important}.workspace91 .status-row{max-height:40px}}@media(prefers-reduced-motion:reduce){.energy93.changed93{animation:none}}@media(min-width:1001px)and (hover:hover){.workspace91 #player-hand:not(:has(.scope-placement-bar)){gap:0!important;overflow:visible!important;flex-wrap:nowrap!important}.workspace91 #player-hand:not(:has(.scope-placement-bar))>.game-card,.workspace91 #player-hand:not(:has(.scope-placement-bar))>.contract-hand84{flex:0 0 var(--card-width93,180px)!important;width:var(--card-width93,180px)!important;max-width:218px!important;position:relative;z-index:var(--card-order93,1);transition:transform .12s ease,box-shadow .12s ease}.workspace91 #player-hand>.game-card~.game-card,.workspace91 #player-hand>.contract-hand84~.game-card,.workspace91 #player-hand>.game-card~.contract-hand84,.workspace91 #player-hand>.contract-hand84~.contract-hand84{margin-left:var(--card-overlap93,0px)!important}.workspace91 #player-hand>.game-card:hover,.workspace91 #player-hand>.game-card:focus-visible,.workspace91 #player-hand>.contract-hand84:hover,.workspace91 #player-hand>.contract-hand84:focus-within{z-index:100!important;transform:translateY(-10px) scale(1.04)!important;box-shadow:0 0 0 2px #e4c779,0 8px 24px #0009}.workspace91 #player-hand>:first-child{transform-origin:left bottom}.workspace91 #player-hand>:last-child{transform-origin:right bottom}.workspace91 .hand-dock91{overflow:visible!important}}.strike93{position:fixed;z-index:75;pointer-events:none;display:block;font-size:44px;font-weight:900;text-shadow:0 0 14px currentColor;line-height:1;transform:translate(-50%,-50%);animation:strike-travel93 .26s cubic-bezier(.48,.02,.8,.65) both}@keyframes strike-travel93{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}to{opacity:.8;transform:translate(calc(-50% + var(--dx93)),calc(-50% + var(--dy93))) scale(1.3)}}@media(prefers-reduced-motion:reduce){.strike93{display:none}}@media(max-width:720px),(any-pointer:coarse){.workspace91 #player-hand:not(:has(.scope-placement-bar)){display:flex!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x pan-y!important;overscroll-behavior-x:contain;scrollbar-width:thin;min-width:0;max-width:100%}.workspace91 #player-hand .game-card,.workspace91 #player-hand .game-card *{touch-action:pan-x pan-y!important}.workspace91 #player-hand:not(:has(.scope-placement-bar))>:is(.game-card,.contract-card-wrap84){flex:0 0 146px!important;width:146px!important;min-width:146px!important;max-width:146px!important;margin-inline:0!important;transform:none!important}.mobile-card-zoom66:not([hidden]){display:block;position:fixed;z-index:55;left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(320px,88vw);max-height:78dvh;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:10px;background:#14212c;border:1px solid #d5b879;border-radius:9px;box-shadow:0 10px 40px #000b}.mobile-card-zoom66 .game-card{width:100%;max-width:none;min-height:0;padding:13px;display:flex;flex-direction:column;gap:8px;transform:none!important;text-align:left}.mobile-card-zoom66 .card-text{font-size:14px;line-height:1.5;display:block;-webkit-line-clamp:unset}.mobile-card-zoom66 .card-art-frame{height:80px;min-height:80px}.zoom-heading66{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.mobile-card-zoom66 details{margin-top:16px}}.mechanic-side93>[data-mechanic-label92]:before{grid-column:1/-1}.mechanic-side93 .puppet-grid63{align-items:start}#deck-detail-list>.manual-guide91,#deck-detail-list>.element-formula-guide{grid-column:1/-1;min-width:0}#deck-detail-list>.element-formula-guide h3{margin:10px 0 6px}#deck-detail-list>.element-formula-guide p{line-height:1.65;margin:6px 0 12px}#setup-dialog{box-sizing:border-box;inset:0;margin:auto;width:calc(100vw - 24px)!important;max-width:1760px!important;height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;padding:0!important}html:has(#setup-dialog[open]),body:has(#setup-dialog[open]){overflow:hidden!important}#setup-dialog .setup-card{box-sizing:border-box;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;padding:12px!important;gap:6px!important;overflow:hidden!important}#setup-dialog .setup-heading{flex:none!important;align-items:center!important;gap:8px!important;margin:0!important}#setup-dialog .setup-heading .eyebrow,#setup-dialog .setup-card>.dialog-intro,#setup-dialog .desktop-rule-note{display:none!important}#setup-dialog .setup-heading h2{font-size:22px!important;line-height:1.15!important;margin:0!important}#setup-dialog #setup-back-button{padding:6px 12px!important;min-height:32px!important}#setup-dialog .deck-filters80{margin:0!important;gap:8px!important;align-items:center!important;flex:none!important}#setup-dialog .deck-filters80 label{display:flex!important;align-items:center;gap:6px;font-size:12px;white-space:nowrap}#setup-dialog .deck-filters80 input,#setup-dialog .deck-filters80 select,#setup-dialog #deck-clear80{height:32px!important;min-height:32px!important;padding:4px 8px!important;margin:0!important}#setup-dialog .picked-decks80,#setup-dialog .story-mode-status{margin:0!important;line-height:1.3!important;font-size:12px!important;flex:none}#setup-dialog .setup-deck-grid{flex:1!important;min-height:0!important;margin:0!important;gap:12px!important;overflow:hidden!important}#setup-dialog .setup-deck-grid fieldset{min-height:0!important;margin:0!important;padding:24px 0 0!important;overflow:hidden!important;border:0}#setup-dialog .setup-deck-grid legend{position:absolute;top:0;left:0;font-size:13px!important;line-height:22px!important;padding:0!important;margin:0!important}#setup-dialog .random-deck-button{position:absolute;right:4px;top:0;margin:0!important;padding:2px 8px!important;min-height:22px!important;font-size:11px!important;line-height:16px}#setup-dialog .deck-options{height:100%!important;max-height:none!important;min-height:0!important;flex:1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:clamp(140px,calc((100% - 20px)/3),210px)!important;gap:6px!important;align-content:start!important;padding:2px 6px 6px 2px!important;scrollbar-gutter:stable;overflow-y:auto!important}#setup-dialog .deck-option{min-height:0!important;height:100%!important;gap:3px!important}#setup-dialog .deck-option[hidden]{display:none!important}#setup-dialog .deck-option label{min-height:0!important;height:0!important;flex:1!important;padding:0!important;overflow:hidden!important;position:relative}#setup-dialog .deck-option .deck-portrait{height:46%!important;min-height:26px!important;flex:none!important}#setup-dialog .deck-portrait-image{height:100%!important}#setup-dialog .deck-option-copy{padding:3px 5px!important}#setup-dialog .deck-name-row{display:flex!important;flex-wrap:wrap;gap:2px!important}#setup-dialog .deck-option strong{font-size:12px!important;line-height:1.15!important}#setup-dialog .deck-option-copy>span:last-child:not(.deck-name-row){display:none!important}#setup-dialog .deck-difficulty{font-size:10px!important;line-height:1.1!important;padding:1px 4px!important}#setup-dialog .deck-option-badges{margin:0!important}#setup-dialog .deck-view-button{min-height:22px!important;height:22px!important;flex:none!important;padding:1px 4px!important;font-size:11px!important;margin:0!important}#setup-dialog .deck-lock-footer{position:absolute;right:3px;top:3px;font-size:10px;padding:1px 3px}#setup-dialog #start-button{min-height:34px!important;padding:6px!important;margin:0!important;flex:none}#setup-dialog .mobile-rule-details{display:block!important;margin:0!important;font-size:11px!important;flex:none}#setup-dialog .mobile-rule-details[open]{max-height:80px;overflow:auto}#setup-dialog .mobile-rule-details p{margin:4px 0}.story-code105{display:flex;flex:none;gap:6px;align-items:center;font-size:12px;flex-wrap:wrap}.story-code105 input{min-width:130px;max-width:220px;padding:6px;background:#0e1c28;color:#fff;border:1px solid #60788c;border-radius:6px}.story-code105 button{padding:5px 8px;min-height:30px;font-size:12px}.story-code105[hidden]{display:none!important}#encounter-status105{color:#efcf85}.launch-modal105{box-sizing:border-box;max-width:650px!important;width:calc(100% - 24px)!important;max-height:90dvh!important;padding:24px!important;overflow:auto!important;color:#ecf1f7;background:#11202d}.launch-modal105 h2{margin:0 0 12px}.launch-modal105 p{font-size:14px;line-height:1.7}.launch-modal105 label{display:block;margin:12px 0}.launch-modal105 textarea{display:block;width:100%;box-sizing:border-box;padding:10px;background:#091521;color:#fff;border:1px solid #61758a;border-radius:6px;font:inherit}.launch-actions105{display:flex;gap:8px;flex-wrap:wrap}.journey-primary105,.journey-step105{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;padding:14px;border:1px solid #bd9a51;border-radius:10px;background:#243a4b;color:#fff;margin:8px 0;cursor:pointer}.journey-primary105 strong{font-size:22px}.journey-primary105 span,.journey-step105 span{font-size:13px;color:#cad8e3}#journey-steps105{margin-bottom:16px}@media(max-width:999px){#setup-dialog{width:calc(100vw - 8px)!important;height:calc(100dvh - 8px)!important;max-height:calc(100dvh - 8px)!important}#setup-dialog .setup-card{padding:8px!important}#setup-dialog .setup-deck-grid{gap:6px!important}#setup-dialog .deck-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:145px!important}#setup-dialog .deck-filters80{grid-template-columns:1fr 1fr auto!important}#setup-dialog .deck-filters80 label{display:block!important;white-space:normal}#setup-dialog .deck-option strong{font-size:11px!important}.story-code105 label{display:none}}@media(max-width:540px){#setup-dialog .deck-options{grid-template-columns:1fr!important;grid-auto-rows:135px!important}#setup-dialog .setup-heading h2{font-size:18px!important}#setup-dialog .deck-filters80 label{font-size:10px}#setup-dialog .deck-filters80 select{max-width:125px}#setup-dialog .story-mode-status{font-size:10px!important}.story-code105 input{max-width:160px}#setup-dialog #encounter-status105{width:100%;font-size:11px}}@media(min-width:1000px)and (min-height:800px){#setup-dialog .deck-option-copy>span:last-child:not(.deck-name-row){display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.3;margin-top:4px}}.warlock106{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.warlock106 button{font-size:12px;line-height:1.5;padding:7px 10px;max-width:360px;border:1px solid #9470bd;background:#231d33;color:#eee}.warlock106[hidden]{display:none}#player-hand .awaken106{position:absolute;top:7px;left:7px;font:700 10px/1.4 system-ui;color:#fae2ff;background:#47295d;border:1px solid #bc8acf;border-radius:4px;padding:2px 5px;z-index:3;white-space:nowrap}#player-hand .card-name:has(.awaken106){overflow:visible}.gem107{display:inline-block;color:#a9e8ea;font-size:10px;line-height:1.3}.card-name .gem107{white-space:normal}.workspace91 .hand-dock91>.hand-heading{flex-wrap:nowrap!important;min-width:0;overflow:hidden}.workspace91 .hand-heading .quick-fixed92{order:2;margin-left:auto;min-width:0;flex:0 1 auto;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:thin}.workspace91 .hand-heading .quick-fixed92 button{flex:0 0 auto;min-height:32px;white-space:nowrap;font-size:11px;padding:5px 9px;margin:0;max-width:none}.workspace91 .hand-heading #end-turn-button{order:3;margin-left:4px;flex:0 0 auto;white-space:nowrap}.workspace91 .hand-heading>.battle-rules91{order:1;flex:none}.workspace91 #player-hand>.contract-hand84{display:grid!important;grid-template-rows:minmax(0,1fr) 25px;gap:4px;min-height:0!important;height:100%!important;overflow:hidden}.workspace91 #player-hand>.contract-hand84>.game-card{display:flex;flex-direction:column;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:100%!important;padding:6px!important;gap:4px;overflow:hidden;box-sizing:border-box;transform:none!important}.workspace91 #player-hand>.contract-hand84>.reward-button84{width:100%;min-width:0;min-height:0!important;height:25px!important;margin:0;padding:3px 5px;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.range-ruler108{position:relative;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));width:100%;min-height:74px;margin:4px 0;padding:8px 0;background:#e9eef3;color:#18212a;border-radius:5px}.range-ruler108>span{position:relative;min-width:0;text-align:center;font-size:11px;padding:24px 0 14px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(20% - 1px),#7a8897 calc(20% - 1px),#7a8897 20%) center 22px/100% 8px no-repeat}.range-ruler108>span:before{content:"";position:absolute;left:50%;top:17px;height:18px;border-left:1px solid #334558}.range-ruler108 b{position:relative;display:block;margin-top:10px}.range-ruler108 i,.range-ruler108 em{position:absolute;left:50%;transform:translate(-50%);font-style:normal;font-weight:800;white-space:nowrap;font-size:10px;line-height:12px}.range-ruler108 i{top:0;color:#086bc5}.range-ruler108 em{bottom:0;color:#c92936}.range-ruler108 .aim108:before{border-color:#0879dc;border-width:3px}.range-ruler108 .target108 b{color:#c92936}.range-ruler108 .target108:after{content:"";position:absolute;left:50%;top:19px;height:15px;border-right:2px solid #e53646}#choice-options.one-row108{display:flex!important;flex-direction:row;flex-wrap:nowrap;gap:8px;overflow-x:auto;align-items:stretch}#choice-options.one-row108>button{flex:1 0 120px;min-width:120px;max-width:none;white-space:normal}@media(max-width:720px){#choice-options.one-row108>button{flex:1 0 110px;min-width:110px}.workspace91 .hand-heading .quick-fixed92 button{font-size:10px;padding:5px 7px}.workspace91 .hand-heading #end-turn-button{padding:5px 9px}}.workspace91 .hand-heading .quick-fixed92 button,.workspace91 .hand-heading #end-turn-button{height:40px;min-height:40px;font-size:12px;line-height:1.2;padding:5px 16px;border:1px solid #e0eafa;border-radius:8px;background:#d1deeb;color:#142031;box-shadow:0 3px 12px #0003;font-weight:700}.workspace91 .hand-heading .quick-fixed92 button:hover,.workspace91 .hand-heading #end-turn-button:hover{background:#e8f1fa}.cast-octopus{width:104px;height:104px;margin:-52px;animation-name:anchor-flight94}.cast-octopus svg,.vfx-octopus svg{fill:#287d8399;stroke-width:2.5}.cast-octopus svg{animation:tentacle-curl108 calc(.38s * var(--fx-time92,1)) ease-out both;transform-origin:25% 85%}.cast-darkspell{width:86px;height:86px;margin:-43px;filter:drop-shadow(0 0 9px #6d28bc)}.cast-darkspell svg,.vfx-darkspell svg{fill:#261039;stroke-width:2.5}.cast-darkspell:before{content:"";position:absolute;inset:25% 15%;border-radius:50%;background:linear-gradient(90deg,transparent,#8542bba0);transform:translate(-30%);filter:blur(6px)}.cast-darkspell svg{animation:dark-pulse108 calc(.38s * var(--fx-time92,1)) ease-in both}.cast-gem{width:66px;height:66px;margin:-33px}.cast-gem svg{stroke-width:2;animation:gem-turn108 calc(.38s * var(--fx-time92,1)) ease-out both}.cast-horns{width:100px;height:100px;margin:-50px;animation-name:blade-flight94}.cast-horns svg,.vfx-horns svg{fill:#75432b88;stroke-width:4}.cast-soulflame{width:72px;height:88px;margin:-44px -36px}.cast-soulflame svg,.vfx-soulflame svg{fill:#24778699;stroke-width:2.5;filter:drop-shadow(0 0 7px #8fffe5)}.cast-soulflame svg{animation:soul-sway108 calc(.38s * var(--fx-time92,1)) ease-out both}.vfx-octopus .vfx-body77{animation:tentacle-curl108 calc(.44s * var(--fx-time92,1)) ease-out both;transform-origin:25% 85%}.vfx-darkspell .vfx-body77,.vfx-soulflame .vfx-body77,.vfx-gem .vfx-body77{animation:hex-burst94 calc(.45s * var(--fx-time92,1)) ease-out both}.vfx-horns .vfx-body77{animation:horn-impact108 calc(.42s * var(--fx-time92,1)) ease-out both}@keyframes tentacle-curl108{0%{transform:rotate(-55deg) scale(.65,1.15)}55%{transform:rotate(16deg) scale(1.12,.9)}to{transform:rotate(-8deg) scale(1)}}@keyframes dark-pulse108{0%{transform:scale(.55) rotate(-25deg);opacity:.4}60%{transform:scale(1.1) rotate(8deg);opacity:1}to{transform:scale(1) rotate(0)}}@keyframes gem-turn108{0%{transform:rotate(-40deg) scale(.6)}65%{transform:rotate(12deg) scale(1.1)}to{transform:rotate(25deg) scale(1)}}@keyframes soul-sway108{0%{transform:skew(-15deg) scale(.6)}50%{transform:skew(12deg) scale(1)}to{transform:skew(-5deg) scale(1.1)}}@keyframes horn-impact108{0%{opacity:0;transform:scale(.5)}25%{opacity:1;transform:scale(1.3)}55%{transform:scale(.95)}to{opacity:0;transform:scale(1.1)}}@media(max-width:720px){.cast-octopus,.cast-horns{width:72px;height:72px;margin:-36px}.cast-darkspell{width:64px;height:64px;margin:-32px;filter:none}}@media(prefers-reduced-motion:reduce){.cast94,.feedback-vfx77{animation:none!important}}
