/* Card collection and mobile-first showcase; independent from game CSS. */
.cards-home{margin:0 0 20px;padding:17px 17px 18px;background:linear-gradient(135deg,#132d4f,#273b67 76%,#3b326c);border-radius:18px;color:#f3f7ff;box-shadow:0 9px 24px #09214119}.cards-home-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.cards-home-header h2{margin:0;font-size:18px;font-weight:850}.cards-home-header p{margin:3px 0 0;font-size:12px;color:#a9c1df}.cards-home-link{min-width:90px;text-align:center;border:1px solid #84b3d8;border-radius:11px;padding:9px 10px;font-size:12px;font-weight:750;color:#e9f4ff;white-space:nowrap}.cards-home-grid,.cards-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cards-preview,.cards-tile{--stroke:#91a8c6;--background-a:#354c71;--background-b:#537195;min-width:0;min-height:138px;border:2px solid var(--stroke);border-radius:14px;background:radial-gradient(circle at 35% 25%,#ffffff46,transparent 35%),linear-gradient(145deg,var(--background-a),var(--background-b));color:#fff;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;padding:8px 6px;box-shadow:inset 0 0 0 2px #ffffff20,0 6px 12px #02061b29}.cards-preview-name{font-size:12px;font-weight:850}.cards-preview .cards-symbol,.cards-tile .cards-symbol{font-size:clamp(30px,8vw,57px);line-height:1;filter:drop-shadow(0 4px 4px #0005);transition:transform .2s ease}.cards-card-label{font-size:10px;font-weight:750;letter-spacing:.04em;word-break:keep-all}.cards-preview-placeholder{color:#91abc9;background:linear-gradient(145deg,#233a59,#172b4a);border:2px dashed #6280a6}.cards-preview-placeholder .cards-symbol{font-size:40px;color:#9ab1c9}.cards-preview.rarity-basic,.cards-tile.rarity-basic{--stroke:#a7b5c8;--background-a:#233c5a;--background-b:#66768a}.cards-preview.rarity-rare,.cards-tile.rarity-rare{--stroke:#75cafa;--background-a:#144c83;--background-b:#317dc0}.cards-preview.rarity-hero,.cards-tile.rarity-hero{--stroke:#c397ff;--background-a:#4c296c;--background-b:#8d65cd}.cards-preview.rarity-myth,.cards-tile.rarity-myth{--stroke:#ffa3d2;--background-a:#78325d;--background-b:#d461a5}.cards-preview.rarity-legend,.cards-tile.rarity-legend{--stroke:#fdd366;--background-a:#734b20;--background-b:#df9b35}.cards-preview.rarity-ultra,.cards-tile.rarity-ultra{--stroke:#8af7eb;--background-a:#165667;--background-b:#7552c2}.cards-preview.rarity-secret,.cards-tile.rarity-secret{--stroke:#f1bcff;--background-a:#2b2057;--background-b:#aa53a2}.cards-home-signin{font-size:12px;color:#d5e0f1;margin:9px 0 0;text-align:center}
.cards-page{background:#f2f6fb;color:#18304d}.cards-container{width:min(1024px,calc(100% - 32px));margin:24px auto 70px}.cards-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.cards-eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:#3265aa}.cards-title h1{font-size:clamp(24px,5vw,34px);margin:4px 0}.cards-intro{font-size:13px;color:#677a8f;margin:0}.cards-total{border-radius:22px;background:#dfe8fa;padding:9px 14px;white-space:nowrap;font-weight:800}.cards-auth-panel,.cards-section{background:white;padding:20px;border-radius:17px;border:1px solid #dce4ef;margin:18px 0}.cards-auth-panel h2,.cards-section h2{font-size:18px;margin:0}.cards-auth-panel p{font-size:14px;color:#566f8b}.cards-auth-panel a{color:#2558b0;font-weight:800;display:inline-block;padding:12px 0}.cards-google-button{min-height:45px;margin:14px 0}.cards-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.cards-section-head h2 small{color:#7c899c;font-weight:500;font-size:12px;display:block}.cards-secondary{border:1px solid #9cb5d9;border-radius:9px;background:#eff4fc;padding:9px 12px;color:#315b9c;font-size:12px;font-weight:750}.cards-section .cards-showcase{max-width:570px}.cards-section .cards-preview{min-height:170px}.cards-filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px}.cards-filters button{border:1px solid #cfdaea;border-radius:30px;background:#f2f6fc;white-space:nowrap;padding:8px 13px;color:#49647d;font-size:12px;min-height:38px}.cards-filters button.active{background:#2558ac;color:#fff}.cards-inventory{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.cards-tile{cursor:pointer;min-height:170px;width:100%;font:inherit}.cards-tile.selected{outline:3px solid #edb95e}.cards-hint{font-size:12px;color:#718396}.cards-odds{display:grid;gap:7px;margin-top:12px}.cards-odds-row{display:flex;justify-content:space-between;gap:12px;font-size:12px;border-bottom:1px solid #e6edf8;padding:7px 0}.cards-empty{grid-column:1/-1;padding:25px 10px;color:#74879f;text-align:center;font-size:13px}.cards-modal-layer{position:fixed;inset:0;display:grid;place-items:center;padding:16px;background:#041127bf;z-index:100}.cards-modal-layer[hidden]{display:none}.cards-modal{position:relative;width:min(100%,420px);max-height:90dvh;overflow:auto;border-radius:22px;background:#fff;padding:25px;color:#23364f;text-align:center}.cards-modal .cards-tile{width:175px;margin:0 auto 14px}.cards-modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:28px;color:#647896}.cards-action-buttons{display:grid;gap:8px}.cards-action-buttons button{min-height:46px;background:#2459ac;color:white;border:0;border-radius:12px;font-weight:750}.cards-action-buttons button:disabled{background:#d7dfeb;color:#708093}.cards-action-buttons button:last-child{background:#7c53b9}.cards-modal p{font-size:13px;line-height:1.6}.cards-modal #cards-operation-status{color:#8e5b24;font-weight:750;min-height:25px}.cards-home .cards-preview{max-height:156px;min-height:129px}
@media(min-width:600px){.cards-home{max-width:630px}.cards-home-grid{gap:15px}.cards-preview{min-height:165px}.cards-preview .cards-symbol{font-size:50px}}
@media(max-width:370px){.cards-home{padding:12px}.cards-preview{min-height:119px}.cards-preview .cards-symbol{font-size:27px}.cards-preview-name{font-size:11px}.cards-card-label{font-size:9px}.cards-container{width:calc(100% - 20px)}.cards-section{padding:14px}.cards-inventory{grid-template-columns:repeat(2,minmax(0,1fr))}}
