:root{--color-bg:#f4f5f7;--color-surface:#fff;--color-text:#1a1d23;--color-text-muted:#5c6370;--color-border:#e1e4e9;--color-border-strong:#c5cad3;--color-accent:#2563eb;--color-accent-hover:#1d4ed8;--color-accent-pressed:#1e40af;--color-accent-soft:#e8effd;--color-on-accent:#fff;--color-warning-bg:#fff6e0;--color-warning-border:#f0d9a0;--color-warning-text:#6b4a00;--font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--radius:12px;--radius-small:8px;--shadow:0 1px 2px #1018280f, 0 1px 3px #10182814;--shadow-raised:0 4px 12px #1018281f;--focus-ring:0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);--color-match:#14532d;--color-match-bg:#dcfce7;--color-match-border:#86efac;--color-danger:#b91c1c;--color-danger-hover:#991b1b;--color-danger-pressed:#7f1d1d;--nav-height:64px;--page-max-width:960px}*,:before,:after{box-sizing:border-box}body{background:var(--color-bg);color:var(--color-text);font-family:var(--font-family);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:1.5}h1,h2,h3{margin:0 0 .5rem;line-height:1.25}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.25rem;font-weight:600}p{margin:0 0 1rem}a{color:var(--color-accent);text-decoration:none}a:hover{color:var(--color-accent-hover);text-decoration:underline}html{scroll-padding-top:4.5rem}@media (width<=899px){html{scroll-padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 1rem)}}:focus-visible{outline-offset:2px;box-shadow:var(--focus-ring);outline:2px solid #0000}img{max-width:100%;display:block}.btn{border-radius:var(--radius-small);font:inherit;cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;min-height:40px;padding:.625rem 1.125rem;font-weight:600;line-height:1.2;text-decoration:none;transition:background-color .15s,border-color .15s,transform 50ms;display:inline-flex}.btn:hover{text-decoration:none}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.65;cursor:not-allowed}.btn-primary{background:var(--color-accent);color:var(--color-on-accent)}.btn[aria-disabled=true]{opacity:.65;cursor:not-allowed}.btn[aria-disabled=true]:active{transform:none}.btn.btn-primary[aria-disabled=true],.btn.btn-primary[aria-disabled=true]:hover,.btn.btn-primary[aria-disabled=true]:active{background:var(--color-accent)}.btn-primary:hover:not(:disabled){background:var(--color-accent-hover);color:var(--color-on-accent)}.btn-primary:active:not(:disabled){background:var(--color-accent-pressed)}.btn-secondary{background:var(--color-surface);color:var(--color-accent);border-color:var(--color-border-strong)}.btn-secondary:hover:not(:disabled){background:var(--color-accent-soft);border-color:var(--color-accent);color:var(--color-accent-hover)}.btn-secondary:active:not(:disabled){background:#d8e4fb}.btn-danger{background:var(--color-danger);color:var(--color-on-accent)}.btn-danger:hover:not(:disabled){background:var(--color-danger-hover);color:var(--color-on-accent)}.btn-danger:active:not(:disabled){background:var(--color-danger-pressed)}.btn-danger-outline{background:var(--color-surface);color:var(--color-danger);border-color:#dc2626}.btn-danger-outline:hover:not(:disabled){color:var(--color-danger-hover);background:#fef2f2}.btn-danger-outline:active:not(:disabled){background:#fee2e2}.btn-large{border-radius:var(--radius);box-shadow:var(--shadow-raised);padding:1rem 2rem;font-size:1.125rem}.btn-large:focus-visible{box-shadow:var(--focus-ring), var(--shadow-raised)}.panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.25rem}.muted{color:var(--color-text-muted)}.notice{border-radius:var(--radius-small);border:1px solid var(--color-border);background:var(--color-surface);padding:.875rem 1rem}.notice-warning{background:var(--color-warning-bg);border-color:var(--color-warning-border);color:var(--color-warning-text)}.card-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;display:grid}@media (width<=359px){.card-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}@media (width>=640px){.card-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}[data-rarity=common]{--r-text:#4b5563;--r-bg:#f3f4f6;--r-border:#9ca3af;--r-frame:#9ca3af;--r-frame-fill:linear-gradient(#9ca3af, #9ca3af);--r-glow:transparent;--r-shadow:var(--shadow)}[data-rarity=uncommon]{--r-text:#166534;--r-bg:#ecfdf3;--r-border:#86efac;--r-frame:#16a34a;--r-frame-fill:linear-gradient(#16a34a, #16a34a);--r-glow:#16a34a59;--r-shadow:var(--shadow)}[data-rarity=rare]{--r-text:#1d4ed8;--r-bg:#e8effd;--r-border:#93c5fd;--r-frame:#2563eb;--r-frame-fill:linear-gradient(135deg, #3b82f6, #1d4ed8);--r-glow:#2563eb66;--r-shadow:0 0 0 3px #2563eb24, 0 4px 14px #2563eb38}[data-rarity=epic]{--r-text:#6b21a8;--r-bg:#f5edff;--r-border:#c4b5fd;--r-frame:#7c3aed;--r-frame-fill:linear-gradient(135deg, #c084fc, #7c3aed 45%, #4f46e5 70%, #c084fc);--r-glow:#7c3aed73;--r-shadow:0 0 0 3px #7c3aed2e, 0 6px 20px #7c3aed52}.rarity-frame{border-radius:var(--radius);background:linear-gradient(var(--frame-bg,var(--color-surface)), var(--frame-bg,var(--color-surface))) padding-box, var(--r-frame-fill) border-box;box-shadow:var(--r-shadow);border:2px solid #0000;position:relative;overflow:hidden}.rarity-frame[data-rarity=epic]:after{content:"";aspect-ratio:3/4;pointer-events:none;background:linear-gradient(115deg,#0000 35%,#ffffff52 48%,#e9d5ff47 52%,#0000 65%) 130% 0/260% 100%;animation:5.5s ease-in-out 1s infinite rarity-sheen;position:absolute;inset:0 0 auto}@keyframes rarity-sheen{0%{background-position:130% 0}45%,to{background-position:-30% 0}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.rarity-frame[data-rarity=epic]:after{display:none}}.account-menu.svelte-1mzjx0,.user-menu.svelte-1mzjx0{position:relative}.user-trigger.svelte-1mzjx0{cursor:pointer;min-height:40px;color:var(--color-text);border:1px solid #0000;border-radius:999px;align-items:center;gap:.5rem;padding:.25rem .4rem .25rem .25rem;list-style:none;transition:background-color .15s,border-color .15s;display:flex}.user-trigger.svelte-1mzjx0::-webkit-details-marker{display:none}.user-trigger.svelte-1mzjx0:hover,.user-menu[open].svelte-1mzjx0 .user-trigger:where(.svelte-1mzjx0){background:var(--color-surface);border-color:var(--color-border)}.avatar.svelte-1mzjx0{background:var(--color-accent-soft);width:32px;height:32px;color:var(--color-accent);border-radius:50%;place-items:center;font-size:.75rem;font-weight:800;display:inline-grid}.user-name.svelte-1mzjx0{text-overflow:ellipsis;white-space:nowrap;max-width:130px;font-size:.875rem;font-weight:700;overflow:hidden}.chevron.svelte-1mzjx0{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px;transition:transform .15s}.user-menu[open].svelte-1mzjx0 .chevron:where(.svelte-1mzjx0){transform:rotate(180deg)}.menu-popover.svelte-1mzjx0{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);width:240px;box-shadow:var(--shadow-raised);padding:.5rem;position:absolute;top:calc(100% + .5rem);right:0}.account-details.svelte-1mzjx0{border-bottom:1px solid var(--color-border);flex-direction:column;min-width:0;margin-bottom:.25rem;padding:.625rem .625rem .75rem;display:flex}.account-details.svelte-1mzjx0 strong:where(.svelte-1mzjx0){text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.account-details.svelte-1mzjx0 span:where(.svelte-1mzjx0){color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:.125rem;font-size:.75rem;overflow:hidden}.logout-button.svelte-1mzjx0{border-radius:var(--radius-small);width:100%;color:var(--color-text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:.625rem;padding:.625rem;font-size:.875rem;font-weight:600;display:flex}.logout-button.svelte-1mzjx0:hover{background:var(--color-accent-soft);color:var(--color-accent)}.logout-button.svelte-1mzjx0:disabled{opacity:.55;cursor:wait}.logout-error.svelte-1mzjx0{color:var(--color-warning-text);margin:.25rem .625rem .5rem;font-size:.75rem}.logout-button.svelte-1mzjx0 svg:where(.svelte-1mzjx0){fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.guest-actions.svelte-1mzjx0{align-items:center;gap:.5rem;display:flex}.guest-actions.svelte-1mzjx0 .btn:where(.svelte-1mzjx0){min-height:40px;padding:.55rem .85rem}@media (width>=900px) and (width<=1199px){.user-name.svelte-1mzjx0{max-width:90px}}@media (width<=480px){.user-name.svelte-1mzjx0,.chevron.svelte-1mzjx0{display:none}.user-trigger.svelte-1mzjx0{border:0;padding:0}.menu-popover.svelte-1mzjx0{width:min(240px,100vw - 2rem)}.guest-actions.svelte-1mzjx0{gap:.375rem}.guest-actions.svelte-1mzjx0 .btn:where(.svelte-1mzjx0){padding-inline:.7rem;font-size:.875rem}}.bottom-nav.svelte-oeh3u8{z-index:10;height:calc(var(--nav-height) + env(safe-area-inset-bottom));background:var(--color-surface);border-top:1px solid var(--color-border);padding-bottom:env(safe-area-inset-bottom);justify-content:center;gap:.25rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 8px #1018280d}.nav-link.svelte-oeh3u8{min-width:0;max-width:160px;color:var(--color-text-muted);border-top:3px solid #0000;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.75rem;font-weight:500;transition:color .15s,background-color .15s;display:flex}.nav-link.svelte-oeh3u8 span:where(.svelte-oeh3u8){text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.nav-link.svelte-oeh3u8:hover{color:var(--color-accent-hover);background:var(--color-accent-soft);text-decoration:none}.nav-link.svelte-oeh3u8:active{background:#d8e4fb}.nav-link.active.svelte-oeh3u8{color:var(--color-accent);border-top-color:var(--color-accent);font-weight:600}svg.svelte-oeh3u8{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}@media (width>=900px){.bottom-nav.svelte-oeh3u8{z-index:auto;height:64px;box-shadow:none;background:0 0;border-top:0;gap:.125rem;padding-bottom:0;position:static}.nav-link.svelte-oeh3u8{border-top:0;border-bottom:3px solid #0000;flex-direction:row;flex:none;gap:.5rem;max-width:none;padding:3px .875rem 0;font-size:.9375rem}.nav-link.active.svelte-oeh3u8{border-bottom-color:var(--color-accent)}}.banner-slot.svelte-1dp0oos{left:0;right:0;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + .5rem);z-index:30;pointer-events:none;justify-content:center;padding:0 .75rem;display:flex;position:fixed}.banner.svelte-1dp0oos{pointer-events:auto;border-radius:var(--radius);background:linear-gradient(135deg,#ecfdf3,#fff 60%,#fff8e1);border:1px solid #86c9a0;align-items:flex-start;gap:.75rem;width:min(30rem,100%);padding:.875rem .5rem .875rem .875rem;animation:.45s cubic-bezier(.2,1.2,.4,1) svelte-1dp0oos-banner-in;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 30px #10182838}.burst.svelte-1dp0oos{pointer-events:none;background:linear-gradient(105deg,#0000 35%,#ffffffd9 50%,#0000 65%);animation:1.1s ease-out .2s forwards svelte-1dp0oos-sweep;position:absolute;inset:0;transform:translate(-100%)}.medal.svelte-1dp0oos{color:#fff;background:#15803d;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;animation:.6s cubic-bezier(.2,1.5,.4,1) .1s both svelte-1dp0oos-medal-pop;display:grid;box-shadow:0 0 0 4px #bbf7d0,0 4px 10px #15803d59}.medal.svelte-1dp0oos svg:where(.svelte-1dp0oos){fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.text.svelte-1dp0oos{flex:1;min-width:0;position:relative}.headline.svelte-1dp0oos{letter-spacing:-.01em;color:#14532d;margin:0;font-size:1.0625rem;font-weight:800}ul.svelte-1dp0oos{margin:.125rem 0 0;padding:0;font-weight:600;list-style:none}.next.svelte-1dp0oos{color:var(--color-text-muted);margin:.375rem 0 0;font-size:.875rem}.next.svelte-1dp0oos a:where(.svelte-1dp0oos){margin-left:.375rem;font-weight:600;display:inline-block}.dismiss.svelte-1dp0oos{width:40px;height:40px;color:var(--color-text);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;font-size:1.5rem;line-height:1;position:relative}.dismiss.svelte-1dp0oos:hover{background:#10182814}@keyframes svelte-1dp0oos-banner-in{0%{opacity:0;transform:translateY(-1rem)scale(.96)}to{opacity:1;transform:none}}@keyframes svelte-1dp0oos-sweep{to{transform:translate(100%)}}@keyframes svelte-1dp0oos-medal-pop{0%{opacity:0;transform:scale(.3)rotate(-30deg)}to{opacity:1;transform:none}}@media (width<=899px){.next-title.svelte-1dp0oos{display:none}.next.svelte-1dp0oos a:where(.svelte-1dp0oos){margin-left:0}.banner.svelte-1dp0oos{padding-block:.625rem;box-shadow:0 8px 24px #10182833}.medal.svelte-1dp0oos{width:36px;height:36px}.medal.svelte-1dp0oos svg:where(.svelte-1dp0oos){width:20px;height:20px}}@media (width>=900px){.banner-slot.svelte-1dp0oos{justify-content:flex-end;padding:0 1.5rem;bottom:1.5rem}.banner.svelte-1dp0oos{width:min(23.5rem,100%)}}@media (prefers-reduced-motion:reduce){.banner.svelte-1dp0oos,.medal.svelte-1dp0oos{animation:none}.burst.svelte-1dp0oos{display:none}}.skip-link.svelte-12qhfyh{z-index:100;border-radius:var(--radius-small);background:var(--color-accent);color:var(--color-on-accent);padding:.625rem 1rem;font-weight:600;position:fixed;top:.5rem;left:.5rem;transform:translateY(-300%)}.skip-link.svelte-12qhfyh:focus{transform:none}.skip-link.svelte-12qhfyh:hover{color:var(--color-on-accent)}.page.svelte-12qhfyh:focus{outline:none}.app-header.svelte-12qhfyh{z-index:20;border-bottom:1px solid var(--color-border);position:sticky;top:0}.app-header.svelte-12qhfyh:before{content:"";z-index:-1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;position:absolute;inset:0}.header-inner.svelte-12qhfyh{max-width:var(--page-max-width);justify-content:space-between;align-items:center;gap:1rem;min-height:64px;margin:0 auto;padding:.75rem 1rem;display:flex}.brand.svelte-12qhfyh{color:var(--color-text);letter-spacing:-.02em;align-items:center;gap:.625rem;font-weight:800;display:inline-flex}.brand.svelte-12qhfyh:hover{color:var(--color-text);text-decoration:none}.brand-mark.svelte-12qhfyh{background:var(--color-accent);width:36px;height:36px;color:var(--color-on-accent);border-radius:10px;place-items:center;font-family:Georgia,serif;font-size:1.125rem;display:inline-grid;box-shadow:0 4px 10px #2563eb2e}.page.svelte-12qhfyh{max-width:var(--page-max-width);min-height:calc(100vh - 220px);margin:0 auto;padding:1.5rem 1rem 2rem}.loading.svelte-12qhfyh{text-align:center;padding-top:3rem}.load-error.svelte-12qhfyh{flex-direction:column;align-items:flex-start;gap:.5rem;max-width:28rem;margin:3rem auto 0;display:flex}.load-error.svelte-12qhfyh p:where(.svelte-12qhfyh){margin:0}.load-error.svelte-12qhfyh .btn:where(.svelte-12qhfyh){margin-top:.5rem}.app-footer.svelte-12qhfyh{max-width:var(--page-max-width);padding:0 1rem calc(var(--nav-height) + env(safe-area-inset-bottom) + 1.5rem);text-align:center;color:var(--color-text-muted);margin:0 auto;font-size:.8125rem}.app-footer.svelte-12qhfyh p:where(.svelte-12qhfyh){border-top:1px solid var(--color-border);margin:0;padding-top:.5rem;line-height:1.5}.app-footer.svelte-12qhfyh a:where(.svelte-12qhfyh){padding-block:.25rem;display:inline-block}.spinner.svelte-12qhfyh{vertical-align:-.2em;border:2px solid var(--color-border-strong);border-top-color:var(--color-accent);border-radius:50%;width:1rem;height:1rem;margin-right:.5rem;animation:.8s linear infinite svelte-12qhfyh-spin;display:inline-block}@keyframes svelte-12qhfyh-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner.svelte-12qhfyh{animation-duration:2.4s}}@media (width>=900px){.header-inner.svelte-12qhfyh{grid-template-columns:auto 1fr auto;padding-block:0;display:grid}.page.svelte-12qhfyh{padding-bottom:2rem}.app-footer.svelte-12qhfyh{padding-bottom:1.5rem}}@media (width<=480px){.brand.svelte-12qhfyh{font-size:.9375rem}.brand-mark.svelte-12qhfyh{width:32px;height:32px}}
