@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fira+Code&display=swap";:root{color-scheme:light dark;--background: hsl(0, 0%, 94%);--foreground: #111111;--card: #f9f9f9;--card-foreground: #333333;--popover: #ffffff;--popover-foreground: #1a1a1a;--primary: #4f46e5;--primary-foreground: #ffffff;--secondary: #e0e0e0;--secondary-foreground: #222222;--font-sans: "Inter", sans-serif;--font-serif: Georgia, serif;--font-mono: "Fira Code", monospace;--muted: #e0e0e0;--muted-foreground: #666666;--destructive: #ef4444;--destructive-foreground: #ffffff;--border: #d1d5db;--input: #e5e7eb;--ring: #3b82f6;--chart-1: #3b82f6;--chart-2: #10b981;--chart-3: #f59e0b;--chart-4: #8b5cf6;--chart-5: #ef4444;--mtg-primary: #1a1a2e;--mtg-secondary: #16213e;--mtg-accent: #e94560;--mtg-dark: #0f0f23;--mtg-gray: #2a2a3e;--glass: rgba(255, 255, 255, .1);--accent: #FF3B3F;--app-background: #F99A72;--highlight: #FFEB3B;--text-main: #7F5A83;--foil-glow: rgba(255, 59, 63, .4)}.dark{--background: hsl(222.2, 84%, 4.9%);--foreground: hsl(210, 40%, 98%);--card: hsl(222.2, 84%, 4.9%);--card-foreground: hsl(210, 40%, 98%);--popover: hsl(222.2, 84%, 4.9%);--popover-foreground: hsl(210, 40%, 98%);--primary: hsl(210, 40%, 98%);--primary-foreground: hsl(222.2, 47.4%, 11.2%);--secondary: hsl(217.2, 32.6%, 17.5%);--secondary-foreground: hsl(210, 40%, 98%);--muted: hsl(217.2, 32.6%, 17.5%);--muted-foreground: hsl(215, 20.2%, 65.1%);--destructive: hsl(0, 62.8%, 30.6%);--destructive-foreground: hsl(210, 40%, 98%);--border: hsl(217.2, 32.6%, 17.5%);--input: hsl(217.2, 32.6%, 17.5%);--ring: hsl(212.7, 26.8%, 83.9%);--chart-1: hsl(220, 70%, 50%);--chart-2: hsl(160, 60%, 45%);--chart-3: hsl(30, 80%, 55%);--chart-4: hsl(280, 65%, 60%);--chart-5: hsl(340, 75%, 55%)}@media (prefers-color-scheme: dark){:root:not(.light){--background: hsl(222.2, 84%, 4.9%);--foreground: hsl(210, 40%, 98%);--card: hsl(222.2, 84%, 4.9%);--card-foreground: hsl(210, 40%, 98%);--popover: hsl(222.2, 84%, 4.9%);--popover-foreground: hsl(210, 40%, 98%);--primary: hsl(210, 40%, 98%);--primary-foreground: hsl(222.2, 47.4%, 11.2%);--secondary: hsl(217.2, 32.6%, 17.5%);--secondary-foreground: hsl(210, 40%, 98%);--muted: hsl(217.2, 32.6%, 17.5%);--muted-foreground: hsl(215, 20.2%, 65.1%);--destructive: hsl(0, 62.8%, 30.6%);--destructive-foreground: hsl(210, 40%, 98%);--border: hsl(217.2, 32.6%, 17.5%);--input: hsl(217.2, 32.6%, 17.5%);--ring: hsl(212.7, 26.8%, 83.9%);--chart-1: hsl(220, 70%, 50%);--chart-2: hsl(160, 60%, 45%);--chart-3: hsl(30, 80%, 55%);--chart-4: hsl(280, 65%, 60%);--chart-5: hsl(340, 75%, 55%)}}input,textarea,select,button{border:1px solid var(--border)}body{background:var(--background);color:var(--foreground);font-family:var(--font-sans),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:clamp(1rem,2.5vw,1.2rem)}html,body{overflow-x:hidden}.text-gradient-primary{background:linear-gradient(135deg,#e94560,#f39c12);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;color:var(--foreground)}.foil-badge{position:absolute;top:8px;right:8px;background:linear-gradient(45deg,var(--highlight),var(--accent));color:#fff;padding:4px 10px;border-radius:6px;font-size:.75rem;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.12);z-index:2}.quantity-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.quantity-controls{display:flex;align-items:center;gap:8px}.quantity-button{width:28px;height:28px;border-radius:4px;border:1px solid var(--border, rgba(255, 255, 255, .2));background:var(--muted, rgba(255, 255, 255, .1));color:var(--foreground, white);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.quantity-button:hover:not(:disabled){background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.3)}.quantity-button:disabled{opacity:.5;cursor:not-allowed}.quantity-button:focus{outline:none;box-shadow:0 0 0 2px var(--ring)}.quantity-display{min-width:40px;text-align:center;font-weight:600;color:var(--foreground)}.finish-label{font-size:.875rem;font-weight:500;color:var(--muted-foreground, rgba(255, 255, 255, .8));min-width:60px}.finish-label.foil{color:var(--highlight)}.price-display{font-size:.75rem;color:var(--success, #10b981);font-weight:500}.card-foil{position:relative;overflow:hidden}.card-foil:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent 30%,var(--foil-glow) 50%,transparent 70%);transform:rotate(45deg);transition:transform .6s ease;pointer-events:none;z-index:1;will-change:transform}.card-foil:hover:before{transform:rotate(45deg) translate(50%,50%)}@keyframes foil-shimmer{0%{transform:translate(-100%) rotate(45deg)}to{transform:translate(100%) rotate(45deg)}}.foil-shimmer{position:relative;overflow:hidden}.foil-shimmer:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(45deg,transparent 30%,var(--foil-glow) 50%,transparent 70%);transform:translate(-100%) rotate(45deg);animation:foil-shimmer 2s infinite;pointer-events:none}.collection-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:16px;text-align:center}.stat-value{font-size:1.5rem;font-weight:700;color:var(--foreground);margin-bottom:4px}.stat-label{font-size:.875rem;color:var(--muted-foreground, rgba(255, 255, 255, .7))}.stat-foil{color:var(--highlight)}.filter-section{margin-bottom:16px}.filter-title{font-size:.875rem;font-weight:600;color:var(--foreground, rgba(255, 255, 255, .9));margin-bottom:8px}.filter-options{display:flex;flex-direction:column;gap:6px}.filter-option{display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--muted-foreground, rgba(255, 255, 255, .8));transition:color .2s ease}.filter-option input[type=checkbox]{width:16px;height:16px;accent-color:var(--mtg-accent, #e94560)}.filter-option:hover{color:var(--foreground, white)}.modal-responsive{max-width:90vw;max-height:90vh;overflow-y:auto;background-color:var(--background);border:1px solid var(--border);border-radius:8px;padding:clamp(1rem,2vw,1.5rem);transform:none;-webkit-font-smoothing:antialiased;backface-visibility:hidden}.modal-responsive p,.modal-responsive span{color:var(--foreground);font-size:var(--text-responsive-base, 1rem)}.modal-overlay{background-color:rgba(0,0,0,.5);position:fixed;top:0;right:0;bottom:0;left:0;z-index:50}@media (max-width: 768px){.modal-responsive{max-width:95vw;max-height:95vh;margin:.5rem}}.card-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));padding:1.5rem}@media (max-width: 768px){.card-grid{grid-template-columns:1fr;padding:1rem;gap:1rem}}@media (min-width: 641px) and (max-width: 1024px){.card-grid{grid-template-columns:repeat(2,1fr)}}.btn-mobile{padding:.75rem 1rem;font-size:1rem;min-height:44px;min-width:44px}@media (max-width: 600px){.card-container{display:flex;flex-direction:column;gap:1rem}}@media (max-width: 1024px){.nav-desktop{display:none}.nav-mobile{display:flex}}@media (min-width: 1025px){.nav-desktop{display:flex}.nav-mobile{display:none}}@media (max-width: 640px){.search-container{width:100%;margin:0}}.text-responsive-xl{font-size:clamp(1.5rem,4vw,2.5rem)}.text-responsive-lg{font-size:clamp(1.25rem,3vw,1.875rem)}.text-responsive-base{font-size:clamp(1rem,2.5vw,1.2rem)}button,.btn,a{min-width:44px;min-height:44px;padding:.75rem 1rem;border-radius:8px;transition:transform .15s ease,background-color .15s ease,box-shadow .15s ease;-webkit-tap-highlight-color:transparent}button:active,.btn:active,a:active{transform:scale(.96);background-color:var(--primary, #4f46e5);color:var(--primary-foreground, #fff)}.card{transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 8px 20px rgba(0,0,0,.15)}.card:active{transform:scale(.98)}.card-foil:hover:before,.card-foil:active:before{animation:foil-shimmer 1.5s linear infinite}button:active,.btn:active{transform:scale(.97)}.toast{background:var(--card);color:var(--foreground);padding:.75rem 1rem;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.15);animation:fadeInUp .3s ease;position:fixed;bottom:1rem;left:50%;transform:translate(-50%);z-index:1000}.toast{background:var(--card, #1a1a2e);color:var(--foreground, white);padding:.75rem 1rem;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.15);animation:fadeInUp .3s ease;position:fixed;bottom:1rem;left:50%;transform:translate(-50%);z-index:1000;max-width:90%;text-align:center;font-size:.95rem}.toast-success{background:var(--primary, #4f46e5);color:var(--primary-foreground, #fff)}.toast-error{background:var(--destructive, #ef4444);color:var(--destructive-foreground, #fff)}@keyframes fadeInUp{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}button,.btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:.75rem 1.5rem;font-weight:600;font-size:1rem;border-radius:.5rem;border:none;cursor:pointer;background:linear-gradient(135deg,var(--primary, #4f46e5),var(--primary-dark, #3730a3));color:var(--primary-foreground, #fff);box-shadow:0 4px 10px rgba(0,0,0,.15);transition:transform .15s ease,box-shadow .15s ease,background .3s ease;-webkit-tap-highlight-color:transparent}button:hover,.btn:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.2)}button:active,.btn:active{transform:scale(.96);box-shadow:0 3px 6px rgba(0,0,0,.2)}button:focus-visible,.btn:focus-visible{outline:2px solid var(--ring, #a78bfa);outline-offset:2px}.btn-primary{animation:pulse-glow 2s infinite}@keyframes pulse-glow{0%,to{box-shadow:0 4px 10px rgba(0,0,0,.15),0 0 rgba(79,70,229,0)}50%{box-shadow:0 4px 10px rgba(0,0,0,.15),0 0 12px rgba(79,70,229,.6)}}
