:root{--text:#6b6375;--text-h:#08060d;--bg:#fffefd;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#e0342f;--accent-bg:#e0342f1a;--accent-border:#e0342f80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (width<=1024px){:root{font-size:16px}}html{scrollbar-width:thin;scrollbar-color:transparent transparent}html:hover,html:focus-within{scrollbar-color:var(--border) transparent}html::-webkit-scrollbar{width:.5rem}html::-webkit-scrollbar-track{background:0 0}html::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}html:hover::-webkit-scrollbar-thumb{background:var(--border)}html:focus-within::-webkit-scrollbar-thumb{background:var(--border)}body{margin:0}#root{text-align:center;box-sizing:border-box;flex-direction:column;width:70%;min-height:100svh;margin:0 auto;display:flex}@media (width<=64em){#root{width:90%}}@media (width<=36em){#root{width:100%}}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:0;margin:2rem 0;font-size:clamp(2.25rem,6vw,3.5rem)}@media (width<=1024px){h1{margin:1.25rem 0}}h2{letter-spacing:0;margin:0 0 .5rem;font-size:1.5rem;line-height:118%}@media (width<=1024px){h2{font-size:1.25rem}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}#spacer{border-top:.0625rem solid var(--border);height:5.5rem}@media (width<=64em){#spacer{height:3rem}}.card-results{text-align:left;grid-template-columns:repeat(auto-fill,minmax(max(9rem,20% - .6rem),1fr));gap:.75rem;margin:1.5rem 0;padding:0;list-style:none;display:grid}@media (prefers-reduced-motion:no-preference){.card-result{opacity:0;animation:.4s ease-out forwards card-fade-in}}@keyframes card-fade-in{0%{opacity:0;transform:translateY(.75rem)}to{opacity:1;transform:translateY(0)}}.card-result{border:.0625rem solid var(--border);background:var(--social-bg);border-radius:.5rem;grid-template-columns:minmax(0,1fr);gap:.5rem;min-inline-size:0;padding:.625rem;display:grid}.card-result-image{width:100%;aspect-ratio:5/7;object-fit:contain;background:var(--border);border-radius:.375rem;min-inline-size:0;display:block}.card-result-header,.card-result-price{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem .75rem;display:flex}.card-result-header strong,.card-result-header span,.card-result-price span,.card-result-price strong{overflow-wrap:break-word;min-inline-size:0}.card-result-header strong{color:var(--text-h);font-size:clamp(.8125rem,2.5vw,1rem)}.card-result-header span,.card-result-rarity{color:var(--text);font-size:clamp(.75rem,2vw,.875rem)}.card-result-prices{border-top:.0625rem solid var(--border);gap:.375rem;padding-top:.75rem;display:grid}.card-result-price strong{color:var(--text-h)}.app-header{justify-content:center;align-items:center;gap:1.25rem;padding:2rem clamp(1rem,4vw,2rem) .5rem;display:flex}@media (width<=36em){.app-header{flex-direction:column;gap:.75rem;padding-top:1.5rem}}.app-logo{flex-shrink:0;width:4.5rem;height:4.5rem}.app-heading{text-align:left}@media (width<=36em){.app-heading{text-align:center}}.app-heading h1{margin:0;line-height:1}.app-tagline{color:var(--text);margin-top:.375rem}.app-tagline strong{color:var(--accent)}.controls-bar{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:1rem;padding:1rem clamp(1rem,4vw,2rem) 1.75rem;display:flex}.control-group{text-align:left;flex-direction:column;flex:9rem;gap:.3125rem;min-inline-size:0;display:flex}.control-group label{color:var(--text-h);font-size:.8125rem;font-weight:600}.control-group select,.control-group input{border:.0625rem solid var(--border);background:var(--social-bg);min-inline-size:0;color:var(--text-h);border-radius:.5rem;padding:.5em .625em;font-size:.9375em}.control-group select:focus-visible,.control-group input:focus-visible{outline:.125rem solid var(--accent);outline-offset:.125rem}.filter-button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:.5rem;align-self:flex-end;padding:.625em 1.5em;font-weight:600;transition:opacity .2s}.filter-button:hover{opacity:.9}.filter-button:focus-visible{outline:.125rem solid var(--accent);outline-offset:.125rem}@media (width<=40em){.controls-bar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.625rem .5rem;padding:.75rem 1rem 1.25rem;display:grid}.control-group select,.control-group input{padding:.5em .4375em;font-size:max(1em,16px)}.filter-button{grid-column:1/-1}}@media (width<=64em){.card-results{grid-template-columns:repeat(auto-fill,minmax(max(8rem,20% - .6rem),1fr))}}@media (width<=40em){.card-results{grid-template-columns:repeat(auto-fill,minmax(max(7.5rem,20% - .4rem),1fr));gap:.5rem}.card-result{padding:.5rem}}.debug-modal-backdrop{background-color:#0009;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.debug-modal-content{color:#fff;text-align:center;background-color:#242424;border-radius:8px;flex-direction:column;gap:1rem;width:90%;max-width:400px;padding:1.5rem;display:flex;box-shadow:0 4px 12px #00000080}.debug-modal-header{justify-content:space-between;align-items:center;display:flex}.debug-modal-header h2{margin:0}.debug-modal-close{cursor:pointer}.debug-modal-row{justify-content:center;align-items:center;gap:.5rem;display:flex}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pokeball-loader{justify-content:center;padding:2rem 0;display:flex}.pokeball-stage{display:inline-flex;position:relative}.pokeball{box-sizing:border-box;border:.125rem solid var(--text-h);background:linear-gradient(to bottom, var(--accent) 0%, var(--accent) calc(50% - .0625rem), var(--text-h) calc(50% - .0625rem), var(--text-h) calc(50% + .0625rem), #fff calc(50% + .0625rem), #fff 100%);border-radius:50%;width:2.75rem;height:2.75rem;display:block;position:relative}.pokeball-button{border:.125rem solid var(--text-h);background:#fff;border-radius:50%;width:.8125rem;height:.8125rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sparkle{background:var(--accent);clip-path:polygon(50% 0%,61% 35%,100% 50%,61% 65%,50% 100%,39% 65%,0% 50%,39% 35%);opacity:0;width:.375rem;height:.375rem;position:absolute}.sparkle:nth-child(2){top:-.3125rem;left:-.3125rem}.sparkle:nth-child(3){top:-.3125rem;right:-.3125rem}.sparkle:nth-child(4){bottom:-.3125rem;left:-.3125rem}.sparkle:nth-child(5){bottom:-.3125rem;right:-.3125rem}@media (prefers-reduced-motion:no-preference){.pokeball-loader:not(.is-captured) .pokeball{animation:.9s linear infinite pokeball-spin}.pokeball-loader.is-captured .pokeball{animation:.9s ease-out pokeball-capture}.pokeball-loader.is-captured .sparkle{animation:.6s ease-out sparkle-pop}.pokeball-loader.is-captured .sparkle:nth-child(3){animation-delay:60ms}.pokeball-loader.is-captured .sparkle:nth-child(4){animation-delay:.12s}.pokeball-loader.is-captured .sparkle:nth-child(5){animation-delay:.18s}}@keyframes pokeball-spin{to{transform:rotate(360deg)}}@keyframes pokeball-capture{0%{transform:rotate(0)scale(1)}20%{transform:rotate(-16deg)scale(1)}40%{transform:rotate(13deg)scale(1)}60%{transform:rotate(-8deg)scale(1)}80%{transform:rotate(4deg)scale(1.05)}to{transform:rotate(0)scale(1)}}@keyframes sparkle-pop{0%{opacity:0;transform:scale(0)rotate(0)}30%{opacity:1;transform:scale(1.15)rotate(20deg)}60%{opacity:1;transform:scale(.9)rotate(30deg)}to{opacity:0;transform:scale(.4)rotate(45deg)}}
