.unit-container{align-items:center;background:#1e293bb3;border:1px solid #1e293b;border-radius:6px;box-sizing:border-box;cursor:grab;display:flex;flex-direction:column;height:100%;justify-content:flex-start;padding:3px;transition:.15s;width:100%}.unit-container:hover{border-color:#60a5fa;box-shadow:0 0 12px #3b82f659;transform:translateY(-2px)}.hand-empty{align-items:center;background:#0f172a59;border:2px dashed #475569;border-radius:8px;display:flex;height:100%;justify-content:center;transition:.15s;width:100%}.hand-empty:hover{background:#1e293b73;border-color:#60a5fa}.hand-empty-plus{color:#64748b;font-size:30px;font-weight:300}.game-layout{background:#020617;display:grid;grid-template-columns:220px minmax(700px,1fr) 280px;width:100vw}.game-center,.game-layout{height:100vh;overflow:hidden}.game-center{border-left:1px solid #111827;border-right:1px solid #111827;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}.board-scroll-area{flex:0 0 auto}.center-hand-area{flex:0 0 auto;margin-top:12px}.spirit-icon{align-items:center;border-radius:50%;display:inline-flex;font-size:12px;height:16px;justify-content:center;width:16px}.spirit-advanced{animation:spirit-badge-breathe 2.4s ease-in-out infinite;background:#ffd70026;border:1px solid #ffd54f;box-shadow:0 0 2px #ffd700cc}@keyframes spirit-badge-breathe{0%,to{box-shadow:0 0 2px #ffd700cc}50%{box-shadow:0 0 6px 2px #ffd700f2}}.battle-log-panel,.unit-info-panel{background:#020617;box-sizing:border-box;height:100vh;overflow:hidden;padding:14px}.unit-info-panel{display:flex;flex-direction:column;overflow:hidden;padding:8px 10px!important}.unit-info-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:2px;scrollbar-width:none}.unit-info-scroll::-webkit-scrollbar{display:none}.unit-stat-grid{grid-gap:6px;display:grid;gap:6px;grid-template-columns:repeat(4,1fr);margin-bottom:6px}.side-panel-title{border-bottom:1px solid #1e293b;color:#fbbf24;font-size:14px;font-weight:900;margin-bottom:8px;padding-bottom:4px}.chat-log-list{display:flex;flex-direction:column;gap:7px;height:calc(100vh - 70px);overflow-y:auto;padding-right:6px}.right-action-zone{border-top:1px solid #1e293b;flex-shrink:0;margin-top:8px;padding-top:8px}.right-action-zone,.right-control-box{display:flex;flex-direction:column;gap:8px}.right-control-box{margin-top:12px}.right-control-box button{height:42px;margin:6px 0;width:100%}.right-relic-box{background:#050505;border:1px solid #1e293b;border-radius:8px;padding:6px}.relic-grid{grid-gap:4px;display:grid;gap:4px;grid-template-columns:repeat(6,1fr)}.relic-slot{background:#000;border:1px dashed #222;border-radius:4px;height:32px}.mini-relic-btn{align-self:flex-end;font-size:11px;height:28px;width:80px}.start-battle-btn{background:#ef4444;border:none;border-radius:10px;bottom:0;box-shadow:0 0 15px #ef444459;color:#fff;cursor:pointer;font-size:16px;font-weight:900;height:46px;position:-webkit-sticky;position:sticky;transition:.15s;width:100%}.start-battle-btn:hover{box-shadow:0 0 20px #ef444480;transform:translateY(-1px)}.info-card{margin:0 0 6px!important;min-height:46px!important;padding:8px 10px!important}.info-card div:first-child{font-size:11px!important;margin-bottom:2px!important}.info-card b,.info-card strong{font-size:14px!important;line-height:1.1!important}.info-card{display:flex!important;flex-direction:column!important;height:44px!important;justify-content:center!important;margin-bottom:6px!important;max-height:44px!important;min-height:44px!important;padding:6px 10px!important}.info-card *{line-height:1.15!important}.info-card .label,.info-card>div:first-child{font-size:10px!important;margin-bottom:2px!important}.info-card .value,.info-card>div:last-child{font-size:14px!important;font-weight:800!important}.battle-summary-card{grid-gap:6px;display:grid;gap:6px;grid-template-columns:1fr 1fr;margin-bottom:10px}.battle-summary-card>div{background:#0f172a;border:1px solid #1e293b;border-radius:8px;padding:8px}.battle-summary-card span{color:#94a3b8;display:block;font-size:10px}.battle-summary-card b{color:#fff;display:block;font-size:15px;margin-top:2px}.winner-grid{grid-gap:6px;display:grid;gap:6px;grid-template-columns:1fr 1fr;margin-bottom:10px}.stat-winner-card{align-items:center!important;background:#131b2d;border:1px solid #2d3a54;border-radius:10px;box-sizing:border-box;display:flex!important;flex-direction:row!important;height:50px!important;justify-content:space-between!important;margin:0!important;min-height:50px!important;padding:6px 8px!important}.unit-info-portrait{border:1px solid #10b981!important;border-radius:14px!important;box-shadow:0 0 12px #10b98140!important;height:140px!important;margin:0 auto 12px!important;overflow:hidden!important;width:140px!important}.unit-info-portrait img{display:block!important;height:100%!important;object-fit:cover!important;width:100%!important}.unit-info-panel h2{font-size:20px!important;margin:6px 0 12px!important;text-align:center!important}.side-panel-title-row{align-items:center;display:flex;justify-content:space-between}.close-info-btn{background:#0f172a;border:1px solid #334155;border-radius:8px;color:#cbd5e1;cursor:pointer;font-weight:900;height:28px;width:28px}.close-info-btn:hover{background:#1e293b;color:#fff}.fusion-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.fusion-card{background:#111827;border:1px solid #334155;border-radius:12px;padding:12px;text-align:center}.fusion-card img{height:96px;object-fit:contain;width:96px}.fusion-name{color:#f8fafc;font-weight:700;margin-top:10px}.fusion-source{color:#94a3b8;font-size:13px;margin-top:6px}.fusion-close{background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:20px;height:36px;position:fixed;right:20px;top:20px;width:42px;z-index:999}.fusion-tags{color:#fbbf24;margin-top:8px}.fusion-skill,.fusion-tags{font-size:13px;font-weight:600}.fusion-skill{color:#fff;margin-top:6px}.fusion-effects{color:#94a3b8;font-size:11px}.book-tabs{display:flex;gap:8px;margin-bottom:16px}.book-tab-btn{background:#111827;border:1px solid #334155;border-radius:8px;color:#94a3b8;cursor:pointer;font-size:13px;font-weight:700;padding:8px 16px}.book-tab-btn.active{background:#2563eb;border-color:#2563eb;color:#fff}.book-rank-title{border-bottom:1px solid #334155;color:#fbbf24;font-size:15px;font-weight:700;margin-bottom:10px;padding-bottom:4px}.enemy-card img{background:#1e293b;border:1px solid #334155;border-radius:8px}.enemy-stat-row{color:#e2e8f0;display:flex;flex-wrap:wrap;font-size:12px;gap:8px;justify-content:center;margin-top:8px}.battle-summary{background:#171717;border:1px solid #333;border-radius:10px;margin-top:10px;padding:12px}.summary-title{color:#fbbf24;font-weight:700;margin-bottom:10px}.summary-row{border-bottom:1px solid #ffffff14;display:flex;justify-content:space-between;padding:4px 0}.summary-row:last-child{border-bottom:none}.board-container{margin:0 auto;position:relative;width:95%}.board-container.setup-compact{max-width:420px}.board-container.battle-expanded{max-width:520px}.board-background{background-position:50%;background-size:cover;border-radius:18px;filter:blur(1px) saturate(.9);inset:-36px -28px -18px -28px;opacity:.55;pointer-events:none;position:absolute;z-index:0}.battle-board{gap:4px!important;padding:6px!important}.grid-cell{transition:all .15s}.grid-cell:hover{background:#ffffff05!important}.unit img{height:100%;object-fit:cover;width:100%}.hp-bar-container{background:#1f2937;border-radius:4px;height:5px;position:relative;width:85%}.hp-bar,.hp-bar-fill{border-radius:4px;height:100%;transition:width .22s ease-out}.hp-bar-fill{transition:width .22s ease-out,filter .15s ease-out}.bench-container{height:auto!important;margin:0 auto!important;max-height:none!important;min-height:210px!important;overflow:visible!important;padding:8px 12px!important;width:100%}.bench-container h3{font-size:12px!important;line-height:1.2!important;margin:0 0 6px!important}.bench-grid{grid-gap:8px!important;border:2px dashed #475569;display:grid;gap:8px!important;grid-template-columns:repeat(4,1fr);height:220px!important;padding:6px!important}.hand-slot{box-sizing:border-box;height:100%;position:relative}.hand-slot .unit-container{height:100%;position:relative;width:100%}.hand-slot .unit{height:96px!important}.unit-info-block{padding:1px 0!important}.fog-cell{background:radial-gradient(circle,#0f172a66,#020617cc)!important;position:relative}.fog-cell:after{background-image:url(../../static/media/FOG_CELL.0f76d9e1b413a6238569.png);background-position:50%;background-size:cover;content:"";inset:0;opacity:.35;pointer-events:none;position:absolute}.deploy-cell{box-shadow:inset 0 0 10px #3b82f62e}.unit-spirit-badges{display:flex;gap:2px;position:absolute;right:4px;top:4px;z-index:25}.unit-spirit-badges span{align-items:center;background:#020617c7;border-radius:50%;display:flex;font-size:12px;height:18px;justify-content:center;line-height:1;width:18px}.unit-spirit-badges .spirit-more{color:#fbbf24;font-size:10px;min-width:20px;padding:0 4px;width:auto}.unit-level-badge{align-items:center;background:#000000c7;border:1px solid #fbbf24;border-radius:50%;color:#fbbf24;display:flex;font-size:9px;font-weight:700;height:16px;justify-content:center;left:2px;line-height:1;pointer-events:none;position:absolute;top:2px;width:16px;z-index:999}.unit-image,.unit-wrapper{height:100%;width:100%}.unit-image{left:0;position:absolute;top:0}.unit-img{display:block;height:100%;object-fit:cover;width:100%}.unit-overlay{align-items:center;background:linear-gradient(180deg,#0000 0,#0000008c 35%,#0009);bottom:0;display:flex;flex-direction:column;left:0;padding:4px 0 6px;position:absolute;width:100%;z-index:20}.unit-tag-text{color:#fbbf24;font-size:7px}.unit-name-text{font-size:9px;font-weight:700}.unit-wrapper{overflow:visible;position:relative}.unit-wrapper:before{border:2px solid #0000;border-radius:8px;content:"";inset:-2px;opacity:0;pointer-events:none;position:absolute;transition:border-color .18s,box-shadow .18s,opacity .18s;z-index:9}.unit-wrapper.mask-thunder:before{border-color:#4da6ff;box-shadow:0 0 6px #4da6ff73;opacity:1}.unit-wrapper.mask-fire:before{border-color:#ff684d;box-shadow:0 0 6px #ff684d73;opacity:1}.unit-wrapper.mask-shadow:before{border-color:#b46cff;box-shadow:0 0 6px #b46cff73;opacity:1}.unit-wrapper.mask-water:before{border-color:#38d98a;box-shadow:0 0 6px #38d98a73;opacity:1}.portrait-stack{height:100%;position:relative;width:100%}.portrait-aura-layer{animation:auraBreathing 2.5s ease-in-out infinite;border-radius:inherit;inset:0;pointer-events:none;position:absolute;z-index:1}@keyframes auraBreathing{0%,to{opacity:.15}50%{opacity:.35}}.portrait-art-layer{height:100%;inset:0;object-fit:cover;position:absolute;width:100%;z-index:2}.unit.breathing{animation:breathing 2.5s ease-in-out infinite}@keyframes breathing{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.portrait-art-layer.breathing{animation:breathing 2.5s ease-in-out infinite}.wushen-active{animation:wushen-glow-pulse 1s ease-in-out infinite;border-radius:8px;box-shadow:0 0 6px 2px #ffc83ce6,0 0 16px 6px #ffaa148c}.unit.breathing.wushen-active{animation:breathing 2.5s ease-in-out infinite,wushen-glow-pulse 1s ease-in-out infinite}.unit.breathing.taotie-feast-active{animation:breathing 2.5s ease-in-out infinite,taotie-feast-pulse .8s ease-in-out infinite}@keyframes wushen-glow-pulse{0%,to{box-shadow:0 0 6px 2px #ffc83ce6,0 0 16px 6px #ffaa148c}50%{box-shadow:0 0 10px 4px #ffd764,0 0 26px 10px #ffaa14cc}}.taotie-feast-active{animation:taotie-feast-pulse .8s ease-in-out infinite;border-radius:8px;box-shadow:0 0 6px 2px #dc1428e6,0 0 18px 7px #96001499}@keyframes taotie-feast-pulse{0%,to{box-shadow:0 0 6px 2px #dc1428e6,0 0 18px 7px #96001499}50%{box-shadow:0 0 12px 5px #ff283c,0 0 30px 12px #960014e6}}.harden-active{animation:harden-glow-pulse 1.1s ease-in-out infinite;border:3px solid #dc267fe6;border-radius:8px;box-shadow:0 0 8px 3px #dc143cbf,0 0 18px 7px #9333ea99}@keyframes harden-glow-pulse{0%,to{border-color:#dc143ce6;box-shadow:0 0 8px 3px #dc143cbf,0 0 18px 7px #9333ea8c}50%{border-color:#9333eaf2;box-shadow:0 0 12px 5px #dc143c8c,0 0 26px 10px #9333eae6}}.talisman-rune-active:after{animation:talisman-rune-spin 4s linear infinite;border:2px dashed #facc15bf;border-radius:50%;content:"";inset:8%;pointer-events:none;position:absolute}@keyframes talisman-rune-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.damage-immune-active{animation:damage-immune-glow-pulse 1.3s ease-in-out infinite;border:3px solid #fafae6e6;border-radius:8px;box-shadow:0 0 8px 3px #fde047bf,0 0 20px 8px #ffffff80}@keyframes damage-immune-glow-pulse{0%,to{border-color:#fde047d9;box-shadow:0 0 8px 3px #fde047b3,0 0 20px 8px #ffffff73}50%{border-color:#fffffff2;box-shadow:0 0 14px 6px #fde047e6,0 0 30px 12px #ffffffbf}}.battle-report-fade-in{animation:battle-report-fade-in .4s ease-out}@keyframes battle-report-fade-in{0%{opacity:0}to{opacity:1}}.floating-text{animation:battlePopup .8s cubic-bezier(.18,.88,.3,1) forwards;font-size:26px;font-weight:700;left:50%;pointer-events:none;position:absolute;text-shadow:0 0 2px #000,0 0 6px #000000bf;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none;white-space:nowrap;z-index:999}@keyframes battlePopup{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}8%{opacity:1;transform:translate(-50%,-62%) scale(1.28)}45%{opacity:1;transform:translate(-50%,-82%) scale(1)}to{opacity:0;transform:translate(-50%,-110%) scale(.92)}}.pop-skill{color:#fbbf24;font-size:18px;font-weight:600;letter-spacing:1px;text-shadow:0 0 6px #fbbf24cc}.pop-mask{animation:floatUpAndFade 1.8s ease-out forwards;color:#fbbf24;font-size:20px;font-weight:700;letter-spacing:2px;text-shadow:0 0 8px #fbbf24f2,0 0 18px #fbbf24b3}@keyframes floatUpAndFade{0%{opacity:0;transform:translate(-50%,15px) scale(.5)}20%{opacity:1;transform:translate(-50%,-5px) scale(1.3)}to{opacity:0;transform:translate(-50%,-35px) scale(.9)}}.pop-shield{color:#f8fafc;font-size:24px}.pop-attack{animation-duration:.34s;animation-name:attackImpact;font-size:34px}@keyframes attackImpact{0%{opacity:0;transform:translate(-50%,-50%) scale(.45)}40%{opacity:1;transform:translate(-50%,-50%) scale(1.55)}to{opacity:0;transform:translate(-50%,-48%) scale(.95)}}.pop-damage{color:#fff}.pop-damage,.pop-skill-damage{animation-duration:.72s;animation-name:damageImpact;font-size:30px;font-weight:900}.pop-skill-damage{color:#ef4444;text-shadow:0 0 4px #ef444459}@keyframes damageImpact{0%{opacity:0;transform:translate(-50%,-50%) scale(.65)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.12)}40%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-72%) scale(.96)}}.pop-heal{color:#6dff8d;font-size:24px}.grid-cell.shake{animation:hitTremor .28s both,hitFlash .28s both}@keyframes hitFlash{0%{filter:brightness(1.8) saturate(1.3)}30%{filter:brightness(1.4)}to{filter:brightness(1)}}@keyframes hitTremor{0%{transform:translateX(0) scale(1)}10%{transform:translateX(4px) scale(1.03)}20%{transform:translateX(4px)}40%{transform:translateX(-3px)}60%{transform:translateX(2px)}to{transform:translateX(0)}}.unit-image.lunge{animation:lungeMove .2s ease-out}@keyframes lungeMove{0%{transform:translate(0)}40%{transform:translate(0);transform:translate(var(--lunge-dx,0),var(--lunge-dy,0))}to{transform:translate(0)}}.hit-stop-freeze{animation:hitStopFlash .12s ease-out}@keyframes hitStopFlash{0%{filter:brightness(1)}30%{filter:brightness(1.6) contrast(1.2)}to{filter:brightness(1)}}.blessing-card{background:#0f172a;border:2px solid #334155;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;overflow:hidden;transition:.15s;width:260px}.blessing-card:hover{border-color:#fbbf24;transform:translateY(-4px)}.blessing-image{aspect-ratio:1/1;background:#111827;overflow:hidden}.blessing-image img{display:block;height:100%;object-fit:cover;width:100%}.blessing-title{align-items:center;display:flex;font-size:24px;font-weight:900;height:56px;justify-content:center}.attack-swing .unit-image{animation:attackSwing .24s cubic-bezier(.15,.9,.2,1) forwards}@keyframes attackSwing{0%{transform:translateX(0) scale(1)}18%{transform:translateX(-2px) scale(.96)}55%{transform:translateX(8px) scale(1.06)}75%{transform:translateX(8px) scale(1.04)}to{transform:translateX(0) scale(1)}}.summon-circle-fx{animation:summon-circle-expand .45s ease-out forwards;border:3px solid #b43cdce6;border-radius:50%;box-shadow:0 0 12px 3px #b43cdc99;height:80%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%) scale(.3) rotate(0deg);width:80%;z-index:6}@keyframes summon-circle-expand{0%{opacity:0;transform:translate(-50%,-50%) scale(.3) rotate(0deg)}30%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.3) rotate(200deg)}}.sword-spirit-coil-fx{height:90%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:90%;z-index:8}.sword-spirit-coil-gold{color:#facc15e6}.sword-spirit-coil-cyan{color:#67e8f9e6}.sword-spirit-coil-silver{color:#e2e8f0e6}.sword-spirit-coil-band{animation:swordSpiritCoil .35s ease-in forwards;border:3px solid #0000;border-radius:50%;filter:drop-shadow(0 0 4px currentColor);inset:0;position:absolute}.sword-spirit-coil-band:first-child{animation-delay:0s;border-right-color:initial;border-top-color:initial}.sword-spirit-coil-band:nth-child(2){animation-delay:.04s;animation-direction:reverse;border-bottom-color:initial;border-left-color:initial;height:75%;left:12.5%;top:12.5%;width:75%}.sword-spirit-coil-band:nth-child(3){animation-delay:.08s;border-left-color:initial;border-top-color:initial;height:50%;left:25%;top:25%;width:50%}@keyframes swordSpiritCoil{0%{opacity:0;transform:rotate(0deg) scale(1.8)}30%{opacity:1}to{opacity:0;transform:rotate(300deg) scale(.15)}}.chaos-vortex-fx{height:90%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:90%;z-index:6}.chaos-vortex-ring{animation:chaos-vortex-spin .6s linear forwards;border:2px dashed #7828a0d9;border-radius:50%;height:100%;left:0;position:absolute;top:0;width:100%}.chaos-vortex-ring:first-child{animation-duration:.4s;border-color:#a014c8e6}.chaos-vortex-ring:nth-child(2){animation-direction:reverse;animation-duration:.5s;border-color:#500078d9;height:70%;left:15%;top:15%;width:70%}.chaos-vortex-ring:nth-child(3){animation-duration:.6s;border-color:#c850ffcc;height:40%;left:30%;top:30%;width:40%}@keyframes chaos-vortex-spin{0%{opacity:0;transform:rotate(0deg) scale(.5)}25%{opacity:1}to{opacity:0;transform:rotate(2turn) scale(1.4)}}.ground-burn-fx{animation:ground-burn-fade .5s ease-out forwards;background:radial-gradient(circle,#ff8c1ecc 0,#dc320a80 55%,#0000 82%);border-radius:6px;box-shadow:0 0 16px 5px #ff641499;inset:2%;pointer-events:none;position:absolute;z-index:4}@keyframes ground-burn-fade{0%{opacity:.95;transform:scale(.8)}to{opacity:0;transform:scale(1.15)}}.thunder-flash-fx{animation:thunder-flash-pop .4s ease-out forwards;background:radial-gradient(circle,#6ef0ffd9 0,#14a0dc66 60%,#0000 85%);border-radius:8px;box-shadow:0 0 22px 7px #6ef0ffcc;inset:-8%;pointer-events:none;position:absolute;z-index:6}@keyframes thunder-flash-pop{0%{opacity:1;transform:scale(.6)}to{opacity:0;transform:scale(1.35)}}.elementalist-cast-fx{animation:elementalist-cast-burst .55s ease-out forwards;border:4px solid;border-radius:50%;height:100%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%) scale(.4);width:100%;z-index:8}.elementalist-cast-thunder{border-color:#6ef0fff2;box-shadow:0 0 20px 8px #6ef0ffb3}.elementalist-cast-fire{border-color:#ff8c28f2;box-shadow:0 0 20px 8px #ff5a14b3}@keyframes elementalist-cast-burst{0%{opacity:1;transform:translate(-50%,-50%) scale(.3)}to{opacity:0;transform:translate(-50%,-50%) scale(2.2)}}.shadow-vortex-fx{animation:shadow-vortex-suck .9s ease-in forwards;background:radial-gradient(circle,#0a0014e6 0,#50007899 45%,#0000 75%);border-radius:50%;height:85%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%) scale(1.5);width:85%;z-index:6}@keyframes shadow-vortex-suck{0%{opacity:.9;transform:translate(-50%,-50%) scale(1.6) rotate(0deg)}55%{opacity:.95;transform:translate(-50%,-50%) scale(1.4) rotate(-40deg)}to{opacity:0;transform:translate(-50%,-50%) scale(.1) rotate(-160deg)}}.attack-frame-fx{animation:attack-frame-pop .18s ease-out forwards;border-radius:6px;inset:4%;pointer-events:none;position:absolute;z-index:7}@keyframes attack-frame-pop{0%{opacity:1;transform:scale(.8)}to{opacity:0;transform:scale(1.12)}}.attack-frame-wushen{border:3px solid #ffc83cf2;box-shadow:0 0 10px 3px #dc281499}.attack-frame-ironfist{border:3px solid #94a3b8f2;box-shadow:0 0 10px 3px #334155b3}.attack-frame-dread{border:3px solid #dc1428f2;box-shadow:0 0 10px 3px #78000ab3}.attack-frame-lonewolf{border:3px solid #e2e8f0f2;box-shadow:0 0 10px 3px #94a3b899}.arrow-rain-fx{animation:arrow-rain-fall .26s ease-in forwards;background:linear-gradient(180deg,#0000,#a3e635 70%,#4ade80);border-radius:2px;height:60%;left:50%;margin-left:-2px;pointer-events:none;position:absolute;top:-60%;width:4px;z-index:7}@keyframes arrow-rain-fall{0%{opacity:0;transform:translateY(0)}15%{opacity:1}to{opacity:0;transform:translateY(160%)}}.line-sweep-fx{animation:line-sweep-pass .26s ease-out forwards;background:linear-gradient(90deg,#0000,#e2e8f0bf 45%,#e2e8f0bf 55%,#0000);border-radius:6px;inset:0;pointer-events:none;position:absolute;z-index:7}@keyframes line-sweep-pass{0%{opacity:0;transform:scaleX(.3)}30%{opacity:1}to{opacity:0;transform:scaleX(1.3)}}.name-flourish-fx{height:85%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:85%;z-index:5}.flourish-coil .flourish-band{animation:flourishCoil .5s ease-in forwards;border:3px solid #0000;border-radius:50%;border-right-color:initial;border-top-color:initial;filter:drop-shadow(0 0 4px currentColor);inset:10%;position:absolute}.flourish-coil .flourish-band:nth-child(2){animation-delay:.05s;animation-direction:reverse;border-bottom-color:initial;border-left-color:initial;border-right-color:#0000;border-top-color:#0000;inset:25%}@keyframes flourishCoil{0%{opacity:0;transform:rotate(0deg) scale(1.6)}30%{opacity:1}to{opacity:0;transform:rotate(280deg) scale(.3)}}.flourish-orbit-linked .flourish-orbit-dot{animation:flourishOrbitDot .55s ease-out forwards;background:currentColor;border-radius:50%;box-shadow:0 0 6px 2px currentColor;height:6px;left:50%;margin:-3px 0 0 -3px;position:absolute;top:50%;transform-origin:0 0;width:6px}.flourish-orbit-linked .flourish-orbit-dot:nth-child(2){animation-delay:.12s}.flourish-orbit-linked .flourish-orbit-dot:nth-child(3){animation-delay:.24s}.flourish-orbit-linked .flourish-link-flash{animation:flourishLinkFlash .3s ease-out .05s forwards;background:radial-gradient(circle,currentColor 0,#0000 60%);border-radius:50%;inset:0;position:absolute}@keyframes flourishOrbitDot{0%{opacity:0;transform:rotate(0deg) translateX(0)}15%{opacity:1}to{opacity:0;transform:rotate(320deg) translateX(30px)}}@keyframes flourishLinkFlash{0%{opacity:.8;transform:scale(.5)}to{opacity:0;transform:scale(1.1)}}.flourish-spiral-drift .flourish-mote{background:currentColor;border-radius:50%;box-shadow:0 0 4px 1px currentColor;height:5px;left:50%;margin:-2.5px 0 0 -2.5px;opacity:0;position:absolute;top:50%;width:5px}.flourish-spiral-drift .flourish-mote:first-child{animation:flourishDriftNE .6s ease-out forwards}.flourish-spiral-drift .flourish-mote:nth-child(2){animation:flourishDriftNW .6s ease-out .05s forwards}.flourish-spiral-drift .flourish-mote:nth-child(3){animation:flourishDriftSE .6s ease-out .1s forwards}.flourish-spiral-drift .flourish-mote:nth-child(4){animation:flourishDriftSW .6s ease-out .15s forwards}@keyframes flourishDriftNE{0%{opacity:0;transform:translate(0) rotate(0deg) scale(1)}20%{opacity:.9}to{opacity:0;transform:translate(26px,-18px) rotate(120deg) scale(.3)}}@keyframes flourishDriftNW{0%{opacity:0;transform:translate(0) rotate(0deg) scale(1)}20%{opacity:.9}to{opacity:0;transform:translate(-26px,-16px) rotate(-120deg) scale(.3)}}@keyframes flourishDriftSE{0%{opacity:0;transform:translate(0) rotate(0deg) scale(1)}20%{opacity:.9}to{opacity:0;transform:translate(24px,20px) rotate(90deg) scale(.3)}}@keyframes flourishDriftSW{0%{opacity:0;transform:translate(0) rotate(0deg) scale(1)}20%{opacity:.9}to{opacity:0;transform:translate(-24px,18px) rotate(-90deg) scale(.3)}}.flourish-inward .flourish-suck{animation:flourishInward .55s ease-in forwards;background:radial-gradient(circle,currentColor 0,#0000 65%);border-radius:50%;inset:0;position:absolute}@keyframes flourishInward{0%{opacity:.85;transform:scale(1.5)}60%{opacity:.9;transform:scale(1.1)}to{opacity:0;transform:scale(.1)}}.flourish-corrode .flourish-blob{animation:flourishCorrode .6s ease-in-out forwards;background:radial-gradient(circle,currentColor 0,#0000 70%);border-radius:50%;inset:15%;opacity:.7;position:absolute}@keyframes flourishCorrode{0%{opacity:.7;transform:translateY(0) scale(.8)}to{opacity:0;transform:translateY(10px) scale(1.15)}}.flourish-holy .flourish-halo{animation:flourishHoly .55s ease-out forwards;border:3px solid;border-radius:50%;box-shadow:0 0 10px 3px currentColor,0 0 22px 8px #ffffff80;inset:6%;position:absolute}@keyframes flourishHoly{0%{opacity:0;transform:scale(.4)}35%{opacity:1}to{opacity:0;transform:scale(1.5)}}.flourish-dark-jagged .flourish-spike{animation:flourishJagged .45s ease-out forwards;background:currentColor;-webkit-clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);filter:drop-shadow(0 0 6px currentColor);inset:8%;opacity:.85;position:absolute}@keyframes flourishJagged{0%{opacity:0;transform:scale(.3) rotate(0deg)}35%{opacity:.9}to{opacity:0;transform:scale(1.3) rotate(35deg)}}.flourish-vortex .flourish-ring{animation:flourishVortexSpin .5s linear forwards;border:2px dashed;border-radius:50%;inset:0;position:absolute}.flourish-vortex .flourish-ring:nth-child(2){animation-direction:reverse;animation-duration:.4s;inset:18%}.flourish-vortex .flourish-ring:nth-child(3){animation-duration:.6s;inset:34%}@keyframes flourishVortexSpin{0%{opacity:0;transform:rotate(0deg) scale(.5)}25%{opacity:1}to{opacity:0;transform:rotate(560deg) scale(1.3)}}.flourish-sweep-long .flourish-band{animation:flourishSweepLong .4s ease-out forwards;background:linear-gradient(90deg,#0000,currentColor 45%,currentColor 55%,#0000);inset:0;position:absolute}@keyframes flourishSweepLong{0%{opacity:0;transform:scaleX(.2) translateX(-20%)}30%{opacity:1}to{opacity:0;transform:scaleX(1.6) translateX(20%)}}.flourish-rings .flourish-ring{animation:flourishRingsSpin .6s ease-out forwards;border:2px solid;border-radius:50%;inset:0;opacity:.7;position:absolute}.flourish-rings .flourish-ring:nth-child(2){animation-direction:reverse;animation-duration:.5s;inset:16%}.flourish-rings .flourish-ring:nth-child(3){animation-duration:.7s;inset:30%}@keyframes flourishRingsSpin{0%{opacity:0;transform:rotate(0deg) scale(.6)}25%{opacity:.75}to{opacity:0;transform:rotate(300deg) scale(1.2)}}.stance-slam-fx{animation:stance-slam-crack .5s ease-out forwards;background:radial-gradient(circle,#94a3b859 0,#0000 60%),repeating-conic-gradient(from 0deg,#e2e8f080 0deg 4deg,#0000 4deg 24deg);border-radius:50%;height:100%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:6}@keyframes stance-slam-crack{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}25%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.6)}}.facing-bar{background:#ffffff8c;border-radius:3px;box-shadow:0 0 6px 1px #ffffff8c;pointer-events:none;position:absolute;transition:top .12s ease-out,left .12s ease-out,right .12s ease-out,bottom .12s ease-out,width .12s ease-out,height .12s ease-out;z-index:6}.facing-down,.facing-up{height:4px;left:20%;width:60%}.facing-left,.facing-right{height:60%;top:20%;width:4px}:root{--xh-ink:#0a0807;--xh-ink-2:#120e0b;--xh-ink-3:#1b1510;--xh-line:#3a2f20;--xh-gold:#b99a5b;--xh-gold-hi:#e3c67e;--xh-gold-lo:#6b5530;--xh-cinnabar:#a8362a;--xh-cinnabar-hi:#cf4b3b;--xh-text:#dccfb4;--xh-text-dim:#8c806a;--xh-font-inscription:"Weibei TC","Libian TC","Songti TC","Noto Serif TC",serif;--xh-font:"Songti TC","Noto Serif TC","STSong","Source Han Serif TC","PMingLiU",serif}body,button,input,select,textarea{font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font)}body{background-color:#0a0807;background-color:var(--xh-ink);color:#dccfb4;color:var(--xh-text)}.game-layout{background:radial-gradient(ellipse at 50% 30%,#1a1410 0,#0a0807 70%);background:radial-gradient(ellipse at 50% 30%,#1a1410 0,var(--xh-ink) 70%);grid-template-columns:220px minmax(0,1fr) 280px}.game-center{border-left:1px solid #3a2f20;border-left:1px solid var(--xh-line);border-right:1px solid #3a2f20;border-right:1px solid var(--xh-line)}.battle-log-panel,.unit-info-panel{background:linear-gradient(180deg,#120e0b,#0a0807);background:linear-gradient(180deg,var(--xh-ink-2),var(--xh-ink));color:#dccfb4;color:var(--xh-text)}.side-panel-title{border-bottom:1px solid #0000;border-image:linear-gradient(90deg,#6b5530,#0000) 1;border-image:linear-gradient(90deg,var(--xh-gold-lo),#0000) 1;letter-spacing:.18em}.side-panel-title,.start-battle-btn,.xh-btn{color:#e3c67e;color:var(--xh-gold-hi);font-weight:700}.start-battle-btn,.xh-btn{-webkit-tap-highlight-color:transparent;align-items:center;background:linear-gradient(180deg,#1b1510,#120e0b);background:linear-gradient(180deg,var(--xh-ink-3),var(--xh-ink-2));border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);border-radius:0;box-shadow:inset 0 0 0 3px #120e0b,inset 0 0 0 4px #b99a5b47;box-shadow:inset 0 0 0 3px var(--xh-ink-2),inset 0 0 0 4px #b99a5b47;box-sizing:border-box;cursor:pointer;display:flex;font-size:15px;justify-content:center;letter-spacing:.35em;min-height:44px;padding:0 14px;position:relative;text-indent:.35em;transition:border-color .15s,color .15s,background .15s;width:100%}.start-battle-btn:after,.start-battle-btn:before,.xh-btn:after,.xh-btn:before{border:0 solid #b99a5b;border:0 solid var(--xh-gold);content:"";height:9px;pointer-events:none;position:absolute;width:9px}.start-battle-btn:before,.xh-btn:before{border-left-width:2px;border-top-width:2px;left:-1px;top:-1px}.start-battle-btn:after,.xh-btn:after{border-bottom-width:2px;border-right-width:2px;bottom:-1px;right:-1px}.start-battle-btn:hover,.xh-btn:hover:not(:disabled){background:linear-gradient(180deg,#241b13,#1b1510);background:linear-gradient(180deg,#241b13,var(--xh-ink-3));border-color:#b99a5b;border-color:var(--xh-gold);color:#fff3d0}.start-battle-btn:active,.xh-btn:active:not(:disabled){transform:translateY(1px)}.start-battle-btn:focus-visible,.xh-btn:focus-visible{outline:2px solid #e3c67e;outline:2px solid var(--xh-gold-hi);outline-offset:2px}.xh-btn:disabled{box-shadow:inset 0 0 0 3px #120e0b;box-shadow:inset 0 0 0 3px var(--xh-ink-2);color:#5d5444;cursor:not-allowed}.xh-btn:disabled,.xh-btn:disabled:after,.xh-btn:disabled:before{border-color:#2a2218}.start-battle-btn,.xh-btn--primary{background:linear-gradient(180deg,#5a1f18,#2e100c);border-color:#a8362a;border-color:var(--xh-cinnabar);box-shadow:inset 0 0 0 3px #2e100c,inset 0 0 0 4px #cf4b3b73,0 0 14px #a8362a40;color:#ffe9c9;font-size:17px;min-height:48px}.start-battle-btn:hover,.xh-btn--primary:hover:not(:disabled){background:linear-gradient(180deg,#6e261d,#381410);border-color:#cf4b3b;border-color:var(--xh-cinnabar-hi);color:#fff}.start-battle-btn:after,.start-battle-btn:before,.xh-btn--primary:after,.xh-btn--primary:before{border-color:#cf4b3b;border-color:var(--xh-cinnabar-hi)}.control-panel-fixed{grid-gap:10px;background:#0000;border-top:1px solid #3a2f20;border-top:1px solid var(--xh-line);display:grid;gap:10px;grid-template-columns:1fr 1fr;padding:10px 0 0}.control-panel-fixed .xh-btn--wide{grid-column:1/span 2}@media (max-width:900px){body,html{height:auto;overflow-x:hidden;overflow-y:auto}.game-layout{display:flex;flex-direction:column;grid-template-columns:none;min-height:100vh;min-height:100dvh;width:100%}.game-center,.game-layout{height:auto;overflow:visible}.game-center{border:0;order:1;padding:8px 0 0}.unit-info-panel{height:auto;order:2;overflow:visible;padding:10px 12px!important}.battle-log-panel{height:auto;max-height:36vh;order:3;overflow-y:auto;padding:10px 12px}.unit-info-scroll{overflow:visible}.chat-log-list{height:auto;max-height:28vh}.board-container.battle-expanded,.board-container.setup-compact{max-width:min(100%,460px)}.start-battle-btn,.xh-btn{min-height:48px}}.battle-summary-card>div,.info-card,.right-relic-box,.stat-winner-card{background:#120e0b!important;background:var(--xh-ink-2)!important;border:1px solid #3a2f20!important;border:1px solid var(--xh-line)!important;border-radius:0!important}.battle-summary-card>div{box-shadow:inset 0 0 0 3px #0a0807;box-shadow:inset 0 0 0 3px var(--xh-ink)}.battle-summary-card b{color:#e3c67e!important;color:var(--xh-gold-hi)!important;font-weight:700}.battle-summary-card>div>div{color:#8c806a!important;color:var(--xh-text-dim)!important;letter-spacing:.15em}.stat-winner-card *{color:#dccfb4;color:var(--xh-text)}.stat-winner-card span:first-child{color:#b99a5b!important;color:var(--xh-gold)!important;font-size:12px!important}.right-relic-box>div:first-child{color:#e3c67e!important;color:var(--xh-gold-hi)!important;letter-spacing:.3em}.info-label{color:#b99a5b!important;color:var(--xh-gold)!important;letter-spacing:.2em}.chat-log-list>div{border-radius:0!important}.unit-container{background:#120e0b;background:var(--xh-ink-2);border:1px solid #3a2f20;border:1px solid var(--xh-line);border-radius:0}.unit-container:hover{border-color:#b99a5b;border-color:var(--xh-gold)}.bench-container{box-sizing:border-box;max-width:620px}.bench-grid{box-sizing:border-box;max-width:100%}.board-background{border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);border-radius:0;box-shadow:inset 0 0 0 3px #0a0807d9,inset 0 0 0 4px #b99a5b59,inset 0 0 60px #000000bf;filter:blur(0) saturate(.75) brightness(.8);opacity:.7}.board-container [data-cell-id]{border-radius:2px!important}.grid-cell{transition:border-color .15s,background .15s}@keyframes sgDraw{to{stroke-dashoffset:0}}@keyframes sgFade{to{opacity:1}}@keyframes sgRun{0%{stroke-dashoffset:0}to{stroke-dashoffset:-1}}@keyframes sgSpin{to{transform:rotate(1turn)}}@keyframes sgSpinR{to{transform:rotate(-1turn)}}@keyframes sgPulse{0%,to{opacity:.75}50%{opacity:1}}.sigil{display:block;height:100%;overflow:visible;width:100%}.sg-line{fill:none;stroke-linecap:round;stroke-linejoin:round}.sg-gold{stroke:#e3c67e;stroke:var(--xh-gold-hi);stroke-width:2}.sg-thin{stroke:#6b5530;stroke:var(--xh-gold-lo);stroke-width:1}.sg-draw{stroke-dasharray:1;stroke-dashoffset:1;animation:sgDraw 1.6s cubic-bezier(.4,0,.2,1) 0s forwards;animation:sgDraw 1.6s cubic-bezier(.4,0,.2,1) var(--d,0s) forwards}.sg-node{animation:sgFade .9s ease-out 0s forwards;animation:sgFade .9s ease-out var(--d,0s) forwards;opacity:0}.sg-node-ring{fill:#0a0807e0;stroke:#b99a5b;stroke:var(--xh-gold);stroke-width:1.5}.sg-rune{fill:none;stroke:#e3c67e;stroke:var(--xh-gold-hi);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sg-rune--tiny{stroke:#6b5530;stroke:var(--xh-gold-lo);stroke-width:1}.sg-rune--slot{stroke-width:1.7}.sg-slot--spirit .sg-rune{stroke:#e0624f}.sg-dot{fill:#e0624f}.sg-slot-box{fill:#0a0807eb;stroke-width:1.5}.sg-slot--soul .sg-slot-box{stroke:#b99a5b;stroke:var(--xh-gold)}.sg-core-ring,.sg-slot--spirit .sg-slot-box{stroke:#cf4b3b;stroke:var(--xh-cinnabar-hi)}.sg-core-ring{fill:none;stroke-width:2}.sg-core-petal{fill:#a8362a1f;stroke:#b99a5b;stroke:var(--xh-gold);stroke-width:1.4}.sg-core-dot{fill:#ffe2b0}.sg-core .sg-core-ring{animation:sgPulse 3.2s ease-in-out infinite}.sg-spin-ccw{animation:sgSpinR 140s linear infinite;transform-origin:300px 300px}.sg-spin-cw-slow{animation:sgSpin 260s linear infinite;transform-origin:300px 300px}.sg-run{fill:none;stroke:#fff1c4;stroke-width:3.5;stroke-linecap:round;stroke-dasharray:.045 .955;animation:sgFade .6s ease-out 3.6s forwards,sgRun 6s linear 3.6s infinite;animation:sgFade .6s ease-out 3.6s forwards,sgRun var(--t,6s) linear 3.6s infinite;opacity:0}.sg-run--a{--t:8s}.sg-run--b{--t:5.5s;animation-direction:normal,reverse}.sg-run--c{--t:4s}.sigil--dim{opacity:.34}.sigil--dim .sg-draw,.sigil--dim .sg-node{animation-delay:0s!important;animation-duration:.01s!important}.sigil--dim .sg-run{animation-delay:0s,0s}.title-screen-container{background:radial-gradient(ellipse at 50% 40%,#1b1410 0,#0a0807 62%,#040302 100%)!important;box-sizing:border-box;justify-content:flex-end!important;overflow:hidden;padding-bottom:7vh}.title-screen-container:has(>.home-copy){height:100vh;height:100svh;overflow-y:auto;padding-bottom:calc(16px + env(safe-area-inset-bottom, 0px));right:0;width:auto}.home-copy{flex-shrink:0}.home-stage{aspect-ratio:1;left:50%;pointer-events:none;position:absolute;top:37%;transform:translate(-50%,-50%);width:min(62vh,92vw,620px)}.home-copy{align-items:center;display:flex;flex-direction:column;gap:10px;padding:0 16px;position:relative;text-align:center;z-index:2}.home-title{animation:sgFade 1.6s ease-out 3.4s forwards;background:linear-gradient(180deg,#fff2c9,#cfa75f 55%,#7c5f2c);-webkit-background-clip:text;background-clip:text;color:#0000;filter:drop-shadow(0 0 14px rgba(227,198,126,.35));font-size:clamp(40px,7.2vw,66px);font-weight:700;letter-spacing:.38em;margin:0;text-indent:.38em}.home-sub,.home-title{font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);opacity:0}.home-sub{animation:sgFade 1.4s ease-out 3.9s forwards;color:#8c806a;color:var(--xh-text-dim);font-size:13px;letter-spacing:.4em;text-indent:.4em}.home-enter{animation:sgFade 1.2s ease-out 4.3s both;margin-top:14px;min-height:44px;width:min(260px,70vw)}@keyframes sgEnter{0%{filter:brightness(1);opacity:1;transform:translate(-50%,-50%) scale(1)}60%{filter:brightness(2.2);opacity:1}to{filter:brightness(3);opacity:0;transform:translate(-50%,-50%) scale(2.8)}}@keyframes sgOut{to{opacity:0;transform:translateY(14px)}}.home-entering .home-stage{animation:sgEnter 1.1s cubic-bezier(.55,0,.9,.45) forwards}.home-entering .home-copy{animation:sgOut .5s ease-in forwards}.home-entering .sg-run{animation-duration:.6s,.6s}.title-screen-container .home-stage--bg{opacity:1}.board-sigil{filter:drop-shadow(0 0 3px rgba(227,198,126,.75));height:calc(100% - 20px);inset:10px;pointer-events:none;position:absolute;width:calc(100% - 20px);z-index:1}@keyframes bsSettle{to{opacity:.2}}@keyframes bsSettleEdge{to{opacity:.65}}.bs-line{stroke:#e3c67e;stroke:var(--xh-gold-hi);stroke-width:1.6;stroke-dasharray:1;stroke-dashoffset:1;animation:sgDraw 1.1s ease-out 0s forwards,bsSettle 1.2s ease-out 1.3s forwards;animation:sgDraw 1.1s ease-out var(--d,0s) forwards,bsSettle 1.2s ease-out calc(var(--d, 0s) + 1.3s) forwards}.bs-run{fill:none;stroke:#fff1c4;stroke-width:3;stroke-dasharray:.05 .95;animation:sgFade .6s ease-out 2.6s forwards,sgRun 7s linear 2.6s infinite;opacity:0}@media (prefers-reduced-motion:reduce){.bs-line,.sg-draw,.sg-node{animation-delay:0s!important;animation-duration:.01s!important}.bs-run,.sg-run,.sg-spin-ccw,.sg-spin-cw-slow{animation:none!important}.home-enter,.home-sub,.home-title{animation-delay:0s!important;animation-duration:.01s!important}}.title-screen-container .game-title{color:#e3c67e;color:var(--xh-gold-hi);font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);text-indent:.3em;text-shadow:0 0 12px #e3c67e4d}.title-screen-container .game-subtitle,.title-screen-container .game-title{letter-spacing:.3em;position:relative;z-index:2}.title-screen-container .blessing-card{position:relative;z-index:2}.title-screen-container.blessing-screen{justify-content:center!important;overflow-y:auto;padding:24px 0}.blessing-screen .game-title{font-size:clamp(30px,6vw,48px);margin-bottom:4px}.blessing-screen .game-subtitle{margin-bottom:26px}.blessing-card{background:#120e0b!important;background:var(--xh-ink-2)!important;border:1px solid #6b5530!important;border:1px solid var(--xh-gold-lo)!important;border-radius:0!important;box-shadow:inset 0 0 0 3px #0a0807,inset 0 0 0 4px #b99a5b4d!important;box-shadow:inset 0 0 0 3px var(--xh-ink),inset 0 0 0 4px #b99a5b4d!important;transition:border-color .15s,transform .15s}.blessing-card:hover{border-color:#e3c67e!important;border-color:var(--xh-gold-hi)!important;transform:translateY(-3px)}.blessing-title{background:#0000!important;color:#e3c67e!important;color:var(--xh-gold-hi)!important;font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);letter-spacing:.25em}@media (max-width:700px){.blessing-screen>div[style*=grid]{box-sizing:border-box;gap:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:calc(100% - 24px)}.blessing-card{min-width:0;width:100%!important}.blessing-title{font-size:17px!important;height:44px!important;letter-spacing:.12em!important}}.bs-edge{stroke-width:2.4;animation:sgDraw 1.1s ease-out 0s forwards,bsSettleEdge 1.2s ease-out 1.3s forwards;animation:sgDraw 1.1s ease-out var(--d,0s) forwards,bsSettleEdge 1.2s ease-out calc(var(--d, 0s) + 1.3s) forwards}.blessing-title,.home-title,.side-panel-title,.start-battle-btn,.title-screen-container .game-title,.xh-btn{font-family:Weibei TC,Libian TC,Songti TC,"Noto Serif TC",serif;font-family:var(--xh-font-inscription)}.home-title{letter-spacing:.3em;text-indent:.3em}.start-battle-btn,.xh-btn{font-weight:400;letter-spacing:.3em}.board-container [data-cell-id]{box-shadow:0 0 0 2px #0806059e,inset 0 0 0 999px #0806051f;transition:box-shadow .15s ease,border-color .15s ease}.board-container [data-cell-id]:hover{border-color:#e3c67ecc!important;box-shadow:0 0 0 2px #0806059e,inset 0 0 0 999px #0806050d,inset 0 0 14px #e3c67e59}.board-background{filter:saturate(.88) brightness(.86)!important;opacity:.95!important}.board-background:after{background:radial-gradient(ellipse at 50% 52%,#0000 55%,#04030280 100%),linear-gradient(180deg,#781e1624,#781e160a 45%,#b99a5b0d 55%,#0000);content:"";inset:0;pointer-events:none;position:absolute}.floating-text.pop-mask,.floating-text.pop-skill{color:#f1d58a;font-family:Weibei TC,Libian TC,Songti TC,"Noto Serif TC",serif;font-family:var(--xh-font-inscription);letter-spacing:.14em;text-shadow:0 0 2px #000,0 1px 4px #000000f2,0 0 10px #e3c67e8c}.floating-text.pop-damage,.floating-text.pop-skill-damage{font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);text-shadow:0 0 2px #000,0 0 5px #000,0 1px 6px #000000e6}.unit-container.is-picked{box-shadow:0 0 14px #e3c67e8c;outline:2px solid #e3c67e;outline:2px solid var(--xh-gold-hi);outline-offset:1px;transform:translateY(-3px)}@keyframes deployPulse{0%,to{box-shadow:0 0 0 2px #0806059e,inset 0 0 10px #e3c67e59}50%{box-shadow:0 0 0 2px #0806059e,inset 0 0 20px #e3c67eb3}}.board-container .deploy-target{animation:deployPulse 1.3s ease-in-out infinite;background:#e3c67e1a!important;border:2px solid #e3c67ed9!important;cursor:pointer}.board-container .deploy-swap{border:2px dashed #e3c67e99!important;cursor:pointer}.board-container .deploy-source{outline:2px solid #cf4b3b;outline:2px solid var(--xh-cinnabar-hi);outline-offset:-2px}.deploy-hint{align-items:center;background:#0a0807eb;border:1px solid #b99a5b;border:1px solid var(--xh-gold);box-shadow:0 0 14px #0009;display:flex;font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);font-size:13px;gap:8px;left:50%;letter-spacing:.08em;max-width:calc(100% - 24px);padding:8px 12px;position:absolute;text-align:center;top:12px;transform:translateX(-50%);width:-webkit-max-content;width:max-content;z-index:9}.deploy-hint,.deploy-hint-x{color:#e3c67e;color:var(--xh-gold-hi)}.deploy-hint-x{background:#120e0b;background:var(--xh-ink-2);border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);cursor:pointer;flex:0 0 auto;height:28px;width:28px}.facing-bar{background:none;border-radius:0;box-shadow:none;filter:drop-shadow(0 1px 2px rgba(0,0,0,.95)) drop-shadow(0 0 5px currentColor);height:20px;overflow:visible;transition:none;width:26px}.facing-bar:after,.facing-bar:before{background:var(--fb-grad);-webkit-clip-path:polygon(50% 0,100% 100%,50% 62%,0 100%);clip-path:polygon(50% 0,100% 100%,50% 62%,0 100%);content:"";left:0;position:absolute;right:0}.facing-bar:before{height:12px;top:0}.facing-bar:after{height:12px;left:4px;opacity:.6;right:4px;top:8px}.facing-bar.facing-player{--fb-grad:linear-gradient(180deg,#fff6d6,#d9b25a);color:#e3c67e80}.facing-bar.facing-enemy{--fb-grad:linear-gradient(180deg,#ffc2b6,#cf4b3b);color:#cf4b3b8c}.facing-up{bottom:auto;top:1px;transform:none}.facing-down,.facing-up{height:20px;left:calc(50% - 13px);right:auto;width:26px}.facing-down{bottom:1px;top:auto;transform:rotate(180deg)}.facing-left{left:1px;right:auto;transform:rotate(-90deg);transform-origin:50% 50%}.facing-left,.facing-right{bottom:auto;height:20px;top:calc(50% - 10px);width:26px}.facing-right{left:auto;right:1px;transform:rotate(90deg);transform-origin:50% 50%}.bench-grid{align-items:stretch;height:auto!important;min-height:0!important}.hand-slot{min-height:0}.hand-slot .unit-container{height:auto!important;min-height:0}.hand-slot .hand-unit{aspect-ratio:1/1}.hand-slot .hand-unit img{border-radius:0!important;object-fit:cover!important}.hand-slot .hand-empty{height:100%;min-height:130px}.mystery-seal{animation:msBreath 2.6s ease-in-out infinite;filter:drop-shadow(0 0 4px rgba(0,0,0,.9));height:62%;overflow:visible;width:62%}@keyframes msBreath{0%,to{opacity:.7}50%{opacity:1}}.ms-ring{fill:none;stroke:#e3c67ebf;stroke-width:1.4}.ms-ring--dash{stroke-dasharray:3 3.4;stroke:#e3c67e8c;animation:sgSpin 40s linear infinite;transform-origin:center}.ms-gem{fill:#cf4b3b;stroke:#ffe2b0cc;stroke-width:.6}.ms-rune{fill:none;stroke:#f1d58a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.unit-wrapper.spirit-set .unit-image img{filter:brightness(.38) saturate(.45)!important}.seal-paper{filter:drop-shadow(0 2px 4px rgba(0,0,0,.85));height:76%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%) rotate(-7deg);width:40%;z-index:4}.seal-paper svg{display:block;height:100%;width:100%}.sp-paper{fill:url(#sealPaperGrad);stroke:#7a6535;stroke-width:.8}.sp-frame{fill:none;stroke:#a8362a;stroke-width:.8;opacity:.8}.sp-rune{fill:none;stroke:#a8362a;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.xh-btn--active{background:linear-gradient(180deg,#2c2114,#1b1510);background:linear-gradient(180deg,#2c2114,var(--xh-ink-3));border-color:#e3c67e;border-color:var(--xh-gold-hi);box-shadow:inset 0 0 0 3px #120e0b,inset 0 0 0 4px #e3c67e8c,0 0 12px #e3c67e40;box-shadow:inset 0 0 0 3px var(--xh-ink-2),inset 0 0 0 4px #e3c67e8c,0 0 12px #e3c67e40;color:#fff3d0}.xh-btn-note{color:#d9715f;font-size:12px;grid-column:1/span 2;letter-spacing:.06em;line-height:1.6}.unit-container.is-fuse-picked{box-shadow:0 0 14px #e3c67e99;outline:2px solid #e3c67e;outline:2px solid var(--xh-gold-hi);outline-offset:1px}.fuse-order{align-items:center;background:#a8362a;background:var(--xh-cinnabar);border:1px solid #e3c67e;border:1px solid var(--xh-gold-hi);color:#ffe9c9;display:flex;font-family:Weibei TC,Libian TC,Songti TC,"Noto Serif TC",serif;font-family:var(--xh-font-inscription);font-size:14px;height:22px;justify-content:center;left:4px;position:absolute;top:4px;width:22px;z-index:6}.fusion-panel{background:linear-gradient(180deg,#17110c,#0a0807);background:linear-gradient(180deg,#17110c,var(--xh-ink));border:1px solid #b99a5b;border:1px solid var(--xh-gold);box-shadow:inset 0 0 0 3px #0a0807,inset 0 0 0 4px #b99a5b4d,0 0 18px #0009;box-shadow:inset 0 0 0 3px var(--xh-ink),inset 0 0 0 4px #b99a5b4d,0 0 18px #0009;box-sizing:border-box;color:#dccfb4;color:var(--xh-text);font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);margin:0 auto 10px;max-width:620px;padding:12px 14px;position:relative;width:100%}.fp-head{align-items:center;display:flex;gap:12px;margin-bottom:10px}.fp-head h3{color:#e3c67e;color:var(--xh-gold-hi);font-family:Weibei TC,Libian TC,Songti TC,"Noto Serif TC",serif;font-family:var(--xh-font-inscription);font-size:20px;font-weight:400;letter-spacing:.3em;margin:0}.fp-step{color:#8c806a;color:var(--xh-text-dim);flex:1 1;font-size:13px;letter-spacing:.08em}.fp-x{background:#120e0b;background:var(--xh-ink-2);border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);color:#e3c67e;color:var(--xh-gold-hi);cursor:pointer;height:28px;width:28px}.fp-body{flex-wrap:wrap;gap:10px 14px}.fp-body,.fp-inputs{align-items:center;display:flex}.fp-inputs{gap:8px}.fp-plus{color:#b99a5b;color:var(--xh-gold);font-size:18px}.fp-thumb{text-align:center;width:64px}.fp-thumb img{background:#000;border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);display:block;height:64px;object-fit:cover;width:64px}.fp-thumb span{color:#dccfb4;color:var(--xh-text);display:block;font-size:12px;margin-top:3px}.fp-thumb--empty{align-items:center;border:1px dashed #6b5530;border:1px dashed var(--xh-gold-lo);color:#8c806a;color:var(--xh-text-dim);display:flex;font-size:18px;height:64px;justify-content:center}.fp-thumb--result img{border-color:#b99a5b;border-color:var(--xh-gold);box-shadow:0 0 12px #e3c67e59;height:76px;width:76px}.fp-thumb--result{width:76px}.fp-result{align-items:center;display:flex;flex:1 1 220px;gap:10px;min-width:0}.fp-arrow{color:#cf4b3b;color:var(--xh-cinnabar-hi);font-size:18px}.fp-info{min-width:0}.fp-kind{color:#cf4b3b;color:var(--xh-cinnabar-hi);font-size:12px;letter-spacing:.2em}.fp-name{color:#e3c67e;color:var(--xh-gold-hi);font-family:Weibei TC,Libian TC,Songti TC,"Noto Serif TC",serif;font-family:var(--xh-font-inscription);font-size:22px;letter-spacing:.1em;margin:2px 0}.fp-line{color:#8c806a;color:var(--xh-text-dim);font-size:12px;line-height:1.6}.fp-warn{color:#e0b36a;font-size:12px;margin-top:3px}.fp-reason{color:#d9715f;font-size:14px;line-height:1.7}.fp-result.is-bad .fp-arrow{color:#7a4a42}.fp-foot{align-items:center;border-top:1px solid #3a2f20;border-top:1px solid var(--xh-line);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-top:12px;padding-top:10px}.fp-cost{color:#8c806a;color:var(--xh-text-dim);font-size:13px}.fp-cost.is-short{color:#d9715f}.fp-confirm{min-width:180px;width:auto}@media (max-width:760px){.fusion-panel{padding:10px}.fp-confirm{width:100%}}.control-panel-fixed .xh-btn{letter-spacing:.12em;padding:0 6px;text-indent:.12em;white-space:nowrap}@media (max-width:900px){.game-layout.m-layout{--rows:6;--avail:calc(100dvh - 275px);display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0;overflow:hidden;width:100%}.game-layout.m-layout.m-battle{--rows:6;--avail:calc(100dvh - 90px)}.m-hud{align-items:center;background:#120e0b;background:var(--xh-ink-2);border-bottom:1px solid #3a2f20;border-bottom:1px solid var(--xh-line);display:flex;flex:0 0 40px;font-size:12px;gap:5px;overflow:hidden;padding:0 8px;white-space:nowrap}.m-chip{border:1px solid #3a2f20;border:1px solid var(--xh-line);color:#e3c67e;color:var(--xh-gold-hi);padding:3px 6px}.m-chip--seal{color:#e0624f;max-width:120px;overflow:hidden;text-overflow:ellipsis}.m-sp{flex:1 1}.m-ib{background:#0a0807;background:var(--xh-ink);border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);color:#e3c67e;color:var(--xh-gold-hi);cursor:pointer;font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);font-size:12px;letter-spacing:.15em;padding:4px 9px}.m-next{align-items:center;border-bottom:1px solid #3a2f20;border-bottom:1px solid var(--xh-line);color:#8c806a;color:var(--xh-text-dim);display:flex;flex:0 0 30px;font-size:11px;gap:8px;padding:0 8px}.m-next-label{letter-spacing:.2em}.m-next-icons i{color:#8c806a;color:var(--xh-text-dim);font-size:15px;font-style:normal;margin-right:5px}.m-next-icons i.is-strong{color:#cf4b3b;color:var(--xh-cinnabar-hi)}.game-center.m-center{align-items:center;border:0;display:flex;flex:1 1;height:auto;justify-content:center;min-height:0;order:0;overflow:hidden;padding:0;position:relative}.m-center .board-scroll-area{display:flex;justify-content:center;width:100%}.m-layout .board-container{max-width:none!important;width:min(calc(100vw - 8px),calc((var(--avail) - 24px)*4/var(--rows)))!important}.m-compact [data-cell-id^=cell-0-],.m-compact [data-cell-id^=cell-1-],.m-compact [data-cell-id^=cell-2-]{display:none!important}.m-bottom{background:#0a0807;background:var(--xh-ink);border-top:1px solid #3a2f20;border-top:1px solid var(--xh-line);flex:0 0 auto}.m-bottom .bench-container{max-width:none;min-height:0!important;padding:4px 6px 0!important}.m-bottom .bench-container h3{display:none}.m-bottom .bench-grid{border:0!important;gap:5px!important;padding:2px!important}.m-bottom .hand-slot .hand-empty{aspect-ratio:1/1.25;min-height:0}.m-bottom .control-panel-fixed{border-top:0;display:flex;flex-wrap:wrap;gap:5px;padding:6px 8px 8px}.m-bottom .control-panel-fixed .xh-btn{flex:1 1;font-size:12px;grid-column:auto;letter-spacing:.05em;min-height:42px;min-width:0;padding:0 2px;text-indent:0}.m-bottom .control-panel-fixed .xh-btn--start{flex:1.5 1}.m-bottom .xh-btn-note{flex:1 0 100%;font-size:11px;grid-column:auto;line-height:1.4;margin:0;order:-1}.m-ticker{align-items:center;background:#120e0b;background:var(--xh-ink-2);border:0;border-top:1px solid #3a2f20;border-top:1px solid var(--xh-line);color:#dccfb4;color:var(--xh-text);cursor:pointer;display:flex;flex:0 0 50px;font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);font-size:13px;gap:10px;padding:0 12px;text-align:left}.m-ticker-text{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-ticker-more{border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);color:#e3c67e;color:var(--xh-gold-hi);flex:0 0 auto;font-size:12px;letter-spacing:.15em;padding:3px 8px}.m-fusion-overlay{max-height:calc(100% - 12px);overflow-y:auto;z-index:20}.m-fusion-overlay,.m-unit-sheet{left:6px;position:absolute;right:6px;top:6px}.m-unit-sheet{background:#0a0807f5;border:1px solid #b99a5b;border:1px solid var(--xh-gold);box-shadow:0 0 14px #000000b3;color:#dccfb4;color:var(--xh-text);font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);font-size:13px;padding:10px 12px;z-index:15}.m-unit-sheet header{align-items:center;display:flex;justify-content:space-between;margin-bottom:6px}.m-unit-sheet h4{color:#e3c67e;color:var(--xh-gold-hi);font-family:Weibei TC,Libian TC,Songti TC,"Noto Serif TC",serif;font-family:var(--xh-font-inscription);font-size:18px;font-weight:400;letter-spacing:.15em;margin:0}.m-battle .m-unit-sheet{bottom:6px;top:auto}.m-layout .deploy-hint{display:none}.mu-hint{color:#b99a5b;color:var(--xh-gold);font-size:12px;letter-spacing:.1em;margin-bottom:4px}.mu-line{line-height:1.7}.mu-line b{color:#8c806a;color:var(--xh-text-dim);font-weight:400;letter-spacing:.15em;margin-right:8px}.mu-stats{display:flex;gap:14px;margin-top:4px}.mu-actions{display:flex;gap:8px;margin-top:8px}.mu-actions .xh-btn{min-height:38px}.m-sheet-wrap{display:flex;flex-direction:column;inset:0;justify-content:flex-end;position:fixed;z-index:10000}.m-sheet-backdrop{background:#0009;border:0;inset:0;position:absolute}.m-sheet{background:linear-gradient(180deg,#120e0b,#0a0807);background:linear-gradient(180deg,var(--xh-ink-2),var(--xh-ink));border-top:1px solid #b99a5b;border-top:1px solid var(--xh-gold);color:#dccfb4;color:var(--xh-text);display:flex;flex-direction:column;font-family:Songti TC,"Noto Serif TC",STSong,"Source Han Serif TC",PMingLiU,serif;font-family:var(--xh-font);max-height:78dvh;position:relative}.m-sheet-head{align-items:center;border-bottom:1px solid #3a2f20;border-bottom:1px solid var(--xh-line);display:flex;justify-content:space-between;padding:10px 14px}.m-sheet-head h3{font-family:Weibei TC,Libian TC,Songti TC,"Noto Serif TC",serif;font-family:var(--xh-font-inscription);font-size:18px;font-weight:400;letter-spacing:.3em;margin:0}.m-sheet-head h3,.m-sheet-x{color:#e3c67e;color:var(--xh-gold-hi)}.m-sheet-x{background:#120e0b;background:var(--xh-ink-2);border:1px solid #6b5530;border:1px solid var(--xh-gold-lo);cursor:pointer;height:30px;width:30px}.m-sheet-body{overflow-y:auto;padding:10px 12px 18px}.m-sheet .battle-log-panel,.m-sheet .unit-info-panel{background:#0000;height:auto!important;max-height:none;overflow:visible;padding:0!important}.m-sheet .battle-summary-card,.m-sheet .side-panel-title{display:none}.m-sheet .chat-log-list{height:auto;max-height:none}}.hand-slot{aspect-ratio:1/1.42!important;height:auto!important}.hand-slot .unit-container{height:100%!important}.hand-slot .hand-unit{aspect-ratio:1/1!important;flex:0 0 auto!important;min-height:0;width:100%}.hand-slot .hand-unit img{height:100%!important;object-fit:cover;object-position:center;width:100%!important}.hand-slot .hand-empty{aspect-ratio:auto!important;height:100%!important;min-height:0!important}.hand-slot .unit-info-block{background:#0a0807f5!important;flex:1 1 auto;padding:3px 4px 4px!important}.hc-chips{display:flex;flex-wrap:wrap;gap:2px 6px;line-height:1}.hc-chips:not(:empty){margin-top:2px}.hc-chip{font-size:13px;letter-spacing:1px;white-space:nowrap}.hc-chip i{color:#dccfb4;color:var(--xh-text);font-size:10px;font-style:normal;margin-left:1px}.hand-slot{container-type:inline-size}.hc-title{align-items:baseline;display:flex;flex:1 1 auto;gap:5px;min-width:0;overflow:hidden}.hc-name{color:#fff;flex:0 0 auto;font-size:11px;font-weight:700;white-space:nowrap}.hc-skill{color:#e3c67e;font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-row2{align-items:center;display:flex;gap:6px;min-height:13px}.hc-row2 .hc-chips{flex:0 1 auto;margin-top:0!important;min-width:0}.hc-stats{font-feature-settings:"tnum";color:#dccfb4;color:var(--xh-text);flex:0 0 auto;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.hc-stats b{color:#8c806a;color:var(--xh-text-dim);font-size:9px;font-weight:400;margin:0 1px 0 4px}.hc-stats b:first-child{margin-left:0}@container (max-width: 100px){.hc-chip i{display:none}.hc-name{font-size:10.5px}.hc-skill{font-size:9px}.hc-stats{font-size:9.5px}}.hc-chips{flex-wrap:nowrap!important;gap:0 3px!important}.hc-row2{flex-wrap:nowrap;overflow:hidden}@container (max-width: 100px){.hc-stats{font-size:9px;letter-spacing:-.2px}.hc-stats b{font-size:8.5px;margin:0 0 0 2px}}.blessing-title{font-size:22px;font-weight:400!important;white-space:nowrap}.control-panel-fixed .xh-btn,.start-battle-btn{--cut:12px;box-shadow:none;-webkit-clip-path:polygon(var(--cut) 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%,0 var(--cut));clip-path:polygon(var(--cut) 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%,0 var(--cut))}.control-panel-fixed .xh-btn:after,.control-panel-fixed .xh-btn:before,.start-battle-btn:after,.start-battle-btn:before{background:linear-gradient(135deg,#0000 0 50%,#b99a5b 50% calc(50% + 2px),#0000 calc(50% + 2px));background:linear-gradient(135deg,#0000 0 50%,var(--fb-edge,var(--xh-gold)) 50% calc(50% + 2px),#0000 calc(50% + 2px));border:0;height:calc(var(--cut) + 4px);width:calc(var(--cut) + 4px)}.control-panel-fixed .xh-btn:before,.start-battle-btn:before{left:-1px;top:-1px}.control-panel-fixed .xh-btn:after,.start-battle-btn:after{bottom:-1px;right:-1px;transform:rotate(180deg)}.control-panel-fixed .xh-btn:disabled{--fb-edge:#2a2218}.start-battle-btn,.xh-btn--primary{--fb-edge:var(--xh-cinnabar-hi)}.hc-title .hc-chips{align-items:center;flex:0 0 auto;margin-top:0!important}.hc-row2{justify-content:space-between}.hc-row2 .hc-skill{flex:0 1 auto;min-width:0;text-align:right}.control-panel-fixed .xh-btn:after,.control-panel-fixed .xh-btn:before,.start-battle-btn:after,.start-battle-btn:before{background:linear-gradient(135deg,#0000 0 calc(var(--cut)*.7071),#b99a5b calc(var(--cut)*.7071) calc((var(--cut) + 2px)*.7071),#0000 calc((var(--cut) + 2px)*.7071));background:linear-gradient(135deg,#0000 0 calc(var(--cut)*.7071),var(--fb-edge,var(--xh-gold)) calc(var(--cut)*.7071) calc((var(--cut) + 2px)*.7071),#0000 calc((var(--cut) + 2px)*.7071));height:calc(var(--cut) + 2px);width:calc(var(--cut) + 2px)}.control-panel-fixed .xh-btn{font-size:16px;letter-spacing:.42em;min-height:50px;text-indent:.42em}.control-panel-fixed .xh-btn--primary,.start-battle-btn{font-size:18px;letter-spacing:.5em;min-height:50px;text-indent:.5em}.unit-image .unit-art-3v{bottom:18%;height:82%;left:50%;max-width:96%;object-fit:contain;object-position:50% 100%;pointer-events:none;position:absolute;transform-origin:50% 100%;translate:-50% 0;-webkit-user-select:none;user-select:none;width:auto}.unit-image:has(.unit-art-3v):before{background:radial-gradient(ellipse at 50% 50%,#000000a6 0,#00000059 45%,#0000 72%);bottom:14%;content:"";height:22%;left:10%;pointer-events:none;position:absolute;right:10%}.board-container.tilt-25d{--tilt:11deg;transform:perspective(1300px) rotateX(var(--tilt));transform-origin:50% 100%;transform-style:preserve-3d}@media (prefers-reduced-motion:reduce){.board-container.tilt-25d{transform:none}}.unit.breathing:has(.unit-art-3v){animation:breathing3v 3.2s ease-in-out infinite;transform-origin:50% 82%}@keyframes breathing3v{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.012)}}@media (prefers-reduced-motion:reduce){.unit.breathing:has(.unit-art-3v){animation:none}}@media (min-width:901px){.game-layout:not(.m-layout){--hand-reserve:280px}.game-layout:not(.m-layout) .board-container.battle-expanded,.game-layout:not(.m-layout) .board-container.setup-compact{max-width:min(520px,calc((100dvh - var(--hand-reserve))*.66))}.game-layout:not(.m-layout) .center-hand-area{position:relative}.game-layout:not(.m-layout) .center-hand-area>.fusion-panel{bottom:100%;box-shadow:0 -8px 24px #0009;left:50%;margin:0 0 8px;position:absolute;right:auto;transform:translateX(-50%);width:min(620px,100%);z-index:30}}.title-screen-container:has(>.home-copy){--home-copy-h:158px;--home-bottom:max(6svh,36px);--home-stage:min(62svh,92vw,620px,calc(100svh - var(--home-copy-h) - var(--home-bottom) - 40px));padding-bottom:calc(var(--home-bottom) + env(safe-area-inset-bottom, 0px))}.title-screen-container:has(>.home-copy) .home-stage{top:calc(100svh - var(--home-bottom) - var(--home-copy-h) - 20px - var(--home-stage)/2);width:var(--home-stage)}.unit-image .unit-art-orb{height:72%;left:50%;max-width:92%;object-fit:contain;pointer-events:none;top:4%;translate:-50% 0;-webkit-user-select:none;user-select:none;width:auto}.unit-image:has(.unit-art-orb):before{background:radial-gradient(ellipse at 50% 50%,#0000008c 0,#0000 70%);bottom:22%;content:"";height:12%;left:22%;pointer-events:none;position:absolute;right:22%}.unit.breathing:has(.unit-art-orb){animation:breathing3v 3.2s ease-in-out infinite}.unit.breathing:has(.unit-art-orb){animation:none}.unit-image .unit-art-orb{animation:orbFloat 3.6s ease-in-out 0s infinite;animation:orbFloat 3.6s ease-in-out var(--ph,0s) infinite;position:absolute;z-index:1}@keyframes orbFloat{0%,to{transform:translateY(1.5px)}50%{transform:translateY(-3px)}}.unit-image:has(.unit-art-orb):before{animation:orbShadow 3.6s ease-in-out infinite}@keyframes orbShadow{0%,to{opacity:1;transform:scaleX(1)}50%{opacity:.7;transform:scaleX(.82)}}.orb-aura{aspect-ratio:1;left:50%;pointer-events:none;position:absolute;top:40%;translate:-50% -50%;width:122%;z-index:0}.orb-aura:after,.orb-aura:before{border-radius:50%;content:"";inset:0;position:absolute}.orb-aura:before{animation:auraPulse 2.8s ease-in-out 0s infinite;animation:auraPulse 2.8s ease-in-out var(--ph,0s) infinite;background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--c1) 62%,#0000) 0,color-mix(in srgb,var(--c1) 22%,#0000) 38%,#0000 64%)}.orb-aura.is-hetero:after{animation:auraPulse 3.4s ease-in-out -1s infinite;animation:auraPulse 3.4s ease-in-out calc(var(--ph, 0s) - 1s) infinite;background:radial-gradient(circle at 68% 66%,color-mix(in srgb,var(--c2) 48%,#0000) 0,#0000 46%)}.orb-aura.is-strong{width:140%}.orb-aura.is-strong:before{background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--c1) 74%,#0000) 0,color-mix(in srgb,var(--c1) 30%,#0000) 40%,#0000 68%)}@keyframes auraPulse{0%,to{opacity:.55;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}.orb-aura i{background:var(--pc);border-radius:50%;box-shadow:0 0 5px 1px var(--pc);height:4px;left:calc(26% + var(--i)*8%);opacity:0;position:absolute;top:52%;width:4px}.orb-aura.fx-rise i{animation:auraRise 2.4s ease-out calc(var(--i)*-.37s) infinite;animation:auraRise 2.4s ease-out calc(var(--i)*-.37s + var(--ph, 0s)) infinite}.orb-aura.fx-drift i{animation:auraDrift 3.6s ease-in-out calc(var(--i)*-.55s) infinite;animation:auraDrift 3.6s ease-in-out calc(var(--i)*-.55s + var(--ph, 0s)) infinite;filter:blur(1px);height:6px;width:6px}.orb-aura.fx-spark i{animation:auraSpark 1.3s step-end calc(var(--i)*-.23s) infinite;animation:auraSpark 1.3s step-end calc(var(--i)*-.23s + var(--ph, 0s)) infinite;border-radius:1px;height:9px;width:2px}.orb-aura.fx-ring i{animation:auraRing 3s ease-out calc(var(--i)*-.75s) infinite;animation:auraRing 3s ease-out calc(var(--i)*-.75s + var(--ph, 0s)) infinite;background:#0000;border:1.5px solid var(--pc);box-shadow:none;height:40%;left:50%;top:50%;translate:-50% -50%;width:40%}@keyframes auraRise{0%{opacity:0;transform:translateY(14px) scale(1)}20%{opacity:.95}to{opacity:0;transform:translateY(-34px) scale(.4)}}@keyframes auraDrift{0%{opacity:0;transform:translateY(10px)}30%{opacity:.55}to{opacity:0;transform:translate(10px,-26px)}}@keyframes auraSpark{0%,to{opacity:0}12%{opacity:1;transform:rotate(20deg)}24%{opacity:0}55%{opacity:.85;transform:rotate(-25deg) translate(6px,-8px)}66%{opacity:0}}@keyframes auraRing{0%{opacity:.85;transform:scale(.7)}to{opacity:0;transform:scale(1.7)}}@media (prefers-reduced-motion:reduce){.orb-aura i,.orb-aura:after,.orb-aura:before,.unit-image .unit-art-orb,.unit-image:has(.unit-art-orb):before{animation:none!important}.orb-aura i{opacity:0}}.orb-aura:after,.orb-aura:before{animation:none!important;background:none!important;content:none!important}.orb-aura{display:none!important}.orb-fx{aspect-ratio:109/80;background-repeat:no-repeat;background-size:1000% 1200%;left:50%;pointer-events:none;position:absolute;top:9%;translate:-50% 0;width:124%;z-index:0}.orb-fx--inner{top:37%;width:76%}.opening-seal{fill:none;stroke:url(#opening-metal);stroke-width:1.7;display:block;filter:drop-shadow(0 0 4px #ad773b80);width:100%}.seal-reveal{animation:seal-reveal 1.15s ease-out 0s both;animation:seal-reveal 1.15s ease-out var(--delay,0s) both}.seal-reveal,.seal-runes{transform-origin:300px 300px}.seal-runes{stroke:#efca83;animation:sgSpin 38s linear infinite}.seal-runes--reverse{animation-direction:reverse}@keyframes seal-reveal{0%{opacity:0;transform:scale(.7) rotate(-18deg)}to{opacity:1;transform:scale(1) rotate(0)}}@media (prefers-reduced-motion:reduce){.seal-reveal,.seal-runes{animation:none}}.seal-celestial-orbit{animation:sgSpin 28s linear infinite;transform-origin:300px 300px}.seal-celestial-upright{animation:sgSpin 28s linear infinite reverse;transform-origin:0 0}@media (prefers-reduced-motion:reduce){.seal-celestial-orbit,.seal-celestial-upright{animation:none}}.xh-screen{background:radial-gradient(ellipse at 50% 0,#20170f 0,var(--xh-ink) 60%),var(--xh-ink);color:var(--xh-text);font-family:var(--xh-font);inset:0;overflow-y:auto;position:fixed;z-index:9999}.xh-screen:before{background:repeating-linear-gradient(90deg,rgba(185,154,91,.025) 0 1px,#0000 1px 7px);content:"";inset:0;pointer-events:none;position:fixed}.xh-screen-inner{margin:0 auto;max-width:1120px;padding:28px 22px 48px;position:relative}.xh-head{margin-bottom:18px;text-align:center}.xh-title{background:linear-gradient(180deg,#fff2c9,#cfa75f 55%,#7c5f2c);-webkit-background-clip:text;background-clip:text;color:#0000;filter:drop-shadow(0 0 12px rgba(227,198,126,.3));font-family:var(--xh-font-inscription);font-size:clamp(30px,6vw,46px);font-weight:400;letter-spacing:.4em;margin:0;text-indent:.4em}.xh-divider{display:block;height:28px;margin:6px auto 0;overflow:visible;width:min(420px,90%)}.xh-divider--sm{height:22px;margin:0 0 10px;width:min(300px,80%)}.xh-divider-rune{fill:none;stroke:var(--xh-gold);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.xh-divider-gem{fill:var(--xh-cinnabar);stroke:var(--xh-gold-hi);stroke-width:1}.xh-h2,.xh-h3{color:var(--xh-gold-hi);font-family:var(--xh-font-inscription);font-weight:400;letter-spacing:.25em;margin:0 0 12px}.xh-h2{font-size:26px}.xh-h3{font-size:20px;margin-bottom:4px;margin-top:26px}.xh-h3--enemy{color:#d9715f}.xh-report{align-items:flex-start;display:flex;gap:22px}.xh-report-body{flex:1 1;min-width:0}.xh-tabs{display:flex;flex-direction:column;flex-shrink:0;gap:8px;width:130px}.xh-tab{background:linear-gradient(180deg,var(--xh-ink-3),var(--xh-ink-2));border:1px solid var(--xh-line);border-radius:0;color:var(--xh-text-dim);cursor:pointer;font-family:var(--xh-font);font-size:14px;letter-spacing:.2em;min-height:42px;padding:0 10px;position:relative;transition:color .15s,border-color .15s}.xh-tab:hover{border-color:var(--xh-gold-lo);color:var(--xh-gold-hi)}.xh-tab.is-active{border-color:var(--xh-gold);box-shadow:inset 0 0 0 3px var(--xh-ink-2),inset 0 0 0 4px #b99a5b4d;color:var(--xh-gold-hi)}.xh-tab.is-active:before{background:var(--xh-cinnabar-hi);bottom:6px;content:"";left:-1px;position:absolute;top:6px;width:3px}.xh-titles{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}.xh-title-chip{align-items:center;background:linear-gradient(180deg,var(--xh-ink-3),var(--xh-ink-2));border:1px solid var(--xh-line);display:flex;gap:10px;padding:8px 16px 8px 8px}.xh-title-chip span{color:var(--xh-text-dim);display:flex;flex-direction:column;font-size:12px;letter-spacing:.3em}.xh-title-chip b{color:var(--xh-gold-hi);font-size:17px;font-weight:400;letter-spacing:.12em;margin-top:2px}.xh-seal-box{fill:var(--xh-cinnabar)}.xh-seal-inner{fill:none;stroke:#f1c9a6;stroke-width:1;opacity:.55}.xh-seal-rune{fill:none;stroke:#ffe9c9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.xh-grid{grid-gap:14px;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(168px,1fr))}.xh-ucard{background:linear-gradient(180deg,#17110c,var(--xh-ink));border:1px solid var(--xh-gold-lo);box-shadow:inset 0 0 0 3px var(--xh-ink),inset 0 0 0 4px #b99a5b38;padding:14px 12px 12px;position:relative;text-align:center}.xh-ucard:after,.xh-ucard:before{border:0 solid var(--xh-gold);content:"";height:10px;position:absolute;width:10px}.xh-ucard:before{border-left-width:2px;border-top-width:2px;left:-1px;top:-1px}.xh-ucard:after{border-bottom-width:2px;border-right-width:2px;bottom:-1px;right:-1px}.xh-ucard--enemy{background:linear-gradient(180deg,#1c0f0c,var(--xh-ink));border-color:#6b2a22}.xh-ucard--enemy:after,.xh-ucard--enemy:before{border-color:var(--xh-cinnabar-hi)}.xh-ucard--dead{filter:saturate(.35) brightness(.8)}.xh-ucard-art{background:#000;border:1px solid var(--xh-gold-lo);height:84px;margin:0 auto 10px;overflow:hidden;width:84px}.xh-ucard-art img{display:block;height:100%;object-fit:cover;width:100%}.xh-ucard-name{color:var(--xh-gold-hi);font-family:var(--xh-font-inscription);font-size:19px;letter-spacing:.15em;margin-bottom:8px}.xh-stats{grid-gap:4px;display:grid;gap:4px;grid-template-columns:repeat(3,1fr);margin:0}.xh-stats>div{align-items:center;border-top:1px solid var(--xh-line);display:flex;flex-direction:column;padding:4px 0}.xh-stats dt{color:var(--xh-text-dim);font-size:11px;letter-spacing:.2em}.xh-stats dd{color:var(--xh-text);font-size:16px;margin:2px 0 0}.xh-skills{border-top:1px solid var(--xh-line);color:var(--xh-gold);font-size:12px;list-style:none;margin:8px 0 0;padding:6px 0 0}.xh-skills li{display:flex;gap:6px;justify-content:space-between}.xh-skills b{color:var(--xh-text-dim);font-weight:400}.xh-state{font-size:12px;letter-spacing:.4em;margin-top:10px;text-indent:.4em}.xh-state.is-alive{color:var(--xh-gold)}.xh-state.is-dead{color:#a8362a;text-decoration:line-through}.xh-close{margin:32px auto 0;width:min(260px,100%)}@media (max-width:760px){.xh-report{flex-direction:column;gap:14px}.xh-tabs{flex-direction:row;overflow-x:auto;padding-bottom:4px;width:100%}.xh-tab{flex:0 0 auto;min-width:92px}.xh-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.xh-screen-inner{padding:20px 14px 40px}}.fusion-close{border:1px solid var(--xh-gold-lo)!important;border-radius:0!important;color:var(--xh-gold-hi)!important}.book-tab-btn,.fusion-close{background:var(--xh-ink-2)!important}.book-tab-btn{border:1px solid var(--xh-line)!important;border-radius:0!important;color:var(--xh-text-dim)!important;font-family:var(--xh-font);letter-spacing:.2em}.book-tab-btn.active{border-color:var(--xh-gold)!important;box-shadow:inset 0 0 0 3px var(--xh-ink-2),inset 0 0 0 4px #b99a5b4d;color:var(--xh-gold-hi)!important}.book-rank-title{border-bottom:1px solid var(--xh-line)!important;color:var(--xh-gold-hi)!important;font-family:var(--xh-font-inscription);letter-spacing:.25em}.fusion-card{background:linear-gradient(180deg,#17110c,var(--xh-ink))!important;border:1px solid var(--xh-gold-lo)!important;border-radius:0!important;box-shadow:inset 0 0 0 3px var(--xh-ink),inset 0 0 0 4px #b99a5b38;position:relative}.fusion-card.enemy-card{background:linear-gradient(180deg,#1c0f0c,var(--xh-ink))!important;border-color:#6b2a22!important}.fusion-card img{border-radius:0!important}.fusion-name{color:var(--xh-gold-hi)!important;font-family:var(--xh-font-inscription);letter-spacing:.12em}.fusion-effects,.fusion-source,.fusion-tags{color:var(--xh-text-dim)!important}.fusion-skill{color:var(--xh-gold)!important}.enemy-stat-row span{color:var(--xh-text)!important}.xh-page{align-items:center;background:radial-gradient(ellipse at 50% 30%,#1d1510 0,var(--xh-ink) 65%);color:var(--xh-text);display:flex;flex-direction:column;font-family:var(--xh-font);gap:14px;justify-content:center;min-height:100vh;padding:28px 16px;text-align:center}.xh-page h1{background:linear-gradient(180deg,#fff2c9,#cfa75f 55%,#7c5f2c);-webkit-background-clip:text;background-clip:text;color:#0000;font-family:var(--xh-font-inscription);font-size:clamp(30px,6vw,48px);font-weight:400;letter-spacing:.35em;margin:0;text-indent:.35em}.xh-page p{color:var(--xh-text-dim);line-height:1.9;margin:0;max-width:520px}.xh-page--end h1{background:linear-gradient(180deg,#ffd9cf,#cf4b3b 55%,#6e261d);-webkit-background-clip:text;background-clip:text}.xh-warn{color:#d9715f!important;font-size:13px}.xh-route-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px;width:min(980px,100%)}.xh-route-card{background:linear-gradient(180deg,#17110c,var(--xh-ink));border:1px solid var(--xh-gold-lo);box-shadow:inset 0 0 0 3px var(--xh-ink),inset 0 0 0 4px #b99a5b38;cursor:pointer;padding:20px 16px;position:relative;text-align:left;transition:border-color .15s,transform .15s}.xh-route-card:after,.xh-route-card:before{border:0 solid var(--xh-gold);content:"";height:11px;position:absolute;width:11px}.xh-route-card:before{border-left-width:2px;border-top-width:2px;left:-1px;top:-1px}.xh-route-card:after{border-bottom-width:2px;border-right-width:2px;bottom:-1px;right:-1px}.xh-route-card:hover{border-color:var(--xh-gold-hi);transform:translateY(-3px)}.xh-route-card h3{color:var(--xh-gold-hi);font-family:var(--xh-font-inscription);font-size:20px;font-weight:400;letter-spacing:.15em;margin:0 0 8px}.xh-route-card p{color:var(--xh-text-dim);font-size:13px;line-height:1.8;margin:0;max-width:none}@media (max-width:760px){.xh-route-grid{grid-template-columns:1fr}}.xh-tame-note{color:var(--xh-text-dim);font-size:13px;line-height:1.8;margin:0 0 12px}.xh-tame-note b{color:var(--xh-gold-hi);font-weight:400}.xh-tame-btn{align-items:center;background:linear-gradient(180deg,var(--xh-ink-3),var(--xh-ink-2));border:1px solid var(--xh-gold-lo);border-radius:0;color:var(--xh-gold-hi);cursor:pointer;display:flex;flex-direction:column;font-family:var(--xh-font);font-size:14px;gap:2px;letter-spacing:.35em;margin-top:10px;padding:8px 6px;text-indent:.35em;width:100%}.xh-tame-btn span{color:var(--xh-text-dim);font-size:11px;letter-spacing:.08em;text-indent:0}.xh-tame-btn:hover:not(:disabled){border-color:var(--xh-gold-hi);color:#fff3d0}.xh-tame-btn:disabled{cursor:not-allowed;opacity:.45}.xh-foot{background:linear-gradient(180deg,#0a080700,#0a0807eb 38%);bottom:0;margin-top:24px;padding:14px 0 calc(14px + env(safe-area-inset-bottom, 0px));position:-webkit-sticky;position:sticky;z-index:5}.xh-foot .xh-close{margin:0 auto}.lore-intro-backdrop{background:radial-gradient(ellipse at 50% 45%,#1a1410 0,#0a0807 70%)!important}.lore-intro-text{padding:28px 8px;position:relative}.lore-intro-text:after,.lore-intro-text:before{background:linear-gradient(90deg,#0000,var(--xh-gold),#0000);content:"";display:block;height:1px;margin:0 auto;width:min(220px,60%)}.lore-intro-text:before{margin-bottom:24px}.lore-intro-text:after{margin-top:24px}.lore-intro-line{color:#e6d6b2!important;font-family:var(--xh-font)!important;letter-spacing:.25em;line-height:2.1;text-shadow:0 0 10px #e3c67e40}.overlay-layer{border-radius:8px;inset:0;pointer-events:none;position:absolute;z-index:1}.overlay-spirit{background:radial-gradient(circle at 50% 55%,#0000 30%,var(--overlay-color) 100%);box-shadow:inset 0 0 16px 4px var(--overlay-color),0 0 10px 3px var(--overlay-color);mix-blend-mode:color;opacity:.55}.overlay-hit-flash{animation:overlay-hit-flash-anim .35s ease-out forwards;background:var(--overlay-color);mix-blend-mode:color}@keyframes overlay-hit-flash-anim{0%{box-shadow:0 0 0 0 var(--overlay-color);opacity:0}15%{box-shadow:0 0 10px 3px var(--overlay-color);opacity:.4}to{box-shadow:0 0 4px 1px var(--overlay-color);opacity:0}}.overlay-attack{animation:overlay-attack-anim .09s ease-out forwards;background:linear-gradient(0deg,var(--overlay-color) 0,#0000 70%);background:linear-gradient(var(--attack-angle,0deg),var(--overlay-color) 0,#0000 70%);mix-blend-mode:color-dodge}@keyframes overlay-attack-anim{0%{opacity:0}30%{opacity:.85}to{opacity:0}}.skill-charge-row{display:flex;gap:2px;justify-content:center;line-height:1;margin-top:2px}.skill-charge-pip{color:#94a3b859;font-size:8px}.skill-charge-pip.filled{color:#93c5fd;text-shadow:0 0 4px #93c5fdcc}.skill-charge-row.phase-gauge .skill-charge-pip.filled{color:#fbbf24;text-shadow:0 0 5px #fbbf24e6}.unit-wrapper.spirit-set{transition:opacity .25s ease}.hp-bar-shield-glow{animation:hp-shield-glow-pulse 1.4s ease-in-out infinite;background:#ffffff59;border-radius:2px;bottom:0;box-shadow:inset 0 0 4px 1px #ffffffe6,0 0 6px 2px #ffffffbf;left:0;pointer-events:none;position:absolute;top:0;transition:width .25s ease,opacity .25s ease}@keyframes hp-shield-glow-pulse{0%,to{opacity:.7}50%{opacity:1}}.overlay-layer.overlay-sil{border-radius:0;box-shadow:none;inset:0 2% 18% 2%;-webkit-mask-image:var(--sil);mask-image:var(--sil);-webkit-mask-position:50% 100%;mask-position:50% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;transform-origin:50% 50%}.overlay-spirit-sil{background:var(--overlay-color);mix-blend-mode:color;opacity:.4}.overlay-hit-flash.overlay-sil{animation:overlay-hit-flash-sil .35s ease-out forwards}@keyframes overlay-hit-flash-sil{0%{opacity:0}15%{opacity:.75}to{opacity:0}}.lore-intro-backdrop{align-items:center;background:#000;display:flex;inset:0;justify-content:center;pointer-events:none;position:fixed;z-index:9999}.lore-intro-text{color:#e5e7eb;font-size:22px;letter-spacing:.05em;line-height:1.9;opacity:0;padding:0 32px;text-align:center}.lore-intro-text--in{animation:lore-fade-in .6s ease-out forwards}.lore-intro-text--out{animation:lore-fade-out .6s ease-in forwards}.lore-intro-line{margin:4px 0}@keyframes lore-fade-in{0%{opacity:0}to{opacity:1}}@keyframes lore-fade-out{0%{opacity:1}to{opacity:0}}body{background-color:#030712;color:#f3f4f6;font-family:Courier New,Courier,monospace;margin:0;overflow-x:hidden}.App{box-sizing:border-box;overflow-x:hidden;padding:20px}.App,.title-screen-container{align-items:center;display:flex;flex-direction:column;height:100vh;width:100vw}.title-screen-container{background:radial-gradient(circle at center,#0b0f19 0,#000 100%);justify-content:center;left:0;position:fixed;top:0;z-index:999999}.mythic-eye{align-items:center;display:flex;height:160px;justify-content:center;margin-bottom:40px;position:relative;transform:rotate(45deg);width:160px}.mythic-eye-iris{animation:irisPulse 2s ease-in-out infinite;background:linear-gradient(135deg,#a855f7,#ef4444,#fbbf24);border:3px solid #fff;border-radius:50%;box-shadow:0 0 30px #a855f7cc;height:60px;position:absolute;width:60px}.mythic-eye-ring{animation:rotateClockwise 8s linear infinite;border:2px solid #ef4444;height:110px;position:absolute;width:110px}.mythic-eye-ring-inner{animation:rotateCounterClockwise 5s linear infinite;border:1px dashed #38bdf8;height:80px;position:absolute;width:80px}.mythic-eye-ring-outer{animation:rotateClockwise 15s linear infinite;border:1px solid #fbbf2480;border-radius:8px;height:140px;position:absolute;width:140px}.game-title{color:#fff;font-size:52px;font-weight:900;letter-spacing:6px;margin-bottom:10px;text-shadow:0 0 10px #a855f7,0 0 20px #ef4444}.game-subtitle{color:#4b5563;font-size:13px;margin-bottom:50px}.start-game-btn{background:#0000;border:2px dashed #fbbf24;color:#fbbf24;cursor:pointer;font-size:16px;font-weight:700;padding:12px 36px;transition:all .2s}.start-game-btn:hover{background:#fbbf24;box-shadow:0 0 20px #fbbf2499;color:#000}@keyframes irisPulse{0%,to{box-shadow:0 0 20px #a855f799;transform:scale(1)}50%{box-shadow:0 0 40px #a855f7;transform:scale(1.08)}}@keyframes rotateClockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotateCounterClockwise{0%{transform:rotate(1turn)}to{transform:rotate(0deg)}}.talent-container{display:flex;gap:20px;margin-top:30px}.talent-card{background:#111827;border:2px solid #1e293b;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;padding:24px;transition:all .2s;width:220px}.talent-card:hover{border-color:#fbbf24;box-shadow:0 0 15px #fbbf2433;transform:translateY(-5px)}.talent-card h3{color:#fbbf24;margin:0 0 10px}.select-btn{background:#1f2937;border:1px solid #374151;border-radius:4px;color:#fff;cursor:pointer;margin-top:15px;padding:8px}.talent-card:hover .select-btn{background:#fbbf24;color:#000;font-weight:700}.chat-log-list::-webkit-scrollbar{width:4px}.chat-log-list::-webkit-scrollbar-thumb{background:#334155;border-radius:2px}.chat-log-empty{color:#475569;font-size:12px;padding:10px}.chat-log-item{align-items:flex-start;animation:chatFadeIn .18s ease-out;background:#0f172acc;border:1px solid #33415580;border-radius:10px;color:#cbd5e1;display:flex;font-size:11px;gap:6px;line-height:1.45;padding:8px 9px}.chat-log-dot{background:#64748b;border-radius:999px;flex-shrink:0;height:6px;margin-top:5px;width:6px}.log-skill{background:#451a0366;border-color:#fbbf2459;color:#fbbf24}.log-skill .chat-log-dot{background:#fbbf24}.log-death{background:#450a0a59;border-color:#ef444459;color:#fca5a5}.log-death .chat-log-dot{background:#ef4444}.log-heal{background:#052e1659;border-color:#22c55e59;color:#86efac}.log-heal .chat-log-dot{background:#22c55e}.log-guard{background:#1e3a8a40;border-color:#3b82f659;color:#93c5fd}.log-guard .chat-log-dot{background:#3b82f6}@keyframes chatFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.player-name{color:#bfdbfe}.enemy-name{color:#fca5a5}.info-label{color:#64748b;font-size:10px;margin-bottom:4px}.info-value{color:#e5e7eb;font-size:13px;font-weight:800}.info-value.green{color:#22c55e}.info-value.danger{color:#ef4444}.info-hp-bar{background:#111827;border-radius:999px;height:6px;margin-top:7px;overflow:hidden}.info-hp-bar>div{background:linear-gradient(90deg,#22c55e,#84cc16);height:100%;transition:width .2s ease}.unit-stat-grid>div{background:#020617;border:1px solid #1e293b;border-radius:7px;color:#94a3b8;font-size:10px;padding:8px 4px;text-align:center}.unit-stat-grid b{color:#fbbf24;font-size:14px}.tag-list{display:flex;flex-wrap:wrap;gap:5px}.tag-list span{background:#1e293b;border-radius:999px;color:#cbd5e1;font-size:10px;padding:3px 6px}.unit-hint{color:#64748b;font-size:11px;line-height:1.5;margin-top:12px}.skill-aura-berserker{animation:aura-pulse .3s infinite alternate;border-color:red!important;box-shadow:0 0 25px red!important}.skill-aura-ninja{animation:aura-shift .2s steps(2) infinite;filter:invert(.1) saturate(2)}@keyframes aura-shift{0%{transform:translate(-1px,1px)}to{transform:translate(1px,-1px)}}.skill-aura-magicarcher,.skill-aura-ranger{box-shadow:0 0 25px #ff8c00,inset 0 0 10px #ff0!important}@keyframes aura-pulse{0%{transform:scale(1)}to{transform:scale(1.06)}}