:root{font-family:ui-sans-serif,system-ui,-apple-system,Noto Sans JP,Meiryo,sans-serif;color:#f4e9dc;background:#130f1a;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:300px;background:radial-gradient(ellipse at 50% -20%,#433048 0%,transparent 48%),radial-gradient(ellipse at 92% 100%,#272337 0%,transparent 50%),#130f1a;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.43;filter:grayscale(.65)}button:focus-visible,input:focus-visible{outline:3px solid #ffd68a;outline-offset:3px}button:not(:disabled):active{transform:translateY(2px)}#app{max-width:1540px;margin:auto;padding:18px clamp(10px,2vw,30px)}.topbar{display:flex;align-items:center;gap:25px;justify-content:space-between;border-bottom:1px solid #69516a;padding:9px 0 20px}.logo small,.eyebrow{color:#c99d90;font-size:10px;font-weight:900;letter-spacing:.25em}.logo h1{margin:6px 0 0;font-family:Georgia,Yu Mincho,serif;font-weight:900;letter-spacing:.07em;color:#f5ddbb;font-size:clamp(25px,3.5vw,48px);text-shadow:0 4px 14px #0008}.logo h1 em{font-style:normal;color:#dfa784}.logo p{margin:4px 0 0;color:#cbb5be;font-size:12px;letter-spacing:.09em}.top-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.chip{border:1px solid #7b6774;border-radius:30px;background:#302537;padding:8px 12px;white-space:nowrap;font-size:12px;font-weight:800}.secondary,.action{border-radius:10px;border:1px solid #947381;padding:10px 16px;background:linear-gradient(150deg,#403146,#251d30);color:#fce9df;font-weight:800;box-shadow:0 3px 10px #0004}.action{background:linear-gradient(135deg,#e4ad78,#cd7d6a);color:#241723;border-color:#f6d9ad;box-shadow:0 5px 15px #0005}.layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;padding-top:20px}.game-column{min-width:0}.battle-frame{position:relative;border:1px solid #79597a;overflow:hidden;border-radius:20px;background:#191321;box-shadow:0 22px 60px #0005,inset 0 0 40px #0005}.battle-frame:before{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 18%,#efcbb108,transparent 62%);z-index:1}#phaser-stage{width:100%;aspect-ratio:920/420;max-height:510px}#phaser-stage canvas{display:block;max-width:100%}.battle-stats{position:absolute;z-index:2;left:4%;right:4%;bottom:12px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;pointer-events:none}.unit-stats{display:flex;flex-direction:column;gap:6px;align-items:center;width:31%;min-width:110px;max-width:260px}.hp-track{position:relative;width:100%;height:21px;border-radius:20px;background:#1e1526;border:1px solid #e4a0a0;overflow:hidden}.hp-fill{position:absolute;inset:0 auto 0 0;width:100%;background:linear-gradient(90deg,#bd476a,#f58284);transition:width .18s}.hp-text{position:absolute;top:0;right:0;bottom:0;left:0;font-size:11px;font-weight:900;display:grid;place-items:center;text-shadow:0 1px 4px #000}.status{font-size:11px;min-height:18px;color:#d8d1e2;text-align:center;text-shadow:0 1px 4px #000}.intent{position:absolute;bottom:52px;right:0;color:#ffe1bd;border:1px solid #8e6c70;background:#422b3bf2;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:800;text-align:center;white-space:nowrap}.combat-bar{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:11px 0 0;padding:12px 16px;border:1px solid #72596d;border-radius:16px;background:#241d2c}.energy{font-size:24px;font-weight:900;color:#fbd58b;white-space:nowrap}.piles{font-size:12px;color:#d6c4d0;margin-right:auto}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:18px 0 12px}.section-heading strong{font-size:16px}.section-heading span{font-size:12px;color:#cbb8c6}.hand{min-height:238px;display:flex;gap:11px;overflow-x:auto;padding:5px 0 17px;scrollbar-width:thin;scrollbar-color:#8d6e91 transparent}.game-card{flex:0 0 155px;min-height:216px;color:#fce9d8;padding:9px;border:2px solid #ce8e83;border-radius:15px;position:relative;display:flex;flex-direction:column;gap:7px;align-items:center;background:linear-gradient(145deg,#5b3241,#2a1f2e 74%);box-shadow:0 7px 18px #0007;text-align:center;transition:transform .15s,box-shadow .15s}.game-card.skill{border-color:#8eb3d5;background:linear-gradient(145deg,#35516d,#252538 74%)}.game-card.power{border-color:#bfa0dd;background:linear-gradient(145deg,#59446b,#292238 74%)}.game-card:not(:disabled):hover{transform:translateY(-8px);box-shadow:0 14px 22px #000b,0 0 12px #f6bb9b42}.game-card .mana{position:absolute;top:-8px;left:-8px;border:2px solid #fff2cf;border-radius:100%;background:#e3b36f;color:#241725;min-width:32px;height:32px;display:grid;place-items:center;font-weight:900}.card-name{min-height:37px;display:grid;place-items:center;font-size:13px;font-weight:900;line-height:1.35;margin-top:10px}.card-art{font-size:45px;background:radial-gradient(circle,#fff2d722,transparent 70%);border:1px solid #ffffff1b;border-radius:9px;width:100%;min-height:64px;display:grid;place-items:center}.card-effect{font-size:11px;line-height:1.6;min-height:44px}.rarity{color:#e8c8d0;font-size:10px;margin-top:auto;letter-spacing:.08em}.notice{min-height:22px;font-size:12px;color:#ffd29c}.sidebar{display:flex;flex-direction:column;gap:12px}.panel{border:1px solid #68536e;background:#241d2bdc;border-radius:16px;padding:16px;box-shadow:0 10px 22px #0003}.panel h2{font-size:14px;color:#ffd9a8;margin:0 0 11px}.panel p{font-size:12px;color:#e4d8e0;line-height:1.75;margin:8px 0}.panel .muted,.muted{color:#b9a9c0;font-size:11px;line-height:1.7}.progress{display:flex;gap:8px;padding:8px 0}.progress-dot{height:11px;flex:1;max-width:66px;border-radius:20px;border:1px solid #796274;background:#382c41}.progress-dot.done{background:#b8a0a5}.progress-dot.active{background:#f0bc75;border-color:#ffe4ae;box-shadow:0 0 15px #ffcb7a55}.battle-log{max-height:240px;overflow:auto}.battle-log p{padding:5px 0;border-bottom:1px solid #ffffff14;margin:0;font-size:11px;line-height:1.5}.seed-row{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap;margin-top:8px}.seed-row input{min-width:0;width:100%;flex:1;border:1px solid #8c7389;border-radius:8px;background:#191422;padding:10px;color:#ffe8cf}.seed-row button{font-size:11px}label{font-size:12px;color:#cfb9c5}footer{margin-top:15px;padding-top:15px;color:#a493aa;text-align:center;font-size:10px;letter-spacing:.02em;border-top:1px solid #49384d}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0e0b17dd;z-index:20;display:grid;place-items:center;padding:15px;overflow:auto}.overlay.hidden{display:none}.modal{width:min(760px,100%);max-height:90vh;overflow:auto;background:radial-gradient(ellipse at top,#58394c,#251d30 65%);border:1px solid #d4ab84;border-radius:20px;box-shadow:0 25px 100px #000b;padding:25px;text-align:center}.modal h2{font-family:Georgia,Yu Mincho,serif;font-size:clamp(24px,4vw,38px);color:#ffd9a2;margin:10px 0}.modal p{line-height:1.9;color:#f0e0dd;font-size:13px}.reward-cards{display:flex;justify-content:center;align-items:stretch;gap:13px;flex-wrap:wrap;margin:23px auto}.reward-cards .game-card{flex:0 1 180px}body:has(.overlay:not(.hidden)){overflow:hidden}@media(max-width:1050px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.battle-log{max-height:125px}.game-card{flex-basis:149px}}@media(max-width:610px){#app{padding:8px 9px}.topbar{padding-bottom:11px;gap:10px;align-items:flex-start;flex-direction:column}.logo h1{font-size:29px}.top-actions{justify-content:flex-start}.chip{font-size:10px;padding:6px 10px}.layout{gap:12px;padding-top:11px}.battle-frame{border-radius:12px}.battle-stats{left:2%;right:2%;bottom:4px}.unit-stats{width:39%;min-width:0}.hp-track{height:16px}.hp-text,.status{font-size:9px}.intent{font-size:10px;bottom:38px;right:-3px;padding:3px 5px}.combat-bar{margin-top:8px;padding:9px 10px;gap:5px}.energy{font-size:20px}.piles{font-size:10px}.combat-bar button{padding:7px 9px;font-size:11px}.section-heading{margin:12px 0 8px}.section-heading>span{font-size:10px}.hand{min-height:212px}.game-card{flex-basis:136px;min-height:202px}.card-name{font-size:12px}.card-art{font-size:37px;min-height:57px}.card-effect{font-size:10px}.rarity{font-size:9px}.sidebar{grid-template-columns:1fr;gap:9px}.panel{padding:12px}.panel:nth-child(3){display:none}.modal{padding:17px}.reward-cards .game-card{flex-basis:138px}.reward-cards{gap:9px}.logo p{font-size:11px}}.map-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:20px auto;max-width:720px}.map-node{border-radius:16px;min-height:105px;border:1px solid #dfb78c;background:linear-gradient(145deg,#57404b,#2b2037);color:#ffecd7;padding:17px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.map-node b{font-size:15px}.map-node small{color:#cab5c5;line-height:1.5;font-size:12px}.map-node:not(:disabled):hover{border-color:#ffe8ae;box-shadow:0 0 16px #f4c78d33}.shop-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.shop-list button,.deck-choice{padding:13px;border:1px solid #ad8d8c;border-radius:12px;background:#352b3c;color:#fbe5d2;text-align:left;display:flex;gap:12px;align-items:center;justify-content:space-between}.shop-list small,.deck-choice small{font-size:11px;color:#d4b9b3}.deck-choices{display:flex;flex-direction:column;gap:9px;margin:16px auto;max-width:580px;max-height:42vh;overflow:auto}.deck-choice{gap:13px}.deck-choice strong{min-width:110px}.menu-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:20px 0}.potions{display:flex;gap:6px;flex-wrap:wrap}.potion-list{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:16px}.potion{border:1px solid #9faaa6;border-radius:10px;background:#294547;color:#dafff1;padding:6px 9px;font-size:11px;display:flex;flex-direction:column;gap:4px;align-items:center;min-width:88px}.potion small{font-size:9px;color:#bde4d9}.empty-pot{color:#9c8d9f;font-size:10px}.modal .potion-list{padding-top:15px;border-top:1px solid #655168}.modal .potion{padding:11px}@media(max-width:610px){.map-choices{grid-template-columns:1fr}.map-node{min-height:75px;padding:12px}.shop-list{grid-template-columns:1fr}.deck-choice{flex-direction:column;align-items:flex-start}.potion{min-width:72px;font-size:10px}.potion small{font-size:9px}}.act-map-scroll{max-height:min(53vh,590px);overflow-y:auto;overscroll-behavior:contain;margin:16px 0;padding:9px 12px 9px 7px;border:1px solid #7c6475;border-radius:14px;background:linear-gradient(#1c1726,#272132);scrollbar-color:#b89378 #241e2e;scrollbar-width:thin}.act-map-row{display:grid;grid-template-columns:35px minmax(0,1fr);gap:8px;align-items:center;min-height:67px;border-bottom:1px dashed #624d60;padding:5px 3px}.act-map-row.current{border:1px solid #f0bf79;border-radius:12px;background:#5a413e66}.act-floor-label{font-size:11px;font-weight:800;color:#cbb9b3}.act-map-cells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.act-path-node{min-width:0;min-height:51px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #645466;border-radius:8px;background:#362d3b;color:#f6dbc2;padding:5px 2px;opacity:.65;filter:none!important;position:relative}.act-path-node span{font-size:20px;line-height:1.2}.act-path-node small{font-size:9px;line-height:1.15;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.act-path-node.available{background:#79553e;border:2px solid #f8c478;opacity:1;box-shadow:0 0 0 2px #f4cb8544,0 0 15px #e2aa6955;cursor:pointer}.act-path-node.available:hover{background:#9b6a4e;transform:translateY(-2px)}.act-path-node.visited{opacity:.95;background:#465345;border-color:#91ae81}.act-path-node.boss,.act-path-node.boss_relic{background:#633742}.act-map-scroll:focus-within{outline:1px solid #e0bf85}@media(max-width:610px){.act-map-scroll{max-height:57vh;padding:5px}.act-map-row{grid-template-columns:26px minmax(0,1fr);gap:2px;min-height:56px}.act-floor-label{font-size:9px}.act-path-node{min-height:47px;padding:3px 0}.act-path-node span{font-size:16px}.act-path-node small{font-size:7px}.progress{gap:2px}.progress-dot{height:9px}}.act-path-node .act-links{font-size:10px;color:#d4b8a3;min-height:10px;letter-spacing:-1px;white-space:nowrap}.enemy-targets{display:flex;gap:10px;margin-top:10px;overflow-x:auto;scrollbar-width:thin}.enemy-targets:empty{display:none}.enemy-target{flex:1 0 150px;min-width:0;max-width:300px;display:flex;flex-direction:column;gap:4px;align-items:flex-start;padding:10px 12px;background:#2e2536;color:#f6e5d2;border:1px solid #8d778f;border-radius:13px;text-align:left;cursor:pointer}.enemy-target strong{font-size:12px}.enemy-target span{font-size:12px;color:#f7b0ac}.enemy-target small{font-size:10px;color:#efd6bc}.enemy-target.selected{border:2px solid #ffcc81;background:#483146;box-shadow:0 0 0 2px #ad797444}.enemy-target:hover:not(.selected){border-color:#dfb48c}.enemy-target:focus-visible{outline:2px solid #fff4c5;outline-offset:3px}@media(max-width:610px){.enemy-targets{gap:6px}.enemy-target{flex-basis:139px;padding:7px}.enemy-target strong{font-size:11px}.enemy-target span{font-size:10px}.enemy-target small{font-size:9px}}.relic-list{display:flex;flex-wrap:wrap;gap:7px}.relic-entry{border:1px solid #ad9069;border-radius:10px;background:#423247;min-width:136px;flex:1 1 136px;max-width:260px;color:#f7e5cd}.relic-entry summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;padding:8px 10px;font-size:11px;font-weight:700}.relic-entry summary::-webkit-details-marker{display:none}.relic-entry summary:focus-visible{outline:2px solid #f6cc8a;border-radius:10px}.relic-icon{font-size:19px;flex-shrink:0}.relic-entry[open]{background:#533b4a;border-color:#e7bb7c}.relic-entry p{padding:0 10px 11px;font-size:10px!important;margin:0!important;color:#e9d5c1!important}@media(max-width:610px){.relic-entry{min-width:120px;flex-basis:120px}.relic-entry summary{font-size:10px}}.loot-panel{margin:16px 0;padding:14px;border:1px solid #80687e;border-radius:15px;background:linear-gradient(140deg,#30263a,#261c2e)}.loot-panel h3{margin:0 0 10px;font-size:14px;color:#f2d6aa}.relic-reward{display:flex;align-items:center;gap:16px;padding:14px;margin:11px 0;border:1px solid #d6a66d;border-radius:14px;background:linear-gradient(115deg,#4e3b45,#34293a)}.relic-reward-icon{font-size:50px;flex:0 0 62px;text-align:center;filter:drop-shadow(0 4px 6px #0007)}.relic-reward strong{font-size:18px;color:#ffdfa4}.relic-reward p{font-size:12px;line-height:1.65;margin:6px 0 0;color:#e9d7c8}.relic-choice-buttons{display:flex;gap:11px;flex-wrap:wrap;margin:13px 0 4px}.relic-choice-buttons button{flex:1 1 165px;min-height:44px}.reward-gold{font-size:14px;font-weight:800;color:#ffd486}.resolved-label{border:1px dashed #88b8a2;border-radius:9px;background:#2d443a;color:#c6ffe2;padding:12px;font-size:13px}@media(max-width:610px){.loot-panel{padding:10px}.relic-reward{padding:10px;gap:9px}.relic-reward-icon{font-size:36px;flex-basis:45px}.relic-reward strong{font-size:14px}.relic-reward p{font-size:11px}}.route-guide{margin:16px 0 12px;text-align:left;border:1px solid #e3b878;border-radius:15px;padding:14px;background:linear-gradient(150deg,#423344,#302638)}.route-guide-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;margin-bottom:11px}.route-origin{font-size:12px;color:#eee2d3}.route-next-title{font-size:14px;color:#ffdc97}.route-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px}.route-choice{display:flex;align-items:center;gap:10px;min-height:83px;padding:12px;background:#5b403b;border:2px solid #f2c17e;border-radius:12px;color:#ffebd5;text-align:left;box-shadow:0 0 14px #ffd28b24;cursor:pointer}.route-choice:hover,.route-choice:focus-visible{background:#765044;box-shadow:0 0 0 2px #ffd69566;outline:0}.route-choice-icon{font-size:27px;flex:0 0 32px;text-align:center}.route-choice-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.route-choice-body strong{font-size:13px}.route-choice-body small{font-size:11px;line-height:1.4;color:#e8d6c3}.route-choice-cta{font-size:11px;font-weight:800;color:#ffdfac;white-space:nowrap}.route-choice-cta span{font-size:18px;vertical-align:middle}.route-hint{font-size:11px!important;margin:10px 0 0!important;color:#ead8bf!important}.full-map-details{border-top:1px solid #6a5265;margin-top:15px;padding-top:11px;text-align:left}.full-map-details summary{cursor:pointer;color:#ffe2b9;font-size:13px;font-weight:800;padding:8px 4px;list-style:revert}.full-map-details summary:focus-visible{outline:2px solid #f6d69a;outline-offset:3px}.map-key{font-size:11px!important;color:#eaded1!important;margin:5px 0 9px!important}.act-map-row.current{background:#42604a36;border:1px dashed #9cbea0}.act-map-row.next{border:1px solid #e8b868;border-radius:12px;background:#b9814440;box-shadow:inset 0 0 0 1px #a8754677}.act-map-row.next .act-floor-label{color:#ffe0a1;font-size:12px}.act-path-node{min-height:62px;opacity:.38;filter:grayscale(.45)!important;cursor:default}.act-path-node.available{opacity:1;filter:none!important;background:#906038;border:2px solid #ffe0a2;box-shadow:0 0 0 2px #f2b56066,0 0 17px #ffce8466;min-height:65px;cursor:pointer}.act-path-node.available:hover,.act-path-node.available:focus-visible{background:#a67544;outline:2px solid #ffedc6;outline-offset:2px}.act-path-node.visited,.act-path-node.here{opacity:1;filter:none!important;background:#385644;border:2px solid #a4d8ac}.act-path-node.here{box-shadow:0 0 0 2px #8ad8a044}.act-path-node .node-status{min-height:11px;font-size:9px;line-height:1;font-weight:900;color:#ffebc4}.act-path-node.here .node-status{color:#c4f6ca}.act-path-node .act-links{font-size:12px;min-height:13px;color:#efd9bc}.act-path-node:disabled{color:#dbd0d2}.choice-hint{margin:8px 0 14px!important;color:#f4d9ad!important}.deck-choices:has(.upgrade-choice){max-width:740px;max-height:56vh}.deck-choices:has(.remove-choice){max-width:680px;max-height:55vh}.upgrade-choice{display:flex!important;flex-direction:column;align-items:stretch!important;gap:9px!important;text-align:left;cursor:pointer;border:1px solid #bfab91;background:#372a3c;padding:13px}.upgrade-choice:hover,.upgrade-choice:focus-visible{border-color:#ffe0a2;background:#493649;outline:2px solid #ffdb96;outline-offset:2px}.upgrade-card-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.upgrade-card-title strong{font-size:15px;color:#fff1d7;min-width:0!important}.upgrade-card-title small{font-size:11px;color:#c7b9d3}.upgrade-compare{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:9px;align-items:stretch}.upgrade-column{border:1px solid #7a6b7e;border-radius:9px;background:#2c2634;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:9px;line-height:1.5;font-size:12px}.upgrade-after{border:1px solid #eebc7a;background:#4c3c32;color:#fff3d4}.upgrade-label{font-size:10px;font-weight:800;color:#dbcbd6;letter-spacing:.04em}.upgrade-after .upgrade-label{color:#ffd184}.upgrade-cost,.card-cost-pill{border-radius:7px;background:#665037;color:#ffe5a7;font-size:12px;font-weight:800;padding:2px 7px;white-space:nowrap}.upgrade-column small{color:#c7c1c5;font-size:11px}.upgrade-after small{color:#f5d7aa}.upgrade-arrow{align-self:center;font-size:20px;text-align:center;color:#ffe0aa}.upgrade-cta{align-self:flex-end;font-size:12px;color:#ffdba2;font-weight:800}.remove-choice{display:flex;flex-direction:column;align-items:flex-start!important;gap:6px!important;cursor:pointer}.remove-choice strong{min-width:0!important}.remove-effect{font-size:12px;line-height:1.5}.remove-cta{font-size:11px;color:#ffdaaa;align-self:flex-end}.shop-wallet{padding:9px 12px;border-radius:9px;background:#3d3542;border:1px solid #997f72;font-size:13px!important;text-align:left}.shop-wallet strong{color:#ffe09e;font-size:17px}.shop-list .shop-offer{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:9px;min-height:150px;padding:13px;text-align:left;border:1px solid #877488;background:#352b3c}.shop-list .shop-offer:not(:disabled):hover,.shop-list .shop-offer:not(:disabled):focus-visible{border-color:#ffdb9d;background:#4b3544;outline:2px solid #efcb92;outline-offset:1px}.shop-offer-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px}.shop-offer-head strong{font-size:14px;color:#ffecd6}.shop-price{font-size:15px;font-weight:900;color:#ffe0a0;white-space:nowrap}.shop-meta{font-size:11px;color:#cfc0d5;min-height:19px}.shop-effect{font-size:12px;line-height:1.55;color:#fff1dc;flex:1}.shop-sub-effect{display:block;margin-top:5px;font-size:10px;color:#e6c6b8}.shop-action{align-self:flex-end;border-radius:8px;padding:6px 9px;font-weight:800;background:#66513c;color:#ffdda2;font-size:11px}.shop-list .shop-offer:disabled{opacity:.65}.shop-list .shop-offer:disabled .shop-effect{color:#f3e2d6}.shop-action-muted{background:#3c3740;color:#e2b9ac}@media(max-width:610px){.route-guide{padding:10px;margin:9px 0}.route-guide-head{align-items:flex-start;flex-direction:column}.route-choice-grid{grid-template-columns:1fr;gap:7px}.route-choice{min-height:66px;padding:9px}.route-choice-icon{font-size:23px}.route-choice-cta{font-size:10px}.route-choice-body strong{font-size:12px}.act-map-row{min-height:68px}.act-path-node,.act-path-node.available{min-height:60px}.act-path-node .node-status{font-size:7px;min-height:8px}.act-path-node span:not(.node-status):not(.act-links){font-size:15px}.upgrade-compare{grid-template-columns:minmax(0,1fr) 13px minmax(0,1fr);gap:4px}.upgrade-column{padding:8px 6px;font-size:11px;line-height:1.45}.upgrade-arrow{font-size:15px}.upgrade-card-title strong{font-size:13px}.deck-choices:has(.upgrade-choice){max-height:53vh}.shop-list .shop-offer{min-height:128px}.shop-effect{font-size:12px}}.modal:has(.spire-map-shell){width:min(990px,100%);max-height:94vh;background:linear-gradient(165deg,#32273a,#1c1827 72%);padding:20px}.spire-map-shell{max-width:920px;margin:4px auto 0;text-align:left}.spire-map-topline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 15px;background:#302639;border:1px solid #69556a;border-radius:10px;padding:12px 15px;color:#efdecc;font-size:13px}.spire-map-topline strong{color:#ffd699;font-size:13px}.spire-map-current{font-weight:750}.spire-map-instruction{font-size:12px!important;line-height:1.65!important;color:#dfcda9!important;margin:12px 3px!important;text-align:left}.spire-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 158px;gap:13px;align-items:start}.spire-map-scroll{height:min(67vh,660px);min-height:300px;overflow:auto;overscroll-behavior:contain;border:6px solid #6d4f43;border-radius:7px 13px 13px 6px;background:#c7a37b;box-shadow:inset 0 0 28px #583e3470,0 16px 32px #0e0a1099;scrollbar-color:#82614c #d9c3a0;scrollbar-width:thin;position:relative}.spire-map-scroll:focus-visible{outline:3px solid #f5c979;outline-offset:3px}.spire-map-paper{position:relative;min-width:320px;width:100%;height:var(--spire-map-height);background:radial-gradient(ellipse at 70% 14%,#f2dcaf80,transparent 48%),radial-gradient(ellipse at 20% 81%,#8e684330,transparent 60%),repeating-linear-gradient(114deg,transparent 0 61px,#7b583b0c 62px 64px),#d5b78b;border:1px solid #a5835c;box-shadow:inset 0 0 42px #7b543f86,inset 0 0 7px #e9d3ad}.spire-map-paper:before{content:"";position:absolute;top:12px;right:12px;bottom:12px;left:12px;pointer-events:none;border:1px dashed #7a583a4b;z-index:1}.spire-map-connections{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:visible}.spire-edge{fill:none;stroke:#7e684e;stroke-width:2.2;stroke-dasharray:3.5 9;stroke-linecap:round;opacity:.55}.spire-edge--traveled{stroke:#386f63;stroke-width:4;stroke-dasharray:3 7;opacity:.98;filter:drop-shadow(0 1px 0 #fff8)}.spire-edge--available{stroke:#ca6c18;stroke-width:4.5;stroke-dasharray:4 7;opacity:1;filter:drop-shadow(0 0 3px #f7db77cc)}.spire-floor-marker{position:absolute;left:7px;transform:translateY(-50%);font:800 10px ui-sans-serif,system-ui;color:#745b42;z-index:3;pointer-events:none;white-space:nowrap}.spire-floor-marker--next{color:#6e3018;font-size:12px;text-shadow:0 1px #fff3}.spire-node{position:absolute;transform:translate(-50%,-50%);z-index:4;width:53px;height:53px;min-width:53px;min-height:53px;display:grid;place-items:center;padding:0;border:2px solid #927452;border-radius:50%;background:radial-gradient(circle at 33% 20%,#ead7b5,#bd9c70 85%);color:#503929;box-shadow:0 2px 4px #3e2a204d;text-shadow:0 1px #fff6;transition:box-shadow .12s,border-color .12s,background .12s;cursor:default}.spire-node:disabled{opacity:1;filter:none;cursor:default;pointer-events:none}.spire-node-icon{font-size:27px;line-height:1;font-family:Georgia,Noto Sans JP,serif;font-weight:900}.spire-node--elite,.spire-node--boss{border-color:#754b56;color:#693841}.spire-node--rest{color:#914d32}.spire-node--shop{color:#485c2c}.spire-node--treasure,.spire-node--boss_relic{color:#5c5277}.spire-node--event{color:#806326}.spire-node--future{box-shadow:0 1px 4px #58473866;background:radial-gradient(circle,#dbc29a,#b99c76);border-color:#ac8c69;opacity:.9}.spire-node--visited,.spire-node--here{border:3px solid #3f806e;background:radial-gradient(circle,#d0e5c6,#7eac95);color:#244d42;box-shadow:0 0 0 3px #f8f0cfaa,0 0 10px #3c806077}.spire-node--available{cursor:pointer;border:3px solid #f8f0c3;background:radial-gradient(circle at 40% 23%,#fff0a5,#d89b35 86%);color:#603918;box-shadow:0 0 0 4px #b16b21,0 0 21px #ffe39acf;animation:spire-map-pulse 1.8s ease-in-out infinite}.spire-node--available:hover,.spire-node--available:focus-visible{border-color:#fff;background:radial-gradient(circle,#fff4c1,#efb74c);box-shadow:0 0 0 5px #c97f28,0 0 32px #ffe0a3;z-index:7;animation:none;transform:translate(-50%,-50%) scale(1.12)}.spire-node--available:active{transform:translate(-50%,-50%) scale(1.04)}.spire-node-flag{position:absolute;top:-19px;left:50%;transform:translate(-50%);padding:2px 7px;border-radius:999px;background:#a25c1c;color:#fff6d9;border:1px solid #f7ddab;font:900 10px ui-sans-serif,system-ui;white-space:nowrap;text-shadow:none}.spire-node-flag--here{background:#35675c;color:#f5ffec}.spire-map-entrance{position:absolute;z-index:5;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#704935;font-size:42px;font-family:Georgia,serif;line-height:1}.spire-map-entrance small{font:700 9px ui-sans-serif,system-ui;letter-spacing:.2em}.spire-map-boss-word{position:absolute;top:9px;left:50%;transform:translate(-50%);color:#7e4f3c;font-family:Georgia,Yu Mincho,serif;font-size:16px;font-weight:900;letter-spacing:.3em;white-space:nowrap;opacity:.7}.spire-map-legend{border:1px solid #907d77;background:linear-gradient(165deg,#d8cab4,#bba88f);box-shadow:0 6px 15px #0005;color:#4a382d;padding:14px 11px;border-radius:4px 12px;font-size:12px}.spire-map-legend h3{margin:0 0 12px;font-family:Georgia,Yu Mincho,serif;font-size:17px;color:#45352d;text-align:center;border-bottom:1px solid #987e66;padding-bottom:8px}.spire-map-legend ul{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:8px}.spire-map-legend li{display:flex;align-items:center;gap:9px;font-weight:750;white-space:nowrap}.spire-legend-glyph{width:24px;display:inline-grid;place-items:center;font:700 20px Georgia,serif}.spire-legend-glyph--battle{color:#634537}.spire-legend-glyph--elite,.spire-legend-glyph--boss{color:#723f49}.spire-legend-glyph--shop{color:#4f692b}.spire-legend-glyph--rest{color:#ac5539}.spire-legend-glyph--event{color:#99742d}.spire-legend-glyph--treasure{color:#515f7f}.spire-map-legend p{font-size:10px!important;color:#554636!important;margin:7px 0!important;line-height:1.4!important;display:flex;gap:7px;align-items:center}.spire-legend-line{width:28px;height:0;display:inline-block;border-top:3px dotted #6f6150;flex:none}.spire-legend-line--available{border-color:#c07622}.spire-legend-line--traveled{border-color:#35786e}.spire-map-footnote{font-size:11px!important;color:#c8b9c0!important;margin:12px 2px 0!important}@keyframes spire-map-pulse{50%{box-shadow:0 0 0 4px #b16b21,0 0 29px #ffe39a}}@media(max-width:700px){.modal:has(.spire-map-shell){padding:12px;max-height:97vh}.spire-map-topline{font-size:11px;padding:10px}.spire-map-topline strong{font-size:11px}.spire-map-layout{grid-template-columns:minmax(0,1fr);gap:9px}.spire-map-scroll{height:min(60vh,620px);border-width:4px}.spire-map-legend{padding:8px 10px}.spire-map-legend h3{text-align:left;font-size:12px;margin:0 0 7px;padding-bottom:5px}.spire-map-legend ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 7px;margin-bottom:7px}.spire-map-legend li{gap:3px;font-size:10px}.spire-legend-glyph{width:18px;font-size:17px}.spire-map-legend p{display:inline-flex;margin:4px 9px 3px 0!important;font-size:9px!important}.spire-node{width:51px;height:51px;min-width:51px;min-height:51px}.spire-node-icon{font-size:25px}.spire-floor-marker{font-size:9px;left:4px}.spire-map-instruction{font-size:11px!important}}@media(prefers-reduced-motion:reduce){.spire-node--available{animation:none}.spire-node{transition:none}}.spire-map-hover-note{margin:0 2px 12px!important;border:1px solid #725f43;background:#342a35;border-radius:9px;padding:8px 12px;color:#ffe1ac!important;font-size:12px!important;font-weight:700;min-height:38px}.spire-map-paper .spire-edge,.spire-map-paper .spire-node{transition:opacity .14s ease,stroke-width .14s ease,box-shadow .14s ease}.spire-map-paper--previewing .spire-edge:not(.spire-edge--preview){opacity:.18}.spire-map-paper--previewing .spire-edge--traveled:not(.spire-edge--preview){opacity:.64}.spire-map-paper--previewing .spire-edge--preview{stroke:#d6750b;stroke-width:5.7;stroke-dasharray:5 7;opacity:1;filter:drop-shadow(0 0 5px #ffe09b)}.spire-map-paper--previewing .spire-node:not(.spire-node--preview):not(.spire-node--here){opacity:.48}.spire-map-paper--previewing .spire-node--preview{opacity:1;border-color:#f8d886;box-shadow:0 0 0 3px #efac4a,0 0 19px #e69b3dbb;z-index:6}.spire-map-paper--previewing .spire-node--available.spire-node--preview{z-index:9}.spire-node--available{touch-action:manipulation}@media(max-width:700px){.spire-map-hover-note{font-size:11px!important;padding:7px 9px;line-height:1.45}}@media(prefers-reduced-motion:reduce){.spire-map-paper .spire-edge,.spire-map-paper .spire-node{transition:none}}.battle-frame .battle-stats{position:relative;left:auto;right:auto;bottom:auto;padding:10px 12%;gap:16px;align-items:flex-start;background:#171321;border-top:1px solid #68536e}.battle-stats .unit-stats{width:44%;min-width:0;max-width:350px}.battle-stats .intent{position:static;white-space:normal;max-width:100%;margin-bottom:2px}@media(max-width:610px){.battle-frame .battle-stats{padding:8px 4%;gap:12px}.battle-stats .unit-stats{width:46%}.battle-stats .intent{font-size:10px;padding:4px 6px}}.game-card .card-art{position:relative;overflow:hidden;isolation:isolate}.game-card .card-art-fallback{position:relative;z-index:0}.game-card .card-art-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;z-index:1}.game-card{flex-basis:158px;min-height:224px;padding:7px 7px 8px;gap:4px}.game-card .mana{top:-6px;left:-6px}.game-card .card-name{min-height:0;margin-top:9px;padding:0 9px;font-size:14px;font-weight:900;line-height:1.18;overflow-wrap:anywhere}.game-card .card-art{flex:1 0 86px;min-height:86px;width:100%;font-size:49px;margin:0}.game-card .card-effect{min-height:0;width:100%;font-size:12px;line-height:1.35;font-weight:650;padding:5px 4px;margin:0;border-radius:7px;background:#100d1b79;overflow-wrap:anywhere}.game-card .rarity{margin:0;font-size:10px;line-height:1.15;letter-spacing:.03em}.reward-cards .game-card{flex-basis:181px}@media(max-width:610px){.game-card{flex-basis:145px;min-height:218px;padding:6px;gap:3px}.game-card .card-name{font-size:13px;line-height:1.18;margin-top:8px}.game-card .card-art{min-height:80px;font-size:43px}.game-card .card-effect{font-size:11.5px;line-height:1.33}.game-card .rarity{font-size:10px}.reward-cards .game-card{flex-basis:155px}}.battle-rewards-list{display:flex;flex-direction:column;gap:12px}.battle-reward-item{display:flex;align-items:center;gap:15px;text-align:left;border:1px solid #b19077;border-radius:12px;padding:13px 16px;background:linear-gradient(115deg,#413146,#231c30);min-width:0}.battle-reward-symbol{font-size:32px;flex:0 0 50px;text-align:center}.battle-reward-item .item-art{flex:0 0 54px;width:54px;height:54px}.battle-reward-item>div:not(.battle-reward-actions){min-width:0}.battle-reward-item strong{display:block;font-size:17px;color:#ffdfa9}.battle-reward-item p{margin:4px 0;color:#f2e2d6;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.battle-reward-item small{font-size:12px;color:#d8bec0}.battle-reward-done{margin-left:auto;white-space:nowrap;color:#b5dfb8;font-size:12px;font-weight:800}.battle-reward-content{flex:1}.battle-reward-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.battle-reward-actions button{font-size:13px;padding:9px 12px;min-height:42px}.battle-reward-card-choice{text-align:left;padding:15px;border:1px solid #b19077;border-radius:12px;background:linear-gradient(115deg,#413146,#231c30)}.battle-reward-card-choice h3{font-size:18px;color:#ffdfa9;margin:0 0 10px}@media(max-width:650px){.battle-reward-item{flex-wrap:wrap;gap:9px;padding:10px}.battle-reward-item .item-art{flex:0 0 42px;width:42px;height:42px}.battle-reward-content{flex:1 1 calc(100% - 58px)}.battle-reward-actions{width:100%;justify-content:flex-end}.battle-reward-card-choice{padding:10px}}.potion-card-choice{display:flex;align-items:center;text-align:left;gap:9px;min-height:85px}.potion-card-choice .card-art{width:62px;height:66px;min-height:0;flex:0 0 62px}.potion-card-choice strong{min-width:95px}.potion-card-choice.is-picked{outline:3px solid #ffce7c;background:#534249}.potion-choice-footer{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:14px}.potion-choice-footer button{min-height:46px}@media(max-width:610px){.potion-card-choice{flex-wrap:wrap;gap:6px;padding:9px}.potion-card-choice strong{font-size:14px;min-width:0}.potion-card-choice .card-art{width:46px;height:52px;flex-basis:46px}}.modal--event{width:min(820px,100%);padding:24px}.modal--event .event-panel{text-align:left;max-width:710px;margin:auto}.modal--event .event-panel h2{text-align:left;font-size:clamp(26px,4vw,36px);margin:8px 0 12px}.modal--event .event-description{font-size:clamp(17px,2.1vw,20px);line-height:1.75;color:#fff0e3;margin:10px 0 21px}.modal--event .event-panel h3{font-size:17px;color:#ffdca1;margin:0 0 12px}.event-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.event-choice{border:2px solid #e2bd8a;background:linear-gradient(140deg,#614753,#31263b);border-radius:14px;padding:17px 20px;min-height:118px;color:#fff4e8;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:9px;cursor:pointer}.event-choice strong{font-size:clamp(18px,2vw,22px);line-height:1.25}.event-choice span{font-size:clamp(15px,1.5vw,17px);line-height:1.5;color:#f0dbca}.event-choice:hover,.event-choice:focus-visible{border-color:#ffe9af;background:linear-gradient(140deg,#81545a,#493147);outline-offset:3px}.modal--event .event-help{font-size:14px;color:#dccdc7;line-height:1.6;margin:13px 0 0}@media(max-width:650px){.modal--event{padding:18px}.event-choices{grid-template-columns:1fr;gap:10px}.event-choice{min-height:96px;padding:16px}.modal--event .event-description{font-size:17px}.modal--event .event-help{font-size:14px}}.spire-next-panel{border:1px solid #9b855d;background:linear-gradient(160deg,#3a302f,#2b2637);border-radius:14px;padding:13px 15px;margin:15px 0 12px}.spire-next-panel h3{margin:0 0 10px;color:#ffe0a2;font-size:18px;line-height:1.4}.spire-next-panel h3 small{font-size:13px;color:#ddc7a5}.spire-next-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.spire-next-choice{display:flex;align-items:center;text-align:left;gap:10px;border:2px solid #d6a65e;background:#4a3541;color:#fff1dd;border-radius:10px;padding:11px 12px;min-height:63px;cursor:pointer}.spire-next-choice:hover,.spire-next-choice:focus-visible{background:#655047;border-color:#ffe9af}.spire-next-choice strong{font-size:14px;line-height:1.35;display:block}.spire-next-choice small{font-size:12px;color:#e4c8af;display:block;margin-top:2px}.spire-next-icon{font-size:24px;min-width:30px;text-align:center}.spire-next-arrow{font-size:24px;margin-left:auto;color:#ffe0a2}.spire-next-panel>p{font-size:13px!important;color:#ddc9bd!important;line-height:1.55!important;margin:10px 0 0!important}@media(max-width:700px){.spire-next-panel{padding:12px}.spire-next-panel h3{font-size:17px}.spire-next-choices{grid-template-columns:1fr}.spire-next-choice{min-height:66px}.spire-node{width:40px;height:40px;min-width:40px;min-height:40px}.spire-node-icon{font-size:22px}.spire-node-flag{font-size:9px;top:-17px}}.game-card{--rarity-band:#69666e;--rarity-trim:#aaa6ad;--rarity-ink:#f7f2ea;border-color:var(--rarity-trim);isolation:isolate}.game-card.rarity-basic,.game-card.rarity-common{--rarity-band:#646873;--rarity-trim:#a3a4b0}.game-card.rarity-uncommon{--rarity-band:#315f96;--rarity-trim:#79c0ef}.game-card.rarity-rare{--rarity-band:#a77a24;--rarity-trim:#ffe09a;box-shadow:0 0 0 1px #f9db8659,0 8px 22px #0007}.game-card.rarity-status{--rarity-band:#5d4c5d;--rarity-trim:#a18c9d}.game-card .card-rarity-flag{position:absolute;right:6px;top:5px;border:1px solid var(--rarity-trim);background:var(--rarity-band);border-radius:5px;padding:2px 6px;color:var(--rarity-ink);font-weight:850;font-size:10px;line-height:1.15;letter-spacing:.02em;white-space:nowrap}.game-card .mana{top:3px;left:5px;z-index:3;min-width:29px;height:29px;font-size:14px}.game-card .card-name{background:linear-gradient(180deg,var(--rarity-band),#242632 150%);border:1px solid var(--rarity-trim);border-radius:4px;width:calc(100% + 12px);min-height:33px;line-height:1.2;margin-top:23px;padding:6px 5px 5px;font-size:13.5px;box-shadow:0 2px 6px #0005}.game-card.rarity-rare .card-name{color:#fff6d9}.game-card .card-art{position:relative;margin:0 0 10px;flex:1 0 80px;min-height:80px;padding-bottom:5px}.game-card .card-art-symbol{line-height:1;font-size:inherit}.game-card .card-type-badge{position:absolute;z-index:2;left:50%;bottom:-12px;transform:translate(-50%);padding:3px 10px;white-space:nowrap;min-width:63px;border:1.5px solid #f5deb0;background:#29252e;color:#fff1d6;font-size:11px;font-weight:900;line-height:1.25;box-shadow:0 2px 5px #0008}.game-card .card-type-badge--attack{background:#613945;clip-path:polygon(0 0,100% 0,91% 100%,9% 100%);padding-bottom:5px}.game-card .card-type-badge--skill{background:#285d74;border-radius:3px}.game-card .card-type-badge--power{background:#5d477f;border-radius:999px}.game-card .card-type-badge--status{background:#574653;border-radius:3px}.game-card .card-effect{margin-top:4px}@media(max-width:610px){.game-card .card-rarity-flag{top:5px;right:4px;font-size:10px}.game-card .card-name{font-size:12.5px;margin-top:23px;padding:6px 4px}.game-card .card-art{min-height:70px;flex-basis:70px}.game-card .card-type-badge{font-size:11px}}.target-guidance{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-top:10px;padding:10px 13px;border:2px solid #ffd184;border-radius:12px;background:#4d302c;color:#fff1d5}.target-guidance.hidden{display:none}.target-guidance strong{font-weight:900;font-size:16px}.target-guidance strong span{font-size:13px;color:#f3d092}.target-guidance small{font-size:13px;font-weight:650;color:#fbe0bc;line-height:1.45}.enemy-targets{margin-top:8px;gap:10px;padding:3px 2px 7px}.enemy-target{min-height:86px;flex:1 0 155px;max-width:none;gap:4px;padding:10px 12px;border:2px solid #716b77;border-radius:12px}.enemy-target strong{font-size:14px;line-height:1.25}.enemy-target span,.enemy-target small{font-size:12px}.enemy-target .enemy-target-pick{display:block;color:#e5c7ac;font-size:12px;font-weight:850;min-height:17px}.enemy-target.selected{border:3px solid #ffe39b;background:linear-gradient(160deg,#794e38,#403043);box-shadow:0 0 0 2px #a65b25,0 0 16px #ffc96d88}.enemy-target.selected .enemy-target-pick{color:#fff2b0;font-size:13px}.enemy-target:focus-visible{outline:3px solid #ffedac;outline-offset:2px}@media(max-width:610px){.target-guidance{padding:9px 10px;gap:4px}.target-guidance strong{font-size:14px}.target-guidance small{font-size:12px}.enemy-target{min-height:88px;flex-basis:154px;padding:8px 10px}.enemy-target strong{font-size:13px}.enemy-target span,.enemy-target small{font-size:12px}}.card-meta-inline{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}.card-meta-rarity,.card-meta-type{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:5px;border:1px solid #ad9a96;font-size:12px;font-weight:850;line-height:1.2;color:#fff2e0;white-space:nowrap}.card-meta-rarity{background:#63646d}.card-meta-rarity.rarity-uncommon{background:#315f96;border-color:#78bce9}.card-meta-rarity.rarity-rare{background:#916e26;border-color:#f0cf7a;color:#fff6d6}.card-meta-rarity.rarity-status{background:#654e64;border-color:#b196b4}.card-meta-type{background:#613d47}.card-meta-type.type-skill{background:#286077;border-color:#6fbbd9}.card-meta-type.type-power{background:#5c477e;border-radius:999px;border-color:#ac9bdb}.card-meta-type.type-status{background:#574553}.shop-meta .card-meta-rarity,.shop-meta .card-meta-type{margin-right:5px;margin-bottom:4px}.shop-meta .card-cost-pill{display:inline-flex;vertical-align:middle}.upgrade-card-title .card-meta-inline,.remove-choice .card-meta-inline{font-size:12px}@media(max-width:610px){.card-meta-rarity,.card-meta-type{font-size:12px;padding:4px 7px}}.game-card .card-rarity-flag{font-size:12px;padding:3px 7px}.game-card .card-type-badge{font-size:12px}@media(max-width:610px){.game-card .card-rarity-flag{font-size:11.5px}.game-card .card-type-badge{font-size:12px}.game-card .card-name{font-size:13px}}.game-card .card-art{width:100%;aspect-ratio:1;flex:none;min-height:0;margin:0;padding:0;overflow:hidden}.game-card .card-type-badge{position:static;transform:none;margin:-3px auto 0;flex:none}.game-card .card-effect{margin-top:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.card-art-thumbnail{position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;width:90px;height:90px;min-height:90px;flex:0 0 90px;border-radius:8px;background:#171321;font-size:36px}.card-art-thumbnail .card-art-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;z-index:1}.shop-offer .card-art-thumbnail{align-self:center;margin:auto}.upgrade-choice{flex-wrap:wrap}.upgrade-choice .upgrade-card-title{flex:1}.upgrade-choice .upgrade-compare{flex-basis:100%}.remove-choice{flex-wrap:wrap}.remove-choice .remove-effect{flex-basis:100%}.deck-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin:20px 0}.deck-gallery .game-card{min-width:0;cursor:default}@media(max-width:610px){.card-art-thumbnail{width:100px;height:100px;min-height:100px;flex-basis:100px}.upgrade-choice .card-art-thumbnail{align-self:center}.game-card .card-effect{font-size:11px}}.item-art{position:relative;display:inline-flex;flex:0 0 40px;align-items:center;justify-content:center;width:40px;height:40px;vertical-align:middle;isolation:isolate}.item-art-fallback{display:grid;place-items:center;position:absolute;top:0;right:0;bottom:0;left:0;font-size:26px;line-height:1}.item-art-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;z-index:1}.relic-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.relic-icon .item-art{flex-basis:32px;width:32px;height:32px}.relic-icon .item-art-fallback{font-size:23px}.relic-reward-icon{display:inline-flex;align-items:center;justify-content:center}.relic-reward-icon .item-art{flex-basis:62px;width:62px;height:62px}.relic-reward-icon .item-art-fallback{font-size:44px}.potion .item-art{flex:0 0 42px;width:42px;height:42px}.potion strong{font-size:12px;line-height:1.35}.potion small{font-size:11px;line-height:1.4}.potion:hover .item-art,.potion:focus-visible .item-art{filter:drop-shadow(0 0 5px #8bd8e8b5)}.shop-offer>.item-art{flex:0 0 70px;width:70px;height:70px;align-self:center;margin:1px auto 5px}.shop-offer>.item-art .item-art-fallback{font-size:42px}.map-node b .item-art{width:43px;height:43px;flex-basis:43px;margin-right:5px}.map-node b{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap}@media(max-width:610px){.relic-icon .item-art{flex-basis:30px;width:30px;height:30px}.relic-reward-icon .item-art{flex-basis:46px;width:46px;height:46px}.potion .item-art{flex-basis:39px;width:39px;height:39px}.potion strong{font-size:11px}.potion small{font-size:10px}.shop-offer>.item-art{flex-basis:60px;width:60px;height:60px}}.topbar{position:sticky;top:0;z-index:45;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;margin:-8px -8px 6px;background:#171321f5;border-bottom:1px solid #594759;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar .logo{min-width:0}.topbar .logo h1{font-size:clamp(16px,1.8vw,22px);line-height:1.2;margin:0;white-space:nowrap}.topbar .top-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:7px;margin:0;min-width:0}.topbar .chip{font-size:12px;white-space:nowrap;min-height:34px;display:inline-flex;align-items:center}.topbar #view-deck{min-height:36px;white-space:nowrap;font-size:12px;padding:6px 10px}.top-more{position:relative}.top-more summary{list-style:none;cursor:pointer;display:grid;place-items:center;min-width:38px;min-height:36px;border-radius:9px;border:1px solid #72657b;background:#2d2638;color:#ffdfa8;font-size:25px;line-height:1}.top-more summary::-webkit-details-marker{display:none}.top-dropdown{position:absolute;top:100%;right:0;min-width:190px;padding:10px;border:1px solid #987a6c;border-radius:10px;background:#302637;box-shadow:0 12px 28px #000b;z-index:60}.top-dropdown button{width:100%}.overlay{padding-top:75px}.sidebar{gap:8px}.sidebar .panel{padding:10px 12px}.sidebar .relic-panel{background:#201d2c}.sidebar-optional summary{cursor:pointer;font-size:13px;font-weight:750;color:#f9d9aa;min-height:26px}.sidebar-optional:not([open]){background:#201b28b8}.sidebar-optional[open] summary{margin-bottom:10px}.sidebar-optional .battle-log{max-height:170px}.battle-stats .intent{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;border:0}.target-guidance:not(.hidden){position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;border:0;margin:0}#enemy-targets{display:block;margin:4px 0 0;padding:0}.enemy-details{margin:0;border:1px solid #675362;border-radius:10px;background:#251e30a6}.enemy-details summary{cursor:pointer;font-size:12px;color:#d3c2bd;padding:7px 12px;min-height:34px}.enemy-details[open] summary{border-bottom:1px solid #65556c}.enemy-target-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;padding:9px}.enemy-target-grid .enemy-target{min-height:65px;max-width:none;font-size:12px}.enemy-target-grid .enemy-target small{font-size:11px;color:#f2d6bd}.term-tip{color:#ffe7a5;border-bottom:1px dotted #eec882;cursor:help;font-weight:700;border-radius:2px}.term-tip:hover,.term-tip:focus-visible{background:#614a38;outline:1px solid #f7d99a;outline-offset:2px}.info-tooltip{position:fixed;z-index:110;display:flex;flex-direction:column;gap:6px;pointer-events:none;width:max-content;max-width:min(335px,calc(100vw - 16px));padding:12px 15px;border:1px solid #ffe0a5;border-radius:12px;background:#211a2bf5;color:#ffefdf;box-shadow:0 10px 30px #000c;line-height:1.55;font-size:13px}.info-tooltip strong{font-size:14px;color:#ffd58c}.info-tooltip[hidden]{display:none!important}@media(max-width:700px){.topbar{flex-wrap:wrap;gap:6px;margin:-8px -9px 6px;padding:7px 9px 9px}.topbar .logo h1{font-size:17px}.topbar .top-actions{width:100%;justify-content:space-between;gap:4px}.topbar .chip{font-size:11px;min-height:32px;padding:4px 7px}.topbar #view-deck{min-height:35px;font-size:11px;padding:4px 7px}.top-more summary{min-width:35px;min-height:35px}.overlay{padding-top:97px}.battle-frame{margin-top:0}.sidebar{display:flex;flex-direction:column;gap:5px}.sidebar .panel{padding:9px}.enemy-details summary{font-size:11px}.info-tooltip{font-size:12px;padding:10px 12px}}.relic-panel>summary{cursor:pointer;color:#ffddb0;font-size:13px;font-weight:800;min-height:26px}.relic-panel[open]>summary{margin-bottom:10px}.relic-panel:not([open]){background:#201b28b8}#app{max-width:1920px;padding:8px 16px}.topbar{margin:0;gap:12px;padding:6px 0;height:52px}.topbar .logo h1{font-size:18px;letter-spacing:.02em}.topbar .top-actions{flex:1;justify-content:flex-end;gap:8px}.hud-potions,.hud-strip{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}.hud-potions{flex-shrink:0}.hud-relics{display:flex;align-items:center;gap:6px;min-width:0;max-width:330px;flex:1}.hud-label{font-size:11px;white-space:nowrap;color:#c9b9cb}.hud-strip{overflow-x:auto;scrollbar-width:thin;min-width:0;padding:3px}.hud-icon,.hud-empty{display:inline-grid;place-items:center;width:34px;height:34px;min-width:34px;flex:0 0 34px;border:1px solid #66556e;border-radius:8px;background:#292334;color:#e4cdac;padding:2px}.hud-icon .item-art{width:28px;height:28px;flex-basis:28px}.hud-icon:hover{background:#4c3e52;border-color:#d9b47c}.hud-empty{border-style:dashed;opacity:.6}.top-dropdown{width:320px;max-width:calc(100vw - 20px);max-height:70dvh;overflow:auto}.top-dropdown .panel{margin:0 0 8px;padding:10px}.top-dropdown summary{display:block;font-size:13px;min-height:32px;padding:7px;line-height:1.4}.layout{display:block;padding-top:8px}.battle-frame{border-radius:12px}#phaser-stage{aspect-ratio:auto;height:clamp(260px,calc(100dvh - 490px),530px);max-height:none}#phaser-stage canvas{margin:auto}.battle-stats{bottom:8px}.battle-stats .unit-stats:last-child .hp-track{display:none}.battle-stats .status{pointer-events:auto}.combat-bar{margin-top:6px;padding:6px 12px;min-height:48px;gap:12px;flex-wrap:nowrap}.energy{font-size:21px}#end-turn{margin-left:auto;white-space:nowrap;padding:8px 18px}.section-heading{margin:6px 0 2px}.hand{min-height:0;gap:7px;padding:7px 6px 10px;align-items:stretch}.hand .game-card{flex:1 0 0;min-width:0;max-width:180px;min-height:254px;gap:3px;padding:6px}.hand .game-card .card-art{height:64px;aspect-ratio:auto;flex:none}.hand .game-card .card-art-image{object-fit:contain}.hand .game-card .card-name{font-size:13px;margin-top:25px;min-height:35px;width:100%;padding:4px 2px}.hand .game-card .card-effect{font-size:12px;line-height:1.4;padding:4px;flex:1}.hand .game-card .card-rarity-flag{font-size:10px}.hand .game-card .card-type-badge{font-size:11px}.notice:empty{display:none}.notice{margin:2px 0;font-size:12px}.in-combat footer{display:none}.enemy-details{position:relative}.enemy-details[open] .enemy-target-grid{position:absolute;top:100%;left:0;right:0;z-index:30;background:#251e30;border:1px solid #8b708e}#enemy-targets:empty{display:none}#item-dialog{color:#fbe9dc;background:#292131;border:1px solid #bba080;border-radius:16px;width:400px;max-width:calc(100vw - 24px);padding:24px;box-shadow:0 20px 70px #000b}#item-dialog::backdrop{background:#090610b8}#item-dialog p{line-height:1.6}#item-dialog button{margin:6px}@media(min-width:1000px)and (min-height:900px){.hand .game-card{min-height:300px}.hand .game-card .card-art{height:105px}}@media(max-width:999px){#app{padding:6px 10px}.topbar{height:auto;flex-wrap:wrap;gap:6px}.topbar .top-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.hud-relics{max-width:none;flex:1 1 120px}.topbar .logo h1{font-size:17px}#phaser-stage{height:auto;aspect-ratio:920/420;min-height:160px}.hand .game-card{flex:0 0 158px;max-width:158px;min-height:280px}.hand .game-card .card-art{height:100px}.hand .game-card .card-effect{font-size:12px}.combat-bar{flex-wrap:wrap;padding:7px;gap:8px}.section-heading>span{display:none}.overlay{padding-top:150px}.hud-icon,.hud-empty{width:32px;height:32px;min-width:32px;flex-basis:32px}.battle-stats .unit-stats{width:42%;min-width:0}.battle-stats .status{font-size:10px}.topbar .top-actions{gap:5px}.hud-label{display:none}.top-more{margin-left:auto}}.combat-bar .battle-stats{position:static;display:block;flex:0 1 270px;padding:0;border:0;background:none;pointer-events:auto}.combat-bar .battle-stats .unit-stats{width:100%;max-width:none;gap:2px}.combat-bar .battle-stats .unit-stats:last-child{display:none}.combat-bar .hp-track{height:19px}.combat-bar .status{min-height:0;font-size:11px;line-height:1.3}@media(max-width:999px){.combat-bar .battle-stats{flex-basis:100%}.combat-bar .battle-stats .unit-stats{max-width:330px;margin:auto}}.topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,360px) minmax(0,1fr);align-items:center;column-gap:12px;height:52px}.topbar .hud-left{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0;white-space:nowrap}.topbar .hud-left .logo{flex:0 0 auto}.topbar .hud-left .logo h1{font-size:18px}.topbar .hud-center-relics{display:flex;align-items:center;justify-self:center;justify-content:center;min-width:0;width:100%;max-width:360px;gap:6px;overflow:hidden}.topbar .hud-center-relics .hud-label{flex:0 0 auto}.topbar .hud-center-relics .hud-strip{flex:0 1 auto;width:auto;min-width:0;max-width:calc(100% - 75px);justify-content:safe center;overflow-x:auto;overscroll-behavior-x:contain}.topbar .hud-right{display:flex;align-items:center;justify-self:end;justify-content:flex-end;flex-wrap:nowrap;width:auto;min-width:0;gap:6px}.topbar .hud-right .hud-potions{flex-shrink:0}.combat-bar .battle-stats .hp-track{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;overflow:hidden!important;white-space:nowrap!important;clip-path:inset(50%);border:0!important}.combat-bar .battle-stats{flex-basis:220px}@media(max-width:1199px){.topbar{height:auto;min-height:52px;grid-template-columns:minmax(0,1fr) auto;row-gap:3px}.topbar .hud-left{grid-column:1;grid-row:1;flex-wrap:wrap}.topbar .hud-right{grid-column:2;grid-row:1;justify-self:end;flex-wrap:nowrap;width:auto}.topbar .hud-center-relics{grid-column:1/-1;grid-row:2;max-width:min(100%,640px);padding-bottom:2px}}@media(max-width:700px){.topbar{grid-template-columns:minmax(0,1fr);row-gap:5px}.topbar .hud-left{grid-column:1;grid-row:1;gap:5px;min-width:0}.topbar .hud-left .logo{flex:1 0 100%}.topbar .hud-left .logo h1{font-size:18px}.topbar .hud-right{grid-column:1;grid-row:2;justify-self:end;flex-wrap:nowrap;width:auto}.topbar .hud-center-relics{grid-column:1;grid-row:3;min-height:34px;max-width:100%;padding:0}.topbar .hud-center-relics .hud-label{display:block;font-size:10px}.topbar .hud-center-relics .hud-strip{justify-content:safe center}.combat-bar .battle-stats{flex-basis:100%}}.topbar{min-height:66px;height:auto}.topbar .hud-center-relics{max-width:404px;gap:7px;overflow:visible}.topbar .hud-center-relics .hud-label{font-size:12px;font-weight:800;color:#ead3ac}.topbar .hud-center-relics .hud-strip{width:auto;max-width:none;min-width:0;flex:0 1 auto;display:flex;justify-content:center;align-items:center;gap:5px;padding:0;overflow:visible;scrollbar-width:none}.topbar .hud-center-relics .hud-strip::-webkit-scrollbar{display:none}.topbar .hud-center-relics .hud-icon,.topbar .hud-center-relics .hud-relic-more{flex:0 0 48px;min-width:48px;width:48px;height:48px;display:inline-grid;place-items:center;border-radius:10px;border:1px solid #987c5d;background:#2e2539;color:#ffe6bc;padding:3px;cursor:pointer}.topbar .hud-center-relics .hud-icon .item-art{width:42px;height:42px;min-width:42px;flex-basis:42px}.topbar .hud-center-relics .hud-icon .item-art-image{width:100%;height:100%;object-fit:contain}.topbar .hud-center-relics .hud-relic-more{font-weight:850;font-size:16px}.topbar .hud-center-relics :is(.hud-icon,.hud-relic-more):hover,.topbar .hud-center-relics :is(.hud-icon,.hud-relic-more):focus-visible{border-color:#f6cc87;background:#53405a;outline:2px solid #e5c386;outline-offset:1px}.relic-dialog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;margin:12px 0;max-height:min(60dvh,400px);overflow-y:auto}.relic-dialog-entry{display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center;border:1px solid #7c607a;border-radius:10px;background:#2f2838;padding:10px;color:#f5e4cd;font-size:12px;cursor:pointer}.relic-dialog-entry:hover{border-color:#e3bd7a}.relic-dialog-entry .item-art{width:48px;height:48px;flex-basis:48px}.relic-dialog-entry .item-art-image{width:100%;height:100%;object-fit:contain}.route-hint{display:none}@media(max-width:1199px){.topbar{min-height:66px}.topbar .hud-center-relics{max-width:min(100%,640px)}}@media(max-width:700px){.topbar .hud-center-relics .hud-icon,.topbar .hud-center-relics .hud-relic-more{width:44px;height:44px;min-width:44px;flex-basis:44px}.topbar .hud-center-relics .hud-icon .item-art{width:38px;height:38px;min-width:38px;flex-basis:38px}.topbar .hud-center-relics .hud-strip{gap:4px}}.modal:has(.spire-map-shell){padding-top:13px}.map-modal-title{font-family:Georgia,Yu Mincho,serif;font-size:21px;line-height:1.25;text-align:center;margin:2px 0 10px;color:#f2d19e}.spire-map-shell{margin-top:0}.spire-map-topline{padding:9px 12px;margin-bottom:10px}.spire-map-hover-note:empty{display:none}.spire-map-hover-note:not(:empty){margin:0 0 9px!important;padding:6px 10px!important;min-height:0}.turn-animating :is(.topbar,.hand,.combat-bar,.enemy-targets,.target-guidance){pointer-events:none}.turn-animating #end-turn{opacity:.55}@media(max-width:700px){.map-modal-title{font-size:18px;margin-bottom:7px}.spire-map-topline{padding:7px 9px;margin-bottom:7px}}@media(prefers-reduced-motion:reduce){.turn-animating :is(.topbar,.hand,.combat-bar){transition:none}}.spire-map-hover-note:not(:empty){position:fixed!important;left:50%;bottom:clamp(16px,4vh,42px);top:auto;transform:translate(-50%);z-index:200;pointer-events:none;width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;margin:0!important;padding:7px 12px!important;min-height:0!important;text-align:center}.spire-node--available,.spire-node--available:hover,.spire-node--available:focus-visible,.spire-node--available:active{transform:translate(-50%,-50%)!important;animation:none!important}.spire-node--available:hover,.spire-node--available:focus-visible{outline:2px solid #fff2bd;outline-offset:3px}.in-combat .combat-bar .battle-stats{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;border:0!important}body.in-start-menu{overflow:hidden}body.in-start-menu #app>:not(.start-screen){visibility:hidden!important;pointer-events:none!important}.start-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;justify-content:center;align-items:center;overflow-y:auto;overscroll-behavior:contain;padding:clamp(16px,3vw,38px);background:#110e1c;color:#fcead9;isolation:isolate}.start-screen[hidden]{display:none!important}.start-screen:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#160f21f2,#1c1426c7 55%,#140e1cba),radial-gradient(ellipse at 70% 30%,#c4966258,transparent 67%)}.start-background{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.65) brightness(.55);pointer-events:none}.title-scene{position:relative;z-index:1;width:min(1080px,100%);min-height:0;margin:auto}.title-scene--home{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-rows:auto auto auto;align-items:center;column-gap:20px;padding:clamp(18px,3vw,38px) 0}.title-brand{grid-column:1;grid-row:1;align-self:end}.title-kicker{font-size:11px;font-weight:800;letter-spacing:.27em;color:#d6b185;margin:0 0 17px;text-transform:uppercase}.title-brand h1{margin:0;font-family:Georgia,Yu Mincho,serif;font-size:clamp(38px,5.3vw,72px);font-weight:900;line-height:1.04;letter-spacing:.06em;color:#f8e7c9;text-shadow:0 6px 28px #000b}.title-brand h1 span{display:block;font-size:.47em;letter-spacing:.17em;margin-top:12px;white-space:nowrap;color:#e4b47e}.title-story{margin:25px 0 30px;color:#ddc8c0;font-size:clamp(13px,1.5vw,17px);letter-spacing:.05em}.title-hero-figure{grid-column:2;grid-row:1 / 4;display:grid;place-items:center;align-self:stretch;min-height:400px;position:relative;pointer-events:none}.title-hero-figure:before{content:"";position:absolute;width:90%;height:80%;border-radius:50%;background:radial-gradient(ellipse,#dcab7252,transparent 68%);filter:blur(18px)}.title-hero-figure img{width:min(100%,440px);max-height:min(76dvh,650px);object-fit:contain;position:relative;filter:drop-shadow(0 22px 25px #080713a0)}.title-menu-actions{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:min(350px,100%)}.title-menu-button{width:100%;min-height:55px;padding:12px 22px;border-radius:10px;border:1px solid #aa8c76;background:#2a2231;color:#f8e6d1;font-weight:900;font-size:18px;text-align:center;box-shadow:0 5px 18px #0008;transition:border-color .12s,background .12s,box-shadow .12s}.title-menu-button--primary{background:linear-gradient(110deg,#f2cb8d,#bf865f);border-color:#ffebc2;color:#281923;box-shadow:0 0 0 1px #4d3342,0 6px 25px #0009}.title-menu-button--secondary{background:linear-gradient(120deg,#372a43,#201b2c)}.title-menu-button small{display:block;font-size:11px;opacity:.8;font-weight:600;margin-top:3px}.title-menu-button:not(:disabled):is(:hover,:focus-visible){border-color:#fff2c7;box-shadow:0 0 0 2px #ffe2a946,0 8px 25px #000b}.title-menu-button:not(:disabled):active{transform:none;filter:brightness(.92)}.title-build-label{grid-row:3;grid-column:1;margin-top:36px;font-size:11px;color:#b9a3a5}.title-scene--choose{padding:16px 0;display:flex;flex-direction:column;gap:18px}.character-select-heading{text-align:center}.character-select-heading .title-kicker{margin:0 0 6px}.character-select-heading h2{font-family:Georgia,Yu Mincho,serif;font-size:clamp(25px,3.8vw,42px);line-height:1.2;color:#f2d6ad;margin:0}.character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.character-tile{--character-accent:#e0b36e;--character-tint:#715431;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;min-height:350px;padding:15px 12px 13px;color:#f9e8d8;text-align:center;border:2px solid #795f6b;border-radius:14px;background:linear-gradient(180deg,#3c2c3c,#241d2d 68%,#171524);transition:border-color .12s,box-shadow .12s,background .12s;box-shadow:0 8px 18px #0006;transform:none!important}.character-tile--star{--character-accent:#a3b9ff;--character-tint:#384d81}.character-tile--heart{--character-accent:#f5a7c1;--character-tint:#85415b}.character-tile:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:12px;pointer-events:none;background:radial-gradient(circle at 50% 22%,var(--character-tint),transparent 62%);opacity:.55}.character-tile.is-selected{border-color:var(--character-accent);box-shadow:0 0 0 2px var(--character-accent),0 10px 35px #000b}.character-tile:not(:disabled):is(:hover,:focus-visible){border-color:var(--character-accent);box-shadow:0 0 0 2px #dfba934d,0 10px 26px #000a}.character-tile:active{transform:none!important}.character-art{position:relative;z-index:1;height:155px;width:100%;display:grid;place-items:center}.character-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 16px #05040b)}.character-tile--star .character-art img{filter:drop-shadow(0 10px 16px #060816)}.character-tile--heart .character-art img{filter:drop-shadow(0 10px 16px #16050d)}.character-art-symbol{position:absolute;right:calc(50% - 100px);top:5px;display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--character-accent);border-radius:50%;background:#1d1828c9;color:var(--character-accent);font-size:27px}.character-tile-details{display:flex;align-items:center;flex-direction:column;gap:7px;z-index:1;min-width:0}.character-epithet{font-size:10px;letter-spacing:.13em;color:var(--character-accent);font-weight:800}.character-tile-details strong{font-size:clamp(18px,2vw,24px);font-family:Georgia,Yu Mincho,serif;color:#ffe9d1}.character-summary{font-size:12px;color:#dacbd1;min-height:34px;line-height:1.45}.character-traits{font-size:12px;color:#ebd8be;font-weight:800}.character-traits span{opacity:.5;margin:0 2px}.character-signature{font-size:11px;color:#b9a9bf}.character-selected-mark{z-index:1;margin-top:auto;font-size:11px;font-weight:800;letter-spacing:.1em;padding:4px 16px;border-radius:20px;color:#d2c1c7;border:1px solid #6c586d}.character-tile.is-selected .character-selected-mark{color:#241a28;background:var(--character-accent);border-color:var(--character-accent)}.character-select-footer{display:grid;grid-template-columns:minmax(110px,1fr) minmax(190px,2fr);gap:14px;align-items:end;margin:auto;width:min(650px,100%)}.title-back-button{min-height:50px;padding:10px 18px;border:1px solid #92767c;border-radius:10px;background:#2b2130;color:#e9d2cd;font-size:15px;font-weight:700}.title-back-button:hover{border-color:#ffdcab}.title-back-button:active{transform:none}.character-select-footer .title-menu-button{font-size:16px;min-height:50px}.starter-deck-panel{padding:16px;border:1px solid #9c7a71;border-radius:14px;background:linear-gradient(120deg,#241b31f2,#322537ee);color:#f5e5d6}.starter-deck-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}.starter-deck-heading .title-kicker{margin:0 0 3px}.starter-deck-heading h3{font-size:clamp(17px,2vw,22px);margin:0;color:#ffe6b7}.starter-deck-heading h3 small{font-size:12px;color:#d3bdb3}.starter-relic-note{font-size:13px;margin:0;color:#f4d7aa}.starter-deck-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.starter-deck-card{display:flex;align-items:center;gap:9px;min-width:0;padding:9px;background:#160f24bd;border:1px solid #765d72;border-radius:10px}.starter-deck-card .card-art{flex:0 0 68px;width:68px;height:76px;min-height:0;border-radius:7px;overflow:hidden}.starter-deck-card .card-art-image{width:100%;height:100%;object-fit:cover}.starter-deck-card-text{min-width:0;display:flex;flex-direction:column;gap:3px}.starter-deck-card-text strong{font-size:15px;line-height:1.3;color:#fff0da}.starter-deck-card-text strong span{color:#f4c881}.starter-deck-card-text small{color:#c7b4c3;font-size:11px}.starter-deck-card-text p{margin:0;color:#f0dbce;line-height:1.45;font-size:12px;overflow-wrap:anywhere}.opening-intro{line-height:1.6;color:#f5dacc}.opening-relic{display:flex;gap:14px;align-items:center;padding:14px;margin:13px 0 17px;border-radius:14px;border:1px solid #ddba79;background:linear-gradient(115deg,#55402e,#2b253e)}.opening-relic-art{flex:0 0 74px;display:grid;place-items:center}.opening-relic-art img{max-width:70px;width:100%;height:70px;object-fit:contain}.opening-relic strong{display:block;color:#ffe6ad;font-size:21px}.opening-relic small{display:block;color:#f5d196;font-size:12px}.opening-relic p{margin:4px 0 0;font-size:14px;line-height:1.5}.opening-choice-title{font-size:16px;color:#ffe6ad;margin:0 0 10px}.opening-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.opening-choices .event-choice{min-height:142px;padding:15px}.opening-choices .event-choice strong{font-size:17px}.opening-choices .event-choice span{font-size:13px}@media(max-width:720px){.starter-deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opening-choices{grid-template-columns:1fr}.opening-choices .event-choice{min-height:83px}}@media(max-width:420px){.starter-deck-grid{grid-template-columns:1fr}.starter-deck-panel{padding:11px}.starter-deck-card .card-art{flex-basis:58px;width:58px;height:65px}.opening-relic{gap:9px;padding:10px}.opening-relic-art{flex-basis:55px}.opening-relic-art img{height:56px}}@media(max-width:720px){.start-screen{align-items:flex-start;padding:15px 12px 24px}.title-scene--home{grid-template-columns:1fr;grid-template-rows:auto auto auto;padding-top:20px}.title-brand{grid-column:1;grid-row:1;text-align:center;z-index:2}.title-brand h1{font-size:clamp(39px,10vw,65px)}.title-story{font-size:13px;margin:14px 0 0}.title-hero-figure{grid-row:2;grid-column:1;min-height:0;height:clamp(150px,28dvh,300px);opacity:.87}.title-hero-figure img{height:100%;max-height:none;width:100%}.title-menu-actions{grid-column:1;grid-row:3;justify-self:center;align-items:stretch}.title-build-label{grid-column:1;grid-row:4;text-align:center;margin:14px 0}.title-scene--choose{gap:12px;padding:7px 0}.character-grid{grid-template-columns:1fr;gap:9px}.character-tile{min-height:119px;padding:10px;display:grid;grid-template-columns:97px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left}.character-art{height:100px;width:97px;grid-column:1}.character-art-symbol{width:27px;height:27px;font-size:19px;right:0;top:0}.character-tile-details{grid-column:2;align-items:flex-start;gap:4px}.character-tile-details strong{font-size:18px}.character-summary{min-height:0;font-size:11px}.character-epithet,.character-signature{font-size:10px}.character-traits{font-size:11px}.character-selected-mark{grid-column:3;writing-mode:vertical-rl;margin:auto 0;font-size:10px;padding:8px 5px}.character-select-footer{grid-template-columns:100px minmax(0,1fr);gap:8px}.character-select-footer .title-menu-button{grid-column:2;grid-row:1}.title-back-button{grid-column:1;grid-row:1}}@media(max-width:360px){.character-tile{grid-template-columns:80px minmax(0,1fr) auto;gap:6px}.character-art{width:80px;height:91px}.character-tile-details strong{font-size:16px}.character-summary{font-size:10px}}@media(prefers-reduced-motion:reduce){.title-menu-button,.character-tile{transition:none}}.compendium-scene{position:relative;z-index:1;width:min(1180px,100%);margin:0 auto;padding:8px 0 30px;min-width:0}.compendium-heading{display:flex;align-items:flex-start;gap:20px;margin-bottom:19px}.compendium-heading .title-back-button{flex:0 0 auto;min-width:95px}.compendium-heading .title-kicker{margin:0 0 5px;font-size:10px}.compendium-heading h2{font-family:Georgia,Yu Mincho,serif;color:#f6d7ab;font-size:clamp(30px,4.8vw,48px);margin:0}.compendium-heading p:last-child{font-size:12px;color:#ddc9c2;line-height:1.6;margin:7px 0 0}.compendium-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 14px}.compendium-tab{display:flex;justify-content:center;align-items:center;gap:10px;padding:11px 8px;color:#decbd1;font-weight:800;background:#261d2e;border:1px solid #785f71;border-radius:11px}.compendium-tab span{color:#c8ac99;font-size:11px}.compendium-tab.is-active{color:#1b1422;background:linear-gradient(120deg,#f0ca91,#cd9b81);border-color:#ffe0ad}.compendium-tab.is-active span{color:#4b303a}.compendium-search{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding:12px 15px;background:#231c2ae0;border:1px solid #655267;border-radius:13px}.compendium-search label{font-weight:700;white-space:nowrap}.compendium-search input{flex:1;min-width:0;max-width:480px;padding:10px 12px;border-radius:8px;background:#171322;color:#ffeacb;border:1px solid #896f82}.compendium-count{margin-left:auto;font-size:12px;color:#efcc9e;white-space:nowrap;font-weight:800}.compendium-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}.compendium-entry{display:flex;align-items:flex-start;gap:14px;min-width:0;padding:14px;background:linear-gradient(150deg,#34283c,#1f1a2a);border:1px solid #675669;border-radius:15px;box-shadow:0 8px 20px #0004}.compendium-entry-art{position:relative;flex:0 0 95px;width:95px;min-height:100px;display:grid;place-items:center;border:1px solid #ffffff15;border-radius:9px;background:radial-gradient(circle,#66507177,#211827);overflow:hidden;font-size:30px}.compendium-entry-art>.card-art,.compendium-entry-art>.item-art{width:100%;height:100%;min-height:100px}.compendium-entry-art .card-art-image,.compendium-entry-art .item-art-image{max-width:100%;max-height:100%;object-fit:contain}.compendium-entry-art>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.compendium-entry-body{flex:1;min-width:0}.compendium-entry-meta{display:flex;gap:7px;flex-wrap:wrap;color:#dbb48c;font-size:11px;font-weight:800;line-height:1.5}.compendium-entry h3{font-size:16px;line-height:1.4;margin:5px 0 7px;color:#f7e8d2;overflow-wrap:anywhere}.compendium-cost{font-size:12px;font-weight:800;color:#f3cf8a;margin:0 0 7px}.compendium-description{font-size:12px;line-height:1.65;color:#e1d4db;margin:7px 0;overflow-wrap:anywhere}.compendium-description b{color:#dfb989}.compendium-empty{padding:60px 20px;text-align:center;color:#d8c5d5;font-size:14px}@media(max-width:700px){.compendium-heading{align-items:center;gap:10px}.compendium-heading .title-back-button{min-width:68px;padding:9px}.compendium-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.compendium-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.compendium-search label{grid-column:1 / -1}.compendium-search input{width:100%}.compendium-grid{grid-template-columns:1fr;gap:10px}.compendium-entry{padding:11px;gap:11px}.compendium-entry-art{flex-basis:83px;width:83px;min-height:87px}.compendium-entry-art>.card-art,.compendium-entry-art>.item-art{min-height:87px}}.title-session-note{color:#dfc6bf;font-size:12px;line-height:1.65;margin:4px 0 0;text-shadow:0 1px 9px #000b}.battle-frame{isolation:isolate}.battle-energy{position:absolute;z-index:11;left:2.8%;bottom:7%;display:flex;align-items:center;justify-content:center;width:max-content;max-width:25%;min-height:36px;padding:6px 12px;border-radius:12px;border:1px solid #f2cd88a8;background:#211722df;box-shadow:0 2px 14px #070510a8;font-size:clamp(15px,1.9vw,23px);font-weight:900;line-height:1.1;pointer-events:none;text-shadow:0 2px 5px #000}#phaser-stage{height:clamp(260px,calc(100dvh - 505px),510px)}.combat-bar{margin-top:4px;min-height:45px;padding-block:5px}.section-heading{margin:3px 0 0}.hand{padding-top:4px}.hand .game-card{flex:0 0 clamp(148px,11.5vw,178px);min-width:148px;max-width:178px;min-height:267px}.hand .game-card .card-name{font-size:16px;line-height:1.2;margin-top:20px;min-height:38px}.hand .game-card .card-effect{font-size:14px;line-height:1.38;overflow-wrap:anywhere}.hand .game-card .mana{font-size:16px;min-width:31px;height:31px}.hand .game-card .card-type-badge{font-size:12px}.hand .game-card .card-rarity-flag{font-size:11px}@media(min-width:1000px)and (min-height:900px){.hand .game-card{min-height:300px}}@media(max-width:999px){#phaser-stage{height:auto;min-height:160px;aspect-ratio:920/420}.hand .game-card{flex:0 0 158px;min-width:158px;max-width:158px;min-height:290px}.hand .game-card .card-name{font-size:15px;min-height:37px}.hand .game-card .card-effect{font-size:13.5px}.battle-energy{left:2.5%;bottom:5%;padding:5px 9px;font-size:15px;min-height:29px}}@media(max-width:610px){.battle-energy{left:1.8%;bottom:6%;padding:4px 6px;min-height:25px;font-size:12px;border-radius:8px;max-width:22%}.combat-bar{margin-top:3px;min-height:40px;padding-block:4px}.section-heading{margin:2px 0 0}.hand .game-card .card-name{font-size:15px;line-height:1.2}.hand .game-card .card-effect{font-size:13px;line-height:1.3}.hand .game-card .mana{font-size:15px}}.mobile-hp{display:none}@media(max-width:610px){.mobile-hp{position:absolute;z-index:12;left:19.5%;right:3%;bottom:9%;display:flex;align-items:center;justify-content:space-between;gap:6px;pointer-events:none}.mobile-hp span{display:inline-flex;align-items:center;justify-content:center;min-height:21px;padding:2px 5px;border-radius:6px;border:1px solid #d9b7b1bb;background:#160f1dde;color:#fff3e7;font-size:clamp(12px,3.7vw,15px);font-weight:900;white-space:nowrap;line-height:1.05;text-shadow:0 1px 3px #000}.mobile-hp span:last-child{border-color:#ffcea7bb;color:#ffe2cf}}.topbar .hud-act-title{justify-self:center;align-self:center;grid-column:2;grid-row:1;font-size:clamp(13px,1.4vw,19px);font-weight:900;white-space:nowrap;color:#f1d6a8;text-shadow:0 2px 8px #000b}.battle-frame .battle-relics{position:absolute;z-index:16;top:5px;left:50%;transform:translate(-50%);display:flex;align-items:center;justify-content:center;gap:6px;max-width:calc(100% - 90px);pointer-events:auto;border-radius:12px;background:#1b1323b0;padding:3px 7px;border:1px solid #94745a85}.battle-frame .battle-relics .hud-label{font-size:12px;font-weight:850;color:#ffe1b4;white-space:nowrap}.battle-frame .battle-relics .hud-strip{display:flex;align-items:center;gap:5px;min-width:0;padding:0;overflow:visible;justify-content:center}.battle-frame .battle-relics .hud-icon,.battle-frame .battle-relics .hud-relic-more{width:44px;height:44px;min-width:44px;flex:0 0 44px;display:inline-grid;place-items:center;cursor:pointer;padding:2px;border-radius:9px;border:1px solid #987b60;background:#302438;color:#ffe7c3;font-size:15px}.battle-frame .battle-relics .hud-icon .item-art{width:38px;height:38px;min-width:38px;flex-basis:38px}.battle-frame .battle-relics .item-art-image{width:100%;height:100%;object-fit:contain}.battle-frame .battle-relics :is(.hud-icon,.hud-relic-more):is(:hover,:focus-visible){border-color:#ffe0a6;outline:2px solid #edc68f;outline-offset:1px}.hand-with-piles{display:grid;grid-template-columns:66px minmax(0,1fr) 66px;gap:8px;align-items:stretch;min-width:0}.hand-with-piles .hand{width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}.pile-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;align-self:stretch;padding:5px 3px 8px;border-radius:13px;height:148px;align-self:end;border:2px solid #b48e64;background:linear-gradient(155deg,#69483e,#261f32);color:#fce8cd;cursor:pointer;box-shadow:0 5px 16px #0008}.pile-stack--discard{border-color:#7e91bd;background:linear-gradient(155deg,#424b68,#292135)}.pile-stack-art{display:grid;place-items:center;width:42px;height:55px;border:2px solid #ecc798;border-radius:6px;background:linear-gradient(145deg,#493347,#1c1726);transform:rotate(-5deg);box-shadow:3px 4px #090713a8;font-size:30px;color:#fbd9a6}.pile-stack--discard .pile-stack-art{transform:rotate(5deg);color:#b8d1f0}.pile-stack-count{font-size:25px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1.2;text-shadow:0 2px 5px #000}.pile-stack-name{font-size:12px;font-weight:850;white-space:nowrap}.pile-stack:is(:hover,:focus-visible){outline:2px solid #ffde9c;outline-offset:2px;filter:brightness(1.1)}@media(max-width:1199px){.topbar .hud-act-title{grid-column:1/-1;grid-row:2;font-size:15px}.topbar .hud-right{grid-column:2;grid-row:1}}@media(max-width:700px){.topbar{grid-template-columns:minmax(0,1fr) auto}.topbar .hud-left{grid-column:1/-1;grid-row:1}.topbar .hud-act-title{grid-column:1;grid-row:2;justify-self:start;font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.topbar .hud-right{grid-column:2;grid-row:2}.battle-frame .battle-relics{top:3px;left:50%;max-width:calc(100% - 12px);gap:2px;padding:2px 4px;border-radius:7px}.battle-frame .battle-relics .hud-label{font-size:10px}.battle-frame .battle-relics .hud-strip{gap:3px}.battle-frame .battle-relics .hud-icon,.battle-frame .battle-relics .hud-relic-more{width:29px;height:29px;min-width:29px;flex-basis:29px;padding:1px;font-size:11px;border-radius:5px}.battle-frame .battle-relics .hud-icon .item-art{width:25px;height:25px;min-width:25px;flex-basis:25px}.hand-with-piles{grid-template-columns:47px minmax(0,1fr) 47px;gap:4px}.pile-stack{padding:3px 1px 5px;border-radius:8px;height:112px}.pile-stack-art{width:30px;height:39px;font-size:22px}.pile-stack-count{font-size:21px}.pile-stack-name{font-size:10px}}@media(max-width:360px){.topbar .hud-act-title{font-size:12px}.hand-with-piles{grid-template-columns:42px minmax(0,1fr) 42px}.pile-stack-art{width:25px;height:34px;font-size:19px}.pile-stack-count{font-size:19px}}.event-upgrade-list{display:grid;gap:12px;max-height:min(55vh,520px);overflow-y:auto;text-align:left;margin:16px auto 20px}.event-upgrade-entry{display:flex;gap:14px;align-items:center;padding:12px;border:1px solid #ad8e79;border-radius:12px;background:linear-gradient(120deg,#46374a,#241d30);min-width:0}.event-upgrade-art{width:88px;height:88px;flex:0 0 88px;display:grid;place-items:center;position:relative;border-radius:9px;overflow:hidden}.event-upgrade-art .card-art{width:100%;height:100%;min-height:0}.event-upgrade-art .card-art-image{object-fit:contain}.event-upgrade-body{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.event-upgrade-body strong{color:#ffe4a3;font-size:17px;line-height:1.35}.event-upgrade-before{color:#d5bfbc;font-size:13px;line-height:1.5}.event-upgrade-after{color:#f5dbac;font-size:14px;font-weight:750;line-height:1.5}@media(max-width:610px){.event-upgrade-entry{gap:9px;padding:9px}.event-upgrade-art{width:64px;height:64px;flex-basis:64px}.event-upgrade-body strong{font-size:15px}.event-upgrade-before{font-size:12px}.event-upgrade-after{font-size:13px}}.topbar .hud-left{flex-wrap:wrap;white-space:normal;row-gap:5px}.topbar .hud-left .hud-potions{display:flex;align-items:center;gap:4px;flex:0 0 auto;margin-left:2px}.topbar .hud-left .hud-potions :is(.hud-icon,.hud-empty){width:36px;height:36px;min-width:36px;flex:0 0 36px}.topbar .hud-right{align-items:center}.battle-frame .battle-energy{min-height:49px;padding:8px 17px;border-width:2px;font-size:clamp(28px,2.9vw,38px);font-weight:950;max-width:31%;font-variant-numeric:tabular-nums;letter-spacing:.01em}.hand-with-piles{grid-template-columns:66px minmax(0,1fr) 126px;align-items:stretch}.discard-action-column{display:flex;flex-direction:column;gap:12px;justify-content:flex-end;align-items:stretch;min-width:0;padding-bottom:8px}.discard-action-column #end-turn{width:100%;min-height:52px;margin:0;padding:10px 5px;font-size:15px;line-height:1.25;white-space:nowrap}.discard-action-column .pile-stack{width:66px;align-self:center;flex:0 0 auto;height:148px}.hand .game-card{min-height:296px;gap:4px}.hand .game-card .card-name{margin-top:21px;min-height:30px;padding:3px 4px;font-size:15px;line-height:1.16;letter-spacing:-.02em}.hand .game-card .card-art{width:100%;height:132px;min-height:132px;flex:0 0 132px;max-height:none;aspect-ratio:auto;margin:0;padding:0}.hand .game-card .card-art-image{width:100%;height:100%;object-fit:cover}.hand .game-card .card-effect{font-size:14px;line-height:1.33;padding:3px 4px}.hand .game-card .card-type-badge{font-size:11.5px;padding:2px 7px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.modal--event{max-height:calc(100dvh - 26px);overflow-y:auto}.event-upgrade-list{width:100%;max-height:min(52dvh,485px);overflow-y:auto;overscroll-behavior-y:contain;min-width:0}.event-upgrade-entry{max-width:100%;overflow:hidden}.event-upgrade-art{isolation:isolate}.event-upgrade-art .card-art{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:0;min-width:0;aspect-ratio:auto;margin:0;overflow:hidden}.event-upgrade-art .card-art-image{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:7px}.event-upgrade-art .card-art-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:36px}.event-upgrade-body :is(.event-upgrade-before,.event-upgrade-after){overflow-wrap:anywhere;word-break:normal}@media(max-width:999px){.hand .game-card{min-height:296px}.hand .game-card .card-art{height:128px;min-height:128px;flex-basis:128px}}@media(max-width:700px){.topbar .hud-left .hud-potions{margin-left:0;gap:3px}.topbar .hud-left .hud-potions :is(.hud-icon,.hud-empty){width:30px;height:30px;min-width:30px;flex-basis:30px}.battle-frame .battle-energy{max-width:31%;min-height:35px;padding:5px 8px;border-radius:9px;font-size:clamp(18px,4.9vw,24px)}.hand-with-piles{grid-template-columns:47px minmax(0,1fr) 104px}.discard-action-column{gap:8px;padding-bottom:5px}.discard-action-column #end-turn{min-height:46px;padding:6px 2px;font-size:13px;white-space:nowrap}.discard-action-column .pile-stack{width:47px;height:112px}.hand .game-card .card-name{margin-top:21px;min-height:29px;font-size:14px;padding:3px}.hand .game-card .card-art{height:122px;min-height:122px;flex-basis:122px}.hand .game-card .card-effect{font-size:13px;line-height:1.31}}@media(max-width:360px){.hand-with-piles{grid-template-columns:42px minmax(0,1fr) 91px}.discard-action-column #end-turn{font-size:12px;min-height:43px}.discard-action-column .pile-stack{width:42px;height:112px}.battle-frame .battle-energy{font-size:17px;padding:4px 5px}.hand .game-card .card-art{height:118px;min-height:118px;flex-basis:118px}.event-upgrade-art .card-art-fallback{font-size:28px}}.battle-frame .battle-relics{width:max-content;max-width:calc(100% - 18px);min-width:0;justify-content:flex-start}.battle-frame .battle-relics .hud-strip{flex:1 1 auto;width:auto;max-width:100%;min-width:0;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c99e77 #241a2c}.battle-frame .battle-relics .hud-strip:focus-visible{outline:2px solid #f3d19d;outline-offset:1px}.battle-frame .battle-relics .hud-icon{flex-shrink:0}.compendium-heading{position:sticky;top:0;z-index:25;padding:7px 0 11px;background:linear-gradient(90deg,#1c1528f6,#211729ee);border-bottom:1px solid #9e7e6359}.compendium-back-link{display:inline-flex;align-items:center;justify-content:center;position:relative;z-index:26;text-decoration:none;white-space:nowrap;cursor:pointer}.compendium-back-link:focus-visible{outline:3px solid #ffe0a2;outline-offset:3px}@media(max-width:700px){.battle-frame .battle-relics{max-width:calc(100% - 8px)}.compendium-heading{gap:8px;padding:5px 0 8px}.compendium-back-link{font-size:12px;padding:8px;min-height:42px}}.in-combat #phaser-stage{background:linear-gradient(180deg,#34283d,#51405a 65%,#3d3448);border:1px solid #947c88}.modal--event:has(.opening-back){max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior-y:contain}.modal--event .opening-back{display:block;position:sticky;top:0;z-index:15;width:max-content;max-width:100%;min-height:44px;margin:7px auto 12px;padding:10px 16px;background:#3b3042;border:2px solid #b99780}.opening-choices .event-choice{min-height:76px;padding:13px 15px;align-items:center;justify-content:center;text-align:center}.opening-choices .event-choice strong{font-size:clamp(15px,1.45vw,18px)}@media(max-width:720px){.opening-choices .event-choice{min-height:57px;padding:10px}.modal--event .opening-back{margin:5px auto 10px}}.hand-with-piles{grid-template-columns:66px minmax(0,1fr) 156px}.discard-action-column{gap:10px}.discard-action-column .battle-energy{position:static;inset:auto;z-index:auto;display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:52px;margin:0;padding:7px 8px;border-radius:12px;border:2px solid #f2cd88;background:linear-gradient(145deg,#423047,#281b34);box-shadow:0 3px 12px #0008;color:#ffe3a3;font-size:clamp(19px,2.2vw,27px);line-height:1.15;font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:0}.discard-action-column #end-turn{width:100%;min-height:70px;padding:11px 8px;margin:0;font-size:20px;line-height:1.2;font-weight:900;white-space:nowrap;border:2px solid #ffe2ac;box-shadow:0 4px 16px #1309189e}@media(max-width:700px){.hand-with-piles{grid-template-columns:47px minmax(0,1fr) 124px}.discard-action-column{gap:8px}.discard-action-column .battle-energy{max-width:none;min-height:46px;padding:5px;font-size:20px;border-radius:9px}.discard-action-column #end-turn{min-height:60px;padding:7px 4px;font-size:17px}}@media(max-width:360px){.hand-with-piles{grid-template-columns:42px minmax(0,1fr) 108px}.discard-action-column .battle-energy{font-size:17px;min-height:43px}.discard-action-column #end-turn{font-size:16px;min-height:57px}}.game-card.rarity-colorless{--rarity-band:#525b68;--rarity-trim:#c6cad2;--rarity-ink:#ffffff;background:linear-gradient(155deg,#45505b,#292e3c 54%,#24222e);border-color:#bcc5d0;box-shadow:0 1px #f5f6ff48 inset,0 6px 22px #0007}.game-card.rarity-colorless .card-name{background:linear-gradient(180deg,#6a7484,#363b49 150%);color:#f5f7fa}.game-card.rarity-colorless .card-type-badge{border-color:#c5cbd3}.game-card.rarity-colorless .mana{border-color:#cad3df}.card-meta-rarity.rarity-colorless{background:#596474;border-color:#bfc7d3;color:#f9fbff}.rarity-ancient .card-name,.card-meta-rarity.rarity-ancient{background:#58406f;color:#f1d8ff}.rarity-token .card-name,.card-meta-rarity.rarity-token{background:#4b5559;color:#e6f4f7}.hand-with-piles{grid-template-columns:98px minmax(0,1fr) 156px}.draw-action-column{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0;gap:10px;padding-bottom:8px}.draw-action-column #view-draw-pile{width:66px;height:148px;flex:0 0 auto;align-self:center}.draw-action-column .battle-energy{position:static;inset:auto;z-index:auto;pointer-events:none;display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:51px;margin:0;padding:7px 3px;border-radius:11px;border:2px solid #f2cd88;background:linear-gradient(145deg,#483545,#281d36);box-shadow:0 3px 12px #0008;color:#ffe3a3;font-size:clamp(16px,1.5vw,21px);line-height:1.1;font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.03em}@media(max-width:700px){.hand-with-piles{grid-template-columns:73px minmax(0,1fr) 124px}.draw-action-column{gap:8px;padding-bottom:5px}.draw-action-column #view-draw-pile{width:47px;height:112px}.draw-action-column .battle-energy{min-height:44px;padding:5px 2px;border-radius:9px;font-size:14px}}@media(max-width:360px){.hand-with-piles{grid-template-columns:65px minmax(0,1fr) 108px}.draw-action-column #view-draw-pile{width:42px}.draw-action-column .battle-energy{min-height:40px;font-size:12px;padding:4px 1px}}.exhaust-card-ghost{position:fixed!important;z-index:1000!important;margin:0!important;pointer-events:none!important;transform-origin:center center;border-color:#db99fc!important;box-shadow:0 0 24px #b256ecbb,0 0 65px #682e9a77!important;animation:toiyama-card-exhaust .92s cubic-bezier(.22,.7,.29,1) both}.exhaust-card-ghost:before{content:"";position:absolute;top:-18px;right:-18px;bottom:-18px;left:-18px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,#e3a1ff80 0%,#8d38d94d 45%,transparent 76%);animation:toiyama-exhaust-aura .92s ease-out both}.exhaust-card-stamp{position:absolute;z-index:10;top:44%;left:50%;display:grid;place-items:center;padding:7px 17px;border:2px solid #f6c6ff;border-radius:12px;background:#56266bd9;color:#fff4ff;font-size:26px;font-weight:950;letter-spacing:.1em;text-shadow:0 2px 8px #1c0b31;transform:translate(-50%,-50%) rotate(-8deg)}@keyframes toiyama-card-exhaust{0%{opacity:1;filter:brightness(1);transform:scale(1) rotate(0)}28%{opacity:1;filter:brightness(1.5) saturate(1.3);transform:scale(1.1) rotate(-3deg)}70%{opacity:.8;filter:brightness(1.7) blur(1px);transform:scale(.83) rotate(7deg) translateY(-17px)}to{opacity:0;filter:brightness(2.2) blur(11px);transform:scale(.25) rotate(14deg) translateY(-50px)}}@keyframes toiyama-exhaust-aura{0%{opacity:0;transform:scale(.6)}36%{opacity:1;transform:scale(1.2)}to{opacity:0;transform:scale(1.7)}}@media(prefers-reduced-motion:reduce){.exhaust-card-ghost,.exhaust-card-ghost--reduced{animation:toiyama-card-exhaust-reduced .3s linear both}.exhaust-card-ghost:before{animation:none}@keyframes toiyama-card-exhaust-reduced{to{opacity:0}}}
