/* The battlefield is a single nearest-neighbour canvas; this canvas is an offscreen FX buffer. */
#effects{display:none}.vignette{background:linear-gradient(180deg,#17151e88,transparent 25%,transparent 60%,#17151ebb);opacity:.65}
:root{--panel:#272330ef;--gold:#edc28a;--muted:#c0aca6}body{background:#211d29}button{border-radius:0;background:#292330e8;border-color:#a585704f}button:hover{background:#4c3640;border-color:#dfaf79}
.topbar{padding:20px 28px;background:linear-gradient(#201d2bf2,#201d2bc9);border-bottom:1px solid #b1855d50;box-shadow:0 3px 0 #130f1b66}.brand-icon{background:#b16c4033;border-color:#c99a66;transform:none}.health-track{height:7px;border:1px solid #d9af78;background:#31292d}.health-track i{background:#dcb77c;box-shadow:inset 0 2px #ffe2ad66}
.side-note{top:115px;left:28px}.side-note>span{font-size:7px;letter-spacing:1.4px;color:#bc9b83}.side-note>b{font-size:21px;line-height:1.3;margin-top:9px;color:#efceb1;text-shadow:2px 2px #211a27}.side-note p{display:none}.kill-count{margin-top:14px}.kill-count strong{font:28px Georgia;color:#efc78e}.kill-count span{font-size:7px;color:#bda592}
.bottom-hud{padding:12px 28px 12px;background:linear-gradient(0deg,#211d2bf7 70%,#211d2be6);border-top:1px solid #b78d5c55;box-shadow:0 -3px 0 #130f1b55}.school-group{background:#282330e8;border-color:#b5916b50;border-top-color:var(--rune);box-shadow:inset 0 -3px #100f1940}.flow{margin-bottom:9px}.bottom-line{margin-top:9px}.bottom-line a{pointer-events:auto;color:#b5a398;text-decoration:none;letter-spacing:1px}.bottom-line a:hover{color:#f0d09e}
.hand-dock{bottom:158px;right:24px;max-width:calc(100vw - 48px)}.hand-caption{margin-bottom:5px;background:#211c2bc9;padding:5px 8px;border-left:2px solid #bd965f}.hand-caption span{color:#c4afa2}#hand-cards{padding-top:4px;padding-bottom:8px;gap:9px}.talisman.hand-card{width:82px;flex-basis:82px;height:131px;padding:10px 5px;box-shadow:3px 4px 0 #100e1d88;transition:transform .15s,box-shadow .15s}.hand-card:hover{transform:translateY(-4px) rotate(-2deg);box-shadow:4px 8px 0 #100e1d77,0 0 18px #e9c07744}.hand-card .card-glyph{width:53px;height:54px;margin:3px auto}.hand-card .card-name{font-size:9px}.hand-card .card-seal{width:18px;height:18px;font-size:11px;line-height:14px;margin-top:5px}.hand-card .card-level{font-size:5px}.hand-card.fusion-hover{animation:fusion-ready .6s ease-in-out infinite alternate;border-color:#fff0b2;outline:2px solid #ffe6a7}.hand-card.drag-source{opacity:.18;transform:translateY(4px) scale(.94)}
#drag-card{will-change:transform,left,top;box-shadow:4px 9px 0 #170f2755,0 0 17px #efd49944}.aim-label{background:#2d2435f5;border-color:#e0b982;color:#f1d3a4;padding:8px 12px;box-shadow:2px 3px 0 #110d1f77}.toast{background:#2b2333f5;border-color:#b78a54;box-shadow:3px 4px 0 #100e1d66;font-size:11px;max-width:570px}.draw-feedback{background:#292231ed}.target{filter:drop-shadow(2px 2px #100e1baa)}.crowd-target .target-weakness{background:#28212ff0;border:1px solid var(--accent);padding:5px 7px;font-size:9px;gap:5px}.crowd-target i{opacity:.6}.target.hover .target-weakness{background:#5b4344}.target.urgent .target-weakness{box-shadow:0 0 12px #f56d4150}.target-weakness small{color:#e6cfb9}
.overlay{background:linear-gradient(90deg,#211c2cf0,#211c2ccc 40%,#211c2c22 88%)}.modal-overlay{background:#17121fbd}.modal-panel{background:#2c2535;border-color:#b18c61}.primary{background:#e4bd83;color:#2b2231;border-color:#f1d19b;box-shadow:3px 3px 0 #130e1b88}.primary:hover{background:#f2d39e}.secondary{background:#2d2634d9}.intro-panel>p{color:#cabbaf}.intro-panel .eyebrow{color:#d3a87a}.intro-steps{color:#d6bfa9}.intro-book{color:#ecc790}.difficulty-label select{background:#2b2534;border-color:#b18c6177}.grimoire{background:#2a2634}.book-preview{background:#201e2b88}
@keyframes fusion-ready{from{transform:translateY(-4px) scale(1);box-shadow:0 0 14px #ffe29b55}to{transform:translateY(-6px) scale(1.04);box-shadow:0 0 28px #ffe29baa}}
@media(max-width:700px){.topbar{padding:12px 10px}.side-note{display:none}.bottom-hud{padding:8px 8px 10px}.hand-dock{bottom:139px;right:10px;max-width:calc(100vw - 20px)}.talisman.hand-card{width:66px;flex-basis:66px;height:112px;padding:8px 4px}.hand-card .card-glyph{width:45px;height:44px}.hand-card .card-name{font-size:7px}.hand-card .card-seal{margin-top:3px;width:16px;height:16px;font-size:10px;line-height:12px}.hand-card>small{font-size:4px}.hand-caption{font-size:6px}.crowd-target .target-weakness{font-size:6px;padding:3px;gap:2px}.target-weakness small{font-size:5px}.bottom-line a{letter-spacing:0}.toast{font-size:8px}.aim-label{max-width:240px;white-space:normal}}
@media(max-height:700px) and (min-width:701px){.hand-dock{bottom:139px}.talisman.hand-card{height:109px;flex-basis:68px;width:68px;padding:7px 4px}.hand-card .card-glyph{width:42px;height:40px}.hand-card .card-seal{margin-top:3px}.hand-card .card-name{font-size:7px}.side-note{display:none}.bottom-hud{padding-top:8px}.flow{margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){.hand-card.fusion-hover,.talisman{animation:none}.hand-card{transition:none}}

@media(min-width:701px){.toast{left:50%;transform:translateX(-50%);top:104px;max-width:570px;text-align:center}}
