@font-face{font-family:Pixelify Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/pixelify-sans-latin-ext-600-normal-Dha6RiOG.woff2)format("woff2"),url(/assets/pixelify-sans-latin-ext-600-normal-CDaIumwU.woff)format("woff")}@font-face{font-family:Pixelify Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/pixelify-sans-latin-600-normal-Dd_Dy7u5.woff2)format("woff2"),url(/assets/pixelify-sans-latin-600-normal-BNlgYbDL.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-latin-ext-400-normal-i-8OOpdj.woff2)format("woff2"),url(/assets/nunito-latin-ext-400-normal-CjMJVfGn.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-ext-700-normal-BWeMsAzO.woff2)format("woff2"),url(/assets/nunito-latin-ext-700-normal-D4woHhbd.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-latin-400-normal-r8SDr6Up.woff2)format("woff2"),url(/assets/nunito-latin-400-normal-DKg4f3fz.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-700-normal-Dort48En.woff2)format("woff2"),url(/assets/nunito-latin-700-normal-OcDqTBcA.woff)format("woff")}:root{color:#173449;font-synthesis:none;text-rendering:optimizelegibility;--ink:#173449;--forest:#155953;--paper:#fff7dc;--yellow:#ffdc51;--red:#b3453e;--shadow:#092d3f;--pixel:"Pixelify Sans", monospace;background:#7bb9cd;font-family:Nunito,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-underline-offset:4px}a,button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:4px;outline:3px solid #e8663f}button,input,select,textarea{color:var(--ink)}::selection{color:#173449;background:#ffdc51}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--pixel);font-weight:600;line-height:1.1}h1{margin-bottom:12px;font-size:42px}h2{margin-bottom:14px;font-size:30px}h3{font-size:19px;line-height:1.2}p{line-height:1.6}img{max-width:100%}button,.button{border:2px solid var(--ink);background:var(--paper);border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;font-weight:700;line-height:1.25;text-decoration:none;transition:transform .15s,background .15s;display:inline-flex;box-shadow:0 3px #173449}button:hover:not(:disabled),.button:hover{background:#fffdf3;transform:translateY(-1px)}button:active:not(:disabled),.button:active{box-shadow:none;transform:translateY(2px)}.primary{background:var(--yellow);border-color:var(--ink);box-shadow:0 4px #bb792d}.primary:hover:not(:disabled){background:#ffe579}.forest{background:var(--forest);color:#fff8dd}.forest:hover{background:#217269}.danger{color:#922f32}.plain{box-shadow:none;background:0 0;border:0}.wide{width:100%}.small{color:#45605c;font-size:13px;line-height:1.5}.small-button{min-height:38px;padding:8px 12px;font-size:13px}input,select,textarea{background:#fffdf3;border:2px solid #82968a;border-radius:7px;min-width:0;max-width:100%;min-height:44px;padding:11px 12px}input::placeholder{color:#627268}input[type=checkbox]{min-height:auto}textarea{resize:vertical}.field{flex-direction:column;gap:7px;margin-bottom:20px;font-size:14px;font-weight:700;display:flex}.field>span{line-height:1.3}.field input,.field select,.field textarea{width:100%;font-weight:400}fieldset{border:0;margin:0 0 22px;padding:0}legend{margin-bottom:10px;font-size:14px;font-weight:700}hr{border:0;border-top:1px solid #d5d6b7;margin:24px 0}.actions{flex-wrap:wrap;gap:10px;display:flex}.form-columns{flex-wrap:wrap;gap:15px;display:flex}.form-columns>.field{flex:1;min-width:110px}.error-box{background:#fff0df;border:2px solid #ba5b50;border-radius:8px;margin:16px 0;padding:14px}.error-box p{margin:0 0 5px}.error-box p:last-child{margin:0}.loading{background:var(--paper);border-radius:12px;padding:35px}.loading-line{background:#e4e8cd;border-radius:4px;width:70%;height:18px;margin:12px 0;animation:1.2s infinite alternate breathe}.loading-line:nth-child(2){width:45%}@keyframes breathe{to{opacity:.4}}.toast{z-index:200;color:#fff8df;background:#173e3b;border:2px solid #f2d674;border-radius:8px;max-width:90%;padding:14px 24px;font-weight:700;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 5px 18px #0b24384d}.toast[hidden]{display:none}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=600px){h1{font-size:32px}h2{font-size:26px}}.install-banner{border:2px solid var(--ui-border);background:var(--paper);color:var(--ink);border-radius:12px;align-items:center;gap:12px;margin-bottom:12px;padding:12px;display:flex}.install-banner>img{border-radius:8px;flex:0 0 44px}.install-banner>div{flex:1;min-width:0}.install-banner strong{font-size:16px}.install-banner p{margin:3px 0 0;font-size:14px;line-height:1.35}.install-banner button{flex-shrink:0;min-height:44px}.install-banner .install-dismiss{width:44px;padding:0;font-size:26px}.install-help{width:min(440px,100% - 16px);max-height:calc(100dvh - 24px);padding:20px 20px max(20px,env(safe-area-inset-bottom));color:var(--ink);background:var(--paper);border:2px solid var(--ui-border);overscroll-behavior:contain;border-radius:16px 16px 10px 10px;margin:auto auto 8px;overflow-y:auto}.install-help::backdrop{background:#17344999}.install-help h2{font-size:28px}.install-help li{margin-bottom:12px;line-height:1.5}@media (width<=450px){.install-banner{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;display:grid}.install-banner .primary{grid-area:2/2;justify-self:start}.install-banner .install-dismiss{grid-area:1/3}}.card-front{aspect-ratio:.72;--card-rim-size:6px;--card-cycle-delay:0s;min-width:0;position:relative}.card-front-image{object-fit:contain;border-radius:inherit;width:100%;height:100%;display:block}.card-aura{pointer-events:none;border-radius:inherit;opacity:.68;transition:opacity .22s ease-out;position:absolute;inset:0;overflow:hidden}.card-aura:before{content:"";border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--card-glow) 70%, transparent), inset 0 0 var(--card-rim-size) 1px color-mix(in srgb, var(--card-glow) 48%, transparent);position:absolute;inset:0}.card-front[data-card-evolution=evolved]{--card-rim-size:9px}.card-front[data-card-evolution=advanced]{--card-rim-size:12px}.card-front[data-card-type=water]{--card-cycle-delay:-2s}.card-front[data-card-type=grass]{--card-cycle-delay:-4s}.card-front[data-card-type=lightning]{--card-cycle-delay:-6s}.card-front[data-card-type=psychic]{--card-cycle-delay:-8s}.card-front[data-card-type=fighting]{--card-cycle-delay:-10s}.card-front[data-card-type=darkness]{--card-cycle-delay:-3s}.card-front[data-card-type=metal]{--card-cycle-delay:-5s}.card-front[data-card-type=dragon]{--card-cycle-delay:-7s}.card-front[data-card-type=fairy]{--card-cycle-delay:-9s}.card-front[data-card-type=colorless]{--card-cycle-delay:-11s}.card-front[data-card-rarity=premium]{--card-foil-peak:.16}.card-front[data-card-rarity=rare]{--card-foil-peak:.11}.card-front:is([data-card-rarity=rare],[data-card-rarity=premium]) .card-aura:after{content:"";background:linear-gradient(115deg, transparent 40%, #fff 48%, var(--card-glow) 51%, transparent 58%);opacity:0;animation:12s ease-out infinite card-foil;animation-delay:var(--card-cycle-delay);position:absolute;inset:-30%}.card-aura i{background:var(--card-glow);opacity:0;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);width:5px;height:5px;animation:12s ease-out infinite card-spark;animation-delay:var(--card-cycle-delay);position:absolute;top:12%;right:9%}.card-aura i:nth-child(2){animation-delay:calc(var(--card-cycle-delay) + .3s);inset:auto auto 15% 8%}.card-front[data-card-rarity=premium] .card-aura i{width:7px;height:7px}[data-card-type=water] .card-aura i{clip-path:none;border:1px solid var(--card-glow);background:0 0;border-radius:50%}[data-card-type=grass] .card-aura i{clip-path:none;border-radius:80% 0}[data-card-type=fire] .card-aura i{clip-path:polygon(50% 0,100% 75%,55% 100%,0 75%)}[data-card-type=metal] .card-aura i,[data-card-type=fighting] .card-aura i{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.card-front:focus-within .card-aura,:is(a,button,[role=button]):focus-visible>.card-front .card-aura{opacity:.88}@media (hover:hover) and (pointer:fine){.card-front:hover .card-aura{opacity:.88}}@keyframes card-foil{0%,82%{opacity:0;transform:translate(-70%)}85%{opacity:var(--card-foil-peak)}96%,to{opacity:0;transform:translate(70%)}}@keyframes card-spark{0%,84%{opacity:0;transform:translateY(3px)scale(.7)}88%{opacity:var(--card-spark-peak,.32)}96%,to{opacity:0;transform:translateY(-7px)scale(.9)}}[data-retro-motion=off] .card-aura:after,[data-retro-motion=off] .card-aura i{display:none}@media (prefers-reduced-motion:reduce){.card-aura{transition:none}.card-aura:after,.card-aura i{animation:none;display:none}}.card-front:focus-within .card-aura,:is(a,button,[role=button]):focus-visible>.card-front .card-aura{--card-spark-peak:.55}@media (hover:hover) and (pointer:fine){.card-front:hover .card-aura{--card-spark-peak:.55}}.card-aura[data-paused=true]:after,.card-aura[data-paused=true] i{animation-play-state:paused}.card-front:focus-within .card-aura i,:is(a,button,[role=button]):focus-visible>.card-front .card-aura i{animation-name:card-spark-greet;animation-duration:2.8s;animation-delay:0s}@media (hover:hover) and (pointer:fine){.card-front:hover .card-aura i{animation-name:card-spark-greet;animation-duration:2.8s;animation-delay:0s}}@keyframes card-spark-greet{0%{opacity:0;transform:translateY(2px)scale(.7)}12%{opacity:.5}42%,to{opacity:0;transform:translateY(-5px)scale(1)}}.retro-motion-scope{isolation:isolate;display:block}.retro-particle-layer{pointer-events:none;z-index:1000;position:fixed;inset:0;overflow:hidden}.retro-particle{border:1px solid #12384c55;width:7px;height:10px;animation:.9s ease-out both retro-scatter;position:absolute}.retro-particle-star{clip-path:polygon(40% 0,60% 0,60% 30%,100% 30%,100% 60%,70% 60%,70% 100%,40% 100%,40% 70%,0 70%,0 40%,40% 40%);border:0;width:15px;height:15px}.retro-enter{animation:.28s ease-out both retro-enter}.retro-sleeve-in{backface-visibility:hidden;transform-origin:50%;animation:.42s cubic-bezier(.2,.75,.25,1) backwards retro-sleeve}.retro-avatar{transition:transform .18s ease-out}@media (hover:hover) and (pointer:fine){.retro-avatar:hover{transform:translateY(-2px)}}@keyframes retro-scatter{0%{opacity:1;transform:translate(-50%,-50%)rotate(0)}75%{opacity:1}to{opacity:0;transform:translate(var(--particle-x), var(--particle-y)) rotate(var(--particle-spin))}}@keyframes retro-enter{0%{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes retro-sleeve{0%{opacity:0;transform:perspective(800px) rotateY(var(--deal-flip,-88deg)) scale(.94)}18%{opacity:1}78%{transform:perspective(800px) rotateY(var(--deal-settle,5deg)) scale(1.015)}to{opacity:1;transform:none}}[data-retro-motion=off] .retro-particle-layer{display:none}[data-retro-motion=off] :is(.retro-enter,.retro-page-turn,.retro-sleeve-in,.retro-card-lift,.retro-avatar){transition:none!important;animation:none!important;transform:none!important}@media (prefers-reduced-motion:reduce){.retro-particle-layer{display:none}:is(.retro-enter,.retro-page-turn,.retro-sleeve-in,.retro-card-lift,.retro-avatar){transition:none!important;animation:none!important;transform:none!important}}.pocket-grid[data-turn=previous]{--deal-flip:88deg;--deal-settle:-5deg}.pocket:nth-child(3n+2) .retro-sleeve-in{animation-delay:45ms}.pocket:nth-child(3n+3) .retro-sleeve-in,.pocket-grid[data-turn=previous] .pocket:nth-child(3n+1) .retro-sleeve-in{animation-delay:90ms}.pocket-grid[data-turn=previous] .pocket:nth-child(3n+3) .retro-sleeve-in{animation-delay:0s}.pocket.picked{z-index:2;cursor:grabbing}.pocket.filled{cursor:grab}.pocket.picked .card-front{filter:drop-shadow(0 12px 7px #17344955);animation:none;transform:translateY(-10px)scale(1.045)}.pocket .card-front{transition:transform .18s ease-out}.pocket.empty:after{content:"";opacity:0;pointer-events:none;border:2px dashed;border-radius:3px;transition:opacity .15s ease-out,transform .18s ease-out;position:absolute;inset:8px;transform:scale(.93)}.pocket.empty:is(:hover,:focus-visible):after{opacity:.6;transform:scale(1)}.public-display .display-slot{animation:.48s cubic-bezier(.16,1,.3,1) both retro-display-reveal}.public-display .display-slot:nth-child(3n+2){animation-delay:60ms}.public-display .display-slot:nth-child(3n+3){animation-delay:.12s}.zoom-overlay{animation:.16s ease-out both retro-overlay-in}.zoom-overlay .card-front{animation:.26s cubic-bezier(.16,1,.3,1) both retro-card-focus}.avatar-options button[aria-pressed=true] .retro-avatar{animation:.3s ease-out both retro-companion-select}@keyframes retro-display-reveal{0%{opacity:.5;clip-path:inset(0 0 20%);transform:translateY(10px)}to{opacity:1;clip-path:inset(0);transform:translateY(0)}}@keyframes retro-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes retro-card-focus{0%{transform:scale(.94)}to{transform:scale(1)}}@keyframes retro-companion-select{0%{transform:translateY(0)rotate(0)}45%{transform:translateY(-5px)rotate(-5deg)}to{transform:translateY(0)rotate(0)}}[data-retro-motion=off] *,[data-retro-motion=off] :before,[data-retro-motion=off] :after{transition:none!important;animation:none!important}[data-retro-motion=off] .pocket .card-front,[data-retro-motion=off] .pocket.empty:after{transform:none!important}@media (prefers-reduced-motion:reduce){.pocket .card-front,.pocket.empty:after{transform:none!important}.public-display .display-slot,.zoom-overlay,.zoom-overlay .card-front,.avatar-options button[aria-pressed=true] .retro-avatar{animation:none!important}}:is(.retro-card-lift,.pocket.filled,.card-picker button)>.card-front{transform-origin:50%;transition:transform .2s cubic-bezier(.16,1,.3,1)}:is(.retro-card-lift,.pocket.filled:not(.picked),.card-picker button):focus-visible>.card-front{transform:translateY(-3px)scale(1.035)}@media (hover:hover) and (pointer:fine){:is(.retro-card-lift,.pocket.filled:not(.picked),.card-picker button):not(:disabled):hover>.card-front{transform:translateY(-3px)scale(1.035)}}[data-retro-motion=off] :is(.retro-card-lift,.pocket.filled,.card-picker button)>.card-front{transform:none!important}@media (prefers-reduced-motion:reduce){:is(.retro-card-lift,.pocket.filled,.card-picker button)>.card-front{transition:none!important;transform:none!important}}@media (hover:none){button:hover:not(:disabled):not(:active),.button:hover:not(:active){transform:none}}button:focus-visible,.button:focus-visible{background-color:#fffdf3}@media (prefers-reduced-motion:reduce){button:hover:not(:disabled),button:active:not(:disabled),.button:hover,.button:active{transform:none}}.mobile-options-trigger{display:none}.mobile-options-dialog{width:min(440px,100% - 16px);max-height:calc(100dvh - 24px);padding:16px 16px max(16px,env(safe-area-inset-bottom));border:3px solid var(--ink);color:var(--ink);background:var(--paper);overscroll-behavior:contain;box-shadow:0 5px 0 var(--ink);border-radius:16px 16px 10px 10px;margin:auto auto 8px;overflow-y:auto}.mobile-options-dialog::backdrop{background:#17344999}.mobile-options-dialog>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.mobile-options-dialog h2{margin:0;font-size:28px}.mobile-options-dialog>header button{justify-content:center;min-width:44px;min-height:44px;padding:4px;font-size:26px}.mobile-options-content>a{border-bottom:1px solid var(--ui-divider);min-height:48px;color:var(--ink);align-items:center;gap:12px;padding:10px 4px;font-weight:800;text-decoration:none;display:flex}.mobile-options-content>a:hover,.mobile-options-content>a:focus-visible{background:#e4edcb}.mobile-options-dialog .header-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;padding-top:16px;display:grid}.mobile-options-dialog .header-avatar{display:none}.mobile-options-dialog .header-actions .language-switch{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.mobile-options-dialog .header-actions .language-switch button{width:100%;min-width:0;min-height:44px;padding:8px;font-size:16px;font-weight:800}.mobile-options-dialog .header-actions .icon-button{white-space:nowrap;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;height:auto;min-height:48px;padding:10px;display:flex}.mobile-options-dialog .header-actions .icon-button svg{flex:0 0 20px;width:20px;height:20px}.mobile-options-dialog .header-actions .icon-button.logout{color:#793c31;background:#fae4d6;border-color:#914a3c;box-shadow:0 3px #914a3c}.mobile-options-dialog .header-actions .icon-button:after{content:attr(aria-label);white-space:nowrap;font-size:15px;line-height:1.25}@media (width<=360px){.mobile-options-dialog .header-actions{grid-template-columns:minmax(0,1fr)}}@media (width<=650px){.app-shell .main-nav:has(.mobile-options-trigger){grid-template-columns:repeat(5,minmax(0,1fr))!important}.app-shell .main-nav .mobile-options-trigger{border:2px solid var(--ink);background:var(--forest);min-width:0;min-height:54px;color:var(--paper);box-shadow:none;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 1px;font-family:Nunito,sans-serif;font-size:11px;line-height:1.2;display:flex}.app-shell .main-nav .mobile-options-trigger:is([aria-expanded=true],[data-active=true]){background:var(--yellow);color:var(--ink)}.app-shell .main-nav a{font-size:11px}.app-shell:has(.mobile-options-trigger) .topbar>.header-actions{display:none}.app-shell:not(:has(.mobile-options-trigger)) .topbar>.header-actions{display:flex}.app-shell .topbar{margin-bottom:12px}}.mobile-card-add-dialog[open]{flex-direction:column;gap:12px;height:min(640px,100dvh - 24px);display:flex;overflow:hidden}.mobile-card-add-dialog>header{flex-shrink:0;margin:0}.mobile-card-add-dialog h2{font-size:26px}.mobile-card-add-dialog button,.mobile-card-add-dialog a{min-height:44px}.card-add-scan{flex-shrink:0;justify-content:center}.mobile-card-add-dialog form{flex-shrink:0}.mobile-card-add-dialog label{margin-bottom:4px;font-size:16px;font-weight:800;display:block}.card-add-search{gap:8px;display:flex}.card-add-search input{width:100%;min-width:0;min-height:44px;font-size:16px}.card-add-search button{flex-shrink:0;justify-content:center;min-width:44px}.card-add-results{overscroll-behavior:contain;scrollbar-color:var(--forest) var(--paper);flex:1;min-height:0;overflow-y:auto}.card-add-result{border-bottom:1px solid var(--ui-divider);grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px 0;display:grid}.card-add-result>.card-front{align-self:start;width:64px}.card-add-result strong,.card-add-result small{overflow-wrap:anywhere;display:block}.card-add-result small{margin:4px 0 8px}.card-add-result a{align-items:center;font-weight:800;display:flex}@media (height<=480px){.mobile-card-add-dialog[open]{gap:6px;padding-top:8px}.mobile-card-add-dialog h2{font-size:22px}}@media (prefers-reduced-motion:no-preference){.mobile-card-add-dialog[open][data-effects=true]{animation:.18s ease-out card-add-enter}}@keyframes card-add-enter{0%{opacity:.6;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}.live-wallpaper{z-index:-1;pointer-events:none;contain:strict;background:#82cbdf;position:fixed;inset:0;overflow:hidden}.wallpaper-sky,.wallpaper-terrain,.wallpaper-clouds,.wallpaper-stars{position:absolute;inset:0}.wallpaper-sky{opacity:0;transition:opacity 20s linear}.sky-morning{background:linear-gradient(#8bb9d4,#ffe0a0 46%,#e5d8a0)}.sky-noon{background:linear-gradient(#199afa,#8be0ef 50%,#b1e5d2)}.sky-evening{background:linear-gradient(#5d598b,#e99383 26%,#ffc57a 50%,#a3a780)}.sky-night{background:linear-gradient(#10152e,#24385d 35%,#62718c 65%)}[data-phase=morning] .sky-morning,[data-phase=noon] .sky-noon,[data-phase=evening] .sky-evening,[data-phase=night] .sky-night{opacity:1}.wallpaper-terrain{image-rendering:pixelated;background:url(/art/wallpaper/terrain.webp) top/cover no-repeat;transition:filter 20s linear}[data-phase=morning] .wallpaper-terrain{filter:sepia(.16)saturate(.9)brightness(.96)}[data-phase=evening] .wallpaper-terrain{filter:sepia(.32)saturate(.75)brightness(.73)hue-rotate(-14deg)}[data-phase=night] .wallpaper-terrain{filter:saturate(.55)brightness(.34)hue-rotate(25deg)}.wallpaper-clouds{transition:opacity 20s linear,filter 20s linear}[data-phase=morning] .wallpaper-clouds{filter:sepia(.2)}[data-phase=evening] .wallpaper-clouds{filter:sepia(.5)saturate(.8);opacity:.65}[data-phase=night] .wallpaper-clouds{filter:brightness(.48)saturate(.45);opacity:.45}.wallpaper-cloud{height:auto;image-rendering:pixelated;transform:translateX(var(--rest-x));animation:cloud-drift var(--duration) var(--delay) linear infinite;position:absolute;left:0}@keyframes cloud-drift{0%{transform:translate(-100%)}to{transform:translate(100vw)}}.wallpaper-sun,.wallpaper-moon{aspect-ratio:1;border-radius:50%;width:clamp(36px,5vw,76px);transition:opacity 20s linear,top 20s linear,left 20s linear;position:absolute}.wallpaper-sun{opacity:0;background:#fff1b5;top:17%;left:12%}[data-phase=morning] .wallpaper-sun{opacity:1}[data-phase=noon] .wallpaper-sun{opacity:1;background:#fff8d1;top:5%;left:73%}[data-phase=evening] .wallpaper-sun{opacity:1;background:#ffd38b;top:23%;left:86%}.wallpaper-moon{opacity:0;background:#eee8bc;top:9%;left:82%;box-shadow:inset -12px -4px #b3bed0}.wallpaper-stars{opacity:0;transition:opacity 20s linear}[data-phase=night] .wallpaper-moon,[data-phase=night] .wallpaper-stars{opacity:1}.wallpaper-stars i{background:#fff6d6;width:3px;height:3px;animation:4.7s ease-in-out infinite star-glimmer;position:absolute}.wallpaper-stars i:nth-child(3n){width:4px;height:4px;animation-duration:3.8s}.wallpaper-stars i:nth-child(4n){animation-duration:6.1s}.wallpaper-stars i:nth-child(3n):before,.wallpaper-stars i:nth-child(3n):after{content:"";background:#fff6d680;position:absolute}.wallpaper-stars i:nth-child(3n):before{inset:-3px 1px}.wallpaper-stars i:nth-child(3n):after{inset:1px -3px}@keyframes star-glimmer{0%,to{opacity:.15;transform:scale(.8)}45%{opacity:1;transform:scale(1.15)}65%{opacity:.65;transform:scale(1)}}.wallpaper-shooting-star{--meteor-dx:1vw;--meteor-dy:10vh;--meteor-angle:80deg;opacity:0;background:#fffbe7;width:4px;height:4px;display:none;position:absolute;top:10%;left:1.2%;box-shadow:0 0 5px #fff6d680}.wallpaper-shooting-star:after{content:"";transform-origin:100%;width:clamp(28px,5vw,80px);height:2px;transform:rotate(var(--meteor-angle));background:linear-gradient(90deg,#0000,#fff6d6b3);position:absolute;top:1px;right:2px}[data-phase=night] .wallpaper-shooting-star{animation:18s linear -12s infinite shooting-star;display:block}@keyframes shooting-star{0%,84%{opacity:0;transform:translate(0)}85%{opacity:1;transform:translate(0)}93%{opacity:.9;transform:translate(var(--meteor-dx), var(--meteor-dy))}95%,to{opacity:0;transform:translate(var(--meteor-dx), var(--meteor-dy))}}@media (width<=650px){.wallpaper-shooting-star{--meteor-dx:60vw;--meteor-dy:4px;--meteor-angle:2deg;top:5px;left:18%}}.live-wallpaper[data-paused=true] *{animation-play-state:paused!important}@media (prefers-reduced-motion:reduce){.live-wallpaper *,.live-wallpaper :before{transition:none!important;animation:none!important}}@media (width<=650px){.wallpaper-cloud:nth-child(4){display:none}}.wallpaper-sun:before{content:"";background:radial-gradient(circle,#fff0b566 10%,#ffdf7733 35%,#0000 70%);border-radius:50%;animation:14s ease-in-out infinite alternate sunlight-breathe;position:absolute;inset:-85%}@keyframes sunlight-breathe{0%{opacity:.45;transform:scale(.95)}to{opacity:.85;transform:scale(1.12)}}.live-wallpaper[data-paused=true] :before{animation-play-state:paused!important}.wallpaper-wildlife,.wallpaper-animal-event{pointer-events:none;position:absolute;inset:0}[data-phase=morning] .wallpaper-wildlife{filter:sepia(.16)saturate(.9)brightness(.96)}[data-phase=evening] .wallpaper-wildlife{filter:sepia(.25)saturate(.75)brightness(.65)}[data-phase=night] .wallpaper-wildlife{filter:saturate(.55)brightness(.6)hue-rotate(25deg)}.wallpaper-animal-event{animation:animal-visit var(--event-duration) linear both}.wallpaper-critter{width:var(--sprite-size);height:var(--sprite-size);margin-top:calc(var(--sprite-size) * -.78125);animation:animal-crossing var(--event-duration) linear both;position:absolute}.wallpaper-animal-body,.wallpaper-animal-sprite{display:block;position:absolute;inset:0}.wallpaper-animal-body{transform:scaleX(var(--facing))}.wallpaper-animal-sprite,.wallpaper-molehill{image-rendering:pixelated;animation:animal-frames .6s var(--frame-delay) steps(6) infinite;background-repeat:no-repeat;background-size:600% 100%}.critter-sheep{animation-name:sheep-amble}.critter-sheep .wallpaper-animal-sprite{background-image:url(/art/wallpaper/animals/sheep.webp);animation-duration:4.8s}.critter-guinea-black .wallpaper-animal-sprite{background-image:url(/art/wallpaper/animals/guinea-black.webp)}.critter-guinea-tricolor .wallpaper-animal-sprite{background-image:url(/art/wallpaper/animals/guinea-tricolor.webp)}.critter-bat{animation-name:bat-flight}.critter-bat .wallpaper-animal-sprite{background-image:url(/art/wallpaper/animals/bat.webp);animation-duration:.48s}.critter-mole .wallpaper-animal-body{clip-path:inset(0 0 21.875%)}.critter-mole .wallpaper-animal-sprite{animation:animal-frames 3s var(--frame-delay) steps(6) infinite, mole-peek var(--event-duration) var(--peek-delay) ease-in-out both;background-image:url(/art/wallpaper/animals/mole.webp)}.wallpaper-molehill{background-image:url(/art/wallpaper/animals/mound.webp);width:120%;height:120%;animation:1.2s steps(5,end) both mound-frames;display:block;position:absolute;top:-15.625%;left:-10%}@keyframes animal-frames{to{background-position:120% 0}}@keyframes mound-frames{to{background-position:100% 0}}@keyframes animal-visit{0%,to{opacity:0}6%,92%{opacity:1}}@keyframes animal-crossing{to{transform:translateX(var(--travel))}}@keyframes sheep-amble{0%,18%{transform:translate(0)}32%,60%{transform:translateX(calc(var(--travel) * .4))}78%,to{transform:translateX(var(--travel))}}@keyframes bat-flight{0%{transform:translate(0)}30%{transform:translate(calc(var(--travel) * .3),-12px)}65%{transform:translate(calc(var(--travel) * .65),9px)}to{transform:translate(var(--travel),-6px)}}@keyframes mole-peek{0%,12%,94%,to{transform:translateY(55%)}28%,72%{transform:translateY(0)}}.wallpaper-wildlife[data-static=true] *,.wallpaper-wildlife[data-static=true] .wallpaper-molehill{animation:none}.wallpaper-wildlife[data-static=true] .wallpaper-animal-sprite{background-position:40% 0}.wallpaper-wildlife[data-static=true] .wallpaper-molehill{background-position:100% 0}.wallpaper-wildlife[data-static=true] .wallpaper-animal-event{opacity:1}.passkey-settings{margin-top:24px}.passkey-settings>p{max-width:65ch}.passkey-settings form{max-width:540px;margin-block:20px 8px}.passkey-settings .actions{flex-wrap:wrap}.passkey-settings .actions button{white-space:normal}.passkey-list{margin:20px 0;padding:0;list-style:none}.passkey-list>li{border-bottom:1px solid var(--ink);padding-block:16px}.passkey-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.passkey-row>div{overflow-wrap:anywhere;min-width:0}.passkey-row p{margin:4px 0 0}.passkey-row>button{flex-shrink:0}.login-passkey{min-height:48px;margin-top:16px}@media (width<=420px){.passkey-row{flex-wrap:wrap;align-items:flex-start}.passkey-settings .actions>button{flex:auto}}.passkey-sheet{width:min(540px,100% - 16px);max-height:calc(100dvh - 24px);padding:20px 20px max(20px,env(safe-area-inset-bottom));border:3px solid var(--ink);color:var(--ink);background:var(--paper);overscroll-behavior:contain;box-shadow:0 5px 0 var(--ink);border-radius:16px 16px 10px 10px;margin:auto auto 8px;overflow-y:auto}.passkey-sheet[open]{animation:.18s ease-out passkey-sheet-in}.passkey-sheet::backdrop{background:#17344999}.passkey-sheet>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.passkey-sheet h2{margin:0;font-size:28px}.passkey-sheet>header button{justify-content:center;min-width:44px;min-height:44px;padding:4px;font-size:26px}.passkey-sheet form{margin-top:20px}.passkey-sheet .actions{flex-wrap:wrap;gap:12px;display:flex}.passkey-sheet .actions button{white-space:normal;flex:auto;min-height:48px}@keyframes passkey-sheet-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.passkey-sheet[open]{animation:none}}.page-header.page-header{width:100%;min-width:0;color:var(--ink);background:var(--paper);border:2px solid var(--ui-border,#415c50);border-radius:var(--ui-radius,12px);margin:0 0 16px;padding:14px 16px;display:block}.page-header .page-header-main{align-items:center;gap:12px;min-width:0;min-height:44px;display:flex}.page-header .page-header-leading{flex:none;align-items:center;display:flex}.page-header .page-header-leading .retro-avatar{width:44px!important;height:44px!important}.page-header .page-header-identity{flex:1;min-width:0}.page-header .page-header-identity h1{overflow-wrap:anywhere;margin:0;font-size:30px;line-height:1.15}.page-header .page-header-meta{flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;font-size:13px;display:flex}.page-header .page-header-meta p{margin:0;font-size:13px}.page-header .page-header-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;max-width:65%;display:flex}.page-header .page-header-actions :is(button,.button){justify-content:center;min-height:44px;margin:0}.page-header .page-header-content{min-width:0;margin-top:12px}.page-header .page-header-content>:first-child{margin-top:0}.page-header .page-header-content>:last-child{margin-bottom:0}.page-header .page-header-content>nav{margin:0}.page-header .page-header-content :is(.catalog-search,.search-box){margin-bottom:0}.page-header .page-header-content>nav a{min-height:44px}@media (width<=650px){.page-header.page-header{padding:12px}.page-header .page-header-main{gap:10px}.page-header .page-header-identity h1{font-size:26px}.page-header .page-header-actions{gap:6px}.page-header .page-header-actions :is(.button,button)[data-compact]{width:44px;padding:8px}.page-header .page-header-actions :is(.button,button):has(>span){width:44px;padding:8px}.page-header .page-header-actions :is(.button,button)>span{display:none}.page-header .page-header-actions .showcase-share-trigger{gap:0;width:44px;padding:8px;font-size:0}}.invitation-share{border-top:1px solid var(--ui-divider);grid-template-columns:minmax(160px,220px) minmax(0,1fr);align-items:start;gap:20px;margin-top:24px;padding-top:24px;display:grid}.invitation-qr{background:#fff;width:100%;height:auto;display:block}.invitation-share-content{min-width:0}.invitation-share h3{margin:0 0 10px}.invitation-share p{margin:0 0 12px}.invitation-share .actions{flex-wrap:wrap;margin-bottom:14px}.invitation-share button{min-height:44px}.invitation-share input{width:100%;min-width:0;margin-bottom:10px;font-size:14px}.invitation-loaded{background:#e9efd2;border:1px solid #82968a;border-radius:8px;padding:12px}@media (width<=1100px){.invitation-share{grid-template-columns:minmax(0,1fr)}.invitation-qr{max-width:240px;margin-inline:auto}}.profile-settings .trainer-game-preview{min-width:0;display:block;position:sticky;top:16px}.profile-settings .trainer-card.trainer-card-game{border:3px solid var(--ink);background:var(--paper);border-radius:12px;grid-template-columns:minmax(0,1fr);min-width:0;max-width:none;margin:0;display:grid;transform:none;box-shadow:0 5px #17344970}.profile-settings .trainer-card-game .trainer-scene{isolation:isolate;border:0;border-bottom:3px solid var(--ink);background-blend-mode:multiply;background:#497f5b url(/art/pixel-meadow-optimized.webp) 50%/cover;justify-content:center;align-items:flex-end;height:228px;padding:12px 8px 0;display:flex;position:relative;overflow:hidden}.trainer-card-game .trainer-scene:before{content:"";pointer-events:none;border:1px solid #fff7dc66;border-radius:5px;position:absolute;inset:8px}.profile-settings .trainer-card-game .trainer-scene>.retro-avatar{object-fit:contain;object-position:bottom;filter:drop-shadow(0 4px #17344966);max-width:100%;animation:.24s cubic-bezier(.16,1,.3,1) both trainer-portrait-in;position:relative;width:190px!important;height:210px!important}.profile-settings .trainer-card-game .trainer-card-content{text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;min-width:0;padding:16px;display:flex}.profile-settings .trainer-card-game .trainer-card-content h2{overflow-wrap:anywhere;width:100%;margin:0;font-size:30px;line-height:1.15}.profile-settings .trainer-avatar-options button{border:2px solid var(--ink);color:var(--paper);box-shadow:0 3px 0 var(--ink);background:#245953;border-radius:8px;padding:6px 4px}.profile-settings .trainer-avatar-options .retro-avatar{object-fit:contain;max-width:80px;width:100%!important;height:72px!important}.profile-settings .trainer-avatar-options button[aria-pressed=true]{border-color:var(--yellow);box-shadow:inset 0 0 0 1px var(--yellow),0 3px 0 var(--ink);background:#173449;outline:0}.trainer-avatar-selected{border:1px solid var(--ink);background:var(--yellow);width:20px;height:20px;color:var(--ink);border-radius:4px;place-items:center;display:grid;position:absolute;top:3px;right:3px}.profile-settings .trainer-avatar-options button:focus-visible{outline-offset:3px;outline:3px solid #b3453e}@media (hover:hover) and (pointer:fine){.profile-settings .trainer-avatar-options button:hover:not([aria-pressed=true]){background:#34766b}}@media (width<=650px){.profile-settings .profile-preview-wrap.trainer-game-preview{display:block;position:static}.profile-settings .trainer-card.trainer-card-game{grid-template-columns:108px minmax(0,1fr)}.profile-settings .trainer-card-game .trainer-scene{border:0;border-right:1px solid var(--ink);height:144px;padding:12px 4px 0}.profile-settings .trainer-card-game .trainer-scene>.retro-avatar{width:100px!important;height:126px!important}.profile-settings .trainer-card-game .trainer-card-content{gap:8px;padding:12px}.profile-settings .trainer-card-game .trainer-card-content h2{font-size:24px}.trainer-game-preview .privacy-note{margin:10px 0 0;padding:10px 12px}}@keyframes trainer-portrait-in{0%{opacity:.65;transform:translateY(8px)scale(.97)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.profile-settings .trainer-card-game .trainer-scene>.retro-avatar{animation:none}}[data-retro-motion=off] .profile-settings .trainer-card-game .trainer-scene>.retro-avatar{animation:none}.login-shell{--account-width:1180px}.app-shell.login-shell .topbar{width:100%;max-width:var(--account-width);margin-inline:auto}@media (width<=820px){.login-shell{--account-width:450px}}.account-layout{max-width:var(--account-width,1180px);grid-template-columns:minmax(0,1fr) minmax(350px,430px);align-items:start;gap:clamp(28px,4vw,60px);margin:30px auto 64px;display:grid}.account-story{color:#fff7dc;text-shadow:0 2px 2px #092d3f;background:#123f3ef2;border-radius:18px;min-width:0;padding:28px}.welcome-eyebrow{color:#ffdf58;margin-bottom:14px;font-size:14px;font-weight:700}.account-story h1{letter-spacing:-.025em;margin-bottom:20px;font-size:clamp(36px,4.4vw,62px);line-height:1.02}.account-story h1 span{display:block}.account-story h1 span:last-child{color:#ffdf58}.welcome-intro{text-wrap:pretty;max-width:455px;margin-bottom:0;font-size:18px;line-height:1.55}.welcome-scene{width:min(100%,440px);height:auto;margin:22px auto 8px;display:block;overflow:visible}.welcome-energy-card{animation:.85s cubic-bezier(.16,1,.3,1) both welcome-card-settle}.welcome-energy-card--electric{animation-delay:.1s}.welcome-energy-card--fire{animation-delay:.2s}@keyframes welcome-card-settle{0%{transform:translateY(-12px)}to{transform:translateY(0)}}[data-retro-motion=off] .welcome-energy-card{animation:none}@media (prefers-reduced-motion:reduce){.welcome-energy-card{animation:none}}.welcome-features{flex-wrap:wrap;gap:12px 22px;margin:20px 0 0;padding:0;font-size:14px;font-weight:700;list-style:none;display:flex}.welcome-features li{align-items:center;gap:7px;display:flex}.welcome-features svg{color:#ffdf58;flex-shrink:0}.account-layout .account-panel{--ui-panel-padding:28px;--ui-section-size:32px;background:#fff7dc;box-shadow:0 6px #173449}.account-panel h2{margin-bottom:10px}.account-panel p{color:#45605c}.account-panel form{margin-top:26px}.account-panel .field{margin-bottom:18px}.account-panel form>button{min-height:48px}.account-panel .login-help{margin:14px 0 0;font-size:13px}.login-invitation{border-top:1px solid #b8bf9a;margin-top:24px;padding-top:20px}.login-invitation p{margin-bottom:10px;font-size:14px}.login-invitation .button{background:#e9efd2;width:100%}.login-invitation .button:hover{background:#dce7bb}.login-invitation svg{transform:rotate(180deg)}@media (width<=900px){.account-layout{grid-template-columns:minmax(0,1fr) minmax(320px,390px);gap:28px;margin:16px auto 48px}.account-story h1{font-size:44px}.welcome-intro{font-size:16px}.welcome-features{gap:12px;font-size:13px}.account-layout .account-panel{--ui-panel-padding:24px}}@media (width<=820px){.account-layout{flex-direction:column;align-items:stretch;gap:26px;max-width:450px;margin:4px auto 36px;display:flex}.welcome-eyebrow{margin-bottom:10px;font-size:12px}.account-story{border-radius:12px;padding:20px}.account-story h1{margin-bottom:12px;font-size:36px}.account-story h1 span{display:inline}.welcome-intro{font-size:15px;line-height:1.5}.welcome-scene{display:none}.welcome-features{gap:10px 16px;margin-top:16px;font-size:12px}.welcome-features li{gap:5px}.welcome-features svg{width:17px;height:17px}.account-layout .account-panel{--ui-panel-padding:22px;--ui-section-size:28px}.account-panel form{margin-top:20px}}@media (width<=360px){.account-story{padding:18px}.account-story h1{font-size:32px}.welcome-features{gap:10px 12px}.account-layout .account-panel{--ui-panel-padding:18px}}.duplicate-shelf-action{padding:0 0 12px}.duplicate-shelf-action p{margin:8px 0;font-size:14px}.duplicate-shelf-action button,.duplicate-shelf-dialog button{white-space:normal;min-height:44px}.duplicate-shelf-dialog{border:3px solid var(--ink);background:var(--paper);width:min(440px,100% - 16px);max-height:calc(100dvh - 24px);color:var(--ink);overscroll-behavior:contain;border-radius:16px;margin:auto auto 8px;padding:16px;overflow-y:auto}.duplicate-shelf-dialog::backdrop{background:#122b43aa}.duplicate-shelf-dialog h2{margin:0 0 16px;font-size:26px;line-height:1.2}.duplicate-shelf-dialog p{overflow-wrap:anywhere}.duplicate-shelf-buttons{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}@media (width>=651px){.duplicate-shelf-dialog{margin:auto}}.duplicate-physical summary,.duplicate-physical a{align-items:center;min-height:44px;display:flex}.duplicate-physical ul{padding-left:20px}.collection-page{background:var(--paper);border:2px solid #415c50;border-radius:12px;min-width:0;max-width:100%}.collection-page .collection-heading{padding:var(--ui-space) var(--ui-panel-padding);background:0 0;border:0;border-radius:0;flex-wrap:wrap;justify-content:flex-start;gap:16px 28px;margin:0}.collection-heading>div{min-width:0}.collection-heading h1{font-size:var(--ui-title-size);line-height:1.15}.collection-heading p{color:#415c50;max-width:65ch;font-size:14px}.collection-heading .button{flex-shrink:0;min-height:44px}.collection-page .collection-panel{min-width:0;padding:0 var(--ui-panel-padding) var(--ui-panel-padding);box-shadow:none;background:0 0;border:0;margin:0}.collection-filters{border-top:1px solid #82968a;grid-template-columns:minmax(240px,2.2fr) repeat(2,minmax(140px,1fr)) auto;align-items:end;gap:16px;padding-top:20px;display:grid}.collection-filters .field{min-width:0;margin:0}.collection-filters input,.collection-filters select,.collection-filters button{height:46px;min-height:44px}.collection-filters button{white-space:nowrap}.collection-summary{font-variant-numeric:tabular-nums;margin-left:auto}.collection-stats{flex-wrap:wrap;align-items:baseline;gap:16px 32px;margin:0;display:flex}.collection-stats>div{min-width:0}.collection-stats dt{color:#415c50;font-size:var(--ui-secondary-size);margin-bottom:3px}.collection-stats dd{overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:700;line-height:1.3}.collection-summary p,.collection-price-note{color:#415c50;font-size:var(--ui-secondary-size);margin:0 0 6px;line-height:1.5}.collection-price-note{max-width:75ch;margin-bottom:16px}.collection-scroll-hint{font-size:var(--ui-secondary-size);display:none}.collection-table{border-collapse:collapse;text-align:left;width:100%;min-width:760px;font-size:16px}.collection-table caption{text-align:left;font-family:var(--pixel);background:var(--forest);color:var(--paper);padding:14px;font-size:22px}.collection-table th,.collection-table td{vertical-align:middle;border-bottom:1px solid #82968a;padding:12px}.collection-table thead{z-index:1;background:#e7edce;position:sticky;top:0}.collection-table thead th{padding:8px 12px}.collection-table tbody tr:nth-child(2n){background:#fffdf3}.collection-table tbody tr:hover{background:#fff0bd}.collection-table tbody tr:last-child>*{border-bottom:0}.collection-table small{font-size:var(--ui-secondary-size);margin-top:4px;font-weight:400;display:block}.collection-card-link{align-items:center;gap:14px;min-width:210px;min-height:80px;text-decoration:none;display:flex}.collection-card-link:hover strong{text-underline-offset:4px;text-decoration:underline}.collection-thumbnail{flex-shrink:0;width:52px;display:block}.collection-thumbnail .card-front,.collection-thumbnail .card-fallback{width:52px}.collection-thumbnail .card-fallback{padding:4px}.collection-thumbnail .card-fallback strong,.collection-thumbnail .card-fallback small{display:none}.collection-numeric{font-variant-numeric:tabular-nums;text-align:right}.collection-table .collection-stale{color:#775011;font-weight:700}.collection-view-tools{justify-content:space-between;align-items:center;gap:10px;margin-top:14px;display:flex}.collection-compact-list{border:2px solid var(--ink);border-radius:10px;margin:14px 0 0;padding:0;list-style:none;overflow:hidden}.collection-compact-list>li{background:#fffdf3;padding:10px 12px 0}.collection-compact-list>li:nth-child(2n){background:#f3f0d8}.collection-compact-list>li+li{border-top:1px solid #82968a}.collection-compact-card{color:var(--ink);grid-template-columns:56px minmax(0,1fr) auto;align-items:start;gap:10px;text-decoration:none;display:grid}.collection-compact-thumbnail,.collection-compact-thumbnail .card-front,.collection-compact-thumbnail .card-fallback{width:56px}.collection-compact-thumbnail .card-fallback{padding:3px}.collection-compact-thumbnail .card-fallback strong,.collection-compact-thumbnail .card-fallback small{display:none}.collection-compact-info{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.collection-compact-info>strong{font-size:17px;line-height:1.25}.collection-compact-info>small{font-size:14px;line-height:1.35}.collection-copy-count{border:1px solid var(--ink);background:var(--yellow);font-variant-numeric:tabular-nums;border-radius:5px;padding:3px 6px;font-size:16px;font-weight:800}.collection-card-price{margin-left:66px;font-size:14px}.collection-card-price summary{cursor:pointer;color:#415c50;align-items:center;gap:6px;width:fit-content;min-height:44px;list-style:none;display:flex}.collection-card-price summary::-webkit-details-marker{display:none}.collection-card-price summary:after{content:"+";font-weight:700}.collection-card-price[open] summary:after{content:"−"}.collection-card-price p{margin:0 0 12px;font-size:16px;font-weight:700}.collection-compact-card:focus-visible,.collection-card-price summary:focus-visible{outline-offset:3px;outline:3px solid #e8663f}@media (hover:hover){.collection-compact-card:hover strong{text-underline-offset:3px;text-decoration:underline}}@media (width<=1000px){.collection-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-filters>:first-child{grid-column:1/-1}.collection-filters>button{grid-column:1/-1;justify-self:start}.collection-scroll-hint{display:block}}@media (width<=650px){.collection-page .collection-heading{grid-template-columns:minmax(0,1fr) 44px;gap:10px;padding:12px 16px;display:grid}.collection-page .collection-panel{padding:0 16px 16px}.collection-heading h1{font-size:26px}.collection-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:16px}.collection-filters>button{justify-self:stretch}.collection-stats{gap:12px 24px}.collection-filters input,.collection-filters select{font-size:16px}}.collection-filters .collection-filter-toggle{display:none}@media (width<=1000px){.collection-extra-filters>button{grid-column:1/-1;justify-self:start}}@media (width<=650px){.collection-filters{grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding-top:12px}.collection-filters>:first-child{grid-column:1}.collection-filters .collection-filter-toggle{grid-area:1/2;justify-content:center;align-self:end;align-items:center;width:44px;padding:8px;display:inline-flex;position:relative}.collection-filter-count{border:1px solid var(--ink);background:var(--yellow);border-radius:4px;min-width:20px;position:absolute;top:-6px;right:-6px}.collection-extra-filters{display:none}.collection-extra-filters[data-open=true]{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.collection-extra-filters>button{justify-self:stretch}.collection-summary{grid-column:1/-1;margin-left:0}.collection-stats{gap:8px 20px;margin:0}.collection-stats>div{align-items:baseline;gap:8px;display:flex}.collection-stats dt{margin:0}.collection-stats dd{font-size:16px}.collection-scroll-hint{margin:8px 0}.collection-table caption{padding:8px 12px;font-size:18px}}.collection-page .page-header .collection-summary{border:0;margin:0;padding:0}.collection-page .page-header .collection-stats{margin:0}.collection-page.collection-page{background:0 0;border:0;border-radius:0}.collection-page .collection-panel{padding:var(--ui-panel-padding);border:2px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--paper)}.collection-page .collection-filters{border-top:0;padding-top:0}.binder-collection .collection-page{flex-direction:column;height:100%;min-height:0;display:flex}.binder-collection .collection-panel{flex-direction:column;flex:1;min-height:0;display:flex}.collection-rows-scroll{overscroll-behavior:contain;scrollbar-color:var(--forest) var(--paper);flex:1;min-height:0;scroll-padding-block:4px;overflow:auto}.collection-rows-scroll:focus-visible{outline-offset:3px;outline:3px solid #e8663f}.collection-rows-scroll .collection-compact-list{margin-top:0}.collection-view-tools{margin:0 0 12px}.collection-view-tools .collection-filter-toggle{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px;display:inline-flex;position:relative}.collection-filters{flex-shrink:0;display:block}.collection-extra-filters{display:none}.collection-extra-filters[data-open=true]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.collection-extra-filters>button{grid-column:1/-1}.binder-collection .collection-summary{min-width:0;margin:0}.binder-collection .collection-stats{gap:6px 16px}.binder-collection .collection-stats>div{align-items:baseline;gap:6px;display:flex}.binder-collection .collection-stats dt,.binder-collection .collection-stats dd{margin:0;font-size:14px}@media (width<=650px){.binder-collection .collection-page .collection-panel{padding:12px}}.collection-duplicates-toggle{flex-shrink:0;min-height:44px}.collection-duplicates-toggle[aria-pressed=true]{background:var(--yellow)}.collection-view-tools{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;display:grid}.collection-view-tools .collection-summary{min-width:0;margin:0}.collection-view-tools .collection-stats{justify-content:flex-end;gap:4px 8px}@media (width<=650px){.collection-view-tools .collection-duplicates-toggle{grid-area:1/1}.collection-view-tools .collection-filter-toggle{grid-area:1/3}.collection-view-tools .collection-summary{grid-area:2/1/auto/-1}}.binder-page-scrubber{display:none}.pocket-grid[data-turn=scrub] .retro-sleeve-in{animation:none}@media (width<=650px){.binder-page-stage:has(>.binder-page-scrubber){padding-right:24px}.binder-page-stage>.binder-page-rail{display:none}.binder-page-scrubber{z-index:3;flex-direction:column;gap:8px;width:44px;display:flex;position:absolute;top:0;bottom:0;right:-20px}.binder-scrubber-track{flex:1;min-height:88px;position:relative}.binder-scrubber-track input{appearance:none;writing-mode:vertical-lr;width:44px;height:100%;min-height:88px;box-shadow:none;touch-action:none;-webkit-touch-callout:none;cursor:ns-resize;direction:ltr;background:0 0;border:0;border-radius:0;margin:0;padding:0}.binder-scrubber-track input::-webkit-slider-runnable-track{background:#8aa88d;border-radius:6px;width:6px;transition:width .14s ease-out,background-color .14s ease-out}.binder-scrubber-track input::-moz-range-track{background:#8aa88d;border-radius:6px;width:6px;height:100%}.binder-scrubber-track input::-webkit-slider-thumb{appearance:none;background:#ffdc51;border:2px solid #173449;border-radius:7px;width:14px;height:40px;margin-left:-4px;transition:transform .14s ease-out}.binder-scrubber-track input::-moz-range-thumb{background:#ffdc51;border:2px solid #173449;border-radius:7px;width:12px;height:38px}.binder-page-scrubber[data-pressed=true] input::-webkit-slider-runnable-track{background:#196650;width:18px}.binder-page-scrubber[data-pressed=true] input::-webkit-slider-thumb{margin-left:2px;transform:scaleX(2)}.binder-page-scrubber[data-pressed=true] input::-moz-range-track{background:#196650;width:18px}.binder-page-scrubber[data-pressed=true] input::-moz-range-thumb{transform:scaleX(2)}.binder-scrubber-track input:focus-visible{outline-offset:-2px;outline:2px solid #196650}.binder-scrubber-track input:disabled{opacity:.45;cursor:default}.binder-scrubber-value{top:calc(20px + (100% - 40px) * var(--page-progress));color:#fff8df;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center;pointer-events:none;opacity:0;background:#173449;border-radius:8px;min-width:66px;padding:6px 10px;font-size:22px;font-weight:700;transition:opacity .12s ease-out;position:absolute;right:48px;transform:translateY(-50%);box-shadow:0 4px 12px #102b3b33}.binder-scrubber-value small{font-size:13px}.binder-page-scrubber[data-pressed=true] .binder-scrubber-value{opacity:1}.binder-scrubber-track:has(input:focus-visible) .binder-scrubber-value{opacity:1}.binder-page-scrubber .binder-scrubber-add{width:44px;min-width:44px;height:44px;box-shadow:none;color:#173449;background:0 0;border:0;flex:0 0 44px;padding:10px}.binder-scrubber-add:hover:not(:disabled),.binder-scrubber-add:focus-visible{background:#ffdc51}}@media (prefers-reduced-motion:reduce){.binder-scrubber-value{transition:none}.binder-scrubber-track input::-webkit-slider-runnable-track{transition:none}.binder-scrubber-track input::-webkit-slider-thumb{transition:none}}.collector-sidebar .binder-search-results{order:3;grid-column:1/-1;gap:8px;margin:0 0 10px;font-size:14px}.binder-search-results [role=status]{text-align:center;overflow-wrap:anywhere;min-width:0}.binder-page-stage{min-width:0;min-height:0;padding-right:60px;position:relative}.binder-page-rail{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#196650 #fff7dc;flex-direction:column;align-items:center;gap:10px;width:54px;padding:3px 4px 7px;display:flex;position:absolute;top:0;bottom:0;right:0;overflow:hidden auto}.binder-page-rail button{color:#173449;width:44px;min-width:44px;min-height:44px;font-family:var(--pixel);font-variant-numeric:tabular-nums;background:#ffdc51;border:3px solid #173449;border-radius:9px;flex:0 0 44px;padding:4px;font-size:20px;box-shadow:0 4px #173449}.binder-page-rail button[aria-current=page]{color:#fff7dc;opacity:1;background:#196650;box-shadow:inset 0 0 0 2px #79ab6d,0 4px #173449}.binder-page-rail button:disabled:not([aria-current]){color:#5b645c;box-shadow:none;opacity:.65;cursor:not-allowed;background:#e0dfc5}.binder-page-rail button:hover:not(:disabled){background:#ffe986}.binder-page-rail button:focus-visible{outline-offset:2px;outline:3px solid #196650}@media (width>=1200px) and (height>=640px){.binder-shell .binder-page-stage{height:100%}}@media (width<=600px){.binder-page-stage{padding-right:56px}.binder-page-stage .pocket-grid{gap:7px}}.binder-view-toggle{justify-content:center;align-items:center;gap:8px;min-height:44px;display:inline-flex}@media (width<=650px){.binder-layout{gap:10px}.binder-layout .collector-sidebar.panel{border-width:2px;border-radius:12px;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;margin:0;padding:8px;display:grid}.binder-layout .collector-sidebar>h1{display:none}.binder-layout .collector-sidebar .search-box{order:0;grid-area:1/1;min-width:0;height:44px;padding:0 8px}.binder-layout .collector-sidebar .search-box input{width:100%;min-width:0;padding:6px 0;font-size:16px}.binder-layout .collector-sidebar .search-box>svg{flex-shrink:0;width:18px}.binder-layout .collector-sidebar .binder-add-card{grid-area:1/2;width:44px;min-height:44px;padding:8px}.binder-layout .collector-sidebar .binder-add-card>span{display:none}.binder-layout .collector-sidebar .binder-view-toggle{grid-area:1/3;width:44px;height:44px;padding:8px;display:inline-flex}.binder-view-toggle>span{display:none}.binder-layout .collector-sidebar .binder-search-results{order:1;grid-column:1/-1}}.binder-layout .binder-scan-card{background:#d7ecfa;justify-content:center;align-items:center;gap:8px;min-height:44px;display:flex}@media (width<=650px){.binder-layout .collector-sidebar.panel{grid-template-columns:minmax(0,1fr) 44px 44px 44px}.binder-layout .collector-sidebar .binder-scan-card{grid-area:1/3;width:44px;padding:8px}.binder-layout .collector-sidebar .binder-scan-card span{display:none}.binder-layout .collector-sidebar .binder-view-toggle{grid-column:4}}.pocket.filled:not(:disabled){cursor:grab}.pocket.filled{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.binder-dragging,.binder-dragging *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}.binder-dragging .pocket .card-front{transform:none!important}.binder-dragging .binder-layout .binder-help{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.pocket[data-lifted=true]>*{visibility:hidden}.pocket.picked[data-lifted=true]{background:#dce5c6;border-style:dashed;outline:none;box-shadow:inset 0 3px 8px #14384326}.binder-layout [data-drop-target=true]{outline-offset:3px;background:#e4edb7;outline:3px solid #196650}.binder-drag-preview{z-index:1200;pointer-events:none;opacity:.65;transform-origin:50%;will-change:transform;border-radius:5px;position:fixed;box-shadow:0 18px 26px #102b3b55,0 4px 8px #102b3b33}.binder-drag-preview>:is(.card-front,.card-fallback){width:100%;height:100%;margin:0;transition:none;animation:none;display:flex;transform:none}.binder-drag-preview .card-aura{display:none}@media (width<=650px){.binder-dragging .binder-page-stage>.binder-page-scrubber{display:none}.binder-dragging .binder-page-stage>.binder-page-rail{z-index:4;background:#fff7dc;border-radius:9px;width:54px;display:flex;right:-20px;box-shadow:-4px 4px 12px #102b3b33}.binder-dragging .binder-page-rail .binder-add-page{display:none}}.binder-drag-preview[data-reduced-motion=true]{box-shadow:0 5px 10px #102b3b44}@media (prefers-reduced-motion:reduce){.binder-drag-preview{box-shadow:0 5px 10px #102b3b44}}.binder-drag-target-label{z-index:1202;color:#fff8df;text-align:center;pointer-events:none;background:#173449;border-radius:8px;width:200px;padding:8px 10px;font-size:14px;font-weight:700;position:fixed;box-shadow:0 4px 12px #102b3b33}.binder-trash{z-index:1203;bottom:calc(90px + env(safe-area-inset-bottom));color:#922f32;background:#fff0df;border:2px dashed #922f32;width:min(360px,100% - 32px);min-height:64px;position:fixed;left:50%;transform:translate(-50%)}.binder-trash:hover:not(:disabled),.binder-trash:active:not(:disabled){transform:translate(-50%)}.binder-trash[data-drop-target=true]{background:#f8d0c6;outline-color:#922f32}.binder-restore{margin-bottom:12px}.app-shell.binder-shell{flex-direction:column;gap:12px;height:100dvh;min-height:0;display:flex}.app-shell.binder-shell>.topbar,.app-shell.binder-shell>.install-banner{flex-shrink:0;margin-bottom:0}.app-shell.binder-shell>main{flex:1;min-height:0}.app-shell.binder-shell>.app-footer{display:none}.app-shell.binder-shell .binder-layout{align-items:stretch;height:100%;min-height:0}.app-shell.binder-shell .collector-sidebar{flex-shrink:0}.app-shell.binder-shell .binder-console{flex-direction:column;flex:1;min-height:0;padding-bottom:6px;display:flex}.app-shell.binder-shell .binder-inner{flex-direction:column;flex:1;gap:8px;min-height:0;padding-bottom:8px;display:flex}.app-shell.binder-shell .binder-page-stage{flex:1;height:auto;min-height:0;container-type:size}.app-shell.binder-shell .pocket-grid{grid-template-rows:repeat(3,minmax(0,1fr));width:min(100%,72cqh);max-width:none;height:100%;min-height:0;margin:0 auto}.app-shell.binder-shell .pocket{aspect-ratio:auto;min-height:0}.app-shell.binder-shell .binder-pagination{flex-shrink:0;margin:0}.app-shell.binder-shell .binder-pagination button{min-width:44px;min-height:44px}.app-shell.binder-shell .binder-bottom{flex-shrink:0;min-height:18px;padding:4px 4px 0}.app-shell.binder-shell .binder-bottom button{min-height:44px}@media (width<=650px){.app-shell.binder-shell{gap:8px}.app-shell.binder-shell .binder-console{padding:8px 8px 5px}.app-shell.binder-shell .console-heading{margin:0 4px 8px}.app-shell.binder-shell .console-heading h2{border-width:2px;padding:3px 16px;font-size:22px}.app-shell.binder-shell .binder-inner{gap:6px;padding:8px}.app-shell.binder-shell .pocket-grid{gap:6px;width:min(100%,max(144px,72cqh))}.app-shell.binder-shell .binder-pagination{gap:12px}.app-shell.binder-shell .binder-pagination strong{font-size:20px}.app-shell.binder-shell .binder-bottom{padding-top:3px}.app-shell.binder-shell>.install-banner{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:8px;display:grid}.app-shell.binder-shell>.install-banner>img,.app-shell.binder-shell>.install-banner p{display:none}.app-shell.binder-shell>.install-banner strong{font-size:14px}.app-shell.binder-shell>.install-banner .primary{grid-area:1/2}.app-shell.binder-shell>.install-banner .install-dismiss{grid-area:1/3}}@media (width<=650px) and (height<=650px){.app-shell.binder-shell{padding-top:max(8px, env(safe-area-inset-top))}.app-shell.binder-shell .console-heading{margin-bottom:4px}.app-shell.binder-shell:has(>.install-banner){gap:6px}.app-shell.binder-shell:has(>.install-banner) .console-heading{display:none}.app-shell.binder-shell .console-heading h2{padding-block:2px;font-size:18px}}.wish-action{min-width:0;margin:0}.wish-action>.wish-button{color:#173449;background:#d7ecfa;border:2px solid #173449;border-radius:8px;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:8px;display:inline-flex;position:relative;box-shadow:0 3px #7394aa}.wish-action>.wish-button[aria-pressed=true]{opacity:1;background:#b9dbef}.wish-button-check{background:#e9f6ff;border-radius:50%;padding:1px;display:flex;position:absolute;bottom:1px;right:1px}.wish-action>.error-box{text-align:start}.set-collection-page{width:100%;min-width:0;max-width:1100px;margin-inline:auto}.set-collection-page .panel{min-width:0}.set-collection-page p{max-width:72ch}.set-collection-page button,.set-collection-page input,.set-back{min-height:44px}.set-back{color:var(--ink);background:var(--paper);align-items:center;gap:8px;display:inline-flex}.set-progress-heading{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.set-progress-heading h2{margin:0 0 10px}.set-progress{width:100%;height:16px;accent-color:var(--forest);display:block}.set-count-note{font-size:var(--ui-secondary-size)}.set-filters{flex-wrap:wrap;gap:8px;margin-block:16px;display:flex}.set-filters button{flex:1;padding-inline:8px}.set-filters button[aria-pressed=true]{background:var(--forest);color:var(--paper)}.set-collection-scroll{scrollbar-color:var(--forest) var(--paper);max-height:65vh;padding:4px;overflow:auto}.set-collection-list{margin:0;padding:0;list-style:none}.set-collection-list li+li{border-top:1px solid #17344945}.set-collection-list a{min-height:56px;color:inherit;overflow-wrap:anywhere;align-items:center;gap:12px;padding:8px 4px;display:flex}.set-collection-list strong{flex:1}.set-collection-list span{font-size:var(--ui-secondary-size)}.set-collection-list svg{flex-shrink:0;transform:rotate(180deg)}.set-card-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:20px 16px;margin:0;padding:0;list-style:none;display:grid}.set-card{overflow-wrap:anywhere;min-width:0}.set-card>a{color:inherit;flex-direction:column;gap:5px;text-decoration:none;display:flex}.set-card-image{aspect-ratio:.716;justify-content:center;align-items:center;display:flex}.set-card-image>*{width:100%;max-height:100%}.set-card[data-owned=false] .card-front{filter:grayscale(.9);opacity:.6}.set-owned-label{font-size:var(--ui-secondary-size);align-items:center;gap:5px;font-weight:800;display:flex}.set-card .wish-action{margin-top:6px}.set-collection-page :focus-visible{outline:3px solid var(--forest);outline-offset:3px}@media (width<=480px){.set-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.set-progress-heading h2{font-size:22px}.set-collection-page .panel{padding:14px}}.card-owners{width:100%;min-width:0}.card-owners-toggle{text-align:left;align-items:center;gap:8px;width:100%;min-height:44px;display:flex}.card-owners-toggle>svg:last-child{flex-shrink:0;margin-left:auto;transform:rotate(-90deg)}.card-owners-toggle[aria-expanded=true]>svg:last-child{transform:rotate(90deg)}.card-owners-content{overflow-wrap:anywhere;padding-top:8px}.card-owners-content p{margin:8px 0}.card-owners-hint{font-size:var(--ui-secondary-size)}.card-owner+.card-owner{border-top:1px solid var(--ink);margin-top:12px;padding-top:12px}.card-owner-player{align-items:center;gap:8px;min-width:0;display:flex}.card-owner ul{margin:0;padding:0;list-style:none}.card-owner li{flex-direction:column;align-items:flex-start;gap:4px;margin-top:8px;display:flex}.card-owner-intent{font-weight:800}.card-owner-trade{align-items:center;gap:6px;max-width:100%;min-height:44px;display:inline-flex}.card-owners-more{min-height:44px;margin-top:12px}.card-command .card-copies{width:100%;min-width:0}.variant-stock{gap:14px;width:100%;display:grid}.card-command .variant-stock .stock-row{border-bottom:1px solid var(--ui-border);grid-template-columns:max-content minmax(90px,max-content);align-items:end;gap:8px;padding-block:8px;display:grid}.stock-label{overflow-wrap:anywhere;grid-column:1/-1;gap:6px;min-width:0;font-weight:800;display:grid}.variant-stock .copies-stepper input{width:56px}.stock-save{justify-content:center;gap:4px;min-width:90px;height:44px;padding:6px 10px}.stock-feedback,.stock-row>.error-box{grid-column:1/-1;margin:0}.stock-feedback p{margin:0 0 6px}@media (width<=600px){.card-command .variant-stock .copies-stepper :is(button,input){width:44px;height:44px;min-height:44px}.card-command .variant-stock .copies-stepper input{width:56px}.stock-save{min-width:90px}}.stock-row .copies-stepper{gap:4px}.set-browser{margin-bottom:24px}.set-browser>div{margin-top:16px}.set-browser .catalog-search{align-items:end}.set-browser .catalog-search>label{flex:1;min-width:0}.set-list{max-height:320px;padding:0;list-style:none;overflow-y:auto}.set-list li+li{margin-top:8px}.set-list button{text-align:start;white-space:normal;overflow-wrap:anywhere;width:100%}.set-list strong,.set-list small{display:block}.catalogue-panel .catalogue-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.catalogue-panel h1{font-size:var(--ui-title-size);margin:0;line-height:1.15}.catalogue-panel .catalog-search{margin:0 0 16px}.catalogue-panel .catalog-grid{margin-top:20px}.catalogue-panel .compact-set-browser{border:0;margin:0;padding:0}.catalogue-set-chip{background:#e1edc5;border:1px solid #196650;border-radius:8px;align-items:center;gap:8px;max-width:100%;padding-left:12px;display:inline-flex}.catalogue-set-chip span{overflow-wrap:anywhere;min-width:0}.catalogue-set-chip button{min-width:44px;min-height:44px;padding:4px 10px;font-size:24px}.set-picker-dialog{color:#173449;background:#fff7dc;border:3px solid #173449;border-radius:12px;width:min(560px,100vw - 24px);max-height:85dvh;padding:16px;box-shadow:0 12px 32px #17344955}.set-picker-dialog::backdrop{background:#17344999}.set-picker-dialog>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.set-picker-dialog h2{margin:0;font-size:28px}.set-picker-dialog header button{justify-content:center;min-width:44px;min-height:44px;padding:4px;font-size:24px}.set-picker-dialog .catalog-search{align-items:end;gap:8px;margin:0 0 12px;display:flex}.set-picker-dialog .field{flex:1;min-width:0;margin:0}.set-picker-dialog .set-picker-results{overscroll-behavior:contain;max-height:55dvh;overflow-y:auto}.set-picker-dialog .set-list{grid-template-columns:minmax(0,1fr);gap:4px;max-height:none;padding:0;display:grid;overflow:visible}.set-picker-dialog .set-list button{text-align:left;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:8px 10px;display:flex}.set-picker-dialog .set-list small{flex-shrink:0}.set-picker-dialog h3{margin:16px 0 8px;font-size:18px}@media (width<=480px){.catalogue-panel{padding:14px}.set-picker-dialog{padding:12px}.set-picker-dialog .catalog-search button{padding:8px;font-size:16px}}.catalogue-panel button,.wish-action button{font-size:16px}.catalog-card-actions{grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:8px;margin-top:auto;display:grid}.catalog-card-actions .quick-add{min-width:0;margin:0;padding:0}.catalog-card-actions .quick-add-button{white-space:nowrap;flex-wrap:nowrap;justify-content:center;gap:4px;height:44px;min-height:44px;padding-inline:6px}.catalog-card-actions .quick-add-button>svg{flex-basis:18px}@media (width<=360px){.catalog-card-actions{grid-template-columns:minmax(0,1fr);gap:6px}.catalog-card-actions .quick-add-button{min-height:44px}.catalog-card-actions>.wish-action{justify-self:end}}.catalog-card-actions .wish-action:has(.error-box){grid-column:1/-1}.catalogue-panel .catalogue-heading{flex-wrap:wrap}.catalogue-heading h1{flex:1}.catalog-batch-toggle{gap:6px;min-height:44px}.catalog-batch-toggle[aria-pressed=true]{background:var(--yellow)}main .catalogue-panel.catalogue-batch{padding-bottom:calc(var(--batch-bar-height,160px) + 32px)}.catalogue-batch .catalog-card{scroll-margin-bottom:calc(var(--batch-bar-height,160px) + 100px)}.catalogue-batch .catalog-card-actions{grid-template-columns:1fr}.catalogue-batch .catalog-card{border:2px solid #0000;border-radius:12px;padding:8px}.catalogue-batch .catalog-card.batch-selected{border-color:var(--forest);background:#e4edc9}.catalog-batch-quantity{justify-content:center;align-items:center;gap:4px;display:flex}.catalog-batch-quantity button{flex:0 0 44px;justify-content:center;width:44px;min-height:44px;padding:8px;font-size:23px}.catalog-batch-quantity output{text-align:center;font-variant-numeric:tabular-nums;width:38px;font-size:20px;font-weight:800}.catalog-batch-bar{z-index:35;background:var(--paper);border:3px solid var(--ink);width:min(580px,100% - 24px);box-shadow:0 4px 0 var(--ink);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;max-height:40dvh;padding:10px 12px;display:grid;position:fixed;bottom:16px;left:50%;overflow-y:auto;transform:translate(-50%)}.catalog-batch-summary{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.catalog-batch-summary strong{font-size:16px}.catalog-batch-summary button{min-height:44px}.catalog-batch-bar>.error-box{grid-area:2/1/auto/-1;margin:0;padding:8px}.catalog-batch-save{justify-content:center;min-height:44px}.quick-add-button svg{flex-shrink:0}.quick-add-button.is-saved{background:#cee9ae}.quick-add-button.is-saved svg{animation:.28s ease-out catalog-saved-pop}@keyframes catalog-saved-pop{0%{transform:scale(.5)rotate(-15deg)}70%{transform:scale(1.18)}to{transform:scale(1)}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.catalog-batch-quantity button:not(:disabled):hover svg,.catalog-batch-toggle:not(:disabled):hover svg{transition:transform .16s ease-out;transform:rotate(90deg)}}@media (width<=650px){main .catalogue-panel.catalogue-batch{padding-bottom:calc(var(--batch-bar-height,160px) + 24px)}.catalogue-batch .catalog-grid{grid-template-columns:minmax(0,1fr);gap:12px}.catalogue-batch .catalog-card{text-align:left;grid-template-columns:76px minmax(0,1fr);gap:6px 12px;display:grid}.catalogue-batch .catalog-card-link{grid-area:1/1/auto/-1;grid-template-rows:auto auto 44px;grid-template-columns:76px minmax(0,1fr);gap:6px 12px;width:100%;display:grid}.catalogue-batch .catalog-card-link>:first-child{grid-area:1/1/4;align-self:center;width:76px}.catalogue-batch .catalog-card-link strong{overflow-wrap:anywhere;grid-column:2;font-size:17px}.catalogue-batch .catalog-card-link small{overflow-wrap:anywhere;grid-column:2;font-size:13px}.catalogue-batch .catalog-card-actions{z-index:1;grid-area:1/2;align-self:end}.catalog-batch-quantity{justify-content:start}.catalog-batch-bar{bottom:calc(78px + env(safe-area-inset-bottom));grid-template-columns:1fr;gap:6px;padding:8px 10px}.catalog-batch-summary{justify-content:space-between}.catalog-batch-bar>.error-box{grid-row:auto}.catalog-batch-summary button{padding:4px 8px}}@media (prefers-reduced-motion:reduce){.quick-add-button.is-saved svg{animation:none}}.detail-layout .detail-heading:has(>.wish-action){grid-template-areas:"name types""meta wish"}.detail-layout .detail-heading>.wish-action{grid-area:wish;justify-self:end;max-width:100%;margin:0}.detail-layout .detail-heading>.error-box{grid-column:1/-1;margin:0}@media (width<=650px){.detail-layout .detail-heading:has(>.wish-action){grid-template-areas:"name types""meta meta""wish wish"}.detail-layout .detail-heading>.wish-action{justify-self:start}}.card-detail .detail-body>.card-copies,.card-detail .detail-body>.signin-note{order:1}@media (width<=650px){.detail-layout.card-detail{grid-template-columns:clamp(100px,32vw,132px) minmax(0,1fr);grid-template-areas:"art identity""price price""copies copies""information information";gap:12px 10px;display:grid}.detail-layout.card-detail>.detail-body{display:contents}.detail-layout.card-detail>.detail-art{grid-area:art;align-self:start;width:100%;max-width:none;padding:6px}.detail-layout.card-detail .detail-art-caption{overflow-wrap:anywhere}:is(.detail-layout.card-detail .detail-heading,.detail-layout.card-detail .detail-heading:has(>.wish-action)){grid-area:identity;grid-template-columns:minmax(0,1fr);grid-template-areas:"name""types""meta""wish";align-content:start;gap:6px;min-width:0;padding:10px}.detail-layout.card-detail .detail-heading h1{font-size:26px}.detail-layout.card-detail .detail-heading:has(>.wish-action){grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"name name""types types""meta wish"}.detail-layout.card-detail .type-chips{justify-content:start}.detail-layout.card-detail .detail-heading p{overflow-wrap:anywhere}.detail-layout.card-detail .hp-label{float:none;display:block}.detail-layout.card-detail .wish-action svg{flex-shrink:0}.detail-layout.card-detail .detail-body>.panel{margin:0}.detail-layout.card-detail .price-panel{grid-area:auto/1/auto/-1}.detail-layout.card-detail .price-panel h2{overflow-wrap:anywhere;font-size:clamp(20px,6vw,27px)}.detail-layout.card-detail .card-copies,.detail-layout.card-detail .signin-note{grid-area:copies}.detail-layout.card-detail .card-information{grid-area:information}.detail-layout.card-detail .card-copies .form-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.detail-layout.card-detail .card-copies .field{min-width:0}.detail-layout.card-detail .card-copies .actions{flex-wrap:wrap}.detail-layout.card-detail .card-copies .actions button{white-space:normal}}.detail-layout.card-detail .detail-body>.price-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 16px;display:grid}.detail-layout.card-detail .detail-body>.price-toolbar h2{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:clamp(18px,4.5vw,27px);font-weight:800}.detail-layout.card-detail .price-toolbar .price-refresh{background:#ffe04b;grid-area:1/2;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:8px;display:inline-flex}.detail-layout.card-detail .price-toolbar>.error-box{grid-column:1/-1}@media (width<=480px){.detail-layout.card-detail .detail-body>.price-toolbar{gap:8px;padding:10px 12px}}.catalog-batch-pick{box-shadow:none;color:inherit;text-align:inherit;white-space:normal;background:0 0;border:0;padding:0}.catalog-batch-pick:disabled{opacity:1}.catalog-batch-pick:focus-visible>:first-child{outline:3px solid var(--ink);outline-offset:3px}.catalog-batch-bar>p{grid-column:1/-1;margin:0}.card-copies .copies-controls{flex-wrap:wrap;align-items:start;gap:16px 24px;margin-bottom:14px;display:flex}.copies-controls fieldset{border:0;min-width:0;margin:0;padding:0}.copies-controls legend{margin-bottom:8px;padding:0;font-size:14px;font-weight:700}.copies-stepper{align-items:center;gap:6px;display:flex}.copies-stepper button{justify-content:center;width:44px;height:44px;padding:6px;font-size:22px}.copies-stepper input{text-align:center;appearance:textfield;width:50px;height:44px;min-height:44px;padding:6px;font-size:18px;font-weight:800}.copies-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.copies-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.catalog-scan-button{background:#d5e9c0;gap:6px;min-height:44px}.card-trainer-context{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.card-trainer-context .button{gap:8px;min-height:44px}.card-trainer-context .button span{overflow-wrap:anywhere}.card-trainer-context>.error-box{flex-basis:100%}.card-trainer-context>.loading{display:none}@media (width<=480px){.card-trainer-context .button{flex:1;justify-content:center;padding:8px;font-size:14px}}.catalogue-panel.catalogue-panel{padding:0}.catalogue-panel .catalogue-results>.catalog-grid{margin-top:0}.page-header .compact-set-browser{margin:0;padding:0}.page-header .compact-set-browser>button{align-items:center;gap:8px;display:flex}.detail-layout.card-detail .detail-heading.detail-heading{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name wish""meta meta";align-content:start;align-items:center;gap:6px 12px}.detail-layout.card-detail .detail-heading.detail-heading h1{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:30px;line-height:1.15;overflow:hidden}.detail-layout.card-detail .detail-heading.detail-heading>.wish-action{grid-area:wish;justify-self:end;margin:0}.detail-heading .card-identity-meta{grid-area:meta;align-items:center;gap:8px;min-width:0;min-height:24px;font-size:13px;display:flex}.card-identity-meta .card-identity-set{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.detail-layout.card-detail .card-identity-meta .type-chips{flex-wrap:nowrap;flex:none;gap:4px;display:flex}.card-identity-meta .type-badge{white-space:nowrap;padding:2px 6px;font-size:12px}.detail-layout.card-detail .card-identity-meta .hp-label{float:none;white-space:nowrap;flex:none;margin:0;font-size:13px;display:inline}@media (width<=650px){.detail-layout.card-detail .detail-heading.detail-heading{gap:6px 8px;padding:10px}.detail-layout.card-detail .detail-heading.detail-heading h1{font-size:24px}.detail-heading .card-identity-meta{gap:6px;font-size:12px}}.card-edition .field{margin:0}.card-copies .copies-controls{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.card-extra{background:var(--paper);border:2px solid var(--ui-border);border-radius:12px;padding:4px 12px}.detail-layout.card-detail .detail-body>.card-owners-panel{grid-column:1/-1}.card-set-progress{grid-column:1/-1;justify-content:center;min-height:44px}.catalogue-set-chip{flex-wrap:wrap}.card-extra>summary{cursor:pointer;align-content:center;min-height:44px;font-weight:700}.detail-body .card-extra>.panel{box-shadow:none;background:0 0;border:0;padding:8px 0}@media (width<=650px){.detail-layout.card-detail .detail-body>:is(.card-edition,.card-extra,.error-box){grid-column:1/-1}}.card-copies .copies-controls{gap:8px}.copies-save,.copies-remove{width:44px;min-width:44px;height:44px;padding:8px}.copies-save-label,.card-copies .actions:empty{display:none}@media (width<=360px){.main-nav>a:first-child{font-size:11px}}.detail-layout.card-detail .card-command{border:2px solid var(--ui-border);background:#fff7dce8;border-radius:12px;min-width:0;padding:16px 20px}.detail-layout.card-detail .card-command>.detail-heading{background:0 0;border:0;border-radius:0;margin:0;padding:0}.card-command .card-management{flex-wrap:wrap;align-items:flex-start;gap:12px 16px;margin-top:12px;display:flex}.card-command .card-edition{flex:180px;min-width:0}.card-command .card-edition .field>span,.card-command .copies-quantity legend{line-height:20px}.card-command .copies-quantity legend{margin-bottom:6px}.card-command .card-edition select{height:44px;padding-block:6px}.card-command .card-copies{min-width:0;box-shadow:none;background:0 0;border:0;flex:0 auto;margin:0;padding:0}.card-command .card-copies form{flex-wrap:wrap;align-items:flex-end;gap:10px 8px;margin:0;display:flex}.card-command .card-copies .copies-controls{align-items:flex-end;margin:0}.card-command .card-management>.error-box,.card-command .signin-note{flex-basis:100%;margin:0}@media (width<=650px){.detail-layout.card-detail{grid-template:"art identity"min-content"art price"1fr"management management"/minmax(0,46%) minmax(0,1fr)}.detail-layout.card-detail .detail-body>.price-toolbar{flex-wrap:wrap;grid-area:price;justify-content:space-between;align-self:start;gap:8px;padding:10px;display:flex}.detail-layout.card-detail .detail-body>.price-toolbar h2{flex:1 0 auto;font-size:clamp(16px,4.5vw,22px)}.detail-layout.card-detail .price-toolbar .price-refresh{flex:0 0 44px;margin-left:auto}.detail-layout.card-detail .card-command{display:contents}.detail-layout.card-detail .card-command>.detail-heading.detail-heading{border:2px solid var(--ui-border);background:#fff7dce8;border-radius:12px;grid-area:identity;align-self:start;padding:10px}.detail-layout.card-detail .card-command .card-management{border:2px solid var(--ui-border);background:var(--paper);border-radius:12px;grid-area:management;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:12px;display:grid}.detail-layout.card-detail .card-command .card-copies{grid-area:auto}.card-command .card-copies form{grid-template-columns:auto minmax(0,1fr);align-items:end;gap:10px 8px;display:grid}.card-command .card-copies .copies-controls{display:contents}.card-command .copies-quantity{grid-column:1}.card-command .copies-stepper{gap:4px}.card-command .copies-stepper :is(button,input){width:48px;height:48px;min-height:48px}.card-command .copies-save{grid-column:2;justify-content:center;gap:6px;width:100px;min-width:100px;height:48px;padding:8px 10px;font-size:16px}.card-command .copies-save svg{flex-shrink:0;width:18px}.card-command .copies-save-label{text-overflow:ellipsis;min-width:0;display:inline;overflow:hidden}.card-command .copies-save.danger{background:#f6d4c5;border-color:#922f32;box-shadow:0 3px #922f32}.card-command .copies-remove{display:none}.card-command .card-copies .actions{grid-area:1/2;min-width:0}.card-command .card-copies .actions button{white-space:normal;height:48px;min-height:48px;padding:6px;line-height:1.1}.card-command .card-identity-meta{flex-wrap:wrap}.card-command .card-identity-set{flex-basis:100%}}.profile-browse-links a{gap:6px}.profile-browse-links a[aria-current=page]{text-decoration-color:#477d9e;text-decoration-thickness:3px}.profile-wishlist>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.profile-wishlist>header h2{margin:0}.profile-wishlist>header a{color:#173449;align-items:center;min-height:44px;font-weight:700;display:inline-flex}.profile-wishlist-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:20px 12px;display:grid}.profile-wishlist-card{color:#173449;overflow-wrap:anywhere;flex-direction:column;gap:6px;min-width:0;max-width:210px;text-decoration:none;display:flex}.profile-wishlist-card .card-front,.profile-wishlist-card .card-fallback{width:100%}.profile-wishlist-card small{font-size:var(--ui-secondary-size)}.profile-wish-private{background:#d7ecfa;border-radius:4px;align-self:start;padding:2px 6px}@media (width<=650px){.profile-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-wishlist>header{margin-bottom:12px}}.player-profile{gap:12px;display:grid}.player-profile-card{background:#fff7dc;border:3px solid #173449;border-radius:12px;overflow:hidden;box-shadow:0 4px #17344955}.player-profile-identity{align-items:center;gap:12px;padding:12px;display:flex}.player-profile-avatar{background:var(--paper);border:2px solid #173449;border-radius:12px;flex:none;padding:2px}.player-profile-name{flex:1;min-width:0}.player-profile-name h1{overflow-wrap:anywhere;margin:0 0 6px;font-size:28px;line-height:1.1}.player-profile .player-profile-action{flex:0 0 44px;justify-content:center;width:44px;min-height:44px;padding:8px}.player-profile.profile-page .player-profile-tabs{background:0 0;border:0;border-radius:0;flex-wrap:nowrap;gap:6px;margin:0;padding:0 8px 10px;display:flex}.player-profile.profile-page .player-profile-tabs a{color:#fff7dc;background:#245953;border:2px solid #173449;border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:58px;padding:6px 3px;font-size:13px;line-height:1.2;text-decoration:none;display:flex;position:relative;box-shadow:0 3px #173449}.player-profile.profile-page .player-profile-tabs a[aria-current=page]{color:#173449;background:#ffe04b}.profile-tab-count{font-variant-numeric:tabular-nums;font-size:12px;position:absolute;top:4px;right:5px}.player-profile-tabs svg{flex-shrink:0}.player-showcases{min-width:0}.player-content-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;display:flex}.player-content-actions .button{min-height:44px;padding:8px 12px;font-size:16px}.player-profile .showcase-list{grid-template-columns:minmax(0,1fr);gap:12px}.player-profile .player-profile-empty{align-items:center;gap:12px;margin:0;padding:16px;display:flex}.player-profile-empty p{margin:0}.player-profile .profile-wishlist{margin:0;padding:12px}.player-profile .profile-wishlist>header h2{font-size:24px}.player-profile .profile-wishlist>header a{background:#d7ecfa;border:2px solid #173449;border-radius:8px;padding:6px 10px;text-decoration:none;box-shadow:0 3px #7394aa}@media (width>=651px){.player-profile-identity{padding:14px 16px}.player-profile-name h1{font-size:32px}.player-profile.profile-page .player-profile-tabs{gap:10px;padding:0 14px 14px}.player-profile.profile-page .player-profile-tabs a{flex-direction:row;flex:0 190px;gap:8px;min-height:46px;padding:8px 14px;font-size:16px}.profile-tab-count{margin-left:2px;font-size:13px;position:static}.player-profile .showcase-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.player-profile .profile-wishlist{padding:16px}}@media (width>=1000px){.player-profile-card{grid-template-columns:auto minmax(120px,1fr) auto auto;align-items:center;gap:16px;padding:14px 16px;display:grid}.player-profile-identity{display:contents}.player-profile-avatar{grid-area:1/1}.player-profile-name{grid-area:1/2}.player-profile-identity>.player-profile-action{grid-area:1/4}.player-profile.profile-page .player-profile-tabs{grid-area:1/3;padding:0}.player-profile.profile-page .player-profile-tabs a{flex:none}}.profile-club-back{align-items:center;gap:6px;width:fit-content;min-height:44px;font-weight:700;display:inline-flex}.player-profile.profile-page .player-profile-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.player-profile.profile-page .player-profile-tabs a{flex-direction:row;gap:6px;min-height:46px;padding:8px 6px;font-size:14px}.profile-cards{min-width:0}.profile-cards>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.profile-cards h2{margin:0;font-size:26px}.profile-cards>header .button{min-height:44px;padding:8px 10px}.profile-cards .search-box{width:min(100%,420px);margin:0}.profile-card-rows{margin:0;padding:0;list-style:none}.profile-card-rows li{border-top:1px solid #17344940;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:12px 0;display:grid}.profile-card-art{grid-area:1/1/3}.profile-card-art .card-front,.profile-card-art .card-fallback{aspect-ratio:63/88;width:56px}.profile-card-info{overflow-wrap:anywhere;min-width:0}.profile-card-info>a{color:inherit;text-decoration:none}.profile-card-info small{margin-top:3px;font-size:13px;display:block}.profile-card-count{font-variant-numeric:tabular-nums;background:#ffe04b;border:1px solid #173449;border-radius:5px;align-self:start;padding:3px 6px;font-weight:800}.profile-card-trade{grid-column:2/-1;justify-self:start;gap:6px;min-height:44px;padding:8px 10px}.profile-cards-empty{align-items:center;gap:12px;padding:16px 0;display:flex}.profile-cards-empty p{margin:0}@media (width>=651px){.player-profile.profile-page .player-profile-tabs{flex-wrap:wrap;display:flex}.player-profile.profile-page .player-profile-tabs a{padding:8px 12px;font-size:16px}.profile-card-rows{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:0 24px;display:grid}}@media (width>=1000px){.player-profile-card{grid-template-columns:auto minmax(110px,1fr) auto auto;gap:12px}.player-profile.profile-page .player-profile-tabs{gap:6px}.player-profile.profile-page .player-profile-tabs a{padding:8px 10px}}@media (width<=650px){.profile-cards .search-box{width:100%}}.player-profile .page-header.player-profile-card{box-shadow:none;display:block}.player-profile .page-header .player-profile-tabs{margin:0;padding:0}@media (width>=1000px){.player-profile .page-header.player-profile-card{grid-template-columns:44px minmax(0,1fr) auto 44px;align-items:center;gap:12px;display:grid}.player-profile-card>.page-header-main{display:contents}.player-profile-card .page-header-leading{grid-area:1/1}.player-profile-card .page-header-identity{grid-area:1/2}.player-profile-card .page-header-actions{grid-area:1/4;max-width:none}.player-profile-card>.page-header-content{grid-area:1/3;margin:0}.player-profile .page-header .player-profile-tabs{flex-wrap:nowrap}}.showcase-share-trigger{justify-content:center;align-items:center;gap:8px;min-height:44px;display:inline-flex}.showcase-share-dialog{color:#173449;width:calc(100% - 16px);max-width:520px;max-height:calc(100dvh - 16px);padding:14px 14px max(14px, env(safe-area-inset-bottom));overscroll-behavior:contain;background:#fff7dc;border:3px solid #173449;border-radius:16px 16px 8px 8px;margin:auto auto 8px;overflow-y:auto;box-shadow:0 6px #173449}.showcase-share-dialog::backdrop{background:#122b43aa}.showcase-share-dialog>header{justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;display:flex}.showcase-share-dialog>header>div{min-width:0}.showcase-share-dialog h2{margin:0;font-size:26px;line-height:1.1}.showcase-share-dialog>header p{overflow-wrap:anywhere;margin:4px 0 0;font-size:16px}.showcase-share-dialog button{min-height:44px;font-size:16px}.showcase-share-dialog .showcase-share-close{justify-content:center;width:44px;min-width:44px;height:44px;padding:0;font-size:28px}.showcase-share-tabs,.showcase-poster-formats,.showcase-share-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.showcase-share-tabs{margin-bottom:14px}.showcase-share-tabs button,.showcase-poster-formats button{justify-content:center;padding:8px}.showcase-share-tabs button[aria-pressed=true],.showcase-poster-formats button[aria-pressed=true]{background:#ffe04b}.showcase-share-qr{background:#fff;border:2px solid #173449;border-radius:6px;width:min(100%,248px);height:auto;margin:0 auto 10px;display:block}.showcase-share-dialog p{margin:10px 0;font-size:16px;line-height:1.4}.showcase-share-dialog .showcase-share-note{color:#415c50;font-size:14px}.showcase-share-actions button{white-space:normal;justify-content:center;gap:6px;padding:8px 6px}.showcase-share-actions svg{flex-shrink:0}.showcase-share-url{width:100%;min-height:44px;margin-top:12px;font-size:16px}.showcase-share-poster fieldset{border:0;min-width:0;margin:0 0 10px;padding:0}.showcase-share-poster legend{margin-bottom:6px;font-size:16px;font-weight:700}.showcase-poster-nickname{align-items:center;gap:10px;min-height:44px;margin-top:6px;font-size:16px;display:flex}.showcase-poster-nickname input{accent-color:#245953;width:20px;height:20px}.showcase-share-dialog .showcase-poster-build{justify-content:center;width:100%}.showcase-poster-preview{border:2px solid #173449;border-radius:6px;width:auto;max-width:100%;max-height:46dvh;margin:0 auto 14px;display:block}.showcase-share-message{color:#245953}.showcase-share-error{color:#8f2c28;background:#ffe8da;border:1px solid #a74d34;border-radius:6px;padding:10px}@media (width>=651px){.showcase-share-dialog{border-radius:14px;margin:auto;padding:20px}}.showcases-hub{min-width:0}.showcases-hub-heading{background:var(--paper);border:2px solid var(--ink);border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px;padding:12px;display:flex}.showcases-hub-heading h1{min-width:0;font-size:var(--ui-title-size);flex:1;margin:0}.showcases-hub-heading>.button{justify-content:center;width:44px;min-height:44px;padding:8px}.showcases-hub-heading>.button span{display:none}.showcases-hub .showcase-list{gap:14px}.showcases-hub-empty{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.showcases-hub-empty h2,.showcases-hub-empty p{margin:0}.showcases-hub-empty p{flex-basis:100%}.showcase-share-tools{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.showcase-selected{margin:12px 0 24px;padding:0;list-style:none}.showcase-selection-tools{margin:12px 0 20px}.showcase-selection-tools summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:800}.showcase-selection-tools summary:focus-visible{outline:3px solid var(--forest);outline-offset:3px}.showcase-selected li{border-bottom:1px solid var(--ink);grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0;display:grid}.showcase-selected-position{font-variant-numeric:tabular-nums;text-align:center;font-weight:900}.showcase-selected-info{overflow-wrap:anywhere;min-width:0}.showcase-selected-info strong,.showcase-selected-info small{display:block}.showcase-selected-info small{font-size:12px}.showcase-selected-controls{gap:4px;display:flex}.showcase-selected-controls button{place-items:center;min-width:44px;min-height:44px;padding:8px;display:grid}.showcase-selected-controls button:nth-child(2) svg{transform:rotate(180deg)}.showcase-editor .card-picker{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}.showcase-editor .card-picker button{text-align:left;overflow-wrap:anywhere;align-items:start;gap:4px;padding:6px;font-size:12px;line-height:1.4}.showcase-editor .card-picker button strong{font-size:14px}.showcase-editor .card-picker button[aria-pressed=true]{background:var(--yellow);color:var(--ink)}.showcase-editor .selection-number{color:var(--ink);font-size:13px;top:3px;right:3px}.showcase-live-preview{width:100%;min-width:0}.showcase-live-preview summary{background:var(--paper);border:2px solid var(--ink);cursor:pointer;border-radius:8px;min-height:44px;padding:12px;font-weight:800}.showcase-live-preview[open] summary{margin-bottom:12px}.showcase-live-preview summary:focus-visible{outline:3px solid var(--forest);outline-offset:3px}@media (width<=1050px){.showcase-selected li{grid-template-columns:24px minmax(0,1fr)}.showcase-selected-controls{grid-column:2}}@media (width<=380px){.showcase-editor .card-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=651px){.showcases-hub-heading{padding:14px 16px}.showcases-hub-heading>.button{width:auto;padding:10px 14px}.showcases-hub-heading>.button span{display:inline}.showcases-hub-heading nav{flex-basis:auto;order:-1}.showcases-hub-heading h1{order:-2}.showcases-hub-heading nav a{min-width:100px}}.showcase-public-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.showcase-public-tools .showcase-owner{min-width:0;margin-bottom:0}.showcase-public-tools .showcase-owner span{overflow-wrap:anywhere}.showcase-world.display-case{--stage-ink:#173449;--frame:#87583e;--edge:#ceaa74;color:var(--stage-ink);padding:clamp(18px,5vw,60px);background:#e9e5be url(/art/showcases/forest.svg) 50%/100% 100%;border:2px solid #173449;border-radius:14px;padding-top:clamp(42px,8vw,78px);padding-bottom:58px;box-shadow:0 5px 14px #17344920}.showcase-world.display-case.theme-night{--stage-ink:#fff7dc;--frame:#243d60;--edge:#82dcca;background:#192b49 url(/art/showcases/night.svg) 50%/100% 100% no-repeat}.showcase-world.display-case.theme-gallery{--stage-ink:#fff7dc;--frame:#b78a46;--edge:#f4d993;background:#603c46 url(/art/showcases/gallery.svg) 50%/100% 100% no-repeat}.showcase-world .showcase-identity{text-align:center;color:#173449;border:1px solid var(--edge);background:#fff7dc;border-radius:10px;max-width:100%;margin:0 auto 30px;padding:14px 10px;box-shadow:0 3px 8px #17344918}.showcase-world .showcase-trainer{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;font:700 clamp(20px,4vw,32px)/1.15 Nunito,sans-serif;display:grid}.showcase-world .showcase-trainer strong{overflow-wrap:anywhere;border:2px solid var(--edge);background:#f0e5bb;justify-content:center;align-items:center;min-width:0;min-height:64px;padding:8px;display:flex}.showcase-world .showcase-trainer img{border:3px solid var(--edge);background:#fff7dc;border-radius:12px;box-shadow:3px 4px #17344940}.showcase-world .showcase-identity h2{color:inherit;text-wrap:balance;margin:12px 0 0;font-family:Nunito,sans-serif;font-size:clamp(20px,3.5vw,30px);font-weight:800;line-height:1.15}.showcase-world .display-grid{align-items:start;gap:clamp(12px,3vw,30px)}.showcase-world .display-slot{border:2px solid var(--edge);background:var(--frame);aspect-ratio:auto;color:var(--stage-ink);border-radius:8px;margin:10px 0 15px;padding:clamp(3px,1vw,10px);box-shadow:0 4px 10px #17344930}.showcase-world .display-slot:after{content:"";background:#a06d47;border:2px solid #654531;height:10px;position:absolute;bottom:-13px;left:-7px;right:-7px;box-shadow:0 4px #17344930}.showcase-world .display-slot>.card-front{aspect-ratio:.72;object-fit:contain;border-radius:0;width:100%;height:auto}.showcase-world .display-slot>strong{color:#fff7dc;text-align:center;overflow-wrap:anywhere;margin:7px 0 1px;font:700 clamp(10px,1.8vw,14px)/1.3 Nunito,sans-serif}.showcase-world.theme-night .display-slot{border-style:solid;border-width:2px}.showcase-world.theme-night .display-slot:after{background:#f2a0b0;border-color:#192b49;height:5px;bottom:-9px}.showcase-world.theme-gallery .display-slot:before{content:"";clip-path:polygon(0 0,25% 45%,50% 0,75% 45%,100% 0,90% 100%,10% 100%);background:#f4d993;width:30px;height:15px;position:absolute;top:-17px}.showcase-world.theme-gallery .display-slot:after{background:#edc776;border-color:#b78a46;height:14px;bottom:-17px}.showcase-world.theme-gallery .display-slot>strong{color:#173449}.showcase-world[data-card-count="1"] .display-grid{grid-template-columns:minmax(0,340px);justify-content:center}.showcase-world .display-slot:focus-visible{outline:4px solid var(--stage-ink);outline-offset:5px}.showcase-tile.theme-forest .showcase-preview{background:#e9e5be url(/art/showcases/forest.svg) 50%/100% 100%}.showcase-tile.theme-night .showcase-preview{background:#192b49 url(/art/showcases/night.svg) 50%/100% 100%}.showcase-tile.theme-gallery .showcase-preview{background:#603c46 url(/art/showcases/gallery.svg) 50%/100% 100%}@media (width<=480px){.showcase-world.display-case{padding-left:17px;padding-right:17px}.showcase-world .display-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.showcase-world .display-slot:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 8px)}.showcase-world[data-card-count="1"] .display-slot:last-child{width:min(100%,240px)}.showcase-world .showcase-trainer{font-size:20px}}.public-showcase .page-header-meta>a{overflow-wrap:anywhere;min-width:0}.showcase-world .display-slot{clip-path:none;animation:none}.trade-hub-header .trade-hub-tabs{flex-wrap:wrap;gap:8px;margin:0;display:flex}.trade-hub-header .trade-hub-tabs .button{min-width:0;min-height:44px;color:var(--ink);background:var(--paper);border:2px solid var(--ink);box-shadow:none;white-space:nowrap;border-radius:8px;justify-content:center;padding:9px 16px;font-size:16px;font-weight:800}.trade-hub-header .trade-hub-tabs .button[aria-current=page]{background:var(--yellow)}.trade-hub-header .page-header-actions .trade-new{min-height:44px;padding:9px 16px;font-size:16px}@media (width>=1000px){.page-header.trade-hub-header{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;display:grid}.trade-hub-header>.page-header-main,.trade-hub-header>.page-header-content{display:contents}.trade-hub-header .page-header-identity{grid-area:1/1}.trade-hub-header .page-header-actions{grid-area:1/3;max-width:none}.trade-hub-header .trade-hub-tabs{flex-wrap:nowrap;grid-area:1/2}}@media (width<=650px){.trade-hub-header .trade-hub-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.trade-hub-header .trade-hub-tabs .button{padding:9px 6px}.trade-hub-header .page-header-actions .trade-new{width:44px;padding:8px}}.trades-page{min-width:0;max-width:1180px;margin:auto}.trades-page h1{font-size:clamp(34px,5vw,54px)}.trades-page .panel{margin-block:20px}.trade-fieldset{border:0;min-width:0;margin:0;padding:0}.trade-exchange{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;margin:24px 0;display:grid}.trade-stage{color:#fff8df;background:#196650;border:4px solid #173449;border-radius:22px;min-width:0;padding:18px;box-shadow:inset 0 0 0 3px #79ab6d,0 7px #173449}.trade-stage:last-child{background:#215e77;box-shadow:inset 0 0 0 3px #79b3b9,0 7px #173449}.trade-stage header{align-items:center;gap:12px;margin-bottom:16px;display:flex}.trade-stage header div{min-width:0}.trade-stage h2{overflow-wrap:anywhere;margin:0;font-size:30px}.trade-stage small{font-size:13px}.trade-count{color:#173449;white-space:nowrap;font-variant-numeric:tabular-nums;background:#fff7dc;border-radius:8px;margin-left:auto;padding:8px}.trade-link{color:#173449;background:#ffdc51;border:3px solid #173449;border-radius:50%;justify-self:center;place-items:center;width:52px;height:52px;display:grid}.trade-link svg{animation:2.8s ease-in-out infinite trade-connect}.trade-pickers{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;display:grid}.trade-pickers>.panel{min-width:0;margin:0;padding:18px}.trade-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(180px,100%),1fr));gap:18px 12px;max-height:690px;padding:6px;display:grid;overflow-y:auto}.trade-choice{border:2px solid #0000;border-radius:8px;flex-direction:column;gap:5px;min-width:0;padding:6px;display:flex}.trade-choice.selected{background:#e1edc5;border-color:#196650}.trade-picker-empty p{margin-bottom:8px}.trade-choice-art{width:130px;max-width:100%;margin:0 auto 4px;position:relative}.trade-choice-art>.copy-badge{font-weight:800;top:3px;right:3px}.trade-choice-art>.card-front,.trade-choice-art>.card-fallback{aspect-ratio:.72;width:100%}.trade-choice-info{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.trade-choice strong,.trade-choice small{overflow-wrap:anywhere;font-size:14px}.trade-choice strong{font-size:16px;line-height:1.3}.trade-quantity{text-align:center;grid-template-columns:44px 48px 44px;justify-content:center;align-items:center;gap:6px;margin-top:auto;padding-top:6px;display:grid}.trade-quantity output{background:#fffdf3;border:2px solid #82968a;border-radius:7px;place-items:center;height:44px;font-size:18px;font-weight:800;display:grid}.trade-quantity button{justify-content:center;min-width:44px;min-height:44px;padding:0}.trade-actions{flex-wrap:wrap;gap:12px;display:flex}.trades-page button,.trades-page select,.trades-page input{min-height:44px}.trade-steps{color:#173449;background:#fff7dc;border-radius:8px;gap:24px;padding:14px;font-weight:800;list-style-position:inside;display:flex}.trade-steps [aria-current]{text-underline-offset:6px;text-decoration:underline;text-decoration-thickness:3px}.trade-review p{max-width:75ch}.trade-confirm{background:#fff0bd;border-radius:10px;padding:20px}.trade-confirmations{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:20px;display:grid}.trade-confirmations p{overflow-wrap:anywhere;gap:6px;display:grid}.trade-success{color:#155943;font-size:20px;font-weight:900}.trade-row{border-bottom:1px solid #8aa88d;flex-wrap:wrap;align-items:center;gap:16px;padding:18px 4px;text-decoration:none;display:flex}.trade-row>div{overflow-wrap:anywhere;flex:1;gap:6px;min-width:120px;display:grid}.trade-row>span{flex-wrap:wrap;align-items:center;gap:5px;display:inline-flex}.trade-status{background:#e1e8c4;border-radius:6px;padding:6px 10px}.trade-status.state-completed{background:#c9e8bd}.trade-status.state-accepted{background:#bfe4ec}.trade-seen-note{font-size:12px}@keyframes trade-arrive{0%{filter:brightness(1.3);transform:translateY(-8px)scale(.94)}to{filter:brightness();transform:none}}@keyframes trade-connect{50%{transform:translate(4px)}}@media (width<=650px){.trade-exchange,.trade-pickers{grid-template-columns:minmax(0,1fr);gap:18px}.trade-link{width:48px;height:48px;transform:rotate(90deg)}.trade-stage{padding:14px}.trade-stage h2{font-size:26px}.trade-card-grid{grid-template-columns:minmax(0,1fr);max-height:550px}.trade-pickers>.panel{padding:12px}.trade-confirmations{grid-template-columns:1fr;gap:0}.trade-row{gap:10px}.trade-row>.trade-status{margin-left:auto}.trade-steps{gap:14px;font-size:13px}.trades-page .panel{padding:14px}.trade-choice{grid-template-columns:76px minmax(0,1fr);align-items:start;gap:8px 12px;display:grid}.trade-choice-art{grid-area:1/1/3;width:76px;margin:0}.trade-choice-info{grid-area:1/2}.trade-choice .trade-quantity{grid-area:2/2}}@media (width<=380px){.trade-choice-art{grid-row:1}.trade-choice .trade-quantity{grid-column:1/-1;padding-top:0}}@media (prefers-reduced-motion:reduce){.trades-page *,.trades-page :before,.trades-page :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.trade-picker-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.trade-picker-heading h2{margin:0}.trades-page{max-width:none}.trade-wizard .page-title{margin-bottom:12px;padding:16px 20px}.trade-wizard h1{margin-block:4px;font-size:34px}.trade-wizard .panel{margin-block:12px}.trade-wizard .trade-steps{flex-wrap:wrap;gap:16px;margin-block:12px;padding:10px 14px}.trade-wizard .page-header .trade-steps{background:0 0;margin:0;padding:0}@media (width>=900px){.trade-wizard .page-header.trade-wizard-header{justify-content:space-between;align-items:center;gap:24px;display:flex}.trade-wizard .trade-wizard-header .page-header-content{flex:none;margin:0}.trade-wizard-header .trade-steps{justify-content:flex-end}}@media (width<=650px){.trade-wizard .page-header .trade-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.trade-wizard .page-header .trade-steps li{min-width:0;line-height:1.5}}.trade-player-compact{flex-wrap:wrap;align-items:center;gap:12px 24px;display:flex}.trade-player-compact .field{width:min(100%,340px);margin:0}.trade-player-intro .field{max-width:420px}.trade-player-choices{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:16px;display:grid}.trade-player-choices button{text-align:left;overflow-wrap:anywhere;justify-content:flex-start;align-items:center;gap:12px;min-height:72px;display:flex}.trade-player-choices button .retro-avatar{flex-shrink:0}.trade-player-choices button span{min-width:0}.trade-selection-bar{z-index:20;background:#fff7dc;border:2px solid #173449;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:12px 0;padding:12px 16px;display:flex;position:sticky;top:8px;box-shadow:0 4px 12px #17344926}.trade-wizard .trade-pickers>.panel{margin:0}.trade-wizard .trade-exchange{margin-block:16px}.trade-wizard .trade-picker-heading{margin-bottom:8px}.trade-wizard .trade-picker-heading h2{font-size:28px}.trade-wizard .trade-card-grid{max-height:60vh}@media (width<=650px){.trade-wizard .page-title{padding:14px}.trade-wizard h1{font-size:30px}.trade-selection-bar{padding:8px 10px;font-size:13px;top:4px}.trade-selection-bar button{justify-content:center;width:100%;padding:8px 12px}.trade-player-choices{grid-template-columns:minmax(0,1fr)}.trade-wizard .trade-card-grid{max-height:420px}}.trade-wizard .trade-player-compact{padding:12px 16px}.trade-wizard .page-title p{margin:0}@media (width<=650px){.trade-wizard .trade-player-compact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px;display:grid}.trade-player-compact .field{width:100%;min-width:0}.trade-player-compact .field>span,.trade-wizard .trade-picker>p[aria-live]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.trade-player-compact button{padding:6px;font-size:16px}.trade-player-compact select{padding:8px}.trade-wizard .trade-picker-heading{flex-wrap:nowrap;gap:4px}.trade-wizard .trade-picker-heading h2{font-size:22px}.trade-wizard .trade-picker-heading button{padding:6px;font-size:16px}}.trades-page .page-header{margin-block:0 16px}.trades-overview .trades-overview-panel{margin-top:0}.trade-wizard{flex-direction:column;height:min(850px,100dvh - 150px);min-height:420px;display:flex}.trade-wizard .trade-wizard-header{flex-shrink:0;margin-bottom:8px}.trade-wizard .trade-steps{grid-template-columns:auto auto auto minmax(0,1fr);gap:12px;font-size:14px;list-style:none;display:grid}.trade-wizard .profile-navigation{flex-shrink:0;margin:0}.trade-wizard .profile-navigation a{align-items:center;min-height:44px;display:inline-flex}.trade-wizard .trade-selection-bar{flex-shrink:0;margin:4px 0 8px;padding:8px 12px;position:static}.trade-wizard-body{overscroll-behavior:contain;scrollbar-color:#196650 #fff7dc;flex:1;min-height:0;overflow-y:auto}.trade-wizard-controls{flex-shrink:0;justify-content:space-between;gap:12px;padding:10px 0 4px;display:flex}.trade-wizard-controls button{min-width:80px}.trade-wizard .trade-pickers{display:block}.trade-pickers[data-step=want]>.trade-give-picker,.trade-pickers[data-step=give]>.trade-want-picker{display:none}.trade-wizard .trade-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(200px,100%),1fr));max-height:none;overflow:visible}.trade-summary-items{gap:10px;margin:0;padding:0;list-style:none;display:grid}.trade-summary-items li{align-items:center;gap:10px;min-width:0;display:flex}.trade-summary-items li>.card-front,.trade-summary-items li>.card-fallback{flex-shrink:0;width:58px;height:81px;min-height:0}.trade-summary-items li>div{overflow-wrap:anywhere;min-width:0}.trade-summary-items strong,.trade-summary-items small{display:block}.trade-stage header{margin-bottom:10px}.trade-stage h2{font-size:24px}.trade-wizard .trade-exchange{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:start;margin:0}.trade-wizard .trade-link{align-self:center;width:36px;height:36px}.trade-wizard .trade-link svg{width:24px;height:24px}.trade-wizard .trade-review{margin:12px 0 0;padding:12px}.trade-review p{margin:0;font-size:14px}@media (width<=650px){.app-shell:has(.trade-wizard){height:100dvh;min-height:0;padding-bottom:calc(86px + env(safe-area-inset-bottom));overflow:hidden}.app-shell:has(.trade-wizard)>.topbar{flex-shrink:0;margin-bottom:8px}.app-shell:has(.trade-wizard)>main{flex-direction:column;display:flex}.app-shell:has(.trade-wizard)>.app-footer{display:none}.trade-wizard{flex:1;width:100%;height:auto;min-height:0}.trade-wizard .trade-wizard-header{padding:8px 10px}.trade-wizard .page-header-main{min-height:30px}.trade-wizard .page-header-identity h1{font-size:24px}.trade-wizard .page-header-content{margin-top:6px}.trade-wizard .page-header .trade-steps{flex-wrap:nowrap;justify-content:space-between;gap:6px;font-size:11px;display:flex}.trade-wizard .trade-selection-bar{font-size:13px}.trade-wizard .trade-exchange{grid-template-columns:minmax(0,1fr);gap:10px}.trade-wizard .trade-link{display:none}.trade-wizard .trade-stage{border-width:2px;border-radius:12px;padding:10px;box-shadow:inset 0 0 0 1px #79ab6d}.trade-wizard .trade-stage header{gap:8px;margin-bottom:6px}.trade-wizard .trade-stage h2{font-size:20px}.trade-wizard .trade-count{padding:4px 6px;font-size:13px}.trade-wizard .trade-summary-items{gap:4px}.trade-wizard .trade-summary-items li{gap:8px}.trade-wizard .trade-summary-items li>.card-front,.trade-wizard .trade-summary-items li>.card-fallback{width:28px;height:40px}.trade-wizard .trade-summary-items strong{font-size:14px;line-height:1.25}.trade-wizard .trade-summary-items small{font-size:12px;line-height:1.3}.trade-wizard .trade-review{margin-top:10px;padding:8px 10px}.trade-wizard-controls{gap:8px;padding-top:8px}.trade-wizard-controls button{padding:8px 12px;font-size:16px}.trade-wizard .trade-stage header>div{flex-wrap:wrap;align-items:baseline;gap:0 8px;display:flex}.trade-wizard .trade-review p{line-height:1.4}}.trades-overview .trades-overview-panel{padding:var(--ui-space) var(--ui-panel-padding);margin:0}.trades-overview-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.trades-overview-heading h1{font-size:var(--ui-title-size);margin:0;line-height:1.15}.trades-overview a.button,.trades-overview button{min-height:var(--ui-touch-size);justify-content:center;padding:9px 16px;font-size:16px;font-weight:700}.trades-overview-filters{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.trades-overview .trade-filter{box-shadow:none;background:0 0;border:2px solid #0000}.trades-overview .trade-filter[aria-pressed=true]{color:#fff8df;background:#155953;border-color:#173449}.trades-overview .trade-filter:hover{border-color:#155953}.trades-overview .trade-refresh{box-shadow:none;margin-left:auto}.trades-overview-empty{text-align:center;color:#42584b;margin:0;padding:28px 0 12px;font-size:16px}.trades-overview .trade-row{padding:14px 0;font-size:16px}.trades-overview .trade-row small{font-size:14px}@media (width<=650px){.trades-overview .trades-overview-panel{padding:14px}.trades-overview-heading{flex-wrap:wrap}.trades-overview-heading>.button{margin-left:auto}.trades-overview a.button,.trades-overview button{padding:9px 12px}.trades-overview-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.trades-overview .trade-filter{padding-inline:4px}.trades-overview .trade-refresh{grid-column:1/-1;justify-self:end;margin-top:6px}.trades-overview-empty{padding-block:20px 8px}}.trades-heading-actions{align-items:center;gap:8px;display:flex}@media (width<=650px){.trades-overview .trade-new{min-height:44px;display:inline-flex}.trades-overview .trades-overview-filters{margin-top:12px}.trades-overview .trades-overview-empty{padding-block:20px}}.trades-overview-panel .trades-overview-filters{border-bottom:1px solid var(--ui-divider);margin:0 0 12px;padding-bottom:12px}.public-collection-owner{align-items:center;gap:12px;font-weight:800;display:flex}.public-collection-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:24px;margin-top:24px;display:grid}.public-collection-grid article,.public-collection-grid article>a{overflow-wrap:anywhere;flex-direction:column;gap:8px;min-width:0;display:flex}.public-collection-grid article>a{color:inherit}.public-collection-grid .card-front,.public-collection-grid .card-fallback{width:100%}@media (width<=480px){.public-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;font-size:14px}}.public-collection-grid article>a strong{font-size:16px}.intentions-page{max-width:none;margin-inline:auto}.intentions-page p{max-width:72ch}.intentions-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;margin-top:20px;display:grid}.intention-card{overflow-wrap:anywhere;border-top:1px solid #17344945;flex-direction:column;gap:10px;min-width:0;padding-top:16px;display:flex}.intention-card>.card-front,.intention-card>.card-fallback,.intention-card>a>.card-front,.intention-card>a>.card-fallback{width:130px;max-width:100%;margin:0 auto 8px}.intention-card>a{color:inherit;flex-direction:column;gap:8px;display:flex}.intention-card p{margin:0}.intention-card form{margin-top:auto}.intention-card input{width:100%}.intention-card small,.match-pair small{display:block}.intention-privacy{color:#205644;font-weight:800}.intention-card button,.intention-match .button,.wish-action button{white-space:normal;min-height:44px}.match-list{gap:32px;margin-top:24px;display:grid}.intention-match{border-top:1px solid #17344945;padding-top:24px;animation:.45s cubic-bezier(.16,1,.3,1) match-reveal}.intention-match header{align-items:center;gap:12px;font-size:22px;font-weight:800;display:flex}.match-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0;display:grid}.match-pair>div{overflow-wrap:anywhere;flex-direction:column;gap:8px;min-width:0;display:flex}.match-pair .card-front,.match-pair .card-fallback{width:160px;max-width:100%}@keyframes match-reveal{0%{clip-path:inset(0 0 12%);opacity:.7}to{clip-path:inset(0);opacity:1}}@media (width<=480px){.intentions-grid{grid-template-columns:minmax(0,1fr)}.match-pair{gap:12px;font-size:14px}.match-pair p{min-height:42px;margin:0}}@media (prefers-reduced-motion:reduce){.intention-match{animation:none}}.intention-card-info{display:contents}.intention-card-info>strong a{color:inherit}.intentions-instructions>button{display:none}@media (width<=650px){.intentions-page>.page-title{margin-bottom:8px}.intentions-page>.panel>h2{display:none}.intentions-instructions>button{min-height:44px;box-shadow:none;background:0 0;border:0;align-items:center;gap:8px;padding:4px 0;display:flex}.intentions-instructions>button svg{transform:rotate(-90deg)}.intentions-instructions[data-open=true]>button svg{transform:rotate(90deg)}.intentions-instructions>div{display:none}.intentions-instructions[data-open=true]>div{display:block}.intentions-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:12px}.intention-card{grid-template-columns:76px minmax(0,1fr);align-items:start;gap:12px;padding-top:12px;display:grid}.intention-card-info{flex-direction:column;gap:8px;min-width:0;display:flex}.intention-card-info>small{font-size:var(--ui-secondary-size)}.intention-card>.card-front,.intention-card>.card-fallback,.intention-card>a>.card-front,.intention-card>a>.card-fallback{width:76px;margin:0}.intention-card-info .field{margin-bottom:8px}.intention-card-info button{width:100%;padding-inline:8px}.intention-card-info p{font-size:var(--ui-secondary-size)}.intention-card input{min-height:44px;font-size:16px}}.shelf-quantity-form{justify-items:start;gap:6px;display:grid}.shelf-quantity-controls{align-items:center;gap:6px;display:flex}.shelf-quantity-controls>button{flex:0 0 44px;width:44px;height:44px;padding:0}.shelf-quantity-controls>input{text-align:center;font-variant-numeric:tabular-nums;appearance:textfield;width:48px;height:44px;min-height:44px;padding:4px}.shelf-quantity-controls>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.shelf-quantity-controls>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.intention-card .shelf-save{flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:8px;display:inline-flex}@media (width<=650px){.shelf-row>.shelf-quantity-form,.shelf-row>[role=alert]{grid-column:2}.shelf-row>.card-front,.shelf-row>.card-fallback{grid-row:1/3}}@media (width<=380px){.shelf-row>.shelf-quantity-form,.shelf-row>[role=alert]{grid-column:1/-1}.shelf-row>.card-front,.shelf-row>.card-fallback{grid-row:1}}.matches-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.matches-heading h2,.matches-heading p{margin:0}.matches-heading p{margin-top:4px}.matches-heading button{min-height:44px}.trainer-empty{background:#e6edce;border:2px dashed #6d916d;border-radius:12px;justify-content:center;align-items:center;gap:28px;margin-top:16px;padding:24px 12px;display:flex}.trainer-empty h3{font-family:var(--pixel);margin:0 0 8px;font-size:26px}.trainer-empty p{max-width:48ch;margin:0 0 14px}.trainer-empty-art{color:var(--forest);flex-shrink:0;align-items:center;gap:10px;display:flex}.trainer-empty-art span{border:3px solid var(--ink);background:var(--yellow);width:62px;height:86px;box-shadow:0 4px 0 var(--ink);border-radius:8px;place-items:center;display:grid;transform:rotate(-8deg)}.trainer-empty-art span:last-child{background:var(--paper);transform:rotate(8deg)}.trainer-empty-actions{flex-wrap:wrap;gap:8px;display:flex}.trainer-empty-actions .button{min-height:44px}.matches-help{margin-top:12px}.matches-help summary{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-weight:700;display:flex}.matches-help summary:after{content:"+"}.matches-help[open] summary:after{content:"−"}.matches-console .match-list:empty{display:none}@media (width<=650px){.trainer-empty{text-align:center;flex-direction:column;gap:18px;padding:20px 12px}.trainer-empty-actions{justify-content:center}.matches-heading button{justify-content:center;width:100%}.trainer-empty h3{font-size:24px}}.shelf-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.shelf-heading h2{margin:0}.shelf-heading .search-box{width:min(100%,420px);min-height:44px;margin:0}.shelf-heading .search-box input{min-width:0}@media (width<=650px){.shelf-heading .search-box{width:100%}}.wishlist-heading h2{align-items:center;gap:8px;display:flex}.wishlist-count{font-variant-numeric:tabular-nums;background:#e7edcf;border-radius:5px;padding:2px 7px;font:800 14px Nunito,sans-serif}.wish-row .intention-card-info{flex-direction:column;gap:6px;display:flex}.wish-card-heading{grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;min-width:0;display:grid}.wish-card-heading>strong{min-width:0}.wish-card-heading>.wish-action{display:contents}.wish-row .wish-card-heading .wish-button{grid-area:1/2;width:44px;padding:8px}.wish-card-heading .error-box{grid-column:1/-1;min-width:0;margin:0}.trainer-tutorial{overscroll-behavior:contain;border:2px solid var(--ink);background:var(--paper);width:min(440px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);border-radius:14px;margin:auto;padding:16px;overflow:auto}.trainer-tutorial::backdrop{background:#092d3fb3}.trainer-tutorial-top,.trainer-tutorial-navigation,.trainer-tutorial-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.trainer-tutorial-top>span{font-weight:700}.trainer-tutorial button,.trainer-tutorial .button{min-height:44px}.trainer-tutorial .plain{padding:8px;font-size:14px}.trainer-tutorial-progress{gap:4px;margin:8px 0 20px;display:flex}.trainer-tutorial-progress span{background:#c5c9b5;border-radius:2px;flex:1;height:4px}.trainer-tutorial-progress [data-past=true]{background:var(--forest)}.trainer-tutorial-progress [data-current=true]{background:var(--ink)}.trainer-tutorial-lesson{align-items:center;gap:14px;margin-bottom:12px;display:flex}.trainer-tutorial-icon{background:#ffdc51;border:2px solid;border-radius:8px;flex:0 0 56px;place-items:center;height:64px;display:grid}.trainer-tutorial-search .trainer-tutorial-icon{color:#17558b;background:#dceeff}.trainer-tutorial-count{font-variant-numeric:tabular-nums;margin:0 0 4px;font-size:14px;font-weight:700}.trainer-tutorial h2{overflow-wrap:anywhere;margin:0;font-size:28px}.trainer-tutorial h2:focus{outline:none}.trainer-tutorial>p{margin-bottom:16px;line-height:1.5}.trainer-tutorial-action{width:100%}.trainer-tutorial-navigation{margin-top:16px}.trainer-tutorial-navigation>button{flex:1}.trainer-tutorial-footer{flex-wrap:wrap;margin-top:8px}@media (width<=360px){.trainer-tutorial{padding:12px}.trainer-tutorial h2{font-size:25px}.trainer-tutorial-lesson{gap:10px}}.push-settings{background:var(--paper);border:2px solid var(--ink);overflow-wrap:anywhere;border-radius:12px;min-width:0;padding:18px}.push-settings h2{margin-bottom:10px;font-size:24px}.push-settings p{max-width:55ch;margin-bottom:12px;font-size:14px;line-height:1.5}.push-settings p:last-child{margin-bottom:0}.push-settings button{max-width:100%;min-height:44px}@media (width<=760px){.push-settings{padding:14px}}.push-settings button+button{margin-top:10px}.player-home{width:100%;min-width:0}.home-greeting{background:var(--paper);border:2px solid var(--ink);border-radius:12px;align-items:center;gap:14px;margin-bottom:18px;padding:16px 20px;display:flex}.home-greeting h1{overflow-wrap:anywhere;margin:0 0 4px;font-size:30px}.home-greeting p{margin:0;font-size:14px}.home-greeting>button{flex-shrink:0;margin-left:auto;padding:10px}.home-columns{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);align-items:start;gap:18px;display:grid}.home-trades,.home-side{gap:18px;min-width:0;display:grid}.home-section{background:var(--paper);border:2px solid var(--ink);overflow-wrap:anywhere;border-radius:12px;min-width:0;padding:18px}.home-section h2{justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;font-size:25px;display:flex}.home-count{font-variant-numeric:tabular-nums;text-align:center;background:#e4e8cd;border-radius:5px;min-width:30px;padding:4px 8px;font-family:Nunito,sans-serif;font-size:14px}:is(.home-incoming:has(li),.home-needsReceipt:has(li)){border-color:#155953}:is(.home-incoming:has(li) .home-count,.home-needsReceipt:has(li) .home-count){background:var(--yellow)}.home-section ul{margin:0;padding:0;list-style:none}.home-section li{border-top:1px solid #c8cfb2;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;display:flex}.home-section li>div{min-width:0}.home-section small{color:#45605c;margin-top:3px;font-size:12px;display:block}.home-section li>a{flex-direction:column;justify-content:center;min-height:44px;font-size:14px;font-weight:700;display:flex}.home-empty{color:#45605c;margin:0;font-size:14px}.home-all{align-items:center;min-height:44px;font-weight:700;display:inline-flex}.home-shortcuts>a{border-top:1px solid #c8cfb2;align-items:center;gap:12px;min-height:46px;text-decoration:none;display:flex}.home-shortcuts>a:hover{background:#efeac8}.home-shortcuts b{font-variant-numeric:tabular-nums;margin-left:auto}.home-history button{font-size:13px}.home-history li{flex-wrap:wrap;align-items:start}.home-history li>a{flex:1;min-width:140px}.home-unread>a{font-weight:800;text-decoration-thickness:2px}.home-history li:not(.home-unread)>a{font-weight:400}.home-history li>button{padding:8px}.home-section p{font-size:14px}.player-home button{min-height:44px}.player-home a:focus-visible,.player-home button:focus-visible{outline-offset:3px;outline:3px solid #b3453e}@media (width<=760px){.home-columns{grid-template-columns:minmax(0,1fr)}.home-greeting{gap:10px;padding:12px}.home-greeting h1{font-size:26px}.home-section{padding:14px}.home-section li{flex-wrap:wrap;gap:3px}.home-trades li>div{flex:100%}.home-trades li>a{flex-direction:row;justify-content:flex-start;align-items:center;gap:5px}.home-greeting .retro-avatar{width:44px!important;height:44px!important}.home-greeting p{font-size:13px}.home-section h2{font-size:23px}}.home-trades li>a{flex-direction:row;align-items:center;gap:5px}.home-greeting{padding:var(--ui-space) var(--ui-panel-padding);margin-bottom:var(--ui-space);border-color:var(--ui-border)}.home-greeting h1{font-size:var(--ui-title-size);line-height:1.15}.home-columns,.home-trades,.home-side{gap:var(--ui-space)}.home-section{padding:var(--ui-panel-padding);border-color:var(--ui-border)}.home-section h2{font-size:var(--ui-section-size)}.home-section small,.home-empty,.home-section p,.home-greeting p{font-size:var(--ui-secondary-size)}.home-section li>a,.home-history button{font-size:var(--ui-control-size)}.home-empty-overview>p{margin-bottom:12px}.home-empty-overview .actions{margin-top:16px}.home-push-options{background:var(--paper);border:2px solid var(--ui-border);border-radius:var(--ui-radius);padding:4px var(--ui-panel-padding)}.home-push-options>summary{min-height:var(--ui-touch-size);cursor:pointer;align-items:center;gap:8px;padding-block:8px;font-weight:700;display:flex}.home-push-options>summary:after{content:"+";margin-left:auto;font-size:24px}.home-push-options[open]>summary:after{content:"−"}.home-push-options>p{margin-block:8px 12px}@media (width<=650px){.home-greeting,.home-section{padding:var(--ui-panel-padding)}}@media (width<=380px){.home-greeting{flex-wrap:wrap}.home-greeting>div{flex:1;min-width:0}.home-greeting>button{margin-top:-4px}}.home-section .home-group-toggle,.home-section .home-history-toggle{display:none}@media (width<=650px){.home-section.home-group-empty{display:none}.home-section .home-group-toggle,.home-section .home-history-toggle{box-shadow:none;text-align:left;font:inherit;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:flex}.home-group-toggle svg,.home-history-toggle svg{flex-shrink:0;transform:rotate(-90deg)}[data-expanded=true] .home-group-toggle svg,[data-expanded=true] .home-history-toggle svg{transform:rotate(90deg)}.home-secondary-group .home-group-title,.home-history-title,.home-secondary-group:not([data-expanded=true]) .home-group-content,.home-history:not([data-expanded=true]) #home-history-content{display:none}.home-secondary-group:not([data-expanded=true]) h2,.home-history:not([data-expanded=true]) h2{margin-bottom:0}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}.home-shortcuts h2{grid-column:1/-1;margin-bottom:4px}.home-shortcuts>a{min-height:52px;font-size:var(--ui-secondary-size);gap:6px}.home-shortcuts>a svg{flex-shrink:0;width:18px}.home-shortcuts>a span{min-width:0}}.home-shortcuts b{white-space:nowrap;flex-shrink:0}.home-shortcuts>.trainer-tutorial-launcher{width:100%;min-height:46px;box-shadow:none;text-align:left;background:0 0;border:0;border-top:1px solid #c8cfb2;border-radius:0;grid-column:1/-1;justify-content:flex-start;align-items:center;gap:12px;padding:0;font-weight:400;display:flex}.home-shortcuts>.trainer-tutorial-launcher:hover{background:#efeac8;transform:none}@media (width<=650px){.home-shortcuts>.trainer-tutorial-launcher{min-height:52px;font-size:var(--ui-secondary-size);gap:6px}.home-shortcuts>.trainer-tutorial-launcher svg{flex-shrink:0;width:18px}}.club-gallery-grid{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.club-gallery-tile{border:3px solid var(--ink);background:var(--paper);border-radius:12px;min-width:0;overflow:hidden;box-shadow:0 4px #17344944}.club-gallery-owner{min-height:60px;color:var(--ink);align-items:center;gap:10px;padding:8px 12px;text-decoration:none;display:flex}.club-gallery-owner strong{overflow-wrap:anywhere;flex:1;min-width:0}.club-gallery-owner>svg{flex-shrink:0;transform:rotate(180deg)}.club-gallery-showcase{color:var(--ink);text-decoration:none;display:block}.club-gallery-preview{background:#517b5b;justify-content:center;align-items:center;gap:8px;padding:18px 12px;display:flex}.theme-night .club-gallery-preview{background:#292e51}.theme-gallery .club-gallery-preview{background:#b89a65}.club-gallery-preview>.card-front,.club-gallery-preview>.card-fallback{flex:0 120px;width:28%;max-width:120px}.club-gallery-showcase h2{overflow-wrap:anywhere;margin:0;padding:12px;font-family:Nunito,sans-serif;font-size:18px}.club-gallery-more{margin-top:16px}@media (width>=651px){.club-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}}.club-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.club-heading h1{font-size:var(--ui-title-size);margin:0}.club-heading .button{min-height:44px}.club-tabs{gap:8px;margin-bottom:16px;display:flex}.club-tabs a{border:2px solid var(--ink);background:var(--forest);min-height:44px;color:var(--paper);box-shadow:0 3px 0 var(--ink);border-radius:8px;flex:1;justify-content:center;align-items:center;gap:8px;padding:8px;font-weight:800;text-decoration:none;display:flex}.club-tabs a[aria-current]{background:var(--yellow);color:var(--ink)}.club-trainers .search-box{max-width:480px}.club-trainer-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px 20px;margin:12px 0 0;padding:0;list-style:none;display:grid}.club-trainer-list a{min-height:76px;color:var(--ink);border-bottom:1px solid #24595344;align-items:center;gap:12px;padding:10px 2px;text-decoration:none;display:flex}.club-trainer-list a>span{flex:1;min-width:0}.club-trainer-list strong,.club-trainer-list small{overflow-wrap:anywhere;display:block}.club-trainer-list strong{font-size:18px}.club-trainer-list small{font-size:13px}.club-trainer-list a>svg{transform:rotate(180deg)}.club-trainer-list a:hover,.club-trainer-list a:focus-visible{background:#e4edcb;border-radius:8px}@media (width<=380px){.club-heading{flex-wrap:wrap}.club-trainer-list{grid-template-columns:minmax(0,1fr)}}.guess-game{max-width:520px;color:var(--ink);margin:0 auto 32px}.guess-game .guess-top{border:2px solid var(--ink);background:var(--paper);color:var(--ink);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:0 10px;font-size:14px;display:flex}.guess-game .guess-top a{align-items:center;min-height:44px;display:inline-flex}.guess-game .guess-console{background:var(--forest);border:3px solid var(--ink);box-shadow:0 6px 0 var(--shadow);border-radius:20px;padding:16px}.guess-game .guess-meter{color:var(--paper);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-bottom:12px;font-size:12px;font-weight:700;display:flex}.guess-game .guess-screen{border:3px solid var(--ink);background:#e8efc5;border-radius:8px;padding:20px 16px}.guess-game .guess-signal{color:var(--forest);margin-bottom:12px}.guess-game h1{overflow-wrap:anywhere;margin:0 0 12px;font-size:clamp(26px,6vw,34px)}.guess-game p{margin:0 0 12px;line-height:1.45}.guess-game p:last-child{margin-bottom:0}.guess-game .guess-hint{font-size:13px}.guess-game .guess-name{font-family:var(--pixel);overflow-wrap:anywhere;font-size:36px}.guess-game .guess-name small{margin-top:4px;font:700 14px Nunito,sans-serif;display:block}.guess-game .guess-controls{gap:10px;margin-top:16px;display:grid}.guess-game button{border:2px solid var(--ink);background:var(--paper);min-height:52px;box-shadow:0 3px 0 var(--shadow);border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-weight:700;display:flex}.guess-game button:not(:disabled):hover{filter:brightness(1.06)}.guess-game button:not(:disabled):active{box-shadow:0 1px 0 var(--shadow);transform:translateY(2px)}.guess-game button:focus-visible,.guess-game a:focus-visible,.guess-game summary:focus-visible{outline-offset:3px;outline:3px solid #ffdc51}.guess-game h1:focus{outline:none}.guess-game .guess-primary,.guess-game .guess-yes{background:var(--yellow)}.guess-game .guess-answer-pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.guess-game .guess-answer-pair button{min-height:62px;font-size:22px}.guess-game .guess-utilities{justify-content:space-between;gap:8px;display:flex}.guess-game .guess-utilities button{min-height:44px;color:var(--paper);box-shadow:none;background:0 0;border-color:#0000;font-size:13px}.guess-game .guess-info{color:var(--paper);margin-top:22px;font-size:13px}.guess-game summary{cursor:pointer;min-height:44px;padding:10px 0}.guess-game pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}@media (width<=360px){.guess-game .guess-console{padding:12px}.guess-game .guess-screen{padding:16px 12px}}@media (prefers-reduced-motion:reduce){.guess-game *,.guess-game :before,.guess-game :after{transition:none!important;animation:none!important;transform:none!important}}html{scrollbar-gutter:stable}body{background:#24385d}.app-shell{flex-direction:column;max-width:1500px;min-height:100dvh;margin:auto;padding:24px 36px 0;display:flex}.topbar{align-items:center;gap:28px;margin-bottom:34px;display:flex}.brand{flex-shrink:0;align-items:center;min-height:44px;text-decoration:none;display:flex}.brand-logo{width:224px;height:auto;display:block}.main-nav{flex:1;justify-content:center;gap:10px;display:flex}.main-nav a{color:#fff8df;font-family:var(--pixel);white-space:nowrap;background:#155953;border:3px solid #143343;border-radius:10px;align-items:center;gap:8px;padding:14px 20px;font-size:22px;text-decoration:none;display:flex;box-shadow:inset 0 2px #6cae95,0 4px #143343}.main-nav a.active{color:#173449;background:#ffdc51;box-shadow:inset 0 2px #fff2a7,0 4px #143343}.header-actions{align-items:center;gap:8px;display:flex}.language-switch{background:#fff8df;border:2px solid #173449;border-radius:8px;flex-shrink:0;display:flex;overflow:hidden}.language-switch button{box-shadow:none;border:0;border-radius:0;min-height:36px;padding:8px;font-size:13px}.language-switch button[aria-pressed=true]{background:#ffdc51}.icon-button{width:38px;min-height:38px;padding:6px;position:relative;box-shadow:0 2px #173449}.icon-button[aria-pressed=false]{background:#e5e6d4}.off-dot{background:#b3453e;border-radius:50%;width:7px;height:7px;position:absolute;bottom:3px;right:3px}.header-avatar{background:#fff8df;border:2px solid #173449;border-radius:8px;display:flex;overflow:hidden}.skip-link{z-index:300;background:var(--paper);padding:12px;position:absolute;top:-100px;left:20px}.skip-link:focus{top:5px}main{min-height:0;outline:none!important}.app-shell>main{flex:1;min-width:0}.panel{background:var(--paper);border:3px solid #213e47;border-radius:12px;margin-bottom:24px;padding:26px;box-shadow:0 5px #17344926}.page-title{background:#fff7dcef;border:2px solid #415c50;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin:0 0 22px;padding:19px 24px;display:flex}.page-title h1,.page-title h2{margin-bottom:7px}.page-title p{margin:0}.back-link{background:#fff8e6;border-radius:6px;align-items:center;margin-bottom:16px;padding:8px 12px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.page-title .back-link{background:0 0;padding:0}.app-footer{text-align:center;color:#153e3e;text-shadow:0 1px #ecf3d0;max-width:1000px;margin:0 auto;padding:0 12px;font-size:11px;line-height:1.15}.app-footer p,.app-footer small{margin:0;padding-block:0;font-size:11px;line-height:1.15}@media (width<=650px){.app-shell.guest-shell{padding-bottom:env(safe-area-inset-bottom,0px)}}.password-field{background:#fffdf3;border:2px solid #82968a;border-radius:7px;display:flex}.password-field input{background:0 0;border:0;width:100%}.password-field button{flex-shrink:0;min-width:45px;padding:8px}.form-page{max-width:580px;margin:40px auto}.form-page form{margin-top:28px}.binder-layout{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:30px;width:100%;margin:auto;display:grid}.collector-sidebar{text-align:center;padding:24px 20px;position:sticky;top:18px;box-shadow:inset 0 0 0 5px #e2e8bb,0 5px #1734494d}.sidebar-avatar{flex-direction:column;align-items:center;gap:8px;text-decoration:none;display:flex}.sidebar-avatar strong{color:#fff8df;width:100%;font-family:var(--pixel);background:#155953;border:2px solid #173449;padding:7px;font-size:23px}.collector-sidebar h1{text-align:left;margin-top:12px;font-size:32px}.sidebar-caption{text-align:left;font-size:14px}.divider-star{color:#e17c4b;align-items:center;gap:8px;margin:19px 0;display:flex}.divider-star:before,.divider-star:after{content:"";background:#d7a25e;flex:1;height:2px}.collector-sidebar .wide{justify-content:flex-start;margin-bottom:15px}.collector-sidebar .wide.forest span:last-child{margin-left:auto}.search-box{background:#fffdf3;border:2px solid #173449;border-radius:8px;align-items:center;gap:6px;min-width:0;padding-left:12px;display:flex}.search-box input{background:0 0;border:0;width:100%;min-width:0;padding-left:4px}.collector-sidebar .search-box{margin-bottom:15px}.compact{text-align:left;margin-bottom:18px}.compact span{font-size:12px}.sidebar-bottom{margin:7px 0 0}.binder-console{background:#196650;border:4px solid #143843;border-radius:24px;padding:16px;position:relative;box-shadow:inset 0 0 0 3px #79ab6d,0 7px #173449}.console-heading{justify-content:space-between;align-items:center;gap:12px;margin:0 5px 15px;display:flex}.console-heading h2{text-align:center;text-transform:uppercase;background:#fff7dc;border:3px solid #173449;border-radius:9px;min-width:60%;margin:0;padding:9px 30px;font-size:32px}.screw{background:#f7ddb2;border:3px solid #123841;border-radius:50%;width:15px;height:15px;display:block}.binder-inner{background:#fff7dc;border:3px solid #143843;border-radius:15px;padding:12px 28px 15px;position:relative;box-shadow:inset 0 0 0 3px #dae3b7}.binder-help{text-align:center;color:#45614c;min-height:36px;margin:6px 0 10px;font-size:12px;line-height:1.5}.pocket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:clamp(360px,48svh,510px);margin:auto;display:grid}.pocket{aspect-ratio:.72;background:#f1f2d9;border:2px solid #8aa88d;border-radius:7px;justify-content:center;align-items:center;min-width:0;padding:7px;display:flex;position:relative;overflow:visible;box-shadow:inset 0 2px #fff,1px 3px #7d9c7d44}.pocket .card-front{object-fit:contain;border-radius:4px;width:100%;height:100%}.pocket.filled{background:#f8f9e9}.pocket.empty{color:#8b9a70}.pocket-number{font-family:var(--pixel);opacity:.65;font-size:14px;position:absolute;bottom:12px}.pocket:hover:not(:disabled){background:#fff9d7}.pocket.picked{outline-offset:2px;background:#ffeab0;outline:4px solid #e6ae2b}.pocket.dimmed{opacity:.35}.pocket-name{opacity:0;background:#fff9e5ed;border-radius:3px;padding:3px;font-size:11px;transition:opacity .15s;position:absolute;bottom:6px;left:5px;right:5px}.pocket:hover .pocket-name,.pocket:focus-visible .pocket-name{opacity:1}.copy-badge{background:#ffdc51;border:2px solid #173449;border-radius:5px;padding:3px 6px;font-size:12px;position:absolute;top:-7px;right:-7px}.binder-pagination{justify-content:center;align-items:center;gap:20px;margin:20px 0 0;display:flex}.binder-pagination strong{font-family:var(--pixel);font-size:22px}.binder-pagination button{background:#ffdc51;min-width:46px;padding:8px}.binder-pagination button:last-child svg{transform:rotate(180deg)}.binder-bottom{color:#fff8df;align-items:center;gap:12px;padding:15px 5px 0;display:flex}.binder-bottom button{min-height:34px;box-shadow:none;padding:7px 10px;font-size:12px}.binder-bottom small{margin-left:auto}.catalog-search{gap:12px;display:flex}.catalog-search .search-box{flex:1}.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 18px;margin:28px 0;display:grid}.catalog-card{text-align:center;flex-direction:column;gap:7px;min-width:0;text-decoration:none;display:flex}.catalog-card .card-front,.catalog-card .card-fallback{aspect-ratio:.72;object-fit:contain;filter:drop-shadow(0 5px 3px #183c3025);border-radius:8px;width:100%}.catalog-card strong{margin-top:5px;font-size:16px}.catalog-card small{color:#526451;font-size:11px}.card-front{transition:transform .2s;display:block}.card-fallback{aspect-ratio:.72;text-align:center;background:#dce4c0;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:12px;display:flex;overflow:hidden}.card-fallback small{font-size:11px}.load-more{margin:24px auto 0;display:flex}.empty-message{text-align:center;padding:45px}.detail-layout{grid-template-columns:minmax(230px,36%) minmax(0,1fr);align-items:start;gap:40px;display:grid}.detail-art{background:#f5edd8;border:3px solid #183d48;border-radius:16px;padding:25px;position:sticky;top:20px;box-shadow:0 6px #163e4b66}.zoom-trigger{width:100%;box-shadow:none;background:0 0;border:0;padding:0}.zoom-trigger:hover{background:0 0}.detail-art .card-front{border-radius:12px;width:100%}.detail-art-caption{text-align:center;padding-top:18px;font-size:13px;display:block}.detail-heading{background:#fff7dce8;border:2px solid #365748;border-radius:12px;margin-bottom:20px;padding:24px}.detail-heading h1{margin:12px 0;font-size:44px}.detail-heading p{margin:0}.type-chips{gap:6px;display:flex}.type-badge{color:#24483d;background:#d7e9ae;border:1px solid #8da16d;border-radius:6px;padding:5px 10px;font-size:13px;font-weight:700;display:inline-flex}.type-fire{background:#ffd1af}.type-water{background:#c1e6ef}.type-lightning{background:#ffe590}.type-psychic{background:#e4caf0}.hp-label{float:right}.dot{color:#a1b183;padding:0 5px}.price-panel{background:#fff0bd;flex-wrap:wrap;align-items:center;gap:15px;display:flex}.price-panel>div:first-child{flex:1}.price-panel h2{margin:6px 0;font-family:Nunito,sans-serif;font-size:29px;font-weight:700}.price-panel p{margin:0;font-size:12px}.price-provenance{border-top:1px solid #d6c98a;flex-wrap:wrap;gap:6px 18px;width:100%;padding-top:12px;font-size:11px;display:flex}.price-provenance small{width:100%}.facts{grid-template-columns:1fr 1fr;gap:20px;margin:22px 0;display:grid}.facts dt{color:#536855;margin-bottom:4px;font-size:12px}.facts dd{margin:0;font-size:15px;font-weight:700}.attack{border-top:1px solid #d9dfbb;padding:14px 0}.attack>div{justify-content:space-between;display:flex}.attack p{margin:8px 0 0;font-size:14px}.attack small{color:#5a6a58;font-size:11px}.weakness-row{border-top:1px solid #d9dfbb;flex-wrap:wrap;gap:20px;padding-top:16px;font-size:12px;display:flex}.signin-note{background:#fff7dc;border-radius:8px;padding:18px}.zoom-overlay{width:100%;max-width:none;height:100dvh;max-height:none;color:var(--paper);overscroll-behavior:contain;z-index:250;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#082330e8;border:0;justify-content:center;align-items:center;margin:0;padding:70px 20px 25px;display:flex;position:fixed;inset:0}.zoom-overlay .card-front{flex-shrink:0;width:min(90vw,72dvh - 68.4px);max-width:100%;height:auto}.zoom-overlay button{right:20px;top:max(15px, env(safe-area-inset-top));position:absolute}.zoom-overlay:not([open]){display:none}.zoom-overlay::backdrop{background:#082330e8}.profile-editor{grid-template-columns:1.1fr 1fr;gap:40px;display:grid}.avatar-options{flex-wrap:wrap;gap:12px;display:flex}.avatar-options button{background:#e9eccd;padding:7px}.chosen{outline-offset:3px;outline:3px solid #e1a82f}.trainer-card{background:#fff7dc;border:4px solid #173449;border-radius:20px;max-width:400px;margin:25px auto;overflow:hidden;transform:rotate(2deg);box-shadow:0 8px #17344940}.trainer-scene{background:#497f5b url(/art/pixel-meadow-optimized.webp) 50%/cover;border-bottom:4px solid #173449;justify-content:center;align-items:flex-end;height:230px;padding-bottom:14px;display:flex}.trainer-card-content{text-align:center;padding:25px}.trainer-card h2{overflow-wrap:anywhere;margin-top:12px}.trainer-card small{color:#61725c;font-size:12px}.trainer-card p{margin:20px 0 0;font-size:13px}.privacy-note{background:#fff7dce8;border-radius:8px;gap:12px;max-width:400px;margin:25px auto;padding:18px;display:flex}.privacy-note svg{flex-shrink:0}.public-profile-header{background:#fff6ddeb;border:4px solid #173449;border-radius:18px;align-items:center;gap:30px;margin-bottom:28px;padding:35px;display:flex;box-shadow:0 5px #17344944}.public-profile-header h1{overflow-wrap:anywhere;margin:9px 0 15px;font-size:48px}.public-profile-header>.button{margin-left:auto}.public-profile-portrait{background:#497f5b;border:3px solid #173449;border-radius:16px;flex-shrink:0;padding:12px}.collector-label{letter-spacing:.1em;text-transform:uppercase;font-size:12px;font-weight:700}.empty-state{text-align:center;padding:55px 25px}.empty-state>svg{color:#527a59;margin:0 auto 20px}.empty-state p{max-width:500px;margin:0 auto 25px}.showcase-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;display:grid}.showcase-tile{background:#fff7dc;border:3px solid #173449;border-radius:12px;overflow:hidden}.showcase-preview{background:#517b5b;justify-content:center;align-items:center;gap:8px;min-height:190px;padding:20px;display:flex}.showcase-preview .card-front{object-fit:contain;filter:drop-shadow(2px 4px 2px #0524324d);width:30%;height:150px}.showcase-preview .card-front:first-child{transform:rotate(-7deg)}.showcase-preview .card-front:nth-child(3){transform:rotate(7deg)}.showcase-caption{justify-content:space-between;align-items:center;padding:18px;display:flex}.showcase-caption h3{overflow-wrap:anywhere;margin:0 0 5px}.showcase-caption h3 a{text-decoration:none}.showcase-caption small{color:#52624b;font-size:11px}.theme-night .showcase-preview,.display-case.theme-night{color:#fff3ca;background:#22334f}.theme-gallery .showcase-preview,.display-case.theme-gallery{color:#fff8df;background:#a9764e}.showcase-editor{grid-template-columns:1fr 1fr;align-items:start;gap:30px;display:grid}.card-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 28px;display:grid}.card-picker button{background:#e9eccf;flex-direction:column;gap:5px;min-width:0;padding:5px;font-size:10px;display:flex;position:relative}.card-picker .card-front{aspect-ratio:.72;object-fit:contain;width:100%}.selection-number{background:#ffdc51;border:2px solid #173449;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:-6px;right:-4px}.display-case{color:#fff8dc;background:#286a50;border:5px solid #173449;border-radius:18px;padding:24px;box-shadow:inset 0 0 0 3px #89ad68,0 6px #17344955}.display-case h2,.display-case h1{text-align:center;overflow-wrap:anywhere}.display-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.display-slot{aspect-ratio:.72;background:#fffde116;border:1px solid #f9f1ba66;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:7px;text-decoration:none;display:flex;position:relative}.display-slot>.card-front{object-fit:contain;width:100%;height:100%;min-height:0}.display-slot>strong{margin-top:5px;font-size:11px}.display-case .small{color:inherit;text-align:center;margin:20px 0 0;font-size:11px}.reorder-controls{gap:2px;display:flex;position:absolute;bottom:3px}.reorder-controls button{min-width:27px;min-height:28px;box-shadow:none;padding:3px;font-size:12px}.confirm-panel{background:#ffe6c4;border:2px solid #bd6053;border-radius:8px;margin-top:20px;padding:15px}.confirm-panel p{font-weight:700}.public-showcase{width:100%;margin:auto}.public-display{padding:30px 45px}.public-display h1{margin:0 0 28px}.public-display .display-grid{gap:24px}.showcase-owner{background:#fff7dc;border:2px solid #173449;border-radius:9px;align-items:center;gap:12px;width:fit-content;margin:0 auto 20px;padding:8px 18px;font-weight:700;text-decoration:none;display:flex}.panel-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.panel-heading h2{margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}th{color:#526952;border-bottom:2px solid #b6c39d;padding:10px;font-size:12px}td{border-bottom:1px solid #d6dfbb;padding:14px 10px}td .actions{gap:7px}td button{min-height:34px;box-shadow:none;padding:7px 9px;font-size:11px}.status-pill{background:#d9e8be;border-radius:4px;padding:4px 9px;font-size:11px;display:inline-block}.status-pill.inactive{background:#eed3bd}.admin-columns{grid-template-columns:1fr 1fr;gap:24px;display:grid}.admin-edit{background:#e9edcf;border-radius:8px;max-width:500px;margin:25px 0 0;padding:20px}@media (width<=1250px){.topbar{flex-wrap:wrap;gap:20px}.main-nav{justify-content:flex-end}.header-actions{margin-left:auto}.main-nav a{padding:11px 15px;font-size:20px}.binder-layout{grid-template-columns:240px minmax(0,1fr);gap:20px}.binder-inner{padding:12px 20px}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=900px){.app-shell{padding:20px 20px 0}.main-nav{flex:auto;order:3;justify-content:stretch;width:100%}.main-nav a{flex:1;justify-content:center;padding:10px;font-size:20px}.header-actions{margin-left:auto}.topbar{margin-bottom:24px}.binder-layout{grid-template-columns:200px minmax(0,1fr);gap:16px}.collector-sidebar{padding:20px 13px}.collector-sidebar h1{font-size:26px}.collector-sidebar button,.collector-sidebar .button{padding:10px;font-size:13px}.pocket-grid{gap:10px}.binder-console{padding:12px}.console-heading h2{padding:8px 20px;font-size:26px}.binder-inner{padding:10px 12px}.binder-pagination{gap:12px}.binder-pagination strong{font-size:19px}.profile-editor{gap:25px}.showcase-list{grid-template-columns:repeat(2,minmax(0,1fr))}.showcase-editor{gap:20px}.card-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-layout{gap:22px}.detail-art{padding:15px}.detail-body .panel{padding:20px}.facts{gap:15px}.page-title{padding:18px}.public-profile-header h1{font-size:37px}}@media (width<=650px){.brand-logo{width:164px}.topbar{gap:15px}.header-actions{gap:5px}.header-avatar{display:none}.main-nav{gap:7px}.main-nav a{border-width:2px;gap:4px;padding:9px 5px;font-size:16px}.main-nav svg{width:18px;height:18px}.language-switch button{min-height:32px;padding:6px}.icon-button{width:32px;min-height:33px;padding:5px}.panel{padding:21px 18px}.page-title{flex-wrap:wrap;gap:12px}.page-title .button{font-size:13px}.binder-layout{flex-direction:column;gap:18px;display:flex}.collector-sidebar{text-align:left;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin:0;padding:16px;display:grid;position:static}.sidebar-avatar,.divider-star,.sidebar-caption,.sidebar-bottom{display:none}.collector-sidebar h1{grid-column:1/-1;margin:0;font-size:28px}.collector-sidebar .wide{justify-content:center;min-height:42px;margin:0;font-size:12px}.collector-sidebar .search-box{order:3;grid-column:1/-1;margin:0}.collector-sidebar .compact{flex-direction:row;order:4;grid-column:1/-1;align-items:center;gap:12px;margin:0}.compact select{min-height:37px;padding:6px}.collector-sidebar>.forest{display:none}.binder-console{border-radius:18px;width:100%;padding:12px 9px}.console-heading h2{padding:7px 22px;font-size:24px}.binder-inner{padding:9px}.binder-help{min-height:33px;margin-bottom:9px;font-size:11px}.pocket-grid{gap:10px;max-width:100%}.pocket{border-radius:5px;padding:4px}.pocket-name{display:none}.copy-badge{padding:2px 4px;font-size:10px;top:-5px;right:-4px}.binder-pagination{margin-top:15px}.binder-pagination button{min-width:38px;min-height:37px;padding:5px}.binder-pagination strong{font-size:18px}.binder-bottom{padding-top:12px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 11px}.catalog-card strong{font-size:12px}.catalog-card small{font-size:10px}.catalog-search{gap:8px}.catalog-search button{padding:9px}.catalog-search input{font-size:13px}.detail-layout{flex-direction:column;gap:22px;display:flex}.detail-art{align-self:center;width:80%;max-width:300px;padding:15px;position:static}.detail-art-caption{padding-top:10px;font-size:11px}.detail-body{width:100%}.detail-heading h1{font-size:36px}.price-panel h2{font-size:25px}.price-panel button{font-size:12px}.facts{grid-template-columns:1fr 1fr}.profile-editor{flex-direction:column-reverse;gap:5px;display:flex}.profile-preview-wrap .trainer-card{max-width:290px;margin:15px auto;transform:rotate(1deg)}.trainer-scene{height:140px}.trainer-scene>span{transform-origin:bottom;transform:scale(.7)}.trainer-card-content{padding:18px}.trainer-card-content h2{margin:8px 0}.trainer-card-content p{display:none}.privacy-note{max-width:none;font-size:12px}.avatar-options{justify-content:space-between;gap:8px}.avatar-options button{padding:4px}.avatar-options button>.retro-avatar{width:55px!important;height:55px!important}.showcase-list{grid-template-columns:1fr;gap:20px}.showcase-preview{min-height:180px}.showcase-editor{flex-direction:column;display:flex}.showcase-editor>.panel,.showcase-editor>.display-case{width:100%}.display-case{padding:18px}.card-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.public-display{padding:22px 15px}.public-display .display-grid{gap:12px}.display-slot{padding:4px}.display-slot>strong{font-size:10px}.public-profile-header{flex-wrap:wrap;gap:18px;padding:25px 20px}.public-profile-portrait{padding:5px}.public-profile-portrait>span{width:85px!important;height:85px!important}.public-profile-header h1{max-width:190px;font-size:30px}.public-profile-header .type-badge{font-size:11px}.public-profile-header>.button{margin-left:0;font-size:12px}.admin-columns{grid-template-columns:1fr;gap:0}.panel-heading{flex-wrap:wrap}.panel-heading input{width:100%}.form-page{margin:20px auto}.price-provenance{font-size:10px}.app-shell{padding:max(15px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left))}.header-actions{flex-wrap:wrap}.header-actions .icon-button{width:44px;min-height:44px}.language-switch button{min-width:44px;min-height:44px}.main-nav{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.main-nav:has(a:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.main-nav a{min-width:0;min-height:44px}.collector-sidebar .wide,.compact select{min-height:44px}input,select,textarea{font-size:16px}.reorder-controls button{min-width:32px;min-height:44px}}@media (width<=360px){.main-nav a{gap:3px;font-size:14px}.main-nav svg{width:15px;height:15px}}.binder-console>.binder-help{color:#fff8df;min-height:0;margin:0 4px 8px}@media (width>=1200px) and (height>=640px){.binder-shell{grid-template-rows:auto minmax(0,1fr) auto;gap:12px;height:100dvh;min-height:0;padding:12px 24px;display:grid}.app-shell{padding:12px 24px}.app-shell .topbar{flex-wrap:nowrap;gap:20px;margin:0 0 12px}.app-shell .main-nav{gap:8px}.app-shell .main-nav a{padding:10px 13px;font-size:20px}.app-shell .header-actions{gap:6px}.binder-shell .topbar{margin-bottom:0}.binder-shell main{min-height:0}.binder-shell .binder-layout{grid-template-columns:240px minmax(0,1fr);align-items:stretch;gap:24px;max-width:none;height:100%}.binder-shell .collector-sidebar{align-self:start;padding:16px;position:static}.binder-shell .sidebar-avatar{gap:6px}.binder-shell .sidebar-avatar .retro-avatar{width:72px!important;height:72px!important}.binder-shell .sidebar-avatar strong{padding:5px;font-size:21px}.binder-shell .divider-star{margin:12px 0}.binder-shell .collector-sidebar h1{margin:0 0 8px;font-size:28px}.binder-shell .sidebar-caption{margin-bottom:12px}.binder-shell .collector-sidebar .wide,.binder-shell .collector-sidebar .search-box{margin-bottom:10px}.binder-shell .compact{margin-bottom:12px}.binder-shell .sidebar-bottom{margin-top:0}.binder-shell .binder-console{flex-direction:column;min-height:0;padding:10px;display:flex}.binder-shell .console-heading{margin:0 4px 8px}.binder-shell .console-heading h2{min-width:50%;padding:3px 24px;font-size:25px}.binder-shell .binder-inner{flex:1;grid-template-rows:minmax(0,1fr) auto;gap:8px;min-height:0;padding:12px 16px 8px;display:grid;container-type:size}.binder-shell .pocket-grid{grid-template-rows:repeat(3,minmax(0,1fr));gap:10px;width:min(100%,72cqh - 31.68px);max-width:none;height:100%;min-height:0;margin:0 auto}.binder-shell .pocket{aspect-ratio:auto;min-height:0;padding:4px}.binder-shell .binder-pagination{gap:16px;margin:0}.binder-shell .binder-pagination strong{font-size:20px}.binder-shell .binder-pagination button{min-width:42px;min-height:36px;padding:5px}.binder-shell .binder-bottom{padding:8px 4px 0}.binder-shell .binder-bottom button{min-height:30px;padding:4px 10px}.binder-shell .binder-help{color:#fff8df;flex-shrink:0;min-height:0;margin:0 4px 8px;font-size:12px;line-height:1.4}.binder-shell .binder-inner:has(.error-box){grid-template-rows:auto minmax(0,1fr) auto}.binder-shell .binder-inner:has(.error-box) .pocket-grid{width:min(100%,72cqh - 108px)}}@media (width>=1200px) and (width<=1399px) and (height>=640px){.app-shell .topbar{gap:16px}.app-shell .main-nav a{gap:6px;padding:9px 10px;font-size:17px}}@media (width>=1200px) and (height>=640px) and (height<=800px){.binder-shell .sidebar-avatar{flex-direction:row}.binder-shell .sidebar-avatar .retro-avatar{flex-shrink:0;width:52px!important;height:52px!important}.binder-shell .divider-star,.binder-shell .sidebar-caption,.binder-shell .sidebar-bottom{display:none}.binder-shell .collector-sidebar h1{margin:14px 0}}.catalog-card-link{color:inherit;flex-direction:column;gap:7px;text-decoration:none;display:flex}.quick-add{margin-top:auto;padding-top:5px}.quick-add .wide{min-height:44px;padding:9px 8px}.quick-add-result{color:#205644;margin:9px 0 0;font-size:13px}.quick-add-result a{margin-left:5px;font-weight:700;display:inline-block}.quick-add-hint{max-width:70ch;margin:16px 0 6px}.quick-add .error-box{text-align:left;padding:9px;font-size:13px}@media (width<=650px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}}.trainer-avatar-options{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:12px;display:grid}.trainer-avatar-options button{justify-content:center;min-width:0;padding:7px 4px 17px;position:relative}.trainer-avatar-number{color:#315249;font-size:10px;position:absolute;bottom:2px;left:0;right:0}.binder-console .console-heading{grid-template-columns:15px minmax(0,1fr) auto;gap:8px;display:grid}.binder-console .console-heading h2{overflow-wrap:anywhere;justify-self:center;width:100%;min-width:0;max-width:450px;padding-inline:4px}.binder-page-actions{gap:8px;display:flex}.binder-add-page,.binder-delete-page{background:#ffe04b;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;box-shadow:0 3px #173449}.binder-delete-page{background:#fff7dc}@media (width<=400px){.binder-console .console-heading h2{font-size:19px}}.detail-layout{gap:24px}.detail-layout .detail-body{gap:12px;min-width:0;display:grid}.detail-layout .detail-heading,.detail-layout .detail-body>.panel{margin:0;padding:16px 20px}.detail-layout .detail-heading{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name types""meta meta";align-items:center;gap:8px 16px;display:grid}.detail-layout .detail-heading h1{overflow-wrap:anywhere;grid-area:name;margin:0;font-size:34px}.detail-layout .type-chips{flex-wrap:wrap;grid-area:types;justify-content:flex-end}.detail-layout .detail-heading p{grid-area:meta;font-size:14px}.detail-layout .price-panel{gap:10px 16px}.detail-layout .price-panel .field{gap:4px;margin:0}.detail-layout .price-panel h2{margin:3px 0;font-size:27px}.detail-layout .price-provenance{gap:4px 16px;padding-top:8px;font-size:12px}.detail-layout .price-provenance small{font-size:11px}.detail-layout .card-information>h2{margin-bottom:12px;font-size:26px}.detail-layout .facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:0 0 16px}.detail-layout .facts dt{margin-bottom:2px}.detail-layout .facts dd{overflow-wrap:anywhere;font-size:14px}.detail-layout .card-information h3{margin:0 0 8px;font-size:17px}.detail-layout .detail-attacks{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.detail-layout .attack{padding:8px 0}.detail-layout .attack p{margin-top:4px;line-height:1.45}.detail-layout .attack>div{gap:12px}.detail-layout .attack small{font-size:12px}.detail-layout .weakness-row{gap:8px 20px;padding-top:8px}.detail-layout .detail-body>.panel>h2,.detail-layout .detail-body>.panel .field{margin-bottom:12px}.detail-layout .detail-body>.price-panel .field{margin-bottom:0}.detail-layout .detail-art{padding:16px}.detail-layout .detail-art-caption{padding-top:8px}@media (width>=1200px){.detail-layout .facts{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=1000px){.detail-layout .detail-heading h1{font-size:30px}.detail-layout .detail-attacks{grid-template-columns:1fr;gap:0}.detail-layout .facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.detail-layout{gap:14px}.detail-layout .detail-art{width:184px;max-width:70%;padding:10px}.detail-layout .detail-art-caption{padding-top:6px;font-size:11px}.detail-layout .detail-heading,.detail-layout .detail-body>.panel{padding:14px}.detail-layout .detail-heading{gap:6px 10px}.detail-layout .detail-heading h1{font-size:28px}.detail-layout .type-badge{padding:4px 6px;font-size:12px}.detail-layout .price-panel{grid-template-columns:minmax(0,1fr) minmax(110px,.8fr);gap:10px;display:grid}.detail-layout .price-panel>div:first-child{min-width:0}.detail-layout .price-panel>.field{grid-area:1/2;min-width:0}.detail-layout .price-panel>button,.detail-layout .price-panel>.price-provenance{grid-column:1/-1}.detail-layout .price-panel button{font-size:14px}.detail-layout .price-provenance{gap:4px 12px}.detail-layout .facts{gap:10px 12px}}.main-nav .mobile-catalog-tab,.mobile-nav-label{display:none}@media (width<=650px){.app-shell{padding-bottom:calc(86px + env(safe-area-inset-bottom))}:is(.main-nav,.main-nav:has(a:nth-child(4))){z-index:100;width:100%;padding:7px max(6px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));background:#fff7dc;border-top:3px solid #173449;grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -4px 14px #17344926}.main-nav a,.main-nav .mobile-catalog-tab{min-width:0;min-height:54px;box-shadow:none;white-space:nowrap;border-width:2px;border-radius:8px;flex-direction:column;gap:3px;padding:5px 1px;font-family:Nunito,system-ui,sans-serif;font-size:11px;line-height:1.2;display:flex}.main-nav svg{width:21px;height:21px}.desktop-nav-label{display:none}.mobile-nav-label{display:inline}.topbar{margin-bottom:18px}html{scroll-padding-bottom:calc(86px + env(safe-area-inset-bottom))}}.profile-trades{margin-block:16px}@media (width<=650px){.main-nav .admin-nav,.main-nav a[href^="/u/"]{display:none}.main-nav{grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media (width>=651px){.app-shell .topbar{flex-wrap:wrap}}.profile-navigation{background:#fff7dc;border:2px solid #173449;border-radius:10px;flex-wrap:wrap;gap:4px 20px;margin-block:16px;padding:12px 16px;display:flex}.profile-navigation a{color:#173449;text-underline-offset:4px;align-items:center;min-height:44px;font-weight:800;display:flex}.collection-consent{border-top:1px solid #17344945;margin-top:20px;padding-block:16px}.collection-consent label{cursor:pointer;align-items:center;gap:12px;min-height:44px;font-weight:800;display:flex}.collection-consent input{accent-color:#196650;flex-shrink:0;width:24px;height:24px}.collection-consent p{max-width:65ch;font-size:14px}.profile-page .public-profile-header{border-radius:12px;gap:16px;padding:16px 20px}.profile-page .public-profile-portrait{padding:3px}.profile-page .public-profile-portrait>.retro-avatar{width:72px!important;height:72px!important}.profile-page .public-profile-header h1{overflow-wrap:anywhere;max-width:none;margin:0 0 6px;font-size:32px}.profile-page .public-profile-header>div:last-child{min-width:0}.profile-page .page-title{margin-block:16px 12px;padding:12px 16px}.profile-page .page-title h2{margin:0 0 4px;font-size:28px}.profile-page .empty-state{text-align:left;min-height:0;padding:16px}.profile-page .empty-state>svg{float:left;width:28px;height:28px;margin:0 12px 8px 0}.profile-page .empty-state h2{margin:0 0 6px;font-size:24px}.profile-page .empty-state p{margin:0}.profile-settings .page-title{margin-bottom:16px;padding:16px 20px}.profile-settings .page-title h1{margin-block:0 4px;font-size:34px}.profile-settings .profile-editor{grid-template-columns:minmax(0,2fr) minmax(230px,1fr);align-items:start;gap:20px}.profile-settings .profile-editor>.panel{padding:20px}.profile-settings .profile-editor .field,.profile-settings .profile-editor fieldset{margin-bottom:12px}.profile-avatar-chooser{border-top:1px solid #17344945;margin-block:16px;padding-top:12px}.profile-avatar-chooser summary{cursor:pointer;align-items:center;gap:12px;min-height:52px;font-weight:800;display:flex}.profile-avatar-chooser summary:after{content:"+";margin-left:auto;font-size:24px}.profile-avatar-chooser[open] summary:after{content:"−"}.profile-avatar-chooser .trainer-avatar-options{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));margin-top:12px}.profile-settings .trainer-card{max-width:none;margin:0;transform:none}.profile-settings .trainer-scene{height:110px}.profile-settings .trainer-scene>.retro-avatar{width:100px!important;height:100px!important}.profile-settings .trainer-card-content{padding:14px}.profile-settings .trainer-card-content h2{margin:0 0 8px;font-size:28px}.profile-settings .trainer-card-content p,.profile-settings .trainer-card-content>small{display:none}.profile-settings .privacy-note{font-size:13px}@media (width<=650px){.profile-settings .profile-editor{flex-direction:column-reverse;gap:12px;display:flex}.profile-settings .profile-editor>*{width:100%}.profile-settings .profile-preview-wrap{display:none}.profile-settings .profile-editor>.panel{padding:16px}.profile-page .public-profile-header{flex-wrap:nowrap;gap:12px;padding:14px}.profile-page .public-profile-portrait>.retro-avatar{width:56px!important;height:56px!important}.profile-page .public-profile-header h1{font-size:28px}.profile-page .type-badge{font-size:12px}.profile-page .profile-navigation{gap:0 16px;padding:8px 12px;font-size:16px}.profile-settings .page-title{padding:14px}.profile-settings .page-title h1{font-size:30px}}.profile-navigation>div{flex-wrap:wrap;gap:4px 20px;display:flex}.profile-navigation .profile-manage-links{border-top:1px solid #17344930;width:100%;padding-top:4px;font-size:16px}.profile-navigation .profile-browse-links{font-size:16px}.profile-section-heading{margin:24px 0 12px;font-size:26px}.detail-layout details.price-provenance{padding-top:4px;display:block}.detail-layout details.price-provenance summary{cursor:pointer;text-underline-offset:4px;align-items:center;min-height:44px;text-decoration:underline;display:flex}.detail-layout details.price-provenance span{margin-top:4px;display:block}.profile-settings .page-title .button,.profile-navigation a,.detail-layout .price-panel button,.detail-layout details.price-provenance summary,.catalogue-panel .catalog-card-link strong{font-size:16px}@supports (padding:max(0px)){.app-shell{padding-top:max(12px, env(safe-area-inset-top));padding-left:max(12px, env(safe-area-inset-left));padding-right:max(12px, env(safe-area-inset-right))}@media (width>=651px){.app-shell{padding-left:max(24px, env(safe-area-inset-left));padding-right:max(24px, env(safe-area-inset-right))}}}@media (width>=651px) and (width<=1399px){.app-shell .topbar{grid-template-columns:1fr auto;gap:12px 20px;display:grid}.topbar .brand{grid-area:1/1;justify-self:start}.topbar .header-actions{grid-area:1/2;justify-self:end}.topbar .main-nav{flex-wrap:wrap;grid-area:2/1/auto/-1;justify-content:center}}@media (width<=650px){html{scrollbar-gutter:auto}.topbar>.header-actions{display:none}.header-actions .icon-button{width:44px;min-height:44px}.language-switch button{min-width:40px;min-height:44px}.main-nav a{font-size:12px}}@media (width>=1400px){.app-shell .topbar{flex-wrap:nowrap;gap:16px}.app-shell .main-nav a{gap:6px;padding:10px 11px;font-size:18px}}.mobile-card-add-trigger{display:none}@media (width<=650px){.app-shell .topbar{flex-wrap:nowrap;gap:12px;margin-bottom:8px}.app-shell .topbar>.mobile-card-add-trigger{background:var(--yellow);width:48px;height:48px;color:var(--ink);flex:0 0 48px;justify-content:center;align-items:center;margin-left:auto;padding:8px;display:flex}}:root{--ui-border:#415c50;--ui-muted:#45605c;--ui-divider:#a9b18e;--ui-radius:12px;--ui-space:16px;--ui-panel-padding:20px;--ui-title-size:34px;--ui-section-size:28px;--ui-control-size:16px;--ui-secondary-size:14px;--ui-touch-size:44px}.page-title{gap:var(--ui-space);padding:var(--ui-space) var(--ui-panel-padding);margin-bottom:var(--ui-space);border-color:var(--ui-border);border-radius:var(--ui-radius)}.page-title>div{min-width:0}.page-title :is(h1,h2){font-size:var(--ui-title-size);overflow-wrap:anywhere;margin:0 0 4px;line-height:1.15}.page-title p{max-width:72ch;color:var(--ui-muted);font-size:var(--ui-secondary-size)}.page-title>div>a:not(.button){min-height:var(--ui-touch-size);align-items:center;font-weight:700;display:inline-flex}.panel:not(.collector-sidebar):not(.collection-panel){padding:var(--ui-panel-padding);border-width:2px;border-color:var(--ui-border);border-radius:var(--ui-radius);margin-bottom:var(--ui-space)}.panel>h2{font-size:var(--ui-section-size);margin-bottom:12px}:is(.collection-page,.intentions-page,.trades-page,.profile-page,.profile-settings,.player-home,.showcase-editor){width:100%;min-width:0}:is(.small-button,.back-link,.quick-add .wide,.wish-action button,.profile-navigation a,.intentions-tabs a){font-size:var(--ui-control-size);min-height:var(--ui-touch-size)}:is(input,select,textarea){font-size:var(--ui-control-size);caret-color:var(--forest)}.small,.field,legend{font-size:var(--ui-secondary-size)}.field{margin-bottom:var(--ui-space);gap:6px}.actions{gap:8px}.back-link{align-items:center}.empty-message,.empty-state{padding:24px var(--ui-space);color:var(--ui-muted);font-size:16px;line-height:1.5}.empty-message p,.empty-state p{max-width:65ch;margin-inline:auto}.empty-message :is(h2,h3),.empty-state :is(h2,h3){color:var(--ink);margin-bottom:8px}.empty-state>svg{margin-bottom:12px}.empty-state p{margin-bottom:16px}.profile-section-heading{background:var(--paper);border:2px solid var(--ui-border);border-radius:var(--ui-radius);padding:12px var(--ui-panel-padding);font-size:var(--ui-section-size)}:is(.collection-stats,.trade-count,.trade-quantity,.home-count){font-variant-numeric:tabular-nums}:is(.set-list,.set-picker-results,.trade-card-grid,.collection-table-scroll){scrollbar-color:var(--forest) var(--paper)}@media (width<=650px){:root{--ui-panel-padding:14px;--ui-title-size:30px;--ui-section-size:26px}.page-title{padding:var(--ui-panel-padding);flex-wrap:wrap}.page-title>.button{max-width:100%}.panel:not(.collector-sidebar):not(.collection-panel){padding:var(--ui-panel-padding)}.empty-message,.empty-state{padding:20px 0}.toast{bottom:calc(92px + env(safe-area-inset-bottom));padding:12px 16px;font-size:14px}.profile-navigation .profile-manage-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;display:grid}.profile-manage-links a{overflow-wrap:anywhere;min-width:0}}button.confirm-action:not(:disabled){color:#173d2c;background:#c9e6ab;border-color:#214936;box-shadow:0 3px #356348}button.confirm-action:disabled{color:#899284;background:#eee9d8;border-color:#929b89;box-shadow:0 2px #929b89}@media (hover:hover){button.confirm-action:not(:disabled):hover{background:#b5dc91}}button.confirm-action:not(:disabled):active{background:#a8d47f;box-shadow:0 1px #356348}form .actions>.primary:only-child{flex:100%;justify-content:center;width:100%}
