/* Bundled from css/partials — 2026-07-18T00:05:09 */

/* --- css/partials/base.css --- */
:root {
    --bg-dark: #1a1a2e;
    --bg-mid: #16213e;
    --nav-bg: #0f0f1a;
    --text-light: #f2f2f2;
    --text-muted: #b8b8c8;
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.12);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);

    --color-total: #e8e8f0;
    /* Logo-matched game accents */
    --color-ssa: #a8e8fc;
    --color-ssa-deep: #6ec8f0;
    --color-giants: #eca832;
    --color-giants-deep: #c88618;
    --color-swap: #c8d92a;
    --color-swap-deep: #9bb018;
    --color-trap: #c43a3a;
    --color-trap-deep: #9e2e2e;
    --color-super: #d46840;
    --color-super-deep: #b04e30;
    --color-imaginators: #4650b8;
    --color-imaginators-deep: #2e3888;

    /* Per-game RGBA accents (no color-mix — works on all browsers) */
    --accent-ssa-soft: rgba(168, 232, 252, 0.16);
    --accent-ssa-border: rgba(168, 232, 252, 0.34);
    --accent-ssa-glow: rgba(168, 232, 252, 0.38);
    --accent-ssa-fade: rgba(110, 200, 240, 0.2);
    --accent-ssa-text: #ccefff;
    --accent-ssa-focus: rgba(168, 232, 252, 0.55);
    --accent-ssa-tab-glow: rgba(168, 232, 252, 0.7);
    --accent-ssa-tab-glow-soft: rgba(168, 232, 252, 0.38);
    --accent-ssa-tab-border: rgba(168, 232, 252, 0.45);

    --accent-giants-soft: rgba(236, 168, 50, 0.16);
    --accent-giants-border: rgba(236, 168, 50, 0.34);
    --accent-giants-glow: rgba(236, 168, 50, 0.38);
    --accent-giants-fade: rgba(200, 134, 24, 0.2);
    --accent-giants-text: #ffe2a8;
    --accent-giants-focus: rgba(236, 168, 50, 0.55);
    --accent-giants-tab-glow: rgba(236, 168, 50, 0.7);
    --accent-giants-tab-glow-soft: rgba(236, 168, 50, 0.38);
    --accent-giants-tab-border: rgba(236, 168, 50, 0.45);

    --accent-swap-soft: rgba(200, 217, 42, 0.16);
    --accent-swap-border: rgba(200, 217, 42, 0.34);
    --accent-swap-glow: rgba(200, 217, 42, 0.38);
    --accent-swap-fade: rgba(155, 176, 24, 0.2);
    --accent-swap-text: #eef5a8;
    --accent-swap-focus: rgba(200, 217, 42, 0.55);
    --accent-swap-tab-glow: rgba(200, 217, 42, 0.68);
    --accent-swap-tab-glow-soft: rgba(200, 217, 42, 0.36);
    --accent-swap-tab-border: rgba(200, 217, 42, 0.44);

    --accent-trap-soft: rgba(196, 58, 58, 0.16);
    --accent-trap-border: rgba(196, 58, 58, 0.34);
    --accent-trap-glow: rgba(196, 58, 58, 0.38);
    --accent-trap-fade: rgba(158, 46, 46, 0.2);
    --accent-trap-text: #ffb3b3;
    --accent-trap-focus: rgba(196, 58, 58, 0.55);
    --accent-trap-tab-glow: rgba(196, 58, 58, 0.72);
    --accent-trap-tab-glow-soft: rgba(196, 58, 58, 0.4);
    --accent-trap-tab-border: rgba(196, 58, 58, 0.48);

    --accent-super-soft: rgba(212, 104, 64, 0.16);
    --accent-super-border: rgba(212, 104, 64, 0.34);
    --accent-super-glow: rgba(212, 104, 64, 0.38);
    --accent-super-fade: rgba(176, 78, 48, 0.2);
    --accent-super-text: #ffc9b0;
    --accent-super-focus: rgba(212, 104, 64, 0.55);
    --accent-super-tab-glow: rgba(212, 104, 64, 0.7);
    --accent-super-tab-glow-soft: rgba(212, 104, 64, 0.38);
    --accent-super-tab-border: rgba(212, 104, 64, 0.45);

    --accent-imaginators-soft: rgba(70, 80, 184, 0.16);
    --accent-imaginators-border: rgba(70, 80, 184, 0.34);
    --accent-imaginators-glow: rgba(70, 80, 184, 0.38);
    --accent-imaginators-fade: rgba(46, 56, 136, 0.2);
    --accent-imaginators-text: #c2c8ff;
    --accent-imaginators-focus: rgba(70, 80, 184, 0.55);
    --accent-imaginators-tab-glow: rgba(70, 80, 184, 0.72);
    --accent-imaginators-tab-glow-soft: rgba(70, 80, 184, 0.4);
    --accent-imaginators-tab-border: rgba(70, 80, 184, 0.48);
}

* {
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-mid) 50%, #1a2744 100%);
    background-attachment: fixed;
    color: var(--text-light);
}

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    width: 100%;
    margin-top: auto;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 26, 0.65);
    text-align: center;
}

.site-footer-text {
    margin: 0;
    flex: 1 1 100%;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
}

.site-footer-link {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: #8be8b0;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

a.site-footer-link {
    display: inline-block;
}

.site-footer-link--donate {
    color: #f8dbaa;
}

.site-footer-link--donate:hover {
    color: #ffe8c4;
}

.site-footer-link:hover {
    color: #b0f0c8;
}


/* --- css/partials/legal.css --- */
.legal-dialog {
    width: 26rem;
    max-height: calc(100vh - 32px);
}

.legal-dialog-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 32px);
    padding: 20px;
    overflow-y: auto;
}

.legal-section {
    margin-top: 14px;
}

.legal-section:first-of-type {
    margin-top: 8px;
}

.legal-heading {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.legal-text {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-light);
}

.legal-text a {
    color: #8be8b0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-text a:hover {
    color: #b0f0c8;
}

.legal-list {
    margin: 0 0 12px;
    padding-left: 1.25rem;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.5;
}

.legal-list li + li {
    margin-top: 6px;
}

.legal-list a {
    color: #8be8b0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-list a:hover {
    color: #b0f0c8;
}

.legal-support-email {
    color: #8be8b0;
    font-weight: 600;
    word-break: break-word;
}

.legal-dialog-actions {
    margin-top: 36px;
}

#support-contact {
    padding-bottom: 8px;
}

#support-contact .legal-support-email {
    display: inline-block;
    margin-top: 10px;
}


/* --- css/partials/nav.css --- */
.nav {
    position: sticky;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(12rem, 15rem) auto;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    top: 0;
    z-index: 100;
    padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    --nav-stat-width: 5.75rem;
    --nav-stat-pad-block: 9px;
    --nav-stat-pad-inline: 7px;
    --nav-stat-padding: var(--nav-stat-pad-block) var(--nav-stat-pad-inline);
    --nav-stat-gap: 6px;
    --nav-logo-height: 1.75rem;
    --nav-count-height: 1.125rem;
    --nav-stat-height: calc((var(--nav-stat-pad-block) * 2) + var(--nav-logo-height) + var(--nav-stat-gap) + var(--nav-count-height));
}

.nav-stat {
    display: grid;
    grid-template-rows: var(--nav-logo-height) var(--nav-count-height);
    gap: var(--nav-stat-gap);
    align-content: start;
    flex: 0 0 auto;
    width: var(--nav-stat-width);
    min-width: var(--nav-stat-width);
    max-width: var(--nav-stat-width);
    height: var(--nav-stat-height);
    min-height: var(--nav-stat-height);
    max-height: var(--nav-stat-height);
    padding: var(--nav-stat-padding);
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    box-sizing: border-box;
    margin: 0;
}

.nav-total.nav-stat {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    grid-column: 1;
    height: var(--nav-stat-height);
    min-height: var(--nav-stat-height);
    max-height: var(--nav-stat-height);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

a.nav-total.nav-stat {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

a.nav-total.nav-stat:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

a.nav-total.nav-stat:focus-visible {
    outline: 2px solid var(--page-accent);
    outline-offset: 2px;
}

a.nav-total.nav-stat[aria-current="page"] {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-total-label {
    display: block;
    margin: 0;
    padding: 1px 2px 0;
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    line-height: 1;
    text-align: center;
}

.nav-total-count {
    color: var(--color-total);
}

.nav-total-spent {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0 2px 1px;
    font-size: 0.56rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #8be8b0;
    line-height: 1;
    text-align: center;
    overflow-wrap: anywhere;
    white-space: nowrap;
}

body:not(.prices-hidden) .nav-total-spent {
    display: block;
}

.nav-stat-top {
    grid-row: 1;
    flex: 0 0 var(--nav-logo-height);
    width: 100%;
    height: var(--nav-logo-height);
    min-height: var(--nav-logo-height);
    max-height: var(--nav-logo-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nav-stat-count {
    grid-row: 2;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--nav-count-height);
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 2px 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.nav-games-menu {
    position: relative;
    grid-column: 2;
    min-width: 0;
    overflow: visible;
}

.nav-games-toggle.nav-icon-btn {
    display: none;
}

.nav.nav-games-compact {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    overflow: visible;
}

.nav.nav-games-compact .nav-games-menu {
    flex: 0 0 auto;
    min-width: auto;
    overflow: visible;
}

.nav.nav-games-compact .nav-games-toggle.nav-icon-btn {
    display: inline-flex;
}

.nav.nav-games-compact .nav-games-heading {
    display: block;
}

.nav.nav-games-compact .nav-games-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    z-index: 200;
    width: min(11.5rem, calc(100vw - 24px));
    padding: 12px;
    border-radius: 12px;
    background: #151525;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    transform: none;
}

.nav.nav-games-compact .nav-games-menu.is-open .nav-games-panel {
    display: block;
}

.nav.nav-games-compact .nav-games-menu:not(.is-open) .nav-tabs {
    display: none;
}

.nav.nav-games-compact .nav-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    overflow: visible;
}

.nav.nav-games-compact .nav-tab.nav-stat {
    width: 100%;
    min-width: 0;
    max-width: none;
}

.nav.nav-games-compact .nav-actions {
    flex: 0 0 auto;
    margin-left: auto;
    width: auto;
    flex-wrap: nowrap;
}

.nav.nav-games-compact .collection-search {
    flex: 0 1 min(15rem, calc(100vw - 260px));
    min-width: min(12rem, calc(100vw - 260px));
}

.nav-games-panel {
    min-width: 0;
}

.nav-games-heading {
    display: none;
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.nav-tabs::-webkit-scrollbar {
    height: 4px;
}

.nav-tabs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.chase-toggle,
.unreleased-toggle,
.prices-toggle,
.upgrade-buttons-toggle,
.variant-toggle,
.settings-toggle,
.nav-games-toggle,
.auth-btn {
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: 4;
    justify-self: end;
    flex-shrink: 0;
}

.collection-search {
    grid-column: 3;
    align-self: start;
    width: 100%;
    min-width: 0;
}

.collection-search-input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-light);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.collection-search-input::placeholder {
    color: var(--text-muted);
}

.collection-search-input:focus {
    border-color: rgba(139, 232, 176, 0.55);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 232, 176, 0.12);
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0 !important;
    color: var(--text-muted);
    -webkit-appearance: none;
    appearance: none;
}

.nav-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    pointer-events: none;
}

.nav-icon--stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-icon:not(.nav-icon--stroke) path {
    fill: currentColor;
}


/* --- css/partials/auth.css --- */
.auth-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.auth-menu--guest {
    position: static;
}

.auth-menu[hidden] {
    display: none !important;
}

.auth-btn--signup,
.auth-btn--login {
    white-space: nowrap;
}

.guest-auth-panel .auth-btn {
    width: 100%;
}

.auth-menu--guest .auth-btn {
    min-height: 44px;
    padding-inline: 14px;
}

.auth-menu--guest .auth-btn--login {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
}

.auth-menu--guest .auth-btn--login:hover {
    background: rgba(255, 255, 255, 0.14);
}

.auth-btn--primary {
    color: #1a1a2e;
    background: linear-gradient(135deg, #8be8b0 0%, #5ecf8a 100%);
    border-color: #78dc8c;
}

.auth-btn--logout,
.auth-btn--danger,
.auth-btn--change-password {
    width: 100%;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-panel .auth-btn {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.8rem;
}

.account-panel .auth-btn--logout,
.account-panel .auth-btn--change-password {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.account-panel .auth-btn--logout:hover,
.account-panel .auth-btn--change-password:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.14);
}

.auth-btn--danger {
    color: #fff;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-color: #e74c3c;
}

.auth-btn--danger:hover {
    color: #fff;
    background: linear-gradient(135deg, #f06a5c 0%, #d04436 100%);
}

.captcha-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.captcha-section[hidden] {
    display: none !important;
}

.captcha-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.captcha-widget:empty {
    display: none;
}

.captcha-help {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.45;
    color: #f8dbaa;
}

.captcha-help[hidden] {
    display: none !important;
}

.auth-error[data-status="success"] {
    color: #8be8b0;
}

.auth-help-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.auth-forgot {
    align-self: flex-end;
    margin-top: 4px;
    padding: 0;
    font-size: 0.8rem;
}

#auth-password-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#auth-password-wrap[hidden] {
    display: none;
}

.auth-privacy-wrap {
    margin-top: 2px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.auth-privacy-wrap[hidden] {
    display: none !important;
}

.auth-privacy-label {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.auth-privacy-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.auth-privacy-checkbox:checked {
    border-color: #8be8b0;
    background: #8be8b0;
}

.auth-privacy-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #151525;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-privacy-checkbox:focus-visible {
    outline: 2px solid rgba(139, 232, 176, 0.55);
    outline-offset: 2px;
}

.auth-privacy-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.auth-privacy-link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #8be8b0;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.auth-privacy-link:hover {
    color: #a8f0c8;
}

.storage-notice {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    z-index: 40;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: auto;
    max-width: min(560px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(18, 18, 32, 0.96);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.storage-notice[hidden] {
    display: none !important;
}

.storage-notice-text {
    flex: 1;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.storage-notice-link {
    padding: 0;
    border: 0;
    background: none;
    color: #a99cf5;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.storage-notice-link:hover {
    color: #c8b6ff;
}

.storage-notice-accept {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: #6c5ce7;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.storage-notice-accept:hover {
    background: #7d6ff0;
}

body:has(.storage-notice:not([hidden])) main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 520px) {
    .storage-notice {
        flex-direction: column;
        align-items: stretch;
    }

    .storage-notice-accept {
        width: 100%;
    }
}

#current-password-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#current-password-wrap[hidden] {
    display: none;
}

.delete-account-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.auth-btn--link,
.auth-btn--ghost {
    background: transparent;
    border-color: transparent;
}

.auth-btn--link {
    color: #8be8b0;
    padding-inline: 8px;
}

.account-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 210;
    width: min(16rem, calc(100vw - 24px));
    padding: 14px;
    border-radius: 12px;
    background: #151525;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.account-email {
    margin: 0 0 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    word-break: break-word;
}

.sync-status {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sync-status:empty {
    display: none;
    margin: 0;
}

.sync-status[data-status="success"] { color: #8be8b0; }
.sync-status[data-status="pending"] { color: #f8dbaa; }
.sync-status[data-status="error"] { color: #e74c3c; }


/* --- css/partials/settings.css --- */
.settings-menu {
    position: relative;
    flex-shrink: 0;
}

.nav-icon-btn:hover,
.nav-icon-btn[aria-expanded="true"] {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.settings-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 200;
    width: min(18rem, calc(100vw - 24px));
    max-height: min(85vh, 34rem);
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 12px;
    background: #151525;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.settings-heading {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.settings-section + .settings-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.settings-section.is-collapsed .settings-section-head {
    margin-bottom: 0;
}

.settings-section-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    min-width: 1.85rem;
    min-height: 1.85rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #d8d8ea;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
}

.settings-section-toggle:hover,
.settings-section-toggle:focus-visible {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.settings-section-chevron {
    display: block;
    width: 12px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.settings-section.is-collapsed .settings-section-chevron {
    transform: rotate(-90deg);
}

.settings-section-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-section-body[hidden] {
    display: none;
}

.settings-toggles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-toggles .variant-toggle {
    width: 100%;
    text-align: left;
}

.settings-density {
    display: none;
}

.settings-density-options {
    display: flex;
    gap: 8px;
}

.density-toggle {
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 12px;
}

.settings-collection-filter {
}

.settings-filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.collection-filter-toggle {
    width: 100%;
    text-align: left;
}

.currency-fx-meta {
    margin: 4px 0 0;
    font-size: 0.64rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.currency-fx-meta[hidden] {
    display: none;
}

.currency-picker {
    position: relative;
}

.currency-picker-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 32px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background-color: #222238;
    color: #f2f2f2;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f2f2f2' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.currency-picker-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.25);
    outline-offset: 2px;
    border-color: rgba(255, 255, 255, 0.35);
}

.currency-picker-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 120;
    max-height: min(16rem, 45vh);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: #1a1a2c;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.currency-picker-list[hidden] {
    display: none !important;
}

.currency-picker-section + .currency-picker-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.currency-picker-section-label {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0;
    padding: 8px 10px 6px;
    background: #1a1a2c;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.currency-picker-options {
    max-height: min(12rem, 34vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 4px 6px;
}

.currency-picker-section:first-child .currency-picker-options {
    max-height: min(4.5rem, 14vh);
}

.currency-picker-option {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.currency-picker-option:hover,
.currency-picker-option:focus {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.currency-picker-option--selected {
    background: rgba(139, 232, 176, 0.14);
    color: #b0f0c8;
}

.settings-currency-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.settings-backup-btn {
    width: 100%;
    margin-bottom: 8px;
}

.settings-backup-reminder {
    margin: -2px 0 10px;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.offline-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid rgba(255, 193, 92, 0.35);
    border-radius: 999px;
    background: rgba(255, 193, 92, 0.1);
    color: #ffd696;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.offline-status[hidden] {
    display: none;
}

.settings-clear-btn {
    width: 100%;
    margin-top: 4px;
}

.auth-dialog {
    width: 22rem;
    max-width: calc(100vw - 32px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: #151525;
    color: var(--text-light);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.auth-dialog::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.auth-dialog-title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
}

.auth-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.auth-input {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
    box-sizing: border-box;
}

.auth-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.auth-remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -2px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

.auth-remember-label[hidden] {
    display: none !important;
}

.auth-remember-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #8be8b0;
    flex: 0 0 auto;
}

.auth-error {
    margin: 0;
    min-height: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    color: #e74c3c;
}

.auth-error[hidden] {
    display: none;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guest-auth-panel .auth-btn--login {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.guest-auth-panel .auth-btn--login:hover {
    background: rgba(255, 255, 255, 0.14);
}

.guest-auth-panel .auth-btn--primary {
    color: #1a1a2e;
    background: linear-gradient(135deg, #8be8b0 0%, #5ecf8a 100%);
    border-color: #78dc8c;
}

.chase-toggle:hover,
.unreleased-toggle:hover,
.prices-toggle:hover,
.upgrade-buttons-toggle:hover,
.variant-toggle:hover,
.auth-btn:hover:not(.nav-icon-btn) {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

@media (hover: hover) {
    .nav-tab:hover {
        color: var(--text-light);
        background: rgba(255, 255, 255, 0.06);
    }

    .skylander-card:hover {
        background: var(--card-hover);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

.chase-toggle.active {
    color: #1a1a2e;
    background: linear-gradient(135deg, #ffd700 0%, #f0a500 100%);
    border-color: #ffd700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

.unreleased-toggle.active {
    color: #fff;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-color: #e74c3c;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.4);
}

.prices-toggle.active {
    color: #1a1a2e;
    background: linear-gradient(135deg, #8be8b0 0%, #5ecf8a 100%);
    border-color: #78dc8c;
    box-shadow: 0 0 12px rgba(120, 220, 140, 0.35);
}

.collection-filter-toggle.active {
    color: #1a1a2e;
    background: linear-gradient(135deg, #8be8b0 0%, #5ecf8a 100%);
    border-color: #78dc8c;
    box-shadow: 0 0 12px rgba(120, 220, 140, 0.35);
}

.upgrade-buttons-toggle.active {
    color: #1a1a2e;
    background: linear-gradient(135deg, #7ec8ff 0%, #4aa8e8 100%);
    border-color: #6ab8f0;
    box-shadow: 0 0 12px rgba(106, 184, 240, 0.35);
}

.nav-tab.nav-stat {
    appearance: none;
    -webkit-appearance: none;
    color: var(--text-muted);
    text-align: center;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    touch-action: manipulation;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    overflow: visible;
}

.nav-tab-logo-wrap {
    width: 100%;
    line-height: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-filter:
        brightness(1.06)
        contrast(1.04)
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.72))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.14))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38));
    filter:
        brightness(1.06)
        contrast(1.04)
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.72))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.14))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38));
}

.nav-tab.active .nav-tab-logo-wrap {
    -webkit-filter:
        brightness(1.09)
        contrast(1.05)
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.78))
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.18))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38));
    filter:
        brightness(1.09)
        contrast(1.05)
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.78))
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.18))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38));
}

.nav-tab-logo {
    display: block;
    width: 100%;
    height: var(--nav-logo-height, 1.75rem);
    max-height: var(--nav-logo-height, 1.75rem);
    object-fit: contain;
    object-position: center;
    opacity: 1;
    pointer-events: none;
}

.nav-game-count {
    color: var(--tab-color, var(--text-muted));
}

.nav-tab.active {
    color: var(--tab-color, var(--text-light));
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 -3px 0 var(--tab-color, var(--text-light));
}

.nav-tab[data-tab="ssa"] {
    --tab-color: var(--color-ssa);
}

.nav-tab[data-tab="giants"] {
    --tab-color: var(--color-giants);
}

.nav-tab[data-tab="swap"] {
    --tab-color: var(--color-swap);
}

.nav-tab[data-tab="trap"] {
    --tab-color: var(--color-trap);
}

.nav-tab[data-tab="super"] {
    --tab-color: var(--color-super);
}

.nav-tab[data-tab="imaginators"] {
    --tab-color: var(--color-imaginators);
}


/* --- css/partials/layout.css --- */
.tab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tab-panel.active {
  display: block;
}

body.all-figures-mode .tab-panel {
  display: block !important;
}

html:has(body.all-figures-mode) {
  scrollbar-width: none;
}

html:has(body.all-figures-mode)::-webkit-scrollbar {
  display: none;
}

body.all-figures-mode {
  scrollbar-width: none;
}

body.all-figures-mode::-webkit-scrollbar {
  display: none;
}

body.all-figures-mode main {
  padding-right: max(36px, calc(28px + env(safe-area-inset-right)));
}

body.all-figures-mode {
  --all-content-gutter: max(16px, env(safe-area-inset-left));
  --all-rail-size: 16px;
  --all-rail-edge: max(10px, env(safe-area-inset-right));
}

.all-game-logo {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 28px 16px 10px;
}

body.all-figures-mode .all-game-logo {
  display: flex;
  scroll-margin-top: var(--all-nav-offset, 84px);
}

.all-game-logo-img {
  display: block;
  width: auto;
  max-width: min(320px, 78vw);
  max-height: 72px;
  object-fit: contain;
}

.all-scroll-rail {
  display: none;
  position: fixed;
  top: var(--all-rail-top, 96px);
  right: var(--all-rail-edge, max(10px, env(safe-area-inset-right)));
  z-index: 45;
  width: var(--all-rail-size, 16px);
  height: var(--all-rail-height, min(78vh, calc(100dvh - 120px)));
  pointer-events: none;
}

body.all-figures-mode .all-scroll-rail {
  display: block;
}

body.all-figures-mode .all-scroll-rail[hidden] {
  display: none !important;
}

.all-scroll-track {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
}

.all-scroll-segments {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 2px;
  border-radius: 999px;
  overflow: hidden;
}

.all-scroll-segment {
  display: block;
  flex: 1 1 0;
  min-height: 4px;
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0.42;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.all-scroll-segment[hidden] {
  display: none !important;
  flex: 0 0 0 !important;
  min-height: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.all-scroll-segment[data-game="ssa"] {
  background: var(--color-ssa);
}
.all-scroll-segment[data-game="giants"] {
  background: var(--color-giants);
}
.all-scroll-segment[data-game="swap"] {
  background: var(--color-swap);
}
.all-scroll-segment[data-game="trap"] {
  background: var(--color-trap);
}
.all-scroll-segment[data-game="super"] {
  background: var(--color-super);
}
.all-scroll-segment[data-game="imaginators"] {
  background: var(--color-imaginators);
}

.all-scroll-segment:hover,
.all-scroll-segment.is-current {
  opacity: 1;
}

.all-scroll-segment:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  opacity: 1;
}

.all-scroll-thumb {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 0;
  width: auto;
  height: 4px;
  margin: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.34),
    0 1px 4px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}

@media (max-width: 720px) {
  body.all-figures-mode {
    --all-content-gutter: max(16px, env(safe-area-inset-left));
    --all-rail-size: 18px;
    --all-rail-edge: max(8px, env(safe-area-inset-right));
  }

  body.all-figures-mode main {
    padding-left: var(--all-content-gutter);
    padding-right: calc(
      var(--all-content-gutter) + var(--all-rail-size) + var(--all-rail-edge)
    );
  }

  .all-scroll-rail {
    right: var(--all-rail-edge);
    width: var(--all-rail-size);
  }

  .all-scroll-thumb {
    left: 2px;
    right: 2px;
    height: 5px;
  }

  body.all-figures-mode .container {
    gap: 8px;
  }

  body.all-figures-mode .skylander-card {
    padding: 18px 4px 6px;
  }

  body.all-figures-mode .skylander-card img {
    height: 92px;
    max-width: 120px;
  }

  body.all-figures-mode .skylander-card label {
    font-size: 0.74rem;
    min-height: 2.25em;
  }

  body.all-figures-mode .section-header-row {
    gap: 6px;
  }

  body.all-figures-mode .section-header .title-card,
  body.all-figures-mode .game-header .title-card {
    font-size: 0.9rem;
    padding: 7px 10px;
    min-height: 36px;
  }

  body.all-figures-mode button.section-total {
    min-width: 4rem;
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  body.all-figures-mode .all-game-logo {
    padding: 22px 8px 8px;
  }

  body.all-figures-mode .all-game-logo-img {
    max-height: 60px;
    max-width: min(240px, 68vw);
  }

  body.all-figures-mode .wanted-toggle {
    top: 5px;
    right: 5px;
    font-size: 0.52rem;
    padding: 2px 5px;
  }
}

.collection-search-results {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  padding: 0 max(16px, env(safe-area-inset-right)) 32px
    max(16px, env(safe-area-inset-left));
}

.collection-search-results[hidden] {
  display: none;
}

.collection-search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.collection-search-results-kicker {
  margin: 0 0 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collection-search-results-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  line-height: 1.2;
}

.collection-search-clear {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.collection-search-clear:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
}

.collection-search-results-list {
  padding: 8px 0 20px;
}

.collection-search-results-list:has(.collection-search-empty) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(48vh, 380px);
}

.collection-search-results .price-block {
  pointer-events: none;
}

.collection-search-empty,
.collection-filter-empty-state {
  margin: 0;
  padding: 18px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 28rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-header,
.section-header {
  margin: 20px 0 12px;
}

.section-block .section-header {
  margin: 16px 0 12px;
}

.section-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.game-header .title-card,
.section-header .title-card {
  margin: 0;
  min-width: 0;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 1.1rem;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.section-total,
.section-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

button.section-total {
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

button.section-total[data-mode="collect"] {
  color: var(--game-color);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

button.section-total[data-mode="collect"]:hover:not(:disabled) {
  color: #8be8b0;
  border-color: rgba(120, 220, 140, 0.45);
  background: rgba(120, 220, 140, 0.12);
  box-shadow: 0 0 10px rgba(120, 220, 140, 0.12);
}

button.section-total[data-mode="uncollect"] {
  color: #8be8b0;
  border: 1px solid rgba(120, 220, 140, 0.45);
  background: rgba(120, 220, 140, 0.1);
  box-shadow: inset 0 0 0 1px rgba(120, 220, 140, 0.2);
}

button.section-total[data-mode="uncollect"]:hover:not(:disabled) {
  color: #f0a8a0;
  border-color: rgba(231, 76, 60, 0.45);
  background: rgba(231, 76, 60, 0.12);
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.12);
}

button.section-total:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.section-total-count {
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.title-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--game-color) 0%,
    var(--game-color-deep) 100%
  );
  color: #1a1a2e;
  box-shadow: var(--shadow);
}

.tab-panel[data-game="ssa"] {
  --game-color: var(--color-ssa);
  --game-color-deep: var(--color-ssa-deep);
}
.tab-panel[data-game="giants"] {
  --game-color: var(--color-giants);
  --game-color-deep: var(--color-giants-deep);
}
.tab-panel[data-game="swap"] {
  --game-color: var(--color-swap);
  --game-color-deep: var(--color-swap-deep);
}
.tab-panel[data-game="trap"] {
  --game-color: var(--color-trap);
  --game-color-deep: var(--color-trap-deep);
}
.tab-panel[data-game="super"] {
  --game-color: var(--color-super);
  --game-color-deep: var(--color-super-deep);
}
.tab-panel[data-game="imaginators"] {
  --game-color: var(--color-imaginators);
  --game-color-deep: var(--color-imaginators-deep);
}

.section-block {
  margin-top: 8px;
}

.section-block > .title-card {
  margin: 20px 0 12px;
}

.container:empty {
  display: none;
}

.chase-hidden .chase-section,
.chase-hidden .skylander-card--chase {
  display: none;
}

.unreleased-hidden .skylander-card--unreleased {
  display: none;
}

body[data-collection-filter="missing"] main .skylander-card.collected,
body[data-collection-filter="collected"] main .skylander-card:not(.collected),
body[data-collection-filter="wanted"] main .skylander-card:not(.wanted),
body[data-collection-filter="needs-replacing"]
  main
  .skylander-card:not(.needs-replacing) {
  display: none;
}

body[data-collection-filter]:not([data-collection-filter="all"])
  .section-block.collection-filter-empty,
body[data-collection-filter]:not([data-collection-filter="all"])
  .section-header.collection-filter-empty,
body[data-collection-filter]:not([data-collection-filter="all"])
  .collectible-container.collection-filter-empty,
body[data-collection-filter]:not([data-collection-filter="all"])
  .all-game-logo.collection-filter-empty {
  display: none;
}

body.all-figures-mode .tab-panel.collection-filter-empty-game {
  display: none !important;
}

.tab-panel.active:has(> .collection-filter-empty-state:not([hidden])) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 420px);
  padding-block: 2rem;
}

#collection-filter-empty-global:not([hidden]) {
  display: block;
  margin: min(22vh, 9rem) auto 3rem;
}

body.all-figures-mode:has(#collection-filter-empty-global:not([hidden])) .tab-panel {
  display: none !important;
}

.collection-filter-empty-state[hidden] {
  display: none !important;
}

.prices-hidden .price-block {
  display: none;
}

.price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.price-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.price-field[hidden] {
  display: none;
}

.price-field-label {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prices-hidden .price-input-wrap {
  display: none;
}

.container {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0 20px;
  align-items: start;
}

/* --- css/partials/cards.css --- */
.skylander-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 24px 8px 10px;
    border-radius: 12px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: inset 0 0 0 0 transparent;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    content-visibility: auto;
    contain-intrinsic-size: 200px 220px;
}

.skylander-card:active:not(.collected) {
    background-color: var(--card-hover);
}

.skylander-card:focus-visible {
    outline: 3px solid rgba(139, 232, 176, 0.75);
    outline-offset: 3px;
    box-shadow:
        inset 0 0 0 1px rgba(120, 220, 140, 0.45),
        0 0 0 5px rgba(139, 232, 176, 0.12);
}

.skylander-card.collected {
    background-color: rgba(120, 220, 140, 0.08);
    box-shadow: inset 0 0 0 1px rgba(120, 220, 140, 0.55);
}

.skylander-card.wanted:not(.collected) {
    background-color: rgba(255, 193, 92, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 193, 92, 0.5);
}

.skylander-card.collected.wanted {
    box-shadow:
        inset 0 0 0 1px rgba(120, 220, 140, 0.55),
        0 0 0 2px rgba(255, 193, 92, 0.16);
}

.wanted-toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    padding: 3px 6px;
    border: 1px solid rgba(255, 193, 92, 0.38);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 214, 150, 0.86);
    font: inherit;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wanted-toggle:hover,
.wanted-toggle:focus-visible {
    border-color: rgba(255, 193, 92, 0.75);
    background: rgba(255, 193, 92, 0.14);
    color: #ffd696;
    outline: none;
}

.wanted-toggle.active {
    border-color: #ffc15c;
    background: linear-gradient(135deg, #ffc15c 0%, #f0a13a 100%);
    color: #1a1a2e;
    box-shadow: 0 0 10px rgba(255, 193, 92, 0.28);
}

.skylander-card.collected .wanted-toggle {
    display: none;
}

.skylander-card.needs-replacing.collected {
    background-color: rgba(255, 132, 110, 0.08);
    box-shadow:
        inset 0 0 0 1px rgba(120, 220, 140, 0.55),
        0 0 0 2px rgba(255, 132, 110, 0.22);
}

.needs-replacing-toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    display: none;
    padding: 3px 6px;
    border: 1px solid rgba(255, 132, 110, 0.4);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 180, 164, 0.9);
    font: inherit;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.skylander-card.collected .needs-replacing-toggle {
    display: inline-flex;
}

.needs-replacing-toggle:hover,
.needs-replacing-toggle:focus-visible {
    border-color: rgba(255, 132, 110, 0.8);
    background: rgba(255, 132, 110, 0.14);
    color: #ffc4b6;
    outline: none;
}

.needs-replacing-toggle.active {
    border-color: #ff846e;
    background: linear-gradient(135deg, #ff846e 0%, #e45a45 100%);
    color: #1a1a2e;
    box-shadow: 0 0 10px rgba(255, 132, 110, 0.28);
}

.quantity-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    min-width: 1.6rem;
    padding: 3px 6px;
    border: 1px solid rgba(126, 200, 255, 0.5);
    border-radius: 999px;
    background: rgba(126, 200, 255, 0.14);
    color: #bfe6ff;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    pointer-events: none;
}

.skylander-card.collected:focus-visible {
    box-shadow:
        inset 0 0 0 1px rgba(120, 220, 140, 0.65),
        0 0 0 5px rgba(139, 232, 176, 0.14);
}

.skylander-card.is-collecting {
    animation: card-collect-in 0.3s ease-out forwards;
}

@keyframes card-collect-in {
    from {
        background-color: var(--card-bg);
        box-shadow: inset 0 0 0 0 rgba(120, 220, 140, 0);
    }

    to {
        background-color: rgba(120, 220, 140, 0.08);
        box-shadow: inset 0 0 0 1px rgba(120, 220, 140, 0.55);
    }
}

.skylander-card--chase {
    border-color: rgba(255, 215, 0, 0.35);
}

.skylander-card--unreleased {
    border-color: rgba(231, 76, 60, 0.45);
}

.skylander-card--chase .chase-badge {
    display: block;
}

.skylander-card--unreleased .unreleased-badge {
    display: block;
}

.chase-badge,
.unreleased-badge {
    display: none;
    position: absolute;
    top: 6px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.chase-badge {
    background: linear-gradient(135deg, #ffd700 0%, #f0a500 100%);
    color: #1a1a2e;
}

.unreleased-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.collection-check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.price-input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 6.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.price-input-wrap--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.price-input-wrap:focus-within {
    border-color: rgba(120, 220, 140, 0.55);
    box-shadow: 0 0 0 2px rgba(120, 220, 140, 0.15);
}

.price-input-symbol {
    padding: 6px 0 6px 8px;
    color: #8be8b0;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
    background: transparent;
    user-select: none;
}

.price-input-symbol::before {
    content: var(--currency-symbol, "£");
}

.price-input {
    width: 100%;
    min-width: 0;
    padding: 6px 8px 6px 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: left;
    cursor: text;
    user-select: text;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-input:focus {
    outline: none;
    box-shadow: none;
}

.price-input:-webkit-autofill,
.price-input:-webkit-autofill:hover,
.price-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-light);
    caret-color: var(--text-light);
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.2) inset;
    transition: background-color 9999s ease-out 0s;
}

.price-input:disabled {
    cursor: not-allowed;
}

.price-input::placeholder {
    color: rgba(184, 184, 200, 0.55);
}

.skylander-card:has(.price-input:focus) {
    cursor: default;
}

.skylander-card img {
    width: 100%;
    max-width: 160px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.skylander-card label {
    width: 100%;
    min-height: 2.6em;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-light);
    line-height: 1.3;
}

.figure-upgrades-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: min(100%, 7.5rem);
    min-height: 34px;
    margin-top: 4px;
    padding: 7px 12px;
    border: 1px solid rgba(139, 232, 176, 0.35);
    border-radius: 999px;
    background: rgba(139, 232, 176, 0.08);
    color: #8be8b0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    touch-action: manipulation;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(139, 232, 176, 0.06);
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.figure-upgrades-link::after {
    content: "→";
    font-size: 0.72rem;
    line-height: 1;
}

.figure-upgrades-link:hover,
.figure-upgrades-link:focus-visible {
    background: rgba(139, 232, 176, 0.16);
    border-color: rgba(139, 232, 176, 0.55);
    color: #b0f0c8;
    box-shadow: 0 0 0 3px rgba(139, 232, 176, 0.12);
    outline: none;
}

body.upgrade-buttons-hidden .figure-upgrades-link {
    display: none;
}


/* --- css/partials/responsive.css --- */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .nav {
        gap: 8px;
        padding-inline: max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-left));
        grid-template-columns: auto minmax(0, 1fr) minmax(10rem, 13rem) auto;
        --nav-stat-width: 5.5rem;
        --nav-stat-pad-block: 8px;
        --nav-stat-padding: var(--nav-stat-pad-block) 6px;
        --nav-logo-height: 1.6rem;
    }

    .collection-search {
        min-width: 0;
    }

    .nav-tab-name {
        font-size: 0.68rem;
    }

    .nav-tab-logo-wrap {
        -webkit-filter:
            brightness(1.08)
            contrast(1.05)
            drop-shadow(0 0 1px rgba(255, 255, 255, 0.8))
            drop-shadow(0 0 7px rgba(255, 255, 255, 0.24))
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.1))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
        filter:
            brightness(1.08)
            contrast(1.05)
            drop-shadow(0 0 1px rgba(255, 255, 255, 0.8))
            drop-shadow(0 0 7px rgba(255, 255, 255, 0.24))
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.1))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    }

    .nav-tab.active .nav-tab-logo-wrap {
        -webkit-filter:
            brightness(1.1)
            contrast(1.06)
            drop-shadow(0 0 1px rgba(255, 255, 255, 0.84))
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.28))
            drop-shadow(0 0 13px rgba(255, 255, 255, 0.12))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
        filter:
            brightness(1.1)
            contrast(1.06)
            drop-shadow(0 0 1px rgba(255, 255, 255, 0.84))
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.28))
            drop-shadow(0 0 13px rgba(255, 255, 255, 0.12))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    }
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .skylander-card img {
        height: 120px;
    }

    .game-header .title-card,
    .section-header .title-card {
        font-size: 1rem;
        padding: 8px 12px;
    }

    body.all-figures-mode .skylander-card img {
        height: 108px;
        max-width: 130px;
    }
}

@media (max-width: 720px) and (pointer: coarse) {
    .settings-density {
        display: block;
    }

    .settings-section-toggle {
        width: 2.25rem;
        height: 2.25rem;
        min-width: 2.25rem;
        min-height: 2.25rem;
    }

    .settings-section-chevron {
        width: 14px;
        height: 9px;
    }
}

@media (max-width: 720px) {
    .container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .nav {
        --nav-stat-width: 5.25rem;
        --nav-logo-height: 1.5rem;
    }

    .nav-total.nav-stat {
        flex: 0 0 auto;
        font-size: 0.58rem;
        width: auto;
        min-width: calc(12ch + 0.75rem);
        max-width: none;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        padding: 2px 5px;
        gap: 0;
        justify-content: center;
    }

    .nav-total-label {
        font-size: 0.46rem;
        letter-spacing: 0.02em;
        padding: 0;
    }

    .nav-total .nav-stat-count {
        min-height: 0;
        width: auto;
        min-width: 11ch;
        max-width: none;
        padding: 1px 3px;
        font-size: inherit;
        line-height: 1.1;
        border-radius: 3px;
        white-space: nowrap;
    }

    .nav-total-spent {
        width: 100%;
        font-size: 0.44rem;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .skylander-card {
        padding: 20px 6px 8px;
    }

    .skylander-card img {
        height: 108px;
    }

    .skylander-card label {
        font-size: 0.8rem;
        min-height: 2.5em;
    }

    .section-header-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    button.section-total {
        width: auto;
        min-width: 4.25rem;
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .section-header .title-card {
        font-size: 0.95rem;
        min-height: 38px;
        padding: 8px 10px;
    }

    .settings-panel,
    .account-panel {
        width: min(18rem, calc(100vw - 20px));
    }
}

@media (max-width: 520px) {
    main {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .nav {
        gap: 8px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        --nav-stat-width: 5rem;
        --nav-logo-height: 1.45rem;
    }

    .nav.nav-games-compact {
        flex-wrap: wrap;
    }

    .nav-actions {
        grid-column: 3;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .nav.nav-games-compact .nav-actions {
        flex-wrap: nowrap;
    }

    .settings-panel {
        position: fixed;
        top: calc(max(8px, env(safe-area-inset-top)) + 52px);
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        width: auto;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    .collection-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }

    .nav.nav-games-compact .collection-search {
        flex: 1 0 100%;
        width: 100%;
        min-width: 0;
        order: 10;
    }

    .collection-search-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .collection-search-clear {
        width: 100%;
    }

    .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 4px 0 16px;
    }

    body.comfortable-grid .container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.comfortable-grid .skylander-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        column-gap: 12px;
        min-height: 132px;
        padding: 14px 12px;
        text-align: left;
    }

    body.comfortable-grid .skylander-card img {
        grid-row: 1 / -1;
        width: 112px;
        height: 112px;
    }

    body.comfortable-grid .skylander-card label {
        align-self: end;
        min-height: 0;
        font-size: 0.9rem;
        text-align: left;
    }

    body.comfortable-grid .price-block {
        align-items: flex-start;
    }

    body.comfortable-grid .figure-upgrades-link {
        justify-self: start;
        width: auto;
        min-width: 7.5rem;
    }

    .skylander-card img {
        height: 96px;
    }

    .skylander-card label {
        font-size: 0.76rem;
        min-height: 2.35em;
    }

    .game-header,
    .section-header {
        margin: 14px 0 8px;
    }

    .section-block .section-header {
        margin: 10px 0 8px;
    }

    .title-card {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .site-footer {
        padding-inline: 12px;
    }

    .legal-dialog {
        width: min(26rem, calc(100vw - 20px));
    }

    body.all-figures-mode .container {
        gap: 6px;
    }

    body.all-figures-mode {
        --all-content-gutter: max(14px, env(safe-area-inset-left));
        --all-rail-size: 18px;
        --all-rail-edge: max(8px, env(safe-area-inset-right));
    }

    body.all-figures-mode main {
        padding-left: var(--all-content-gutter);
        padding-right: calc(var(--all-content-gutter) + var(--all-rail-size) + var(--all-rail-edge));
    }

    body.all-figures-mode .skylander-card img {
        height: 84px;
        max-width: 108px;
    }

    body.all-figures-mode .skylander-card label {
        font-size: 0.7rem;
        min-height: 2.15em;
    }

    body.all-figures-mode .section-header .title-card,
    body.all-figures-mode .game-header .title-card {
        font-size: 0.85rem;
        padding: 6px 8px;
        min-height: 34px;
    }

    body.all-figures-mode button.section-total {
        min-width: 3.6rem;
        min-height: 34px;
        padding: 6px 7px;
        font-size: 0.72rem;
    }

    body.all-figures-mode .all-game-logo-img {
        max-height: 52px;
        max-width: min(220px, 64vw);
    }
}

@media (max-width: 360px) {
    .nav {
        --nav-stat-width: 4.75rem;
        --nav-logo-height: 1.35rem;
    }

    .container {
        gap: 6px;
    }

    .skylander-card {
        padding-inline: 4px;
    }

    .price-input-wrap {
        max-width: 100%;
    }
}
