@font-face{font-family:Zen Antique Soft;src:url(./zen-antique-soft-ja-C8qYoCvK.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Shippori Mincho;src:url(./shippori-mincho-ja--Zw6r5uw.woff2)format("woff2");font-weight:600;font-display:swap}@font-face{font-family:Cormorant Garamond;src:url(./cormorant-garamond-italic-RcLDgFv3.woff2)format("woff2");font-style:italic;font-weight:600;font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#2f251a;--paper:#fcf5e7;--ink:#2f251a;--muted:#685943;--line:#bda782;--rust:#873b29;--gold:#efc378;--green:#2f5740;--field-card:clamp(5rem, 27vw, 6.65rem);--hand-card:clamp(4.9rem, 23.25vw, 5.85rem);--safe-bottom:env(safe-area-inset-bottom,0px);--heading-font:"Zen Antique Soft", "Hiragino Mincho ProN", "Yu Mincho", serif;--description-font:"Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;background:#e5dbc6;font:16px/1.4 Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif}*,:before,:after{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}#root{height:100%}h1,h2,p,ol,ul{margin:0}h1,h2,h3,.brand,.card-name,.identity-job>span:last-child,.book-chip strong,.ability-heading strong,.battle-label,.reinforcement-banner strong,.result-notice strong{font-family:var(--heading-font);font-weight:400}.sheet-heading p,.ability-list li>p,.detail-description,.book-refresh-note,.rules-guide p{font-family:var(--description-font);font-weight:600}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:1px solid var(--line);cursor:pointer;touch-action:manipulation;background:#fff9ed;border-radius:.45rem;padding:.5rem .75rem;font-weight:700}@media (hover:hover){button:hover:not(:disabled){background:#f2e3c8;border-color:#906940}button.primary:hover:not(:disabled),button.danger:hover:not(:disabled){background:#74311f}}button:focus-visible,a:focus-visible,.hand-track:focus-visible{outline-offset:2px;outline:3px solid #28776d}button:disabled{opacity:.66;cursor:default}button small{font-size:.75rem;font-weight:600;line-height:1.25;display:block}button.primary,button.danger{color:#fff8e8;background:var(--rust);border-color:#642e20}.site-header{color:#fbecd0;padding:max(.6rem, env(safe-area-inset-top,0px)) .85rem .6rem;background:#2a271f;border-bottom:2px solid #a96f41;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.brand{color:inherit;font-size:1.2rem;font-weight:800;text-decoration:none}.toolbar button{color:#fbecd0;background:0 0;border-color:#9e825f;font-size:.8rem}.toolbar button[aria-pressed=true]{color:#2e2318;background:#e7c98f}.opening{border:1px solid var(--line);background:var(--paper);border-radius:.8rem;width:min(100% - 1.25rem,54rem);margin:1rem auto;overflow:hidden;box-shadow:0 12px 36px #5e482d26}.opening-image{background:#716448 url(./arena-WwQj7eb9.jpg) 50% 46%/cover no-repeat;border-bottom:3px solid #aa7950;min-height:clamp(120px,32vw,255px)}.opening-content{padding:clamp(.8rem,4vw,1.6rem)}.opening-content h1{font-size:clamp(1.3rem,4.5vw,1.85rem)}.entry-wordmark{color:#865a2e;letter-spacing:.045em;font:italic 600 1.35rem/1 Cormorant Garamond,Georgia,serif;display:block}.opening-choices{gap:.5rem;margin-top:.65rem;display:grid}.opening-body{max-width:24rem;margin:.65rem auto 0}.opening-body .book-strip{margin-top:.35rem}.opening-body .vitals{grid-template-columns:minmax(0,1fr)}.opening-player-name{gap:.25rem;margin-block-start:.7rem;display:grid}.opening-player-name label{font-weight:750}.opening-player-name label span,.opening-player-name p{color:var(--muted);font-size:.78rem}.opening-player-name label span{margin-inline-start:.24rem;font-weight:500}.opening-player-name input{width:100%;min-height:44px;color:var(--ink);border:1px solid var(--line);font:inherit;background:#fffaf1;border-radius:.42rem;padding:.42rem .58rem;font-size:max(1rem,16px)}.opening-player-name input:focus-visible{outline-offset:1px;outline:2px solid #28776d}.opening-player-name input[aria-invalid=true]{border-color:#922e23}.opening-player-name [role=alert]{color:#922e23}.opening-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.opening-choices button{min-height:48px}.opening-clock{text-align:right;min-height:1.4em;margin-top:.45rem}.opening-caption{margin-top:.75rem;font-size:1rem}.entry-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.8rem;display:grid}.entry-actions button{min-height:48px}.entry-guides{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin-block-start:.55rem;display:grid}.entry-guides button{min-height:44px;padding-inline:.2rem;font-size:.8rem}.entry-actions .entry-mode{text-align:start;align-content:center;gap:.25rem;min-height:68px;display:grid}.entry-mode:disabled{opacity:1;color:var(--muted);background:#eee6d6}.online-lobby{gap:.7rem;display:grid}.online-lobby form{gap:.4rem;display:grid}.online-lobby input{border:1px solid var(--line);min-height:46px;font:inherit;border-radius:.45rem;padding:.45rem .65rem}.online-lobby .room-code{text-align:center;-webkit-user-select:all;user-select:all;background:#efe2c9;border-radius:.45rem;padding:.65rem;font:700 1.3rem monospace;display:block}.online-notice{color:#922e23;margin:.25rem .65rem;font-weight:700}.in-match{background:#27231b;height:100dvh;overflow:hidden}.in-match .site-header{display:none}.in-match .game-shell{width:min(100%,43rem);height:100%;margin-inline:auto;box-shadow:0 0 4rem #130e0890}.match{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);min-width:0;height:100%;display:grid}.round-bar{z-index:1;color:#f8eddc;padding:calc(.25rem + env(safe-area-inset-top,0px)) .65rem .35rem;background:#30281f;border-bottom:1px solid #a27b4c;position:relative;box-shadow:0 2px 8px #281d13a3}.round-heading{align-items:center;gap:.3rem .55rem;display:flex}.round-heading h1{white-space:nowrap;font-size:1.12rem;line-height:1.25}.turn-label{color:#fff2dc;text-overflow:ellipsis;white-space:nowrap;background:#514332;border-radius:.3rem;min-width:0;padding:.14rem .45rem;font-size:.81rem;font-weight:750;overflow:hidden}.turn-label.your-turn{color:#382714;background:#e5bc75}.clock{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:.88rem;font-weight:800}.clock.urgent{color:#922e23}.round-bar .clock.urgent{color:#ffae99}.top-combat{position:relative}.top-combat .turn-controls{min-height:0;margin-top:.25rem}.top-combat .action-line{color:#fff0d3}.top-combat .waiting{padding-block:.25rem}.top-combat button:not(.primary):not(.danger){color:var(--ink)}.direct{color:#873b29;white-space:nowrap;font-size:.73rem;font-weight:750}button.match-menu{color:#fff5e4;background:#48392b;border-color:#846a4c;flex:none;place-items:center;width:44px;height:44px;margin-left:auto;padding:0;font-size:.78rem;display:grid}@media (hover:hover){button.match-menu:hover{color:#fff5e4;background:#604a33}}.speed-controls{flex-wrap:wrap;align-items:center;gap:.25rem .4rem;padding-block:.2rem;font-size:.73rem;display:flex}.speed-controls label{align-items:center;gap:.3rem;display:flex}.speed-controls select,.speed-controls button{color:#382714;min-height:34px;font:inherit;background:#faf0db;border:1px solid #b69b71;border-radius:.35rem;padding:.12rem .35rem;font-weight:700}.speed-controls button[aria-pressed=true]{background:#f0c16e;border-color:#f6d38e}.arena{background:linear-gradient(#29221482,#30261928 44%,#2822188c),#706445 url(./arena-WwQj7eb9.jpg) 50%/cover no-repeat;grid-auto-rows:max-content;align-content:safe center;gap:clamp(.45rem,2dvh,1.15rem);min-height:0;padding:.55rem .65rem .4rem;display:grid;position:relative;overflow-y:auto}.auto-play-toggle{color:#fff0d8;white-space:nowrap;background:#433426;border-color:#b88d57;flex:none;justify-content:center;align-items:center;gap:.35rem;min-height:40px;padding:.22rem .5rem;font-size:.75rem;display:inline-flex}.auto-play-toggle span{color:#f1dbbb;background:#2e251e;border-radius:.25rem;padding:.1rem .24rem;font-size:.65rem;font-weight:800}.auto-play-toggle[aria-pressed=true]{background:#315641;border-color:#d1ad65}.auto-play-toggle[aria-pressed=true] span{color:#283c2a;background:#e9c77c}.auto-play-arena{justify-self:end}.auto-play-compact{display:none}.auto-play-sheet-actions{flex-wrap:wrap;justify-content:end;gap:.4rem;margin-top:.45rem;display:flex}.auto-play-sheet-actions:empty{display:none}.auto-play-sheet-actions .gacha-skip{margin:0}@media (height<=640px){.auto-play-arena{display:none}.auto-play-compact{margin-inline-start:auto;padding-inline:.35rem;display:inline-flex}.round-heading:has(.auto-play-compact) .match-menu{margin-inline-start:0}}.board-side{gap:.3rem;min-width:0;display:grid}.vitals{background:#faf0db;border:1px solid #b69b71;border-radius:.45rem;grid-template-columns:minmax(0,1fr) minmax(6.8rem,.78fr);align-items:center;gap:.35rem .55rem;min-width:0;padding:.23rem .5rem;display:grid}.board-side .vitals{grid-template-columns:minmax(0,1fr) minmax(3.65rem,.5fr) minmax(0,1.7fr);padding:.15rem .35rem}.vitals.active{border-color:#8a5c28;box-shadow:inset 0 0 0 1px #d29d55}.identity,.identity-job,.life{align-items:center;gap:.35rem;min-width:0;display:flex}.body-portrait{object-fit:cover;background:#e4d2b2;border:1px solid #b99f77;border-radius:.35rem;flex:none;width:2rem;height:2rem}.opening-body .body-portrait{width:2.5rem;height:2.5rem}.identity-text{gap:.07rem;min-width:0;display:grid}.identity-name,.identity-job>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.identity-name{font-size:.9rem;line-height:1.18}.identity-job{color:#645139;gap:.22rem;font-size:.75rem}.identity-job .rarity{flex:none}.life meter{accent-color:#467247;flex:auto;min-width:.7rem;height:.75rem}.life meter::-webkit-meter-optimum-value{background:#4a7347}.life span{align-items:baseline;gap:.22rem;font-size:.73rem;display:flex}.life b{text-align:right;font-variant-numeric:tabular-nums;min-width:1.65rem;font-size:1.09rem;line-height:1.1}.book-strip{align-items:stretch;gap:.35rem;min-width:0;display:flex}button.book-chip{text-align:left;background:#f1e3c8;flex:1 1 0;justify-content:space-between;align-items:center;gap:.16rem .4rem;min-width:0;min-height:34px;padding:.25rem .4rem;line-height:1.15;display:flex}.opening-body button.book-chip{min-height:44px}.book-chip strong{align-items:center;gap:.15rem;min-width:0;font-size:.79rem;display:flex}.book-chip .action-icon{width:.86rem;height:.86rem}.book-chip span{color:#6b573e;white-space:nowrap;font-size:.67rem;font-weight:700}.book-chip.spent{background:#e3dbcb}.book-chip.blocked{color:#5b4f3d;background:#eadfcb;border-color:#c7b797}.book-chip.ready{color:#fff9ed;background:#315740;border-color:#294833}.book-chip.ready span{color:#fff0b4}.book-chip[data-battle-cue=status]{border-color:#8a5c28;box-shadow:inset 0 0 0 2px #ebae52}.book-refresh-note{color:var(--muted);font-size:.8rem}@media (hover:hover){button.book-chip.ready:hover{background:#24442f}}.board-side .book-strip{gap:.18rem}.board-side .book-chip{text-align:center;place-content:center stretch;justify-items:center;min-height:44px;padding:.15rem .1rem;display:grid}.board-side .book-chip span{white-space:normal}.slots{grid-template-columns:repeat(3, var(--field-card));justify-content:center;gap:.45rem;min-width:0;display:grid}.empty-slot{min-height:calc(var(--field-card) * .625 + 2.22rem);color:#ffefd4;background:#33271669;border:1px dashed #fbebc58c;border-radius:.45rem;place-items:center;font-size:.77rem;display:grid}.field-notice{color:#fff4db;text-align:center;background:#302319df;border:1px solid #f2d7a662;border-radius:.35rem;justify-self:center;max-width:100%;margin:.22rem 0;padding:.22rem .6rem;font-size:.8rem;font-weight:700}.field-notice.target-prompt{color:#fff3cd;border-color:#edc377}.target-prompt:focus{outline-offset:1px;outline:2px solid #ffdb8b}.result-notice strong,.result-notice span{display:block}.result-notice strong{color:#ffdb8b;font-size:1.12rem}.slots>.card,.life{position:relative}[data-battle-cue=source]{border-radius:.35rem;outline:2px solid #ffdb82;box-shadow:0 0 .55rem #ffd171}[data-battle-cue=hit]{outline:2px solid #ffb08c}[data-battle-cue=defeat] .card-main{opacity:.55}.battle-mark{--mark-background:#4a371d;z-index:2;background:var(--mark-background);color:#fff6e5;text-align:center;pointer-events:none;border:1px solid;border-radius:.35rem;justify-content:center;align-items:center;gap:.2rem;width:max-content;max-width:calc(100% - .15rem);padding:.15rem .32rem;font-size:.73rem;font-weight:800;line-height:1.12;display:inline-flex;position:absolute;inset:36% auto auto 50%;transform:translate(-50%,-50%)}.battle-mark strong{white-space:nowrap;font-size:1.13rem}.life .battle-mark{white-space:nowrap;max-width:none;inset:50% 2.9rem auto auto;transform:translateY(-50%)}.life:is([data-battle-cue=damage],[data-battle-cue=heal]) .battle-mark{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.life .battle-mark .battle-label{font-size:inherit}[data-battle-cue=damage] .battle-mark,[data-battle-cue=defeat] .battle-mark{--mark-background:#812e27}[data-battle-cue=heal] .battle-mark{--mark-background:#245d3d}[data-battle-cue=boost] .battle-mark{--mark-background:#503c77}[data-battle-cue=shield] .battle-mark{--mark-background:#234c70}.battle-shield{clip-path:polygon(50% 0,100% 16%,90% 65%,50% 100%,10% 65%,0 16%);background:#c4eaff;flex:none;width:.67rem;height:.77rem}.player-dock{min-width:0;padding:.42rem .65rem max(.65rem, var(--safe-bottom));background:var(--paper);z-index:1;border-top:2px solid #ae8250;box-shadow:0 -3px 12px #30251a43}.hand{min-width:0}.hand-heading{flex-wrap:wrap;align-items:center;gap:.15rem .35rem;margin-bottom:.2rem;display:flex}.hand h2{font-size:.9rem}.hand h2 span{color:var(--muted);margin-left:.12rem;font-size:.75rem;font-weight:600}.hand-new,.hand-gems{color:#664017;white-space:nowrap;font-size:.73rem;font-weight:800}.hand-gems{font-variant-numeric:tabular-nums;margin-inline-start:auto}.hand-heading:has(.hand-tools) .hand-gems{margin-inline-start:0}.hand-phase{color:#624822;background:#efe2c8;border-radius:.25rem;padding:.1rem .37rem;font-size:.73rem;font-weight:750}.hand-track{min-width:0;min-height:calc(var(--hand-card) * .625 + 2.6rem);overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#b2915d #efe1c7;align-items:stretch;gap:.4rem;padding:2px 2px .25rem;display:flex;overflow:auto hidden}.hand-track>.card{flex:0 0 var(--hand-card)}.empty-hand{color:var(--muted);align-self:center;font-size:.81rem}.turn-controls{align-content:end;gap:.2rem;min-height:3.9rem;margin-top:.3rem;display:grid}.action-line{color:#69431f;text-align:center;min-height:1.25em;font-size:.82rem;font-weight:750}.battle-actions{grid-auto-columns:1fr;grid-auto-flow:column;gap:.4rem;display:grid}.battle-actions:has(.recommendation-actions){grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.recommendation-actions{grid-template-columns:minmax(0,1fr);grid-auto-flow:column;gap:.2rem;display:grid}.recommendation-actions button+button{min-width:44px;padding-inline:.2rem}.battle-actions.hand-actions{grid-template-columns:minmax(0,1fr) auto auto}.battle-actions.hand-actions.has-sub{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) auto auto}.battle-actions button{min-height:44px;padding:.25rem .4rem;line-height:1.25}.battle-actions button:not(.primary){font-size:.82rem}.battle-actions button:disabled{background:#efe2c9}.player-dock .field-notice{margin:.3rem 0 0;padding-block:.18rem}.blocked-reason{color:#78351f;font-weight:700}.card{--card-line:#9a8261;--card-fill:#f9ead5;border:1px solid var(--card-line);background:var(--card-fill);border-top-width:2px;border-radius:.43rem;min-width:0;box-shadow:0 2px 3px #2d241834}.card.r{--card-line:#6c8656;--card-fill:#ebf0db}.card.sr{--card-line:#5e829a;--card-fill:#e6eff3;--frame-trim:#b6dbef;--frame-corner:transparent}.card.ssr{--card-line:#a77b3c;--card-fill:#fff0c9;--frame-trim:#e8be6a;--frame-corner:#ffeab1}.card.ur{--card-line:#a26c88;--card-fill:#fae6ef;--frame-trim:#dcabcf;--frame-corner:#fff1cf}.card:is(.sr,.ssr,.ur) .card-art:after{border-radius:inherit;pointer-events:none;content:"";box-shadow:inset 0 0 0 1px var(--frame-trim);background:linear-gradient(135deg, var(--frame-corner) 45%, transparent 46%) top left / 9px 9px no-repeat, linear-gradient(225deg, var(--frame-corner) 45%, transparent 46%) top right / 9px 9px no-repeat, linear-gradient(45deg, var(--frame-corner) 45%, transparent 46%) bottom left / 9px 9px no-repeat, linear-gradient(315deg, var(--frame-corner) 45%, transparent 46%) bottom right / 9px 9px no-repeat;position:absolute;inset:0}.card.fresh{border-color:#a7722f;box-shadow:0 0 0 1px #c49145}.card.usable .card-name{color:#174a35}.card.eligible{outline-offset:1px;outline:2px solid #f6d27c;box-shadow:0 0 9px #fac85bcb}.card.picked:where(:not([data-card-drop])){outline-offset:1px;outline:2px solid #216449;box-shadow:0 0 0 2px #f2ce75}.card-main{text-align:left;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:0;border-radius:.32rem;align-content:start;width:100%;height:100%;padding:0;display:grid;overflow:hidden}.card-main:focus-visible{outline-offset:-3px}.card[data-attack-ready] .card-main{touch-action:none;cursor:grab}.card[data-attack-ready] .card-availability{color:#fff3c8;background:#723e20}.direct-attack{white-space:nowrap;background:#f8dda3;border-color:#b57936;min-width:2.6rem;min-height:28px;padding:.12rem .22rem}[data-card-drop]{outline-offset:-2px;outline:2px solid #f5d17b;box-shadow:inset 0 0 0 3px #694e28}.card[data-drag-source]{outline-offset:-2px;outline:3px solid #ffdc88;box-shadow:0 0 0 1px #6b3f22}.card[data-card-drop],.vitals[data-card-drop=attack-body]{outline-width:3px}.vitals[data-card-drop=attack-body]{background:#ffebbc}.hand-track [data-card-drop]{outline-offset:-3px}[data-card-drop].drop-hover{outline-color:#c8ffc7;box-shadow:inset 0 0 0 4px #316948,0 0 10px #c8ffc7a0}.spell-drop{color:#fff5df;background:#36583e;border-radius:.45rem;place-items:center;font-weight:800;display:grid;position:absolute;inset:0}.drag-card{z-index:5;pointer-events:none;background:#fff0c9;border:2px solid #a77b3c;border-radius:.43rem;width:5rem;position:fixed;overflow:hidden;transform:translate(-50%);box-shadow:0 3px 10px #1e170b88}.card-name{white-space:nowrap;text-overflow:ellipsis;padding:.13rem .24rem .03rem;font-size:.83rem;line-height:1.25;display:block;overflow:hidden}.card-stats{color:#4a3d2d;white-space:nowrap;letter-spacing:-.015em;justify-content:space-between;align-items:baseline;gap:.16rem;min-height:1.05rem;padding:0 .24rem .15rem;font-size:.69rem;font-weight:750;display:flex}.card-hp{font-variant-numeric:tabular-nums}.card-hp b{color:#2e3023}.card-hp span{color:#5f5343;font-weight:650}.card-art{aspect-ratio:8/5;background:#bdbdbd;border-bottom:1px solid #8c8272;place-items:center;width:100%;display:grid;position:relative;overflow:hidden}.art-placeholder{color:#404040;font-size:.62rem;font-weight:650}.card-availability{color:#fff2db;background:#392e25;border-radius:.25rem 0 0;padding:.08rem .22rem;font-size:.64rem;position:absolute;bottom:0;right:0}.usable .card-availability{background:#254e39}.card-art img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.card-art .rarity,.new-card,.card-status{position:absolute}.card-art .rarity,.card-art .new-card,.card-availability{z-index:1}.card-art .rarity{top:.18rem;left:.18rem}.rarity,.new-card,.card-status{text-align:center;color:#fff;background:#62513f;border-radius:.2rem;min-width:1.25rem;padding:.06rem .23rem;font-size:.65rem;font-weight:800;line-height:1.23;display:inline-grid}.rarity.r{background:#4c6740;box-shadow:inset 0 0 0 1px #779772}.rarity.sr{background:linear-gradient(145deg,#416d83,#304d65);box-shadow:inset 0 0 0 1px #9ec6dd}.rarity.ssr{background:linear-gradient(145deg,#895c23,#5d3715);box-shadow:inset 0 0 0 1px #e9bd66}.rarity.ur{background:linear-gradient(145deg,#925b7c,#57305b);box-shadow:inset 0 0 0 1px #f6dba9,inset 0 0 0 2px #aa7293}.new-card{color:#54300f;background:#f6db9f;top:.18rem;right:.18rem}.card-status{color:#fff8df;background:#473345;bottom:.16rem;right:.18rem}.body-portrait{background:#6f5742;flex:none;display:inline-grid;overflow:hidden}.body-reveal{--reveal-edge:#c6a16c;--reveal-light:#fff0cf;--reveal-glow:#c9a579;--reveal-peak:.34;--reveal-spread:.55rem;text-align:center}.body-reveal[data-rarity=SR]{--reveal-edge:#8cd4ac;--reveal-light:#cfffe1;--reveal-glow:#56bc85;--reveal-peak:.6;--reveal-spread:1.25rem}.body-reveal[data-rarity=SSR]{--reveal-edge:#ffd785;--reveal-light:#fff1ae;--reveal-glow:#f8b74a;--reveal-peak:.9;--reveal-spread:2.5rem}.body-reveal[data-rarity=UR]{--reveal-edge:#efc0ff;--reveal-light:#fff1d2;--reveal-glow:#c969fb;--reveal-peak:1;--reveal-spread:4rem}.body-reveal-stage{isolation:isolate;place-items:center;min-height:19rem;display:grid;position:relative;overflow:hidden}.body-reveal-stage:before{content:"";z-index:-1;background:radial-gradient(ellipse, var(--reveal-light), var(--reveal-glow) 27%, transparent 69%);animation:3s both body-halo;animation-delay:var(--reveal-delay,0s);border-radius:50%;position:absolute;inset:5% 8%}.body-reveal:is([data-rarity=SSR],[data-rarity=UR]) .body-reveal-stage:after{content:"";z-index:-1;aspect-ratio:1;background:repeating-conic-gradient(from -3deg, var(--reveal-edge) 0deg, transparent 6deg 36deg);width:min(100%,24rem);animation:3s both body-rays;animation-delay:var(--reveal-delay,0s);border-radius:50%;position:absolute;-webkit-mask-image:radial-gradient(circle,#0000 12%,#000 32%,#0000 67%);mask-image:radial-gradient(circle,#0000 12%,#000 32%,#0000 67%)}.body-reveal[data-rarity=UR] .body-reveal-stage:after{background:repeating-conic-gradient(from -3deg, var(--reveal-light) 0deg, var(--reveal-glow) 4deg, transparent 9deg 24deg)}.body-reveal-seal{aspect-ratio:1;border:2px solid var(--reveal-edge);width:7rem;color:var(--reveal-light);box-shadow:0 0 var(--reveal-spread) var(--reveal-glow);animation:3s both body-seal;animation-delay:var(--reveal-delay,0s);border-radius:50%;place-items:center;font-size:3rem;display:grid;position:absolute}.body-reveal[data-rarity=UR] .body-reveal-seal:before{content:"";border:2px dashed var(--reveal-edge);border-radius:50%;position:absolute;inset:-.8rem}.body-reveal-portrait{animation:3s both body-portraits;animation-delay:var(--reveal-delay,0s);justify-items:center;gap:.45rem;display:grid}.body-reveal-portrait .body-portrait{aspect-ratio:1;border:2px solid var(--reveal-edge);width:clamp(6.8rem,30vw,9rem);height:auto;box-shadow:0 0 var(--reveal-spread) var(--reveal-glow)}.body-reveal-name{color:#fff3cc;background:#352a21;border-radius:.4rem;align-items:center;gap:.45rem;padding:.25rem .55rem;font-weight:800;display:flex}@keyframes body-halo{0%{opacity:0;transform:scale(.45)}62%{opacity:calc(var(--reveal-peak) * .65);transform:scale(.85)}69%{opacity:var(--reveal-peak);transform:scale(1.13)}to{opacity:calc(var(--reveal-peak) * .55);transform:scale(1)}}@keyframes body-rays{0%,58%{opacity:0;transform:rotate(-18deg)scale(.55)}73%{opacity:var(--reveal-peak)}to{opacity:calc(var(--reveal-peak) * .54);transform:rotate(18deg)scale(1.12)}}@keyframes body-seal{0%{opacity:.3;transform:scale(.58)rotate(-22deg)}62%{opacity:1;transform:scale(1.12)rotate(0)}76%,to{opacity:0;transform:scale(1.34)rotate(0)}}@keyframes body-portraits{0%,65%{opacity:0;transform:translateY(.8rem)scale(.82)}83%,to{opacity:1;transform:none}}.card>button.card-status{z-index:2;white-space:nowrap;background:#214337;border:1px solid #c6ab7e;border-radius:.35rem;justify-content:center;align-items:center;gap:.2rem;max-width:calc(100% - .36rem);min-height:1.65rem;padding:.15rem .32rem;font-size:.63rem;display:inline-flex;top:.2rem;bottom:auto;right:.18rem;overflow:hidden}.card>button.card-status[data-negative=true]{background:#4a2b49}.status-details{gap:.5rem;margin:.35rem;display:grid}.status-details>div{border-inline-start:.22rem solid #557861;padding:.3rem .55rem}.status-details>div[data-negative=true]{border-color:#856082}.status-details dt{font-weight:800}.status-details dd{margin:.12rem 0 0}.detail-promotion{border:1px solid #c5a879;border-radius:.4rem;margin:.5rem;padding:.35rem .5rem}.detail-promotion .detail-description{margin:.18rem 0}.happening-cut-in{z-index:8;isolation:isolate;color:#fff3ce;pointer-events:none;background:#31223a;border:2px solid #ecc47e;border-radius:.8rem;width:min(93%,34rem);margin:0;padding:0;animation:.23s ease-out both happening-in;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 0 1.5rem #21170de0}.happening-cut-in img{object-fit:cover;width:100%;height:min(28vh,17rem);display:block}.happening-cut-in figcaption{text-align:center;gap:.1rem;padding:.4rem .65rem;display:grid}.happening-cut-in figcaption span{font-size:.78rem}@keyframes happening-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.92)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.body-reveal-stage:before,.body-reveal-stage:after,.body-reveal-portrait,.happening-cut-in{animation:none}.body-reveal-stage:before{opacity:calc(var(--reveal-peak) * .55)}.body-reveal-stage:after{opacity:.45}.body-reveal-seal{display:none}}dialog{max-width:none;max-height:calc(100dvh - 2rem);color:var(--ink);background:var(--paper);border:1px solid #a98d64;border-radius:.9rem .9rem 0 0;overflow-y:auto;box-shadow:0 -8px 32px #23150866}.phase-sheet,.detail-dialog{width:min(100%,42rem);padding:.7rem .75rem max(.75rem, var(--safe-bottom));overscroll-behavior:contain;margin:0 auto;position:fixed;inset:auto 0 0}.phase-sheet[open],.detail-dialog[open]{animation:.155s ease-out both sheet-rise}@keyframes sheet-rise{0%{opacity:.82;transform:translateY(1rem)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.phase-sheet[open],.detail-dialog[open]{animation:none}}.phase-sheet::backdrop,.detail-dialog::backdrop{background:#211b14a0}.sheet-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.15rem .55rem;padding:0 0 .43rem;display:grid}.sheet-heading h2,.detail-dialog h2{font-size:1.19rem}.sheet-heading h2:focus,.detail-dialog h2:focus{outline:none}.sheet-heading p{color:var(--muted);grid-column:1/-1;font-size:.88rem}.gem-options,.sheet-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;display:grid}.gem-options button{min-height:57px;padding:.37rem .35rem;font-size:.94rem}.gem-options small{margin-top:.15rem}.gem-options .carry-over:nth-child(odd){grid-column:1/-1;min-height:44px}.choice-grid{grid-template-columns:repeat(2,minmax(0,6.6rem));justify-content:center;gap:.4rem;padding:2px;display:grid}.choice-grid.free-grid{grid-template-columns:repeat(5,minmax(0,6.5rem))}.choice-grid .card-name{font-size:.79rem}.choice-grid.free-grid .card-name{-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;height:calc(2.5em + .16rem);font-size:.71rem;display:-webkit-box}.choice-grid.free-grid .card-stats{gap:.1rem;padding-inline:.14rem;font-size:.64rem}.choice-grid.free-grid .card-hp span{display:none}.sheet-controls{margin-top:.55rem}.sheet-controls button,.detail-controls button{min-height:44px;padding-inline:.35rem}.detail-dialog{width:min(100%,29rem)}.detail-dialog h2{margin-bottom:.45rem}.detail-dialog p,.detail-list,.history-list{margin-top:.5rem}.detail-card{border:1px solid var(--line);background:#fff9eb;border-radius:.45rem;max-width:16rem;margin-inline:auto;overflow:hidden}.detail-card .art-placeholder{font-size:.82rem}.detail-card .card-art:has(img:not([hidden])){aspect-ratio:4/5}.detail-meta{flex-wrap:wrap;gap:.25rem .7rem;padding:.35rem .55rem;font-size:.89rem;display:flex}.detail-card .detail-status{margin:0 .55rem .35rem}.detail-status{color:var(--muted);font-size:.87rem;font-weight:700}.detail-list,.history-list{padding:0;list-style:none}.detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;display:grid}.detail-controls{gap:.45rem;margin-top:.65rem;display:flex}.detail-controls button{flex:1}.rules-guide{gap:.55rem;display:grid}.rules-guide section{background:#fff9ed;border:1px solid #d6bd96;border-radius:.5rem;padding:.65rem .75rem}.rules-guide h3{color:#623c26;font-size:.98rem}.rules-guide p,.rules-guide li,.rules-pulls{font-size:.87rem;line-height:1.6}.rules-guide ol{margin:.28rem 0 0;padding-inline-start:1.3rem}.rules-pulls{gap:.24rem;margin:.5rem 0;display:grid}.rules-pulls>div{background:#f4e8d4;border-radius:.3rem;grid-template-columns:4.4rem minmax(0,1fr);column-gap:.42rem;padding:.25rem .45rem;display:grid}.rules-pulls dt{font-weight:750}.rules-pulls dd{margin:0}.rules-pulls .rarity{vertical-align:.08em;margin-inline-end:.16rem}.catalog-dialog{width:min(100%,37rem)}.catalog-filters{border-bottom:1px solid var(--line);background:var(--paper);grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .5rem;padding-block:.2rem .4rem;display:grid}.catalog-filters label{gap:.15rem;font-size:.8rem;display:grid}.catalog-search,.catalog-summary{grid-column:1/-1}.catalog-filters :is(input,select){width:100%;min-width:0;min-height:44px;color:var(--ink);font:inherit;background:#fff9ed;border:1px solid #b69b71;border-radius:.35rem;padding:.26rem .4rem;font-size:1rem}.catalog-summary{justify-content:space-between;align-items:center;min-height:36px;font-size:.83rem;display:flex}.catalog-summary button{font-size:inherit;padding:.23rem .4rem}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:.45rem .15rem;display:grid}.catalog-grid .card-name{white-space:normal;overflow-wrap:anywhere;font-size:.83rem}.catalog-grid .card-stats{flex-wrap:wrap;row-gap:0;font-size:.72rem}.catalog-empty{padding:.4rem .12rem}.body-catalog-filters{align-items:end}.body-catalog-filters [role=status]{justify-self:end;padding-block-end:.4rem;font-size:.83rem}.body-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:.45rem .15rem;display:grid}.body-catalog-entry{text-align:start;align-items:center;gap:.45rem;min-height:62px;padding:.34rem;display:flex}.body-catalog-entry .body-portrait{aspect-ratio:1;width:clamp(2.4rem,12vw,3.65rem);height:auto}.body-catalog-name{justify-items:start;gap:.15rem;min-width:0;display:grid}.body-catalog-name strong{font-family:var(--heading-font);overflow-wrap:anywhere;font-size:.9rem;font-weight:400}.body-catalog-profile{justify-items:center;gap:.4rem;padding-block:.25rem .65rem;display:grid}.body-catalog-profile .body-portrait{aspect-ratio:1;width:clamp(5rem,18dvh,8rem);height:auto}.body-catalog-heading{margin:0;font-size:1rem}@media (width<=350px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=560px){.entry-guides,.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.rates-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin-block-start:.45rem;font-size:.78rem}.rates-table :is(th,td){text-align:center;border-bottom:1px solid #e0cfb6;padding:.27rem .15rem}.rates-table thead th{background:#f4e8d4;line-height:1.25}.rates-table td{white-space:nowrap}.match-details{gap:.25rem;margin:.65rem 0;font-size:.85rem;display:grid}.match-details>div{grid-template-columns:5rem minmax(0,1fr);gap:.4rem;display:grid}.match-details dd{margin:0}.recommendation-plan{padding-inline-start:1.5rem}.detail-dialog .speed-controls :is(select,button){min-height:44px}.menu-list{gap:.38rem;margin-top:.65rem;display:grid}.menu-list button{min-height:42px}.history-list li{border-top:1px solid #e0ccb0;padding:.35rem .05rem;font-size:.9rem}.log-critical,.log-defeat{color:#8e2f24}.log-promotion,.log-awaken,.log-reinforcement{color:#754e23;font-weight:750}.log-heal{color:#355d3b}@media (width>=700px){:root{--field-card:6.6rem;--hand-card:6.05rem}.player-dock,.arena,.round-bar{padding-inline:.95rem}}@media (width<=510px){.opening-choices button{padding-inline:.25rem}.opening-body .book-strip{margin-top:.18rem}.match{--field-card:clamp(4.25rem, 28vw, 7.75rem);--hand-card:clamp(4.3rem, 22vw, 5.7rem);--field-art-height:clamp(2.65rem, calc(24dvh - 6.5rem), 6.65rem)}.arena{gap:clamp(.35rem,1.25dvh,.75rem)}.board-side .identity{gap:.27rem}.board-side .identity-job{font-size:.69rem}.board-side .body-portrait{width:1.85rem;height:1.85rem}.board-side .life meter{display:none}.board-side .life{justify-content:center}.board-side .vitals{grid-template-columns:minmax(0,1fr) auto minmax(0,1.45fr);gap:.25rem}.slots .card-art{aspect-ratio:auto;height:var(--field-art-height)}.slots .card-name{white-space:normal;overflow-wrap:anywhere}.slots .card-stats{flex-wrap:wrap;row-gap:0}.empty-slot{min-height:calc(var(--field-art-height) + 2.25rem)}.hand-track .card-stats{gap:.1rem;padding-inline:.2rem}.hand-track .card-hp span{display:none}}@media (width<=365px){.round-heading{gap:.3rem}.round-heading h1{font-size:.99rem}.board-side .body-portrait{width:1.65rem;height:1.65rem}.turn-label{padding-inline:.34rem}}@media (height<=750px){:root{--field-card:clamp(4.3rem, 22vw, 5.6rem);--hand-card:clamp(4.3rem, 20.5vw, 5.4rem)}.arena{padding-block:.3rem}.board-side{gap:.25rem}.player-dock{padding-top:.3rem;padding-bottom:max(.35rem, var(--safe-bottom))}.turn-controls{min-height:3.95rem}}@media (height<=650px){:root{--field-card:clamp(4rem, 19.25vw, 5.15rem);--hand-card:clamp(4.15rem, 19.25vw, 5rem)}.round-bar{padding-block-end:.18rem}.board-side,.book-strip{gap:.18rem}.field-notice{margin-block:.1rem;padding-block:.13rem}}.arena-notice{z-index:2;pointer-events:none;width:max-content;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}[data-battle-attack] .card-main{animation:.21s ease-out battle-lunge}.board-side:not(.own-board) [data-battle-attack]{--lunge-direction:1}.own-board [data-battle-attack]{--lunge-direction:-1}[data-battle-cue=promotion-charge],[data-battle-cue=reinforcement-charge]{isolation:isolate;outline:2px solid #ffdaa0;position:relative;box-shadow:0 0 .8rem #ffd48e}[data-battle-cue=promotion-charge]:after,[data-battle-cue=reinforcement-charge]:after{content:"";border-radius:inherit;pointer-events:none;background:radial-gradient(#fff3bcbd,#0000 70%);animation:.55s ease-in both battle-gather;position:absolute;inset:0}[data-battle-cue=reinforcement-charge]>span{z-index:1;text-shadow:0 1px 3px #2e230b,0 0 5px #2e230b;font-weight:800}[data-battle-cue=promotion],[data-battle-cue=reinforcement]{outline:2px solid #ffe9a7;box-shadow:0 0 .8rem #fada82}[data-battle-cue=promotion] .card-art,[data-battle-cue=reinforcement] .card-art{animation:.32s ease-out battle-reveal}[data-battle-enhanced]{outline-color:#fff3bf;box-shadow:0 0 .6rem .2rem #fff0b5,0 0 1.2rem .28rem #ffd484}[data-battle-cue=promotion] .battle-mark,[data-battle-cue=reinforcement] .battle-mark{--mark-background:#4d351e;inset-block-start:28%}[data-battle-enhanced] .battle-mark{--mark-background:#624015}@keyframes battle-lunge{0%,to{transform:translateY(0)}45%{transform:translateY(calc(var(--lunge-direction,-1) * .52rem))}}@keyframes battle-gather{0%{opacity:.4;transform:scale(1.25)}to{opacity:1;transform:scale(.75)}}@keyframes battle-reveal{0%{opacity:.5;filter:brightness(1.65)}to{opacity:1;filter:brightness()}}@media (prefers-reduced-motion:reduce){[data-battle-attack] .card-main,[data-battle-cue=promotion-charge]:after,[data-battle-cue=reinforcement-charge]:after,[data-battle-cue=promotion] .card-art,[data-battle-cue=reinforcement] .card-art{animation:none}}[data-battle-cue=summon]{outline:2px solid #ffdc91;box-shadow:0 0 .8rem #f8d897}[data-battle-cue=summon] .card-art{animation:.32s ease-out battle-reveal}.gacha-stage{background:radial-gradient(#785238,#33251e 78%);border:1px solid #ad8150;border-radius:.65rem;place-items:center;min-height:8.7rem;padding:.65rem .5rem;display:grid;overflow:hidden}.gacha-stage.rare-reveal{background:radial-gradient(#a97435,#402b20 85%);border-color:#c18a47}.gacha-seal{aspect-ratio:3/4;color:#ffe5ab;background:radial-gradient(circle,#ac704a,#613d31 70%);border:2px solid #f3cc80;border-radius:.45rem;place-items:center;width:4.6rem;font-size:2.4rem;animation:.44s ease-out both gacha-charge;display:grid;box-shadow:0 0 1.6rem #ffce7f91,inset 0 0 0 .26rem #4c3029}.gacha-reveal-grid{grid-template-columns:repeat(auto-fit,minmax(3.6rem,1fr));gap:.32rem;width:100%;max-width:23rem;margin:0;padding:0;list-style:none;animation:.28s ease-out battle-reveal;display:grid}.gacha-reveal-grid:has(>:only-child){max-width:6.5rem}.gacha-reveal-grid.many{grid-template-columns:repeat(5,minmax(0,1fr))}.gacha-reveal-grid li{text-align:center;background:#fff1d7;border:1px solid #d9b47d;border-radius:.35rem;min-width:0;padding:.1rem}.gacha-reveal-grid .card-name{white-space:normal;overflow-wrap:anywhere;padding:.12rem .05rem;font-size:.72rem;display:block}.gacha-reveal-grid.many .rarity{padding-inline:.16rem;font-size:.59rem}.gacha-skip{min-height:44px;margin:.55rem auto 0;display:block}@keyframes gacha-charge{0%{opacity:.45;transform:scale(.78)rotate(-7deg)}to{opacity:1;transform:scale(1)rotate(0)}}@media (prefers-reduced-motion:reduce){.gacha-seal,.gacha-reveal-grid,[data-battle-cue=summon] .card-art{animation:none}}.hand-tools{gap:.25rem;margin-inline-start:auto;display:flex}.hand-tools button{white-space:nowrap;justify-content:center;align-items:center;gap:.18rem;min-height:34px;padding:.2rem .36rem;font-size:.74rem;display:inline-flex}.action-icon{vertical-align:-.17em;flex:none;width:1rem;height:1rem;display:inline-block}.hand-tools [data-icon=gem]{color:#65408a;fill:#e2c8f1}.exchange-balance{color:#74512f;margin:0 0 .5rem;font-size:.86rem}.ur-rush-stage{isolation:isolate;color:#fff4c6;background:radial-gradient(#92572b,#2b183c 66%);border:2px solid #e7ae47;border-radius:.65rem;place-items:center;min-height:clamp(12rem,42dvh,21rem);margin-bottom:.45rem;display:grid;position:relative;overflow:hidden}.ur-rush-art{z-index:-2;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.ur-rush-stage:after{z-index:-1;content:"";background:linear-gradient(130deg,#9b5dc04a,#2e173984 44%,#9a4d0d8c);position:absolute;inset:0}.ur-rush-stage[data-rush-tier=rainbow]{border-color:#ffa2d6;box-shadow:inset 0 0 1.8rem #ff9be396,0 0 .65rem #b668ff7d}.ur-rush-stage[data-rush-tier=gold]{border-color:#fff0ae;box-shadow:inset 0 0 2.4rem #ffe68cc4,0 0 1rem #e9a134b8}.ur-rush-result{text-shadow:0 2px 4px #260e20;justify-items:center;gap:.3rem;padding:.6rem;font-weight:800;animation:.35s ease-out both ur-rush-reveal;display:grid}.ur-rush-result strong{color:#ffe4a0;font-size:clamp(1.55rem,7vw,2.8rem)}.ur-rush-stage[data-rush-tier] .ur-rush-result strong{text-shadow:0 2px 4px #260e20,0 0 .8rem #ffcb73}.ur-rush-card{text-align:center;background:#4a2844;border:2px solid #f9d18c;border-radius:.5rem;width:clamp(7rem,33vw,10rem);padding-bottom:.2rem;overflow:hidden}@keyframes ur-rush-reveal{0%{opacity:.3;transform:translateY(.5rem)scale(.9)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.ur-rush-result{animation:none}}.exchange-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:.2rem;display:grid}.sale-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;max-height:44dvh;padding:.25rem;display:grid;overflow:auto}.sale-grid .card-name{font-size:.77rem}[data-battle-cue]{--effect-color:#ffe3a2;--effect-glow:#f8ac527a}[data-battle-cue=hit],[data-battle-cue=damage]{--effect-color:#ffd4ac;--effect-glow:#e858397a}[data-battle-cue=heal]{--effect-color:#c8ffcf;--effect-glow:#249c647a}[data-battle-cue=shield]{--effect-color:#bdeaff;--effect-glow:#427cbe7a}[data-battle-cue=status]{--effect-color:#edcbff;--effect-glow:#8651a17a}.battle-effect{z-index:1;pointer-events:none;background:radial-gradient(ellipse at 50% 38%, var(--effect-glow), transparent 72%);border-radius:.45rem;animation:.2s ease-out both battle-glow;position:absolute;inset:0}.battle-effect[data-critical]{--effect-color:#fff4b3;--effect-glow:#ffb741a6}.battle-effect:before,.battle-effect:after{content:"";position:absolute}.battle-effect:before{border:2px solid var(--effect-color);border-radius:50%;animation:.21s ease-out both battle-ring;inset:10% 8% 16%}.battle-effect:is([data-attack-sound=slash],[data-attack-sound=claw],[data-attack-sound=bow],[data-attack-sound=spear]):before,[data-battle-cue=hit] .battle-effect:before{background:linear-gradient(90deg, transparent, var(--effect-color) 38% 67%, transparent);clip-path:polygon(0 70%,55% 32%,100% 0,79% 50%,38% 66%,12% 100%,23% 65%);border:0;border-radius:0;animation:.13s ease-out both battle-slash;inset:36% 5% 39%}[data-battle-cue=hit] .battle-effect,[data-battle-cue=hit] .battle-effect:before{animation-duration:.115s}[data-battle-cue=heal] .battle-effect{animation-duration:.25s}[data-battle-cue=heal] .battle-effect:after,.battle-effect[data-critical]:after{background:radial-gradient(circle at 14% 52%, var(--effect-color) 0 2px, transparent 3px), radial-gradient(circle at 29% 12%, var(--effect-color) 0 1px, transparent 2px), radial-gradient(circle at 64% 20%, var(--effect-color) 0 2px, transparent 3px), radial-gradient(circle at 87% 42%, var(--effect-color) 0 2px, transparent 3px), radial-gradient(circle at 74% 78%, var(--effect-color) 0 1px, transparent 2px);animation:.24s ease-out both battle-sparks;inset:7% 10% 15%}:is([data-battle-cue=source],[data-battle-cue=damage],[data-battle-cue=heal],[data-battle-cue=shield],[data-battle-cue=boost],[data-battle-cue=status]) .battle-mark{border-color:var(--effect-color);animation:.18s ease-out both battle-mark-pop;box-shadow:0 2px 5px #20170b9c}[data-battle-cue=source] .battle-mark{font-size:.85rem}[data-battle-cue=damage] .battle-mark strong,[data-battle-cue=heal] .battle-mark strong{text-shadow:0 1px 1px #211a14;font-size:1.35rem}[data-battle-cue=damage] .battle-mark strong{color:#ffe2cc}[data-battle-cue=heal] .battle-mark{animation-name:battle-heal-rise}[data-battle-cue=heal] .battle-mark strong{color:#e0ffdb}.battle-mark[data-critical]{--mark-background:#7d3523;color:#fff0a2;border-color:#ffe185;box-shadow:0 0 .65rem #ffb34a94}[data-battle-cue=damage] .battle-mark[data-critical] strong{color:#fff2a4}.battle-mark[data-critical]:after{content:"";aspect-ratio:1;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);background:#fff1a8;width:.55rem;position:absolute;inset:-.23rem -.28rem auto auto}@keyframes battle-mark-pop{0%{translate:0 .2rem;scale:.86}55%{scale:1.1}to{translate:0;scale:1}}@keyframes battle-heal-rise{0%{translate:0 .28rem}to{translate:0 -.26rem}}@keyframes battle-glow{0%{opacity:.9}to{opacity:.18}}@keyframes battle-ring{0%{opacity:.84;transform:scale(.56)}to{opacity:0;transform:scale(1.12)}}@keyframes battle-slash{0%{opacity:.94;transform:rotate(-24deg)scale(.65)}to{opacity:0;transform:rotate(-24deg)scale(1.21)}}@keyframes battle-sparks{0%{opacity:1;transform:translateY(12%)scale(.8)}to{opacity:0;transform:translateY(-15%)scale(1.1)}}.arena[data-fast] .battle-effect,.arena[data-fast] .battle-effect:before,.arena[data-fast] .battle-effect:after,.arena[data-fast] [data-battle-cue] .battle-mark{animation:none}.arena[data-fast] .battle-effect{opacity:.45}@media (prefers-reduced-motion:reduce){.arena .battle-effect,.arena .battle-effect:before,.arena .battle-effect:after,.arena [data-battle-cue] .battle-mark{animation:none}.battle-effect{opacity:.45}}[data-battle-cue=reinforcement-charge],[data-battle-cue=reinforcement],[data-battle-cue=promotion-charge],[data-battle-cue=promotion]{--arrival-ink:#ffb251;--arrival-halo:#f9803666;z-index:3}[data-battle-enhanced]{--arrival-ink:#ffdb70;--arrival-halo:#ffb02099}.arrival-light,.arrival-light>span{pointer-events:none;display:block;position:absolute}.arrival-light{inset:0}.arrival-light.charging .arrival-beam{background:conic-gradient(from -14deg at 50% 78%, #fff8cf 0deg, var(--arrival-ink) 13deg, transparent 28deg 345deg, var(--arrival-ink) 360deg);opacity:.65;transform-origin:50% 78%;animation:.54s ease-in both arrival-charge;inset:-85% -65% -25%}.arrival-ring{border:2px solid var(--arrival-ink);box-shadow:0 0 1rem var(--arrival-halo), inset 0 0 .7rem var(--arrival-halo);border-radius:50%;animation:.54s ease-in both arrival-charge;inset:18% -20%}.arrival-light.burst .arrival-ring{animation:.66s ease-out both arrival-expansion;inset:-15% -32%}.arrival-light.burst .arrival-sparks{background:radial-gradient(circle at 19% 26%, #fff8c5 0 2px, transparent 5px), radial-gradient(circle at 75% 16%, var(--arrival-ink) 0 3px, transparent 6px), radial-gradient(circle at 90% 50%, #fff7da 0 2px, transparent 5px), radial-gradient(circle at 34% 83%, var(--arrival-ink) 0 2px, transparent 5px), radial-gradient(circle at 11% 62%, #fff7dd 0 2px, transparent 6px), radial-gradient(ellipse, var(--arrival-halo), transparent 70%);animation:.79s ease-out both arrival-expansion;inset:-45% -62%}[data-battle-cue=reinforcement] .card-main{animation:.43s cubic-bezier(.15,.85,.25,1) both reinforcement-land}.reinforcement-banner{z-index:5;color:#fff5d9;text-align:center;pointer-events:none;background:linear-gradient(115deg,#713a19,#311b18 50%,#713a19);border:1px solid #ffd78d;border-radius:.4rem;gap:.1rem;width:max-content;max-width:calc(100% - 1.35rem);padding:.28rem clamp(.9rem,5vw,2rem);animation:.26s ease-out both reinforcement-banner-in;display:grid;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 0 1.45rem #fbb862b3,inset 0 0 .7rem #d998453d}.reinforcement-banner[data-arrival-side=enemy]{background:linear-gradient(115deg,#7e382a,#3a1b20 50%,#7e382a)}.reinforcement-banner[data-epic]{border-color:#fff2ac;box-shadow:0 0 1.9rem #ffc24cbf,inset 0 0 1rem #ed9e5573}.reinforcement-banner strong{letter-spacing:.1em;font-size:clamp(1.15rem,6vw,1.65rem);line-height:1.15}.reinforcement-banner>span{font-size:.77rem;font-weight:750}[data-battle-cue=promotion] .battle-mark{min-width:100%;line-height:1.22}@keyframes arrival-charge{0%{opacity:.15;transform:scale(1.38)}to{opacity:.86;transform:scale(.9)}}@keyframes arrival-expansion{0%{opacity:.95;transform:scale(.42)}72%{opacity:.53}to{opacity:.08;transform:scale(1.35)}}@keyframes reinforcement-land{0%{opacity:.35;transform:translateY(-.85rem)scale(.78)}74%{opacity:1;transform:scale(1.045)}to{opacity:1;transform:scale(1)}}@keyframes reinforcement-banner-in{0%{opacity:.45;transform:translate(-50%,-50%)scale(.9)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.arrival-light>span,[data-battle-cue=reinforcement] .card-main,.reinforcement-banner{animation:none}.arrival-light .arrival-beam,.arrival-light .arrival-sparks{display:none}}.detail-dialog[data-fixed-footer][open]{flex-direction:column;display:flex;overflow:hidden}.detail-dialog[data-fixed-footer]>:is(.sheet-heading,.detail-toolbar,.detail-footer){flex:none}.detail-dialog[data-fixed-footer] .sheet-heading h2{margin-bottom:0}.detail-scroll{isolation:isolate;overscroll-behavior:contain;min-height:0;padding:.15rem .15rem .5rem;overflow-y:auto}.detail-scroll .detail-card{max-width:clamp(9rem,25dvh,12.5rem)}.detail-scroll:focus-visible{outline-offset:-2px}.detail-footer{border-top:1px solid var(--line);padding-top:.55rem}.detail-footer .detail-controls{margin-top:0}.ability-list{gap:.42rem;margin:.6rem 0 0;padding:0;list-style:none;display:grid}.ability-list li{border:1px solid var(--line);border-inline-start:3px solid var(--ability-ink);background:#fffaf1;border-radius:.45rem;padding:.48rem .6rem}.ability-heading{flex-wrap:wrap;align-items:center;gap:.2rem .45rem;display:flex}.ability-heading strong{font-size:.94rem}.ability-tags{flex-wrap:wrap;gap:.22rem;display:inline-flex}.ability-tag{width:1.55rem;height:1.55rem;color:var(--ability-ink);background:var(--ability-tint);border-radius:.3rem;place-items:center;display:inline-grid}.ability-tag .action-icon{width:1.14rem;height:1.14rem}.ability-list li>p{margin-top:.2rem;font-size:.9rem;line-height:1.55}.ability-list [data-category=damage]{--ability-ink:#922e25;--ability-tint:#f9e1dc}.ability-list [data-category=heal]{--ability-ink:#23623d;--ability-tint:#dfefde}.ability-list [data-category=defense]{--ability-ink:#234f74;--ability-tint:#e0edf6}.ability-list [data-category=disrupt]{--ability-ink:#633778;--ability-tint:#f0e3f6}.ability-list [data-category=buff]{--ability-ink:#794710;--ability-tint:#f8ead3}.ability-list [data-category=cleanse]{--ability-ink:#1d625d;--ability-tint:#ddefeb}.ability-list [data-category=resource]{--ability-ink:#664e1d;--ability-tint:#f3ead0}.ability-list [data-category=growth]{--ability-ink:#683e61;--ability-tint:#f2e4ee}
