.card-collection{flex-direction:column;gap:1.5rem;min-width:0;display:flex;container-type:inline-size}.collection-filter-toggle{color:#18254d;font:inherit;cursor:pointer;background:#fff;border:1px solid #273c7329;border-radius:12px;align-items:center;gap:.45rem;padding:.6rem .95rem;font-size:.9rem;font-weight:600;transition:border-color .18s,background .18s,color .18s;display:inline-flex}.collection-filter-toggle:hover{border-color:#a3204f}.collection-filter-toggle:focus-visible{outline-offset:2px;outline:2px solid #2a44d6}.collection-filter-toggle svg{fill:none;stroke:#a3204f;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.collection-filter-toggle--active{color:#a3204f;background:#ff9abd33;border-color:#a3204f}.collection-filter-toggle--active .collection-filter-icon--fill{fill:var(--saira-red)}.collection-filter-toggle-count{color:#fff;background:#a3204f;border-radius:999px;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 .35rem;font-size:.75rem;line-height:1;display:grid}.cards-grid{grid-template-columns:repeat(auto-fill,minmax(min(170px,45%),1fr));gap:1rem;display:grid}.cards-grid>p{color:#5b6b91;grid-column:1/-1;margin:0}.cards-grid>.cards-error{color:#b42318}@container (max-width:620px){.cards-grid{gap:.65rem}}.card-item{isolation:isolate;background:#fff;border-radius:22px;transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .18s;position:relative;overflow:hidden;box-shadow:0 20px 45px #11215c14}.card-item:hover{transform:translateY(-4px);box-shadow:0 28px 56px #11215c24}.card-item--rarity-1:hover{box-shadow:0 0 0 1px #73dc8bb3,0 0 14px #4bbe7033,0 28px 56px #11215c24}.card-item--rarity-2:hover{box-shadow:0 0 0 1px #73b5ffbf,0 0 16px #4691ff47,0 28px 56px #11215c24}.card-image{width:100%;height:auto;display:block}.card-artwork{isolation:isolate;position:relative;overflow:hidden}.card-artwork:before,.card-artwork:after{z-index:1;content:"";opacity:0;pointer-events:none;position:absolute;inset:0}.card-artwork:before{background:linear-gradient(125deg,#0000 25%,#ffffff47 48%,#0000 70%);transition:opacity .3s}.card-artwork:after{background:linear-gradient(110deg,#0000 43%,#ffffff14 47%,#ffffffc7 50%,#ffffff1f 53%,#0000 58%);inset:-45% -80%;transform:translate(-75%)rotate(12deg)}.card-image{transition:transform .5s cubic-bezier(.2,.7,.2,1),filter .5s}.card-item--rarity-2:hover .card-artwork:after{opacity:.72;background:linear-gradient(110deg,#0000 46%,#add3ff1f 48.5%,#e0f0ffb8 50%,#7eb8ff2e 51.5%,#0000 54%);animation:1.15s ease-out both card-shine}.card-item--rarity-3:hover{box-shadow:0 0 0 1px #ca97ffb8,0 0 22px #a45cff66,0 28px 56px #11215c2e}.card-item--rarity-3:hover .card-artwork:before{opacity:.75}.card-item--rarity-3:hover .card-artwork:after{opacity:1;animation:1.15s ease-out both card-shine}.card-item--rarity-3:hover .card-image{filter:saturate(1.08)brightness(1.04);transform:scale(1.025)}.card-item--rarity-4:hover{box-shadow:0 0 0 1px #ffe099c7,0 0 12px #ffeeb4cc,0 0 32px #ffb54e94,0 0 48px #ffc55c52,0 30px 60px #11215c38}.card-item--rarity-4:hover .card-artwork:before{opacity:1;background:linear-gradient(125deg,#ffc65a1f,#0000 35%,#a76fff33);animation:2.4s ease-in-out infinite alternate card-prismatic-glow}.card-item--rarity-4:hover .card-artwork:after{opacity:1;background:linear-gradient(110deg,#0000 37%,#ffffff1f 43%,#fff6cff5 48%,#ffffffb3 50%,#be96ff61 54%,#0000 61%);animation:1.35s cubic-bezier(.2,.7,.2,1) both card-shine}.card-item--rarity-4:hover .card-image{filter:saturate(1.18)brightness(1.07);transform:scale(1.035)}@keyframes card-shine{0%{transform:translate(-75%)rotate(12deg)}to{transform:translate(75%)rotate(12deg)}}@keyframes card-prismatic-glow{0%{filter:hue-rotate(-12deg)brightness(.95)}to{filter:hue-rotate(16deg)brightness(1.12)}}.card-body{padding:.75em 1rem}.card-body h3{color:#13205f;margin:0 0 .35rem;font-size:1.1rem}.card-body p{color:#5c6a8e;margin:0;font-size:.95rem}@media (max-width:720px){.collection-header{flex-direction:column;align-items:stretch}.collection-header h1{font-size:1.5rem}.collection-header p{font-size:.9rem}.collection-add-button{padding:.75rem 1rem}.card-item{border-radius:14px;box-shadow:0 10px 24px #11215c14}.card-body{padding:.5rem .55rem .65rem}.card-body h3{font-size:.85rem}.card-body p{font-size:.72rem}}@media (prefers-reduced-motion:reduce){.card-item,.card-image,.card-artwork:before,.card-artwork:after{transition:none;animation:none!important}}.card-item.card-item--missing .card-image{filter:grayscale();opacity:.45;transform:none}.card-item.card-item--missing:hover .card-image{filter:grayscale(.7);opacity:.7}.card-item.card-item--wished .card-image{filter:grayscale(.35);opacity:.8}.card-item.card-item--wished{box-shadow:0 0 0 2px #ff9abdd9,0 20px 45px #11215c14}.card-item--missing .card-body h3,.card-item--missing .card-body p{opacity:.55}.card-actions{border-top:1px solid #404d9b1a;justify-content:space-between;align-items:center;gap:.5rem;min-height:2.25rem;margin-top:.75rem;padding-top:.75rem;display:flex}.card-action{border:1.5px solid var(--deep-ocean);min-width:0;height:2.25rem;color:var(--deep-ocean);font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border-radius:999px;flex:1 1 0;justify-content:center;align-items:center;gap:.35rem;padding:0 .6rem;font-size:.82rem;font-weight:600;transition:background .16s,color .16s,border-color .16s;display:inline-flex}.card-action:focus-visible,.card-stepper-button:focus-visible{outline:2px solid var(--ucla-gold);outline-offset:2px}.card-action--add{background:var(--deep-ocean);color:#fff}.card-action--add:hover{background:#2f3a7d;border-color:#2f3a7d}.card-action-plus{font-size:1.05rem;line-height:1}.card-action-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:1rem;height:1rem}.card-action--wish{color:#a3204f;border-color:#a3204f73}.card-action--wish:hover{background:#ff9abd24;border-color:#a3204f}.card-action--wish.card-action--active{border-color:var(--saira-red);background:#ff9abd40}.card-action--wish.card-action--active .card-action-icon{fill:var(--saira-red);stroke:#a3204f}.card-action--trade{color:#5c6a8e;border-color:#404d9b4d;flex:0 auto}.card-action--trade:hover{border-color:var(--deep-ocean);color:var(--deep-ocean)}.card-action--trade.card-action--active{border-color:var(--deep-ocean);background:var(--deep-ocean);color:#fff}.card-action--trade.card-action--active:hover{background:#2f3a7d;border-color:#2f3a7d}.card-stepper{background:#f0f2fb;border-radius:999px;flex-shrink:0;align-items:center;gap:.15rem;height:2.25rem;padding:0 .2rem;display:inline-flex}.card-stepper-button{width:1.75rem;height:1.75rem;color:var(--deep-ocean);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:1.05rem;line-height:1;transition:background .16s,color .16s;display:inline-grid}.card-stepper-button:hover:not(:disabled){background:var(--deep-ocean);color:#fff}.card-stepper-button:disabled{opacity:.35;cursor:not-allowed}.card-stepper-value{color:#13205f;text-align:center;font-variant-numeric:tabular-nums;min-width:1.9rem;font-size:.88rem;font-weight:700}@container (max-width:620px){.card-actions{gap:.35rem;min-height:2rem;margin-top:.5rem;padding-top:.5rem}.card-action,.card-stepper{height:2rem}.card-action{padding:0 .45rem;font-size:.74rem}.card-stepper-button{width:1.5rem;height:1.5rem}.card-stepper-value{min-width:1.5rem;font-size:.8rem}}@media (prefers-reduced-motion:reduce){.card-action,.card-stepper-button{transition:none}}.cards-grid.cards-grid--compact{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}.cards-grid--compact .card-item{border-radius:14px}.cards-grid--compact .card-item:hover{transform:translateY(-2px)}.cards-grid--compact .card-body{padding:.5rem .6rem .6rem}.cards-grid--compact .card-body h3{text-overflow:ellipsis;white-space:nowrap;margin-bottom:.15rem;font-size:.9rem;overflow:hidden}.cards-grid--compact .card-body p{font-size:.72rem;line-height:1.35}.cards-grid--compact .card-actions{gap:.3rem;min-height:1.9rem;margin-top:.5rem;padding-top:.5rem}.cards-grid--compact .card-action,.cards-grid--compact .card-stepper{height:1.9rem}.cards-grid--compact .card-action{padding:0 .45rem;font-size:.74rem}.cards-grid--compact .card-action--wish,.cards-grid--compact .card-action--trade{flex:0 0 1.9rem;padding:0}.cards-grid--compact .card-action-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.cards-grid--compact .card-stepper{flex:auto;justify-content:space-between;min-width:0}.cards-grid--compact .card-stepper-button{width:1.45rem;height:1.45rem;font-size:.95rem}.cards-grid--compact .card-stepper-value{min-width:1.4rem;font-size:.78rem}.card-owner-badges{flex-wrap:wrap;gap:.4rem;margin-top:.5rem;display:flex}.card-owner-quantity,.card-owner-trade{border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:600}.card-owner-quantity{color:var(--deep-ocean);background:#404d9b1a}.card-owner-trade{color:#2e7d32;background:#4caf5024}
