:root{--gold:#d9b46a;--gold2:#f3dda6;--ink:#e8e0cf;--bg0:#0a0a0d;--bg1:#14121a;--bg2:#1d1a26;--red:#c0392b;--blue:#2e6fb7;--green:#3f9b5a;--purple:#7d4fbb;--hp:#c0392b;--hp2:#e05a49;--blk:#8fb6d9;--card-w:150px;--card-h:210px;--astral:#5a9fd4;--thorn:#6ea84a}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;margin:0;padding:0;overflow:hidden}body{background:#000;color:var(--ink);font-family:"Noto Serif SC","Songti SC",'Times New Roman',serif;user-select:none;font-size:15px}#app{position:fixed;inset:0;overflow:hidden}.hidden{display:none!important}button{font-family:inherit;color:inherit;cursor:pointer}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#0e0d12}::-webkit-scrollbar-thumb{background:#443c30;border-radius:5px}.screen{position:absolute;inset:0;display:none;flex-direction:column}.screen.active{display:flex}#topbar{position:absolute;top:0;left:0;right:0;height:52px;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;background:linear-gradient(180deg,rgba(8,8,11,.96),rgba(8,8,11,.78));border-bottom:1px solid #302a22}.tb-left,.tb-right{display:flex;align-items:center;gap:10px}.tb-mid{flex:1;overflow:hidden;display:flex;justify-content:center}.tb-char{font-weight:700;color:var(--gold);letter-spacing:2px;font-size:15px}.hp-box{width:190px}.hp-bar{position:relative;height:19px;background:#241a17;border:1px solid #4d3a2c;border-radius:3px;overflow:hidden}.hp-fill{height:100%;background:linear-gradient(180deg,var(--hp2),var(--hp));transition:width .35s}.hp-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;text-shadow:0 1px 2px #000;letter-spacing:.5px}.tb-gold{display:flex;align-items:center;gap:4px;color:var(--gold2);font-size:14px}.ico-gold{width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe9a8,#c99a2e);display:inline-block;box-shadow:0 0 4px #c99a2e88}.tb-floor{font-size:13px;color:#a89b84}.tb-btn{background:#211d18;border:1px solid #4a4034;color:var(--ink);padding:5px 11px;border-radius:4px;font-size:13px}.tb-btn:hover{background:#332c22;border-color:var(--gold)}.tb-relics{display:flex;flex-wrap:wrap;gap:3px;max-height:46px;overflow:hidden;justify-content:center}.relic{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:16px;background:radial-gradient(circle at 35% 28%,#5a4c37,#241f18);border:1px solid #6d5c40;cursor:help;transition:.15s}.relic:hover{transform:scale(1.15);border-color:var(--gold2);box-shadow:0 0 8px #d9b46a88}.relic.boss{border-color:#b06ad9;box-shadow:0 0 6px #b06ad955}.tb-potions{display:flex;gap:4px}.potion-slot{width:26px;height:32px;border:1px dashed #4a4034;border-radius:4px 4px 9px 9px;display:grid;place-items:center;font-size:15px;cursor:pointer}.potion-slot.filled{border-style:solid;border-color:#7d6b4a;background:#1b1712}.potion-slot.filled:hover{border-color:var(--gold2);transform:translateY(-2px)}#screen-title{align-items:center;justify-content:center}.title-bg{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 110%,#3a1d18 0%,transparent 62%),radial-gradient(ellipse at 50% -20%,#1b2438 0%,transparent 60%),linear-gradient(180deg,#07070a,#12101a 55%,#1c1218)}.title-bg::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 3px,rgba(0,0,0,.16) 3px 4px);opacity:.5}.title-wrap{position:relative;text-align:center;z-index:2;max-width:960px;padding:16px}.game-title{margin:0;font-size:66px;letter-spacing:12px;line-height:1}.game-title span{color:#e9dcc0;text-shadow:0 0 26px #000,0 3px 0 #2a2118}.game-title em{font-style:normal;color:var(--red);text-shadow:0 0 30px #c0392b88,0 3px 0 #2a1210}.game-sub{color:#8d8271;letter-spacing:6px;font-size:12px;margin:10px 0 26px}.char-select{display:flex;gap:14px;justify-content:center;margin-bottom:22px;flex-wrap:wrap}.char-card{width:190px;padding:14px 12px;border:1px solid #40382c;border-radius:6px;cursor:pointer;background:linear-gradient(180deg,#191620,#100e14);transition:.18s;text-align:center}.char-card:hover{transform:translateY(-4px)}.char-card.sel{border-color:var(--gold);box-shadow:0 0 18px #d9b46a44;background:linear-gradient(180deg,#241f2c,#141119)}.char-card .cface{font-size:44px;line-height:1.1}.char-card h4{margin:6px 0 4px;color:var(--gold2);letter-spacing:2px}.char-card p{margin:0;font-size:12px;color:#9c917e;line-height:1.6}.char-card .cstat{margin-top:8px;font-size:11px;color:#7d735f}.title-actions{display:flex;gap:14px;justify-content:center}.big-btn{background:linear-gradient(180deg,#3a2c1c,#241b12);border:1px solid var(--gold);color:var(--gold2);padding:11px 30px;border-radius:5px;font-size:17px;letter-spacing:3px;transition:.18s}.big-btn:hover{background:linear-gradient(180deg,#54401f,#33261a);box-shadow:0 0 16px #d9b46a55}.big-btn.ghost{border-color:#4a4034;color:#a2977f}.big-btn:disabled{opacity:.4;cursor:not-allowed}.seed-row{margin-top:18px;display:flex;gap:18px;justify-content:center;font-size:12px;color:#8b8171}.seed-row input{background:#15131a;border:1px solid #423a2e;color:var(--ink);padding:4px 7px;border-radius:3px;font-family:monospace}.field-help{font-size:10px;color:#6f6656;white-space:nowrap}.seed-row{align-items:center}#screen-map{background:radial-gradient(ellipse at 50% 0%,#241a2c 0,transparent 55%),linear-gradient(180deg,#0b0a0f,#131019 60%,#0d0b10);padding-top:52px}.map-header{text-align:center;padding:8px 0 4px}.map-header h2{margin:0;font-size:20px;color:var(--gold2);letter-spacing:5px}.map-legend{display:flex;gap:14px;justify-content:center;font-size:11px;color:#8b8171;margin-top:6px;flex-wrap:wrap}.map-legend span{display:flex;align-items:center;gap:4px}.nd{width:11px;height:11px;border-radius:50%;display:inline-block}.nd-monster{background:#b5453a}.nd-elite{background:#d98b2b}.nd-event{background:#c9c2b0}.nd-rest{background:#4f9a5c}.nd-shop{background:#3f7fbf}.nd-treasure{background:#c9a83c}.nd-boss{background:#8b3fc0}.map-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding:14px 0 40px}.map-canvas{position:relative;margin:0 auto;width:640px}#map-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#map-lines path{stroke:#4a4232;stroke-width:2.5;fill:none;stroke-dasharray:6 5;opacity:.75}#map-lines path.avail{stroke:var(--gold);opacity:1;stroke-width:3.2}#map-lines path.taken{stroke:#7e6a3f;opacity:.9;stroke-dasharray:none}.mnode{position:absolute;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;display:grid;place-items:center;font-size:21px;border:2px solid #3d3628;background:#14121a;color:#6b6355;transition:.18s;cursor:default}.mnode.avail{cursor:pointer;border-color:var(--gold);color:var(--gold2);background:#241d14;box-shadow:0 0 14px #d9b46a66;animation:pulse 1.7s infinite}.mnode.avail:hover{transform:scale(1.18)}.mnode.visited{border-color:#6a5c3c;color:#8d8163;opacity:.85}.mnode.cur{border-color:#fff3cf;box-shadow:0 0 20px #fff0c088}@keyframes pulse{0%,100%{box-shadow:0 0 8px #d9b46a44}50%{box-shadow:0 0 20px #d9b46aaa}}.mnode-lbl{position:absolute;top:46px;left:50%;transform:translateX(-50%);font-size:10px;color:#7d7461;white-space:nowrap}.floor-tag{position:absolute;left:-46px;font-size:11px;color:#514b3e;transform:translateY(-7px)}#screen-combat{padding-top:52px;overflow:hidden}.battle-bg{position:absolute;inset:0;z-index:0}.battle-field{position:relative;z-index:2;flex:1;display:flex;align-items:flex-end;justify-content:flex-end;padding:0 110px 264px 0}.enemies{display:flex;align-items:flex-end;gap:26px}.player-zone{position:absolute;left:5%;bottom:264px;z-index:3}.creature{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;transition:.2s}.cre-body{position:relative}.cre-art{font-size:64px;line-height:1;filter:drop-shadow(0 6px 10px rgba(0,0,0,.65));transition:.15s}.creature.enemy{cursor:pointer;min-width:138px;min-height:170px;justify-content:flex-end}.creature.enemy:hover .cre-art{filter:drop-shadow(0 0 12px #ff6a4d) brightness(1.15)}.creature.targeted .cre-art{filter:drop-shadow(0 0 16px #ff2e18) brightness(1.2)}.creature.dead{opacity:0;transform:scale(.6) translateY(20px);pointer-events:none}.cre-bar{width:130px}.cre-bar .hp-bar{height:16px}.cre-block{position:absolute;left:-16px;bottom:-2px;width:36px;height:36px;display:grid;place-items:center;color:#dbe9f7;font-size:13px;font-weight:700;text-shadow:0 1px 2px #000}.cre-block i{position:absolute;inset:0;background:radial-gradient(circle at 35% 30%,#a9c9e6,#3d5a75);clip-path:polygon(50% 0,100% 22%,100% 62%,50% 100%,0 62%,0 22%);opacity:.92}.cre-block span{position:relative;z-index:2}.powers{display:flex;flex-wrap:wrap;gap:3px;justify-content:center;max-width:160px}.pw{display:flex;align-items:center;gap:2px;padding:1px 5px 1px 3px;border-radius:9px;font-size:11px;background:#1e1a24;border:1px solid #453c50;cursor:help}.pw.buff{border-color:#4e7f4f;background:#16231a;color:#b9e2b7}.pw.debuff{border-color:#8a4141;background:#241618;color:#f0b3b3}.pw b{font-weight:700}.intent{position:absolute;top:-46px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px;font-size:13px;color:#f0e2c4;white-space:nowrap;background:rgba(0,0,0,.5);padding:2px 8px;border-radius:12px;border:1px solid #493f2e}.intent .i-ico{font-size:16px}.intent.attack{color:#ffb3a3;border-color:#7a3b2e}.intent.buff{color:#b6e6b0}.intent.debuff{color:#d8b0ea}.intent.unknown{color:#cfc7b4}.combat-hud{position:absolute;left:0;right:0;bottom:0;height:0;z-index:30}.energy-orb{position:absolute;left:112px;bottom:70px;width:84px;height:84px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#2f6fa8,#0d2a45 68%,#071626);border:2px solid #6e9ec7;display:grid;place-items:center;box-shadow:0 0 22px #2f6fa877,inset 0 0 18px #0006}.orb-inner{font-size:24px;color:#eaf4ff;text-shadow:0 0 8px #6cc0ff}.orb-inner small{font-size:13px;opacity:.6;margin:0 1px}.orb-inner span:last-child{font-size:16px;opacity:.75}.pile{position:absolute;bottom:24px;width:62px;height:74px;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;background:linear-gradient(160deg,#232030,#12111a);border:1px solid #4c4459;box-shadow:2px 2px 0 #0007}.pile:hover{border-color:var(--gold);transform:translateY(-3px)}.pile-n{font-size:19px;color:var(--gold2)}.pile-l{font-size:10px;color:#8d8471}.pile-draw{left:22px}.pile-discard{right:130px}.pile-exhaust{right:64px;bottom:24px;opacity:.85}.end-turn{position:absolute;right:24px;bottom:112px;width:126px;padding:9px 0;border-radius:6px;background:linear-gradient(180deg,#4a2c1c,#2a190f);border:2px solid #c88b3a;color:#ffe6b8;display:flex;flex-direction:column;align-items:center;gap:1px;transition:.15s;box-shadow:0 0 14px #c88b3a44}.end-turn b{font-size:16px;letter-spacing:2px}.end-turn small{font-size:10px;opacity:.7}.end-turn:hover{background:linear-gradient(180deg,#6b3d22,#3a2313);box-shadow:0 0 20px #ffb35577}.end-turn.disabled{opacity:.5;pointer-events:none}.end-turn.ready{animation:etpulse 1.4s infinite}@keyframes etpulse{0%,100%{box-shadow:0 0 10px #c88b3a55}50%{box-shadow:0 0 24px #ffcc77aa}}.hand-area{position:absolute;left:0;right:0;bottom:0;height:246px;z-index:25;pointer-events:none}.hand-card{position:absolute;bottom:6px;left:50%;width:var(--card-w);height:var(--card-h);pointer-events:auto;touch-action:none;transform-origin:50% 132%;transition:transform .18s cubic-bezier(.2,.9,.3,1.2),bottom .18s;will-change:transform}.hand-card.hover{z-index:50}.hand-card.dragging{transition:none;z-index:60}.hand-card.selected .card{border-color:#9be89b;box-shadow:0 5px 16px #000a,0 0 18px #9be89baa}.hand-card.selected{z-index:55}.card{position:relative;width:100%;height:100%;border-radius:10px;overflow:hidden;background:linear-gradient(180deg,#2b2823,#171512);border:2px solid #6a5f4a;box-shadow:0 5px 14px rgba(0,0,0,.7);display:grid;grid-template-rows:29px 58px 15px minmax(0,1fr) 18px;align-items:stretch}.card.attack{border-color:#8a4a3c;background:linear-gradient(180deg,#33231f,#191110)}.card.skill{border-color:#3f6a8c;background:linear-gradient(180deg,#1e2a33,#101619)}.card.power{border-color:#7a4f9b;background:linear-gradient(180deg,#2a2035,#150f1c)}.card.blue{border-color:var(--astral);background:linear-gradient(180deg,#1e3042,#10171f)}.card.yellow{border-color:var(--thorn);background:linear-gradient(180deg,#293523,#151a13)}.card.blue .card-cost{background:radial-gradient(circle at 35% 30%,#4d97dd,#163b59);border-color:#9edcff}.card.yellow .card-cost{background:radial-gradient(circle at 35% 30%,#78ad4b,#293f20);border-color:#c8e97d}.card.blue .card-name{color:#b9e6ff}.card.yellow .card-name{color:#d4efaa}.card.curse{border-color:#4a4a4a;background:linear-gradient(180deg,#201f22,#0d0d0f)}.card.status{border-color:#5c5c66;background:linear-gradient(180deg,#22232a,#101014)}.card.upgraded{border-color:#7dc97d;box-shadow:0 5px 14px rgba(0,0,0,.7),0 0 12px #4faa4f55}.card-cost{position:absolute;top:-4px;left:-4px;width:32px;height:32px;border-radius:50%;z-index:4;background:radial-gradient(circle at 35% 30%,#2f6fa8,#0b2038);border:2px solid #8fbde0;display:grid;place-items:center;font-size:16px;color:#eef7ff;text-shadow:0 0 6px #58b6ff}.card-cost.free{background:radial-gradient(circle at 35% 30%,#3f9b5a,#0c2a16);border-color:#8fe0a5}.card-cost.x{font-size:15px}.card-name{margin:6px 5px 2px 22px;font-size:12px;text-align:center;color:#f0e6d2;line-height:1.12;letter-spacing:.35px;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:normal}.card.upgraded .card-name{color:#9be89b}.card-art{height:auto;margin:2px 7px;border-radius:4px;display:grid;place-items:center;font-size:30px;background:radial-gradient(ellipse at 50% 40%,#4a4033,#1a1713);border:1px solid #423a2c;overflow:hidden;min-height:0}.card-type{text-align:center;font-size:9px;color:#9d927c;letter-spacing:1.6px;margin:2px 0 0;line-height:15px;overflow:hidden}.card-text{min-height:0;margin:2px 8px 3px;font-size:10.5px;line-height:1.32;text-align:center;color:#ded4c0;display:block;overflow:hidden;overflow-wrap:anywhere;align-content:center}.card-text b{color:#ffd98a;font-weight:700}.card-text b.up{color:#8ef08e}.card-text i{color:#9fd0f5;font-style:normal;font-weight:700}.card-text u{color:#f5a3a3;text-decoration:none;font-weight:700}.card-badges{position:absolute;bottom:2px;left:4px;right:4px;height:15px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:8px;color:#a5987c;white-space:nowrap;overflow:hidden}.card.unplayable{filter:grayscale(.55)}.hand-card.playable .card{border-color:#e7c884;box-shadow:0 5px 16px #000a,0 0 12px #e7c88455}.hand-card.unaffordable .card{filter:brightness(.62) saturate(.6)}.card-glow{position:absolute;inset:0;pointer-events:none;border-radius:9px;box-shadow:inset 0 0 22px #ffd98a33}.target-arrow{position:absolute;inset:0;z-index:70;pointer-events:none}.target-arrow svg{position:absolute;inset:0;width:100%;height:100%}.target-arrow path{stroke:#9be89b;stroke-width:5;fill:none;filter:drop-shadow(0 0 5px #4bd44b)}.arrow-head{position:absolute;width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:20px solid #9be89b;filter:drop-shadow(0 0 5px #4bd44b);margin:-14px 0 0 -11px}.fx-layer{position:absolute;inset:0;pointer-events:none;z-index:80;overflow:hidden}.float-num{position:absolute;font-size:26px;font-weight:700;text-shadow:0 2px 5px #000;animation:fnum 1s ease-out forwards}.float-num.dmg{color:#ff8a72}.float-num.blk{color:#a9d4f5}.float-num.heal{color:#8ce88c}.float-num.buff{color:#ffe08a;font-size:19px}@keyframes fnum{0%{transform:translate(-50%,0) scale(.6);opacity:0}22%{transform:translate(-50%,-18px) scale(1.25);opacity:1}100%{transform:translate(-50%,-58px) scale(1);opacity:0}}.slash{position:absolute;width:120px;height:120px;margin:-60px 0 0 -60px;pointer-events:none;background:linear-gradient(52deg,transparent 44%,#fff 49%,#ffd 51%,transparent 56%);animation:slash .28s ease-out forwards;mix-blend-mode:screen}@keyframes slash{0%{opacity:0;transform:scale(.5) rotate(-14deg)}35%{opacity:.95}100%{opacity:0;transform:scale(1.3) rotate(8deg)}}.shake{animation:shake .3s}@keyframes shake{0%,100%{transform:translate(0)}25%{transform:translate(-7px,2px)}50%{transform:translate(6px,-3px)}75%{transform:translate(-4px,1px)}}.combat-toast{position:absolute;top:64px;left:50%;transform:translateX(-50%);z-index:75;display:flex;flex-direction:column;gap:4px;align-items:center;pointer-events:none}.ctoast{background:rgba(10,9,13,.9);border:1px solid #4b4234;color:#e9dfc8;padding:5px 14px;border-radius:14px;font-size:12.5px;animation:ctin .3s;opacity:1;transition:opacity .4s}@keyframes ctin{from{opacity:0;transform:translateY(-8px)}}.overlay{position:absolute;inset:0;z-index:100;background:rgba(4,4,6,.86);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(2px)}.ov-panel{width:min(760px,94vw);max-height:88vh;overflow-y:auto;padding:22px 26px;border-radius:8px;background:linear-gradient(180deg,#1b1822,#100e14);border:1px solid #4b4132;box-shadow:0 0 40px #000}.ov-panel h3{margin:0 0 12px;color:var(--gold2);letter-spacing:4px;text-align:center;font-size:21px}.ov-body{font-size:14px;line-height:1.85;color:#d5cbb6}.ov-body p{margin:0 0 12px}.ov-actions{display:flex;flex-direction:column;gap:9px;margin-top:16px}.ov-btn{background:linear-gradient(180deg,#2a2333,#181420);border:1px solid #4e4436;color:var(--ink);padding:11px 16px;border-radius:5px;text-align:left;font-size:14px;transition:.15s;line-height:1.5}.ov-btn:hover:not(:disabled){border-color:var(--gold);background:linear-gradient(180deg,#3a3047,#221c2c)}.ov-btn:disabled{opacity:.42;cursor:not-allowed}.ov-btn .ob-sub{display:block;font-size:11.5px;color:#9a8f78;margin-top:3px}.ov-btn.center{text-align:center}.ov-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:6px 0}.ov-note{text-align:center;color:#8b8171;font-size:12px;margin-top:8px}.cardview{flex-direction:column;padding:14px}.cv-head{display:flex;align-items:center;gap:16px;padding:0 8px 10px;flex-wrap:wrap}.cv-head h3{margin:0;color:var(--gold2);letter-spacing:4px;font-size:20px}.cv-sub{color:#8f8672;font-size:12.5px;flex:1}.cv-close{background:#241f18;border:1px solid #4d4234;color:var(--ink);width:32px;height:32px;border-radius:50%;font-size:15px}.cv-close:hover{border-color:var(--gold)}.cv-grid{flex:1;overflow-y:auto;display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-content:flex-start;padding:8px}.cv-grid .cv-card{width:var(--card-w);height:var(--card-h);transition:.15s;cursor:default;flex:0 0 auto}.cv-grid .cv-card.pick{cursor:pointer}.cv-grid .cv-card.pick:hover{transform:translateY(-8px) scale(1.05)}.cv-grid .cv-card.dim{filter:grayscale(.75) brightness(.6)}.cv-grid .cv-card.chosen{transform:translateY(-10px);filter:drop-shadow(0 0 12px #ffd98a)}.cv-foot{display:flex;gap:12px;justify-content:center;padding:10px 0 4px}.reward-list{display:flex;flex-direction:column;gap:10px}.reward-item{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:5px;background:linear-gradient(90deg,#241f2c,#181420);border:1px solid #4c4236;cursor:pointer;transition:.15s}.reward-item:hover{border-color:var(--gold);transform:translateX(4px)}.reward-item.done{opacity:.35;pointer-events:none}.reward-ico{font-size:24px;width:32px;text-align:center}.reward-txt b{color:var(--gold2);font-weight:600}.reward-txt div{font-size:11.5px;color:#948a75}.shop-wrap{display:flex;flex-direction:column;gap:14px}.shop-sec h4{margin:0 0 8px;color:#bfae8c;letter-spacing:3px;font-size:14px;border-bottom:1px solid #3a3227;padding-bottom:4px}.shop-cards{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.shop-slot{position:relative;flex:0 0 auto}.shop-slot .price{position:absolute;bottom:-16px;left:0;right:0;text-align:center;font-size:12px;color:var(--gold2)}.shop-slot.bought{opacity:.25;pointer-events:none}.shop-slot.poor{filter:brightness(.65)}.shop-items{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}.shop-item{width:74px;text-align:center;cursor:pointer;padding:6px 2px;border-radius:5px;border:1px solid transparent}.shop-item:hover{border-color:var(--gold);background:#241f18}.shop-item.healing-item{border-color:#4f9e68;background:linear-gradient(180deg,#172b22,#101a16);box-shadow:inset 0 0 16px #4f9e6833,0 0 10px #4f9e6822}.shop-item.healing-item:hover{border-color:#9be89b;background:linear-gradient(180deg,#234b35,#162a1e);box-shadow:0 0 16px #73d98a55}.shop-item.healing-item .si-name{color:#b7e778}.shop-item.healing-item .si-price{color:#f3dda6}.shop-item .si-ico{font-size:26px}.shop-item .si-name{font-size:10.5px;color:#c2b697;margin-top:2px;line-height:1.2}.shop-item .si-price{font-size:11px;color:var(--gold2)}.tooltip{position:absolute;z-index:200;max-width:290px;padding:10px 13px;border-radius:6px;background:linear-gradient(180deg,#1e1a26,#12101a);border:1px solid #5a4e3a;box-shadow:0 6px 20px #000b;font-size:12.5px;line-height:1.6;color:#ddd3bd;pointer-events:none}.tooltip h5{margin:0 0 4px;color:var(--gold2);font-size:13.5px;letter-spacing:1px}.tooltip .tt-flavor{color:#8c8471;font-style:italic;margin-top:5px;font-size:11.5px}.tooltip .tt-kw{margin-top:6px;padding-top:5px;border-top:1px solid #332c22;color:#a89c84;font-size:11.5px}.kw{color:#ffd98a;cursor:help;border-bottom:1px dotted #ffd98a66}.gold-t{color:var(--gold2)}.hp-t{color:#ff9c8c}.center{text-align:center}.mono{font-family:ui-monospace,monospace}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media (max-width:900px){:root{--card-w:118px;--card-h:166px}.game-title{font-size:44px}.map-canvas{width:100%}.energy-orb{left:8px;bottom:130px;width:64px;height:64px}.orb-inner{font-size:19px}.battle-field{padding:0 24px 214px 0}.player-zone{left:2%;bottom:214px}.hand-area{height:200px}.hp-box{width:120px}.pile{width:52px;height:62px}.pile-discard{right:112px}.pile-exhaust{right:58px}.end-turn{width:104px;bottom:96px;right:12px}.tb-relics{max-height:34px}}@media (max-height:760px){:root{--card-w:132px;--card-h:185px}.battle-field{padding-bottom:226px}.player-zone{bottom:226px}.hand-area{height:214px}.energy-orb{bottom:56px;width:72px;height:72px}.end-turn{bottom:96px}.pile{height:64px}}@media (max-height:640px){:root{--card-w:118px;--card-h:166px}.battle-field{padding-bottom:198px}.player-zone{bottom:198px}.hand-area{height:190px}.cre-art{font-size:48px}}.px{display:block;width:100%;height:100%;image-rendering:pixelated;overflow:visible}.emoji-fb{display:inline-block;line-height:1}.cre-art{width:130px;height:130px;display:grid;place-items:center;pointer-events:none;filter:drop-shadow(0 10px 8px rgba(0,0,0,.72));transition:filter .15s,transform .15s}.creature.enemy .cre-art{width:132px;height:132px}.player-creature .cre-art{width:150px;height:150px}.creature.enemy:hover .cre-art{filter:drop-shadow(0 0 12px #ff6a4d) brightness(1.14)}.creature.targeted .cre-art{filter:drop-shadow(0 0 16px #ff2e18) brightness(1.2)}.cface{height:84px;display:grid;place-items:center}.cface .px{width:86px;height:86px;filter:drop-shadow(0 6px 5px #0009)}.card-art{padding:6px 16px;display:grid;place-items:center}.card-art .px{width:48px;height:48px;filter:drop-shadow(0 3px 3px #000b)}.card-art .hero-portrait{width:48px;height:48px}.potion-slot .px{width:24px;height:28px}.mnode .px{width:28px;height:28px}.relic .px{width:22px;height:22px}.battle-bg{background:linear-gradient(180deg,rgba(7,8,16,.12),rgba(7,5,10,.55)),radial-gradient(ellipse at 72% 38%,rgba(158,91,57,.24),transparent 31%),radial-gradient(ellipse at 28% 24%,rgba(53,81,122,.24),transparent 28%),repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px,transparent 1px 7px),linear-gradient(180deg,#172338 0%,#202333 48%,#241b1d 49%,#100d12 100%)}#screen-combat:after{content:'';position:absolute;left:0;right:0;bottom:220px;height:130px;z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(6,5,8,.72)),repeating-linear-gradient(90deg,transparent 0 36px,rgba(84,59,48,.12) 36px 39px)}@media (max-width:900px){.cre-art{width:104px;height:104px}.creature.enemy .cre-art{width:106px;height:106px}.player-creature .cre-art{width:118px;height:118px}.cface{height:66px}.cface .px{width:68px;height:68px}}.card-text br{content:'';display:block;margin-top:2px}.card-text b,.card-text i,.card-text u{white-space:nowrap}.cardview .card{box-shadow:0 8px 20px #000b}.cardview .cv-card{margin-bottom:4px}.hero-portrait{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 7px 8px rgba(0,0,0,.5))}.cface .hero-portrait{width:94px;height:94px;filter:drop-shadow(0 7px 6px #000a)}.player-creature .hero-portrait{width:158px;height:158px}
.art-img{display:block;pointer-events:none;user-select:none;-webkit-user-drag:none}.ico-img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.art-fb{display:block;width:100%;height:100%}.title-bg{background:linear-gradient(180deg,rgba(6,6,10,.25) 0%,rgba(6,6,10,.55) 55%,rgba(6,6,10,.92) 100%),url(../assets/bg/title.webp) center 30%/cover no-repeat,linear-gradient(180deg,#07070a,#12101a 55%,#1c1218)}.title-bg::after{opacity:.18}.game-title span,.game-title em{text-shadow:0 0 30px #000,0 4px 0 #1a120c,0 0 60px #000}.char-card{background:linear-gradient(180deg,rgba(25,22,32,.86),rgba(12,10,16,.92));backdrop-filter:blur(3px)}.char-card .cface{height:132px;display:flex;align-items:flex-end;justify-content:center}.char-card .cface .hero-img{height:128px;width:auto;filter:drop-shadow(0 8px 8px #000c);transition:transform .25s}.char-card:hover .cface .hero-img,.char-card.sel .cface .hero-img{transform:scale(1.07) translateY(-2px)}.battle-bg{background-color:#0d0b10}#screen-combat .battle-bg::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(5,5,9,.35) 0%,rgba(5,5,9,0) 30%,rgba(5,5,9,0) 55%,rgba(5,5,9,.65) 100%)}.player-creature .cre-art{width:auto;height:250px;min-width:150px;display:flex;align-items:flex-end;justify-content:center}.player-creature .cre-art .hero-img{height:100%;width:auto;animation:breathe 3.6s ease-in-out infinite;transform-origin:50% 100%}.creature.enemy .cre-art{width:auto;height:190px;min-width:120px;display:flex;align-items:flex-end;justify-content:center}.creature.enemy.tier-elite .cre-art{height:230px}.creature.enemy.tier-boss .cre-art{height:300px}.mon-img{height:calc(100% * var(--msc,1));width:auto;max-width:320px;object-fit:contain;animation:breathe 3.2s ease-in-out infinite;transform-origin:50% 100%}.creature.enemy:nth-child(2) .mon-img{animation-delay:-1.1s}.creature.enemy:nth-child(3) .mon-img{animation-delay:-2.2s}.creature.enemy .cre-art::after,.player-creature .cre-art::after{content:'';position:absolute;bottom:-6px;left:50%;width:70%;height:16px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(0,0,0,.6),transparent 70%);z-index:-1}.cre-art{position:relative}@keyframes breathe{0%,100%{transform:scaleY(1) translateY(0)}50%{transform:scaleY(1.015) translateY(-1px)}}.creature.enemy:hover .cre-art{filter:drop-shadow(0 0 10px #ff6a4d) drop-shadow(0 10px 8px rgba(0,0,0,.7)) brightness(1.12)}.creature.shake .cre-art,.cre-art.hit{filter:brightness(2.2) saturate(.3)}@media (max-width:900px){.player-creature .cre-art{height:170px}.creature.enemy .cre-art{height:140px}.creature.enemy.tier-elite .cre-art{height:165px}.creature.enemy.tier-boss .cre-art{height:210px}}.intent{background:rgba(10,8,14,.78);border:1px solid #4a3e30;border-radius:14px;padding:2px 8px 2px 4px;backdrop-filter:blur(2px)}.intent .i-ico{display:flex;gap:1px}.intent .i-img{width:28px;height:28px;filter:drop-shadow(0 2px 2px #000a)}.intent b{font-size:16px;text-shadow:0 2px 3px #000}.intent .attack .i-img{animation:intentPulse 1.4s ease-in-out infinite}@keyframes intentPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}.pile{gap:0}.pile-ico{width:34px;height:34px;display:block;margin-bottom:-2px;filter:drop-shadow(0 2px 3px #000a)}.pile .pile-n{line-height:1}.ico-gold{background:url(../assets/icon/gold.webp) center/contain no-repeat;box-shadow:none;width:18px;height:18px;border-radius:0}.gold-ico{display:inline-block;width:18px;height:18px;vertical-align:-4px}.relic{background:radial-gradient(circle at 40% 35%,#3a2f45,#120e18);border:1px solid #8a6d3b;box-shadow:inset 0 0 6px #000,0 0 6px #d9b46a33}.relic-emo{font-size:16px;filter:drop-shadow(0 1px 2px #000)}.relic.boss{border-color:#d36bff;box-shadow:inset 0 0 6px #000,0 0 8px #b04cff66}.potion-slot .ico-img{width:26px;height:30px}.reward-ico{width:40px;height:40px;display:grid;place-items:center}.reward-ico .ico-img{width:40px;height:40px}.shop-item .si-ico{width:56px;height:56px;margin:0 auto;display:grid;place-items:center}.shop-item .si-ico .ico-img{width:56px;height:56px}#screen-map{background-color:#0d0b10}.mnode{width:50px;height:50px;margin:-25px 0 0 -25px;background:radial-gradient(circle at 45% 35%,#2b241c,#100d0a);border:2px solid #4c4030;box-shadow:0 3px 8px #000a}.mnode .ico-img{width:38px;height:38px;margin:auto}.mnode.visited .ico-img{filter:grayscale(.7) brightness(.7)}.mnode.avail{animation:nodePulse 1.6s ease-in-out infinite}@keyframes nodePulse{0%,100%{box-shadow:0 0 0 0 #ffd98a66,0 3px 8px #000a}50%{box-shadow:0 0 0 7px #ffd98a00,0 3px 8px #000a}}.mnode.n-elite{border-color:#8a4a2a}.mnode.burning{border-color:#ff7a2a;box-shadow:0 0 14px #ff5a1a,0 0 30px #ff3a0055}.mnode.burning::before{content:'';position:absolute;inset:-9px;border-radius:50%;background:conic-gradient(from 0deg,#ff5a1a00,#ff8a2acc,#ffd25a00,#ff5a1acc,#ff5a1a00);filter:blur(5px);animation:spin 2.4s linear infinite;z-index:-1}@keyframes spin{to{transform:rotate(360deg)}}.mnode.boss-preview{width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:18px;background:radial-gradient(ellipse at 50% 70%,#3a1518,#0e0809);border:2px solid #8b3fc0;box-shadow:0 0 24px #8b3fc066,inset 0 0 30px #000;overflow:visible}.mnode.boss-preview .bp-pic{position:absolute;left:50%;bottom:22px;height:118px;width:auto;transform:translateX(-50%);filter:brightness(.15) drop-shadow(0 0 6px #b04cff);transition:filter .4s}.mnode.boss-preview:hover .bp-pic{filter:brightness(.55) drop-shadow(0 0 8px #b04cff)}.mnode.boss-preview .bp-ico{position:absolute;top:-16px;left:50%;width:38px;height:38px;transform:translateX(-50%)}.mnode.boss-preview .bp-name{position:absolute;bottom:4px;left:0;right:0;text-align:center;font-size:12px;color:#e5c3ff;letter-spacing:2px;text-shadow:0 1px 3px #000}.boss-intro{position:absolute;inset:0;z-index:90;display:flex;align-items:center;cursor:pointer;overflow:hidden;background:#050307;opacity:0;transition:opacity .45s}.boss-intro.show{opacity:1}.boss-intro.out{opacity:0}.boss-intro .bi-art{position:absolute;inset:0;background:center right/cover no-repeat;transform:scale(1.12);transition:transform 2.6s cubic-bezier(.2,.7,.2,1)}.boss-intro.show .bi-art{transform:scale(1)}.boss-intro::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(4,2,6,.95) 0%,rgba(4,2,6,.7) 32%,rgba(4,2,6,0) 62%),linear-gradient(0deg,rgba(4,2,6,.8),transparent 30%)}.boss-intro .bi-text{position:relative;z-index:2;padding-left:7vw;transform:translateX(-30px);opacity:0;transition:all .7s .25s}.boss-intro.show .bi-text{transform:none;opacity:1}.boss-intro small{display:block;color:#c79a5a;letter-spacing:6px;font-size:13px;margin-bottom:10px}.boss-intro h2{margin:0;font-size:64px;letter-spacing:10px;color:#f4e6cc;text-shadow:0 0 30px #c0392b,0 4px 0 #2a0f0c}.boss-intro .bi-text i{display:block;height:3px;width:0;margin-top:14px;background:linear-gradient(90deg,#c0392b,transparent);transition:width 1s .6s}.boss-intro.show .bi-text i{width:340px}.boss-intro.no-art{background:radial-gradient(ellipse at 70% 50%,#3a1013,#050307)}@media (max-width:900px){.boss-intro h2{font-size:40px;letter-spacing:6px}}.boss-portrait{position:absolute;top:60px;left:14px;width:210px;height:118px;z-index:6;border-radius:8px;background:center/cover no-repeat;border:1px solid #8b3fc0;box-shadow:0 0 18px #8b3fc055,inset 0 0 30px #000c;opacity:.92;pointer-events:none}.boss-portrait span{position:absolute;left:0;right:0;bottom:0;padding:4px 8px;font-size:12px;letter-spacing:2px;color:#f0dcff;background:linear-gradient(0deg,#000c,transparent);border-radius:0 0 8px 8px}@media (max-width:900px){.boss-portrait{width:130px;height:73px}}.card{--c1:#6a5f4a;--c2:#2b2823;--c3:#171512;--glow:#e7c88455;--gem:#bfb8a8;border:0;border-radius:12px;overflow:visible;padding:0;background:linear-gradient(180deg,var(--c2),var(--c3)) padding-box,linear-gradient(160deg,var(--c1),#0b0a09 45%,var(--c1) 70%,#0b0a09) border-box;border:3px solid transparent;box-shadow:0 6px 16px rgba(0,0,0,.75),inset 0 0 0 1px rgba(255,255,255,.06),inset 0 0 18px rgba(0,0,0,.7);grid-template-rows:27px 74px 16px minmax(0,1fr) 16px;transition:box-shadow .2s,transform .2s,filter .2s}.card.attack{--c1:#c0503a;--c2:#3a201b;--c3:#140b09;--glow:#ff6a4d66}.card.skill{--c1:#5d9cc9;--c2:#1c2b37;--c3:#0b1217;--glow:#6cc0ff66}.card.power{--c1:#c79a4a;--c2:#2d1f3c;--c3:#120b19;--glow:#c77dff66}.card.blue{--c1:#7fd0ff}.card.yellow{--c1:#a6d36a}.card.curse{--c1:#5a5a5a;--c2:#1d1c20;--c3:#0a0a0c;--glow:#8a4dff44}.card.status{--c1:#7a7a88;--c2:#202129;--c3:#0e0e12}.card.attack,.card.skill,.card.power,.card.blue,.card.yellow,.card.curse,.card.status{border-color:transparent;background:linear-gradient(180deg,var(--c2),var(--c3)) padding-box,linear-gradient(160deg,var(--c1),#0b0a09 45%,var(--c1) 70%,#0b0a09) border-box}.card.power::before{content:'';position:absolute;inset:3px;border-radius:9px;pointer-events:none;z-index:1;border:1px solid #c79a4a66;box-shadow:inset 0 0 14px #9a4dff44}.card.attack::before{content:'';position:absolute;inset:-3px;border-radius:12px;pointer-events:none;z-index:1;background:linear-gradient(135deg,#e06a4a 0 7px,transparent 7px) top left/14px 14px no-repeat,linear-gradient(225deg,#e06a4a 0 7px,transparent 7px) top right/14px 14px no-repeat,linear-gradient(45deg,#e06a4a 0 7px,transparent 7px) bottom left/14px 14px no-repeat,linear-gradient(315deg,#e06a4a 0 7px,transparent 7px) bottom right/14px 14px no-repeat}.card.skill::before{content:'';position:absolute;inset:4px;border-radius:9px;pointer-events:none;z-index:1;background:radial-gradient(circle,#cfe6f7 0 1.6px,transparent 2.2px) 4px 4px/calc(100% - 8px) calc(100% - 8px) no-repeat,radial-gradient(circle at 100% 100%,#cfe6f7 0 1.6px,transparent 2.2px);opacity:.0}.card-cost{top:-8px;left:-8px;width:34px;height:34px;font-weight:800;font-size:17px;z-index:5;border:2px solid #e9d7a8;box-shadow:0 2px 6px #000c,inset 0 -4px 8px #0006,inset 0 3px 6px #fff4;text-shadow:0 1px 2px #000,0 0 8px currentColor}.card.attack .card-cost{background:radial-gradient(circle at 35% 30%,#ff8a6a,#9b2a18 60%,#3a0c06);color:#fff3ea}.card.skill .card-cost{background:radial-gradient(circle at 35% 30%,#8fd0ff,#1f5f94 60%,#0a1e33);color:#eef8ff}.card.power .card-cost{background:radial-gradient(circle at 35% 30%,#e1b2ff,#6a2fa8 60%,#220a3a);color:#fbf0ff}.card.blue .card-cost{background:radial-gradient(circle at 35% 30%,#bff0ff,#2a7fc0 60%,#0a2238)}.card.yellow .card-cost{background:radial-gradient(circle at 35% 30%,#d8f59c,#4f8a2a 60%,#14260b)}.card-name{position:relative;z-index:2;margin:4px 6px 0 20px;padding:0 6px;border-radius:3px;font-weight:700;font-size:12px;color:#f6ead2;text-shadow:0 1px 2px #000;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(0,0,0,.25)),linear-gradient(90deg,transparent,var(--c1) 12%,var(--c1) 88%,transparent);box-shadow:0 2px 4px #0008}.card.attack .card-name{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(0,0,0,.3)),linear-gradient(90deg,transparent,#7a2a1c 12%,#7a2a1c 88%,transparent)}.card.skill .card-name{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(0,0,0,.3)),linear-gradient(90deg,transparent,#2b4a62 12%,#2b4a62 88%,transparent)}.card.power .card-name{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(0,0,0,.3)),linear-gradient(90deg,transparent,#4a2a66 12%,#4a2a66 88%,transparent)}.card.upgraded .card-name{color:#a6f5a0}.card-art{position:relative;z-index:2;margin:3px 8px 0;border-radius:5px 5px 2px 2px;background:#0b0a09;border:1px solid var(--c1);box-shadow:inset 0 0 10px #000,0 0 0 1px #000;overflow:hidden}.card-art .card-pic{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.card-art::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.45)),radial-gradient(ellipse at 50% 50%,transparent 55%,rgba(0,0,0,.45))}.hand-card.hover .card-art .card-pic,.cv-card:hover .card-art .card-pic{transform:scale(1.08)}.card-type{position:relative;z-index:3;justify-self:center;margin-top:-6px;padding:0 10px;height:15px;line-height:15px;font-size:9px;letter-spacing:2px;color:#f0e2c2;border-radius:2px;background:linear-gradient(180deg,#3b3328,#17130f);border:1px solid var(--c1);box-shadow:0 2px 3px #000a}.card-text{position:relative;z-index:2;margin:4px 8px 2px;padding:4px 5px;border-radius:4px;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.15));box-shadow:inset 0 0 8px #0008;display:block;align-content:center}.card-badges{z-index:3;bottom:3px;color:#c9b58d}.card-gem{position:absolute;left:50%;bottom:-6px;width:12px;height:12px;margin-left:-6px;transform:rotate(45deg);z-index:4;background:linear-gradient(135deg,#fff8,var(--gem) 40%,#0008);border:1px solid #000;box-shadow:0 0 6px var(--gem)}.card.r-common .card-gem{--gem:#bfb8a8}.card.r-uncommon .card-gem{--gem:#5fb8ff}.card.r-rare .card-gem{--gem:#ffc94a}.card.r-basic .card-gem,.card.r-special .card-gem{--gem:#8a8378}.card.curse .card-gem{--gem:#9a4dff}.card.r-rare{background:linear-gradient(180deg,var(--c2),var(--c3)) padding-box,linear-gradient(160deg,#ffe08a,#7a5a1a 30%,#fff1b8 50%,#7a5a1a 70%,#ffe08a) border-box!important}.card-foil{position:absolute;inset:0;border-radius:9px;pointer-events:none;z-index:6;overflow:hidden;opacity:0}.card.r-rare .card-foil,.card.r-uncommon .card-foil{opacity:1}.card-foil::before{content:'';position:absolute;top:-50%;left:-80%;width:50%;height:200%;transform:rotate(20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),rgba(180,230,255,.18),transparent);animation:foil 4.5s ease-in-out infinite}.card.r-uncommon .card-foil::before{animation-duration:7s;opacity:.55}@keyframes foil{0%,55%{left:-80%}100%{left:140%}}.card.upgraded{box-shadow:0 6px 16px rgba(0,0,0,.75),0 0 12px #6fe07a66,inset 0 0 18px rgba(0,0,0,.7)}.hand-card.playable .card{box-shadow:0 6px 18px #000a,0 0 14px var(--glow),0 0 2px #ffe9b0}.hand-card.hover .card{box-shadow:0 14px 30px #000c,0 0 26px var(--glow),0 0 3px #fff3}.hand-card.selected .card{box-shadow:0 6px 18px #000a,0 0 24px #9be89bcc}.cv-card:hover .card{transform:translateY(-4px);box-shadow:0 12px 26px #000c,0 0 20px var(--glow)}.hand-card.dragging .card{box-shadow:0 18px 40px #000d,0 0 34px var(--glow),0 0 60px var(--glow)}.hand-card.dragging .card::after{content:'';position:absolute;inset:-6px;border-radius:14px;pointer-events:none;border:2px solid var(--c1);opacity:.7;animation:dragRing .8s ease-out infinite}@keyframes dragRing{from{transform:scale(1);opacity:.7}to{transform:scale(1.12);opacity:0}}@media (prefers-reduced-motion:reduce){.mon-img,.hero-img,.card-foil::before,.mnode.avail,.mnode.burning::before,.intent .attack .i-img{animation:none!important}}.map-legend .lg-ico{display:inline-block;width:22px;height:22px;vertical-align:-6px;margin-right:2px}.relic .relic-img{width:26px;height:26px}.relic{overflow:visible}.ob-ico{display:inline-block;width:30px;height:30px;vertical-align:-9px;margin-right:6px}.ob-ico .relic-emo{font-size:22px}.tt-relic{display:inline-block;width:26px;height:26px;vertical-align:-7px;margin-right:5px}.rl-ico{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;font-size:22px}.si-ico .relic-img{width:56px;height:56px}.event-banner{margin:-4px -4px 12px;border-radius:8px;overflow:hidden;aspect-ratio:9/4;background:#0c0a0e;box-shadow:inset 0 0 0 1px #4a3e30,0 6px 16px #000a;position:relative}.event-banner img{width:100%;height:100%;object-fit:cover;display:block;animation:evzoom 12s ease-out forwards}.event-banner::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,8,12,.75),transparent 45%)}@keyframes evzoom{from{transform:scale(1.08)}to{transform:scale(1)}}.cheat-tag{font-size:12px;color:#7ee0ff;border:1px solid #7ee0ff88;border-radius:10px;padding:1px 8px;margin-left:6px;vertical-align:3px}.cheat-note{position:fixed;left:50%;top:70px;transform:translateX(-50%);z-index:999;pointer-events:none;background:rgba(8,14,20,.92);border:1px solid #7ee0ff;color:#d8f6ff;padding:8px 18px;border-radius:18px;font-size:13px;opacity:0;box-shadow:0 0 20px #3ab8ff55}.cheat-note.show{animation:cheatIn 2.6s ease forwards}@keyframes cheatIn{0%{opacity:0;transform:translate(-50%,-10px)}10%,80%{opacity:1;transform:translate(-50%,0)}100%{opacity:0}}.settings{display:flex;flex-direction:column;gap:10px;min-width:320px}.set-row{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #3a3226;border-radius:8px;background:#15121a;cursor:pointer}.set-row span{display:flex;flex-direction:column}.set-row small{color:#8b8171;font-size:11px;margin-top:2px}.set-row input[type=checkbox]{width:18px;height:18px;accent-color:#d9b46a}.set-row input[type=range]{width:160px;accent-color:#d9b46a}.set-cheat{padding:10px 12px;border:1px dashed #4a5a66;border-radius:8px;display:flex;flex-direction:column;gap:6px}.set-cheat div{display:flex;gap:8px}.set-cheat input{flex:1;background:#0d0b10;border:1px solid #4a3e30;color:#eee;padding:5px 8px;border-radius:4px}.set-cheat small{color:#7ee0ff;font-size:11px}.card-ghost{position:fixed;z-index:95;pointer-events:none;transform-origin:50% 50%}.card-ghost .card{box-shadow:0 0 30px var(--glow),0 0 60px var(--glow)}.creature.enemy.dying{opacity:1!important;transform:none!important}.creature.enemy.dying .cre-art{animation:dissolve .9s ease-in forwards}@keyframes dissolve{0%{filter:brightness(2.5) saturate(0);opacity:1;transform:none}40%{filter:brightness(.6) sepia(1) hue-rotate(-20deg) blur(1px);opacity:.8}100%{filter:brightness(0) blur(6px);opacity:0;transform:translateY(16px) scaleY(.85)}}.impact-flash{position:absolute;inset:0;z-index:85;pointer-events:none;background:radial-gradient(ellipse at 60% 45%,rgba(255,240,220,.35),transparent 60%);animation:flash .26s ease-out forwards}@keyframes flash{from{opacity:1}to{opacity:0}}body.lowfx *,body.lowfx *::before,body.lowfx *::after{animation:none!important;transition:none!important}body.lowfx .card-foil{display:none}body.lowfx .battle-bg::after{display:none}.shop-slot .price{margin-top:10px}:root{--px1:32px;--px2:32px;--px3:64px}img.px-art{image-rendering:pixelated;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor;object-fit:contain;width:var(--px1)!important;height:var(--px1)!important;max-width:none;flex:none;filter:drop-shadow(0 1px 0 rgba(0,0,0,.55))}@supports (image-rendering:pixelated){img.px-art{image-rendering:pixelated}}.relic .px-art,.potion-slot .px-art,.tt-relic .px-art,.ob-ico .px-art,.cr-ico .px-art{width:var(--px1)!important;height:var(--px1)!important}.ci-ico .px-art,.reward-ico .px-art,.rl-ico .px-art{width:var(--px2)!important;height:var(--px2)!important}.si-ico .px-art,.bc-ico .px-art{width:var(--px3)!important;height:var(--px3)!important}.relic:has(.px-art){overflow:visible}.potion-slot:has(.px-art){overflow:visible}.set-sel{background:#0d0b10;color:#eee;border:1px solid #4a3e30;border-radius:6px;padding:4px 8px;font-size:14px}.shop-item .si-ico:has(.px-art){width:var(--px3);height:var(--px3)}.reward-ico:has(.px-art),.rl-ico:has(.px-art){min-width:var(--px2);min-height:var(--px2)}
:root{--tb-h:52px;--cs:1;--bronze:#c8914a}#screen-title{overflow-y:auto;overflow-x:hidden;justify-content:safe center}.title-wrap{max-width:1100px;width:100%;margin:auto}.char-select{display:block;margin:0 auto 18px}.char-cards{display:grid;grid-template-columns:repeat(5,minmax(0,184px));gap:12px;justify-content:center}.char-card{width:auto;min-width:0;display:flex;flex-direction:column;align-items:center;padding:12px 10px 10px;position:relative;border-radius:8px;outline:none}.char-card:focus-visible{box-shadow:0 0 0 2px var(--gold2)}.char-card.sel{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold),0 0 22px #d9b46a55;transform:translateY(-4px)}.char-card.sel::after{content:'已选择';position:absolute;top:8px;right:8px;font-size:10px;letter-spacing:1px;color:#1a1208;background:linear-gradient(180deg,#f3dda6,#c99a4a);padding:1px 6px;border-radius:8px}.char-card .cface{height:132px;width:100%;overflow:hidden}.char-card .cface .hero-img{height:128px;max-width:100%;object-fit:contain}.char-card h4{margin:6px 0 4px;font-size:16px;white-space:nowrap}.char-card .cstat{display:flex;gap:10px;justify-content:center;margin:0 0 6px;font-size:12px;color:#b3a78f}.cs-hp{color:#ff9c8c}.cs-gold{color:#f3d58a}.char-card .cdesc{flex:1;font-size:12px;line-height:1.55;color:#9c917e;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.crelic{margin-top:8px;display:flex;align-items:center;gap:5px;padding:3px 8px 3px 3px;border-radius:12px;max-width:100%;background:#0d0b10;border:1px solid #3a3226;font-size:11px;color:#cdb98e;cursor:help}.crelic .cr-ico,.cd-relic .cr-ico{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center}.crelic .relic-emo{font-size:14px}.crelic .cr-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.char-card.c-bronze h4{color:#f0c27a}.char-card.c-bronze.sel{border-color:#e0a65a;box-shadow:0 0 0 1px #e0a65a,0 0 22px #e0a65a55}.char-detail{display:none}.title-actions{flex-wrap:wrap}.seed-row{flex-wrap:wrap;row-gap:6px}@media (max-width:1000px){.char-cards{display:flex;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 6px 10px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.char-card{flex:0 0 172px;scroll-snap-align:center}.char-card:first-child{margin-left:auto}.char-card:last-child{margin-right:auto}}@media (max-width:600px),(max-height:500px){.title-wrap{padding:10px 10px 16px}.game-title{font-size:38px;letter-spacing:8px}.game-sub{margin:6px 0 12px;font-size:10px;letter-spacing:3px}.char-select{margin-bottom:12px}.char-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:4px 0 6px;overflow:visible;max-width:520px;margin:0 auto}.char-card{flex:none;padding:6px 2px 6px;border-radius:7px;transform:none!important}.char-card:first-child,.char-card:last-child{margin:0}.char-card.sel::after{display:none}.char-card .cface{height:78px}.char-card .cface .hero-img{height:76px}.char-card h4{font-size:11px;letter-spacing:0;margin:4px 0 0}.char-card .cstat,.char-card .cdesc,.char-card .crelic{display:none}.char-detail{display:block;max-width:520px;margin:8px auto 0;text-align:left;padding:10px 12px;border-radius:8px;background:linear-gradient(180deg,rgba(25,22,32,.9),rgba(12,10,16,.94));border:1px solid #4a3e30}.char-detail.c-bronze{border-color:#8a6232}.cd-head{display:flex;align-items:center;gap:10px;font-size:13px}.cd-head b{color:var(--gold2);font-size:16px;letter-spacing:2px;margin-right:auto}.char-detail p{margin:6px 0;font-size:12.5px;line-height:1.6;color:#b5aa94}.cd-relic{display:flex;gap:6px;align-items:flex-start;font-size:12px;color:#9d9280;line-height:1.5}.cd-relic b{color:#e8cf95}.cd-relic .relic-emo{font-size:15px}.title-actions{gap:8px}.big-btn{padding:9px 16px;font-size:15px;letter-spacing:2px}#btn-start{flex:1 1 100%;max-width:340px}.seed-row{gap:8px 12px;margin-top:12px}.field-help{white-space:normal}.title-tip{font-size:11px;margin:10px 0 0}}@media (max-height:500px) and (orientation:landscape){.title-wrap{max-width:820px;padding-top:6px}.game-title{font-size:30px}.game-sub{margin:2px 0 8px}.char-select{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:10px;align-items:stretch;max-width:820px}.char-cards{max-width:none;margin:0;align-items:start;align-content:center}.char-detail{margin:0;padding:8px 10px;align-self:center}.char-detail p{font-size:11.5px;margin:4px 0}.char-card .cface{height:84px}.char-card .cface .hero-img{height:82px}#btn-start{flex:0 0 auto}.title-tip{display:none}}.card.bronze{--c1:#d4a25a}.card.bronze.attack,.card.bronze.skill,.card.bronze.power{border-color:transparent}.card.bronze .card-cost{background:radial-gradient(circle at 35% 30%,#ffe2a8,#b0702a 60%,#3a1f08);border-color:#f3d6a0;color:#fff6e6}.card.bronze .card-name{color:#ffe7c0}.card.bronze::after{content:'';position:absolute;inset:3px;border-radius:9px;pointer-events:none;z-index:1;background:radial-gradient(circle,#e8b86a 0 2px,transparent 2.6px) 6px 34px/12px 12px no-repeat,radial-gradient(circle,#e8b86a 0 2px,transparent 2.6px) calc(100% - 6px) 34px/12px 12px no-repeat;box-shadow:inset 0 0 0 1px #d4a25a44}.hand-card.dragging .card.bronze::after{animation:none}.chrono-hud{position:absolute;left:calc(100% + 6px);top:8px;z-index:6;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:auto}.clock-dial{--p:0;position:relative;width:62px;height:62px;border-radius:50%;cursor:help;display:grid;place-items:center;background:radial-gradient(circle,#1a1410 54%,transparent 55%),conic-gradient(from 0deg,#ffd27a calc(var(--p)*360deg),#3a2c1c 0);box-shadow:0 0 0 2px #6b4b22,0 4px 10px #000c,0 0 14px #e0a65a44}.clock-dial .cd-ring{position:absolute;inset:-4px;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(from -1deg,#c8914a 0 2deg,transparent 2deg 30deg);-webkit-mask:radial-gradient(circle,transparent 62%,#000 63%);mask:radial-gradient(circle,transparent 62%,#000 63%)}.clock-dial .cd-ico{position:absolute;inset:7px;opacity:.55;pointer-events:none;font-size:30px;display:grid;place-items:center}.clock-dial .cd-ico .ico-img{width:100%;height:100%}.clock-dial .cd-n{position:relative;z-index:2;font-size:21px;line-height:1;color:#fff1cf;text-shadow:0 0 6px #000,0 0 10px #ffb84a;margin-top:-6px}.clock-dial .cd-max{position:absolute;bottom:9px;left:0;right:0;text-align:center;z-index:2;font-size:10px;color:#e8c88c;text-shadow:0 1px 2px #000}.clock-dial.near{box-shadow:0 0 0 2px #e0a65a,0 4px 10px #000c,0 0 18px #ffcc66aa;animation:dialNear 1.2s ease-in-out infinite}@keyframes dialNear{50%{box-shadow:0 0 0 2px #ffe0a0,0 4px 10px #000c,0 0 26px #ffd27acc}}.clock-dial.chime{animation:chime .9s ease-out}@keyframes chime{0%{transform:scale(1)}20%{transform:scale(1.28) rotate(-8deg);filter:brightness(1.8)}45%{transform:scale(1.1) rotate(6deg)}100%{transform:scale(1)}}.tl-chips{display:flex;flex-direction:column;gap:3px;align-items:center}.tl-chip{display:flex;align-items:center;gap:3px;min-width:44px;justify-content:center;padding:1px 6px 1px 4px;border-radius:10px;font-size:12px;background:#1d1610;border:1px solid #7a5a2e;color:#f1d9a8;cursor:help;box-shadow:0 2px 4px #0009}.tl-chip span{font-size:12px;line-height:1}.tl-chip b{min-width:12px;text-align:center}.tl-chip.soon{border-color:#ffcf7a;box-shadow:0 0 8px #ffbf4a88;color:#fff2cf}.tl-chip.more{font-size:11px;color:#c9b38a}.creature.enemy .powers,.player-creature .powers{max-width:170px}.cre-bar{max-width:100%}.hp-text{white-space:nowrap}#tb-char{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tb-floor{white-space:nowrap}.hand-card>.card,.cv-card>.card{width:calc(100% / var(--cs));height:calc(100% / var(--cs));transform:scale(var(--cs));transform-origin:0 0}@media (max-width:600px) and (orientation:portrait){:root{--tb-h:78px;--card-w:100px;--card-h:140px;--cs:.758;--hud-h:62px;--hand-h:150px;--pl-art:clamp(112px,19vh,180px);--en-art:clamp(88px,14.5vh,150px)}#topbar{height:auto;min-height:var(--tb-h);flex-wrap:wrap;align-content:center;row-gap:4px;column-gap:6px;padding:4px 8px}.tb-left{order:1;flex:1 1 100%;gap:8px;min-width:0}.tb-char{font-size:12px;letter-spacing:0;max-width:96px;flex:0 1 auto}.hp-box{flex:1 1 auto;width:auto;min-width:70px}.tb-gold{font-size:13px}.tb-potions{gap:3px}.potion-slot{width:22px;height:28px}.tb-mid{order:2;flex:1 1 0;min-width:0;justify-content:flex-start}.tb-relics{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-height:none;justify-content:flex-start;scrollbar-width:none}.tb-relics::-webkit-scrollbar{display:none}.relic{width:26px;height:26px;flex:0 0 26px}.relic .relic-img{width:22px;height:22px}.tb-right{order:3;gap:5px}.tb-floor{font-size:10.5px}.tb-btn{padding:4px 7px;font-size:12px}#screen-map,#screen-combat{padding-top:var(--tb-h)}.combat-toast{top:calc(var(--tb-h) + 8px)}.boss-portrait{display:none}.battle-field{position:absolute;left:0;right:0;top:var(--tb-h);bottom:calc(var(--hand-h) + var(--hud-h) + var(--pl-art) + 34px);padding:46px 8px 4px;display:flex;align-items:center;justify-content:flex-end}.enemies{gap:6px;max-width:100%;justify-content:flex-end;align-items:flex-end}.creature.enemy{min-width:0;min-height:0;flex:0 1 auto}.creature.enemy .cre-art,.creature.enemy.tier-elite .cre-art{height:var(--en-art);min-width:0;width:auto}.creature.enemy.tier-boss .cre-art{height:calc(var(--en-art) * 1.3)}.enemies[data-n="3"] .creature.enemy .cre-art,.enemies[data-n="4"] .creature.enemy .cre-art,.enemies[data-n="5"] .creature.enemy .cre-art{height:calc(var(--en-art) * .78)}.mon-img{max-width:calc((100vw - 28px) / var(--en-n,2))}.enemies[data-n="1"]{--en-n:1.4}.enemies[data-n="2"]{--en-n:2}.enemies[data-n="3"]{--en-n:3}.enemies[data-n="4"]{--en-n:4}.enemies[data-n="5"]{--en-n:5}.creature.enemy .cre-bar{width:clamp(70px,28vw,120px)}.enemies[data-n="3"] .cre-bar,.enemies[data-n="4"] .cre-bar{width:clamp(64px,29vw,110px)}.creature.enemy .powers{max-width:120px}.intent{top:-40px;padding:1px 6px 1px 3px}.intent .i-img{width:22px;height:22px}.intent b{font-size:14px}.cre-bar .hp-bar{height:14px}.hp-text{font-size:11px}.cre-block{width:30px;height:30px;left:-10px;font-size:12px}.player-zone{left:10px;bottom:calc(var(--hand-h) + var(--hud-h));z-index:3}.player-creature .cre-art{height:var(--pl-art);min-width:0;width:auto}.player-creature .cre-bar{width:clamp(96px,30vw,130px)}.player-creature .powers{max-width:150px}.chrono-hud{left:calc(100% + 2px);top:0;flex-direction:row;align-items:flex-start;gap:6px}.clock-dial{width:50px;height:50px}.clock-dial .cd-n{font-size:17px}.clock-dial .cd-max{bottom:6px;font-size:9px}.tl-chips{flex-direction:column;max-height:calc(var(--pl-art) - 6px);flex-wrap:wrap;align-content:flex-start}.tl-chip{min-width:38px;font-size:11px}#screen-combat:after{bottom:calc(var(--hand-h) + var(--hud-h) - 40px);height:100px}.energy-orb{left:8px;bottom:calc(var(--hand-h) + 4px);width:56px;height:56px}.orb-inner{font-size:18px}.pile{width:46px;height:52px;bottom:calc(var(--hand-h) + 6px)}.pile-ico{width:24px;height:24px}.pile-n{font-size:15px}.pile-l{font-size:9px}.pile-draw{left:70px}.pile-discard{right:166px}.pile-exhaust{right:116px;bottom:calc(var(--hand-h) + 6px)}.end-turn{right:8px;bottom:calc(var(--hand-h) + 8px);width:100px;padding:6px 0}.end-turn b{font-size:14px;letter-spacing:1px}.hand-area{height:var(--hand-h)}.hand-card{bottom:4px;transform-origin:50% 120%}.map-header h2{font-size:16px;letter-spacing:3px}.map-legend{gap:8px;font-size:10px;padding:0 6px}.map-canvas{width:100%}.floor-tag{display:none}.mnode{width:56px;height:56px;margin:-28px 0 0 -28px;border-width:3px}.mnode .ico-img{width:42px;height:42px}.mnode.boss-preview{width:120px;height:120px;margin:-60px 0 0 -60px}.mnode.boss-preview .bp-pic{height:92px}.ov-panel{width:96vw;padding:16px 14px;max-height:calc(100vh - var(--tb-h) - 12px)}.ov-panel h3{font-size:18px;letter-spacing:2px}.cardview{padding:8px 4px}.cv-grid{gap:10px 8px;padding:4px}.shop-cards{gap:14px 8px}.shop-items{gap:8px}.shop-item{width:66px}}@media (max-height:500px) and (orientation:landscape){:root{--tb-h:44px;--card-w:94px;--card-h:132px;--cs:.713;--hand-h:118px}#topbar{height:var(--tb-h);padding:0 8px;gap:8px}.tb-left,.tb-right{gap:6px}.tb-char{font-size:12px;letter-spacing:1px;max-width:130px}.hp-box{width:110px}.hp-bar{height:16px}.tb-gold{font-size:13px}.potion-slot{width:22px;height:28px}.relic{width:26px;height:26px}.tb-relics{max-height:28px;flex-wrap:nowrap;overflow:hidden}.tb-floor{font-size:11px}.tb-btn{padding:3px 8px;font-size:12px}#screen-map,#screen-combat{padding-top:var(--tb-h)}.combat-toast{top:calc(var(--tb-h) + 4px)}.boss-portrait{display:none}.battle-field{padding:0 24px calc(var(--hand-h) + 2px) 0}.enemies{gap:12px}.creature.enemy{min-width:0;min-height:0}.creature.enemy .cre-art,.creature.enemy.tier-elite .cre-art{height:min(112px,29vh);min-width:0}.creature.enemy.tier-boss .cre-art{height:min(150px,38vh)}.creature.enemy .cre-bar{width:110px}.intent{top:-36px}.intent .i-img{width:22px;height:22px}.cre-bar .hp-bar{height:13px}.hp-text{font-size:11px}.player-zone{left:3%;bottom:calc(var(--hand-h) + 2px)}.player-creature .cre-art{height:min(132px,34vh);min-width:0}.player-creature .cre-bar{width:110px}.chrono-hud{left:calc(100% + 2px);top:0;flex-direction:row;align-items:flex-start;gap:5px}.clock-dial{width:46px;height:46px}.clock-dial .cd-n{font-size:16px}.clock-dial .cd-max{bottom:5px;font-size:9px}.tl-chips{max-height:110px;flex-wrap:wrap;align-content:flex-start}.tl-chip{min-width:36px;font-size:11px}#screen-combat:after{bottom:60px;height:90px}.energy-orb{left:8px;bottom:58px;width:54px;height:54px}.orb-inner{font-size:17px}.pile{width:46px;height:48px;bottom:6px}.pile-ico{width:22px;height:22px}.pile-n{font-size:14px}.pile-l{font-size:9px}.pile-draw{left:12px}.pile-discard{right:62px}.pile-exhaust{right:10px;bottom:6px}.end-turn{right:10px;bottom:62px;width:98px;padding:6px 0}.end-turn b{font-size:14px}.hand-area{height:var(--hand-h)}.hand-card{bottom:-30px}.map-header{padding:4px 0 2px}.map-header h2{font-size:15px}.map-legend{margin-top:2px}.ov-panel{max-height:calc(100vh - 16px);padding:12px 16px}.cardview{padding:6px}.cv-head{padding-bottom:4px}}@media (max-width:900px){:root{--cs:.894}}@media (max-height:640px){:root{--cs:.894}}@media (max-width:600px) and (orientation:portrait){:root{--cs:.758}}@media (max-height:500px) and (orientation:landscape){:root{--cs:.713}}@media (max-width:900px),(max-height:640px){.hand-card>.card,.cv-card>.card{grid-template-rows:25px 60px 15px minmax(0,1fr) 12px}.hand-card>.card .card-text,.cv-card>.card .card-text{margin:3px 6px 1px;padding:3px 4px;line-height:1.28}}@media (max-width:600px) and (orientation:portrait){.map-scroll{padding:10px 0 30px 6px}}.hand-area.peeking{z-index:40}.mnode.avail{z-index:3}.mnode.avail::after{content:'';position:absolute;left:50%;top:50%;width:calc(44px / var(--mz,1));height:calc(44px / var(--mz,1));min-width:100%;min-height:100%;transform:translate(-50%,-50%);border-radius:50%;background:transparent}@media (max-width:600px) and (orientation:portrait){.mnode.avail:not(.boss-preview){width:64px;height:64px;margin:-32px 0 0 -32px}.mnode.avail:not(.boss-preview) .ico-img{width:48px;height:48px}}
.qdlg-wrap{position:absolute;inset:0;z-index:140;display:flex;align-items:center;justify-content:center;background:rgba(4,4,7,.62);backdrop-filter:blur(2px);opacity:0;transition:opacity .14s;padding:12px}.qdlg-wrap.show{opacity:1}.qdlg-wrap.out{opacity:0;pointer-events:none}.qdlg{position:relative;width:min(460px,94vw);max-height:calc(100% - 24px);overflow-y:auto;padding:20px 22px 18px;border-radius:10px;background:linear-gradient(180deg,#221c29 0%,#120f17 100%);border:1px solid #6a5a3e;box-shadow:0 0 0 1px #0008,0 18px 50px #000d,inset 0 1px 0 #ffffff10;transform:translateY(8px) scale(.97);transition:transform .16s}.qdlg-wrap.show .qdlg{transform:none}.qdlg::before{content:'';position:absolute;left:18px;right:18px;top:0;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.qdlg-title{margin:0 0 14px;text-align:center;color:var(--gold2);letter-spacing:3px;font-size:19px}.qdlg-body{font-size:14px;line-height:1.8;color:#d5cbb6}.qdlg-body p{margin:0 0 10px}.qdlg-note{font-size:12px;color:#8b8171;text-align:center}.qdlg-actions{display:flex;gap:10px;margin-top:16px;justify-content:center;flex-wrap:wrap}.qdlg-btn{flex:1 1 0;min-width:96px;min-height:44px;padding:9px 14px;border-radius:6px;font-size:15px;letter-spacing:2px;background:linear-gradient(180deg,#2a2333,#181420);border:1px solid #4e4436;color:var(--ink);cursor:pointer;transition:.12s;line-height:1.35}.qdlg-btn small{display:block;font-size:10.5px;letter-spacing:0;color:#9a8f78;margin-top:2px}.qdlg-btn:hover,.qdlg-btn:focus-visible{border-color:var(--gold);outline:none;background:linear-gradient(180deg,#3a3047,#221c2c)}.qdlg-btn:focus-visible{box-shadow:0 0 0 2px #d9b46a66}.qdlg-btn.primary{background:linear-gradient(180deg,#5a4120,#33240f);border-color:var(--gold);color:var(--gold2);font-weight:700}.qdlg-btn.primary:hover,.qdlg-btn.primary:focus-visible{background:linear-gradient(180deg,#71542a,#3f2d14)}.qdlg-btn.danger{border-color:#7a3a32;color:#f0b8a8}.qdlg-btn.danger:hover,.qdlg-btn.danger:focus-visible{border-color:#d0604c;background:linear-gradient(180deg,#3a1d1c,#22110f)}.qdlg-wrap.is-poor .qdlg-title{color:#ff9a85}.qdlg-wrap.is-poor .qdlg{border-color:#7a3a32}.qdlg-wrap.is-exit .qdlg-actions{flex-direction:column}.qdlg-wrap.is-exit .qdlg-btn{flex:none}.buy-confirm{display:flex;gap:16px;align-items:center}.bc-preview{flex:none;display:grid;place-items:center;min-width:84px}.bc-ico{width:72px;height:72px;display:grid;place-items:center;font-size:40px;border-radius:50%;background:radial-gradient(circle,#3a2f22 0%,#17131b 70%);border:1px solid #5a4b34;box-shadow:0 0 18px #d9b46a22}.bc-ico .ico-img,.bc-ico img{width:56px;height:56px}.bc-ico .relic-emo{font-size:38px}.bc-card{width:var(--card-w,120px);height:var(--card-h,168px);position:relative}.bc-card .card{pointer-events:none}.bc-info{flex:1;min-width:0}.bc-kind{font-size:11px;color:#8b8171;letter-spacing:3px}.bc-name{font-size:18px;color:var(--gold2);font-weight:700;margin:2px 0 4px;letter-spacing:1px}.bc-desc{font-size:12.5px;color:#b5aa94;line-height:1.6;margin-bottom:6px}.bc-rows{border-top:1px solid #3a3226;margin-top:6px;padding-top:6px}.bc-row{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;padding:3px 0;color:#b5aa94}.bc-row b{display:flex;align-items:center;gap:4px;color:var(--ink);font-weight:600}.bc-row b .ico-img,.bc-row b svg{width:16px;height:16px;display:inline-block}.bc-row .cheat-tag{font-style:normal;margin-left:4px}.bc-after b{color:#9fe08a}.bc-poor span,.bc-poor b{color:#ff8f7a;font-weight:700}.tb-cheatshop{border-color:#7ee0ff88;color:#bdf1ff;background:linear-gradient(180deg,#16303a,#0e1d24)}.tb-cheatshop:hover{border-color:#7ee0ff;background:linear-gradient(180deg,#1d4150,#12262f)}.tb-cheatshop.is-disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.6)}.tb-cheatshop.hidden{display:none}.lowhp-vignette{position:absolute;inset:0;z-index:28;pointer-events:none;opacity:0;transition:opacity .4s;background:radial-gradient(ellipse at center,transparent 52%,rgba(150,0,0,.28) 78%,rgba(190,10,10,.55) 100%)}.lowhp-vignette.on{opacity:1;animation:lhpulse 1.6s ease-in-out infinite}.lowhp-vignette.crit{animation-duration:.9s;background:radial-gradient(ellipse at center,transparent 44%,rgba(170,0,0,.36) 74%,rgba(220,20,20,.66) 100%)}@keyframes lhpulse{0%,100%{opacity:.55}50%{opacity:1}}body.lowfx .lowhp-vignette.on{opacity:.8}.lowhp-banner{position:absolute;left:50%;top:calc(var(--tb-h,52px) + 54px);z-index:90;pointer-events:none;transform:translate(-50%,-10px);opacity:0;transition:opacity .25s,transform .25s;display:flex;flex-direction:column;align-items:center;gap:2px;width:max-content;max-width:92vw;text-align:center;box-sizing:border-box;padding:9px 22px;border-radius:10px;background:linear-gradient(180deg,rgba(80,12,12,.95),rgba(40,6,8,.95));border:1px solid #d0604c;box-shadow:0 0 24px rgba(220,40,30,.45),0 6px 18px #000a}.lowhp-banner.show{opacity:1;transform:translate(-50%,0)}.lowhp-banner b{color:#ffd2c4;font-size:15.5px;letter-spacing:2px}.lowhp-banner small{color:#f0b0a0;font-size:12px}.lowhp-banner.crit{border-color:#ff7a5c;box-shadow:0 0 32px rgba(255,60,40,.6),0 6px 18px #000a}.potion-slot.pot-suggest{border-color:#e6b866!important;box-shadow:0 0 8px #e6b86699;animation:potglow 1.1s ease-in-out infinite}.potion-slot.pot-best{border-color:#7dff9a!important;box-shadow:0 0 10px #5dff8acc,0 0 2px #fff inset;background:#12251a!important}@keyframes potglow{0%,100%{transform:translateY(0);filter:brightness(1)}50%{transform:translateY(-2px);filter:brightness(1.35)}}body.lowfx .potion-slot.pot-suggest{animation:none}@media (max-width:760px){.qdlg{padding:16px 14px 14px}.qdlg-title{font-size:17px;letter-spacing:2px;margin-bottom:10px}.buy-confirm{gap:12px}.bc-card{width:var(--card-w,100px);height:var(--card-h,140px)}.bc-name{font-size:16px}.lowhp-banner{top:calc(var(--tb-h,78px) + 40px);padding:7px 14px}.lowhp-banner b{font-size:14px;letter-spacing:1px}}.ov-btn.ov-cheatshop{border-color:#7ee0ff77;color:#bdf1ff;background:linear-gradient(180deg,#16303a,#0e1d24)}.ov-btn.ov-cheatshop:hover{border-color:#7ee0ff;background:linear-gradient(180deg,#1d4150,#12262f)}
.ci-wrap{position:absolute;inset:0;z-index:130;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(4,4,7,.66);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity .15s}.ci-wrap.show{opacity:1;pointer-events:auto}.ci-panel{position:relative;width:min(720px,100%);max-height:100%;display:flex;flex-direction:column;border-radius:10px;overflow:hidden;background:linear-gradient(180deg,#221c29 0%,#120f17 100%);border:1px solid #6a5a3e;box-shadow:0 0 0 1px #0008,0 18px 50px #000d,inset 0 1px 0 #ffffff10;transform:translateY(8px) scale(.98);transition:transform .16s}.ci-wrap.show .ci-panel{transform:none}.ci-top{display:flex;align-items:center;justify-content:center;position:relative;padding:12px 48px 10px;border-bottom:1px solid #3a3226;flex:none}.ci-top::before{content:'';position:absolute;left:18px;right:18px;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.ci-top h3{margin:0;color:var(--gold2);letter-spacing:4px;font-size:18px}.ci-close{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:1px solid #4e4436;background:#1b1620;color:var(--ink);font-size:16px;cursor:pointer}.ci-close:hover,.ci-close:focus-visible{border-color:var(--gold);outline:none;color:var(--gold2)}.ci-body{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px 16px 18px;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;align-content:start}.ci-head{grid-column:1/-1;display:flex;gap:14px;align-items:center;padding:10px 12px;border-radius:8px;background:#ffffff08;border:1px solid #3a3226}.ci-face{flex:none;width:96px;height:96px;border-radius:8px;overflow:hidden;background:radial-gradient(circle at 50% 35%,#3a2f45,#14101a);border:1px solid #5a4b35;display:flex;align-items:flex-end;justify-content:center}.ci-face img,.ci-face svg{width:100%;height:100%;object-fit:cover;object-position:50% 12%}.ci-face .emoji-fb{font-size:54px;line-height:96px}.ci-id{flex:1;min-width:0}.ci-name{font-size:21px;font-weight:700;color:var(--gold2);letter-spacing:3px}.ci-tags{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}.ci-tag{font-size:12px;padding:2px 8px;border-radius:10px;background:#2b2433;border:1px solid #4e4436;color:#cfc4ae}.ci-hp .hp-bar{position:relative;height:16px;max-width:320px}.ci-stats{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:13px;color:#bfb49c}.ci-stats b{color:var(--ink)}.ci-sec{min-width:0;padding:10px 12px;border-radius:8px;background:#0000002a;border:1px solid #2f2920}.ci-sec h4{margin:0 0 8px;font-size:14px;letter-spacing:2px;color:var(--gold)}.ci-sec.is-relics,.ci-sec.is-wide{grid-column:1/-1}.ci-grid2{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.ci-grid2>.ci-row:nth-last-child(2):nth-child(odd){border-bottom:0}.ci-row{display:flex;gap:10px;align-items:flex-start;padding:6px 0;border-bottom:1px dashed #ffffff10}.ci-row:last-child{border-bottom:0}.ci-ico{position:relative;flex:none;width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:22px;background:#1a1520;border:1px solid #3e3529}.ci-ico .ico-img,.ci-ico img{width:36px;height:36px;object-fit:contain}.ci-ico i{position:absolute;right:-4px;bottom:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#120f17;border:1px solid var(--gold);font-style:normal;font-size:11px;line-height:16px;text-align:center;color:var(--gold2);font-weight:700}.ci-row.is-debuff .ci-ico{border-color:#7a3a32}.ci-row.is-debuff .ci-ico i{border-color:#d0604c;color:#ffb6a6}.ci-row.is-buff .ci-ico{border-color:#3f6a4a}.ci-row.ci-relic.is-boss .ci-ico{border-color:#a58542;box-shadow:0 0 8px #d9b46a44}.ci-txt{flex:1;min-width:0}.ci-txt b{display:block;font-size:14px;color:var(--ink)}.ci-txt p{margin:2px 0 0;font-size:12.5px;line-height:1.55;color:#a99e88}.ci-txt p.ci-flavor{font-style:italic;color:#7b7262}.ci-kind{font-size:11px;font-weight:400;color:#8b8171;margin-left:2px}.ci-n{color:var(--gold2)}.ci-cnt{display:inline-block;margin-left:6px;padding:0 6px;border-radius:8px;font-size:11px;font-weight:700;background:#3a2c14;border:1px solid #8a6a32;color:var(--gold2)}.ci-empty{margin:0;font-size:12.5px;color:#7b7262}.ci-sub{margin:4px 0;font-size:12.5px;color:#a99e88}.ci-desc{margin:0 0 6px;font-size:13px;line-height:1.6;color:#cfc4ae}.ci-clock{display:flex;align-items:center;gap:10px}.ci-clockbar{flex:1;height:10px;border-radius:5px;background:#1a1520;border:1px solid #5a4b35;overflow:hidden}.ci-clockbar i{display:block;height:100%;background:linear-gradient(90deg,#8a6a32,#f3dda6)}.ci-row.is-tl.soon .ci-ico{border-color:var(--gold);box-shadow:0 0 6px #d9b46a66}.ci-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.ci-chip{font-size:12px;padding:3px 9px;border-radius:10px;background:#2b2433;border:1px solid #4e4436;color:#cfc4ae}.ci-chip b{color:var(--ink)}.ci-chip.t-attack{border-color:#7a3a32}.ci-chip.t-skill{border-color:#3a5a7a}.ci-chip.t-power{border-color:#7a6a32}.ci-chip.t-curse{border-color:#5a3a6a}.ci-deckbtn{min-height:40px;padding:0 16px}.ci-link{cursor:pointer;text-decoration:underline dotted #d9b46a77;text-underline-offset:4px}.ci-link:hover,.ci-link:focus-visible{color:var(--gold2);outline:none}.ci-ibtn{position:absolute;right:-36px;top:50%;margin-top:-15px;z-index:6;width:30px;height:30px;border-radius:50%;padding:0;cursor:pointer;border:1px solid #8a6a32;background:rgba(18,15,23,.86);color:var(--gold2);font-size:16px;line-height:28px;box-shadow:0 2px 8px #000a;transition:transform .12s}.ci-ibtn:hover,.ci-ibtn:focus-visible{transform:scale(1.12);outline:none;border-color:var(--gold2)}.ci-ibtn::after{content:'';position:absolute;inset:-8px}#player-creature .cre-body,#player-creature .cre-bar{cursor:pointer}#player-creature .cre-bar{position:relative}@media (max-width:640px){.ci-body{grid-template-columns:1fr;padding:10px 10px 14px;gap:10px}.ci-grid2{grid-template-columns:1fr}.ci-face{width:72px;height:72px}.ci-name{font-size:18px}}@media (max-height:500px){.ci-wrap{padding:6px}.ci-top{padding:6px 48px 6px}.ci-face{width:64px;height:64px}.ci-head{padding:6px 10px}}.save-ind{position:absolute;right:12px;bottom:12px;z-index:90;pointer-events:none;display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;font-size:12px;color:#cfc4ae;background:rgba(18,15,23,.78);border:1px solid #4e4436;opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s}.save-ind i{width:8px;height:8px;border-radius:50%;background:#7fc28a;box-shadow:0 0 6px #7fc28a}.save-ind.show{opacity:1;transform:none}#screen-combat.active ~ .save-ind{bottom:auto;top:58px}#btn-continue .cont-sub{display:block;font-size:11px;letter-spacing:0;font-weight:400;opacity:.8;margin-top:2px}.set-data{margin-top:14px;padding-top:12px;border-top:1px solid #3a3226}.set-data>b{display:block;color:var(--gold);letter-spacing:2px;margin-bottom:8px}.set-data .sd-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.set-data .sd-btn{min-height:44px;padding:6px 10px;border-radius:6px;font-size:13px;cursor:pointer;text-align:left;line-height:1.35;background:linear-gradient(180deg,#2a2333,#181420);border:1px solid #4e4436;color:var(--ink)}.set-data .sd-btn small{display:block;font-size:11px;color:#8b8171}.set-data .sd-btn:hover,.set-data .sd-btn:focus-visible{border-color:var(--gold);outline:none}.set-data .sd-btn.danger{grid-column:1/-1;border-color:#7a3a32;color:#f0b8a8}.set-data .sd-btn.danger:hover{border-color:#d0604c;background:linear-gradient(180deg,#3a1d1c,#22110f)}.set-data .sd-btn:disabled{opacity:.45;cursor:default}.set-data .sd-info{font-size:11px;color:#7b7262;margin-top:8px}@media (max-width:420px){.set-data .sd-grid{grid-template-columns:1fr}}#app{touch-action:manipulation;-webkit-tap-highlight-color:transparent}#app,#app *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#app input,#app textarea{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}img,svg{-webkit-user-drag:none}