.pool-market-tabs{display:flex;gap:12px;margin:0 0 28px}.pool-market-tabs .btn{min-width:180px}.spell-marketplace,.spell-inventory,.benched-powerups{margin:38px 0 48px}.spell-marketplace .section-heading p,.spell-inventory .section-heading p{max-width:780px;line-height:1.65}.spell-collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.spell-collection-card{border:1px solid #86649d;border-radius:20px;background:radial-gradient(ellipse at 50% 22%,#5d397b70,transparent 55%),linear-gradient(160deg,#281b37,#111626);padding:24px;display:flex;flex-direction:column;gap:14px;color:#f7f1ff;position:relative;isolation:isolate}.spell-collection-card.rarity-rare{border-color:#7acbdf}.spell-collection-card.rarity-legendary{border:2px solid #d9bd73;background:radial-gradient(ellipse at 50% 22%,#a17a3760,transparent 55%),linear-gradient(160deg,#2b203c,#111626)}.spell-collection-card.is-equipped{box-shadow:0 0 0 2px #d9aeff}.spell-collection-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.spell-collection-top .tag{font-size:12px}.spell-energy{font-size:12px;letter-spacing:.07em;color:#d8c4ed;font-weight:800}.spell-sigil{height:114px;display:grid;place-items:center;position:relative;color:#d3b1ff;font-size:76px;text-shadow:0 0 22px #b277ff80;line-height:1}.spell-sigil:before,.spell-sigil:after{content:'';position:absolute;border:1px solid #b895e248;width:98px;height:98px;border-radius:50%;z-index:-1}.spell-sigil:after{width:78px;height:78px;transform:rotate(45deg);border-radius:16px}.rarity-legendary .spell-sigil{color:#ffe4a0;text-shadow:0 0 24px #e4be6870}.spell-collection-card .eyebrow{font-size:12px;color:#cdb5e8}.spell-collection-card h3{font-size:30px;line-height:1.12;color:#f5d985;margin:0}.spell-collection-card .spell-effect{font-size:18px;line-height:1.55;color:#66edf5;margin:0;flex:1}.spell-collection-bottom{display:flex;flex-direction:column;gap:14px;margin-top:8px}.spell-collection-bottom .btn{width:100%;font-size:16px;white-space:normal}.spell-price{font-weight:800;font-size:20px;color:#ffe4a0}.spell-price-guide{display:flex;gap:20px;flex-wrap:wrap;margin:0 0 24px}.spell-price-guide .spell-rarity-filter{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;min-height:52px;border:1px solid #6c597e;border-radius:10px;padding:12px 18px;color:#ded2eb;background:linear-gradient(130deg,#34213f,#21172f);font:700 17px/1.3 var(--sans);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.spell-price-guide .spell-rarity-filter:hover{border-color:#d4b2f0;background:#452b57}.spell-price-guide .spell-rarity-filter.is-selected{border-color:#d5b1ff;background:linear-gradient(130deg,#6d3c9c,#40245d);color:#fff;box-shadow:0 0 0 1px #caa3f377,0 5px 20px #7f46b52e}.spell-price-guide .spell-rarity-filter:focus-visible{outline:3px solid #78e9ef;outline-offset:3px}.spell-market-count{margin:-8px 0 22px;color:#c8b9d6;font-size:16px}.spell-price-guide b{color:#f9db88;margin-left:12px}.benched-powerups .powerup-card-grid{margin-bottom:22px}.power-inventory-count{color:#70e9f2}.power-owned-controls{display:flex;justify-content:flex-end;padding:12px}.power-owned-controls .btn{font-size:14px}.power-bench-empty{padding:24px;border:1px dashed #534960;border-radius:14px;color:#bdb1ca}
@media(min-width:1900px){.spell-collection-card{padding:30px}.spell-collection-card .spell-effect{font-size:21px}.spell-sigil{height:145px}}
@media(max-width:1150px){.spell-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.spell-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.spell-collection-card{padding:20px}}
@media(max-width:520px){.spell-collection-grid{grid-template-columns:1fr}.spell-collection-card{padding:24px}.spell-sigil{height:100px}.pool-market-tabs .btn{min-width:0;flex:1}.spell-marketplace .section-heading,.spell-inventory .section-heading{align-items:flex-start;gap:18px;flex-direction:column}}

@media(max-width:520px){.spell-price-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.spell-price-guide .spell-rarity-filter{padding:12px 10px;font-size:15px}.spell-price-guide b{margin-left:8px}}
@media(prefers-reduced-motion:reduce){.spell-price-guide .spell-rarity-filter{transition:none}}
