*{box-sizing:border-box;margin:0;padding:0}body{color:#fff;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;overflow-x:hidden}body.menu-open{height:100vh;overflow:hidden}#game-container{min-width:0;max-width:1400px;margin:0 auto;padding:10px}#top-bar{background:#0000004d;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:10px;padding:10px 20px;display:flex}#game-title{background:linear-gradient(90deg,#f39c12,#e74c3c);-webkit-text-fill-color:transparent;-webkit-background-clip:text;font-size:20px;font-weight:700}#turn-info-top{align-items:center;gap:20px;display:flex}#current-player{color:#f39c12;font-weight:700}#main-game-area{grid-template-columns:200px 1fr 200px;gap:15px;min-width:0;display:grid}body:not(.battle-active) #top-bar,body:not(.battle-active) #main-game-area{display:none!important}#left-panel,#right-panel{flex-direction:column;gap:10px;min-width:0;min-height:600px;display:flex}#left-panel{justify-content:flex-start}#right-panel{justify-content:flex-end}.hero-card-side{background:linear-gradient(135deg,#f39c1233,#e74c3c33);border:2px solid #f39c12;border-radius:10px;align-items:center;gap:10px;padding:10px;display:flex}#right-panel .hero-card-side{background:linear-gradient(135deg,#2ecc7133,#27ae6033);border-color:#27ae60}#left-panel .hero-card-side{background:linear-gradient(135deg,#e74c3c33,#c0392b33);border-color:#e74c3c}.hero-avatar{background:linear-gradient(135deg,#f39c12,#e74c3c);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:50px;height:50px;font-size:20px;font-weight:700;display:flex}#right-panel .hero-avatar{background:linear-gradient(135deg,#27ae60,#2ecc71)}#left-panel .hero-avatar{background:linear-gradient(135deg,#e74c3c,#c0392b)}.hero-info-compact{flex:1;font-size:12px}.hero-name{margin-bottom:3px;font-size:14px;font-weight:700}.hero-stats-row{gap:8px;margin-bottom:3px;display:flex}.hero-realm{color:#888;font-size:11px}.hero-skill{color:#f39c12;margin-top:3px;font-size:10px;font-style:italic}.spirit-root-area{background:#0000002e;border:1px solid #67e8f92e;border-radius:8px;margin:8px 0;padding:8px}#right-panel .spirit-root-area{background:#27ae6014;border-color:#27ae606b}#left-panel .spirit-root-area{background:#e74c3c14;border-color:#e74c3c61}.spirit-root-head{align-items:center;gap:6px;margin-bottom:5px;display:flex}.spirit-root-icon{color:#67e8f9;font-size:15px;line-height:1}.spirit-root-name{color:#f2f4ff;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;font-weight:700;overflow:hidden}.spirit-root-badge{color:#dff4ff;white-space:nowrap;background:#67e8f924;border:1px solid #67e8f940;border-radius:6px;padding:2px 7px;font-size:11px;line-height:1.2}.spirit-root-desc{color:#aeb7d3;text-align:center;font-size:11px;line-height:1.4}.deck-info-side{text-align:center;background:#0003;border-radius:8px;padding:8px;font-size:12px}.deck-info-side div{margin:3px 0}.god-view-area{background:#0003;border-radius:10px;min-height:150px;margin-bottom:10px;padding:10px}.god-view-panel{background:#0003;border-radius:8px;padding:8px}.god-view-label{color:#f39c12;text-align:center;margin-bottom:10px;font-size:12px;font-weight:700;display:none}.hand-cards-container{scrollbar-width:thin;scrollbar-color:#27ae6080 transparent;justify-content:center;gap:10px;width:100%;min-width:0;max-width:100%;min-height:150px;padding:10px;display:flex;overflow:auto hidden}.hand-cards-container::-webkit-scrollbar{height:8px}.hand-cards-container::-webkit-scrollbar-thumb{background:#27ae6080;border-radius:4px}.hand-cards-container .card{flex-shrink:0;transition:transform .2s,margin .2s}.hand-cards-container.hand-dense .card{margin:0 -25px}.hand-cards-container.hand-dense .card:first-of-type,.hand-cards-container.hand-dense .card.hand-edge-start{margin-left:0}.hand-cards-container.hand-dense .card:last-of-type,.hand-cards-container.hand-dense .card.hand-edge-end{margin-right:0}.hand-cards-container.hand-dense .card:hover{z-index:10;margin:0 5px;transform:translateY(-20px)}.hand-cards-container:not(.hand-dense) .card:hover{transform:translateY(-10px)}.hand-cards-compact{flex-wrap:wrap;justify-content:center;gap:3px;display:flex}#center-panel{flex-direction:column;gap:10px;min-width:0;display:flex}#opponent-field-area,#player-field-area{border-radius:12px;flex-direction:column;gap:8px;padding:8px;display:flex}#opponent-field-area{background:#e74c3c0f;border:1px solid #e74c3c1a;min-width:0;max-width:100%}#player-field-area{background:#2ecc710f;border:1px solid #2ecc711a;min-width:0;max-width:100%}.field-row{border-radius:10px;flex-direction:column;align-items:center;gap:4px;min-width:0;max-width:100%;padding:6px 8px;transition:all .3s;display:flex;overflow:hidden}.row-label-bar{display:none}.slots-row{grid-template-columns:repeat(6,85px);justify-content:center;gap:6px;min-width:0;max-width:100%;display:grid}.creature-card.has-attacked{opacity:.5;filter:grayscale(.6)}.creature-card.has-attacked .creature-avatar{opacity:.6}.slot{border:2px solid #fff3;border-radius:8px;justify-content:center;align-items:center;width:85px;height:115px;transition:all .2s;display:flex;position:relative}.monster-slot{background:linear-gradient(135deg,#2ecc7114,#27ae600a),repeating-linear-gradient(90deg,#0000,#0000 10px,#2ecc7108 10px 20px);border-color:#2ecc7159}.monster-slot:hover{border-color:#2ecc71b3}#opponent-field-area .monster-slot{background:linear-gradient(135deg,#e74c3c14,#c0392b0a),repeating-linear-gradient(90deg,#0000,#0000 10px,#e74c3c08 10px 20px);border-color:#e74c3c59}#opponent-field-area .monster-slot:hover{border-color:#e74c3cb3}.formation-slot{background:linear-gradient(135deg,#3498db14,#2980b90a),repeating-linear-gradient(45deg,#0000,#0000 8px,#3498db08 8px 16px);border-color:#3498db59}.formation-slot:hover{border-color:#3498dbb3}.treasure-slot{background:linear-gradient(135deg,#f39c1214,#e67e220a),repeating-linear-gradient(-45deg,#0000,#0000 8px,#f39c1208 8px 16px);border-color:#f39c1259}.treasure-slot:hover{border-color:#f39c12b3}.target-highlight{z-index:100;animation:1s ease-in-out infinite targetPulse;box-shadow:0 0 15px 3px #ffd70099,inset 0 0 10px #ffd7004d;border-width:3px!important;border-color:gold!important}@keyframes targetPulse{0%,to{transform:scale(1);box-shadow:0 0 15px 3px #ffd70099,inset 0 0 10px #ffd7004d}50%{transform:scale(1.03);box-shadow:0 0 25px 8px #ffd700e6,inset 0 0 15px #ffd70080}}.attacker-highlight{box-shadow:0 0 15px 3px #2ecc71b3,inset 0 0 10px #2ecc7166;border-width:3px!important;border-color:#2ecc71!important}#opponent-field-area .attacker-highlight{box-shadow:0 0 15px 3px #e74c3cb3,inset 0 0 10px #e74c3c66;border-color:#e74c3c!important}.target-hint{color:gold;z-index:1000;pointer-events:none;background:#000000d9;border:2px solid gold;border-radius:8px;padding:12px 24px;font-size:16px;font-weight:700;animation:.3s hintFadeIn;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes hintFadeIn{0%{opacity:0;transform:translate(-50%,-40%)}to{opacity:1;transform:translate(-50%,-50%)}}.slot:empty:before{content:attr(data-slot);color:#ffffff1a;font-size:18px;font-weight:700}.formation-slot:empty:before{color:#3498db26}.treasure-slot:empty:before{color:#f39c1226}#battle-center{background:#0003;border-radius:10px;justify-content:space-between;align-items:center;min-width:0;max-width:100%;padding:10px 20px;display:flex}#mana-display{text-align:center}.mana-value{color:#3498db;font-size:24px;font-weight:700}.mana-label{color:#888;font-size:12px}#end-turn-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#e74c3c,#c0392b);border:none;border-radius:25px;padding:10px 30px;font-size:16px;transition:all .3s}#end-turn-btn:hover{transform:scale(1.05)}#end-turn-btn:disabled{cursor:not-allowed;background:#555}.hand-area-main{scrollbar-width:thin;scrollbar-color:#27ae6080 transparent;background:#0003;border-radius:10px;justify-content:center;gap:10px;width:100%;min-width:0;max-width:100%;min-height:150px;padding:10px;display:flex;overflow:auto hidden}.hand-area-main::-webkit-scrollbar{height:8px}.hand-area-main::-webkit-scrollbar-thumb{background:#27ae6080;border-radius:4px}.hand-area-main .card{flex-shrink:0;transition:transform .2s,margin .2s}.hand-area-main.hand-dense .card{margin:0 -25px}.hand-area-main.hand-dense .card:first-child,.hand-area-main.hand-dense .card.hand-edge-start{margin-left:0}.hand-area-main.hand-dense .card:last-child,.hand-area-main.hand-dense .card.hand-edge-end{margin-right:0}.hand-area-main.hand-dense .card:hover{z-index:10;margin:0 5px;transform:translateY(-20px)}.hand-area-main:not(.hand-dense) .card:hover{transform:translateY(-10px)}.card{cursor:pointer;background:linear-gradient(135deg,#2c3e50,#34495e);border:2px solid #555;border-radius:10px;flex-direction:column;width:100px;height:140px;padding:8px;font-size:11px;transition:all .3s;display:flex;position:relative}.card:hover{transform:translateY(-10px)}.card.can-play{border-color:#27ae60;animation:2s infinite pulse}.card-cost{background:#3498db;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;font-weight:700;display:flex;position:absolute;top:-10px;left:-10px}.card-name{text-align:center;margin-bottom:3px;font-size:12px;font-weight:700}.card-type{color:#888;text-align:center;margin-bottom:3px;font-size:9px}.card-image{background:#0000004d;border-radius:5px;flex:1;justify-content:center;align-items:center;margin-bottom:3px;font-size:24px;display:flex}.card-desc{color:#aaa;text-align:center;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:none;min-height:19px;max-height:29px;font-size:8px;line-height:1.2;display:-webkit-box;overflow:hidden}.card-stats{justify-content:space-between;align-items:center;gap:4px;min-width:0;margin-top:3px;display:flex}.card-attack{color:#e74c3c;white-space:nowrap;font-weight:700}.card-health{color:#27ae60;white-space:nowrap;font-weight:700}.creature-card{text-align:center;background:linear-gradient(135deg,#2c3e50,#34495e);border:2px solid #27ae60;border-radius:8px;width:90%;height:90%;padding:5px;font-size:10px}.creature-card.can-attack{box-shadow:0 0 15px #2ecc7180}.creature-name{margin-bottom:2px;font-size:10px;font-weight:700}.creature-avatar{margin:3px 0;font-size:20px}.creature-stats{white-space:nowrap;justify-content:space-around;align-items:center;gap:4px;min-width:0;font-size:12px;line-height:1;display:flex}.creature-stats>span{white-space:nowrap;align-items:center;min-width:0;line-height:1;display:inline-flex}#game-log{background:#000000e6;border:1px solid #333;border-radius:10px;flex-direction:column;width:350px;max-height:400px;padding:10px;display:flex;position:fixed;top:60px;right:10px}.log-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.log-title{color:#f39c12;font-weight:700}#download-log-btn{color:#fff;cursor:pointer;background:#3498db;border:none;border-radius:5px;padding:5px 10px;font-size:11px}#log-content{max-height:350px;font-size:11px;line-height:1.5;overflow-y:auto}.log-entry{background:#ffffff0d;border-radius:4px;margin:2px 0;padding:4px}.modal{z-index:100000;background:#000c;justify-content:center;align-items:center;width:100%;height:100%;display:none;position:fixed;top:0;left:0}.modal.show{display:flex}.modal-content{scrollbar-gutter:stable;background:linear-gradient(135deg,#1a1a2e,#16213e);border-radius:20px;max-width:800px;max-height:80vh;padding:30px;overflow-y:auto}@media (width<=1200px){#main-game-area{grid-template-columns:150px 1fr 150px}.slot,.slot-mini{width:60px;height:80px}}@media (width<=900px){#main-game-area{grid-template-columns:1fr}#left-panel,#right-panel{flex-direction:row;justify-content:space-between}#game-log{width:100%;margin-top:10px;position:relative;top:auto;right:auto}}@keyframes pulse{0%,to{box-shadow:0 0 5px #27ae6080}50%{box-shadow:0 0 20px #27ae60cc}}.floating-text{pointer-events:none;z-index:1000;font-size:20px;font-weight:700;animation:1.5s ease-out forwards floatUp;position:absolute}@keyframes floatUp{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-50px)}}@keyframes flash{0%,to{filter:brightness()}50%{filter:brightness(2)sepia()hue-rotate(-50deg)}}#hero-select-modal .modal-content{flex-direction:column;width:min(900px,100vw - 32px);max-width:900px;height:min(760px,100vh - 32px);max-height:calc(100vh - 32px);display:flex;overflow:hidden}:is(html:has(#hero-select-modal.show),body:has(#hero-select-modal.show)),#hero-select-modal.show{overflow:hidden}#hero-select-modal.show::-webkit-scrollbar{width:0;height:0;display:none}#hero-select-modal .modal-content::-webkit-scrollbar{width:0;height:0;display:none}#hero-select-modal .modal-content h2{flex:none}#hero-select-modal.story-hero-select .modal-content{height:auto;min-height:0}#hero-select-modal #hero-list{flex:auto;min-height:0;display:flex;overflow:hidden}#hero-select-modal.story-hero-select #hero-list{flex:0 auto}.hero-select-container{flex-direction:column;flex:auto;gap:12px;width:100%;max-width:820px;min-height:0;margin:0 auto;padding:8px 4px 0;display:flex}.hero-selection-summary{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.hero-selection-slot{background:#ffffff0e;border:1px solid #ffffff1c;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:9px 12px;display:flex}.hero-selection-slot .slot-label{flex:none;font-size:12px;font-weight:700}.hero-selection-slot .slot-value{color:#f2f4ff;text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:700;overflow:hidden}.hero-selection-slot.player-slot .slot-label{color:#27ae60}.hero-selection-slot.opponent-slot .slot-label{color:#e74c3c}.hero-selection-slot.filled{background:#f39c121a;border-color:#f39c1261}.hero-section{background:#ffffff0d;border-radius:12px;min-width:0;padding:12px}.hero-section h3{text-align:center;margin-bottom:10px;font-size:16px}.hero-section:first-child h3{color:#27ae60}.hero-section:last-child h3{color:#e74c3c}.hero-section-unified h3{color:#f39c12}#hero-select-modal .hero-section-unified{flex-direction:column;flex:auto;min-height:0;display:flex}#hero-select-modal.story-hero-select .hero-select-container,#hero-select-modal.story-hero-select .hero-section-unified{flex:0 auto}#hero-select-modal .hero-section-unified h3{flex:none}.hero-list-player,.hero-list-opponent,.hero-list-unified{grid-template-columns:1fr;gap:8px;max-height:min(58vh,620px);padding-right:4px;display:grid;overflow:hidden auto}#hero-select-modal .hero-list-unified{flex:auto;min-height:0;max-height:none}#hero-select-modal.story-hero-select .hero-list-unified{flex:0 auto;max-height:min(44vh,360px)}#hero-select-modal .modal-actions{flex:none;margin-top:14px}.hero-option{cursor:default;text-align:left;background:#ffffff0d;border:2px solid #555;border-radius:8px;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:12px;min-width:0;padding:10px 12px;transition:all .3s;display:grid}.hero-option:hover{border-color:#f39c12;transform:none}.hero-option-player.selected,.hero-option.player-selected{background:#27ae601f;border-color:#27ae60;box-shadow:0 0 10px #27ae6040}.hero-option-opponent.selected,.hero-option.opponent-selected{background:#e74c3c1f;border-color:#e74c3c;box-shadow:0 0 10px #e74c3c40}.hero-option.player-selected.opponent-selected{background:linear-gradient(135deg,#27ae6021,#e74c3c21);border-color:#f39c12;box-shadow:0 0 12px #f39c123d}.hero-option .avatar{background:#0000004d;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:28px;display:flex}.hero-option .hero-info{flex:1;min-width:0}.hero-pick-header{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.hero-pick-title{min-width:0}.hero-option .name{margin-bottom:2px;font-size:14px;font-weight:700}.hero-option .sect{color:#888;margin-bottom:2px;font-size:11px}.hero-option .hero-region{color:#aeb7d3;white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:1.3;overflow:hidden}.hero-option .hero-root-passive{color:#9fd7ff;white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:1.3;overflow:hidden}.hero-option .root-passive-label{color:#f39c12;margin-right:4px;font-weight:700}.hero-option .skill{color:#f39c12;white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.35;display:block;overflow:hidden}.hero-option .skill-label{color:#dfe7ff;margin-right:4px;font-weight:700;display:inline-block}.hero-role-actions{flex:none;gap:6px;display:flex}.modal-content .hero-role-btn{color:#dfe7ff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff2e;border-radius:7px;justify-content:center;align-items:center;min-width:52px;height:30px;margin:0;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.modal-content .hero-role-btn:hover{background:#f39c1224;border-color:#f39c128c;transform:none}.modal-content .hero-role-btn-player.selected{color:#fff;background:#27ae6073;border-color:#27ae60}.modal-content .hero-role-btn-opponent.selected{color:#fff;background:#e74c3c73;border-color:#e74c3c}.hero-role-skill-section{background:#0000002e;border:1px solid #ffffff14;border-radius:8px;margin-top:8px;padding:8px}.hero-role-skill-section.hidden{display:none}.hero-role-skill-heading{color:#dfe7ff;margin-bottom:5px;font-size:12px;font-weight:700}.player-skill-section .hero-role-skill-heading{color:#27ae60}.opponent-skill-section .hero-role-skill-heading{color:#e74c3c}.hero-skill-variants{flex-wrap:nowrap;gap:6px;width:100%;min-width:0;margin-top:8px;display:flex}.modal-content .hero-skill-variant{color:#dfe7ff;cursor:pointer;white-space:nowrap;word-break:keep-all;background:#ffffff12;border:1px solid #ffffff2e;border-radius:8px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;min-width:0;height:42px;margin:0;padding:5px 6px;font-size:12px;line-height:1.15;display:inline-flex}.modal-content .hero-skill-variant:hover{background:#f39c1224;border-color:#f39c12a6;transform:none}.modal-content .hero-skill-variant.selected{background:#f39c1238;border-color:#f39c12;box-shadow:0 0 10px #f39c1240}.hero-skill-variant .variant-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:700;overflow:hidden}.hero-skill-variant .variant-type{color:#aeb7d3;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:2px;font-size:10px;overflow:hidden}@media (width<=640px){.hero-selection-summary{grid-template-columns:1fr}.hero-option{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:10px}.hero-option .avatar{width:42px;height:42px;font-size:24px}.hero-pick-header{flex-direction:column;gap:8px}.hero-role-actions{width:100%}.modal-content .hero-role-btn{flex:1 1 0}}.modal-content h2{text-align:center;color:#f39c12;margin-bottom:10px}.modal-content button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#e74c3c,#c0392b);border:none;border-radius:25px;margin:20px auto 0;padding:12px 40px;font-size:16px;display:block}.modal-content button:hover{transform:scale(1.05)}.skill-area{background:#0003;border:1px solid #ffffff1a;border-radius:8px;margin:8px 0;padding:8px}.skill-area[data-card-json]{cursor:help;-webkit-user-select:none;user-select:none}.skill-btn{color:#aaa;cursor:not-allowed;pointer-events:none;background:#6464644d;border:none;border-radius:6px;justify-content:center;align-items:center;gap:6px;width:100%;padding:8px 12px;font-size:13px;transition:all .3s;display:flex}.skill-btn.active{color:#fff;cursor:pointer;pointer-events:auto;background:linear-gradient(135deg,#9b59b6,#8e44ad);box-shadow:0 2px 8px #9b59b666}.skill-btn.active:hover{background:linear-gradient(135deg,#a569bd,#9b59b6);transform:translateY(-1px);box-shadow:0 4px 12px #9b59b699}.skill-btn.active:active{transform:translateY(0);box-shadow:0 2px 4px #9b59b666}.skill-icon{font-size:16px}.skill-name{font-weight:700}.skill-cost{background:#0000004d;border-radius:4px;margin-left:4px;padding:2px 6px;font-size:11px}.skill-desc{color:#888;text-align:center;margin-top:4px;font-size:11px;line-height:1.3}.opponent-skill .skill-btn{opacity:.7}.opponent-skill .skill-btn.active{opacity:1;background:linear-gradient(135deg,#c0392b,#e74c3c);box-shadow:0 2px 8px #e74c3c66}.opponent-skill .skill-btn.active:hover{background:linear-gradient(135deg,#d35400,#c0392b);box-shadow:0 4px 12px #e74c3c99}.graveyard-area{background:#00000026;border:1px solid #ffffff0d;border-radius:6px;margin:8px 0;padding:6px}.graveyard-area .field-label{color:#666;text-align:center;margin-bottom:4px;font-size:10px}.graveyard-cards{flex-wrap:wrap;justify-content:center;gap:4px;max-height:120px;display:flex;overflow-y:auto}.graveyard-card{color:#888;opacity:.6;background:#0006;border:1px solid #ffffff1a;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;width:40px;height:55px;font-size:9px;display:flex}.graveyard-card .card-avatar{margin-bottom:2px;font-size:16px}.graveyard-card .card-name{text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:0 2px;font-size:8px;overflow:hidden}.opponent-graveyard{opacity:.8}@keyframes formationDissolve{0%{opacity:1;filter:brightness();transform:scale(1)}50%{opacity:.5;filter:brightness(2)hue-rotate(180deg);transform:scale(1.2)}to{opacity:0;filter:brightness(3);transform:scale(0)}}.formation-dissolve{animation:1s ease-out forwards formationDissolve}@keyframes treasureBreak{0%{opacity:1;transform:scale(1)rotate(0)}25%{opacity:.8;transform:scale(1.1)rotate(5deg)}50%{opacity:.5;filter:grayscale();transform:scale(.9)rotate(-5deg)}75%{opacity:.3;transform:scale(.7)rotate(10deg)}to{opacity:0;transform:scale(0)rotate(0)}}.treasure-break{animation:.8s ease-in forwards treasureBreak}@keyframes creatureDeath{0%{opacity:1;filter:brightness();transform:scale(1)translateY(0)}30%{opacity:.7;filter:brightness(2)sepia();transform:scale(1.1)translateY(-10px)}60%{opacity:.4;filter:brightness(.5)grayscale();transform:scale(.8)translateY(10px)}to{opacity:0;filter:brightness(0);transform:scale(0)translateY(30px)}}.creature-death{animation:1s ease-out forwards creatureDeath}.effect-text{color:#fff;text-shadow:0 0 10px;pointer-events:none;z-index:1000;white-space:nowrap;font-size:14px;font-weight:700;animation:1.5s ease-out forwards effectTextFloat;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes effectTextFloat{0%{opacity:1;transform:translate(-50%,-50%)scale(.5)}50%{opacity:1;transform:translate(-50%,-80%)scale(1.2)}to{opacity:0;transform:translate(-50%,-120%)scale(1)}}.creature-tags{z-index:10;justify-content:center;gap:3px;margin:2px 0;display:flex;position:relative}.creature-tag{white-space:nowrap;text-shadow:0 0 2px #00000080;border:1px solid;border-radius:3px;padding:1px 4px;font-size:9px;font-weight:700;line-height:1.2}.root-tag{background:#ffffff1a}.sect-tag{background:#ffffff1a;font-size:8px}.creature-card[data-spirit-root=金]{border-top:2px solid #f1c40f}.creature-card[data-spirit-root=木]{border-top:2px solid #2ecc71}.creature-card[data-spirit-root=水]{border-top:2px solid #3498db}.creature-card[data-spirit-root=火]{border-top:2px solid #e74c3c}.creature-card[data-spirit-root=土]{border-top:2px solid #d4a574}.creature-card[data-spirit-root=雷]{border-top:2px solid #9b59b6}.creature-card[data-spirit-root=冰]{border-top:2px solid #a8d8ea}.creature-card[data-spirit-root=风]{border-top:2px solid #7ed6df}.creature-card[data-spirit-root=阴]{border-top:2px solid #8e44ad}.creature-card[data-spirit-root=暗]{border-top:2px solid #2c3e50}.creature-card[data-spirit-root=变异]{border-top:2px solid #e67e22}.creature-card[data-sect=黄枫谷]{background-image:linear-gradient(135deg,#2ecc710d 0%,#0000 50%)}.creature-card[data-sect=掩月宗]{background-image:linear-gradient(135deg,#3498db0d 0%,#0000 50%)}.creature-card[data-sect=大衍宗]{background-image:linear-gradient(135deg,#f39c120d 0%,#0000 50%)}.creature-card[data-sect=魔道]{background-image:linear-gradient(135deg,#e74c3c0d 0%,#0000 50%)}.creature-card[data-sect=妖族]{background-image:linear-gradient(135deg,#9b59b60d 0%,#0000 50%)}.creature-card[data-sect=妙音门]{background-image:linear-gradient(135deg,#e67e220d 0%,#0000 50%)}.creature-card[data-sect=鬼道]{background-image:linear-gradient(135deg,#8e44ad0d 0%,#0000 50%)}.creature-card[data-sect=血杀宗]{background-image:linear-gradient(135deg,#c0392b0d 0%,#0000 50%)}.creature-card[data-sect=散修]{background-image:linear-gradient(135deg,#95a5a60d 0%,#0000 50%)}[data-card-json],[data-card-json] *,.card-detail-overlay,.card-detail-overlay *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.card-detail-overlay{z-index:100001;opacity:0;pointer-events:none;background:#000000d1;justify-content:center;align-items:center;width:100vw;height:100vh;padding:20px;transition:opacity .2s;display:flex;position:fixed;inset:0}.card-detail-overlay.show{opacity:1;pointer-events:auto}.card-detail-overlay.hover-preview{pointer-events:none}.card-detail-popup{box-sizing:border-box;text-align:center;color:#fff;background:linear-gradient(135deg,#1a1a2e,#16213e);border:2px solid #f39c12;border-radius:16px;width:min(320px,100vw - 32px);max-height:calc(100vh - 32px);padding:20px;transition:transform .2s;position:relative;overflow-y:auto;transform:scale(.92);box-shadow:0 18px 48px #0000008c,0 0 28px #f39c122e}.card-detail-overlay.show .card-detail-popup{transform:scale(1)}.card-detail-avatar{justify-content:center;align-items:center;min-height:72px;margin-bottom:10px;font-size:64px;line-height:1;display:flex}.card-detail-cost{color:#fff;background:#3498db;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;font-weight:700;line-height:1;display:inline-flex;position:absolute;top:12px;left:12px}.card-detail-name{color:#f39c12;margin-bottom:6px;font-size:20px;font-weight:700;line-height:1.25;display:block}.card-detail-type{color:#9aa6b8;margin-bottom:8px;font-size:14px;display:block}.card-detail-desc{overflow-wrap:anywhere;color:#d7deeb;text-align:left;max-height:min(36vh,240px);margin-bottom:12px;padding-right:4px;font-size:14px;line-height:1.5;display:block;overflow-y:auto}.card-detail-stats{justify-content:center;gap:20px;font-size:18px;display:flex}.card-detail-attack{color:#ff6b6b;font-weight:700}.card-detail-health{color:#2ecc71;font-weight:700}.card-detail-hint{color:#8f9bad;margin-top:15px;font-size:12px}@media (width<=768px){body{font-size:14px}#game-container{width:100%;max-width:100%;padding:5px;overflow-x:hidden}#top-bar{margin-bottom:6px;padding:6px 10px}#game-title{font-size:16px}#turn-info-top{gap:10px;font-size:12px}#main-game-area{grid-template-rows:auto 1fr auto;grid-template-columns:1fr;gap:8px;width:100%;min-width:0}#main-game-area>*{min-width:0}#left-panel{order:1}#center-panel{order:2;width:100%;min-width:0;overflow:hidden}#right-panel{order:3}#left-panel,#right-panel{grid-template-columns:minmax(0,1fr) minmax(104px,.45fr);grid-template-areas:"hero skill""root root";align-items:stretch;gap:6px;min-height:auto;display:grid}#left-panel .hero-card-side,#right-panel .hero-card-side{grid-area:hero;gap:8px;min-width:0;min-height:58px;padding:6px 10px}#left-panel .hero-avatar,#right-panel .hero-avatar{width:36px;height:36px;font-size:16px}#left-panel .hero-info-compact .hero-skill,#right-panel .hero-info-compact .hero-skill,#left-panel .deck-info-side,#right-panel .deck-info-side,#left-panel .graveyard-area,#right-panel .graveyard-area{display:none}#left-panel .spirit-root-area,#right-panel .spirit-root-area,#left-panel .skill-area,#right-panel .skill-area{min-width:0;margin:0;padding:4px}#left-panel .spirit-root-area,#right-panel .spirit-root-area{grid-area:root;padding:4px 6px}#left-panel .skill-area,#right-panel .skill-area{grid-area:skill;align-items:stretch;display:flex}#left-panel .skill-btn,#right-panel .skill-btn{flex-direction:column;flex:1;gap:3px;height:100%;min-height:0;padding:4px 6px;font-size:11px}#left-panel .skill-icon,#right-panel .skill-icon{font-size:14px}#left-panel .skill-name,#right-panel .skill-name{font-size:11px}#left-panel .spirit-root-desc,#right-panel .spirit-root-desc,#left-panel .skill-desc,#right-panel .skill-desc{display:none}#left-panel .hero-info-compact .hero-name{font-size:12px}#left-panel .hero-info-compact,#right-panel .hero-info-compact{min-width:0}#left-panel .hero-info-compact .hero-stats-row,#right-panel .hero-info-compact .hero-stats-row{white-space:nowrap;flex-wrap:nowrap;gap:4px;font-size:10px;overflow:hidden}#left-panel .hero-realm,#right-panel .hero-realm{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mobile-hero-bar{background:#0000004d;border-radius:8px;justify-content:space-between;align-items:center;padding:6px 10px;font-size:12px;display:flex}#center-panel{gap:6px}#opponent-hand-god-view{min-height:0;margin:4px 0;padding:4px}#opponent-hand-god-view .hand-cards-container{overscroll-behavior-x:contain;justify-content:flex-start;align-items:center;gap:6px;width:100%;min-width:0;max-width:100%;min-height:76px;padding:2px 4px;overflow:auto hidden}#opponent-hand-god-view .god-view-label{display:none}.slots-row{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;width:100%;max-width:350px;margin:0 auto}.slot{aspect-ratio:55/75;border-width:1px;border-radius:6px;width:100%;height:auto}.creature-card{width:52px;height:72px;font-size:9px}.creature-avatar{width:28px;height:28px;font-size:16px}.creature-stats{font-size:10px}.formation-card,.treasure-card{width:52px;height:72px;font-size:8px}.formation-card>div[style*=bottom\:2px],.treasure-card>div[style*=bottom\:2px]{white-space:nowrap!important;border-radius:999px!important;width:auto!important;min-width:16px!important;padding:0 3px!important;line-height:1!important}#battle-center{padding:4px}#end-turn-btn{min-width:120px;min-height:44px;padding:10px 20px;font-size:14px}.hand-area-main{overscroll-behavior-x:contain;justify-content:flex-start;gap:6px;width:100%;min-width:0;max-width:100%;min-height:110px;padding:6px;overflow:auto hidden}.hand-area-main .card{justify-content:center;align-items:center;width:60px;height:84px;padding:3px;font-size:8px}.hand-area-main .card .card-type,.hand-area-main .card .card-desc,.hand-area-main .card .card-tags{display:none!important}.hand-area-main .card .card-name{margin-bottom:2px;font-size:9px;display:block!important}.hand-area-main .card .card-cost{width:20px;height:20px;font-size:10px;top:-6px;left:-6px}.hand-area-main .card .card-image{flex:1;margin:2px 0;font-size:28px;display:flex!important}.hand-area-main .card .card-stats{white-space:nowrap;flex:none;justify-content:space-between;align-items:center;gap:2px;width:100%;margin-top:1px;padding:0 1px;font-size:9px;line-height:1;display:flex!important}.hand-area-main .card .card-attack,.hand-area-main .card .card-health{white-space:nowrap;align-items:center;min-width:0;line-height:1;display:inline-flex}.hand-area-main.hand-folded .card{margin:0 -10px}.hand-area-main.hand-dense .card{margin:0 -14px}.hand-area-main.hand-folded .card:first-child,.hand-area-main.hand-dense .card:first-child,.hand-area-main.hand-folded .card.hand-edge-start,.hand-area-main.hand-dense .card.hand-edge-start{margin-left:0}.hand-area-main.hand-folded .card:last-child,.hand-area-main.hand-dense .card:last-child,.hand-area-main.hand-folded .card.hand-edge-end,.hand-area-main.hand-dense .card.hand-edge-end{margin-right:0}.hand-area-main.hand-folded .card:hover{margin:0 2px;transform:translateY(-12px)}.creature-card{flex-direction:column;justify-content:center;width:52px;min-width:0;height:72px;padding:2px;font-size:9px;display:flex;overflow:hidden}.creature-card .creature-name{margin-bottom:1px;font-size:9px}.creature-card .creature-avatar{flex:auto;justify-content:center;align-items:center;width:100%;min-height:20px;margin:1px 0;font-size:14px;display:flex}.creature-card .creature-stats{white-space:nowrap;flex:none;justify-content:space-between;align-items:center;gap:1px;width:100%;margin-top:1px;padding:0 1px;font-size:8px;line-height:1;display:flex!important}.creature-card .creature-stats>span{white-space:nowrap;align-items:center;min-width:0;line-height:1;display:inline-flex}.creature-card .creature-tags,.creature-card .creature-status{display:none!important}.creature-card .creature-status.creature-taunt{font-size:8px!important;display:block!important}#opponent-hand-god-view .hand-cards-container .card{width:50px;height:70px;padding:2px;font-size:8px}#opponent-hand-god-view .hand-cards-container.hand-folded .card{margin:0 -9px}#opponent-hand-god-view .hand-cards-container.hand-dense .card{margin:0 -12px}#opponent-hand-god-view .hand-cards-container.hand-folded .card:first-of-type,#opponent-hand-god-view .hand-cards-container.hand-dense .card:first-of-type,#opponent-hand-god-view .hand-cards-container.hand-folded .card.hand-edge-start,#opponent-hand-god-view .hand-cards-container.hand-dense .card.hand-edge-start{margin-left:0}#opponent-hand-god-view .hand-cards-container.hand-folded .card:last-of-type,#opponent-hand-god-view .hand-cards-container.hand-dense .card:last-of-type,#opponent-hand-god-view .hand-cards-container.hand-folded .card.hand-edge-end,#opponent-hand-god-view .hand-cards-container.hand-dense .card.hand-edge-end{margin-right:0}#opponent-hand-god-view .hand-cards-container .card .card-type,#opponent-hand-god-view .hand-cards-container .card .card-desc,#opponent-hand-god-view .hand-cards-container .card .card-tags{display:none!important}#opponent-hand-god-view .hand-cards-container .card .card-name{margin-bottom:1px;font-size:8px;display:block!important}#opponent-hand-god-view .hand-cards-container .card .card-cost{width:18px;height:18px;font-size:9px;top:-5px;left:-5px}#opponent-hand-god-view .hand-cards-container .card .card-image{flex:1;margin:2px 0;font-size:20px;display:flex!important}#opponent-hand-god-view .hand-cards-container .card .card-stats{white-space:nowrap;flex:none;justify-content:space-between;align-items:center;gap:1px;width:100%;margin-top:1px;padding:0 1px;font-size:8px;line-height:1;display:flex!important}#opponent-hand-god-view .hand-cards-container .card .card-attack,#opponent-hand-god-view .hand-cards-container .card .card-health{white-space:nowrap;align-items:center;min-width:0;line-height:1;display:inline-flex}#game-log{z-index:500;border-radius:10px 10px 0 0;height:40px;margin:0;transition:height .3s;position:fixed;bottom:0;left:0;right:0}#game-log.expanded{height:50vh}#game-log .log-header{cursor:pointer;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}#game-log .log-title:after{content:" ▲";font-size:10px}#game-log.expanded .log-title:after{content:" ▼"}#log-content{max-height:calc(50vh - 40px)}.modal-content{border-radius:12px;width:95vw;max-width:95vw;max-height:90vh;padding:15px}.modal-content h2{font-size:18px}.hero-select-container{grid-template-columns:1fr;gap:10px;padding:10px}.hero-option{padding:8px}.hero-avatar-large{width:40px;height:40px;font-size:24px}.arc-list{grid-template-columns:1fr;gap:10px}.arc-card{padding:12px}.arc-emoji{font-size:32px}.mode-select{grid-template-columns:1fr 1fr;gap:8px}.config-section{padding:12px}.form-row{flex-direction:column;gap:4px}.form-row label{font-size:12px}button,.skill-btn,.card{min-height:44px}.target-highlight{animation:.8s ease-in-out infinite targetPulse;box-shadow:0 0 20px 5px #ffd700cc}.floating-text{font-size:16px}.graveyard-card{width:30px;height:42px;font-size:8px}.main-menu{z-index:200000;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);justify-content:center;align-items:center;width:100vw;min-width:100vw;height:100vh;min-height:100vh;padding:20px;display:flex;position:fixed;top:0;left:0;overflow:hidden}body:has(.main-menu:not(.hidden)){overflow:hidden}.main-menu.hidden{display:none}.menu-content{text-align:center;scrollbar-width:none;-ms-overflow-style:none;width:100%;max-width:500px;max-height:100vh;animation:.6s ease-out menuFadeIn;overflow-y:auto}.menu-content::-webkit-scrollbar{width:0;height:0;display:none}@keyframes menuFadeIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.menu-logo{margin-bottom:30px}.logo-icon{margin-bottom:10px;font-size:80px;animation:3s ease-in-out infinite logoFloat}@keyframes logoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.logo-title{background:linear-gradient(90deg,#f39c12,#e74c3c);-webkit-text-fill-color:transparent;text-shadow:none;-webkit-background-clip:text;margin-bottom:8px;font-size:36px;font-weight:700}.logo-subtitle{color:#888;letter-spacing:4px;font-size:16px}.version-info{flex-direction:column;align-items:center;gap:6px;margin-bottom:30px;display:flex}.version-badge{color:#f39c12;background:#f39c1233;border:1px solid #f39c1280;border-radius:20px;padding:4px 12px;font-family:monospace;font-size:13px;display:inline-block}.build-time{color:#666;font-family:monospace;font-size:11px}.menu-buttons{flex-direction:column;gap:12px;margin-bottom:30px;display:flex}.menu-btn{cursor:pointer;text-align:left;border:none;border-radius:12px;align-items:center;gap:12px;width:100%;padding:16px 24px;font-size:18px;transition:all .3s;display:flex;position:relative}.menu-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #0000004d}.menu-btn:active:not(:disabled){transform:translateY(0)}.menu-btn:disabled{opacity:.5;cursor:not-allowed}.menu-btn-primary{color:#fff;background:linear-gradient(135deg,#e74c3c,#c0392b);font-weight:700;box-shadow:0 4px 15px #e74c3c66}.menu-btn-primary:hover{background:linear-gradient(135deg,#d35400,#e74c3c);box-shadow:0 6px 25px #e74c3c99}.menu-btn-secondary{color:#fff;background:#ffffff14;border:1px solid #ffffff26}.menu-btn-secondary:hover:not(:disabled){background:#ffffff26;border-color:#ffffff4d}.btn-icon{text-align:center;width:40px;font-size:24px}.btn-text{flex:1;font-weight:500}.btn-badge{color:#aaa;white-space:nowrap;background:#95a5a64d;border-radius:10px;padding:2px 8px;font-size:10px}.changelog-section{text-align:left;background:#0003;border-radius:12px;margin-bottom:20px;padding:16px}.changelog-title{color:#f39c12;text-align:center;margin-bottom:12px;font-size:14px}.changelog-list{color:#aaa;font-size:12px;line-height:1.8}.changelog-list .commit-item{border-bottom:1px solid #ffffff0d;gap:8px;padding:4px 0;display:flex}.changelog-list .commit-item:last-child{border-bottom:none}.changelog-list .commit-hash{color:#666;flex-shrink:0;font-family:monospace;font-size:11px}.changelog-list .commit-date{color:#888;white-space:nowrap;flex-shrink:0;font-family:monospace;font-size:11px}.changelog-list .commit-msg{color:#ccc;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.changelog-loading{text-align:center;color:#666;font-size:12px}.menu-footer{color:#555;text-align:center;font-size:11px}.menu-footer p{margin:4px 0}@media (width<=768px){.menu-content{max-width:100%;padding:0 10px}.logo-title{font-size:28px}.logo-icon{font-size:60px}.menu-btn{padding:14px 20px;font-size:16px}.btn-icon{width:36px;font-size:20px}.changelog-section{padding:12px}}.target-hint{padding:6px 12px;font-size:12px}.log-title{font-size:12px}.skill-btn{padding:8px;font-size:12px}.skill-icon{font-size:14px}.graveyard-area{display:none}.field-row{gap:4px}.row-label-text{font-size:10px}}@media (width<=480px){.slots-row{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;width:100%;max-width:303px;margin:0 auto}.slot{aspect-ratio:48/65;width:100%;height:auto}.creature-card{width:45px;height:62px;font-size:8px}.creature-card .creature-stats{gap:1px;padding:0;font-size:7px}.creature-avatar{width:24px;height:24px;font-size:14px}.hand-area-main .card{width:62px;height:88px}.card-name{font-size:9px}#game-title{font-size:14px}.mode-select{grid-template-columns:1fr}}@media (width<=768px) and (orientation:landscape){#main-game-area{grid-template-columns:1fr}.slots-row{grid-template-columns:repeat(6,60px)}.slot{width:60px;height:80px}.hand-area-main{min-height:90px}.hand-area-main .card{width:65px;height:92px}#game-log{height:35px}#game-log.expanded{height:60vh}}.btn-back-menu{color:#fff;cursor:pointer;text-align:center;background:linear-gradient(135deg,#e74c3c,#c0392b);border:none;border-radius:8px;width:100%;margin-top:15px;padding:10px;font-size:14px;transition:all .3s}.btn-back-menu:hover{background:linear-gradient(135deg,#c0392b,#a93226);transform:translateY(-1px)}.btn-back-menu:active{transform:translateY(0)}.hero-gallery{z-index:150000;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);width:100vw;height:100vh;padding:20px;position:fixed;top:0;left:0;overflow-y:auto}.hero-gallery.hidden{display:none!important}.hero-gallery-header{border-bottom:1px solid #ffffff1a;align-items:center;gap:20px;margin-bottom:30px;padding-bottom:15px;display:flex}.hero-gallery-header h2{color:#f39c12;font-size:28px}.btn-back{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;padding:8px 16px;font-size:16px;transition:all .3s}.btn-back:hover{background:#fff3}.arc-section{margin-bottom:30px}.arc-title{color:#e74c3c;border-left:4px solid #e74c3c;margin-bottom:15px;padding-left:10px;font-size:22px}.heroes-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:15px;display:grid}.hero-card-gallery{cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:60px minmax(0,1fr);align-items:start;gap:12px;padding:15px;transition:all .3s;display:grid}.hero-card-gallery:hover{background:#ffffff14;border-color:#f39c1280;transform:translateY(-2px)}.hero-avatar-large{background:linear-gradient(135deg,#f39c12,#e74c3c);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;font-size:28px;display:flex}.hero-card-gallery .hero-info{flex:1;min-width:0}.hero-card-gallery .hero-name{color:#fff;margin-bottom:4px;font-size:18px;font-weight:700}.hero-card-gallery .hero-sect{color:#888;margin-bottom:2px;font-size:13px}.hero-card-gallery .hero-spirit-root{color:#aaa;font-size:12px}.hero-card-gallery .hero-region{color:#aeb7d3;margin-top:2px;font-size:12px;line-height:1.35}.hero-skill-info{background:#0003;border-radius:8px;grid-column:1/-1;padding:10px}.hero-skill-info .skill-name{color:#f39c12;margin-bottom:4px;font-weight:700}.hero-skill-info .skill-desc{color:#aaa;font-size:13px;line-height:1.4}.hero-gallery-skills,.hero-gallery-skill-list{flex-direction:column;gap:8px;display:flex}.hero-gallery-skill-item{background:#ffffff0b;border:1px solid #ffffff17;border-radius:8px;padding:8px}.hero-gallery-skill-default{background:#f39c121a;border-color:#f39c1247}.hero-gallery-skill-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;display:flex}.hero-gallery-skill-name{color:#f2f4ff;min-width:0;font-size:13px;font-weight:700}.hero-gallery-skill-type{color:#f39c12;background:#f39c121f;border:1px solid #f39c123d;border-radius:999px;flex:none;padding:2px 7px;font-size:11px}.hero-gallery-skill-desc{color:#aeb7d3;font-size:12px;line-height:1.45}.hero-gallery-roots,.hero-gallery-root-list{flex-direction:column;gap:8px;display:flex}.hero-gallery-root-item{background:#3498db1a;border:1px solid #3498db3d;border-radius:8px;padding:8px}.hero-gallery-root-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;display:flex}.hero-gallery-root-name{color:#dff4ff;min-width:0;font-size:13px;font-weight:700}.hero-gallery-root-timing{color:#67e8f9;background:#67e8f91f;border:1px solid #67e8f93d;border-radius:999px;flex:none;padding:2px 7px;font-size:11px}.hero-gallery-root-desc{color:#b8d7ea;font-size:12px;line-height:1.45}.hero-deck-profile{background:#070d1f75;border:1px solid #ffffff14;border-radius:8px;grid-column:1/-1;padding:10px}.hero-deck-archetype{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.hero-deck-label,.hero-core-title,.hero-pool-title,.hero-gallery-root-title,.hero-gallery-skill-title{color:#f39c12;font-size:12px;font-weight:700}.hero-deck-value{color:#f2f4ff;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.hero-core-section{flex-direction:column;gap:6px;display:flex}.hero-pool-section{flex-direction:column;gap:6px;margin-top:10px;display:flex}.hero-pool-title{color:#63d8ff}.hero-core-cards,.hero-pool-cards{flex-wrap:wrap;gap:6px;display:flex}.hero-pool-cards{max-height:92px;padding-right:2px;overflow-y:auto}.hero-core-card,.hero-pool-card{background:#ffffff12;border:1px solid #ffffff1a;border-radius:6px;align-items:center;gap:4px;min-width:0;max-width:150px;padding:4px 7px;display:inline-flex}.hero-pool-card{background:#339fcc1c;border-color:#63d8ff38}.hero-pool-card-limited{background:#f39c121f;border-color:#f39c1252}.hero-core-card-avatar,.hero-pool-card-avatar{flex:none;font-size:14px}.hero-core-card-name,.hero-pool-card-name{color:#dce3ff;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.hero-deck-tags{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.hero-deck-tag{color:#b9c5e4;background:#487eb02e;border:1px solid #71aee838;border-radius:6px;padding:3px 7px;font-size:11px}.hero-empty-note{color:#7f879d;font-size:12px}@keyframes damageFlash{0%,to{filter:brightness();transform:scale(1)}25%{filter:brightness(2)sepia()hue-rotate(-50deg)saturate(3);transform:scale(1.05)}50%{filter:brightness(1.5)sepia()hue-rotate(-50deg)saturate(2);transform:scale(1.02)}}@keyframes healFlash{0%,to{filter:brightness();box-shadow:none}50%{filter:brightness(1.5)sepia()hue-rotate(90deg)saturate(2);box-shadow:0 0 30px #27ae60}}@keyframes realmUp{0%{transform:scale(1);box-shadow:0 0 #f39c1200}50%{transform:scale(1.1);box-shadow:0 0 50px #f39c12cc}to{transform:scale(1);box-shadow:0 0 #f39c1200}}@keyframes manaPulse{0%,to{transform:scale(1)}50%{color:#3498db;text-shadow:0 0 20px #3498db;transform:scale(1.2)}}@keyframes shieldPulse{0%,to{box-shadow:none;border-color:#f39c12}50%{border-color:#95a5a6;box-shadow:0 0 30px #95a5a6,inset 0 0 20px #95a5a64d}}@keyframes deathFade{0%{opacity:1;filter:grayscale(0);transform:scale(1)}50%{filter:grayscale(.5);transform:scale(.9)}to{opacity:0;filter:grayscale();transform:scale(.5)}}.modal-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:15px;margin-top:25px;display:flex}.modal-actions .primary-btn,.modal-actions .secondary-btn{cursor:pointer;text-align:center;white-space:nowrap;word-break:keep-all;border-radius:10px;flex:0 180px;justify-content:center;align-items:center;width:auto;max-width:200px;min-height:64px;margin:0;padding:0 22px;font-size:16px;font-weight:700;line-height:1.15;transition:all .3s;display:inline-flex}#deck-select-modal .modal-content{max-width:min(920px,100vw - 80px)}#deck-select-modal .modal-actions{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:18px;width:100%;max-width:820px;margin:56px auto 0;display:grid}#deck-select-modal .modal-actions .primary-btn,#deck-select-modal .modal-actions .secondary-btn{letter-spacing:0;border-radius:12px;width:100%;max-width:none;min-height:64px;padding:0 20px;font-size:16px}@media (width<=900px){#deck-select-modal .modal-content{max-width:min(720px,100vw - 40px)}#deck-select-modal .modal-actions{grid-template-columns:repeat(3,minmax(0,1fr));max-width:580px;margin-top:36px}}@media (width<=640px){#deck-select-modal .modal-actions{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}}@media (width<=420px){#deck-select-modal .modal-actions{grid-template-columns:1fr}}.deck-card-meta-tag.attribute{text-shadow:0 0 8px var(--tag-bg,#3498db33)}.deck-card-meta-tag.affiliation{text-shadow:0 0 8px var(--tag-bg,#f39c1233)}@keyframes toastIn{0%{opacity:0;transform:translate(-50%)translateY(20px)}to{opacity:1;transform:translate(-50%)translateY(0)}}@media (width<=768px){.deck-builder-body{flex-direction:column}.deck-panel{width:auto;max-height:40vh}.card-pool{grid-template-columns:repeat(auto-fill,120px);grid-auto-rows:200px}.pool-card{width:120px;height:200px}.pool-card-image{font-size:36px}.pool-card-name{font-size:12px}.deck-card-meta-tags{gap:3px;padding-inline:5px}.deck-card-meta-tag{max-width:56px;height:16px;padding:0 5px;font-size:9px}.pool-card-desc{font-size:9px}#game-log{border-radius:18px;width:auto;min-width:132px;max-width:calc(100vw - 16px);height:36px;padding:0;bottom:8px;left:8px;right:auto;overflow:hidden}#game-log.expanded{border-radius:10px 10px 0 0;width:100%;max-width:none;height:50vh;padding:10px;bottom:0;left:0;right:0}#game-log .log-header{gap:8px;min-height:36px;margin-bottom:0;padding:0 12px}#game-log:not(.expanded) .log-buttons,#game-log:not(.expanded) #log-content{display:none}#game-log.expanded .log-buttons{flex-wrap:wrap;gap:6px;display:flex}}.damage-flash{animation:.5s ease-out damageFlash}.heal-flash{animation:.5s ease-out healFlash}.realm-up{animation:1s ease-out realmUp}.mana-gain{animation:.5s ease-out manaPulse}.shield-gain{animation:.6s ease-out shieldPulse}.death-anim{animation:1s ease-out forwards deathFade}.config-section{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;margin-bottom:25px;padding:20px}.config-section h3{color:#f39c12;margin-bottom:15px;font-size:16px}.mode-select{flex-wrap:wrap;gap:15px;display:flex}.mode-option{cursor:pointer;text-align:center;background:#ffffff0d;border:2px solid #555;border-radius:10px;flex:1;min-width:150px;padding:15px;transition:all .3s}.mode-option:hover{background:#f39c121a;border-color:#f39c12}.mode-option-disabled,.mode-option-disabled:hover{color:#8b94a7;box-shadow:none;cursor:not-allowed;opacity:.58;filter:grayscale(.7);background:#94a3b814;border-color:#94a3b847}.mode-option-disabled span{color:#8b94a7}.mode-option input{display:none}.mode-option input:checked+span{color:#f39c12;font-weight:700}.ai-toggle{margin-bottom:15px}.ai-toggle label{cursor:pointer;align-items:center;gap:10px;font-size:14px;display:flex}.ai-toggle input[type=checkbox]{accent-color:#f39c12;width:20px;height:20px}.ai-settings{background:#0003;border-radius:10px;padding:15px}.form-row{margin-bottom:12px}.form-row label{color:#aaa;margin-bottom:5px;font-size:13px;display:block}.form-row select,.form-row input{color:#fff;background:#ffffff1a;border:1px solid #555;border-radius:8px;width:100%;padding:10px 12px;font-size:14px}.form-row select:focus,.form-row input:focus{border-color:#f39c12;outline:none}.form-row option{color:#fff;background:#1a1a2e}.primary-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f39c12,#e74c3c);border:none;border-radius:10px;width:100%;padding:15px;font-size:16px;font-weight:700;transition:all .3s}.primary-btn:hover{transform:translateY(-2px);box-shadow:0 5px 20px #f39c1266}.modal-actions{justify-content:center;align-items:center;gap:15px;margin-top:25px;display:flex}.modal-actions .primary-btn,.modal-actions .secondary-btn{cursor:pointer;text-align:center;border-radius:10px;flex:1;width:auto;max-width:200px;padding:14px 20px;font-size:16px;font-weight:700;transition:all .3s}.modal-actions .primary-btn{color:#fff;background:linear-gradient(135deg,#f39c12,#e74c3c);border:none}.modal-actions .primary-btn:hover{transform:translateY(-2px);box-shadow:0 5px 20px #f39c1266}.modal-actions .secondary-btn{color:#fff;background:#ffffff1a;border:1px solid #fff3}.modal-actions .secondary-btn:hover{background:#ffffff26;transform:translateY(-2px)}.ai-thinking{color:#000;z-index:1001;background:#f39c12e6;border-radius:20px;padding:10px 20px;font-weight:700;animation:1.5s infinite pulse;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.arc-select-content{width:min(960px,100vw - 32px);max-width:960px}.arc-list{scroll-snap-type:x proximity;flex-flow:row;gap:16px;margin:20px 0;padding:2px 2px 10px;display:flex;overflow-x:auto}.arc-option{cursor:pointer;scroll-snap-align:start;background:#0000004d;border:2px solid #ffffff26;border-radius:16px;flex-direction:column;flex:1 0 220px;justify-content:center;gap:8px;min-height:250px;padding:20px;transition:all .3s;display:flex;position:relative;overflow:hidden}.arc-option:hover{border-color:var(--arc-color,#fff6);box-shadow:0 0 20px var(--arc-color-glow,#ffffff1a);background:#ffffff0d;transform:translateY(-2px)}.arc-option.selected{border-color:var(--arc-color,gold);box-shadow:0 0 25px var(--arc-color-glow,#ffd7004d);background:#ffffff14}.arc-option.disabled{opacity:.35;cursor:not-allowed;filter:grayscale(.8)}.arc-option.disabled:hover{box-shadow:none;background:#0000004d;border-color:#ffffff26;transform:none}.arc-emoji{text-align:center;font-size:40px}.arc-name{color:#fff;text-align:center;font-size:20px;font-weight:700}.arc-subtitle{color:#fff9;text-align:center;font-size:14px}.arc-description{color:#ffffff80;text-align:center;font-size:13px}.arc-info{color:#fff9;flex-wrap:wrap;justify-content:center;gap:15px;margin-top:5px;font-size:13px;display:flex}.sub-arc-select-content{width:min(720px,100vw - 32px);max-width:720px}.sub-arc-list{flex-direction:column;gap:12px;margin:20px 0;display:flex}.sub-arc-option{cursor:pointer;background:#0000004d;border:2px solid #ffffff26;border-radius:12px;align-items:center;gap:15px;padding:15px 20px;transition:all .3s;display:flex;position:relative;overflow:hidden}.sub-arc-option:hover{border-color:var(--sub-arc-color,#fff6);box-shadow:0 0 15px var(--sub-arc-color-glow,#ffffff1a);background:#ffffff0d;transform:translate(5px)}.sub-arc-option.selected{border-color:var(--sub-arc-color,gold);box-shadow:0 0 20px var(--sub-arc-color-glow,#ffd70033);background:#ffffff14}.sub-arc-option.locked{opacity:.4;cursor:not-allowed;border-color:#ffffff0d}.sub-arc-option.locked:hover{background:#0000004d;transform:none}.sub-arc-icon{text-align:center;flex-shrink:0;width:50px;font-size:32px}.sub-arc-info-main{flex:1;min-width:0}.sub-arc-name{color:#fff;margin-bottom:4px;font-size:16px;font-weight:700}.sub-arc-short-name{color:#fff9;margin-bottom:6px;font-size:13px}.sub-arc-meta{color:#ffffff80;flex-wrap:wrap;gap:12px;font-size:12px;display:flex}@media (width<=768px){.arc-select-content{width:min(95vw,100vw - 24px)}.arc-list{scroll-snap-type:y proximity;flex-direction:column;max-height:52vh;padding:2px 4px 8px;overflow:hidden auto}.arc-option{flex:none;width:100%;min-height:170px;padding:16px}}.sub-arc-lock{flex-shrink:0;font-size:24px}.sub-arc-info{background:#0000004d;border-radius:12px;margin-top:15px;padding:15px}.sub-arc-rule h4,.sub-arc-heroes h4{color:#f39c12;margin-bottom:8px;font-size:14px}.sub-arc-rule p{color:#ffffffb3;font-size:13px;line-height:1.6}#sub-arc-heroes-list{flex-wrap:wrap;gap:8px;display:flex}.stage-select-content{width:min(640px,100vw - 32px);max-width:640px;max-height:85vh;overflow-y:auto}.stage-subtitle{text-align:center;color:#ffffff80;margin-bottom:15px;font-size:14px}.stage-list{flex-direction:column;gap:12px;margin:20px 0;display:flex}.stage-option{cursor:pointer;background:#0000004d;border:2px solid #ffffff26;border-radius:12px;align-items:center;gap:15px;padding:15px 20px;transition:all .3s;display:flex;position:relative;overflow:hidden}.stage-option:hover{background:#ffffff0d;border-color:#fff6;transform:translate(5px)}.stage-option.selected{border-color:var(--stage-color,gold);box-shadow:0 0 15px var(--stage-color-glow,#ffd70033);background:#ffffff0d}.stage-option.locked{opacity:.4;cursor:not-allowed;border-color:#ffffff0d}.stage-option.locked:hover{background:#0000004d;transform:none}.stage-option .stage-number{text-align:center;width:50px;color:var(--stage-color,#f39c12);flex-shrink:0;font-size:28px;font-weight:700}.stage-option .stage-info-main{flex:1;min-width:0}.stage-option .stage-name{color:#fff;margin-bottom:4px;font-size:16px;font-weight:700}.stage-option .stage-enemy{color:#fff9;margin-bottom:4px;font-size:13px}.stage-option .stage-desc{color:#fff6;font-size:12px}.stage-option .stage-status{flex-shrink:0;font-size:20px}.stage-option.completed .stage-status{color:#2ecc71}.stage-option.available .stage-status{color:#f39c12}.stage-option.locked .stage-status{color:#e74c3c}.deck-builder{z-index:300000;background:linear-gradient(135deg,#1a1a2e,#16213e);flex-direction:column;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0;overflow:hidden}.deck-builder.hidden{display:none!important}.deck-builder-header{background:#0000004d;border-bottom:1px solid #ffffff1a;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.deck-builder-header h2{color:#f39c12;align-items:center;gap:10px;margin:0;font-size:20px;display:flex}.deck-builder-sub-arc{background:#0000004d;border:1px solid;border-radius:12px;padding:2px 10px;font-size:14px;font-weight:400}.deck-actions{align-items:center;gap:8px;display:flex}.deck-name-input{color:#fff;background:#0000004d;border:1px solid #fff3;border-radius:6px;min-width:150px;padding:6px 12px;font-size:14px}.deck-actions button{cursor:pointer;border:none;border-radius:6px;padding:6px 12px;font-size:13px;transition:all .2s}.btn-save{color:#fff;background:#27ae60}.btn-save:hover{background:#2ecc71}.btn-cancel{color:#fff;background:#7f8c8d}.btn-cancel:hover{background:#95a5a6}.btn-export{color:#fff;background:#2980b9}.btn-export:hover{background:#3498db}.btn-import{color:#fff;background:#8e44ad}.btn-import:hover{background:#9b59b6}.deck-builder-body{flex:1;gap:16px;padding:16px;display:flex;overflow:hidden}.card-pool-panel{background:#0003;border-radius:12px;flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.filter-bar{background:#0003;flex-wrap:wrap;flex-shrink:0;gap:8px;padding:12px;display:flex}.filter-bar select,.filter-bar input{color:#fff;background:#0000004d;border:1px solid #ffffff26;border-radius:6px;padding:6px 10px;font-size:13px}.filter-bar input{flex:1;min-width:120px}.card-pool{flex:1;grid-template-columns:repeat(auto-fill,160px);grid-auto-rows:260px;place-content:start;gap:12px;padding:12px;display:grid;overflow-y:auto}.pool-card{cursor:pointer;-webkit-user-select:none;user-select:none;background:linear-gradient(#2c3e50 0%,#1a1a2e 100%);border:2px solid #ffffff26;border-radius:12px;flex-direction:column;width:160px;height:260px;transition:all .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 8px #0000004d}.pool-card:hover{border-color:#f39c12;transform:translateY(-4px)scale(1.02);box-shadow:0 8px 20px #f39c1233}.pool-card.disabled{opacity:.4;cursor:not-allowed;filter:grayscale(.8)}.pool-card-cost{color:#fff;z-index:2;text-shadow:0 1px 2px #00000080;background:linear-gradient(135deg,#e74c3c,#c0392b);border:2px solid #fff3;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;font-weight:700;display:flex;position:absolute;top:6px;left:6px}.pool-card-count{color:#aaa;z-index:2;background:#0009;border-radius:10px;padding:2px 6px;font-size:11px;position:absolute;top:6px;right:6px}.pool-card-exclusive{color:#fff;z-index:2;background:linear-gradient(135deg,#9b59b6,#8e44ad);border-radius:4px;padding:2px 5px;font-size:10px;position:absolute;top:6px;right:6px}.pool-card-image{background:#0003;border-radius:8px;flex:0 0 82px;justify-content:center;align-items:center;min-height:60px;margin:20px 8px 0;font-size:48px;display:flex}.pool-card-name{text-align:center;color:#fff;white-space:nowrap;text-overflow:ellipsis;padding:4px 8px;font-size:14px;font-weight:500;overflow:hidden}.pool-card-type{text-align:center;color:#f39c12;padding:0 8px 4px;font-size:11px}.deck-card-meta-tags{box-sizing:border-box;justify-content:center;align-items:center;gap:4px;width:100%;min-height:22px;padding:1px 8px 5px;display:flex;overflow:hidden}.deck-card-meta-tags.compact{flex:none;justify-content:center;align-items:center;width:auto;max-width:118px;min-height:0;padding:0}.deck-card-meta-tag{border:1px solid var(--tag-color,#ffffff2e);background:var(--tag-bg,#ffffff0f);min-width:34px;max-width:82px;height:18px;color:var(--tag-color,#cfd8f6);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:0 7px;font-size:10px;font-weight:700;line-height:1;display:inline-flex;overflow:hidden;box-shadow:inset 0 0 8px #ffffff06}.deck-card-meta-tag.attribute,.deck-card-meta-tag.affiliation{text-shadow:0 0 8px var(--tag-bg,#fff3)}.deck-card-meta-tags.compact .deck-card-meta-tag{min-width:28px;max-width:54px;height:18px;padding:0 5px;font-size:10px}.pool-card-desc{color:#ccc;overflow-wrap:anywhere;text-align:center;-webkit-line-clamp:3;-webkit-box-orient:vertical;flex:0 0 40px;padding:2px 9px 4px;font-size:10px;line-height:1.3;display:-webkit-box;overflow:hidden}.pool-card-stats{background:#0000004d;border-top:1px solid #ffffff0d;justify-content:space-between;align-items:center;padding:6px 8px;display:flex}.pool-card-attack{color:#e74c3c;align-items:center;gap:2px;font-size:13px;font-weight:700;display:flex}.pool-card-health{color:#27ae60;align-items:center;gap:2px;font-size:13px;font-weight:700;display:flex}.deck-panel{background:#0003;border-radius:12px;flex-direction:column;flex-shrink:0;width:320px;display:flex;overflow:hidden}.deck-info{background:#0003;flex-shrink:0;padding:12px}.deck-count{color:#fff;margin-bottom:8px;font-size:18px}.deck-count span{color:#f39c12;font-weight:700}.deck-validation{border-radius:6px;min-height:20px;padding:6px 10px;font-size:12px}.deck-validation.valid{color:#2ecc71;background:#27ae6033}.deck-validation.warning{color:#f39c12;background:#f39c1233}.deck-validation.error{color:#e74c3c;background:#e74c3c33}.cost-curve,.type-distribution{flex-shrink:0;padding:12px}.cost-curve h4,.type-distribution h4{color:#aaa;margin:0 0 8px;font-size:13px}.curve-chart{align-items:flex-end;gap:4px;height:80px;padding:0 4px;display:flex}.curve-bar-wrapper{flex-direction:column;flex:1;align-items:center;gap:2px;display:flex}.curve-bar{border-radius:3px 3px 0 0;width:100%;min-height:2px;transition:height .3s}.curve-label{color:#666;font-size:10px}.curve-value{color:#888;min-height:14px;font-size:10px}.type-chart{flex-wrap:wrap;gap:6px;display:flex}.type-item{background:#ffffff0d;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;display:flex}.type-icon{font-size:14px}.type-name{color:#bbb}.type-count{color:#f39c12;text-align:center;min-width:16px;font-weight:700}.deck-list{flex:1;padding:12px;overflow-y:auto}.deck-card{background:#ffffff0d;border-radius:6px;align-items:center;gap:8px;margin-bottom:6px;padding:8px 10px;transition:all .2s;display:flex}.deck-card:hover{background:#ffffff1a}.deck-card-cost{color:#fff;background:linear-gradient(135deg,#e74c3c,#c0392b);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:700;display:flex}.deck-card-icon{flex-shrink:0;font-size:18px}.deck-card-name{color:#ddd;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13px;overflow:hidden}.btn-remove{color:#fff;cursor:pointer;background:#e74c3c99;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:12px;display:flex}.btn-remove:hover{background:#e74c3ce6}.deck-toast{color:#fff;z-index:200000;border-radius:8px;padding:10px 20px;font-size:14px;animation:.3s toastIn;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.deck-toast.success{background:#27ae60}.deck-toast.error{background:#c0392b}.deck-toast.info{background:#2980b9}.saved-deck-item{cursor:pointer;background:#ffffff0d;border:1px solid #0000;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:12px 16px;transition:all .2s;display:flex}.saved-deck-item:hover{background:#ffffff1a;border-color:#f39c124d}.saved-deck-item.selected{background:#f39c1226;border-color:#f39c12}.saved-deck-name{color:#ddd;font-size:15px;font-weight:500}.saved-deck-info{color:#888;align-items:center;gap:8px;font-size:12px;display:flex}.btn-delete-deck{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;font-size:14px;transition:background .2s}.btn-delete-deck:hover{background:#e74c3c4d}.deck-select-actions{justify-content:center;gap:8px;margin-top:16px;display:flex}.deck-select-actions button{cursor:pointer;border:none;border-radius:8px;padding:10px 20px;font-size:14px}.secondary-btn{color:#fff;background:#ffffff1a;border:1px solid #fff3}.secondary-btn:hover{background:#ffffff26}@media (width<=768px){.deck-builder-body{flex-direction:column}.deck-panel{width:auto;max-height:40vh}.card-pool{grid-template-columns:repeat(auto-fill,120px);grid-auto-rows:200px}.pool-card{width:120px;height:200px}.pool-card-image{font-size:36px}.pool-card-name{font-size:12px}.deck-card-meta-tags{gap:3px;padding-inline:5px}.deck-card-meta-tag{max-width:56px;height:16px;padding:0 5px;font-size:9px}.pool-card-desc{font-size:9px}}
