/* ============================================================
   Anno — design system
   Dark, premium lifestyle-brand baseline. No Bootstrap.
   Type: Anton (display) + Archivo (body), linked in _Layout.
   Production: swap the Google <link> for self-hosted
   @font-face -> /fonts/*.woff2 (same families, no code change).
   ============================================================ */

:root {
    /* surfaces */
    --ink: #0B0B0C;
    --surface: #131316;
    --surface-2: #17181C;
    --surface-control: #111B1C;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --nav-bg: rgba(11, 11, 12, 0.85);
    --surface-hover: #1C1D22;
    --teal: #55D6BE;
    --verification: #35D5C4;
    --verification-ink: #071714;
    --ghost: rgba(255, 255, 255, 0.06);
    --overlay-line: rgba(255, 255, 255, 0.24);
    --overlay-fill: rgba(255, 255, 255, 0.08);
    color-scheme: dark;
    /* text */
    --text: #F4F3EF;
    --muted: #8A8A86;
    --muted-2: #6E6E69;
    /* brand */
    --accent: #FF5A2C;
    --accent-hover: #FF6B41;
    --accent-ink: #1A0A03;
    --caution: #C9A24B;
    --danger: #FF6B6B;
    /* type */
    --font-display: "Anton", "Oswald", "Arial Narrow", system-ui, sans-serif;
    --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    /* radius */
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --r-pill: 999px;
    /* layout */
    --maxw: 1120px;
}

    /* ---- day mode: overrides the tokens; dark stays the default above ---- */
    :root[data-theme="light"] {
        --ink: #EFEEE9;
        --surface: #FFFFFF;
        --surface-2: #F6F5F0;
        --surface-control: #EAF1EF;
        --surface-hover: #F0EEE7;
        --nav-bg: rgba(248, 247, 243, 0.88);
        --line: rgba(0, 0, 0, 0.10);
        --line-strong: rgba(0, 0, 0, 0.18);
        --text: #17171B;
        --muted: #5B5B55;
        --muted-2: #8A8A82;
        --teal: #0E8C7A;
        --caution: #8C6E16;
        --danger: #C2362F;
        --ghost: rgba(0, 0, 0, 0.07);
        --overlay-line: rgba(0, 0, 0, 0.16);
        --overlay-fill: rgba(0, 0, 0, 0.05);
        color-scheme: light;
    }

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color .15s ease;
}

    a:hover {
        color: var(--accent);
    }

h1, h2, h3 {
    margin: 0 0 0.5em;
    font-weight: 600;
    line-height: 1.15;
}

p {
    margin: 0 0 1rem;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---- utilities ---- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.display {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.cap {
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.muted {
    color: var(--muted);
}

.accent {
    color: var(--accent);
}

.page {
    padding-top: 56px;
    padding-bottom: 64px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- nav ---- */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav__brand {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.22em;
    color: var(--text);
}

    .nav__brand:hover {
        color: var(--text);
    }

.nav__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav__menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

    .nav__menu-toggle span {
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform .16s ease, opacity .16s ease;
    }

    .nav__menu-toggle--open span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .nav__menu-toggle--open span:nth-child(2) {
        opacity: 0;
    }

    .nav__menu-toggle--open span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

.nav__link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

    .nav__link:hover, .nav__link--active {
        color: var(--text);
    }

@media (max-width: 860px) {
    .nav__inner {
        position: relative;
    }

    .nav__menu-toggle {
        display: inline-flex;
    }

    .nav__links {
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        left: 16px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        border: 1px solid var(--line);
        border-radius: var(--r);
        background: var(--surface);
        box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
        padding: 12px;
    }

    .nav__links--open {
        display: flex;
    }

    .nav__link {
        padding: 12px 10px;
    }

    .theme-toggle {
        align-self: flex-start;
    }

    .account-menu {
        align-self: flex-start;
    }
}

.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: none;
    color: var(--muted);
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}

    .theme-toggle:hover {
        color: var(--text);
        border-color: var(--line-strong);
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }

.theme-toggle__sun {
    display: inline;
}

.theme-toggle__moon {
    display: none;
}

[data-theme="light"] .theme-toggle__sun {
    display: none;
}

[data-theme="light"] .theme-toggle__moon {
    display: inline;
}

.account-menu {
    position: relative;
}

    .account-menu summary {
        list-style: none;
    }

        .account-menu summary::-webkit-details-marker {
            display: none;
        }

.account-menu__trigger {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
}

    .account-menu__trigger img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    .account-menu__trigger span {
        color: var(--text);
        font-size: 13px;
        font-weight: 800;
        line-height: 1;
    }

    .account-menu__trigger i {
        position: absolute;
        top: -1px;
        right: -1px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #FF3B30;
        border: 2px solid var(--ink);
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.35);
    }

.account-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 190px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    background: var(--surface);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
    padding: 8px;
    display: grid;
    gap: 4px;
    z-index: 30;
}

.account-menu:not([open]) .account-menu__panel {
    display: none;
}

.account-menu__panel a, .account-menu__panel button {
    width: 100%;
    border: 0;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 11px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
}

    .account-menu__panel a:hover, .account-menu__panel button:hover {
        background: var(--surface-2);
        color: var(--text);
    }

.account-menu__panel form {
    margin: 0;
}

.account-menu__panel span {
    min-width: 20px;
    height: 20px;
    border-radius: var(--r-pill);
    background: #FF3B30;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 10px;
    letter-spacing: 0;
}

/* ---- buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 13px 24px;
    border-radius: var(--r);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: transform .04s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

    .btn:active {
        transform: scale(0.98);
    }

.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
}

    .btn--primary:hover {
        background: var(--accent-hover);
        color: var(--accent-ink);
    }

.btn--ghost {
    border-color: var(--line-strong);
    color: var(--text);
}

    .btn--ghost:hover {
        border-color: var(--text);
    }

.btn--scan {
    background: #55D6BE;
    border-color: #55D6BE;
    color: #061615;
}

    .btn--scan:hover {
        background: #7BE3D0;
        border-color: #7BE3D0;
        color: #061615;
    }

.btn--compact {
    padding: 9px 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
    border-radius: var(--r-sm);
}

.btn--block {
    width: 100%;
}

.linkbtn {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

    .linkbtn:hover {
        color: var(--accent);
    }

/* ---- forms ---- */
.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .input::placeholder {
        color: var(--muted-2);
    }

    .input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(255, 90, 44, 0.18);
    }

.input--compact {
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: var(--r-sm);
}

/* ---- card ---- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
}

.admin-job-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 22px;
    align-items: start;
}

.catalog-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    gap: 14px;
    align-items: end;
}

.catalog-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

    .catalog-admin-grid .section-title {
        margin-top: 0;
    }

.catalog-admin-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

    .check-row input {
        width: 16px;
        height: 16px;
        accent-color: var(--accent);
    }

.check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-table {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
}

    .admin-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .admin-table th, .admin-table td {
        padding: 14px 16px;
        border-bottom: 1px solid var(--line);
        text-align: left;
        vertical-align: middle;
        font-size: 13px;
    }

    .admin-table th {
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-size: 10px;
        background: rgba(85, 214, 190, 0.05);
    }

    .admin-table tr:last-child td {
        border-bottom: 0;
    }

    .admin-table strong {
        display: block;
        color: var(--text);
        font-size: 14px;
        line-height: 1.25;
    }

    .admin-table small {
        display: block;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.35;
        max-width: 420px;
        overflow-wrap: anywhere;
    }

.admin-list {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

.admin-list__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

    .admin-list__row:last-child {
        border-bottom: 0;
    }

    .admin-list__row strong {
        color: var(--text);
        overflow-wrap: anywhere;
    }

    .admin-list__row span {
        color: var(--muted);
        font-size: 12px;
        white-space: nowrap;
    }

.invite-admin-actions {
    display: grid;
    gap: 8px;
    min-width: 230px;
}

    .invite-admin-actions form {
        display: flex;
        gap: 8px;
        align-items: center;
    }

.text-danger {
    color: var(--accent) !important;
}

.job-callouts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.job-callout {
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: var(--r-sm);
    padding: 12px 14px;
    background: var(--surface-2);
    display: grid;
    gap: 5px;
}

    .job-callout strong {
        color: var(--text);
        font-size: 13px;
        line-height: 1.25;
    }

    .job-callout span, .job-callout small {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.35;
    }

.job-callout--critical {
    border-left-color: #FF5A2C;
}

.job-callout--warning {
    border-left-color: #F3C66E;
}

.job-health {
    margin-top: 6px;
}

.job-health--critical {
    color: #FF8A6A !important;
}

.job-health--warning {
    color: #F3C66E !important;
}

/* ---- key/value list ---- */
.kv {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 18px;
    margin: 0;
    font-size: 14px;
}

    .kv dt {
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-size: 11px;
        align-self: center;
    }

    .kv dd {
        margin: 0;
        color: var(--text);
        word-break: break-all;
    }

/* ---- layout shell ---- */
.main {
    flex: 1 0 auto;
}

.footer {
    border-top: 1px solid var(--line);
    color: var(--muted-2);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    flex-wrap: wrap;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.legal-page__inner {
    max-width: 980px;
}

.legal-page__title {
    margin: 10px 0 12px;
    font-size: clamp(54px, 9vw, 104px);
    line-height: .9;
    text-transform: uppercase;
}

.legal-page__updated {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 14px;
}

.legal-summary {
    margin-bottom: 42px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 82, 48, .42);
    border-left: 5px solid var(--accent);
    background: rgba(255, 82, 48, .07);
}

.legal-summary--dark {
    color: #fffdf8;
    background: #17181c;
    border-color: #17181c;
    border-left-color: var(--accent);
}

.legal-summary strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Archivo", sans-serif;
    font-size: 20px;
}

.legal-summary p {
    margin: 0;
    line-height: 1.65;
}

.legal-copy {
    display: grid;
    gap: 0;
}

.legal-copy section {
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

.legal-copy h2 {
    margin: 0 0 16px;
    font-family: "Anton", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legal-copy h3 {
    margin: 24px 0 8px;
    font-size: 18px;
}

.legal-copy p,
.legal-copy li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.legal-copy p {
    margin: 0 0 14px;
}

.legal-copy ul {
    margin: 10px 0 14px;
    padding-left: 24px;
}

.legal-copy a,
.signup-consent a,
.signup-legal-callout a {
    color: var(--accent);
    font-weight: 700;
}

.signup-legal-callout {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.signup-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.signup-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--accent);
}

.footer a {
    color: var(--muted);
}

    .footer a:hover {
        color: var(--accent);
    }

/* ---- hero (home) ---- */
.hero {
    padding-top: 84px;
    padding-bottom: 100px;
}

.hero__over {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 22px;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(56px, 12vw, 132px);
    line-height: 1.0; /* leading: more air between the two lines */
    letter-spacing: 0.04em; /* kerning: looser tracking */
    margin: 0 0 18px;
    display: inline-block;
    transform: scaleY(0.92); /* squat: ~8% shorter, un-stretches Anton. dial 0.88–0.96 to taste */
    transform-origin: left top;
}

.hero__sub {
    max-width: 48ch;
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---- prelaunch landing ---- */
.prelaunch {
    overflow: hidden;
    background: radial-gradient(circle at 74% 10%, rgba(255, 90, 44, 0.16), transparent 32%), linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 34%), var(--ink);
}

.prelaunch-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
    gap: 48px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 20px;
}

.footer__legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__legal button {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.footer__legal button:hover,
.footer__legal button:focus-visible {
    color: var(--accent);
}

.privacy-control {
    position: fixed;
    z-index: 1200;
    right: 22px;
    bottom: 22px;
    width: min(440px, calc(100vw - 32px));
    padding: 24px;
    border: 1px solid var(--line-strong);
    border-top: 4px solid var(--teal);
    border-radius: var(--r-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.privacy-control[hidden] {
    display: none;
}

.privacy-control__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.privacy-control__close:hover,
.privacy-control__close:focus-visible {
    color: var(--text);
}

.privacy-control__eyebrow {
    margin: 0 0 7px;
    color: var(--teal);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.privacy-control h2 {
    margin: 0 34px 10px 0;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.privacy-control > p:not(.privacy-control__eyebrow) {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.privacy-control__gpc {
    margin-top: 12px !important;
    padding: 10px 12px;
    border-left: 3px solid var(--teal);
    background: color-mix(in srgb, var(--teal) 10%, transparent);
    color: var(--text) !important;
}

.privacy-control__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.privacy-control__actions .btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 11px 14px;
    font-size: 11px;
}

.privacy-control__actions button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.privacy-control__meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.privacy-control__meta a {
    color: var(--teal);
    font-weight: 700;
}

.privacy-control__meta span {
    text-align: right;
}

@media (max-width: 520px) {
    .privacy-control {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        padding: 20px;
    }

    .privacy-control__actions {
        flex-direction: column;
    }

    .privacy-control__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .privacy-control__meta span {
        text-align: left;
    }
}

.prelaunch-eyebrow,
.prelaunch-kicker {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.prelaunch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

    .prelaunch-eyebrow::before {
        content: "";
        width: 36px;
        height: 2px;
        background: var(--accent);
    }

.prelaunch-title {
    font-size: clamp(78px, 13vw, 156px);
    line-height: 0.88;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.prelaunch-sub {
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
    margin-bottom: 30px;
}

    .prelaunch-sub strong {
        display: block;
        color: var(--text);
        font-weight: 800;
    }

.prelaunch-waitlist {
    width: min(100%, 620px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 18px;
}

.prelaunch-beta-link {
    width: min(100%, 620px);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -2px 0 16px;
    padding: 12px 16px;
    border: 1px solid rgba(47, 201, 185, 0.5);
    border-radius: var(--r-sm);
    background: rgba(47, 201, 185, 0.08);
    color: var(--text);
    font-size: 14px;
    transition: border-color .15s ease, background .15s ease;
}

.prelaunch-signup-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prelaunch-signin__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

:root[data-theme="light"] .prelaunch-signup-actions .prelaunch-signin {
    border-color: rgba(23, 23, 27, 0.3);
    background: rgba(255, 255, 255, 0.58);
    color: var(--text);
}

:root[data-theme="light"] .prelaunch-signup-actions .prelaunch-signin:hover {
    border-color: var(--text);
    background: rgba(23, 23, 27, 0.08);
    color: var(--text);
}

.prelaunch-founding-note {
    cursor: default;
}

.prelaunch-founding-note:hover {
    border-color: rgba(47, 201, 185, 0.5);
    background: rgba(47, 201, 185, 0.08);
}

    .prelaunch-beta-link strong {
        color: var(--teal);
        font-size: 12px;
        letter-spacing: .08em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .prelaunch-beta-link:hover {
        border-color: var(--teal);
        background: rgba(47, 201, 185, 0.14);
        color: var(--text);
    }

.prelaunch-notice {
    width: min(100%, 620px);
    margin: 0 0 14px;
}

    .prelaunch-waitlist input {
        min-width: 0;
        height: 56px;
        padding: 0 18px;
        border: 1px solid var(--line-strong);
        border-radius: var(--r-sm);
        background: rgba(23, 24, 28, 0.96);
        color: #f7f4ec;
        caret-color: #f7f4ec;
        -webkit-text-fill-color: #f7f4ec;
        font: 600 16px var(--font-body);
        outline: none;
    }

        .prelaunch-waitlist input::placeholder {
            color: #aaa69d;
            -webkit-text-fill-color: #aaa69d;
        }

        .prelaunch-waitlist input:-webkit-autofill,
        .prelaunch-waitlist input:-webkit-autofill:hover,
        .prelaunch-waitlist input:-webkit-autofill:focus {
            box-shadow: 0 0 0 1000px #17181c inset;
            -webkit-text-fill-color: #f7f4ec;
            caret-color: #f7f4ec;
        }

        .prelaunch-waitlist input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(255, 90, 44, 0.16);
        }

    .prelaunch-waitlist .btn {
        min-height: 56px;
        border-radius: var(--r-sm);
        color: #fff;
        white-space: nowrap;
    }

        .prelaunch-waitlist .btn:hover {
            color: #fff;
        }

.prelaunch-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

    .prelaunch-proof span {
        color: var(--text);
        font-weight: 900;
    }

    .prelaunch-proof a {
        color: var(--text);
        border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    }

        .prelaunch-proof a:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }

/* --- hero preview cards (market + team ledger) --- */
.prelaunch-hero__cards {
    position: relative;
    min-height: 700px;
}

.hero-card {
    position: absolute;
    width: 340px;
    max-width: 100%;
    padding: 24px 26px;
    background: linear-gradient(180deg, #1b1c21, #141519);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-card--ledger {
    top: 0;
    right: 0;
}

.hero-card--market {
    top: 195px;
    left: 0;
    z-index: 2;
}

.hero-card--events {
    top: 413px;
    right: 0;
    z-index: 3;
    padding: 0 26px 24px;
    overflow: hidden;
}

.hero-card__map {
    height: 96px;
    margin: 0 -26px 16px;
    background: #0d0e10;
    border-bottom: 1px solid var(--line);
}

    .hero-card__map img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-card__badge {
    position: absolute;
    top: 20px;
    right: 22px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--accent-ink);
    font: 800 10px/1 var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-card__label {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero-card__label--teal {
    color: var(--teal);
}

.hero-card__price-label {
    margin: 4px 0 8px;
}

.hero-card__title {
    margin: 0 0 14px;
    color: #F4F3EF;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-card__sub {
    margin: -8px 0 18px;
    color: rgba(244, 243, 239, 0.55);
    font-size: 15px;
}

.hero-card__amount {
    margin: 0 0 16px;
    color: #F4F3EF;
    font-family: var(--font-display);
    font-size: 54px;
    line-height: 0.95;
    letter-spacing: 0.01em;
}

.hero-card__progress {
    height: 8px;
    margin: 0 0 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

    .hero-card__progress span {
        display: block;
        height: 100%;
        border-radius: var(--r-pill);
        background: var(--teal);
    }

.hero-card__meta {
    margin: 0;
    color: rgba(244, 243, 239, 0.55);
    font-size: 14px;
}

.prelaunch-hero__phone {
    position: relative;
    min-height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-shadow {
    position: absolute;
    width: 330px;
    height: 540px;
    border-radius: 48px;
    background: rgba(255, 90, 44, 0.1);
    filter: blur(38px);
    transform: rotate(5deg) translate(16px, 12px);
}

.phone-frame {
    position: relative;
    width: 298px;
    padding: 12px;
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05) 38%, rgba(255,90,44,0.24));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.phone-screen {
    min-height: 536px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 32px;
    padding: 17px;
    background: linear-gradient(180deg, rgba(255, 90, 44, 0.11), rgba(19, 19, 22, 0.15) 26%), #101114;
}

.phone-topbar,
.phone-actions,
.phone-carpool,
.phone-tabs,
.phone-event {
    display: flex;
    align-items: center;
}

.phone-topbar {
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

    .phone-topbar strong {
        color: var(--text);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.16em;
    }

.phone-eyebrow {
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.phone-screen h2 {
    margin: 0 0 2px;
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 0.95;
    text-transform: uppercase;
}

.phone-meta {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.phone-map {
    height: 104px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.2), rgba(255, 90, 44, 0.06)), #17181c;
}

    .phone-map svg {
        width: 100%;
        height: 100%;
    }

    .phone-map path,
    .phone-map polyline {
        fill: none;
        stroke: rgba(255, 255, 255, 0.18);
        stroke-width: 1;
    }

    .phone-map polyline {
        stroke: var(--accent);
        stroke-width: 4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .phone-map circle {
        fill: var(--accent);
    }

    .phone-map .map-start {
        fill: #55D6BE;
    }

.phone-actions {
    gap: 8px;
    margin: 10px 0;
}

.phone-action {
    flex: 1;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.phone-action--hot {
    border-color: rgba(255, 90, 44, 0.6);
    background: rgba(255, 90, 44, 0.12);
    color: var(--text);
}

.phone-carpool {
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(85, 214, 190, 0.32);
    border-radius: var(--r-sm);
    background: rgba(85, 214, 190, 0.08);
    color: #9DEBDD;
    font-size: 11px;
    font-weight: 800;
}

.phone-tabs {
    gap: 6px;
    margin: 13px 0;
}

    .phone-tabs span {
        flex: 1;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--r-pill);
        color: var(--muted);
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .phone-tabs .active {
        background: var(--accent);
        color: #fff;
    }

.phone-event {
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid var(--line);
}

    .phone-event time {
        width: 42px;
        color: var(--text);
        font-size: 14px;
        font-weight: 900;
        line-height: 1;
    }

        .phone-event time small {
            color: var(--muted);
            font-size: 9px;
        }

    .phone-event i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--muted-2);
    }

    .phone-event span {
        min-width: 0;
    }

    .phone-event strong,
    .phone-event small {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .phone-event strong {
        color: var(--text);
        font-size: 11px;
    }

    .phone-event small {
        color: var(--muted);
        font-size: 10px;
    }

.phone-event--next {
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: var(--r-sm);
    background: rgba(255, 90, 44, 0.12);
}

    .phone-event--next i {
        background: var(--accent);
    }



.prelaunch-magnets {
    border-top: 1px solid var(--line);
    padding: 44px 0 82px;
    background: #09090a;
}

.prelaunch-market {
    border-top: 1px solid var(--line);
    padding: 56px 0 64px;
    background: #0d0e10;
}

.prelaunch-kicker {
    margin-bottom: 24px;
}

.magnet-list {
    display: grid;
    gap: 14px;
}

.prelaunch-magnet {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    align-items: start;
    max-width: 900px;
    padding: 24px 30px 24px 0;
    border-top: 1px solid var(--line);
}

    .prelaunch-magnet span {
        color: rgba(255, 90, 44, 0.82);
        font-family: var(--font-display);
        font-size: 34px;
        line-height: 1;
    }

    .prelaunch-magnet h2 {
        margin-bottom: 5px;
        color: #F4F3EF;
        font-size: clamp(24px, 4vw, 42px);
        line-height: 1.04;
    }

    .prelaunch-magnet p {
        max-width: 620px;
        margin: 0;
        color: #8A8A86;
        font-size: 17px;
    }

/* ---- auth (login) ---- */
.auth {
    display: flex;
    justify-content: center;
    padding: 72px 24px;
}

.auth__card {
    width: 100%;
    max-width: 420px;
}

.auth__brand {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 18px;
}

.auth__title {
    font-size: 24px;
    margin: 0 0 6px;
}

.auth__sub {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 26px;
}

.auth__error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 14px;
    min-height: 1em;
}

.auth__alt {
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
}

    .auth__alt a {
        color: var(--accent);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 12px;
    }

/* ---- form helpers ---- */
.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.row-3 {
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.7fr;
    gap: 12px;
}

/* ---- signup chooser ---- */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.choice {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px;
    transition: border-color .15s ease, transform .04s ease;
}

    .choice:hover {
        border-color: var(--accent);
        color: var(--text);
    }

    .choice:active {
        transform: scale(0.995);
    }

.choice__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 24px;
    margin-bottom: 8px;
}

.choice__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.choice--disabled {
    cursor: not-allowed;
    opacity: .68;
}

.choice--disabled:hover {
    border-color: var(--line);
    color: inherit;
}

.choice--disabled:active {
    transform: none;
}

.choice__status {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 6px 8px;
    border: 1px solid rgba(255, 82, 48, .45);
    border-radius: var(--r-sm);
    background: rgba(255, 82, 48, .1);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.team-signup-soon {
    max-width: 520px;
}

.team-signup-soon .choice__status {
    margin-bottom: 18px;
}

.choice__blurb {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 18px;
}

.choice__go {
    color: var(--accent);
    font-size: 12px;
}

/* ---- invite links ---- */
.invite-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 10px 12px;
    margin-bottom: 10px;
}

    .invite-row .invite-email {
        color: var(--muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        white-space: nowrap;
    }

    .invite-row code {
        font-family: ui-monospace, Consolas, monospace;
        font-size: 12px;
        color: var(--text);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
    }

/* ---- image upload + display ---- */
.optional {
    color: var(--muted-2);
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
}

.upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px dashed var(--line-strong);
    background: var(--surface-2);
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    transition: border-color .15s ease;
}

    .upload:hover {
        border-color: var(--accent);
    }

.upload--square {
    border-radius: var(--r);
}

.upload__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload__hint {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
    display: block;
}

.avatar--large {
    width: 112px;
    height: 112px;
}

.avatar-cluster {
    position: relative;
    flex: 0 0 auto;
    padding: 6px 18px 18px 6px;
}

.avatar-cluster--premium .avatar {
    border-color: #DCA84A;
    box-shadow: 0 0 0 4px rgba(220, 168, 74, 0.76), 0 0 0 7px rgba(220, 168, 74, 0.14), 0 0 34px rgba(220, 168, 74, 0.18);
}

.avatar-cluster--verified .avatar {
    border-color: #55D6BE;
    box-shadow: 0 0 0 4px rgba(85, 214, 190, 0.82), 0 0 0 7px rgba(85, 214, 190, 0.16), 0 0 38px rgba(85, 214, 190, 0.2);
}

.avatar-cluster__team {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ink);
    background: var(--surface-2);
    box-shadow: 0 0 0 1px var(--line-strong);
}

.avatar-cluster__verify {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    background: #55D6BE;
    color: #07110f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(85, 214, 190, 0.65);
}

.avatar-cluster--has-team .avatar-cluster__verify {
    right: 38px;
    bottom: 6px;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: var(--r);
    object-fit: cover;
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.identity-line, .trust-strip, .profile-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 14px;
}

.signup-code-card {
    padding: 24px;
    border: 1px solid rgba(47, 201, 185, .45);
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(47, 201, 185, .09), var(--surface));
}

.signup-code-card__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

    .signup-code-card__form .btn {
        white-space: nowrap;
    }

    .signup-code-card > p {
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 13px;
    }

.auth__success {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(30, 148, 128, .35);
    background: rgba(42, 204, 179, .1);
    color: #147d6d;
}

.auth__forgot {
    display: inline-block;
    margin-top: .5rem;
    font-size: .85rem;
    font-weight: 700;
}

/* ============================================================
   Global messenger
   ============================================================ */
.global-messenger {
    position: fixed;
    right: clamp(18px, 2.5vw, 38px);
    bottom: clamp(18px, 2.5vw, 34px);
    z-index: 120;
    font-family: var(--font-body);
}

.global-messenger__launcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(85, 214, 190, .38);
    border-radius: var(--r-pill);
    background: #101615;
    color: #f4f3ef;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .28);
    font: 800 12px/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}

.global-messenger__launcher:hover {
    border-color: var(--teal);
    transform: translateY(-1px);
}

.global-messenger__launcher svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.global-messenger__launcher b {
    position: absolute;
    top: -7px;
    right: -5px;
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: var(--r-pill);
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0;
}

.global-messenger__drawer {
    position: fixed;
    right: clamp(18px, 2.5vw, 38px);
    bottom: clamp(86px, calc(2.5vw + 68px), 102px);
    width: min(410px, calc(100vw - 36px));
    height: min(680px, calc(100dvh - 120px));
    max-height: calc(100dvh - 120px);
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(85, 214, 190, .22);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 28px 85px rgba(0, 0, 0, .42);
}

.global-messenger__drawer[hidden],
.global-messenger__conversation[hidden],
.global-messenger__home[hidden],
.global-messenger__status[hidden] {
    display: none !important;
}

.global-messenger__drawer > header {
    min-height: 78px;
    padding: 16px 18px 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--accent);
    background:
        linear-gradient(105deg, rgba(85, 214, 190, .12), transparent 45%),
        #0c0d0d;
    color: #f4f3ef;
}

.global-messenger__drawer > header div {
    display: grid;
    gap: 2px;
}

.global-messenger__drawer > header small {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.global-messenger__drawer > header strong {
    font: 400 26px/1 var(--font-display);
    letter-spacing: .025em;
    text-transform: uppercase;
}

.global-messenger__drawer > header button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.global-messenger__status {
    padding: 8px 18px;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--teal) 12%, var(--surface));
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.global-messenger__home {
    height: calc(100% - 78px);
    padding: 8px 0 22px;
    overflow-y: auto;
}

.global-messenger__section {
    padding: 18px 16px 4px;
}

.global-messenger__section + .global-messenger__section {
    margin-top: 6px;
    border-top: 1px solid var(--line);
}

.global-messenger__section h3 {
    margin: 0 4px 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.global-messenger__list {
    display: grid;
    gap: 5px;
}

.global-messenger__row {
    width: 100%;
    min-width: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.global-messenger__row:hover {
    border-color: var(--line);
    background: var(--surface-hover);
}

.global-messenger__avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: color-mix(in srgb, var(--teal) 13%, var(--surface-2));
    color: var(--teal);
    font-size: 14px;
    font-weight: 800;
}

.global-messenger__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.global-messenger__row > span:last-child {
    min-width: 0;
    display: grid;
}

.global-messenger__row strong,
.global-messenger__row small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-messenger__row strong {
    font-size: 14px;
}

.global-messenger__row small {
    color: var(--muted);
    font-size: 12px;
}

.global-messenger__empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
}

.global-messenger__conversation {
    position: relative;
    height: calc(100% - 78px);
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    overflow: hidden;
}

.global-messenger__back {
    padding: 11px 18px 8px;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.global-messenger__conversation-head {
    min-height: 54px;
    padding: 4px 18px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

.global-messenger__conversation-head strong {
    display: block;
    font-size: 14px;
}

.global-messenger__conversation-head small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.global-messenger__context {
    min-width: 0;
    padding: 10px 13px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

.global-messenger__context[hidden] {
    display: none !important;
}

.global-messenger__context > img {
    width: 52px;
    height: 45px;
    object-fit: cover;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--surface-2);
}

.global-messenger__context > span {
    min-width: 0;
    display: grid;
    line-height: 1.25;
}

.global-messenger__context small {
    color: var(--accent);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.global-messenger__context strong {
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-messenger__context b {
    color: var(--teal);
    font-size: 11px;
}

.global-messenger__context a {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.global-messenger__messages {
    min-height: 0;
    padding: 18px 15px calc(96px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 11px;
    overflow-y: auto;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--teal) 5%, transparent), transparent 45%),
        var(--surface-2);
}

.global-messenger__message {
    max-width: 86%;
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.global-messenger__message.is-mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.global-messenger__message .global-messenger__avatar {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 10px;
}

.global-messenger__message > div {
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 12px 12px 12px 3px;
    background: var(--surface);
}

.global-messenger__message.is-mine > div {
    border-color: color-mix(in srgb, var(--teal) 42%, transparent);
    border-radius: 12px 12px 3px 12px;
    background: color-mix(in srgb, var(--teal) 15%, var(--surface));
}

.global-messenger__message strong {
    display: block;
    margin-bottom: 2px;
    color: var(--teal);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.global-messenger__message p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.global-messenger__message-link {
    display: inline-flex;
    margin-top: 8px;
    padding: 7px 9px;
    border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent);
    border-radius: 8px;
    color: var(--teal);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.global-messenger__empty--thread {
    margin: auto;
    text-align: center;
}

.global-messenger__compose {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    box-sizing: border-box;
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.global-messenger__compose textarea {
    width: 100%;
    min-height: 48px;
    max-height: 110px;
    resize: none;
    padding: 12px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    font: 13px/1.4 var(--font-body);
}

.global-messenger__compose button {
    min-height: 48px;
    padding: 0 17px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}

.global-messenger__compose .global-messenger__pay-button {
    width: 48px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent);
    background: color-mix(in srgb, var(--teal) 12%, var(--surface));
    color: var(--teal);
    font-size: 20px;
    letter-spacing: 0;
}

.global-messenger__pay-menu {
    position: absolute;
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 5;
    display: grid;
    gap: 6px;
    max-height: 210px;
    padding: 9px;
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

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

.global-messenger__pay-menu button {
    min-width: 0;
    padding: 10px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.global-messenger__pay-title {
    padding: 2px 2px 0;
    color: var(--text);
    font-size: 12px;
}

.global-messenger__pay-amount {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--teal);
    border-radius: 9px;
    outline: 0;
    background: var(--surface-2);
    color: var(--text);
    font: 800 17px/1 var(--font-body);
}

.global-messenger__pay-amount:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent);
}

.global-messenger__pay-hint {
    padding: 0 2px 3px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.4;
}

.global-messenger__pay-menu strong,
.global-messenger__pay-menu small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-messenger__pay-menu strong {
    color: var(--teal);
    font-size: 11px;
}

.global-messenger__pay-menu small {
    color: var(--muted);
    font-size: 9px;
}

@media (max-width: 600px) {
    body.messenger-open {
        overflow: hidden;
    }

    .global-messenger {
        right: 14px;
        bottom: 14px;
    }

    .global-messenger__launcher {
        width: 54px;
        height: 54px;
        min-height: 54px;
        justify-content: center;
        padding: 0;
    }

    .global-messenger__launcher > span {
        display: none;
    }

    .global-messenger__drawer {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: auto;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .global-messenger__drawer > header {
        min-height: 72px;
    }

    .global-messenger__home,
    .global-messenger__conversation {
        height: calc(100% - 72px);
    }
}

.profile-payments {
    max-width: 900px;
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.profile-listings {
    max-width: 900px;
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.profile-listings__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-listings__head h2 {
    margin: 5px 0 8px;
    font-size: 30px;
}

.profile-listings__head p {
    margin-bottom: 0;
}

.profile-listings__link-label {
    margin-top: auto;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.market-card--link:hover .profile-listings__link-label {
    color: var(--accent);
}

.profile-avatar-editor {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.profile-avatar-picker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    cursor: pointer;
}

.profile-avatar-picker .avatar-cluster {
    padding: 6px;
}

.profile-avatar-fallback {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
}

.profile-avatar-camera {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.profile-avatar-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.profile-avatar-save[hidden] {
    display: none;
}

.profile-avatar-notice {
    max-width: 560px;
    margin: 0 0 20px;
}

.profile-payments__head h2 {
    margin: 5px 0 8px;
    font-size: 30px;
}

.profile-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.profile-payment-methods article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.profile-payment-methods img {
    width: 50px;
    height: 50px;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.profile-payment-methods strong,
.profile-payment-methods small {
    display: block;
}

.profile-payment-methods small {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-payment-form {
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.anno-id, .verified-badge, .status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: var(--r-pill);
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.anno-id {
    border: 1px solid var(--line-strong);
    background: var(--surface-2);
    color: var(--text);
}

.verified-badge {
    border: 1px solid rgba(85, 214, 190, 0.45);
    background: rgba(85, 214, 190, 0.14);
    color: #7BE3D0;
}

.status-pill {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    border-radius: var(--r-pill);
    padding: 4px 7px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.mini-badge--premium {
    border: 1px solid rgba(220, 168, 74, 0.45);
    background: rgba(220, 168, 74, 0.13);
    color: #F3C66E;
}

.mini-badge--verified {
    border: 1px solid rgba(85, 214, 190, 0.48);
    background: rgba(85, 214, 190, 0.14);
    color: #7BE3D0;
}

.mini-badge--sold {
    border: 1px solid var(--overlay-line);
    background: var(--overlay-fill);
    color: var(--text);
}

.review-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: var(--r-pill);
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.review-badge--positive {
    border: 1px solid rgba(85, 214, 190, 0.48);
    background: rgba(85, 214, 190, 0.14);
    color: #7BE3D0;
}

.review-badge--neutral {
    border: 1px solid var(--overlay-line);
    background: var(--overlay-fill);
    color: var(--text);
}

.review-badge--negative {
    border: 1px solid rgba(255, 90, 44, 0.52);
    background: rgba(255, 90, 44, 0.12);
    color: var(--accent);
}

/* ---- player dashboard + locker ---- */
.dash-head, .locker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.locker-metrics {
    margin-bottom: 22px;
}

.dash-title {
    font-size: clamp(42px, 9vw, 84px);
    text-transform: uppercase;
    line-height: 0.95;
    margin: 0 0 10px;
}

.dash-sub {
    max-width: 58ch;
    font-size: 16px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 30px 0;
}

.metric {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 20px;
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric__label {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.metric__value {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
}

.locker-summary {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 22px;
    align-items: center;
    border: 1px solid rgba(255, 90, 44, 0.42);
    border-radius: calc(var(--r) + 6px);
    background: radial-gradient(circle at 18% 0%, rgba(255, 90, 44, 0.32), transparent 34%), linear-gradient(135deg, var(--surface), var(--surface-2));
    padding: clamp(20px, 3vw, 34px);
    margin: 0 0 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

    .locker-summary::after {
        content: "";
        position: absolute;
        inset: auto 28px -68px auto;
        width: 230px;
        height: 230px;
        border: 1px solid rgba(85, 214, 190, 0.2);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(85, 214, 190, 0.16), transparent 64%);
        pointer-events: none;
    }

.locker-summary__content, .locker-summary__stats, .locker-summary__actions {
    position: relative;
    z-index: 1;
}

    .locker-summary__content .cap {
        margin-bottom: 8px;
    }

    .locker-summary__content h2 {
        margin: 0;
        font-family: var(--font-display);
        font-size: clamp(42px, 7vw, 76px);
        font-weight: 400;
        line-height: 0.88;
        text-transform: uppercase;
    }

    .locker-summary__content p:not(.cap) {
        margin: 8px 0 0;
        color: var(--accent);
        font-size: 21px;
        font-weight: 900;
    }

.locker-summary__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(92px, 1fr));
    gap: 10px;
}

    .locker-summary__stats span {
        border: 1px solid rgba(85, 214, 190, 0.24);
        border-radius: var(--r);
        background: rgba(85, 214, 190, 0.08);
        padding: 13px 14px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

    .locker-summary__stats strong {
        display: block;
        color: var(--text);
        font-size: 23px;
        line-height: 1;
        letter-spacing: 0;
        text-transform: none;
    }

.locker-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 190px;
}

.locker-quick-add {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.07), var(--surface) 48%);
    padding: 18px;
    margin-bottom: 26px;
}

.locker-quick-add__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

    .locker-quick-add__head h2 {
        margin: 0;
        font-size: 24px;
        line-height: 1;
    }

    .locker-quick-add__head span {
        color: var(--muted);
        font-size: 13px;
        max-width: 38ch;
        text-align: right;
    }

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 42px;
}

.action {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 24px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .action:hover {
        border-color: var(--accent);
        color: var(--text);
    }

.action__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 26px;
    line-height: 1;
}

.action__text {
    color: var(--muted);
    font-size: 14px;
}

.action__go {
    color: var(--accent);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: auto;
}

.home-locker {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    border: 1px solid rgba(255, 90, 44, 0.38);
    border-radius: calc(var(--r) + 8px);
    background: radial-gradient(circle at 14% 18%, rgba(85, 214, 190, 0.18), transparent 34%), linear-gradient(135deg, rgba(255, 90, 44, 0.92), rgba(255, 172, 76, 0.82));
    color: #0c0c0f;
    padding: clamp(22px, 4vw, 42px);
    margin: 32px 0 18px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(255, 90, 44, 0.18);
}

    .home-locker::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        right: -72px;
        top: -118px;
        border: 1px solid rgba(12, 12, 15, 0.16);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(12, 12, 15, 0.1), transparent 68%);
    }

.home-locker__copy, .home-locker__actions {
    position: relative;
    z-index: 1;
}

.home-locker .cap {
    color: rgba(12, 12, 15, 0.72);
}

.home-locker h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 400;
    line-height: 0.88;
    text-transform: uppercase;
}

.home-locker p:not(.cap) {
    margin: 10px 0 0;
    font-size: clamp(18px, 2vw, 25px);
    color: rgba(12, 12, 15, 0.78);
}

.home-locker p strong {
    color: #0c0c0f;
}

.home-locker__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

    .home-locker__actions .btn--primary {
        background: #0c0c0f;
        color: #fff;
    }

    .home-locker__actions .btn--ghost {
        border-color: rgba(12, 12, 15, 0.24);
        color: #0c0c0f;
        background: rgba(255, 255, 255, 0.18);
    }

.home-profile-cta {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(85, 214, 190, 0.28);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.12), var(--surface) 54%);
    padding: 18px;
    margin-bottom: 30px;
}

.home-profile-cta__icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(85, 214, 190, 0.38);
    background: rgba(85, 214, 190, 0.14);
    color: var(--teal);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.home-profile-cta h2 {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.1;
}

.home-profile-cta p:not(.cap) {
    margin: 0;
    color: var(--muted);
}

.home-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 20px;
    align-items: start;
}

.home-feed, .home-events {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    padding: 18px;
}

.home-feed--market {
    background: linear-gradient(180deg, var(--surface), rgba(255, 90, 44, 0.045));
}

.home-feed--exchange {
    background: linear-gradient(180deg, var(--surface), rgba(85, 214, 190, 0.06));
}

.home-feed__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

    .home-feed__head h2 {
        margin: 0;
        font-size: 26px;
        line-height: 1;
    }

    .home-feed__head a {
        color: var(--accent);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        white-space: nowrap;
    }

.home-feed-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-feed-row {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(127, 127, 127, 0.14);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 10px;
    color: var(--text);
}

    .home-feed-row:hover {
        border-color: rgba(255, 90, 44, 0.44);
        color: var(--text);
        transform: translateY(-1px);
    }

    .home-feed-row img, .home-feed-row__empty {
        width: 62px;
        height: 52px;
        border-radius: var(--r-sm);
        border: 1px solid var(--line);
        background: var(--surface);
        object-fit: cover;
    }

.home-feed-row__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

    .home-feed-row__body strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-feed-row__body small {
        color: var(--muted);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.home-feed-row__price {
    color: var(--accent);
    font-weight: 900;
    white-space: nowrap;
}

.home-empty {
    margin: 0;
    border: 1px dashed var(--line);
    border-radius: var(--r-sm);
    padding: 16px;
    color: var(--muted);
    background: var(--surface-2);
}

.home-events {
    margin-bottom: 34px;
    background: linear-gradient(135deg, var(--surface), rgba(255, 90, 44, 0.05) 50%, rgba(85, 214, 190, 0.07));
}

.home-event-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.home-event {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 10px;
    color: var(--text);
    min-height: 86px;
}

    .home-event:hover {
        border-color: var(--teal);
        color: var(--text);
    }

.home-event__date {
    display: grid;
    place-items: center;
    align-self: stretch;
    border-radius: var(--r-sm);
    background: rgba(255, 90, 44, 0.1);
    color: var(--accent);
}

    .home-event__date strong {
        font-size: 10px;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

    .home-event__date em {
        font-family: var(--font-display);
        font-style: normal;
        font-size: 30px;
        line-height: 0.9;
    }

.home-event span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .home-event span:last-child strong, .home-event span:last-child small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-event span:last-child small {
        color: var(--muted);
    }

/* ---- dashboard editorial home ---- */
.dashboard-home {
    position: relative;
    overflow: hidden;
}

    .dashboard-home::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(ellipse 900px 500px at 88% -10%, rgba(255, 90, 44, 0.1), transparent 60%), radial-gradient(ellipse 700px 400px at -5% 30%, rgba(85, 214, 190, 0.07), transparent 60%);
    }

.dashboard-home__wrap {
    position: relative;
    z-index: 1;
}

.dashboard-home__hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 8px 0 46px;
}

.dashboard-home__hero-copy h1 {
    margin: 12px 0 0;
    max-width: 760px;
    font-size: clamp(58px, 9vw, 96px);
    line-height: 0.92;
    text-transform: uppercase;
}

.dashboard-home__hero-copy p:not(.home-eyebrow) {
    max-width: 470px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.home-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

    .home-eyebrow::before {
        content: "";
        width: 22px;
        height: 2px;
        background: currentColor;
    }

.home-eyebrow--dark {
    color: #FFB27A;
}

.home-id-tag {
    position: relative;
    width: min(268px, 100%);
    flex: 0 0 auto;
    padding: 20px;
    color: #F4F0E6;
    background: radial-gradient(circle at 100% 0, rgba(85, 214, 190, 0.18), transparent 54%), #15120E;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.home-id-tag__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .home-id-tag__top img,
    .home-id-tag__top > span {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 2px solid #55D6BE;
        flex: 0 0 auto;
    }

    .home-id-tag__top img {
        object-fit: cover;
    }

    .home-id-tag__top > span {
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, var(--accent), #FFB27A);
        color: #15120E;
        font-weight: 900;
        line-height: 1;
    }

    .home-id-tag__top strong {
        display: block;
        font-size: 15px;
        line-height: 1.15;
    }

    .home-id-tag__top small {
        display: block;
        margin-top: 3px;
        color: rgba(244, 240, 230, 0.58);
        font-size: 11px;
        font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
        line-height: 1.2;
    }

.home-id-tag__badges {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

    .home-id-tag__badges span {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        border: 1px solid rgba(244, 240, 230, 0.13);
        border-radius: 3px;
        background: rgba(244, 240, 230, 0.1);
        color: #F4F0E6;
        padding: 4px 9px;
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: 0.04em;
        line-height: 1;
        text-transform: uppercase;
    }

        .home-id-tag__badges span:first-child {
            border-color: rgba(85, 214, 190, 0.38);
            background: rgba(85, 214, 190, 0.16);
            color: #55D6BE;
        }

.home-id-tag a {
    display: inline-flex;
    margin-top: 16px;
    color: #FFB27A;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.home-team-invite-notice {
    margin: -24px 0 24px;
    padding: 12px 16px;
    border-left: 3px solid var(--accent);
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.home-team-invites {
    position: relative;
    margin: -20px 0 28px;
    overflow: hidden;
    border-top: 3px solid var(--accent);
    background:
        radial-gradient(circle at 100% 0, rgba(85, 214, 190, .16), transparent 34%),
        repeating-linear-gradient(120deg, transparent 0 38px, rgba(255, 255, 255, .018) 38px 39px),
        #15120e;
    color: #f4f0e6;
}

.home-team-invites__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px 16px;
}

.home-team-invites__head h2 {
    margin: 8px 0 0;
    color: #f4f0e6;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
    line-height: .92;
    text-transform: uppercase;
}

.home-team-invites__head > span {
    color: rgba(244, 240, 230, .58);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-team-invites__list {
    display: grid;
    gap: 1px;
    background: rgba(244, 240, 230, .12);
}

.home-team-invite {
    display: grid;
    grid-template-columns: 66px minmax(220px, 1fr) minmax(210px, .65fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 24px;
    background: rgba(21, 18, 14, .9);
}

.home-team-invite__mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(85, 214, 190, .46);
    background: rgba(85, 214, 190, .12);
    color: #55d6be;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
}

.home-team-invite__copy small {
    display: block;
    color: #ffb27a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-team-invite__copy h3 {
    margin: 5px 0 3px;
    color: #f4f0e6;
    font-size: 20px;
}

.home-team-invite__copy p,
.home-team-invite__premium span {
    margin: 0;
    color: rgba(244, 240, 230, .58);
    font-size: 11px;
}

.home-team-invite__premium {
    padding-left: 14px;
    border-left: 2px solid #ffb27a;
}

.home-team-invite__premium strong,
.home-team-invite__premium span {
    display: block;
}

.home-team-invite__premium strong {
    margin-bottom: 4px;
    color: #ffb27a;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.home-team-invite__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.home-team-invite__actions form {
    margin: 0;
}

.home-team-invite__actions .btn--ghost {
    border-color: rgba(244, 240, 230, .22);
    color: #f4f0e6;
}

.home-locker-hero {
    position: relative;
    margin: 0 0 44px;
    padding: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 34px), radial-gradient(ellipse 620px 420px at 100% 0, rgba(255, 90, 44, 0.22), transparent 65%), #15120E;
    color: #F4F0E6;
}

.home-locker-hero__ghost {
    position: absolute;
    top: -60px;
    right: 4px;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
    font-family: var(--font-display);
    font-size: clamp(210px, 28vw, 360px);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.home-locker-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.home-locker-hero h2 {
    margin: 14px 0 4px;
    color: #F4F0E6;
    font-size: clamp(44px, 6vw, 62px);
    line-height: 0.95;
    text-transform: uppercase;
}

.home-locker-hero p:not(.home-eyebrow) {
    margin: 0;
    color: rgba(244, 240, 230, 0.6);
    font-size: 15px;
}

.home-locker-hero p strong {
    color: #F4F0E6;
}

.home-locker-hero__dots {
    display: flex;
    gap: 6px;
    margin-top: 18px;
}

    .home-locker-hero__dots span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
    }

        .home-locker-hero__dots span:nth-child(1) {
            background: var(--accent);
        }

        .home-locker-hero__dots span:nth-child(2) {
            background: #55D6BE;
        }

        .home-locker-hero__dots span:nth-child(3) {
            background: #FFB27A;
        }

        .home-locker-hero__dots span:nth-child(4) {
            background: rgba(255, 255, 255, 0.3);
        }

.home-locker-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .home-locker-hero__actions .btn--primary {
        border-color: #F4F0E6;
        background: #F4F0E6;
        color: #15120E;
    }

    .home-locker-hero__actions .btn--ghost {
        border-color: rgba(255, 255, 255, 0.12);
        color: #F4F0E6;
    }

.home-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 44px;
}

.home-columns--stacked {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
}

.home-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

    .home-section-head h2 {
        margin: 0;
        font-family: var(--font-display);
        font-size: clamp(28px, 3vw, 38px);
        font-weight: 400;
        line-height: 0.95;
        text-transform: uppercase;
    }

    .home-section-head a {
        color: var(--accent);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

.home-section-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

    .home-section-actions .home-section-cta {
        display: inline-flex;
        align-items: center;
        border-radius: var(--r-pill);
        background: var(--accent);
        color: #160D09;
        padding: 8px 12px;
    }

    .home-section-actions .home-section-cta--alert,
    .market-alert-cta {
        background: var(--accent) !important;
        border-color: var(--accent) !important;
        color: var(--accent-ink) !important;
    }

        .home-section-actions .home-section-cta:hover {
            color: #160D09;
            filter: brightness(1.04);
        }

        .home-section-actions .home-section-cta--alert:hover,
        .market-alert-cta:hover {
            background: var(--accent-hover) !important;
            border-color: var(--accent-hover) !important;
            color: var(--accent-ink) !important;
        }

.home-rail-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}

.home-list-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}

    .home-list-row:last-child {
        border-bottom: 0;
    }

    .home-list-row:hover {
        color: var(--text);
        background: var(--surface-2);
    }

    .home-list-row img,
    .home-list-row__empty {
        width: 46px;
        height: 46px;
        border: 1px solid var(--line);
        border-radius: 4px;
        background: #211C15;
        object-fit: cover;
    }

.home-list-row__empty {
    display: grid;
    place-items: center;
    color: rgba(244, 240, 230, 0.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.home-list-row__body {
    min-width: 0;
}

    .home-list-row__body strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13.5px;
        line-height: 1.3;
    }

    .home-list-row__body small {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 3px;
        overflow: hidden;
        color: var(--muted);
        font-size: 11.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-list-row__body i {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: var(--muted);
        flex: 0 0 auto;
    }

.home-list-row__price {
    margin-left: auto;
    color: var(--accent);
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.home-market-pulse__list {
    display: grid;
    gap: 12px;
}

.home-market-pulse__row {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(220px, 1.2fr) minmax(170px, 0.55fr) minmax(110px, 0.35fr) 140px;
    gap: 18px;
    align-items: center;
    min-height: 108px;
    overflow: hidden;
    border: 1px solid rgba(255, 90, 44, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(17, 20, 28, 0.98), rgba(49, 57, 72, 0.96)),
        radial-gradient(ellipse 340px 160px at 84% 18%, rgba(255, 90, 44, 0.22), transparent 68%);
    color: #F4F0E6;
    padding: 17px 24px;
    box-shadow: 0 18px 54px rgba(12, 12, 15, 0.12);
}

    .home-market-pulse__row::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255, 90, 44, 0.18), transparent 34%);
        opacity: 0.68;
        pointer-events: none;
    }

    .home-market-pulse__row:hover {
        color: #F4F0E6;
        border-color: rgba(255, 90, 44, 0.58);
        transform: translateY(-1px);
    }

.home-market-pulse__rank,
.home-market-pulse__copy,
.home-market-pulse__price,
.home-market-pulse__meta,
.home-market-pulse__spark {
    position: relative;
    z-index: 1;
}

.home-market-pulse__rank {
    color: rgba(244, 240, 230, 0.13);
    font-family: var(--font-display);
    font-size: 54px;
    line-height: 0.8;
}

.home-market-pulse__copy {
    min-width: 0;
}

    .home-market-pulse__copy strong {
        display: block;
        font-size: clamp(22px, 2.5vw, 34px);
        font-weight: 900;
        line-height: 0.94;
        text-transform: uppercase;
    }

    .home-market-pulse__copy small,
    .home-market-pulse__price span,
    .home-market-pulse__meta small {
        display: block;
        margin-top: 7px;
        color: rgba(244, 240, 230, 0.62);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

.home-market-pulse__price strong {
    display: block;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 400;
    line-height: 0.9;
}

.home-market-pulse__meta strong {
    display: block;
    color: var(--teal);
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 26px;
    line-height: 1;
}

.home-market-pulse__spark {
    width: 100%;
    height: 54px;
}

    .home-market-pulse__spark polyline {
        fill: none;
        stroke: var(--accent);
        stroke-width: 5;
        stroke-linecap: round;
        stroke-linejoin: round;
        filter: drop-shadow(0 0 10px rgba(255, 90, 44, 0.32));
    }

.home-rail-list--wide .home-list-row {
    grid-template-columns: 118px minmax(0, 1fr) auto;
    min-height: 124px;
    padding: 18px;
}

    .home-rail-list--wide .home-list-row img,
    .home-rail-list--wide .home-list-row__empty {
        width: 118px;
        height: 88px;
        border-radius: 6px;
    }

    .home-rail-list--wide .home-list-row__body strong {
        white-space: normal;
        font-size: 20px;
        line-height: 1.12;
    }

    .home-rail-list--wide .home-list-row__body small {
        font-size: 14px;
    }

    .home-rail-list--wide .home-list-row__price {
        font-size: 24px;
    }

.home-exchange-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-exchange-grid .home-empty {
    grid-column: 1 / -1;
}

.home-exchange-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 116px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    padding: 14px;
}

    .home-exchange-card:hover {
        color: var(--text);
        background: var(--surface-2);
    }

    .home-exchange-card img,
    .home-exchange-card .home-list-row__empty {
        width: 96px;
        height: 78px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: #211C15;
        object-fit: cover;
    }

.home-exchange-card__body {
    min-width: 0;
}

    .home-exchange-card__body strong {
        display: block;
        overflow: hidden;
        color: var(--text);
        font-size: 17px;
        line-height: 1.12;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-exchange-card__body small {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 5px;
        overflow: hidden;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-exchange-card__body i {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: var(--muted);
        flex: 0 0 auto;
    }

    .home-exchange-card__body span {
        display: block;
        margin-top: 8px;
        color: var(--accent);
        font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
        font-size: 22px;
        font-weight: 800;
        line-height: 1;
    }

.home-field-panel {
    margin: 0 0 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: radial-gradient(ellipse 560px 260px at 100% 0, rgba(85, 214, 190, 0.12), transparent 62%), var(--surface);
    padding: 18px;
}

.home-field-panel--loading {
    opacity: .62;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.home-field-ajax-status {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.home-field-change,
.home-field-search {
    display: flex;
    gap: 10px;
    min-width: 0;
}

    .home-field-change input,
    .home-field-search input {
        min-height: 38px;
        min-width: 0;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--surface-2);
        color: var(--text);
        padding: 0 12px;
    }

.home-field-selected {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) minmax(280px, 0.95fr);
    gap: 16px;
    align-items: stretch;
}

    .home-field-selected > img {
        width: 100%;
        min-height: 190px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--surface-2);
        object-fit: cover;
    }

.home-field-selected__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

    .home-field-selected__body h3,
    .home-field-setup h3 {
        margin: 0;
        font-size: clamp(28px, 4vw, 42px);
        line-height: 0.95;
    }

    .home-field-selected__body .muted,
    .home-field-setup .muted {
        margin: 0;
    }

.home-field-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

    .home-field-contact span,
    .home-field-contact a {
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface-2);
        color: var(--text);
        padding: 7px 10px;
        font-size: 12px;
        font-weight: 800;
    }

    .home-field-contact a {
        color: var(--accent);
    }

.home-field-map {
    width: 100%;
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-2);
}

.home-field-setup {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: start;
}

.home-field-search {
    margin-top: 14px;
}

.home-field-suggestions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.home-field-suggestions--change {
    margin-top: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-field-option {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-2);
    padding: 10px;
}

    .home-field-option img {
        width: 58px;
        height: 48px;
        border: 1px solid var(--line);
        border-radius: 4px;
        background: var(--surface);
        object-fit: cover;
    }

    .home-field-option div {
        min-width: 0;
    }

    .home-field-option strong,
    .home-field-option small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-field-option strong {
        font-size: 13px;
    }

    .home-field-option small {
        margin-top: 3px;
        color: var(--muted);
        font-size: 11px;
    }

.home-feedback {
    margin: 0 0 44px;
}

.home-feedback-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.home-feedback-topic {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.08), transparent 48%), var(--surface);
    padding: 12px 16px;
    color: var(--text);
}

    .home-feedback-topic:hover {
        border-color: rgba(255, 90, 44, 0.45);
        color: var(--text);
        transform: translateY(-1px);
    }

.home-feedback-topic__status {
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.home-feedback-topic strong {
    display: block;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-feedback-topic small {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.home-calendar {
    margin-bottom: 34px;
}

.home-event-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 14px;
}

.home-event-feature__main {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    min-height: 185px;
    overflow: hidden;
    border: 1px solid rgba(255, 90, 44, 0.26);
    border-radius: 6px;
    background: radial-gradient(ellipse 520px 320px at 100% 0, rgba(255, 90, 44, 0.14), transparent 70%), var(--surface);
    color: var(--text);
    padding: 16px;
}

    .home-event-feature__main:hover {
        border-color: rgba(255, 90, 44, 0.55);
        color: var(--text);
    }

    .home-event-feature__main img {
        width: 100%;
        height: 152px;
        border: 1px solid var(--line);
        border-radius: 4px;
        background: var(--surface-2);
        object-fit: contain;
    }

.home-event-feature__date {
    display: grid;
    place-items: center;
    min-height: 152px;
    border-radius: 4px;
    background: #15120E;
    color: #F4F0E6;
    text-align: center;
}

    .home-event-feature__date strong {
        display: block;
        color: #FFB27A;
        font-size: 18px;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .home-event-feature__date em {
        display: block;
        font-family: var(--font-display);
        font-size: 88px;
        font-style: normal;
        line-height: 0.9;
    }

.home-event-feature__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

    .home-event-feature__copy b {
        font-family: var(--font-display);
        font-size: clamp(24px, 3vw, 34px);
        font-weight: 400;
        line-height: 0.92;
        text-transform: uppercase;
    }

    .home-event-feature__copy small {
        color: var(--muted);
        font-size: 13px;
    }

.home-event-feature__map {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    padding: 10px;
}

    .home-event-feature__map .event-map {
        height: 100%;
        min-height: 185px;
        margin: 0;
    }

.home-event-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-event-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 158px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
}

    .home-event-card:hover {
        border-color: rgba(85, 214, 190, 0.45);
        color: var(--text);
    }

    .home-event-card img,
    .home-event-card__date-tile {
        width: 100%;
        height: 74px;
        border: 1px solid var(--line);
        border-radius: 4px;
    }

    .home-event-card img {
        object-fit: cover;
    }

    .home-event-card__date-tile {
        display: grid;
        place-items: center;
        background: #15120E;
        color: #F4F0E6;
        text-align: center;
    }

    .home-event-card__date-tile strong {
        display: block;
        color: #FFB27A;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.12em;
        line-height: 1;
        text-transform: uppercase;
    }

    .home-event-card__date-tile em {
        display: block;
        font-family: var(--font-display);
        font-size: 44px;
        font-style: normal;
        line-height: 0.85;
    }

    .home-event-card b {
        font-size: 13px;
        line-height: 1.25;
    }

    .home-event-card small {
        color: var(--muted);
        font-size: 11.5px;
        line-height: 1.35;
    }

    .home-event-card__date-line {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 5px;
        color: var(--accent) !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

        .home-event-card__date-line span {
            font-size: 10px;
            font-weight: 900;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .home-event-card__date-line strong {
            color: var(--text);
            font-size: 13px;
            font-weight: 900;
        }

    .home-event-card__venue {
        color: var(--muted);
    }

.section-title, .panel__title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin: 34px 0 14px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
}

    .section-head .section-title {
        margin-top: 0;
    }

.filter-tabs, .segmented {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
}

.filter-tab, .segmented__btn {
    border: 0;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--muted);
    padding: 8px 11px;
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
}

    .filter-tab:hover, .segmented__btn:hover {
        color: var(--text);
    }

.filter-tab--active, .segmented__btn--active {
    background: var(--accent);
    color: var(--accent-ink);
}

    .filter-tab--active:hover, .segmented__btn--active:hover {
        color: var(--accent-ink);
    }

.exchange-tabs {
    margin: 8px 0 18px;
    background: rgba(85, 214, 190, 0.07);
    border-color: rgba(85, 214, 190, 0.18);
}

.locker-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.4fr);
    gap: 18px;
    align-items: start;
}

.panel {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 22px;
}

.panel--highlight {
    border-color: rgba(255, 90, 44, 0.42);
    box-shadow: 0 0 0 1px rgba(255, 90, 44, 0.1);
}

.panel__title {
    margin-top: 0;
    color: var(--text);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
    align-items: stretch;
}

    .plan-grid .panel {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

.plan-price {
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 1;
    text-transform: uppercase;
}

.verify-panel {
    margin-top: 18px;
}

.verification-summary {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 14px 0;
}

    .verification-summary span {
        color: var(--muted);
        font-size: 13px;
    }

.notice, .empty-state {
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r);
    padding: 14px 16px;
    color: var(--muted);
    margin-bottom: 18px;
}

.notice--warning {
    border-color: rgba(255, 90, 44, 0.34);
    background: rgba(255, 90, 44, 0.08);
    color: var(--text);
}

.searchbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 14px;
}

.gear-alerts-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.35fr);
    gap: 18px;
    align-items: start;
    margin-top: 28px;
}

.gear-alerts-page .notice {
    margin-top: 22px;
}

.gear-alert-composer {
    position: sticky;
    top: 88px;
}

.gear-alert-composer .panel__title,
.gear-alert-list .panel__title {
    margin-bottom: 18px;
}

.gear-alert-color-field {
    align-self: start;
}

.gear-alert-color-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 46px;
}

.gear-alert-color-label {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.product-suggest {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

    .product-suggest button {
        width: 100%;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: transparent;
        color: var(--text);
        padding: 12px 14px;
        text-align: left;
        cursor: pointer;
    }

        .product-suggest button:last-child {
            border-bottom: 0;
        }

        .product-suggest button:hover {
            background: var(--surface-2);
        }

    .product-suggest strong,
    .product-suggest span {
        display: block;
    }

    .product-suggest span {
        margin-top: 3px;
        color: var(--muted);
        font-size: 12px;
    }

.gear-alert-list {
    display: grid;
    gap: 12px;
}

.gear-alert-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 16px;
}

    .gear-alert-card h3 {
        margin: 3px 0 5px;
        font-size: 18px;
    }

.gear-alert-card--paused {
    opacity: 0.68;
}

.gear-alert-card__match {
    margin-top: 8px;
}

.gear-alert-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-list, .locker-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.typeahead {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggestion {
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r);
    padding: 10px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.suggestion--link:hover {
    border-color: var(--accent);
    color: var(--text);
}

.suggestion__img {
    width: 76px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: var(--surface);
}

.suggestion__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .suggestion__body span {
        color: var(--muted);
        font-size: 13px;
    }

.suggestion__go {
    color: var(--accent);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.product-row {
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r);
    padding: 14px;
    display: grid;
    gap: 12px;
}

.product-row__main {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
}

    .product-row__main span, .locker-row__body span, .candidate span {
        color: var(--muted);
        font-size: 13px;
    }

.product-row__fields {
    display: grid;
    grid-template-columns: 1fr 150px 150px auto;
    gap: 10px;
    align-items: center;
}

.locker-row {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 12px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
}

.locker-row__img {
    width: 70px;
    height: 70px;
    border-radius: var(--r-sm);
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.locker-row__img--empty {
    display: block;
}

.locker-row__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.locker-row__price {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

    .locker-row__price small {
        color: var(--muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

.locker-row__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

    .locker-row__actions form {
        margin: 0;
    }

.locker-gallery {
    margin-top: 12px;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 10px;
}

.locker-photo-field {
    border: 1px solid rgba(85, 214, 190, 0.34);
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.12), rgba(255, 90, 44, 0.055));
    padding: 12px;
}

    .locker-photo-field .locker-gallery {
        border-color: rgba(85, 214, 190, 0.28);
        background: rgba(85, 214, 190, 0.055);
    }

    .locker-photo-field .label {
        color: var(--text);
    }

.locker-gallery__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

    .locker-gallery__head span {
        color: var(--text);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.14em;
    }

    .locker-gallery__head small {
        color: var(--muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

.locker-gallery__rail {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.locker-gallery__tile,
.locker-gallery__add label {
    width: 86px;
    height: 68px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
}

    .locker-gallery__tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.locker-gallery__tile--primary {
    border-color: var(--accent);
}

    .locker-gallery__tile--primary::after {
        content: "Primary";
        position: absolute;
        left: 5px;
        bottom: 5px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.72);
        color: #fff;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 3px 5px;
    }

.locker-gallery__delete {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.16s ease, background 0.16s ease;
}

    .locker-gallery__tile:hover .locker-gallery__delete,
    .locker-gallery__delete:focus-visible {
        opacity: 1;
    }

    .locker-gallery__delete:hover {
        background: var(--accent);
    }

.locker-gallery__add {
    margin: 0;
}

    .locker-gallery__add input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

    .locker-gallery__add label {
        border-style: dashed;
        cursor: pointer;
    }

    .locker-gallery__add span {
        color: var(--accent);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        cursor: pointer;
        text-align: center;
        padding: 0 8px;
    }

    .locker-gallery__add label:hover {
        border-color: var(--accent);
    }

.modal-photo-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 8px;
    margin-bottom: 10px;
}

.modal-photo-strip__tile {
    position: relative;
    width: 82px;
    height: 64px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    overflow: hidden;
    flex: 0 0 auto;
}

    .modal-photo-strip__tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .modal-photo-strip__tile small {
        position: absolute;
        left: 5px;
        bottom: 5px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.72);
        color: #fff;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 3px 5px;
    }

.loadout-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.loadout-sidebar, .loadout-main {
    display: grid;
    gap: 18px;
}

.loadout-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
    gap: 18px;
    align-items: start;
}

.loadout-focus, .loadout-tools {
    display: grid;
    gap: 18px;
}

.loadout-start {
    display: grid;
    grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
    gap: 20px;
    align-items: end;
    border: 1px solid rgba(255, 82, 45, 0.28);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(255, 82, 45, 0.12), rgba(85, 214, 190, 0.07));
    padding: 20px;
}

    .loadout-start h2 {
        margin: 4px 0 6px;
        font-size: clamp(28px, 4vw, 52px);
        line-height: 0.95;
        letter-spacing: 0;
    }

    .loadout-start p {
        margin: 0;
        color: var(--muted);
    }

.loadout-start__form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.75fr) minmax(140px, 0.65fr) auto;
    gap: 10px;
    align-items: end;
}

.loadout-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.loadout-tab {
    flex: 0 0 auto;
    min-width: 170px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: inherit;
    padding: 10px 12px;
}

    .loadout-tab:hover, .loadout-tab--active {
        color: var(--text);
        border-color: rgba(85, 214, 190, 0.42);
    }

.loadout-tab--active {
    background: rgba(85, 214, 190, 0.08);
}

.loadout-tab strong, .loadout-tab small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.loadout-tab small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.loadout-inline-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.loadout-pick-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.loadout-picker {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: inherit;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .loadout-picker:hover, .loadout-picker--active {
        color: var(--text);
        border-color: var(--line-strong);
    }

.loadout-picker--active {
    border-color: rgba(85, 214, 190, 0.34);
    background: rgba(85, 214, 190, 0.08);
}

.loadout-picker strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.loadout-picker small {
    color: var(--muted);
    white-space: nowrap;
}

.loadout-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.loadout-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 16px;
}

.loadout-drawer {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 0;
    overflow: hidden;
}

    .loadout-drawer summary {
        cursor: pointer;
        list-style: none;
        padding: 14px 16px;
        color: var(--text);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 12px;
    }

        .loadout-drawer summary::-webkit-details-marker {
            display: none;
        }

        .loadout-drawer summary::after {
            content: "+";
            float: right;
            color: var(--accent);
            font-size: 18px;
            line-height: 1;
        }

    .loadout-drawer[open] summary::after {
        content: "-";
    }

    .loadout-drawer[open] {
        padding-bottom: 12px;
    }

.loadout-drawer--quiet {
    margin-bottom: 14px;
}

.loadout-save-template {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    border: 1px solid rgba(255, 82, 45, 0.24);
    border-radius: var(--r-sm);
    background: rgba(255, 82, 45, 0.05);
    padding: 12px;
}

.loadout-add-form {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(140px, 0.7fr) minmax(160px, 1fr) minmax(140px, 0.9fr) auto;
    gap: 10px;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
    padding: 12px;
    margin: 0 12px 12px;
}

.loadout-drawer > .loadout-add-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .loadout-drawer > .loadout-add-form .btn {
        align-self: stretch;
    }

.loadout-drawer > .gear-quick-add {
    grid-template-columns: 1fr;
    align-items: stretch;
    margin: 0 12px 12px;
}

    .loadout-drawer > .gear-quick-add .btn {
        justify-self: end;
    }

.loadout-tools .loadout-add-form,
.loadout-tools .gear-quick-add {
    grid-template-columns: 1fr;
}

.loadout-tools .gear-quick-add {
    align-items: stretch;
}

.loadout-tools .loadout-section-head {
    align-items: flex-start;
    flex-direction: column;
}

.checklist-group {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

    .checklist-group h3 {
        margin: 0 0 2px;
        color: var(--muted);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.14em;
    }

.checklist-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 10px;
}

.checklist-row--ready {
    opacity: 0.72;
}

    .checklist-row--ready strong {
        text-decoration: line-through;
    }

.checklist-row form {
    margin: 0;
}

.checklist-row small {
    display: block;
    color: var(--muted);
    margin-top: 2px;
}

.check-button {
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-strong);
    background: var(--ink);
    color: #55D6BE;
    display: inline-grid;
    place-items: center;
    font-weight: 900;
    cursor: pointer;
}

.check-button--static {
    cursor: default;
}

.id-result {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.id-result__img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--r);
}

.candidate {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

    .candidate div {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

.candidate__add {
    margin: 0;
}

.market-search-panel {
    margin-bottom: 24px;
}

.market-widgets {
    display: grid;
    gap: 26px;
    margin: 4px 0 32px;
}

.market-widgets--related {
    gap: 14px;
    margin: 0 0 18px;
}

.market-widget-block {
    min-width: 0;
}

.market-widget-head {
    margin-top: 0;
}

    .market-widget-head .section-title {
        margin-bottom: 0;
    }

.market-widget-link {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.featured-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.market-widgets--related .featured-product-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 300px);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
}

.featured-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 150px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    background: var(--surface-2);
    color: inherit;
    text-decoration: none;
    padding: 15px 16px 14px;
    overflow: hidden;
    transition: border-color .15s ease, background-color .15s ease, transform .07s ease;
}

.market-widgets--related .featured-product-card {
    min-height: 136px;
    scroll-snap-align: start;
}

.featured-product-card:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.featured-product-card__rank {
    position: absolute;
    top: 4px;
    right: 14px;
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--ghost);
    pointer-events: none;
}

.featured-product-card__type {
    position: relative;
    color: #4FD0BC;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 9px;
}

.featured-product-card strong {
    min-width: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.1;
}

.featured-product-card__meta {
    color: var(--muted);
    font-size: 12px;
    min-width: 0;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-product-card__price {
    margin-top: auto;
    padding-top: 12px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 33px;
    line-height: 0.92;
}

.featured-product-card__count {
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

.type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}

.type-tab {
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 13px;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

    .type-tab:hover {
        color: var(--text);
        border-color: var(--line-strong);
    }

.type-tab--active, .type-tab--active:hover {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
}

.recent-indexed-row[hidden] {
    display: none;
}

.recent-indexed-list {
    display: grid;
    gap: 8px;
}

.recent-indexed-row {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    padding: 9px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

    .recent-indexed-row:hover {
        color: var(--text);
        border-color: rgba(71, 202, 182, 0.42);
    }

.recent-indexed-row__img {
    width: 58px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    object-fit: cover;
}

.recent-indexed-row__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .recent-indexed-row__body strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .recent-indexed-row__body small {
        color: var(--muted);
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.recent-indexed-row__price {
    color: var(--accent);
    font-weight: 900;
    white-space: nowrap;
}

.exchange-callout {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 82, 45, 0.6);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(255, 82, 45, 0.95), rgba(255, 184, 77, 0.92));
    color: #0b0b0d;
    text-decoration: none;
    padding: 18px 20px;
    margin: 0 0 24px;
    box-shadow: 0 18px 48px rgba(255, 82, 45, 0.18);
}

    .exchange-callout span {
        color: rgba(11, 11, 13, 0.72);
        text-transform: uppercase;
        letter-spacing: 0.16em;
        font-size: 11px;
        font-weight: 700;
    }

    .exchange-callout strong {
        font-size: 22px;
        line-height: 1.05;
    }

    .exchange-callout small {
        color: rgba(11, 11, 13, 0.72);
        font-size: 13px;
    }

    .exchange-callout:hover {
        transform: translateY(-1px);
    }

        .exchange-callout:hover, .exchange-callout:hover span, .exchange-callout:hover strong, .exchange-callout:hover small {
            color: #fff;
        }

.exchange-callout--compact {
    margin: 12px 0 18px;
    padding: 14px 16px;
}

    .exchange-callout--compact strong {
        font-size: 18px;
    }

.exchange-callout.verification-callout {
    border-color: rgba(53, 213, 196, .78);
    background: linear-gradient(135deg, var(--verification) 0%, #78e7d9 100%);
    color: var(--verification-ink);
    box-shadow: 0 18px 48px rgba(53, 213, 196, .2);
}

    .exchange-callout.verification-callout span,
    .exchange-callout.verification-callout small {
        color: rgba(7, 23, 20, .72);
    }

    .exchange-callout.verification-callout:hover,
    .exchange-callout.verification-callout:hover span,
    .exchange-callout.verification-callout:hover strong,
    .exchange-callout.verification-callout:hover small {
        color: var(--verification-ink);
    }

.dashboard-verification-callout { margin-top: 22px; }

/* market exchange banner — structured callout with icon + CTA (fixed bright in both themes) */
.market-exchange {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 82, 45, 0.55);
    border-radius: var(--r);
    background: linear-gradient(120deg, #FF5A2C 0%, #FF7A3C 48%, #FFB24D 100%);
    color: #1a0d05;
    text-decoration: none;
    padding: 16px 18px;
    margin: 0 0 24px;
    box-shadow: 0 16px 44px rgba(255, 90, 44, 0.22);
    transition: transform .12s ease;
}

    .market-exchange:hover {
        transform: translateY(-1px);
    }

.market-exchange__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: var(--r-sm);
    background: rgba(26, 13, 5, 0.16);
    display: grid;
    place-items: center;
    color: #1a0d05;
}

    .market-exchange__icon svg {
        width: 24px;
        height: 24px;
    }

.market-exchange__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.market-exchange__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 800;
    color: rgba(26, 13, 5, 0.66);
}

.market-exchange__title {
    font-size: 20px;
    line-height: 1.1;
    color: #160a02;
}

.market-exchange__sub {
    font-size: 13px;
    color: rgba(26, 13, 5, 0.74);
}

.market-exchange__cta {
    flex-shrink: 0;
    background: #15110d;
    color: #fff;
    border-radius: var(--r-pill);
    padding: 11px 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    transition: background-color .15s ease;
}

.market-exchange:hover .market-exchange__cta {
    background: #2a2017;
}

@media (max-width: 640px) {
    .market-exchange {
        flex-wrap: wrap;
        gap: 12px;
    }

    .market-exchange__cta {
        width: 100%;
        text-align: center;
    }
}

.locker-callout {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(85, 214, 190, 0.26);
    border-radius: var(--r);
    background: rgba(85, 214, 190, 0.055);
    color: inherit;
    text-decoration: none;
    padding: 14px 16px;
    margin: 0 0 24px;
}

    .locker-callout span, .gear-quick-add span {
        color: var(--teal);
        text-transform: uppercase;
        letter-spacing: 0.16em;
        font-size: 11px;
        font-weight: 700;
    }

    .locker-callout strong {
        font-size: 18px;
        line-height: 1.1;
    }

    .locker-callout small {
        color: var(--muted);
        font-size: 13px;
    }

    .locker-callout:hover {
        color: var(--text);
        border-color: rgba(85, 214, 190, 0.5);
        background: rgba(85, 214, 190, 0.09);
    }

.gear-quick-add {
    display: grid;
    grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(85, 214, 190, 0.22);
    border-radius: var(--r-sm);
    background: rgba(85, 214, 190, 0.045);
    padding: 12px;
    margin: -4px 0 16px;
}

    .gear-quick-add strong {
        display: block;
        margin-top: 3px;
        font-size: 14px;
    }

.gear-quick-add__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    align-items: flex-start;
    justify-content: flex-start;
}

    .gear-quick-add__items label {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        flex: 0 0 auto;
        max-width: min(100%, 320px);
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.03);
        padding: 7px 10px;
        font-size: 13px;
        cursor: pointer;
    }

        .gear-quick-add__items label span {
            min-width: 0;
            overflow-wrap: normal;
            word-break: normal;
        }

    .gear-quick-add__items input {
        accent-color: var(--teal);
    }

.market-product-head {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(440px, 1.1fr);
    align-items: end;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin: 28px 0 10px;
}

.section-product-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 400;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1;
    margin: 0 0 6px;
}

.market-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

/* Team home + captain setup */
.team-hub-page .container,
.team-home-page .container {
    max-width: 1280px;
}

.team-hub-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
}

.team-hub-switcher,
.team-hub-card__head,
.team-incoming__row,
.team-invite-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.team-hub-identity,
.team-home-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 26px 0;
    min-width: 0;
}

.team-hub-identity h2,
.team-home-hero h2 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .88;
}

.team-hub-logo {
    width: clamp(104px, 13vw, 164px);
    height: clamp(104px, 13vw, 164px);
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.team-hub-logo img,
.team-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.team-hub-logo span {
    font-family: var(--font-display);
    font-size: 72px;
}

.team-logo-preview {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 8px;
}

.team-setup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.team-hub-card {
    min-width: 0;
    position: relative;
    padding: 26px;
    border-radius: var(--r-lg);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

    /* accent rail so each card reads as a step, not a form box */
    .team-hub-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), rgba(255, 90, 44, 0) 65%);
    }

.team-card-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

    .team-card-head .home-eyebrow {
        margin: 0 0 2px;
    }

    .team-card-head .panel__title {
        margin: 0;
    }

    .team-card-head__link {
        margin-left: auto;
        align-self: center;
        white-space: nowrap;
        font-size: 13px;
    }

.team-card-num {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1;
    color: var(--accent);
}

/* team identity reads as a banner, not floating text */
.team-hub-identity {
    position: relative;
    padding: 24px 30px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #1C1D21;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

    /* soft grey — a shade off the page in either theme so the banner reads as a panel, not a white slab.
       Day gets the deeper grey; dark keeps the softer #1C1D21 above so it still lifts off the near-black page. */
    :root[data-theme="light"] .team-hub-identity {
        background: #DBD9D2;
    }

    .team-hub-identity::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 4px;
        background: var(--accent);
    }

    /* the team name carries the accent so it pops off the grey — sized down so it reads confident, not shouty */
    .team-hub-identity h2 {
        color: var(--accent);
        font-size: clamp(30px, 4.4vw, 52px);
    }

.team-field-editor,
.team-hub-card:last-child {
    grid-column: 1 / -1;
}

.team-selected-field,
.team-home-field {
    display: grid;
    grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 16px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
}

.team-selected-field > img,
.team-home-field > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--surface);
}

.team-selected-field > div,
.team-home-field > div {
    padding: 18px 20px 18px 0;
    min-width: 0;
}

.team-selected-field h3,
.team-home-field h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
}

.team-field-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.team-field-option {
    display: grid;
    grid-template-rows: 140px auto auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
}

.team-field-option > img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: var(--surface);
}

.team-field-option > div {
    min-width: 0;
    padding: 12px;
}

.team-field-option strong,
.team-field-option small,
.team-field-option span {
    display: block;
}

.team-field-option strong {
    font-size: 15px;
}

.team-field-option small,
.team-field-option span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.team-field-option form {
    padding: 0 12px 12px;
}

.team-field-option .btn {
    width: 100%;
    justify-content: center;
}

.team-pay-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.team-pay-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
}

.team-pay-link > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.team-pay-link img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}

.team-pay-link span,
.team-pay-link strong,
.team-pay-link small,
.team-pay-link a {
    display: block;
}

.team-pay-link small,
.team-pay-link a {
    margin-top: 3px;
}

.team-player-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.team-player-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
}

.team-player-card img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.team-player-card span {
    min-width: 0;
    flex: 1;
}

.team-player-card strong,
.team-player-card small {
    display: block;
}

.team-player-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.team-invite-tools,
.team-pay-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.team-invite-tools > * {
    flex: 1;
}

.team-home-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 18px;
}

.team-home-roster {
    margin-top: 18px;
}

.team-ajax-status {
    position: fixed;
    z-index: 50;
    right: 24px;
    bottom: 24px;
    max-width: min(420px, calc(100vw - 48px));
    padding: 13px 16px;
    border: 1px solid #88aa75;
    border-radius: 10px;
    background: #f2f9ed;
    color: #27461d;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
}

.team-ajax-status--error {
    border-color: #d98c83;
    background: #fff0ee;
    color: #7a2119;
}

form.is-saving {
    opacity: .65;
    pointer-events: none;
}

@media (max-width: 900px) {
    .team-setup-grid,
    .team-home-grid,
    .team-field-results {
        grid-template-columns: 1fr;
    }

    .team-field-editor,
    .team-hub-card:last-child {
        grid-column: auto;
    }

    .team-invite-tools,
    .team-hub-card__head {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .team-hub-identity,
    .team-home-hero,
    .team-selected-field,
    .team-home-field {
        grid-template-columns: 1fr;
    }

    .team-hub-identity,
    .team-home-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-selected-field > img,
    .team-home-field > img {
        height: 190px;
    }

    .team-selected-field > div,
    .team-home-field > div {
        padding: 0 14px 16px;
    }

    .team-pay-links {
        grid-template-columns: 1fr;
    }
}

.market-locker-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 7px 12px 7px 8px;
    border: 1px solid #55d6be;
    background: linear-gradient(135deg, #55d6be 0%, #8be8d7 100%);
    color: #10201e;
    box-shadow: 0 7px 18px rgba(85, 214, 190, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

    .market-locker-cta:hover {
        color: #10201e;
        filter: saturate(1.08) brightness(1.03);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(85, 214, 190, 0.32);
    }

.market-locker-cta__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

    .market-locker-cta__icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.market-locker-cta__arrow {
    font-size: 17px;
    line-height: 1;
    transition: transform 160ms ease;
}

    .market-locker-cta:hover .market-locker-cta__arrow {
        transform: translateX(3px);
    }

.market-counts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .market-counts span {
        border: 1px solid var(--line);
        border-radius: var(--r);
        background: var(--surface);
        padding: 10px 14px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 11px;
    }

    .market-counts strong {
        color: var(--text);
        font-size: 16px;
        margin-right: 5px;
    }

.market-title-trend {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    min-height: 42px;
}

    .market-title-trend svg {
        width: 220px;
        height: 42px;
        display: block;
    }

    .market-title-trend polyline {
        fill: none;
        stroke: var(--accent);
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
    }

    .market-title-trend span {
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-size: 11px;
        white-space: nowrap;
    }

.price-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 8px;
}

.market-price-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.price-guide__card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 16px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.market-price-guide .price-guide__card {
    min-height: 104px;
    background: #373b44;
    border-color: rgba(255, 90, 44, 0.34);
}

    .market-price-guide .price-guide__card span,
    .market-price-guide .price-guide__card strong,
    .market-price-guide .price-guide__card small {
        color: var(--accent);
    }

.market-price-note {
    grid-column: 1 / -1;
    margin: -4px 0 0;
}

.price-guide__card--primary {
    border-color: rgba(255, 90, 44, 0.45);
}

.price-guide__card span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
}

.price-guide__card strong {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1;
    font-weight: 400;
}

.price-guide__card small, .price-guide__note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.price-guide__note {
    margin: 0 0 22px;
}

.variant-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
    border: 1px solid rgba(71, 202, 182, 0.14);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(71, 202, 182, 0.08), var(--surface-control));
    padding: 10px;
}

.variant-pill {
    flex: 0 1 134px;
    min-width: 118px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    display: grid;
    gap: 3px;
}

.variant-pill--wide {
    flex-basis: 222px;
}

.variant-pill:hover {
    border-color: rgba(255, 90, 44, 0.55);
}

.variant-pill--active {
    border-color: rgba(71, 202, 182, 0.78);
    background: linear-gradient(135deg, rgba(71, 202, 182, 0.18), rgba(19, 19, 22, 0.8) 62%);
}

.variant-pill span {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.variant-pill strong {
    color: var(--text);
    font-size: 16px;
    line-height: 1;
}

.variant-pill small {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.mask-part-launcher {
    border: 1px solid rgba(71, 202, 182, 0.18);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(71, 202, 182, 0.07), var(--surface-control));
    padding: 8px;
    margin: -6px 0 18px;
}

.mask-part-launcher__label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1;
    margin: 0 2px 8px;
    text-transform: uppercase;
}

.mask-part-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.mask-part-chip {
    flex: 1 1 112px;
    min-width: 106px;
    min-height: 44px;
    display: grid;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

    .mask-part-chip:hover {
        transform: translateY(-1px);
        border-color: rgba(255, 90, 44, 0.58);
    }

.mask-part-chip--active {
    border-color: rgba(255, 90, 44, 0.82);
    background: linear-gradient(135deg, rgba(255, 90, 44, 0.34), rgba(71, 202, 182, 0.18));
}

.mask-part-chip__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.mask-part-chip strong {
    font-size: 12px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mask-part-chip small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mask-part-chip--active small {
    color: #8ef3e3;
}

.market-listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}

.market-toolbar-left, .market-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.market-toolbar-right {
    margin-left: auto;
}

.market-filter-button {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--text);
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

    .market-filter-button:hover {
        border-color: rgba(255, 90, 44, 0.45);
    }

    .market-filter-button svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.color-filter-button-swatch {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 6px;
    cursor: inherit;
}

.market-filter-button .color-filter-button-swatch:hover {
    transform: none;
}

.color-filter-menu {
    position: relative;
}

.color-filter-popover {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    z-index: 24;
    width: min(330px, calc(100vw - 34px));
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    background: var(--surface);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
    padding: 12px;
}

.color-filter-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

    .color-filter-popover__head strong {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

.color-swatch-list--popover {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.color-swatch-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--text);
    padding: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    min-width: 0;
}

    .color-swatch-option:hover, .color-swatch-option--active {
        border-color: rgba(255, 90, 44, 0.6);
    }

    .color-swatch-option span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    visibility: hidden;
}

.filter-drawer--open {
    pointer-events: auto;
    visibility: visible;
}

.filter-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .18s ease;
}

.filter-drawer--open .filter-drawer__backdrop {
    background: rgba(0, 0, 0, 0.58);
}

.filter-drawer__panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(420px, 92vw);
    background: var(--surface);
    border-right: 1px solid var(--line-strong);
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.3);
    padding: 18px;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .2s ease;
}

.filter-drawer--open .filter-drawer__panel {
    transform: translateX(0);
}

.filter-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

    .filter-drawer__head h2 {
        margin: 0;
        color: var(--text);
        font-size: 24px;
        line-height: 1.1;
    }

.filter-clear-button {
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 900;
    padding: 10px 14px;
    cursor: pointer;
}

.filter-drawer__group {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

    .filter-drawer__group h3 {
        margin: 0 0 3px;
        color: var(--text);
        font-size: 18px;
        line-height: 1.1;
    }

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

    .filter-check input {
        width: 20px;
        height: 20px;
        accent-color: var(--accent);
    }

.filter-drawer__apply {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.market-results-controls {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(71, 202, 182, 0.14);
    background: linear-gradient(135deg, rgba(71, 202, 182, 0.07), var(--surface-control));
    border-radius: var(--r);
    padding: 12px;
    margin: 0 0 22px;
}

.market-filter-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.market-filter-selects {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    min-width: 0;
}

    .market-filter-selects .field {
        width: min(220px, 38vw);
    }

    .market-filter-selects .input {
        height: 40px;
        border-radius: var(--r-sm);
        font-size: 14px;
        padding: 0 11px;
    }

.market-toggle {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 0 11px;
    cursor: pointer;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    user-select: none;
}

    .market-toggle input {
        appearance: none;
        width: 34px;
        height: 20px;
        margin: 0;
        border: 1px solid var(--line-strong);
        border-radius: 999px;
        background: var(--ink);
        position: relative;
        cursor: pointer;
        transition: background .15s ease, border-color .15s ease;
    }

        .market-toggle input::before {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--muted);
            transition: transform .15s ease, background .15s ease;
        }

        .market-toggle input:checked {
            border-color: rgba(71, 202, 182, 0.7);
            background: rgba(71, 202, 182, 0.2);
        }

            .market-toggle input:checked::before {
                transform: translateX(14px);
                background: var(--teal);
            }

.market-sort-compact {
    flex: 0 0 auto;
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 0 9px;
    color: var(--muted);
}

    .market-sort-compact svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: var(--accent);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .market-sort-compact select {
        width: 92px;
        border: 0;
        outline: 0;
        appearance: none;
        background: transparent;
        color: var(--text);
        font: 800 11px/1 var(--font-body);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        cursor: pointer;
    }

.market-color-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.market-beta-banner {
    border: 1px solid rgba(255, 90, 44, 0.28);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(255, 90, 44, 0.09), var(--surface) 58%);
    padding: 14px 16px;
    margin: 0 0 18px;
}

    .market-beta-banner span {
        display: block;
        margin-bottom: 5px;
        font-size: 11px;
        font-weight: 900;
    }

    .market-beta-banner p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.45;
    }

.color-swatch-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.color-swatch {
    --swatch: var(--surface-2);
    width: 28px;
    height: 28px;
    display: inline-flex;
    flex: 0 0 28px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--swatch);
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .color-swatch:hover {
        transform: translateY(-1px);
        border-color: rgba(255, 90, 44, 0.62);
    }

.color-swatch--active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 90, 44, 0.22);
}

    .color-swatch--active::after {
        content: "";
        position: absolute;
        inset: 7px;
        border: 2px solid rgba(255, 255, 255, 0.92);
        border-radius: 3px;
        filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.45));
    }

.color-swatch--all {
    background: conic-gradient(#111 0 12.5%, #fff 0 25%, #ff4b37 0 37.5%, #ff9a21 0 50%, #f7dd35 0 62.5%, #2dbb6b 0 75%, #2b7cff 0 87.5%, #9f4cff 0);
}

.color-swatch[data-color="black"] {
    --swatch: #111318;
}

.color-swatch[data-color="white"] {
    --swatch: #f5f3eb;
}

.color-swatch[data-color="grey"] {
    --swatch: #8d9299;
}

.color-swatch[data-color="clear"] {
    background: linear-gradient(45deg, #f7f7f7 25%, #d7dde2 25% 50%, #f7f7f7 50% 75%, #d7dde2 75%);
    background-size: 10px 10px;
}

.color-swatch[data-color="smoke"] {
    background: linear-gradient(135deg, #1f242c, #737b86);
}

.color-swatch[data-color="red"] {
    --swatch: #e4372f;
}

.color-swatch[data-color="orange"] {
    --swatch: #ff7a1a;
}

.color-swatch[data-color="yellow"] {
    --swatch: #f6d842;
}

.color-swatch[data-color="green"] {
    --swatch: #28b76b;
}

.color-swatch[data-color="blue"] {
    --swatch: #2277e8;
}

.color-swatch[data-color="purple"] {
    --swatch: #8d4de8;
}

.color-swatch[data-color="pink"] {
    --swatch: #ee6ab4;
}

.color-swatch[data-color="brown"] {
    --swatch: #7a4b2b;
}

.color-swatch[data-color="tan"] {
    --swatch: #c6a06c;
}

.color-swatch[data-color="gold"] {
    background: linear-gradient(135deg, #9f7424, #f7d76a 52%, #b47f22);
}

.color-swatch[data-color="silver"] {
    background: linear-gradient(135deg, #7f8791, #eef1f3 52%, #9aa1aa);
}

[data-theme="light"] .variant-pill--active span,
[data-theme="light"] .variant-pill--active strong {
    color: var(--accent);
}

[data-theme="light"] .variant-pill--active small {
    color: #39ff88;
}

[data-theme="light"] .variant-pill--active {
    background: linear-gradient(135deg, rgba(71, 202, 182, 0.18), rgba(255, 255, 255, 0.92) 68%);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

[data-market-product-region] {
    transition: opacity .14s ease;
}

.market-product-region--loading {
    opacity: .58;
    pointer-events: none;
}

.market-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.market-card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 10px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.market-card--filtered {
    display: none;
}

.market-card--bundle {
    border-color: rgba(71, 202, 182, 0.42);
    background: linear-gradient(90deg, rgba(71, 202, 182, 0.12), var(--surface) 42%);
}

.market-card--link {
    color: inherit;
    text-decoration: none;
}

    .market-card--link:hover {
        border-color: rgba(255, 82, 45, 0.55);
    }

.market-card__img {
    width: 86px;
    height: 72px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    object-fit: cover;
    background: var(--surface-2);
}

.market-card__img--empty {
    display: block;
}

.market-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.market-card__title {
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.market-card__meta {
    color: var(--muted);
    font-size: 12px;
}

.market-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 3px 0 1px;
}

.market-tag {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 5px 7px;
    text-transform: uppercase;
}

.market-tag--bundle {
    border-color: rgba(71, 202, 182, 0.7);
    color: #8ef3e3;
    background: rgba(71, 202, 182, 0.12);
}

.market-tag--variant {
    border-color: rgba(255, 90, 44, 0.6);
    color: var(--text);
    background: rgba(255, 90, 44, 0.10);
}

.market-tag--color {
    border-color: rgba(154, 164, 178, 0.42);
    color: var(--text);
    background: rgba(154, 164, 178, 0.08);
}

.market-tag--deal-strong {
    border-color: rgba(85, 214, 190, 0.78);
    color: #8ef3e3;
    background: rgba(85, 214, 190, 0.13);
}

.market-tag--deal-good {
    border-color: rgba(255, 183, 77, 0.72);
    color: #ffd08a;
    background: rgba(255, 183, 77, 0.12);
}

.market-tag--deal-fair {
    border-color: var(--overlay-line);
    color: var(--text);
}

.seller-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    min-width: 0;
    text-decoration: none;
    width: fit-content;
    flex-wrap: wrap;
}

    .seller-line:hover span {
        color: var(--accent);
    }

    .seller-line img {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 1px solid var(--line);
        object-fit: cover;
        background: var(--surface-2);
    }

.market-card__price {
    color: var(--accent);
    white-space: nowrap;
    font-size: 18px;
}

.market-card__actions {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 12px;
    min-width: 118px;
}

    .market-card__actions form {
        margin: 0;
    }

.market-card__seller-logo {
    margin-top: auto;
    width: 78px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

    .market-card__seller-logo img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.market-modal-preview {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
    padding: 10px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.market-modal-preview__img {
    width: 86px;
    height: 72px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    object-fit: cover;
    background: var(--surface);
}

.market-modal-preview__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .market-modal-preview__body span {
        color: var(--muted);
        font-size: 12px;
    }

.modal__panel--listing-choice {
    width: min(720px, 100%);
}

.list-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.list-channel-card {
    appearance: none;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(135deg, var(--surface-2), var(--surface));
    color: var(--text);
    text-align: left;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 160px;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

    .list-channel-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 90, 44, 0.7);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    }

.list-channel-card__eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.list-channel-card strong {
    font-size: 24px;
    line-height: 1.05;
}

.list-channel-card span:last-child {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.list-channel-card--ebay {
    background: radial-gradient(circle at 90% 0%, rgba(85, 214, 190, 0.2), transparent 38%), linear-gradient(135deg, var(--surface-2), var(--surface));
}

.ebay-draft-callout {
    border: 1px solid rgba(85, 214, 190, 0.3);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.12), rgba(255, 90, 44, 0.08));
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

    .ebay-draft-callout strong {
        color: var(--text);
        font-size: 16px;
    }

    .ebay-draft-callout span {
        color: var(--muted);
        font-size: 13px;
        text-align: right;
        max-width: 52ch;
    }

.ebay-connect-page {
    max-width: 1040px;
}

.ebay-connect-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}

    .ebay-connect-hero h1 {
        margin-bottom: 12px;
    }

    .ebay-connect-hero .muted {
        max-width: 760px;
        font-size: 18px;
        line-height: 1.55;
    }

.ebay-connect-badge {
    border: 1px solid rgba(85, 214, 190, 0.34);
    border-radius: calc(var(--r) + 8px);
    background: radial-gradient(circle at 86% 0%, rgba(85, 214, 190, 0.22), transparent 42%), linear-gradient(135deg, var(--surface-2), var(--surface));
    padding: 22px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

    .ebay-connect-badge span {
        color: var(--accent);
        font-family: var(--font-display);
        font-size: 46px;
        line-height: 0.9;
    }

    .ebay-connect-badge strong {
        color: var(--muted);
        font-size: 12px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

.ebay-connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 18px;
    align-items: stretch;
}

.ebay-connect-panel {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    padding: 24px;
    display: grid;
    gap: 14px;
}

    .ebay-connect-panel h2 {
        margin: 0;
        font-size: clamp(26px, 4vw, 42px);
        line-height: 0.95;
    }

    .ebay-connect-panel p {
        margin: 0;
        line-height: 1.5;
    }

.ebay-connect-panel--dark {
    background: linear-gradient(135deg, #303642, #252a33);
    border-color: rgba(255, 90, 44, 0.38);
    color: #fff;
}

    .ebay-connect-panel--dark p {
        color: rgba(255, 255, 255, 0.78);
    }

.ebay-permission-list {
    display: grid;
    gap: 9px;
    margin-top: 4px;
}

    .ebay-permission-list span {
        border: 1px solid rgba(85, 214, 190, 0.2);
        border-radius: var(--r-sm);
        background: rgba(85, 214, 190, 0.08);
        padding: 12px 13px;
        color: var(--text);
        font-weight: 800;
    }

.ebay-connect-consent {
    border: 1px solid rgba(255, 90, 44, 0.28);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(255, 90, 44, 0.1), var(--surface));
    padding: 18px;
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

    .ebay-connect-consent label {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text);
        font-weight: 800;
        line-height: 1.35;
    }

    .ebay-connect-consent input[type="checkbox"] {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
        accent-color: var(--accent);
    }

.ebay-connect-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.bundle-workbench {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr);
    gap: 18px;
    align-items: start;
}

.bundle-toolbox {
    display: grid;
    gap: 22px;
}

.bundle-toolbox__section {
    display: grid;
    gap: 12px;
}

.bundle-custom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px 104px;
    gap: 10px;
    align-items: end;
}

    .bundle-custom label {
        display: grid;
        gap: 6px;
    }

        .bundle-custom label span {
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.12em;
            font-size: 10px;
        }

    .bundle-custom .btn {
        grid-column: 1 / -1;
    }

.bundle-paste {
    min-height: 220px;
    height: auto;
    padding: 14px;
    resize: vertical;
    line-height: 1.45;
}

.bundle-results {
    display: grid;
    gap: 14px;
}

.bundle-total {
    border: 1px solid rgba(71, 202, 182, 0.44);
    background: linear-gradient(135deg, rgba(71, 202, 182, 0.14), var(--surface) 52%);
    border-radius: var(--r);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

    .bundle-total strong {
        display: block;
        color: var(--text);
        font-family: var(--font-display);
        font-size: 58px;
        line-height: 0.92;
        font-weight: 400;
    }

    .bundle-total span {
        color: var(--muted);
        font-size: 13px;
    }

.bundle-table {
    display: grid;
    gap: 10px;
}

.bundle-row {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.bundle-row--detected {
    border-color: rgba(255, 183, 77, 0.34);
    background: linear-gradient(90deg, rgba(255, 183, 77, 0.10), var(--surface) 48%);
}

.bundle-row__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .bundle-row__main strong {
        font-size: 18px;
        line-height: 1.15;
    }

    .bundle-row__main span, .bundle-row__main small {
        color: var(--muted);
        font-size: 12px;
    }

.bundle-row__controls {
    display: grid;
    grid-template-columns: 74px 104px auto auto;
    gap: 10px;
    align-items: end;
}

.bundle-row__controls {
    grid-template-columns: 74px 104px auto auto auto;
}

    .bundle-row__controls label {
        display: grid;
        gap: 5px;
    }

        .bundle-row__controls label span {
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.12em;
            font-size: 10px;
        }

    .bundle-row__controls .input {
        height: 42px;
        padding: 8px 10px;
    }

    .bundle-row__controls strong {
        color: var(--accent);
        font-size: 18px;
        white-space: nowrap;
        padding-bottom: 11px;
    }

.bundle-row__alternative {
    border-top: 1px solid rgba(71, 202, 182, 0.18);
    display: grid;
    gap: 7px;
    grid-column: 1 / -1;
    padding-top: 10px;
}

    .bundle-row__alternative span {
        color: var(--teal);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .bundle-row__alternative .input {
        height: 40px;
        padding: 8px 10px;
    }

.bundle-highlight {
    border: 1px solid rgba(71, 202, 182, 0.35);
    background: rgba(71, 202, 182, 0.08);
    border-radius: var(--r);
    padding: 14px;
    color: var(--muted);
    line-height: 1.55;
    white-space: pre-wrap;
}

    .bundle-highlight .cap {
        color: var(--teal);
        margin: 0 0 8px;
    }

    .bundle-highlight mark {
        background: rgba(71, 202, 182, 0.28);
        color: var(--text);
        border: 1px solid rgba(71, 202, 182, 0.38);
        border-radius: 4px;
        padding: 0 3px;
    }

.modal__panel--wide {
    width: min(980px, 100%);
}

.bundle-comps-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

    .bundle-comps-summary > div {
        border: 1px solid rgba(71, 202, 182, 0.28);
        background: rgba(71, 202, 182, 0.08);
        border-radius: var(--r);
        padding: 14px;
        display: grid;
        gap: 4px;
    }

    .bundle-comps-summary span, .bundle-comps-summary small {
        color: var(--muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

    .bundle-comps-summary strong {
        color: var(--text);
        font-family: var(--font-display);
        font-size: 34px;
        line-height: 1;
        font-weight: 400;
    }

.bundle-comps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bundle-comps-list {
    display: grid;
    gap: 10px;
}

.bundle-comps-card {
    grid-template-columns: 66px minmax(0, 1fr) auto;
    padding: 9px;
}

    .bundle-comps-card .market-card__img {
        width: 66px;
        height: 56px;
    }

    .bundle-comps-card .market-card__price {
        font-size: 16px;
    }

.discovery-shell {
    border: 1px solid rgba(71, 202, 182, 0.14);
    background: linear-gradient(135deg, rgba(71, 202, 182, 0.07), var(--surface-control));
    border-radius: var(--r);
    padding: 14px;
    margin: 0 0 24px;
    display: grid;
    gap: 14px;
}

.discovery-presets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.discovery-preset {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: rgba(19, 19, 22, 0.72);
    color: inherit;
    text-decoration: none;
    padding: 12px;
    display: grid;
    gap: 4px;
    min-width: 0;
}

    .discovery-preset:hover {
        color: var(--text);
        border-color: rgba(255, 90, 44, 0.55);
    }

.discovery-preset--active {
    border-color: rgba(71, 202, 182, 0.78);
    background: rgba(71, 202, 182, 0.12);
}

.discovery-preset span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
    font-weight: 800;
}

.discovery-preset strong {
    font-size: 18px;
    line-height: 1.05;
}

.discovery-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(104px, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.discovery-filter-wide {
    min-width: 0;
}

.discovery-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface-2);
}

    .discovery-tabs .type-tab {
        border-color: transparent;
        padding: 8px 16px;
    }

        .discovery-tabs .type-tab:hover {
            color: var(--text);
            background: var(--surface-hover);
            border-color: transparent;
        }

    .discovery-tabs .type-tab--active, .discovery-tabs .type-tab--active:hover {
        background: var(--accent);
        color: var(--accent-ink);
        border-color: transparent;
    }

.discovery-list {
    display: grid;
    gap: 10px;
}

.discovery-card {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    padding: 10px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

    .discovery-card:hover {
        border-color: rgba(71, 202, 182, 0.42);
    }

.discovery-card__img {
    width: 92px;
    height: 78px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    object-fit: cover;
}

.discovery-card__body {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.discovery-card__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.discovery-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.discovery-card__aside {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.affiliate-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

    .affiliate-toggle span {
        color: var(--muted);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        white-space: nowrap;
    }

.event-source-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.event-powered-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

    .event-powered-by img {
        height: 34px;
        width: auto;
        max-width: 220px;
        object-fit: contain;
    }

.event-kind-toggle {
    display: inline-flex;
    gap: 6px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r-sm);
    padding: 5px;
    margin: 22px 0 0;
}

.event-kind-toggle__item {
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 900;
    border-radius: 6px;
    padding: 12px 16px;
}

    .event-kind-toggle__item:hover,
    .event-kind-toggle__item--active {
        color: var(--text);
        background: var(--accent);
    }

.event-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 18px 0 24px;
}

.event-filter {
    display: inline-flex;
    gap: 6px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r-sm);
    padding: 5px;
    margin: 18px 0 24px;
}

.event-toolbar .event-filter {
    margin: 0;
}

.event-filter__item {
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    padding: 9px 13px;
}

    .event-filter__item:hover, .event-filter__item--active {
        color: var(--text);
        background: var(--surface-2);
    }

.event-filter--scenario .event-filter__item {
    color: var(--text);
}

.event-past-toggle label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
}

.event-toolbar__actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
    flex-wrap: wrap;
}

.event-advanced-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 120px auto auto;
    gap: 10px;
    align-items: center;
    margin: -10px 0 24px;
}

.event-month-filter {
    grid-column: 1 / -1;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.event-month-filter__item {
    flex: 0 0 auto;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 900;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    padding: 9px 12px;
}

    .event-month-filter__item:hover,
    .event-month-filter__item--active {
        color: var(--text);
        border-color: var(--line-strong);
        background: var(--surface-2);
    }

.event-results-map {
    margin: 0 0 22px;
}

.event-results-map__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

    .event-results-map__head span {
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

.event-results-map__canvas {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background:
        radial-gradient(circle at 25% 28%, rgba(255, 90, 44, 0.18), transparent 28%),
        radial-gradient(circle at 72% 62%, rgba(71, 202, 182, 0.16), transparent 30%),
        var(--surface-2);
}

.event-results-map__canvas--mapbox {
    background: var(--surface-2);
}

.event-results-map__dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 82, 42, 0.15), 0 0 28px rgba(255, 82, 42, 0.45);
    transform: translate(-50%, -50%);
}

.event-results-map__marker {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--text);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(255, 82, 42, 0.18), 0 0 30px rgba(255, 82, 42, 0.52);
    cursor: pointer;
    color: #050505;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.market-filter-button--active {
    border-color: rgba(255, 90, 44, 0.5);
    background: var(--surface);
    color: var(--text);
}

.event-past-toggle input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.event-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.event-list {
    display: flex;
    flex-direction: column;
}

.event-list--compact {
    max-height: 860px;
    overflow: auto;
    padding-right: 6px;
}

.event-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding: 13px 10px 14px;
}

    .event-card:hover, .event-card--active {
        background: var(--surface-2);
    }

.event-card--active {
    box-shadow: inset 3px 0 0 var(--accent);
    background: var(--surface-2);
    padding-left: 14px;
}

.event-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-selected-shell {
    transition: opacity 0.16s ease;
}

.event-selected-shell--loading {
    opacity: 0.48;
    pointer-events: none;
}

    .event-card__body strong {
        line-height: 1.18;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .event-card__body small {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.35;
    }

.event-hub-hero {
    position: relative;
    overflow: hidden;
    margin: 14px 0 18px;
    min-height: 188px;
    border: 1px solid rgba(255, 90, 44, 0.54);
    border-radius: var(--r);
    background: #e24728;
    padding: 28px 270px 28px 36px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 14px 46px rgba(255, 82, 45, 0.12);
}

[data-theme="dark"] .event-hub-hero {
    background: linear-gradient(100deg, #e24728 0%, #c73522 68%, #5f1b18 100%);
}

[data-theme="light"] .event-hub-hero {
    background: linear-gradient(100deg, #ff6a3f 0%, #f04f2c 72%, #dc3f24 100%);
}

.event-hub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.04), rgba(0,0,0,.18));
    pointer-events: none;
}

.event-hub-hero__logo {
    position: absolute;
    top: 22px;
    right: 24px;
    width: clamp(112px, 15vw, 188px);
    max-height: 76px;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: var(--r-sm);
    background: rgba(255,255,255,.9);
    padding: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    z-index: 1;
}

.event-hub-hero__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

    .event-hub-hero__content h2 {
        margin: 6px 0 8px;
        color: #fff8f4;
        font-family: var(--font-display);
        font-size: clamp(36px, 4.5vw, 58px);
        line-height: 0.94;
        letter-spacing: 0;
        text-shadow: 0 2px 12px rgba(0,0,0,.14);
    }

    .event-hub-hero__content p {
        color: rgba(255,248,244,.82);
        margin: 0 0 12px;
    }

.event-hub-hero .event-actions {
    margin: 12px 0 0;
}

.event-hero-btn--primary {
    background: #47cab6;
    color: #06231f;
    border-color: #47cab6;
}

    .event-hero-btn--primary:hover {
        background: #62d7c6;
        color: #06231f;
        border-color: #62d7c6;
    }

.event-hero-btn--ghost {
    border-color: rgba(255,255,255,.34);
    color: #fff8f4;
    background: rgba(255,255,255,.08);
}

    .event-hero-btn--ghost:hover {
        border-color: rgba(255,255,255,.72);
        color: #fff8f4;
    }

.event-hub-layout {
    display: grid;
    grid-template-columns: minmax(280px, .36fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.event-sidebar {
    position: sticky;
    top: 86px;
    align-self: start;
}

.event-hub-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.event-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .58fr);
    gap: 18px;
    align-items: stretch;
}

.event-actions form {
    display: inline-flex;
    margin: 0;
}

.event-actions--links {
    margin-bottom: 16px;
}

.event-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.event-roster-card {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r-sm);
    padding: 10px;
    min-width: 0;
}

    .event-roster-card:hover {
        border-color: var(--line-strong);
    }

    .event-roster-card img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--line);
        object-fit: cover;
        background: var(--surface);
        flex: 0 0 auto;
    }

    .event-roster-card span {
        display: flex;
        flex-direction: column;
        min-width: 0;
        gap: 2px;
    }

    .event-roster-card strong, .event-roster-card small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-roster-card small {
        color: var(--muted);
        font-size: 12px;
    }

.event-market-panel .section-head {
    align-items: center;
    gap: 14px;
}

.event-modal-check {
    align-self: end;
    min-height: 48px;
}

.event-product-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    max-height: 270px;
    overflow: auto;
}

.event-product-selected {
    margin-top: 8px;
    border: 1px solid rgba(255, 82, 45, 0.32);
    background: rgba(255, 82, 45, 0.08);
    border-radius: var(--r-sm);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .event-product-selected span {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .event-product-selected strong, .event-product-selected small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-product-selected small {
        color: var(--muted);
        font-size: 12px;
    }

.event-detail {
    position: sticky;
    top: 88px;
}

.event-detail__hero {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
    margin-bottom: 18px;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.event-milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 18px 0;
}

    .event-milestones div {
        border: 1px solid var(--line);
        border-radius: var(--r-sm);
        background: var(--surface-2);
        padding: 12px;
        min-width: 0;
    }

    .event-milestones span {
        display: block;
        color: var(--muted);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        margin-bottom: 7px;
    }

    .event-milestones strong {
        display: block;
        font-family: var(--font-display);
        font-size: 24px;
        line-height: 1;
    }

.event-description {
    white-space: pre-line;
    margin: 16px 0;
}

.event-source-attribution {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 13px;
    margin: 14px 0;
    padding: 10px 12px;
}

    .event-source-attribution a {
        color: var(--accent);
        font-weight: 800;
        text-decoration: none;
    }

.event-section {
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 18px;
}

    .event-section h3 {
        margin: 0 0 12px;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        font-size: 13px;
    }

.event-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .event-chip-list span {
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface-2);
        padding: 8px 10px;
        color: var(--text);
        font-size: 13px;
    }

.event-timeline {
    display: grid;
    gap: 6px;
}

    .event-timeline p {
        margin: 0;
        color: var(--muted);
    }

.event-prizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
}

    .event-prizes p {
        margin: 0;
        border: 1px solid var(--line);
        border-radius: var(--r-sm);
        background: var(--surface-2);
        padding: 9px 10px;
        color: var(--muted);
    }

.event-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
    margin: 8px 0 12px;
}

.event-scenario-map-panel {
    display: grid;
    gap: 14px;
}

.event-scenario-map-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.event-map--scenario {
    aspect-ratio: 21 / 9;
    min-height: 360px;
    margin: 0;
}

.event-scenario-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .event-scenario-actions .btn {
        border-radius: var(--r-pill);
    }

.event-source {
    font-size: 12px;
    margin-top: 18px;
}

.team-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.team-hero__identity {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.team-hero__logo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    object-fit: cover;
    background: var(--surface);
}

.team-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -14px 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.team-subnav__link {
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 900;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    padding: 10px 12px;
}

    .team-subnav__link:hover, .team-subnav__link--active {
        color: var(--text);
        border-color: var(--line-strong);
        background: var(--surface-2);
    }

/* ANNO Talk */
.talk-page .container { max-width: 1420px; }
.talk-hero { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:28px; }
.talk-hero .display { margin:4px 0 8px; font-size:clamp(48px,7vw,92px); line-height:.9; }
.talk-hero .muted { max-width:720px; font-size:17px; }
.talk-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:32px; align-items:start; }
.talk-sidebar { position:sticky; top:94px; display:grid; gap:30px; }
.talk-filter-group { display:grid; gap:5px; }
.talk-filter-group > .cap { margin:0 0 7px; color:var(--muted); }
.talk-filter { display:flex; justify-content:space-between; gap:12px; padding:11px 12px; border-left:3px solid transparent; color:var(--muted); text-decoration:none; font-weight:700; transition:background 140ms ease,color 140ms ease,border-color 140ms ease; }
.talk-filter:hover { color:var(--text); background:var(--surface-2); }
.talk-filter--active { color:var(--text); border-left-color:var(--accent-2); background:var(--surface); }
.talk-filter strong { color:var(--muted); font-variant-numeric:tabular-nums; }
.talk-main { min-width:0; display:grid; gap:20px; }
.talk-mobile-filter { display:none; }
.talk-compose-launch { width:100%; }
.talk-compose-launch__button { display:flex; align-items:center; width:100%; min-height:68px; padding:12px 15px; border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface); color:var(--muted); box-shadow:var(--shadow-soft); font:inherit; text-align:left; cursor:pointer; transition:border-color 140ms ease,transform 140ms ease,box-shadow 140ms ease; }
.talk-compose-launch__button:hover { border-color:var(--accent-2); transform:translateY(-1px); box-shadow:var(--shadow); }
.talk-compose-launch__plus { display:grid; flex:0 0 40px; width:40px; height:40px; margin-right:12px; place-items:center; border-radius:50%; background:var(--surface-2); color:var(--accent-2); font-size:24px; line-height:1; }
.talk-compose-launch__button > span:nth-child(2) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.talk-compose-launch__button strong { margin-left:auto; padding-left:16px; color:var(--accent-2); font-size:11px; letter-spacing:.12em; text-transform:uppercase; }
.talk-compose__form { display:grid; gap:10px; }
.talk-compose__title { font-size:18px; font-weight:700; }
.talk-compose__body { height:auto; min-height:168px; resize:vertical; line-height:1.5; }
.talk-clipboard-status { margin:0; color:var(--muted); font-size:12px; line-height:1.4; }
.talk-clipboard-status--attached { color:var(--accent); font-weight:700; }
.talk-compose__actions { display:flex; align-items:center; gap:10px; }
.talk-category-select { min-width:220px; }
.talk-category-select .input { min-height:44px; }
.talk-image-control { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 15px; border:1px solid var(--line-strong); border-radius:var(--r-sm); background:var(--surface-2); color:var(--text); font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.talk-image-control:hover { border-color:var(--accent); }
.talk-image-control input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.talk-emoji-picker { position:relative; }
.talk-emoji-picker summary { display:grid; width:44px; height:44px; place-items:center; border:1px solid var(--line-strong); border-radius:var(--r-sm); background:var(--surface-2); cursor:pointer; font-size:20px; line-height:1; list-style:none; transition:border-color 140ms ease,transform 140ms ease; }
.talk-emoji-picker summary::-webkit-details-marker { display:none; }
.talk-emoji-picker summary:hover,.talk-emoji-picker[open] summary { border-color:var(--accent); transform:translateY(-1px); }
.talk-emoji-picker__panel { position:absolute; z-index:20; right:0; bottom:calc(100% + 9px); display:grid; grid-template-columns:repeat(8,34px); gap:4px; width:max-content; padding:9px; border:1px solid var(--line-strong); border-radius:var(--r-sm); background:var(--surface); box-shadow:0 18px 48px rgba(0,0,0,.28); }
.talk-emoji-picker__option { display:grid; width:34px; height:34px; padding:0; place-items:center; border:0; border-radius:7px; background:transparent; cursor:pointer; font-size:20px; line-height:1; }
.talk-emoji-picker__option:hover,.talk-emoji-picker__option:focus-visible { outline:none; background:var(--surface-2); transform:scale(1.08); }
.talk-compose__actions .btn { margin-left:auto; }
.talk-modal { width:min(720px,calc(100% - 32px)); max-width:none; padding:0; border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface); color:var(--text); box-shadow:0 28px 80px rgba(0,0,0,.34); }
.talk-modal::backdrop { background:rgba(8,9,12,.68); backdrop-filter:blur(3px); }
.talk-modal__header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:20px 22px 16px; border-bottom:1px solid var(--line); }
.talk-modal__header p,.talk-modal__header h2 { margin:0; }
.talk-modal__header h2 { margin-top:4px; font-size:28px; letter-spacing:0; }
.talk-modal__close { display:grid; flex:0 0 38px; width:38px; height:38px; place-items:center; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface-2); color:var(--text); font-size:25px; line-height:1; cursor:pointer; }
.talk-modal__close:hover { border-color:var(--accent-2); color:var(--accent-2); }
.talk-modal__body { padding:20px 22px 22px; }
.talk-filter-modal { display:none; }
.talk-filter-sheet { display:grid; gap:24px; padding:18px 20px 24px; }
.talk-feed { display:grid; gap:13px; }
.talk-post { border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface); padding:20px; box-shadow:var(--shadow-soft); }
.talk-post__bar,.talk-post__identity,.talk-post__bar-meta,.talk-post__actions,.talk-thread__reply-head,.talk-inline-reply__actions { display:flex; align-items:center; gap:12px; }
.talk-post__bar { justify-content:space-between; }
.talk-post__identity { min-width:0; flex-wrap:wrap; }
.talk-post__bar-meta { flex:0 0 auto; color:var(--muted); font-size:13px; }
.talk-post__bar-meta > * + *::before { content:"\00b7"; margin-right:12px; }
.talk-thread__reply-head time { color:var(--muted); font-size:13px; }
.talk-tag { display:inline-flex; width:fit-content; padding:5px 9px; border-radius:999px; background:rgba(65,219,199,.16); color:var(--accent); font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.talk-post[data-category="Bugs"] .talk-tag { background:rgba(255,84,43,.13); color:var(--accent-2); }
.talk-post[data-category="Events"] .talk-tag { background:rgba(62,134,255,.14); color:#3e86ff; }
.talk-post h2 { margin:12px 0 6px; font-size:clamp(22px,2.2vw,30px); line-height:1.12; letter-spacing:0; }
.talk-post__body { margin:0; color:var(--muted); line-height:1.55; white-space:pre-wrap; }
.talk-auto-link { color:var(--accent); font-weight:700; overflow-wrap:anywhere; text-decoration-thickness:1px; text-underline-offset:2px; }
.talk-link-previews { display:grid; gap:10px; width:min(100%,680px); margin-top:13px; }
.talk-link-preview-loading { min-height:72px; padding:14px; border:1px solid var(--line); border-radius:var(--r-sm); color:var(--muted); font-size:13px; }
.talk-link-card { display:grid; grid-template-columns:minmax(120px,190px) minmax(0,1fr); min-height:112px; overflow:hidden; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface-2); color:var(--text); text-decoration:none; transition:border-color 140ms ease,transform 140ms ease; }
.talk-link-card:hover { border-color:var(--accent); transform:translateY(-1px); }
.talk-link-card--text-only { grid-template-columns:1fr; }
.talk-link-card__image { width:100%; height:100%; min-height:112px; max-height:180px; object-fit:cover; }
.talk-link-card__copy { display:flex; min-width:0; flex-direction:column; justify-content:center; gap:5px; padding:14px 16px; }
.talk-link-card__provider { color:var(--accent); font-size:10px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.talk-link-card__title { overflow:hidden; font-size:16px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.talk-link-card__description { overflow:hidden; color:var(--muted); font-size:13px; line-height:1.4; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.talk-youtube-preview { position:relative; width:100%; overflow:hidden; border:1px solid var(--line); border-radius:var(--r-sm); background:#000; aspect-ratio:16 / 9; }
.talk-youtube-preview iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.talk-post__image { display:block; width:fit-content; max-width:100%; margin-top:14px; }
.talk-post__image img { display:block; max-width:min(100%,560px); max-height:380px; border:1px solid var(--line); border-radius:var(--r-sm); object-fit:contain; }
.talk-author { display:flex; align-items:center; gap:9px; color:inherit; text-decoration:none; }
.talk-author strong { white-space:nowrap; }
.talk-avatar { display:grid; flex:0 0 30px; width:30px; height:30px; place-items:center; border-radius:50%; background:var(--surface-2); color:var(--accent); font-size:13px; font-weight:900; object-fit:cover; }
.talk-first-reply { margin-top:13px; padding:12px 14px; border-left:3px solid var(--accent); background:var(--surface-2); }
.talk-first-reply[hidden] { display:none; }
.talk-reply-author { display:flex; align-items:center; gap:9px; min-width:0; color:inherit; text-decoration:none; }
.talk-reply-author strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.talk-first-reply p { margin:4px 0 0; color:var(--muted); line-height:1.45; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.talk-post__actions { margin-top:12px; }
.talk-action,.talk-edit summary { border:0; padding:5px 0; background:transparent; color:var(--muted); font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.talk-action:hover,.talk-edit summary:hover { color:var(--text); }
.talk-action--accent { color:var(--accent-2); }
.talk-edit { margin-left:auto; }
.talk-edit .feedback-form { width:min(680px,80vw); margin-top:12px; padding:14px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface-2); }
.talk-thread { margin:16px -20px -20px; border-top:1px solid var(--line); background:var(--surface-2); }
.talk-thread[hidden] { display:none; }
.talk-thread__replies { display:grid; }
.talk-thread__reply { padding:14px 20px; }
.talk-thread__reply + .talk-thread__reply { border-top:1px solid var(--line); }
.talk-thread__reply-head { justify-content:space-between; }
.talk-thread__reply p { margin:7px 0 0; line-height:1.5; white-space:pre-wrap; }
.talk-thread__image img { max-width:min(100%,420px); max-height:280px; margin-top:10px; border-radius:var(--r-sm); object-fit:contain; }
.talk-inline-reply { display:grid; gap:10px; padding:15px 20px 20px; border-top:1px solid var(--line); }
.talk-inline-reply textarea { resize:vertical; }
.talk-inline-reply__actions { justify-content:flex-end; }
.talk-inline-reply__error { min-height:18px; margin:0; color:var(--danger); font-size:13px; }
.talk-empty { padding:32px; border:1px dashed var(--line-strong); border-radius:var(--r-md); color:var(--muted); text-align:center; }

@media (max-width: 820px) {
    .talk-hero { flex-direction:column; }
    .talk-layout { grid-template-columns:1fr; gap:18px; }
    .talk-sidebar { display:none; }
    .talk-mobile-filter { position:relative; display:grid; width:100%; min-height:64px; padding:11px 52px 11px 14px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface); color:var(--text); text-align:left; cursor:pointer; }
    .talk-mobile-filter .cap { color:var(--accent-2); }
    .talk-mobile-filter strong { margin-top:3px; font-size:15px; }
    .talk-mobile-filter__icon { position:absolute; right:16px; top:50%; color:var(--muted); font-size:20px; transform:translateY(-50%); }
    .talk-filter-modal { display:block; width:100%; max-height:min(82vh,720px); margin:auto 0 0; border-width:1px 0 0; border-radius:14px 14px 0 0; }
    .talk-filter-modal:not([open]) { display:none; }
    .talk-filter-sheet { overflow-y:auto; }
    .talk-filter-sheet .talk-filter-group { display:grid; width:auto; gap:5px; }
    .talk-filter-sheet .talk-filter-group + .talk-filter-group { margin-top:0; }
    .talk-filter-sheet .talk-filter-group > .cap { display:block; }
    .talk-filter-sheet .talk-filter { border-left:3px solid transparent; border-bottom:0; padding:12px; }
    .talk-filter-sheet .talk-filter--active { border-left-color:var(--accent-2); }
    .talk-compose__actions { flex-wrap:wrap; }
    .talk-category-select { min-width:100%; }
    .talk-compose__actions .btn { margin-left:auto; }
    .talk-emoji-picker__panel { grid-template-columns:repeat(6,34px); max-width:calc(100vw - 48px); }
    .talk-modal { width:calc(100% - 20px); }
    .talk-compose-modal { max-height:calc(100vh - 24px); }
    .talk-modal__header { padding:17px 16px 14px; }
    .talk-modal__body { padding:16px; overflow-y:auto; }
    .talk-compose-launch__button { min-height:62px; }
    .talk-post { padding:16px; }
    .talk-link-card { grid-template-columns:112px minmax(0,1fr); }
    .talk-link-card__copy { padding:12px; }
    .talk-post__bar { align-items:flex-start; }
    .talk-post__bar-meta { align-items:flex-end; flex-direction:column; gap:2px; text-align:right; }
    .talk-post__bar-meta > * + *::before { content:none; }
    .talk-thread { margin:14px -16px -16px; }
}

/* Legacy feedback forum components retained for edit forms and old deep links. */
.feedback-page .container {
    max-width: 1420px;
}

.feedback-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 34px;
}

    .feedback-hero .display {
        margin: 0 0 10px;
        font-size: clamp(24px, 2.55vw, 36px);
        line-height: 0.98;
    }

    .feedback-hero .muted {
        max-width: 720px;
        font-size: 18px;
        line-height: 1.55;
    }

.feedback-panel,
.feedback-reply {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.feedback-panel {
    padding: 22px;
}

.feedback-compose {
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(65, 219, 199, 0.12), var(--surface) 54%, rgba(255, 84, 43, 0.08));
}

.feedback-compose__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 16px;
}

    .feedback-compose__head h2 {
        margin: 4px 0 0;
        font-size: 26px;
        line-height: 1;
    }

.feedback-compose__hint {
    color: var(--muted);
    font-size: 14px;
}

.feedback-form {
    display: grid;
    gap: 14px;
}

.feedback-form--topic {
    grid-template-columns: minmax(210px, 0.9fr) minmax(320px, 1.3fr) 190px auto;
    align-items: end;
}

.feedback-form label {
    display: grid;
    gap: 8px;
}

    .feedback-form label span,
    .feedback-upload span {
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

.feedback-form textarea {
    resize: vertical;
    line-height: 1.45;
}

.feedback-upload {
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-sm);
    padding: 14px;
    background: var(--surface-2);
}

.feedback-upload--compact {
    min-height: 62px;
    align-content: center;
}

.feedback-forum-shell {
    display: grid;
    gap: 22px;
}

.feedback-topic-table {
    padding: 0;
    overflow: hidden;
}

.feedback-topic-table__head,
.feedback-topic-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 86px 160px;
    gap: 18px;
    align-items: center;
}

.feedback-topic-table__head {
    padding: 12px 18px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feedback-topic-table__empty {
    padding: 18px;
    color: var(--muted);
}

.feedback-topic-row {
    padding: 15px 18px;
    border-top: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    background: var(--surface);
    transition: background 140ms ease, border-color 140ms ease;
}

    .feedback-topic-row:hover,
    .feedback-topic-row--active {
        background: rgba(65, 219, 199, 0.1);
    }

.feedback-topic-row__title {
    display: grid;
    gap: 4px;
    min-width: 0;
}

    .feedback-topic-row__title strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 17px;
        line-height: 1.25;
    }

    .feedback-topic-row__title small {
        color: var(--muted);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.feedback-topic-row__poster,
.feedback-topic-row__date,
.feedback-meta {
    color: var(--muted);
}

.feedback-topic-row__replies {
    font-size: 22px;
    font-weight: 900;
    color: var(--accent);
}

.feedback-detail {
    min-width: 0;
    display: grid;
    gap: 0;
}

.feedback-post {
    display: grid;
    gap: 12px;
}

.feedback-detail .feedback-post {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
}

    .feedback-detail .feedback-post + .feedback-replies {
        border-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.feedback-post__head,
.feedback-reply__head,
.feedback-reply__actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.feedback-post h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.55vw, 36px);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 0.98;
    margin: 5px 0 8px;
}

.feedback-body {
    white-space: pre-wrap;
    line-height: 1.55;
    margin: 0;
    color: var(--text);
}

.feedback-image-link {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    cursor: zoom-in;
}

.feedback-image {
    width: auto;
    max-width: min(100%, 540px);
    max-height: 340px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface-2);
}

.feedback-image--reply {
    max-width: min(100%, 420px);
    max-height: 260px;
}

.feedback-edit {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

    .feedback-edit summary {
        cursor: pointer;
        color: var(--accent);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .feedback-edit .feedback-form {
        margin-top: 14px;
    }

.feedback-replies {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

    .feedback-replies .feedback-empty {
        padding: 14px 18px;
    }

.feedback-reply {
    padding: 14px 18px;
    display: grid;
    gap: 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--surface);
}

    .feedback-reply:nth-of-type(odd) {
        background: var(--surface-2);
    }

    .feedback-reply + .feedback-reply {
        border-top: 1px solid var(--line);
    }

.feedback-replies + .feedback-reply-form {
    margin-top: 28px;
}

.feedback-reply__head strong {
    font-size: 16px;
}

.feedback-reply__head span {
    color: var(--muted);
    font-size: 13px;
}

.feedback-quote,
.feedback-quote-preview {
    border-left: 4px solid var(--accent);
    border-radius: var(--r-sm);
    margin: 0;
    padding: 12px 14px;
    background: rgba(65, 219, 199, 0.1);
    display: grid;
    gap: 5px;
}

    .feedback-quote strong,
    .feedback-quote-preview strong {
        color: var(--accent);
        font-size: 12px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .feedback-quote span,
    .feedback-quote-preview span {
        color: var(--muted);
        white-space: pre-wrap;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

.feedback-quote-preview {
    position: relative;
}

    .feedback-quote-preview button {
        position: absolute;
        top: 8px;
        right: 10px;
        border: 0;
        background: transparent;
        color: var(--muted);
        font-size: 22px;
        cursor: pointer;
    }

.feedback-empty,
.feedback-empty-state {
    color: var(--muted);
}

.feedback-empty-state {
    min-height: 190px;
    display: grid;
    align-content: center;
}

    .feedback-empty-state h2 {
        margin: 8px 0;
        font-size: clamp(26px, 3vw, 40px);
        line-height: 1.05;
    }

.feedback-lightbox[hidden] {
    display: none;
}

.feedback-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.84);
}

    .feedback-lightbox img {
        max-width: min(96vw, 1400px);
        max-height: 90vh;
        object-fit: contain;
        border-radius: var(--r-md);
        background: var(--surface);
    }

    .feedback-lightbox button {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.35);
        color: #fff;
        font-size: 22px;
        font-weight: 900;
        cursor: pointer;
    }

@media (max-width: 980px) {
    .feedback-hero,
    .feedback-compose__head,
    .feedback-post__head {
        flex-direction: column;
    }

    .feedback-form--topic {
        grid-template-columns: 1fr;
    }

    .feedback-topic-table__head {
        display: none;
    }

    .feedback-topic-row {
        grid-template-columns: 1fr auto;
        gap: 8px 14px;
    }

    .feedback-topic-row__poster,
    .feedback-topic-row__date {
        font-size: 13px;
    }

    .feedback-topic-row__date {
        grid-column: 1 / -1;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 1fr) minmax(320px, 0.95fr);
    gap: 18px;
    align-items: start;
}

.team-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.team-home-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.team-roster-layout {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.86fr);
    gap: 18px;
    align-items: start;
}

.team-magnet {
    color: inherit;
    text-decoration: none;
    min-height: 154px;
}

    .team-magnet span:last-child {
        color: var(--muted);
        line-height: 1.35;
    }

    .team-magnet:hover {
        border-color: var(--line-strong);
        background: var(--surface-2);
    }

.team-magnet--accent {
    border-color: rgba(255, 82, 42, 0.42);
}

.action-grid--compact {
    grid-template-columns: 1fr;
}

.team-roster, .team-events, .team-invites {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-member {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 11px;
    align-items: center;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r-sm);
    padding: 10px;
}

    .team-member:hover {
        border-color: var(--line-strong);
    }

.team-member__profile {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.team-member img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ink);
}

.team-member span, .team-member__profile span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.team-member strong, .team-member small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-member small, .team-pending small, .team-event small {
    color: var(--muted);
    font-size: 12px;
}

.team-section-divider {
    height: 1px;
    background: var(--line);
    margin: 22px 0;
}

.team-pending {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 12px;
}

.team-event {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r-sm);
    padding: 10px;
}

    .team-event > span:nth-child(2) {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .team-event strong, .team-event small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.team-chat-panel .thread-messages {
    min-height: 380px;
    max-height: 540px;
    overflow: auto;
}

.thread-messages--compact {
    max-height: 320px;
    min-height: 0;
    overflow: auto;
    margin-bottom: 14px;
}

.conversation-row__mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--accent);
    font-weight: 900;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-weight: 900;
    cursor: pointer;
}

    .icon-btn:hover {
        color: var(--text);
        border-color: var(--line-strong);
    }

.board-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 160px auto;
    gap: 12px;
    align-items: end;
}

.exchange-category-filter {
    display: grid;
    gap: 9px;
    margin: 0 0 16px;
}

.exchange-category-filter__label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.exchange-category-filter__items {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 1px 5px;
    scrollbar-width: thin;
}

.exchange-category-chip {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.exchange-category-chip:hover {
    border-color: color-mix(in srgb, var(--teal) 65%, var(--line-strong));
    color: var(--text);
    transform: translateY(-1px);
}

.exchange-category-chip--active,
.exchange-category-chip--active:hover {
    border-color: var(--teal);
    background: color-mix(in srgb, var(--teal) 16%, var(--surface));
    color: var(--teal);
}

.board-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.board-detail {
    position: sticky;
    top: 88px;
}

.board-detail__hero {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: var(--r);
    object-fit: cover;
    background: var(--surface-2);
    margin-bottom: 18px;
}

.listing-gallery {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.listing-gallery__hero {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
}

    .listing-gallery__hero .board-detail__hero {
        margin-bottom: 0;
        display: block;
    }

.listing-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 8px;
}

    .listing-gallery__thumbs button {
        border: 1px solid var(--line);
        border-radius: var(--r-sm);
        background: var(--surface-2);
        padding: 0;
        overflow: hidden;
        aspect-ratio: 1.2 / 1;
        cursor: pointer;
    }

        .listing-gallery__thumbs button:hover {
            border-color: var(--accent);
        }

    .listing-gallery__thumbs img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.board-listing-meta {
    display: grid;
    grid-template-columns: minmax(180px, 0.92fr) minmax(210px, 1.08fr);
    gap: 12px;
    align-items: stretch;
    margin-top: 18px;
}

.board-price {
    grid-template-columns: 1fr;
    margin-top: 0;
    height: 100%;
}

    .board-price .price-guide__card {
        height: 100%;
    }

.board-edited-line {
    border-left: 3px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 12px 0 0;
    padding-left: 10px;
    text-transform: uppercase;
}

.board-description {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    margin: 14px 0 18px;
    padding: 14px 16px;
}

    .board-description span {
        display: block;
        margin-bottom: 8px;
        color: var(--accent);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .board-description p {
        white-space: pre-line;
        color: var(--muted);
        line-height: 1.5;
        margin: 0;
    }

.seller-profile {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    margin: 8px 0 18px;
}

    .seller-profile:hover strong {
        color: var(--accent);
    }

    .seller-profile img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 1px solid var(--line);
        object-fit: cover;
        background: var(--surface-2);
    }

    .seller-profile span {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .seller-profile small {
        color: var(--muted);
        font-size: 12px;
    }

.seller-profile__badges {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.board-seller-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    margin: 0;
    padding: 14px;
    min-width: 0;
}

    .board-seller-card:hover {
        border-color: rgba(85, 214, 190, 0.4);
        background: color-mix(in srgb, var(--teal) 6%, var(--surface-2));
    }

    .board-seller-card img {
        width: 52px;
        height: 52px;
    }

    .board-seller-card > span {
        min-width: 0;
    }

    .board-seller-card strong,
    .board-seller-card small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.board-seller-card__eyebrow {
    color: var(--accent) !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.board-form {
    margin-top: 16px;
}

.board-edit-listing {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    margin: 18px 0 0;
    padding: 12px 14px;
}

    .board-edit-listing summary {
        cursor: pointer;
        color: var(--accent);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .board-edit-listing[open] summary {
        margin-bottom: 12px;
    }

.board-edit-listing__offers {
    align-self: end;
    min-height: 46px;
}

.checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    margin: 10px 0;
}

    .checkline input {
        width: 16px;
        height: 16px;
        accent-color: var(--teal);
    }

.board-messages, .board-transaction {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 18px;
}

.deal-card {
    border-color: rgba(85, 214, 190, 0.22);
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.06), var(--surface) 42%);
}

.message-row {
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r);
    padding: 10px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.message-row--mine {
    border-color: rgba(85, 214, 190, 0.22);
    background: rgba(85, 214, 190, 0.06);
}

.message-row img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    object-fit: cover;
    background: var(--surface);
}

.message-row strong {
    font-size: 13px;
}

.message-row p {
    margin: 3px 0 0;
    color: var(--text);
}

.board-questions {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 18px;
}

.board-question {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
    padding: 12px;
    margin-bottom: 10px;
}

.question-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

    .question-author:hover strong {
        color: var(--accent);
    }

    .question-author img {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 1px solid var(--line);
        object-fit: cover;
        background: var(--surface-2);
    }

.question-author__avatar--premium {
    border-color: #DCA84A !important;
    box-shadow: 0 0 0 2px rgba(220, 168, 74, 0.68);
}

.question-author__avatar--verified {
    border-color: #55D6BE !important;
    box-shadow: 0 0 0 2px rgba(85, 214, 190, 0.72);
}

.board-question p {
    color: var(--text);
    margin: 0;
}

.board-question span {
    color: var(--muted);
    display: block;
    margin-top: 8px;
}

.free-agent-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.free-agent-map {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.free-agent-map__canvas {
    position: relative;
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: radial-gradient(circle at 30% 40%, rgba(85, 214, 190, 0.12), transparent 24%), linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

    .free-agent-map__canvas::before, .free-agent-map__canvas::after {
        content: "";
        position: absolute;
        inset: 22px;
        border: 1px dashed rgba(255,255,255,0.08);
        border-radius: 50%;
    }

    .free-agent-map__canvas::after {
        inset: 52px 88px;
        transform: rotate(-18deg);
    }

.free-agent-map__canvas--mapbox {
    min-height: 320px;
    background: var(--surface-2);
}

    .free-agent-map__canvas--mapbox::before, .free-agent-map__canvas--mapbox::after {
        display: none;
    }

.free-agent-map__dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 82, 42, 0.15), 0 0 28px rgba(255, 82, 42, 0.45);
    transform: translate(-50%, -50%);
}

.free-agent-map__marker {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--text);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(255, 82, 42, 0.18), 0 0 30px rgba(255, 82, 42, 0.52);
    cursor: pointer;
    color: #050505;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.mapboxgl-popup-content {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    box-shadow: 0 18px 48px rgba(0,0,0,0.4);
    font-family: var(--font-body);
}

    .mapboxgl-popup-content span {
        color: var(--muted);
    }

.mapboxgl-popup-tip {
    border-top-color: var(--surface) !important;
    border-bottom-color: var(--surface) !important;
}

.free-agent-requests {
    display: grid;
    gap: 12px;
}

.free-agent-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 14px;
}

    .free-agent-card > img {
        width: 74px;
        height: 74px;
        border-radius: var(--r-sm);
        object-fit: cover;
        border: 1px solid var(--line);
        background: var(--surface-2);
    }

    .free-agent-card h2 {
        margin: 6px 0 6px;
        font-size: 22px;
        line-height: 1.05;
    }

    .free-agent-card p {
        margin: 8px 0;
    }

.free-agent-card__head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.free-agent-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

    .free-agent-card__actions form {
        margin: 0;
    }

.free-agent-mini-list {
    display: grid;
    gap: 8px;
}

.free-agent-mini {
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .free-agent-mini:hover {
        border-color: var(--line-strong);
    }

    .free-agent-mini span {
        color: var(--muted);
        font-size: 12px;
    }

.messages-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.messages-list {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conversation-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: inherit;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--r);
    padding: 10px;
}

    .conversation-row:hover, .conversation-row--active {
        border-color: var(--line-strong);
        background: var(--surface-2);
    }

.conversation-row--active {
    border-color: rgba(85, 214, 190, 0.32);
}

.conversation-row img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.conversation-row span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.conversation-row strong, .conversation-row small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-row small {
    color: var(--muted);
    font-size: 12px;
}

.messages-thread {
    min-height: 620px;
    display: grid;
    grid-template-rows: auto minmax(260px, 1fr) auto;
    gap: 16px;
}

.thread-head {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

    .thread-head img {
        width: 72px;
        height: 58px;
        border-radius: var(--r-sm);
        object-fit: cover;
        border: 1px solid var(--line);
        background: var(--surface-2);
    }

.thread-messages {
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.thread-compose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.image-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
}

.image-lightbox__panel {
    position: relative;
    max-width: min(980px, 100%);
    max-height: calc(100vh - 48px);
}

    .image-lightbox__panel img {
        max-width: 100%;
        max-height: calc(100vh - 80px);
        border-radius: var(--r);
        border: 1px solid var(--line-strong);
        background: var(--surface);
        object-fit: contain;
        display: block;
    }

.image-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.58);
}

.player-profile {
    display: flex;
    align-items: center;
    gap: 28px;
}

.profile-locker {
    margin-top: 36px;
}

.public-locker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.public-locker-card {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    padding: 12px;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.public-locker-card--offers {
    border-color: rgba(85, 214, 190, 0.32);
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.08), var(--surface) 52%);
}

.public-locker-card__img {
    width: 84px;
    height: 84px;
    border-radius: var(--r-sm);
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.public-locker-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.public-locker-card__badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.public-locker-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.05;
}

.public-locker-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.public-locker-card__value {
    color: var(--text);
    font-size: 13px;
}

.public-locker-card__actions {
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .public-locker-card__actions .muted {
        font-size: 12px;
    }

.mini-pill {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--muted);
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
}

.mini-pill--offer {
    border-color: rgba(85, 214, 190, 0.48);
    color: #7BE3D0;
    background: rgba(85, 214, 190, 0.08);
}

.profile-reviews {
    margin-top: 34px;
}

.review-summary {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(85, 214, 190, 0.08), var(--surface) 46%);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

    .review-summary .section-title {
        margin: 0;
        color: var(--text);
    }

.review-score {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-score__item {
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--muted);
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.review-score__item--positive {
    border-color: rgba(85, 214, 190, 0.38);
    color: #7BE3D0;
}

.review-score__item--neutral {
    color: var(--text);
}

.review-score__item--negative {
    border-color: rgba(255, 90, 44, 0.44);
    color: var(--accent);
}

.review-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.review-card {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    padding: 14px;
}

.review-card__head, .review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.review-card p {
    margin: 12px 0 8px;
    color: var(--text);
}

.review-card__meta {
    color: var(--muted);
    font-size: 12px;
}

    .review-card__meta a {
        color: var(--text);
        text-decoration: none;
    }

        .review-card__meta a:hover {
            color: var(--accent);
        }

.review-card__listing {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}

.input--file {
    height: auto;
    min-height: 46px;
    padding: 10px 14px;
}

.iconbtn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r);
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1;
}

    .iconbtn:hover {
        border-color: var(--text);
    }

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 22px;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.modal__panel {
    position: relative;
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    border-radius: var(--r);
    padding: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.modal__panel--event-choice {
    width: min(540px, 100%);
}

.modal__panel--locker-onboarding {
    width: min(680px, 100%);
}

.locker-onboarding-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

    .locker-onboarding-list article {
        --locker-onboarding-accent: var(--accent);
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        border: 1px solid color-mix(in srgb, var(--locker-onboarding-accent) 36%, var(--line));
        border-radius: var(--r-sm);
        background:
            linear-gradient(90deg, color-mix(in srgb, var(--locker-onboarding-accent) 14%, transparent), transparent 58%),
            var(--surface-2);
        padding: 14px 16px;
    }

        .locker-onboarding-list article:nth-child(1) {
            --locker-onboarding-accent: #55D6BE;
        }

        .locker-onboarding-list article:nth-child(2) {
            --locker-onboarding-accent: #FF5A2C;
        }

        .locker-onboarding-list article:nth-child(3) {
            --locker-onboarding-accent: #DCA84A;
        }

        .locker-onboarding-list article:nth-child(4) {
            --locker-onboarding-accent: #6EA8FE;
        }

        .locker-onboarding-list article:nth-child(5) {
            --locker-onboarding-accent: #C084FC;
        }

    .locker-onboarding-list__icon {
        display: inline-grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border: 1px solid color-mix(in srgb, var(--locker-onboarding-accent) 48%, var(--line));
        border-radius: 8px;
        background: color-mix(in srgb, var(--locker-onboarding-accent) 18%, var(--surface));
        color: var(--locker-onboarding-accent);
    }

        .locker-onboarding-list__icon svg {
            width: 21px;
            height: 21px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 2;
        }

    .locker-onboarding-list__copy {
        display: block;
        min-width: 0;
    }

    .locker-onboarding-list strong {
        display: block;
        margin-bottom: 5px;
        color: var(--locker-onboarding-accent);
        font-size: 14.5px;
        font-weight: 950;
        letter-spacing: 0.11em;
        text-transform: uppercase;
    }

    .locker-onboarding-list__copy > span {
        display: block;
        color: var(--muted);
        line-height: 1.4;
    }

.event-choice-stack {
    display: grid;
    gap: 10px;
}

.event-choice-button {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--text);
    padding: 16px;
    text-align: left;
    cursor: pointer;
}

    .event-choice-button:hover {
        border-color: var(--accent);
    }

    .event-choice-button strong {
        display: block;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 13px;
    }

    .event-choice-button span {
        display: block;
        color: var(--muted);
        line-height: 1.35;
    }

.modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.modal__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
}

.tank-panel {
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--r);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .tank-panel[hidden] {
        display: none;
    }

.field-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px auto auto;
    gap: 10px;
    align-items: center;
    margin: 28px 0 12px;
}

.field-location-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 120px auto auto;
    gap: 10px;
    align-items: center;
    margin: 0 0 12px;
}

.field-search,
.field-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    padding: 0 12px;
}

.field-count {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.field-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    overflow: hidden;
    min-width: 0;
}

.field-card__photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: var(--surface-2);
}

.field-card__body {
    padding: 16px;
}

.field-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.field-card h2 {
    font-size: 18px;
    line-height: 1.15;
    margin: 0 0 6px;
}

.field-card__top p,
.field-meta {
    color: var(--muted);
    font-size: 13px;
}

.field-rating {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--text);
}

.field-card__badges {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.field-distance {
    border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line));
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--accent);
    white-space: nowrap;
}

.field-summary {
    margin: 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.field-meta {
    display: grid;
    gap: 5px;
    margin-top: 12px;
}

.field-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

@media (max-width: 980px) {
    .field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .field-toolbar,
    .field-location-toolbar {
        grid-template-columns: 1fr;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }
}

.scan-callout {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(255, 90, 44, 0.28);
    border-radius: var(--r);
    background: rgba(255, 90, 44, 0.08);
    padding: 13px;
}

.scan-callout__icon {
    width: 46px;
    height: 38px;
    border: 1px solid var(--accent);
    border-radius: var(--r-sm);
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 7px;
}

    .scan-callout__icon span {
        width: 4px;
        background: var(--accent);
        border-radius: 2px;
    }

        .scan-callout__icon span:nth-child(2) {
            width: 8px;
        }

.scan-callout__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .scan-callout__body strong {
        line-height: 1.15;
    }

    .scan-callout__body span {
        color: var(--muted);
        font-size: 13px;
    }

@media (max-width: 860px) {
    .prelaunch-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 44px;
        padding-bottom: 56px;
    }

    .prelaunch-title {
        font-size: clamp(64px, 19vw, 104px);
    }

    .prelaunch-waitlist {
        grid-template-columns: 1fr;
    }

    .prelaunch-hero__phone {
        min-height: auto;
        justify-content: center;
    }

    .prelaunch-hero__cards {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-card {
        position: static;
        width: min(360px, 90vw);
    }

    .hero-card--market {
        margin-top: 18px;
    }

    .phone-frame {
        width: min(292px, 84vw);
    }

    .prelaunch-magnets {
        padding: 54px 0 72px;
    }

    .prelaunch-magnet {
        grid-template-columns: 46px 1fr;
        gap: 14px;
        padding-right: 0;
    }

        .prelaunch-magnet span {
            font-size: 26px;
        }

    .dash-head, .locker-head {
        flex-direction: column;
    }

    .admin-job-layout {
        grid-template-columns: 1fr;
    }

    .admin-table {
        overflow-x: auto;
    }

    .metric-grid, .action-grid, .locker-workspace, .plan-grid, .locker-summary, .home-locker, .home-profile-cta, .home-feed-grid, .home-columns, .home-field-selected, .home-field-setup, .home-field-suggestions, .home-field-suggestions--change, .home-feedback-grid, .home-event-feature, .home-event-feature__main, .home-event-strip {
        grid-template-columns: 1fr;
    }

    .home-locker {
        align-items: start;
    }

    .home-locker__actions {
        justify-content: flex-start;
    }

    .home-profile-cta .btn {
        justify-self: start;
    }

    .dashboard-home__hero {
        align-items: flex-start;
        padding-bottom: 32px;
    }

    .dashboard-home__hero-copy h1 {
        font-size: clamp(48px, 16vw, 68px);
    }

    .home-team-invites {
        margin-top: 0;
    }

    .home-team-invite {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .home-team-invite__premium,
    .home-team-invite__actions {
        grid-column: 2;
    }

    .home-team-invite__actions {
        justify-content: flex-start;
    }

    .home-locker-hero {
        padding: 26px 22px;
    }

    .home-locker-hero__inner {
        align-items: flex-start;
    }

    .home-locker-hero__actions {
        justify-content: flex-start;
    }

    .home-list-row {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .home-list-row__price {
        grid-column: 2;
        margin-left: 0;
    }

    .home-market-pulse__row {
        grid-template-columns: minmax(0, 1fr) 64px minmax(90px, 112px);
        gap: 9px 12px;
        min-height: 0;
        padding: 15px 16px;
        align-items: end;
    }

    .home-market-pulse__rank {
        position: absolute;
        right: 16px;
        top: 16px;
        font-size: 48px;
    }

    .home-market-pulse__copy {
        grid-column: 1 / -1;
        padding-right: 58px;
    }

    .home-market-pulse__copy strong {
        padding-right: 0;
        font-size: clamp(23px, 8vw, 30px);
    }

    .home-market-pulse__copy small,
    .home-market-pulse__price span,
    .home-market-pulse__meta small {
        margin-top: 5px;
        font-size: 9px;
    }

    .home-market-pulse__price {
        grid-column: 1;
    }

    .home-market-pulse__price strong {
        font-size: 38px;
    }

    .home-market-pulse__meta {
        grid-column: 2;
    }

    .home-market-pulse__meta strong {
        font-size: 22px;
    }

    .home-market-pulse__spark {
        grid-column: 3;
        width: 100%;
        height: 42px;
        max-width: none;
        align-self: center;
    }

    .home-rail-list--wide .home-list-row {
        grid-template-columns: 86px minmax(0, 1fr);
    }

        .home-rail-list--wide .home-list-row img,
        .home-rail-list--wide .home-list-row__empty {
            width: 86px;
            height: 72px;
        }

    .home-rail-list--wide .home-list-row__price {
        grid-column: 2;
        margin-left: 0;
    }

    .home-exchange-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-exchange-card {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 104px;
    }

        .home-exchange-card img,
        .home-exchange-card .home-list-row__empty {
            width: 82px;
            height: 68px;
        }

    .home-exchange-card__body strong {
        font-size: 15px;
    }

    .home-exchange-card__body span {
        font-size: 20px;
    }

    .home-feedback-topic {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .home-field-change,
    .home-field-search {
        flex-direction: column;
    }

    .home-field-option {
        grid-template-columns: 58px minmax(0, 1fr);
    }

        .home-field-option form {
            grid-column: 1 / -1;
        }

        .home-field-option .btn {
            width: 100%;
            justify-content: center;
        }

    .home-feedback-topic strong,
    .home-feedback-topic small {
        white-space: normal;
    }

    .home-event-feature__main {
        min-height: 0;
    }

        .home-event-feature__main img, .home-event-feature__date {
            min-height: 160px;
            height: 160px;
        }

    .home-event-rail {
        grid-template-columns: 1fr;
    }

    .locker-summary__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .locker-summary__actions {
        min-width: 0;
    }

    .locker-quick-add__head {
        align-items: flex-start;
        flex-direction: column;
    }

        .locker-quick-add__head span {
            max-width: none;
            text-align: left;
        }

    .list-channel-grid {
        grid-template-columns: 1fr;
    }

    .ebay-draft-callout {
        align-items: flex-start;
        flex-direction: column;
    }

        .ebay-draft-callout span {
            max-width: none;
            text-align: left;
        }

    .ebay-connect-hero, .ebay-connect-grid, .ebay-connect-consent {
        grid-template-columns: 1fr;
    }

    .ebay-connect-badge {
        min-height: 120px;
    }

    .ebay-connect-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .market-grid, .featured-product-grid {
        grid-template-columns: 1fr;
    }

    .market-listing-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .market-toolbar-left, .market-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .market-filter-button {
        flex: 1 1 auto;
    }

    .market-filter-row {
        align-items: stretch;
        flex-direction: column;
    }

    .market-filter-selects {
        width: 100%;
    }

        .market-filter-selects .field {
            flex: 1 1 180px;
            width: auto;
        }

    .market-sort-compact {
        width: fit-content;
    }

    .event-layout {
        grid-template-columns: 1fr;
    }

    .event-source-actions {
        justify-content: flex-start;
    }

    .event-powered-by {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

        .event-powered-by img {
            max-width: 190px;
        }

    .event-kind-toggle {
        display: flex;
        width: 100%;
    }

    .event-kind-toggle__item {
        flex: 1 1 0;
        text-align: center;
    }

    .event-hub-hero {
        padding: 112px 20px 22px;
        min-height: 0;
    }

    .event-hub-hero__content h2 {
        font-size: clamp(34px, 13vw, 48px);
    }

    .event-hub-hero__logo {
        left: 20px;
        right: auto;
        top: 18px;
        width: 120px;
        max-height: 70px;
    }

    .event-hub-layout {
        grid-template-columns: 1fr;
    }

    .event-sidebar {
        position: static;
    }

    .event-list--compact {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .event-info-grid {
        grid-template-columns: 1fr;
    }

    .event-map--scenario {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }

    .event-detail {
        position: static;
    }

    .event-milestones {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-search {
        grid-template-columns: 1fr;
    }

    .board-layout {
        grid-template-columns: 1fr;
    }

    .board-layout.board-inline-enabled .board-detail-column {
        display: none;
    }

    .market-list > .board-detail {
        width: 100%;
        margin: 2px 0 12px;
        border-color: rgba(255, 90, 44, 0.38);
        box-shadow: 0 18px 38px -30px rgba(0, 0, 0, 0.65);
    }

    [data-board-detail-toggle][aria-busy="true"] {
        opacity: 0.65;
        pointer-events: none;
    }

    .board-listing-meta {
        grid-template-columns: 1fr;
    }

    .gear-alerts-layout,
    .gear-alert-card {
        grid-template-columns: 1fr;
    }

    .gear-alert-composer {
        position: static;
    }

    .free-agent-layout, .free-agent-map, .loadout-layout, .loadout-shell, .loadout-start, .loadout-start__form, .loadout-actions, .loadout-add-form, .gear-quick-add, .row-2, .row-3 {
        grid-template-columns: 1fr;
    }

    .loadout-start {
        align-items: stretch;
    }

    .loadout-tabs {
        margin-inline: -2px;
    }

    .loadout-save-template {
        grid-template-columns: 1fr;
    }

    .messages-shell {
        grid-template-columns: 1fr;
    }

    .team-hero {
        flex-direction: column;
    }

    .team-grid, .team-dashboard-grid, .team-home-grid, .team-roster-layout {
        grid-template-columns: 1fr;
    }

    .team-event {
        grid-template-columns: 62px minmax(0, 1fr);
    }

        .team-event .mini-badge, .team-event form {
            grid-column: 2;
            justify-self: start;
        }

    .thread-head {
        grid-template-columns: 58px minmax(0, 1fr);
    }

        .thread-head .btn {
            grid-column: 1 / -1;
        }

    .thread-compose {
        grid-template-columns: 1fr;
    }

    .board-detail {
        position: static;
    }

    .price-guide {
        grid-template-columns: 1fr;
    }

    .market-title-trend {
        align-items: flex-start;
        flex-direction: column;
    }

        .market-title-trend svg {
            width: min(220px, 100%);
        }

    .market-product-head {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .discovery-presets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discovery-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discovery-filter-wide {
        grid-column: 1 / -1;
    }

    .discovery-filters .btn {
        justify-self: start;
    }

    .bundle-workbench {
        grid-template-columns: 1fr;
    }

    .bundle-total {
        align-items: flex-start;
        flex-direction: column;
    }

        .bundle-total strong {
            font-size: 46px;
        }

    .bundle-row {
        grid-template-columns: 1fr;
    }

    .bundle-row__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .bundle-row__controls strong, .bundle-row__controls .btn {
            grid-column: span 2;
            justify-self: start;
        }

    .bundle-custom {
        grid-template-columns: 1fr;
    }

    .market-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .market-card__img {
        width: 72px;
        height: 62px;
    }

    .market-card__actions {
        grid-column: 2;
        align-items: flex-start;
    }

    .recent-indexed-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .recent-indexed-row__img {
        width: 52px;
        height: 44px;
    }

    .recent-indexed-row__price {
        grid-column: 2;
        justify-self: start;
    }

    .product-row__fields {
        grid-template-columns: 1fr;
    }

    .locker-row {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .locker-row__img {
        width: 58px;
        height: 58px;
    }

    .locker-row__price, .locker-row__actions {
        grid-column: 2;
        justify-self: start;
    }

    .searchbar {
        grid-template-columns: 1fr;
    }

    .suggestion {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .suggestion__img {
        width: 62px;
        height: 48px;
    }

    .suggestion .btn {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .home-exchange-grid {
        grid-template-columns: 1fr;
    }

    .prelaunch-hero {
        padding-top: 34px;
    }

    .prelaunch-title {
        font-size: 62px;
    }

    .prelaunch-sub {
        font-size: 17px;
    }

    .prelaunch-proof {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .prelaunch-beta-link {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .signup-code-card__form {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: min(270px, 88vw);
        padding: 10px;
    }

    .phone-screen {
        min-height: 500px;
        padding: 15px;
    }

        .phone-screen h2 {
            font-size: 36px;
        }

    .prelaunch-magnet {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-top: 22px;
    }

    .discovery-presets, .discovery-filters {
        grid-template-columns: 1fr;
    }

    .discovery-card {
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
    }

    .discovery-card__img {
        width: 76px;
        height: 66px;
    }

    .discovery-card__head {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .discovery-card .market-card__price {
        justify-self: start;
    }

    .discovery-card__aside {
        justify-content: flex-start;
    }

    .market-toolbar-left, .market-toolbar-right {
        align-items: stretch;
        flex-direction: column;
    }

    .event-advanced-filters {
        grid-template-columns: 1fr;
    }

    .event-toolbar__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .market-filter-button, .market-sort-compact {
        width: 100%;
    }

    .market-sort-compact {
        justify-content: space-between;
    }

        .market-sort-compact select {
            width: auto;
            min-width: 118px;
        }

    .color-filter-menu {
        width: 100%;
    }

    .color-filter-popover {
        position: fixed;
        inset: auto 14px 14px 14px;
        width: auto;
        max-height: min(70vh, 520px);
        overflow-y: auto;
    }

    .color-swatch-list--popover {
        grid-template-columns: 1fr;
    }

    .mask-part-launcher {
        padding: 6px;
    }

    .mask-part-rail {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .mask-part-chip {
        flex: 0 0 104px;
        min-width: 104px;
        min-height: 42px;
        padding: 7px 9px;
    }

        .mask-part-chip strong {
            font-size: 11px;
        }

        .mask-part-chip small {
            font-size: 9px;
        }
}

/* Team coming-soon landing */
.team-coming {
    overflow: hidden;
}

.team-coming-hero {
    position: relative;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    color: #fff;
    padding: 92px 24px 82px;
}

    .team-coming-hero::after {
        content: "TEAM";
        position: absolute;
        right: 5vw;
        bottom: -20px;
        color: rgba(255, 255, 255, 0.045);
        font-family: var(--font-display);
        font-size: clamp(110px, 22vw, 340px);
        line-height: 0.8;
        pointer-events: none;
    }

.team-coming-hero__inner,
.team-coming-thesis,
.team-coming-spotlight,
.team-coming-free-agent,
.team-coming-broadcast,
.team-coming-features,
.team-coming-final {
    max-width: var(--maxw);
    margin: 0 auto;
}

.team-coming-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.7fr);
    gap: 54px;
    align-items: center;
}

.team-coming-eyebrow {
    margin-bottom: 16px;
}

.team-coming-hero h1,
.team-coming-spotlight h2,
.team-coming-free-agent h2,
.team-coming-broadcast h2,
.team-coming-section-head h2,
.team-coming-final h2 {
    margin: 0;
    line-height: 0.9;
}

.team-coming-hero h1 {
    max-width: 760px;
    font-size: clamp(72px, 10vw, 148px);
}

.team-coming-hero__sub,
.team-coming-spotlight p,
.team-coming-free-agent p,
.team-coming-broadcast p,
.team-coming-final p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.team-coming-hero__sub {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    margin: 22px 0 0;
}

.team-coming-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.team-coming-note {
    color: rgba(255, 255, 255, 0.66);
    margin-top: 18px;
}

.team-coming-preview-card,
.team-coming-preview-grid > div,
.team-ledger,
.team-match-card,
.team-phone,
.team-feature-grid article {
    border: 1px solid rgba(85, 214, 190, 0.24);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.team-coming-hero__preview {
    display: grid;
    gap: 16px;
}

.team-coming-preview-card {
    padding: 26px;
}

.team-coming-preview-card--hot {
    border-color: rgba(255, 82, 45, 0.6);
    background: linear-gradient(135deg, rgba(255, 82, 45, 0.2), rgba(85, 214, 190, 0.12));
}

.team-coming-preview-card span,
.team-coming-preview-grid span,
.team-ledger span,
.team-match-card span,
.team-phone span,
.team-feature-grid span {
    color: var(--teal);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.team-coming-preview-card strong {
    display: block;
    font-size: 30px;
    margin-top: 8px;
}

.team-coming-preview-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.team-coming-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

    .team-coming-preview-grid > div {
        min-height: 136px;
        padding: 22px;
    }

    .team-coming-preview-grid strong {
        display: block;
        font-family: var(--font-display);
        font-size: 42px;
        line-height: 0.95;
        margin-top: 16px;
    }

.team-coming-thesis {
    padding: 58px 24px;
}

    .team-coming-thesis p {
        color: var(--text);
        font-size: clamp(26px, 3vw, 46px);
        font-weight: 800;
        line-height: 1.12;
        margin: 0;
        max-width: 1120px;
    }

.team-coming-spotlight,
.team-coming-free-agent,
.team-coming-broadcast,
.team-coming-features,
.team-coming-final {
    padding: 58px 24px;
}

.team-coming-spotlight,
.team-coming-free-agent,
.team-coming-broadcast {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 36px;
    align-items: center;
}

.team-coming-spotlight {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

    .team-coming-spotlight h2,
    .team-coming-free-agent h2,
    .team-coming-broadcast h2,
    .team-coming-section-head h2,
    .team-coming-final h2 {
        font-size: clamp(50px, 7vw, 106px);
    }

.team-ledger {
    background: var(--ink);
    color: #fff;
    padding: 26px;
}

.team-ledger__head,
.team-ledger__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

    .team-ledger__head strong {
        font-size: 34px;
    }

    .team-ledger__head div strong {
        display: block;
        font-size: 24px;
        margin-top: 4px;
    }

.team-ledger__bar {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    margin: 22px 0;
}

    .team-ledger__bar span {
        display: block;
        width: 0%;
        height: 100%;
        background: var(--accent);
        transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

.team-ledger__row {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0;
}

.team-ledger__caption {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 4px;
    font-family: var(--font-mono, monospace);
}

.team-ledger__row span,
.team-ledger__row small {
    color: rgba(255, 255, 255, 0.72);
}

.team-ledger__row b {
    color: var(--teal);
}

.team-ledger__pending {
    color: var(--accent) !important;
}

.team-ledger__person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-ledger__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.team-ledger__person strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.team-ledger__person small {
    display: block;
    font-size: 12px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.team-ledger__pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.team-ledger__pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1;
}

.team-ledger__pill--paid {
    background: rgba(57, 216, 189, 0.16);
    color: var(--team-teal, var(--teal));
}

.team-ledger__pill--pending {
    background: rgba(255, 90, 46, 0.16);
    color: var(--team-orange, var(--accent));
}

.team-ledger__pill--travel-booked {
    background: transparent;
    border: 1px solid rgba(57, 216, 189, 0.4);
    color: var(--team-teal, var(--teal));
}

.team-ledger__pill--travel-pending {
    background: transparent;
    border: 1px solid rgba(255, 90, 46, 0.35);
    color: var(--team-orange, var(--accent));
}

.team-coming-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.team-match-board {
    display: grid;
    gap: 14px;
}

.team-match-card {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    background: var(--surface);
    border-color: var(--line);
    padding: 16px;
}

    .team-match-card img {
        width: 94px;
        height: 94px;
        border-radius: 18px;
        object-fit: cover;
    }

.team-match-card--team img {
    background: #fff;
    object-fit: contain;
    padding: 5px;
}

.team-match-card strong {
    display: block;
    font-size: 24px;
    margin-top: 3px;
}

.team-match-card p {
    font-size: 15px;
    margin: 6px 0 0;
}

.team-coming-broadcast {
    grid-template-columns: minmax(320px, 0.65fr) minmax(0, 1fr);
}

.team-phone {
    position: relative;
    justify-self: center;
    width: min(300px, 100%);
    background: var(--ink);
    color: #fff;
    padding: 16px;
}

.team-phone__notch {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 70px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(-50%);
}

.team-phone__message {
    border-radius: 16px;
    background: rgba(85, 214, 190, 0.16);
    padding: 16px;
    margin-top: 34px;
}

    .team-phone__message p {
        color: #fff;
        font-size: 14px;
        line-height: 1.5;
        margin: 10px 0 0;
    }

.team-phone__receipts {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 18px;
    padding-top: 16px;
}

    .team-phone__receipts strong {
        display: block;
        font-family: var(--font-display);
        font-size: 15px;
        font-weight: 600;
        line-height: 1;
        margin: 6px 0 10px;
    }

    .team-phone__receipts div {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .team-phone__receipts i {
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 10px;
        font-style: normal;
        font-weight: 700;
    }

.team-coming-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

.team-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

    .team-feature-grid article {
        background: var(--surface);
        border-color: var(--line);
        box-shadow: none;
        min-height: 188px;
        padding: 20px;
    }

    .team-feature-grid h3 {
        font-size: 22px;
        margin: 42px 0 8px;
    }

    .team-feature-grid p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.45;
        margin: 0;
    }

.team-coming-final {
    text-align: center;
    padding-bottom: 96px;
}

    .team-coming-final p {
        max-width: 760px;
        margin: 18px auto 0;
    }

.team-coming-actions--center {
    justify-content: center;
}

@media (max-width: 980px) {
    .team-coming-hero__inner,
    .team-coming-spotlight,
    .team-coming-free-agent,
    .team-coming-broadcast {
        grid-template-columns: 1fr;
    }

    .team-coming-broadcast__copy {
        order: -1;
    }

    .team-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .team-coming-hero {
        padding: 58px 18px 54px;
    }

        .team-coming-hero h1 {
            font-size: 70px;
        }

    .team-coming-hero__sub,
    .team-coming-spotlight p,
    .team-coming-free-agent p,
    .team-coming-broadcast p,
    .team-coming-final p {
        font-size: 17px;
    }

    .team-coming-thesis,
    .team-coming-spotlight,
    .team-coming-free-agent,
    .team-coming-broadcast,
    .team-coming-features,
    .team-coming-final {
        padding-left: 18px;
        padding-right: 18px;
    }

        .team-coming-thesis p {
            font-size: 28px;
        }

    .team-coming-preview-grid,
    .team-feature-grid {
        grid-template-columns: 1fr;
    }

    .team-match-card {
        grid-template-columns: 78px minmax(0, 1fr);
    }

        .team-match-card img {
            width: 78px;
            height: 78px;
        }

    .team-phone {
        min-height: 460px;
    }
}

/* Team coming-soon page: fixed mock palette, independent of day/night theme. */
body.team-landing-page {
    background: #f1ece2 !important;
    color: #14120e !important;
}

    body.team-landing-page .nav {
        background: #f1ece2 !important;
        border-bottom: 1px solid #ded6c6 !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    body.team-landing-page .nav__inner {
        max-width: none;
        padding-inline: clamp(18px, 3vw, 36px);
    }

    body.team-landing-page .nav__brand {
        color: #14120e !important;
    }

    body.team-landing-page .nav__link {
        color: #766f62 !important;
    }

        body.team-landing-page .nav__link:hover,
        body.team-landing-page .nav__link--team {
            color: #ff5a2e !important;
        }

    body.team-landing-page .theme-toggle {
        background: #f1ece2 !important;
        border-color: #ded6c6 !important;
        color: #14120e !important;
    }

    body.team-landing-page .main {
        background: #f1ece2 !important;
        color: #14120e !important;
        padding: 0 !important;
    }

    body.team-landing-page .footer {
        display: none;
    }

    body.team-landing-page .team-coming {
        --team-cream: #f1ece2;
        --team-ink: #14120e;
        --team-panel: #1e1b15;
        --team-line-light: #ded6c6;
        --team-line-dark: #373127;
        --team-orange: #ff5a2e;
        --team-teal: #39d8bd;
        --team-muted: #9d9588;
        margin: 0 calc(50% - 50vw);
        width: 100vw;
        background: var(--team-cream);
        color: var(--team-ink);
        overflow: hidden;
    }

    body.team-landing-page .team-coming-hero {
        position: relative;
        border: 0 !important;
        background: var(--team-ink) !important;
        color: var(--team-cream) !important;
        padding: 96px clamp(18px, 5vw, 56px) 80px;
    }

        body.team-landing-page .team-coming-hero::after {
            content: "TEAM";
            position: absolute;
            right: -10vw;
            bottom: -72px;
            color: rgba(241, 236, 226, 0.035);
            font-family: var(--font-display);
            font-size: clamp(170px, 28vw, 390px);
            line-height: 0.8;
            pointer-events: none;
        }

    body.team-landing-page .team-coming-hero__inner {
        display: block;
        max-width: 1280px;
        margin: 0 auto;
    }

    body.team-landing-page .team-coming-hero__preview {
        display: none;
    }

    body.team-landing-page .team-coming-hero__copy {
        position: relative;
        z-index: 1;
        max-width: 720px;
    }

    body.team-landing-page .team-coming-eyebrow {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        color: var(--team-orange) !important;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

        body.team-landing-page .team-coming-eyebrow::before {
            content: "";
            width: 28px;
            height: 3px;
            flex: 0 0 auto;
            background: var(--team-orange);
        }

    body.team-landing-page .team-coming-hero h1,
    body.team-landing-page .team-coming-spotlight h2,
    body.team-landing-page .team-coming-free-agent h2,
    body.team-landing-page .team-coming-broadcast h2,
    body.team-landing-page .team-coming-section-head h2,
    body.team-landing-page .team-coming-final h2 {
        color: inherit;
        font-family: var(--font-display);
        text-transform: uppercase;
        letter-spacing: 0.3px;
        line-height: 1.04;
    }

    body.team-landing-page .team-coming-hero h1 {
        max-width: 640px;
        color: var(--team-cream);
        font-size: clamp(34px, 4.5vw, 62px);
    }

    body.team-landing-page .team-coming-hero__sub {
        max-width: 560px;
        color: var(--team-muted);
        font-size: clamp(15px, 1.3vw, 17px);
        line-height: 1.5;
    }

    body.team-landing-page .team-coming-capture {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        max-width: 640px;
        margin: 36px 0 18px;
    }

        body.team-landing-page .team-coming-capture input {
            flex: 1 1 260px;
            min-height: 58px;
            border: 1px solid var(--team-line-dark);
            border-radius: 12px;
            background: #1f1b15;
            color: var(--team-cream);
            padding: 0 22px;
            font: inherit;
            font-size: 18px;
        }

            body.team-landing-page .team-coming-capture input::placeholder {
                color: var(--team-muted);
            }

        body.team-landing-page .team-coming-capture button {
            min-height: 58px;
            border: 0;
            border-radius: 12px;
            background: var(--team-orange);
            color: #fff;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            padding: 0 28px;
            cursor: pointer;
        }

    body.team-landing-page .team-coming-note {
        color: var(--team-muted);
    }

        body.team-landing-page .team-coming-note strong {
            color: var(--team-cream);
        }

    body.team-landing-page .team-coming-thesis {
        max-width: none;
        margin: 0;
        background: var(--team-cream);
        color: var(--team-ink);
        padding: 64px clamp(18px, 5vw, 56px);
    }

        body.team-landing-page .team-coming-thesis p {
            max-width: 740px;
            margin: 0 auto;
            color: var(--team-ink);
            font-size: clamp(17px, 1.6vw, 20px);
            font-weight: 500;
            line-height: 1.4;
        }

        body.team-landing-page .team-coming-thesis strong {
            color: var(--team-orange);
        }

    body.team-landing-page .team-coming-spotlight,
    body.team-landing-page .team-coming-free-agent,
    body.team-landing-page .team-coming-broadcast {
        display: grid;
        grid-template-columns: minmax(0, 480px) minmax(0, 480px);
        align-items: center;
        justify-content: center;
        gap: 64px;
        max-width: none;
        margin: 0;
        border-top: 4px solid var(--team-cream);
        background: var(--team-ink);
        color: var(--team-cream);
        padding: 80px clamp(18px, 5vw, 56px);
    }

    body.team-landing-page .team-coming-product {
        display: grid;
        gap: 34px;
        margin: 0;
        padding: 80px clamp(18px, 5vw, 72px);
        border-top: 4px solid var(--team-cream);
    }

    body.team-landing-page .team-coming-product--home {
        background: var(--team-ink);
        color: var(--team-cream);
    }

    body.team-landing-page .team-coming-product--schedule {
        background: var(--team-cream);
        color: var(--team-ink);
    }

    body.team-landing-page .team-coming-product__copy {
        width: min(100%, 1280px);
        margin: 0 auto;
    }

    body.team-landing-page .team-coming-product__copy h2 {
        margin: 0;
        color: inherit;
        font-size: clamp(34px, 5vw, 68px);
    }

    body.team-landing-page .team-coming-product__copy p:not(.team-coming-eyebrow) {
        max-width: 720px;
        margin: 16px 0 0;
        color: var(--team-muted);
        font-size: clamp(15px, 1.25vw, 18px);
        line-height: 1.5;
    }

    body.team-landing-page .team-product-shot {
        width: min(100%, 1280px);
        margin: 0 auto;
        overflow: hidden;
        border: 1px solid var(--team-line-dark);
        background: #0f0e0b;
        box-shadow: 0 32px 80px rgba(0, 0, 0, .22);
    }

    body.team-landing-page .team-product-shot img {
        display: block;
        width: 100%;
        height: auto;
    }

    body.team-landing-page .team-product-shot--schedule {
        border-color: var(--team-line-light);
        background: #e8dfd1;
        box-shadow: 0 28px 70px rgba(20, 18, 14, .12);
    }

    body.team-landing-page .team-coming-spotlight--product {
        grid-template-columns: minmax(280px, 390px) minmax(0, 760px);
        gap: 48px;
    }

    body.team-landing-page .team-product-shot--buyin {
        width: 100%;
        height: clamp(430px, 42vw, 565px);
        margin: 0;
    }

    body.team-landing-page .team-product-shot--buyin img {
        transform: translateY(-15.5%);
    }

        body.team-landing-page .team-coming-spotlight h2,
        body.team-landing-page .team-coming-free-agent h2,
        body.team-landing-page .team-coming-broadcast h2 {
            color: var(--team-cream);
            font-size: clamp(24px, 2.6vw, 34px);
        }

        body.team-landing-page .team-coming-spotlight p,
        body.team-landing-page .team-coming-free-agent p,
        body.team-landing-page .team-coming-broadcast p,
        body.team-landing-page .team-coming-final p {
            color: var(--team-muted);
            font-size: clamp(15px, 1.2vw, 17px);
            line-height: 1.45;
        }

    body.team-landing-page .team-ledger,
    body.team-landing-page .team-phone,
    body.team-landing-page .team-match-card {
        background: var(--team-panel) !important;
        border: 1px solid var(--team-line-dark) !important;
        box-shadow: none !important;
        color: var(--team-cream) !important;
    }

    body.team-landing-page .team-ledger {
        border-radius: 18px;
        padding: 34px;
    }

    body.team-landing-page .team-ledger__head span,
    body.team-landing-page .team-ledger__row span,
    body.team-landing-page .team-phone span,
    body.team-landing-page .team-match-card span {
        color: var(--team-teal);
    }

    body.team-landing-page .team-ledger__head strong,
    body.team-landing-page .team-match-card strong {
        color: var(--team-cream);
    }

    body.team-landing-page .team-ledger__bar {
        background: rgba(255, 255, 255, 0.08);
    }

        body.team-landing-page .team-ledger__bar span {
            background: var(--team-teal);
        }

    body.team-landing-page .team-ledger__row {
        border-top-color: rgba(241, 236, 226, 0.1);
    }

        body.team-landing-page .team-ledger__row small,
        body.team-landing-page .team-match-card p {
            color: var(--team-muted);
        }

        body.team-landing-page .team-ledger__row b {
            color: var(--team-teal);
        }

    body.team-landing-page .team-ledger__pending {
        color: var(--team-orange) !important;
    }

    body.team-landing-page .team-coming-link {
        color: var(--team-orange);
        letter-spacing: 0.08em;
    }

    body.team-landing-page .team-match-board {
        display: grid;
        gap: 20px;
    }

    body.team-landing-page .team-match-card {
        display: grid;
        grid-template-columns: 96px 1fr;
        gap: 22px;
        align-items: center;
        border-radius: 18px;
        padding: 20px;
    }

        body.team-landing-page .team-match-card img {
            width: 96px;
            height: 96px;
            object-fit: cover;
            border-radius: 14px;
            background: var(--team-cream);
        }

    body.team-landing-page .team-match-card--team img {
        object-fit: contain;
        padding: 5px;
    }

    body.team-landing-page .team-match-card strong {
        color: var(--team-cream);
        font-size: 26px;
    }

    body.team-landing-page .team-phone {
        border-radius: 28px;
    }

    body.team-landing-page .team-phone__message {
        background: #17342f;
        color: var(--team-cream);
    }

        body.team-landing-page .team-phone__message p {
            color: var(--team-cream);
        }

    body.team-landing-page .team-phone__receipts {
        border-top-color: rgba(241, 236, 226, 0.1);
    }

        body.team-landing-page .team-phone__receipts strong {
            color: var(--team-cream);
        }

        body.team-landing-page .team-phone__receipts i {
            background: #2c2923;
            color: var(--team-cream);
        }

    body.team-landing-page .team-coming-features {
        max-width: none;
        margin: 0;
        background: var(--team-cream);
        color: var(--team-ink);
        padding: 96px clamp(18px, 5vw, 56px);
    }

    body.team-landing-page .team-coming-section-head {
        display: block;
        max-width: 1280px;
        margin: 0 auto 56px;
    }

        body.team-landing-page .team-coming-section-head h2 {
            color: var(--team-ink);
            font-size: clamp(22px, 2.4vw, 32px);
        }

    body.team-landing-page .team-feature-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1px;
        max-width: 1280px;
        margin: 0 auto;
        border: 1px solid var(--team-line-light);
        background: var(--team-line-light);
    }

        body.team-landing-page .team-feature-grid article {
            min-height: 230px;
            border: 0 !important;
            border-radius: 0 !important;
            background: var(--team-cream) !important;
            box-shadow: none !important;
            padding: 42px;
        }

        body.team-landing-page .team-feature-grid span {
            color: var(--team-orange);
        }

        body.team-landing-page .team-feature-grid h3 {
            margin: 36px 0 12px;
            color: var(--team-ink);
        }

        body.team-landing-page .team-feature-grid p {
            color: #766f62;
        }

    body.team-landing-page .team-coming-final {
        max-width: none;
        margin: 0;
        border-top: 4px solid var(--team-ink);
        background: var(--team-ink);
        color: var(--team-cream);
        padding: 96px clamp(18px, 5vw, 56px);
        text-align: center;
    }

        body.team-landing-page .team-coming-final h2 {
            color: var(--team-cream);
            font-size: clamp(28px, 4vw, 48px);
        }

        body.team-landing-page .team-coming-final p {
            max-width: 760px;
            margin: 18px auto 0;
        }

    body.team-landing-page .btn--primary {
        background: var(--team-orange) !important;
        border-color: var(--team-orange) !important;
        color: #fff !important;
    }

    body.team-landing-page .btn--ghost {
        background: transparent !important;
        border-color: var(--team-line-dark) !important;
        color: var(--team-cream) !important;
    }

@media (max-width: 900px) {
    body.team-landing-page .team-coming-hero {
        min-height: auto;
        padding-block: 72px;
    }

    body.team-landing-page .team-coming-spotlight,
    body.team-landing-page .team-coming-free-agent,
    body.team-landing-page .team-coming-broadcast {
        grid-template-columns: 1fr;
        gap: 44px;
        padding-block: 72px;
    }

    body.team-landing-page .team-coming-product {
        padding-block: 72px;
    }

    body.team-landing-page .team-coming-spotlight--product {
        grid-template-columns: 1fr;
    }

    body.team-landing-page .team-product-shot--buyin {
        width: min(100%, 760px);
        height: clamp(410px, 72vw, 565px);
        margin: 0 auto;
    }

    body.team-landing-page .team-coming-broadcast__copy {
        order: -1;
    }

    body.team-landing-page .team-feature-grid {
        grid-template-columns: 1fr;
    }

    body.team-landing-page .team-coming-thesis,
    body.team-landing-page .team-coming-features,
    body.team-landing-page .team-coming-final {
        padding-block: 72px;
    }
}

@media (max-width: 640px) {
    body.team-landing-page .team-coming-hero h1 {
        font-size: 68px;
    }

    body.team-landing-page .team-coming-capture button {
        width: 100%;
    }

    body.team-landing-page .team-match-card {
        grid-template-columns: 78px minmax(0, 1fr);
    }

        body.team-landing-page .team-match-card img {
            width: 78px;
            height: 78px;
        }

    body.team-landing-page .team-phone {
        min-height: 460px;
    }

    body.team-landing-page .team-coming-product {
        gap: 24px;
        padding-inline: 16px;
    }

    body.team-landing-page .team-product-shot--home,
    body.team-landing-page .team-product-shot--schedule {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
        border-left: 0;
        border-right: 0;
    }

    body.team-landing-page .team-product-shot--buyin {
        height: 390px;
    }
}

.home-team-teaser {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin: 56px 0 32px;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 34px), radial-gradient(ellipse 900px 460px at 82% 0, rgba(85, 214, 190, 0.22), transparent 65%), #0B0B0C;
    color: #F4F0E6;
}

.home-team-teaser__ghost {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-18%);
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
    font-family: var(--font-display);
    font-size: clamp(160px, 16vw, 300px);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.home-team-teaser__container {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    padding-top: clamp(36px, 5vw, 56px);
    padding-bottom: 0;
}

.home-team-teaser__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: clamp(28px, 4vw, 44px);
}

.home-team-teaser__copy {
    max-width: 380px;
}

    .home-team-teaser__copy h2 {
        margin: 0 0 10px;
        color: #F4F0E6;
        font-size: clamp(32px, 3.6vw, 42px);
        line-height: 0.95;
        text-transform: uppercase;
    }

    .home-team-teaser__copy p:not(.home-eyebrow) {
        margin: 0 0 22px;
        color: rgba(244, 240, 230, 0.62);
        font-size: 14px;
        line-height: 1.5;
    }

.home-eyebrow--teal {
    color: var(--teal);
}

.home-team-teaser__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: var(--r-pill);
    padding: 13px 24px;
    background: var(--teal);
    color: #06211C;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

    .home-team-teaser__cta:hover {
        background: #74E4CE;
        color: #06211C;
    }

.home-team-teaser__peek-stack {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    min-height: 264px;
}

.home-team-teaser__peek {
    background: #131316;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 16px;
}

.home-team-teaser__peek--ledger {
    position: relative;
    z-index: 2;
    width: 260px;
}

.home-team-teaser__peek--chat {
    position: absolute;
    z-index: 1;
    top: 122px;
    left: 58px;
    width: 208px;
    transform: rotate(4deg);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.42);
}

.home-team-teaser__chat-bubble {
    background: rgba(85, 214, 190, 0.1);
    border: 1px solid rgba(85, 214, 190, 0.24);
    border-radius: 10px 10px 10px 2px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.home-team-teaser__chat-name {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--teal);
}

.home-team-teaser__chat-bubble p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #F4F0E6;
}

.home-team-teaser__chat-read {
    margin: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(244, 240, 230, 0.5);
}

.home-team-teaser__peek-label {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
}

.home-team-teaser__peek-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

    .home-team-teaser__peek-head strong {
        color: #F4F0E6;
    }

        .home-team-teaser__peek-head strong:last-child {
            font-size: 17px;
        }

.home-team-teaser__peek-bar {
    height: 6px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 8px;
}

.home-team-teaser__peek-fill {
    width: 40%;
    height: 100%;
    background: var(--teal);
}

.home-team-teaser__peek-sub {
    margin: 0 0 12px;
    font-size: 11px;
    color: rgba(244, 240, 230, 0.55);
}

.home-team-teaser__peek-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #F4F0E6;
}

    .home-team-teaser__peek-foot i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        margin-right: 8px;
        border-radius: var(--r-pill);
        background: rgba(255, 255, 255, 0.1);
        font-style: normal;
        font-size: 9px;
        font-weight: 800;
    }

.home-team-teaser__peek-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--teal);
    border: 1px solid rgba(85, 214, 190, 0.4);
    border-radius: var(--r-pill);
    padding: 3px 8px;
}

.home-team-teaser__wall {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

    .home-team-teaser__wall span {
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: rgba(244, 240, 230, 0.26);
    }

@media (max-width: 860px) {
    .home-team-teaser__inner {
        align-items: flex-start;
    }

    .home-team-teaser__peek-stack {
        width: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .home-team-teaser__peek--ledger,
    .home-team-teaser__peek--chat {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
    }

    .home-team-teaser__ghost {
        display: none;
    }
}

@media (max-width: 640px) {
    .home-team-teaser__wall {
        gap: 6px 16px;
    }
}

/* Team game-day home */
body.team-home-body {
    --team-ink: #12110e;
    --team-panel: #1c1913;
    --team-cream: #f2ede3;
    --team-muted: #a99f8f;
    --team-teal: #38d5c0;
    --team-orange: #ff5533;
    background: var(--team-cream);
}

.team-game-hero {
    position: relative;
    overflow: hidden;
    background: var(--team-ink);
    color: var(--team-cream);
    border-bottom: 4px solid var(--team-orange);
}

.team-game-hero::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    right: -150px;
    bottom: -310px;
    border: 80px solid rgba(255, 85, 51, .08);
    transform: rotate(18deg);
}

.team-game-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 300px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding-block: 54px;
}

.team-game-logo {
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background: var(--team-cream);
    border: 1px solid rgba(255, 255, 255, .2);
}

.team-game-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.team-game-logo span {
    color: var(--team-ink);
    font-family: var(--font-display);
    font-size: 86px;
}

.team-game-hero__copy h1 {
    margin: 5px 0 18px;
    color: var(--team-cream);
    font-size: clamp(46px, 5vw, 78px);
    line-height: .82;
    text-transform: uppercase;
    white-space: nowrap;
}

.team-kicker {
    margin: 0;
    color: var(--team-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.team-game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-game-meta span {
    border: 1px solid rgba(242, 237, 227, .18);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--team-cream);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-game-actions {
    display: flex;
    gap: 10px;
}

.team-game-hero .btn--ghost {
    border-color: rgba(242, 237, 227, .25);
    color: var(--team-cream);
}

.team-captain-actions-wrap {
    background: var(--team-ink, #12110e);
    border-top: 1px solid #29251e;
    border-bottom: 1px solid #29251e;
}

.team-captain-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0 22px;
    border: 1px solid #39342b;
    background: #39342b;
    gap: 1px;
}

.team-captain-actions-wrap .team-captain-actions {
    margin-block: 0;
}

.team-captain-action {
    position: relative;
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    background: var(--team-panel, #1c1913);
    color: var(--team-cream, #f2ede3);
    transition: background .16s ease, color .16s ease;
}

.team-captain-action::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: transparent;
}

.team-captain-action:hover,
.team-captain-action--active {
    background: #252119;
}

.team-captain-action--active::after {
    background: var(--team-orange, #ff5533);
}

.team-captain-action svg {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--team-teal, #38d5c0);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-captain-action strong,
.team-captain-action small {
    display: block;
}

.team-captain-action strong {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.team-captain-action small {
    margin-top: 4px;
    color: var(--team-muted, #a99f8f);
    font-size: 11px;
}

[data-theme="light"] .team-captain-actions-wrap {
    background: #d7e7e1;
    border-color: #9fbcb3;
}

[data-theme="light"] .team-captain-actions {
    border-color: #9fbcb3;
    background: #9fbcb3;
}

[data-theme="light"] .team-captain-action {
    background: #e8f2ee;
    color: #15221f;
}

[data-theme="light"] .team-captain-action:hover,
[data-theme="light"] .team-captain-action--active {
    background: #f5faf8;
}

[data-theme="light"] .team-captain-action svg {
    stroke: var(--team-orange, #ff5533);
}

[data-theme="light"] .team-captain-action small {
    color: #587168;
}

[data-theme="light"] .team-captain-action--active::after {
    background: #168d7d;
}

.team-broadcast-manager {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr);
    gap: 44px;
    align-items: start;
    margin-top: 34px;
}

.team-broadcast-manager h2 {
    margin: 8px 0 14px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .9;
}

.team-broadcast-strip {
    position: sticky;
    top: var(--header-height, 0);
    z-index: 20;
    background: #173d36;
    border-bottom: 1px solid rgba(56, 213, 192, .35);
    color: var(--team-cream);
}

.team-broadcast-strip > .container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 12px;
}

.team-broadcast-strip__message span,
.team-broadcast-strip__message strong,
.team-broadcast-strip__message small {
    display: block;
}

.team-broadcast-strip__message span {
    color: var(--team-teal);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.team-broadcast-strip__message strong {
    margin-top: 4px;
    font-size: 17px;
}

.team-broadcast-strip__message small {
    margin-top: 3px;
    color: rgba(242, 237, 227, .65);
}

.team-broadcast-form {
    min-width: min(560px, 50vw);
    display: flex;
    gap: 8px;
}

.team-home-section {
    padding: 78px 0;
}

.team-home-section--cream {
    background: var(--team-cream);
    color: var(--team-ink);
}

.team-home-section--dark {
    background: var(--team-ink);
    color: var(--team-cream);
}

.team-home-section--ink-grid {
    background: #e8e1d5;
    color: var(--team-ink);
    border-top: 1px solid #d7cdbd;
}

.team-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.team-section-heading h2,
.team-home-section-copy h2 {
    margin: 8px 0 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .9;
    text-transform: uppercase;
}

.team-text-link {
    color: var(--team-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-schedule-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: #d8cfc0;
    border: 1px solid #d8cfc0;
}

.team-schedule-card {
    min-width: 0;
    background: var(--team-cream);
}

.team-schedule-card > img,
.team-schedule-card__date {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.team-schedule-card__date {
    display: grid;
    place-content: center;
    text-align: center;
    background: var(--team-panel);
    color: var(--team-cream);
}

.team-schedule-card__date strong {
    color: var(--team-teal);
    font-size: 12px;
    text-transform: uppercase;
}

.team-schedule-card__date span {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: .9;
}

.team-schedule-card > div:not(.team-schedule-card__date) {
    padding: 18px;
}

.team-schedule-card small {
    color: var(--team-orange);
    font-weight: 800;
    text-transform: uppercase;
}

.team-schedule-card h3 {
    margin: 9px 0;
    font-size: 20px;
}

.team-schedule-card p {
    min-height: 38px;
    color: #746d62;
    font-size: 13px;
}

.team-schedule-grid--single {
    display: block;
    background: transparent;
    border: 0;
}

.team-schedule-grid--single .team-schedule-card {
    display: grid;
    grid-template-columns: minmax(220px, 28%) minmax(0, 1fr);
    min-height: 230px;
    border: 1px solid #d8cfc0;
}

.team-schedule-grid--single .team-schedule-card > img,
.team-schedule-grid--single .team-schedule-card__date {
    height: 100%;
    min-height: 230px;
}

.team-schedule-grid--single .team-schedule-card > div:not(.team-schedule-card__date) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 52px);
}

.team-schedule-grid--single .team-schedule-card h3 {
    max-width: 700px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
}

.team-schedule-grid--single .team-schedule-card p {
    min-height: 0;
    font-size: 16px;
}

.team-schedule-more {
    margin-top: 16px;
}

.team-schedule-more summary {
    cursor: pointer;
    color: var(--team-orange);
    font-weight: 800;
}

.team-schedule-more .team-schedule-grid {
    margin-top: 14px;
}

.team-add-event {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
    padding: 20px;
    background: #e7dfd2;
    border-left: 4px solid var(--team-orange);
}

.team-add-event select {
    margin-top: 8px;
}

.team-upcoming-events {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr);
    gap: 18px;
}

.team-feature-event {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 18%, rgba(53, 210, 190, .13), transparent 22%),
        linear-gradient(135deg, #12110e 0%, #1d1a16 62%, #12110e 100%);
    color: var(--team-cream);
}

.team-feature-event__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.team-feature-event > img {
    position: absolute;
    z-index: 1;
    top: 24px;
    right: 24px;
    width: clamp(112px, 17vw, 210px);
    height: clamp(82px, 12vw, 142px);
    padding: 10px;
    border: 1px solid rgba(242, 237, 227, .18);
    background: rgba(242, 237, 227, .94);
    object-fit: contain;
    object-position: center;
}

.team-feature-event__scrim {
    background:
        linear-gradient(90deg, rgba(255, 85, 51, .2) 0 3px, transparent 3px),
        repeating-linear-gradient(135deg, transparent 0 36px, rgba(242, 237, 227, .025) 36px 37px);
}

.team-feature-event__content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: clamp(28px, 4vw, 48px);
    padding-right: clamp(175px, 23vw, 280px);
}

.team-feature-event__content h3 {
    margin: 10px 0;
    color: var(--team-cream);
    font-family: var(--font-display);
    font-size: clamp(32px, 3.4vw, 50px);
    line-height: .92;
    text-transform: uppercase;
}

.team-feature-event__content > p:not(.team-kicker) {
    color: var(--team-muted);
    font-size: 15px;
}

.team-feature-event__content > a {
    display: inline-block;
    margin-top: 18px;
    color: var(--team-orange);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-event-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    gap: 1px;
    max-width: 620px;
    margin-top: 22px;
    border: 1px solid rgba(242, 237, 227, .14);
    background: rgba(242, 237, 227, .14);
}

.team-event-countdown > span {
    padding: 11px 10px;
    background: rgba(18, 17, 14, .72);
    text-align: center;
}

.team-event-countdown strong,
.team-event-countdown small {
    display: block;
}

.team-event-countdown strong {
    color: var(--team-teal);
    font-family: var(--font-display);
    font-size: 31px;
    line-height: 1;
}

.team-event-countdown small {
    margin-top: 5px;
    color: var(--team-muted);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.team-secondary-events {
    display: grid;
    align-content: start;
    gap: 1px;
    background: #d4cabb;
    border: 1px solid #d4cabb;
}

.team-secondary-events > a {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--team-cream);
    color: var(--team-ink);
}

.team-secondary-events > a > span {
    text-align: center;
}

.team-secondary-events > a > span strong,
.team-secondary-events > a > span small {
    display: block;
}

.team-secondary-events > a > span strong {
    color: var(--team-orange);
    font-family: var(--font-display);
    font-size: 44px;
    line-height: .8;
}

.team-secondary-events > a > span small {
    margin-top: 7px;
    color: #746d62;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-secondary-events > a > div > small {
    color: #168d7d;
    font-weight: 800;
    text-transform: uppercase;
}

.team-secondary-events h3 {
    margin: 5px 0;
    font-size: 18px;
}

.team-secondary-events p {
    margin: 0;
    color: #746d62;
    font-size: 12px;
}

.team-home-section--timeline {
    background: #e7dfd2;
    color: var(--team-ink);
    border-top: 1px solid #d4cabb;
}

.team-home-timeline,
.team-manager-timeline {
    position: relative;
    display: grid;
}

.team-home-timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 156px;
    width: 2px;
    background: #c7bbab;
}

.team-home-timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 130px 54px minmax(0, 1fr);
    gap: 0;
    min-height: 94px;
}

.team-home-timeline time {
    padding-top: 16px;
    text-align: right;
}

.team-home-timeline time strong,
.team-home-timeline time span {
    display: block;
}

.team-home-timeline time strong {
    color: var(--team-orange);
    font-size: 14px;
    text-transform: uppercase;
}

.team-home-timeline time span {
    margin-top: 4px;
    color: #746d62;
    font-size: 12px;
}

.team-home-timeline i {
    position: relative;
}

.team-home-timeline i::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 21px;
    left: 50%;
    width: 13px;
    height: 13px;
    border: 3px solid #e7dfd2;
    border-radius: 50%;
    background: var(--team-teal);
    transform: translateX(-50%);
    box-shadow: 0 0 0 1px #8d8273;
}

.team-home-timeline article > div {
    padding: 13px 22px 16px;
    border-bottom: 1px solid #cfc4b4;
}

.team-home-timeline article > div small,
.team-manager-timeline article > div small {
    color: #168d7d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.team-home-timeline h3,
.team-manager-timeline h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 2px 0 4px;
    font-size: 22px;
}

.team-schedule-type-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--team-orange, #ff5533) 55%, transparent);
    border-radius: 50%;
    color: var(--team-orange, #ff5533);
    background: color-mix(in srgb, var(--team-orange, #ff5533) 9%, transparent);
}

.team-schedule-type-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-home-timeline p,
.team-manager-timeline p {
    margin: 4px 0 0;
}

.team-home-timeline article.is-complete {
    opacity: .55;
}

.team-home-timeline article.is-complete h3 {
    text-decoration: line-through;
}

.team-home-timeline article.is-event-linked > div,
.team-manager-timeline article.is-event-linked {
    border-left: 4px solid var(--team-teal, #38d5c0);
}

.team-home-timeline article.is-event-linked > div {
    padding-left: 26px;
    background: rgba(56, 213, 192, .045);
}

.team-manager-timeline article.is-event-linked {
    padding-left: 14px;
    background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.team-schedule-event-label {
    display: block;
    margin-bottom: 4px;
    color: var(--team-orange, #ff5533);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-location-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    margin-top: 5px;
    padding: 7px 9px;
    border: 1px solid #b9ad9d;
    background: rgba(255, 255, 255, .28);
}

.team-location-photo {
    flex: 0 0 64px;
    width: 64px;
    height: 48px;
    border: 1px solid rgba(18, 17, 14, .12);
    object-fit: cover;
}

.team-location-actions strong {
    color: #168d7d;
}

.team-location-actions span {
    flex: 1 1 150px;
    color: #746d62;
    font-size: 12px;
}

.team-location-attribution {
    order: 20;
    flex: 1 0 100%;
    color: #746d62;
    font-size: 9px;
}

.team-location-attribution a {
    font-size: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.team-location-actions a {
    color: var(--team-orange, #ff5533);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.team-location-actions .team-location-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 5px 8px;
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, .35);
    line-height: 1;
}

.team-location-action svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-location-actions .team-location-action > span {
    flex: none;
    color: inherit;
    font-size: inherit;
}

.team-location-actions .team-location-action--uber {
    border-color: #111;
    background: #111;
    color: #fff;
}

.team-location-action--uber b {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.team-location-actions .team-location-action--uber {
    justify-content: center;
    min-width: 58px;
}

.team-event-manager-heading {
    margin: 42px 0 18px;
}

.team-event-manager-heading h2 {
    margin: 4px 0 8px;
    font-size: clamp(42px, 6vw, 72px);
}

.team-event-manager-heading--events {
    margin-top: 64px;
    padding-top: 36px;
    border-top: 2px solid var(--line);
}

.team-schedule-manager {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    gap: 18px;
    align-items: start;
}

.free-agent-event-filter {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
    gap: 24px;
    align-items: end;
}

.free-agent-event-filter__form {
    display: grid;
    grid-template-columns: minmax(180px, .75fr) minmax(260px, 1.25fr) auto auto;
    gap: 10px;
    align-items: center;
}

.free-agent-controls {
    display: grid;
    gap: 16px;
}

.free-agent-panel--focus {
    border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent);
}

.free-agent-player-board {
    margin-bottom: 18px;
}

.free-agent-player-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.free-agent-player-card {
    min-width: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
}

.free-agent-player-card > img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
}

.free-agent-player-card > div {
    min-width: 0;
    display: grid;
}

.free-agent-player-card strong,
.free-agent-player-card span,
.free-agent-player-card small,
.free-agent-player-card p {
    overflow: hidden;
    text-overflow: ellipsis;
}

.free-agent-player-card span,
.free-agent-player-card small {
    color: var(--muted);
    font-size: 12px;
}

.free-agent-player-card p {
    margin: 4px 0;
    font-size: 12px;
    line-height: 1.35;
}

.event-free-agent-panel {
    display: grid;
    gap: 18px;
}

.event-free-agent-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-free-agent-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.event-free-agent-columns > div {
    min-width: 0;
}

.event-free-agent-columns h3 {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.event-free-agent-list {
    display: grid;
    gap: 8px;
}

.event-free-agent-list article {
    min-width: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface-2);
}

.event-free-agent-list img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 9px;
}

.event-free-agent-list span {
    min-width: 0;
    display: grid;
}

.event-free-agent-list strong,
.event-free-agent-list small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-free-agent-list small {
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 900px) {
    .free-agent-event-filter,
    .event-free-agent-columns {
        grid-template-columns: 1fr;
    }

    .free-agent-event-filter__form {
        grid-template-columns: 1fr;
    }

    .free-agent-player-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .free-agent-player-card,
    .event-free-agent-list article {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .free-agent-player-card > .btn,
    .event-free-agent-list article > .btn {
        grid-column: 1 / -1;
    }
}

.team-manager-timeline article {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.team-manager-timeline time strong,
.team-manager-timeline time span {
    display: block;
}

.team-manager-timeline time strong {
    color: var(--accent);
}

.team-manager-timeline time span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.team-manager-timeline article.is-complete {
    opacity: .5;
}

.team-manager-timeline article.is-complete h3 {
    text-decoration: line-through;
}

.team-manager-timeline article.is-editing {
    margin-inline: -14px;
    padding-inline: 14px;
    border-left: 4px solid var(--accent);
    background: rgba(255, 85, 51, .06);
}

.team-manager-timeline__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.team-schedule-editor {
    scroll-margin-top: 24px;
}

.team-schedule-editor__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.team-schedule-editor__head .panel__title {
    margin: 4px 0 0;
}

.team-time-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    color: var(--muted);
    font-size: 12px;
}

.team-event-locations-manager {
    margin-top: 18px;
}

.team-event-location-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
}

.team-event-location-list > article {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
}

.team-event-location-list > article > img,
.team-event-location-list__placeholder {
    width: 104px;
    height: 76px;
    object-fit: cover;
}

.team-event-location-list__placeholder {
    display: grid;
    place-items: center;
    background: #1d1a16;
    color: var(--team-teal, #35d2be);
    font-size: 34px;
}

.team-event-location-list small,
.team-event-location-list strong,
.team-event-location-list span,
.team-event-location-list em {
    display: block;
}

.team-event-location-list small {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.team-event-location-list strong {
    margin-top: 5px;
}

.team-event-location-list span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.team-event-location-list em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
}

.team-event-location-list__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-event-location-list__actions > a {
    color: var(--team-orange, #ff5533);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.team-home-ledger-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    gap: 24px;
    align-items: stretch;
}

.team-home-ledger-layout--personal > .team-buy-in-card,
.team-home-ledger-layout--personal > .team-feature-ledger--empty {
    grid-column: 2;
}

.team-home-section--readiness {
    background: #171b18;
    color: var(--team-cream);
}

.team-readiness-heading {
    align-items: end;
}

.team-readiness-heading h2 {
    margin-bottom: 8px;
}

.team-readiness-heading p:not(.team-kicker) {
    max-width: 680px;
    margin: 0;
    color: #aaa99f;
    font-size: 17px;
    line-height: 1.5;
}

.team-readiness-heading p strong {
    color: var(--team-cream);
}

.team-readiness-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    padding-bottom: 6px;
}

.team-readiness-legend > span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #aaa99f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.team-readiness-response {
    display: grid;
    grid-template-columns: minmax(180px, .75fr) minmax(290px, 1fr) minmax(350px, 1.25fr) auto;
    gap: 20px;
    align-items: end;
    margin: 34px 0 18px;
    padding: 22px;
    border: 1px solid #3b433d;
    background: #202622;
}

.team-readiness-response > div small,
.team-readiness-response > div strong {
    display: block;
}

.team-readiness-response > div small,
.team-readiness-response legend {
    color: var(--team-teal);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.team-readiness-response > div strong {
    margin-top: 5px;
    font-size: 18px;
}

.team-readiness-response fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.team-readiness-response legend {
    margin-bottom: 8px;
}

.team-readiness-response fieldset label {
    display: inline-block;
    margin: 0 4px 4px 0;
}

.team-readiness-response fieldset input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.team-readiness-response fieldset span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid #4a514c;
    border-radius: 999px;
    color: #b9bbb5;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.team-readiness-response fieldset input:focus-visible + span {
    outline: 2px solid var(--team-teal);
    outline-offset: 2px;
}

.team-readiness-response fieldset input:checked + span {
    border-color: var(--team-teal);
    background: rgba(53, 210, 190, .12);
    color: var(--team-teal);
}

.team-readiness-response > .btn {
    white-space: nowrap;
}

.team-readiness-board {
    border: 1px solid #bcb3a4;
    border-radius: 20px;
    overflow: hidden;
    background: #ded5c6;
    color: var(--team-ink);
}

.team-readiness-row {
    display: grid;
    grid-template-columns: minmax(230px, 1.7fr) repeat(3, minmax(120px, .75fr));
    align-items: center;
    min-height: 78px;
    border-top: 1px solid rgba(18, 17, 14, .12);
}

.team-readiness-row:first-child {
    border-top: 0;
}

.team-readiness-row.is-current-user {
    background: rgba(53, 210, 190, .09);
    box-shadow: inset 4px 0 var(--team-teal);
}

.team-readiness-row--head {
    min-height: 48px;
    background: #cfc4b3;
    color: #6d655a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.team-readiness-row--head > span,
.team-readiness-cell {
    text-align: center;
}

.team-readiness-row--head > span:first-child {
    padding-left: 24px;
    text-align: left;
}

.team-readiness-player {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
}

.team-readiness-player > img,
.team-readiness-player > span {
    width: 44px;
    height: 44px;
    grid-row: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #302c25;
    color: #c6b9a6;
    object-fit: cover;
    font-weight: 900;
}

.team-readiness-player > strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-readiness-player > small {
    border-radius: 999px;
    padding: 4px 7px;
    background: rgba(13, 136, 125, .12);
    color: #0d887d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.team-readiness-cell {
    display: grid;
    justify-items: center;
    gap: 5px;
}

.team-readiness-cell small {
    color: #70675b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.team-readiness-mark {
    position: relative;
    width: 27px;
    height: 27px;
    display: inline-block;
    flex: 0 0 27px;
    border: 2px solid #8d867b;
    border-radius: 50%;
    vertical-align: middle;
}

.team-readiness-mark.is-yes {
    border-color: #0d9689;
    background: #0d9689;
}

.team-readiness-mark.is-yes::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.team-readiness-mark.is-partial {
    border-color: #b17d17;
    background: linear-gradient(90deg, #d6a23a 50%, transparent 50%);
}

.team-readiness-mark.is-undecided::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: #8d867b;
}

.team-readiness-mark.is-no::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 11px;
    height: 2px;
    background: #706b63;
}

.team-home-ledger-layout > .team-home-section-copy {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(420px, 1.3fr);
    align-items: end;
    gap: 50px;
    margin-bottom: 18px;
}

.team-home-ledger-layout > .team-home-section-copy .team-kicker,
.team-home-ledger-layout > .team-home-section-copy h2 {
    grid-column: 1;
}

.team-home-ledger-layout > .team-home-section-copy h2 {
    margin-bottom: 0;
}

.team-home-ledger-layout > .team-home-section-copy > p:not(.team-kicker) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin-bottom: 5px;
}

.team-home-section-copy p:not(.team-kicker) {
    max-width: 540px;
    color: var(--team-muted);
    font-size: 18px;
    line-height: 1.5;
}

.team-home-section-copy .btn {
    margin-top: 14px;
}

.team-feature-ledger,
.team-ledger-card {
    border: 1px solid #39342b;
    border-radius: 20px;
    padding: 30px;
    background: var(--team-panel);
    color: var(--team-cream);
}

.team-feature-ledger__head,
.team-ledger-card__head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.team-feature-ledger__head small,
.team-ledger-card__head small {
    color: var(--team-teal);
    font-weight: 800;
    text-transform: uppercase;
}

.team-feature-ledger__head h3,
.team-ledger-card__head h3 {
    margin: 8px 0 0;
    font-size: 26px;
}

.team-feature-ledger__head > strong,
.team-ledger-card__head > strong {
    font-size: 38px;
}

.team-ledger-progress {
    height: 12px;
    overflow: hidden;
    margin: 24px 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
}

.team-ledger-progress span {
    display: block;
    height: 100%;
    background: var(--team-teal);
}

.team-feature-ledger > p,
.team-ledger-card > p {
    color: var(--team-muted);
}

.team-feature-ledger__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(242, 237, 227, .1);
}

.team-feature-ledger__row > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-ledger-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #302c25;
    color: var(--team-muted);
    font-weight: 800;
}

.team-feature-ledger__row span span,
.team-feature-ledger__row strong,
.team-feature-ledger__row small {
    display: block;
}

.team-feature-ledger__row b {
    border: 1px solid #7b351f;
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--team-orange);
    font-size: 11px;
    text-transform: uppercase;
}

.team-feature-ledger__row b.is-paid {
    border-color: #246b60;
    color: var(--team-teal);
}

.team-buy-in-copy-amount {
    color: var(--team-cream);
    white-space: nowrap;
}

.team-buy-in-card {
    display: grid;
    gap: 22px;
}

.team-buy-in-card--personal {
    border-color: #b9ad9b;
    background: #ded5c6;
    color: var(--team-ink);
}

.team-buy-in-card--personal .team-buy-in-card__head small,
.team-buy-in-card--personal .team-buy-in-obligation strong {
    color: #0d887d;
}

.team-buy-in-card--personal .team-buy-in-obligation {
    border-color: rgba(18, 17, 14, .15);
}

.team-buy-in-card--personal .team-buy-in-obligation small,
.team-buy-in-card--personal .team-buy-in-actions > p,
.team-buy-in-card--personal .team-buy-in-method > div small,
.team-buy-in-card--personal .team-buy-in-disclaimer,
.team-buy-in-card--personal .team-buy-in-complete span {
    color: #70675b;
}

.team-buy-in-card--personal .team-buy-in-method {
    border-color: rgba(18, 17, 14, .13);
}

.team-buy-in-card--personal .btn--ghost {
    border-color: rgba(18, 17, 14, .28);
    color: var(--team-ink);
}

.team-social-ledger {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.team-social-ledger__roster {
    max-height: 430px;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 5px;
}

.team-social-ledger .team-feature-ledger__row,
.team-social-ledger .team-feature-ledger__row > div,
.team-social-ledger .team-feature-ledger__row > div > span:last-child {
    min-width: 0;
}

.team-social-ledger .team-feature-ledger__row.is-current-user {
    margin-inline: -12px;
    padding-inline: 12px;
    background: rgba(56, 213, 192, .07);
}

.team-buy-in-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.team-buy-in-card__head small,
.team-buy-in-card__head h3,
.team-buy-in-obligation small,
.team-buy-in-obligation strong {
    display: block;
}

.team-buy-in-card__head small {
    color: var(--team-teal);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-buy-in-card__head h3 {
    margin: 6px 0 0;
    font-size: 25px;
}

.team-buy-in-status {
    border: 1px solid #7b351f;
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--team-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.team-buy-in-status.is-paid {
    border-color: #246b60;
    color: var(--team-teal);
}

.team-buy-in-status.is-partial,
.team-feature-ledger__row b.is-partial {
    border-color: #a77b21;
    color: #9a6b0c;
}

.team-buy-in-obligation {
    padding: 22px 0;
    border-top: 1px solid rgba(242, 237, 227, .12);
    border-bottom: 1px solid rgba(242, 237, 227, .12);
}

.team-buy-in-obligation small {
    color: var(--team-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-buy-in-obligation strong {
    margin-top: 4px;
    color: var(--team-teal);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
}

.team-buy-in-obligation > span {
    display: block;
    margin-top: 8px;
    color: #70675b;
    font-size: 13px;
}

.team-buy-in-actions > p {
    margin: 0 0 10px;
    color: var(--team-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.team-buy-in-method {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) 235px 50px;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(242, 237, 227, .1);
}

.team-payment-provider {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.team-payment-provider > span:last-child {
    min-width: 0;
}

.team-payment-provider strong,
.team-payment-provider small {
    display: block;
}

.team-payment-provider small {
    margin-top: 3px;
    color: var(--team-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-payment-wordmark {
    width: 86px;
    height: 28px;
    flex: 0 0 86px;
    object-fit: contain;
    object-position: left center;
}

.team-payment-wordmark--paypal {
    height: 24px;
}

.team-payment-wordmark--venmo {
    height: 27px;
}

.team-payment-brand {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-style: italic;
    font-weight: 900;
}

.team-payment-brand b,
.team-payment-brand i {
    font-style: inherit;
}

.team-payment-brand--paypal {
    background: #fff;
}

.team-payment-brand--paypal b,
.team-payment-brand--paypal i {
    position: absolute;
    font-size: 27px;
    line-height: 1;
}

.team-payment-brand--paypal b {
    left: 9px;
    color: #003087;
}

.team-payment-brand--paypal i {
    left: 16px;
    color: #009cde;
    opacity: .9;
}

.team-payment-brand--venmo {
    background: #008cff;
    color: #fff;
    font-size: 25px;
}

.team-payment-brand--cashapp {
    background: #00d64f;
    color: #fff;
    font-size: 25px;
}

.team-payment-brand--other {
    background: #302c25;
    color: var(--team-cream);
}

.team-buy-in-method__actions {
    display: grid;
    grid-template-columns: 140px 88px;
    gap: 7px;
    justify-content: end;
}

.team-buy-in-method__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
}

.team-buy-in-mobile-action {
    display: none;
}

.team-buy-in-method > img {
    width: 50px;
    height: 50px;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.team-buy-in-disclaimer {
    display: block;
    margin-top: 10px;
    color: var(--team-muted);
    line-height: 1.45;
}

.team-buy-in-route.is-routed {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid rgba(18, 17, 14, .15);
    background: rgba(255, 255, 255, .25);
}

.team-buy-in-route__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
}

.team-buy-in-route__head small,
.team-buy-in-route__head strong {
    display: block;
}

.team-buy-in-route__head small {
    color: #70675b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-buy-in-route__head strong {
    margin-top: 3px;
}

.team-buy-in-route__head b {
    color: #0d887d;
    font-size: 24px;
}

.team-buy-in-route > p {
    margin: 0 0 8px;
    color: #70675b;
    font-size: 12px;
}

.team-buy-in-route__missing {
    padding: 12px 0;
    color: #70675b;
}

.team-payment-confirm {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr);
    align-items: start;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(18, 17, 14, .15);
}

.team-payment-confirm details {
    border: 1px solid rgba(18, 17, 14, .2);
}

.team-payment-confirm summary {
    padding: 13px 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.team-payment-confirm details form {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 8px;
    padding: 0 12px 12px;
}

.team-payment-confirm label span {
    display: block;
    margin-bottom: 5px;
    color: #70675b;
    font-size: 11px;
}

.team-buy-in-complete {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(56, 213, 192, .28);
    background: rgba(56, 213, 192, .08);
}

.team-buy-in-complete span {
    color: var(--team-muted);
}

.team-payment-generated-link {
    margin: 0;
    padding: 12px 14px;
    border-left: 3px solid var(--team-teal, #38d5c0);
    background: rgba(56, 213, 192, .08);
    color: inherit;
    font-size: 13px;
}

.team-comms-layout {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 60px;
}

.team-chat-preview {
    display: grid;
    gap: 1px;
    background: #d8cfc0;
    border: 1px solid #d8cfc0;
}

.team-chat-preview > div {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--team-cream);
}

.team-chat-preview img,
.team-dm-roster img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.team-chat-preview p {
    margin: 4px 0 0;
    color: #746d62;
}

.team-dm-roster {
    padding: 24px;
    background: var(--team-ink);
    color: var(--team-cream);
}

.team-dm-roster > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    color: inherit;
    border-top: 1px solid rgba(242, 237, 227, .12);
}

.team-dm-roster > a:first-of-type {
    margin-top: 16px;
}

.team-dm-roster small {
    display: block;
    margin-top: 3px;
    color: var(--team-muted);
}

.team-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #d1c7b7;
}

.team-tool-grid > a {
    min-height: 210px;
    padding: 28px;
    color: inherit;
    border-right: 1px solid #d1c7b7;
}

.team-tool-grid > a:last-child {
    border-right: 0;
}

.team-tool-grid span {
    color: var(--team-orange);
    font-weight: 800;
}

.team-tool-grid strong {
    display: block;
    margin-top: 40px;
    font-size: 24px;
}

.team-tool-grid p {
    color: #746d62;
}

/* Team chat */
body.team-chat-body {
    --team-chat-ink: #12110e;
    --team-chat-panel: #1c1913;
    --team-chat-cream: #f2ede3;
    --team-chat-soft: #ded5c6;
    --team-chat-muted: #8b8172;
    --team-chat-teal: #38d5c0;
    --team-chat-orange: #ff5533;
    background: var(--team-chat-cream);
}

.team-chat-page { padding-top: 28px; }

.team-chat-hero {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 34px 38px;
    border-bottom: 5px solid var(--team-chat-orange);
    background: linear-gradient(110deg, rgba(255, 85, 51, .08), transparent 42%), var(--team-chat-ink);
    color: var(--team-chat-cream);
}

.team-chat-hero__logo {
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 8px solid var(--team-chat-cream);
    border-radius: 18px;
    background: #fff;
    color: var(--team-chat-ink);
    font-size: 54px;
    font-weight: 900;
}

.team-chat-hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-chat-hero .team-kicker,
.team-chat-thread .team-kicker { color: var(--team-chat-orange); }

.team-chat-hero h1 {
    max-width: 900px;
    margin: 5px 0 8px;
    color: var(--team-chat-cream);
    font-size: clamp(54px, 7vw, 94px);
    line-height: .85;
    white-space: nowrap;
}

.team-chat-hero__copy > p:last-child {
    margin: 0;
    color: #b8ad9d;
}

.team-chat-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #c9beae;
    border-top: 0;
    background: var(--team-chat-soft);
}

.team-chat-nav a {
    padding: 16px 20px;
    border-right: 1px solid #c9beae;
    color: var(--team-chat-ink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
}

.team-chat-nav a:last-child { border-right: 0; }

.team-chat-nav a:hover,
.team-chat-nav a.is-active {
    background: var(--team-chat-ink);
    color: var(--team-chat-cream);
}

.team-chat-shell {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 0;
    margin-top: 26px;
    align-items: stretch;
    box-shadow: 0 18px 55px rgba(34, 29, 22, .1);
}

.team-chat-rail {
    min-height: 680px;
    padding: 24px 18px;
    border: 0;
    border-radius: 18px 0 0 18px;
    background: var(--team-chat-panel);
    color: var(--team-chat-cream);
}

.team-chat-rail__label {
    margin: 0 10px 6px;
    color: var(--team-chat-orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.team-chat-rail__label--people { margin-top: 24px; }

.team-chat-rail .conversation-row {
    border-radius: 10px;
    color: var(--team-chat-cream);
}

.team-chat-rail .conversation-row:hover {
    border-color: rgba(242, 237, 227, .14);
    background: rgba(242, 237, 227, .06);
}

.team-chat-rail .conversation-row--active {
    border-color: rgba(56, 213, 192, .38);
    background: rgba(56, 213, 192, .11);
}

.team-chat-rail .conversation-row small { color: #9f9586; }

.team-chat-rail .conversation-row img,
.team-chat-rail .conversation-row__mark {
    border-color: #403b33;
    background: #2a2721;
}

.team-chat-rail .conversation-row__mark {
    color: var(--team-chat-teal);
    font-size: 20px;
}

.team-chat-thread {
    min-height: 680px;
    padding: 28px;
    border: 0;
    border-radius: 0 18px 18px 0;
    background: repeating-linear-gradient(135deg, transparent 0 46px, rgba(18, 17, 14, .018) 46px 47px), #e9e1d4;
    color: var(--team-chat-ink);
}

.team-chat-thread__head {
    min-height: 78px;
    padding-bottom: 18px;
    border-color: #c9beae;
}

.team-chat-thread__head .panel__title {
    margin: 3px 0 6px;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.team-chat-thread__team-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 12px;
    background: #fff;
}

.team-chat-thread__team-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-chat-thread .thread-messages {
    min-height: 440px;
    max-height: 560px;
    padding: 18px 6px 18px 0;
}

.team-chat-thread .message-row {
    width: min(76%, 680px);
    align-self: flex-start;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.team-chat-thread .message-row > div {
    padding: 12px 14px;
    border: 1px solid #d2c8b9;
    border-radius: 4px 16px 16px 16px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(36, 31, 24, .05);
}

.team-chat-thread .message-row img {
    width: 38px;
    height: 38px;
    border: 2px solid #fff;
}

.team-chat-thread .message-row--mine {
    grid-template-columns: minmax(0, 1fr) 38px;
    align-self: flex-end;
}

.team-chat-thread .message-row--mine img {
    grid-column: 2;
    grid-row: 1;
}

.team-chat-thread .message-row--mine > div {
    grid-column: 1;
    grid-row: 1;
    border-color: #173f39;
    border-radius: 16px 4px 16px 16px;
    background: #163c36;
    color: var(--team-chat-cream);
}

.team-chat-thread .message-row--mine p,
.team-chat-thread .message-row--mine strong { color: var(--team-chat-cream); }

.team-chat-empty {
    min-height: 180px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 1px dashed #bfb3a3;
    background: rgba(255, 255, 255, .28);
    text-align: center;
}

.team-chat-empty strong { font-size: 22px; }
.team-chat-empty span { color: var(--team-chat-muted); }

.team-chat-thread .thread-compose {
    padding: 16px;
    border: 1px solid #c9beae;
    background: rgba(255, 255, 255, .55);
}

.team-chat-thread .thread-compose textarea {
    min-height: 58px;
    height: auto;
    padding: 14px 16px;
    resize: vertical;
    border-color: #c9beae;
    background: var(--team-chat-cream);
}

.team-chat-thread .thread-compose .btn {
    min-height: 58px;
    padding-inline: 28px;
}

@media (max-width: 900px) {
    .team-chat-hero {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .team-chat-hero__logo {
        width: 100px;
        height: 100px;
    }

    .team-chat-hero .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .team-chat-hero h1 {
        white-space: normal;
    }

    .team-chat-shell {
        grid-template-columns: 1fr;
    }

    .team-chat-rail {
        min-height: 0;
        border-radius: 18px 18px 0 0;
    }

    .team-chat-thread {
        border-radius: 0 0 18px 18px;
    }
}

@media (max-width: 620px) {
    .team-chat-page {
        padding-top: 12px;
    }

    .team-chat-hero {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        padding: 24px 20px;
    }

    .team-chat-hero__logo {
        width: 72px;
        height: 72px;
        border-width: 5px;
        border-radius: 12px;
    }

    .team-chat-hero h1 {
        font-size: 42px;
    }

    .team-chat-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-chat-nav a:nth-child(2) {
        border-right: 0;
    }

    .team-chat-nav a:nth-child(-n+2) {
        border-bottom: 1px solid #c9beae;
    }

    .team-chat-thread {
        padding: 18px 14px;
    }

    .team-chat-thread .message-row {
        width: 94%;
    }

    .team-chat-thread .thread-compose {
        grid-template-columns: 1fr;
    }
}

/* Team payment manager */
body.team-payment-body {
    --team-ink: #12110e;
    --team-panel: #1c1913;
    --team-cream: #f2ede3;
    --team-muted: #a99f8f;
    --team-teal: #38d5c0;
    --team-orange: #ff5533;
    background: var(--team-ink);
}

.team-payment-page {
    background: var(--team-ink, #12110e);
    color: var(--team-cream, #f2ede3);
    min-height: 100vh;
}

.team-payment-intro {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: center;
    gap: 40px;
    padding: 52px 0;
}

.team-payment-intro h2 {
    margin: 8px 0;
    font-size: clamp(48px, 7vw, 88px);
}

.team-payment-intro p {
    max-width: 700px;
    color: var(--team-muted, #a99f8f);
}

.team-payment-intro__mark {
    color: var(--team-teal, #38d5c0);
    font-family: var(--font-display);
    font-size: 150px;
    line-height: 1;
    text-align: center;
}

.team-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
    gap: 24px;
    align-items: start;
    padding-bottom: 80px;
}

.team-ledger-workspace {
    padding-bottom: 34px;
}

.team-ledger-workspace__head,
.team-ledger-history__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.team-ledger-workspace__head h3,
.team-ledger-history__head h3 {
    margin: 5px 0 0;
    color: var(--team-cream);
    font-size: 24px;
}

.team-ledger-builder {
    padding: 28px;
    border: 1px solid #39342b;
    border-radius: 18px;
    background: var(--team-panel, #1c1913);
}

.team-ledger-add-item {
    border-color: var(--team-orange);
    color: var(--team-orange);
}

.team-ledger-builder__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.team-ledger-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin: 34px 0 14px;
}

.team-ledger-section-head h3 {
    margin: 4px 0 0;
}

.team-ledger-items,
.team-ledger-splits {
    display: grid;
    gap: 8px;
}

.team-ledger-item {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr) minmax(190px, .8fr) 140px auto;
    gap: 8px;
}

.team-ledger-item label,
.team-ledger-split label {
    position: relative;
}

.team-ledger-item label span,
.team-ledger-split label span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--team-muted);
}

.team-ledger-item label input,
.team-ledger-split label input {
    padding-left: 26px;
}

.team-ledger-total,
.team-ledger-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 18px;
    background: #14120e;
}

.team-ledger-total strong {
    color: var(--team-teal);
    font-size: 30px;
}

.team-ledger-split {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(242, 237, 227, .1);
}

.team-ledger-split img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.team-ledger-split strong,
.team-ledger-split small {
    display: block;
}

.team-ledger-split small {
    color: var(--team-muted);
}

.team-ledger-split.is-new {
    margin-inline: -8px;
    padding-inline: 8px;
    border-left: 3px solid var(--team-teal);
    background: rgba(53, 210, 190, .08);
}

.team-ledger-split.is-new small {
    color: var(--team-teal);
    font-weight: 800;
    text-transform: uppercase;
}

.team-ledger-split input[readonly] {
    border-color: rgba(53, 210, 190, .22);
    background: rgba(53, 210, 190, .06);
    color: var(--team-cream);
}

.team-ledger-balance {
    gap: 20px;
}

.team-ledger-balance em {
    color: var(--team-teal);
    font-style: normal;
}

.team-ledger-balance em.is-off {
    color: var(--team-orange);
}

.team-ledger-history {
    display: grid;
    gap: 16px;
    padding-bottom: 80px;
}

.team-ledger-history__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.team-ledger-card.is-editing {
    border-color: var(--team-teal);
    box-shadow: 0 0 0 1px rgba(53, 210, 190, .18);
}

.team-ledger-history-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 110px auto;
    align-items: center;
    gap: 7px;
    padding: 10px 0;
    border-top: 1px solid rgba(242, 237, 227, .1);
}

.team-ledger-history-items {
    margin-bottom: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(242, 237, 227, .1);
    border-bottom: 1px solid rgba(242, 237, 227, .1);
}

.team-ledger-history-items > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
}

.team-ledger-history-items small {
    color: var(--team-muted);
}

.team-ledger-section-head--allocations {
    align-items: center;
}

.team-ledger-allocation-help {
    margin: -5px 0 14px;
    color: var(--team-muted);
    font-size: 12px;
}

.team-ledger-allocation-matrix {
    display: grid;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.team-ledger-allocation-row {
    display: grid;
    grid-template-columns: minmax(160px, .7fr) minmax(560px, 2fr) 120px;
    gap: 12px;
    align-items: stretch;
    min-width: 860px;
    padding: 12px;
    border: 1px solid rgba(242, 237, 227, .1);
    background: #14120e;
}

.team-ledger-allocation-row.is-over {
    border-color: var(--team-orange);
}

.team-ledger-allocation-row__item,
.team-ledger-allocation-row__absorbed {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-ledger-allocation-row__item small,
.team-ledger-allocation-row__absorbed small {
    color: var(--team-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-ledger-allocation-row__item strong {
    margin: 4px 0;
}

.team-ledger-allocation-row__item span {
    color: var(--team-muted);
    font-size: 11px;
}

.team-ledger-allocation-row__players {
    display: grid;
    grid-template-columns: repeat(var(--player-count), minmax(120px, 1fr));
    gap: 7px;
}

.team-ledger-allocation-row__players label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.team-ledger-allocation-row__players label > small {
    overflow: hidden;
    color: var(--team-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-ledger-allocation-row__players label > span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--team-muted);
}

.team-ledger-allocation-row__players input {
    min-width: 0;
    width: 100%;
    height: 38px;
    padding: 7px 8px;
    border: 1px solid rgba(242, 237, 227, .14);
    background: #201d17;
    color: var(--team-cream);
}

.team-ledger-allocation-row__absorbed {
    padding-left: 12px;
    border-left: 1px solid rgba(242, 237, 227, .1);
}

.team-ledger-allocation-row__absorbed strong {
    margin-top: 5px;
    color: var(--team-teal);
    font-size: 18px;
}

.team-ledger-allocation-decision {
    position: sticky;
    z-index: 4;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--team-orange);
    background: #211b15;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.team-ledger-allocation-decision[hidden] {
    display: none;
}

.team-ledger-allocation-decision p {
    margin: 4px 0 0;
    color: var(--team-muted);
    font-size: 12px;
}

.team-ledger-allocation-decision > div:last-child {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.team-ledger-editor {
    margin: 14px 0;
    border-top: 1px solid rgba(242, 237, 227, .1);
    border-bottom: 1px solid rgba(242, 237, 227, .1);
}

.team-ledger-editor > summary {
    cursor: pointer;
    padding: 14px 0;
    color: var(--team-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-ledger-editor[open] {
    padding-bottom: 18px;
}

.team-ledger-editor .team-ledger-section-head {
    margin-top: 24px;
}

.team-ledger-editor .team-ledger-item {
    grid-template-columns: 120px minmax(0, 1fr) 120px auto;
}

.team-ledger-editor .team-ledger-split.is-new {
    margin-inline: -8px;
    padding-inline: 8px;
    border-left: 3px solid var(--team-teal);
    background: rgba(53, 210, 190, .08);
}

.team-ledger-editor .team-ledger-split.is-new small {
    color: var(--team-teal);
    font-weight: 800;
    text-transform: uppercase;
}

.team-ledger-history-split strong,
.team-ledger-history-split small {
    display: block;
}

.team-ledger-history-split small {
    color: var(--team-muted);
}

@media (max-width: 1050px) {
    .team-game-hero__inner {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .team-game-logo {
        width: 140px;
        height: 140px;
    }

    .team-game-actions {
        grid-column: 1 / -1;
    }

    .team-schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-home-ledger-layout,
    .team-comms-layout,
    .team-payment-layout,
    .team-upcoming-events,
    .team-schedule-manager {
        grid-template-columns: 1fr;
    }

    .team-home-ledger-layout--personal > .team-buy-in-card,
    .team-home-ledger-layout--personal > .team-feature-ledger--empty {
        grid-column: 1;
    }

    .team-readiness-response {
        grid-template-columns: 1fr 1fr;
    }

    .team-readiness-response > div,
    .team-readiness-response > .btn {
        grid-column: 1 / -1;
    }

    .team-ledger-history__grid {
        grid-template-columns: 1fr;
    }

    .team-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-captain-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-broadcast-manager {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .team-readiness-response {
        grid-template-columns: 1fr;
    }

    .team-readiness-response > * {
        grid-column: 1;
    }

    .team-readiness-board {
        overflow-x: auto;
    }

    .team-readiness-row {
        min-width: 650px;
        grid-template-columns: minmax(210px, 1.5fr) repeat(3, minmax(110px, .75fr));
    }

    .team-readiness-legend {
        justify-content: flex-start;
    }

    .team-game-hero__inner {
        grid-template-columns: 1fr;
        padding-block: 34px;
    }

    .team-game-logo {
        width: 110px;
        height: 110px;
    }

    .team-game-hero__copy h1 {
        font-size: 58px;
        white-space: normal;
    }

    .team-broadcast-strip {
        position: static;
    }

    .team-broadcast-strip > .container,
    .team-broadcast-form,
    .team-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .team-broadcast-form {
        min-width: 0;
        width: 100%;
    }

    .team-ledger-workspace__head,
    .team-ledger-history__head,
    .team-ledger-allocation-decision {
        align-items: stretch;
        flex-direction: column;
    }

    .team-ledger-allocation-decision > div:last-child {
        justify-content: flex-start;
    }

    .team-schedule-grid,
    .team-tool-grid,
    .team-ledger-builder__head {
        grid-template-columns: 1fr;
    }

    .team-add-event,
    .team-ledger-item,
    .team-ledger-history-split {
        grid-template-columns: 1fr;
    }

    .team-payment-intro {
        grid-template-columns: 1fr;
    }

    .team-payment-intro__mark {
        display: none;
    }

    .team-captain-actions {
        grid-template-columns: 1fr;
    }

    .team-buy-in-card__head,
    .team-buy-in-method {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .team-home-ledger-layout > .team-home-section-copy {
        display: block;
    }

    .team-home-ledger-layout > .team-home-section-copy > p:not(.team-kicker) {
        margin-top: 16px;
    }

    .team-buy-in-card__head {
        flex-direction: column;
    }

    .team-buy-in-status {
        align-self: flex-start;
    }

    .team-buy-in-method__actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        justify-content: stretch;
    }

    .team-payment-confirm,
    .team-payment-confirm details form {
        grid-template-columns: 1fr;
    }

    .team-buy-in-mobile-action {
        display: inline-flex;
    }

    .team-buy-in-method > img {
        width: 76px;
        height: 76px;
    }

    .team-schedule-grid--single .team-schedule-card {
        grid-template-columns: 1fr;
    }

    .team-schedule-grid--single .team-schedule-card > img,
    .team-schedule-grid--single .team-schedule-card__date {
        min-height: 160px;
    }

    .team-feature-event {
        min-height: 430px;
    }

    .team-feature-event__scrim {
        background:
            linear-gradient(90deg, rgba(255, 85, 51, .2) 0 3px, transparent 3px),
            repeating-linear-gradient(135deg, transparent 0 36px, rgba(242, 237, 227, .025) 36px 37px);
    }

    .team-feature-event > img {
        top: 18px;
        right: 18px;
        width: 92px;
        height: 70px;
        padding: 7px;
    }

    .team-feature-event__content {
        padding-right: 28px;
        padding-top: 105px;
    }

    .team-event-countdown {
        grid-template-columns: repeat(2, minmax(70px, 1fr));
    }

    .team-home-timeline::before {
        left: 12px;
    }

    .team-home-timeline article {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .team-home-timeline time {
        grid-column: 2;
        text-align: left;
    }

    .team-home-timeline i {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .team-home-timeline article > div {
        grid-column: 2;
    }

    .team-manager-timeline article {
        grid-template-columns: 1fr;
    }

    .team-event-location-list > article {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .team-event-location-list > article > img,
    .team-event-location-list__placeholder {
        width: 76px;
        height: 64px;
    }

    .team-event-location-list__actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}
.verification-page { background: var(--paper); min-height: calc(100vh - 76px); padding: 72px 0 110px; }
.verification-page__wrap { max-width: 1180px; }
.verification-page .accent { color: var(--verification); }
.verification-hero { background: #11100d; border-bottom: 4px solid var(--verification); color: #f4eee4; display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden; }
.verification-hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: .9; margin: 10px 0 20px; text-transform: uppercase; }
.verification-hero p:last-child { color: #bcb09e; font-size: 19px; max-width: 620px; }
.verification-hero__mark { border: 2px solid var(--verification); border-radius: 50%; color: var(--verification); display: grid; font-size: 58px; font-weight: 900; height: 120px; place-items: center; width: 120px; }
.verification-notice { margin: 24px 0 0; }
.verification-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; }
.verification-card { background: #fff; border: 1px solid rgba(17,16,13,.13); padding: clamp(32px, 5vw, 58px); }
.verification-card:not(.verification-card--dark) { color: #11100d; }
.verification-card:not(.verification-card--dark) a { color: #11100d; text-decoration: underline; text-decoration-color: var(--verification); text-underline-offset: 3px; }
.verification-card--dark { background: #1d1a15; color: #f4eee4; }
.verification-card h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1; margin: 18px 0 24px; }
.verification-card--dark h2 { font-size: clamp(28px, 3vw, 40px); }
.verification-card p { color: #6d6254; font-size: 17px; line-height: 1.55; }
.verification-card--dark small { color: #9e927f; display: block; line-height: 1.55; margin-top: 32px; }
.verification-card ul { display: grid; gap: 18px; list-style: none; margin: 30px 0; padding: 0; }
.verification-card li { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.verification-card form { margin-top: 28px; }
.verification-card form label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; text-transform: uppercase; }
.verification-card form input { margin-bottom: 16px; width: 100%; }
.verification-card form textarea { margin-bottom: 16px; width: 100%; }
.verification-card > small { display: block; margin-top: 24px; }
.identity-scan { background: radial-gradient(circle at 28% 44%, rgba(53,213,196,.12), transparent 30%), #0b0c0b; border: 1px solid rgba(53,213,196,.35); height: 220px; margin: 24px auto 18px; max-width: 460px; overflow: hidden; position: relative; }
.identity-scan::before { background-image: linear-gradient(rgba(53,213,196,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(53,213,196,.055) 1px, transparent 1px); background-size: 24px 24px; content: ""; inset: 0; position: absolute; }
.identity-scan__corners::before, .identity-scan__corners::after { border-color: #35d5c4; border-style: solid; content: ""; height: 24px; position: absolute; top: 18px; width: 24px; z-index: 3; }
.identity-scan__corners::before { border-width: 2px 0 0 2px; left: 18px; }
.identity-scan__corners::after { border-width: 2px 2px 0 0; right: 18px; }
.identity-scan__face { border: 1px solid rgba(53,213,196,.65); border-radius: 48% 48% 44% 44%; height: 140px; left: 44px; position: absolute; top: 34px; width: 106px; }
.identity-scan__head { border: 2px solid #35d5c4; border-radius: 48%; height: 50px; left: 31px; position: absolute; top: 22px; width: 40px; }
.identity-scan__shoulders { border: 2px solid #35d5c4; border-bottom: 0; border-radius: 60px 60px 0 0; bottom: 16px; height: 39px; left: 16px; position: absolute; width: 72px; }
.identity-scan__face i { background: #35d5c4; box-shadow: 0 0 9px rgba(53,213,196,.9); height: 4px; position: absolute; width: 4px; }
.identity-scan__face i:nth-of-type(1) { left: 32px; top: 44px; }
.identity-scan__face i:nth-of-type(2) { right: 32px; top: 44px; }
.identity-scan__face i:nth-of-type(3) { left: 51px; top: 56px; }
.identity-scan__face i:nth-of-type(4) { left: 51px; top: 67px; }
.identity-scan__document { background: rgba(244,238,228,.045); border: 1px solid rgba(244,238,228,.5); height: 90px; padding: 18px 13px 11px 64px; position: absolute; right: 34px; top: 58px; transform: none; width: 150px; }
.identity-scan__doc-photo { border: 1px solid var(--verification) !important; height: 47px !important; left: 12px; position: absolute; top: 17px; width: 37px !important; }
.identity-scan__document span:not(.identity-scan__doc-photo) { background: rgba(244,238,228,.5); display: block; height: 3px; margin: 0 0 11px; width: 62px; }
.identity-scan__document span:last-child { width: 40px; }
.identity-scan__beam { animation: identity-scan-beam 2.3s ease-in-out infinite; background: linear-gradient(90deg, transparent, #35d5c4 15%, #35d5c4 85%, transparent); box-shadow: 0 0 18px rgba(53,213,196,.85); height: 2px; left: 20px; position: absolute; right: 20px; top: 48px; z-index: 4; }
.identity-scan__status { bottom: 18px; color: #35d5c4; font-size: 10px; font-weight: 900; letter-spacing: .18em; position: absolute; right: 20px; text-transform: uppercase; }
@keyframes identity-scan-beam { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(120px); } }
.verification-time-callout { align-items: flex-start; background: var(--verification); color: var(--verification-ink); display: flex; flex-direction: column; gap: 3px; padding: 18px 20px; }
.verification-time-callout strong { font-size: 18px; }
.verification-time-callout span { font-size: 13px; }
.verification-card li strong { color: #35d5c4; display: inline-block; font-size: 11px; letter-spacing: .12em; margin-right: 12px; }
.verification-form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.verification-consent { align-items: flex-start; background: #f4efe7; border: 1px solid rgba(17,16,13,.12); display: flex !important; font-size: 13px !important; font-weight: 600 !important; gap: 12px; letter-spacing: 0 !important; line-height: 1.45; margin: 6px 0 20px; padding: 16px; text-transform: none !important; }
.verification-consent span { color: #11100d; }
.verification-consent input { flex: 0 0 auto; margin: 3px 0 0 !important; width: auto !important; }
.verification-submit { background: var(--verification); color: var(--verification-ink); width: 100%; }
.verification-submit:hover { background: #78e7d9; color: var(--verification-ink); }
.verification-processing { align-items: center; background: rgba(53,213,196,.1); border: 1px solid rgba(53,213,196,.35); display: flex; gap: 15px; margin: 0 0 24px; padding: 17px; }
.verification-processing > span { animation: verification-pulse 1.2s ease-in-out infinite; background: #35d5c4; border-radius: 50%; box-shadow: 0 0 0 7px rgba(53,213,196,.14); height: 10px; width: 10px; }
.verification-processing strong, .verification-processing small { display: block; }
.verification-processing small { color: #6d6254; margin-top: 3px; }
@keyframes verification-pulse { 50% { box-shadow: 0 0 0 13px rgba(53,213,196,0); } }
.verified-lockup { align-items: center; background: #11100d; color: #f4eee4; display: flex; gap: 18px; margin: 24px 0; padding: 24px; }
.verified-lockup > span { border: 2px solid #35d5c4; border-radius: 50%; color: #35d5c4; display: grid; flex: 0 0 54px; font-size: 28px; height: 54px; place-items: center; }
.verified-lockup strong, .verified-lockup small { display: block; }
.verified-lockup small { color: #a99f90; margin-top: 4px; }
.verification-return { background: #fff; border: 1px solid rgba(17,16,13,.13); margin: 24px auto 0; max-width: 760px; padding: clamp(38px, 7vw, 72px); text-align: center; }
.verification-return h2 { color: #11100d; font-size: clamp(34px, 5vw, 54px); line-height: 1; margin: 14px auto 20px; max-width: 600px; }
.verification-return > p:not(.cap) { color: #6d6254; font-size: 18px; line-height: 1.6; margin: 0 auto 30px; max-width: 620px; }
.verification-return__icon { align-items: center; background: rgba(53,213,196,.12); border: 2px solid var(--verification); border-radius: 50%; color: var(--verification-ink); display: flex; font-size: 34px; font-weight: 900; height: 76px; justify-content: center; margin: 0 auto 28px; width: 76px; }
.verification-return__icon > span { animation: verification-pulse 1.2s ease-in-out infinite; background: var(--verification); border-radius: 50%; box-shadow: 0 0 0 10px rgba(53,213,196,.14); height: 14px; width: 14px; }
.verification-return__icon--complete { background: var(--verification); }
.verification-return__icon--warning { background: #fff3e9; border-color: #ff5b35; color: #ff5b35; }
.verification-return__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.verification-return__actions .btn { min-width: 190px; width: auto; }
.home-id-tag__actions { align-items: center; display: flex; justify-content: space-between; gap: 14px; }
.home-id-tag__actions .home-id-tag__verify { color: var(--verification); }
@media (max-width: 760px) {
  .verification-page { padding-top: 24px; }
  .verification-hero__mark { display: none; }
  .verification-grid { grid-template-columns: 1fr; }
  .identity-scan__document { right: 24px; }
  .verification-form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .identity-scan__beam, .verification-processing > span { animation: none; }
}
/* Anno Pro sales + checkout */
.pro-page { padding: 54px 0 96px; background: var(--paper, #f2eee5); }
.pro-hero { min-height: 390px; padding: clamp(38px, 6vw, 86px); background: #11100e; color: #f5efe4; border-bottom: 5px solid #ff5633; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; position: relative; }
.pro-hero > div:first-child { max-width: 850px; position: relative; z-index: 1; }
.pro-hero h1 { margin: 12px 0 18px; font-size: clamp(74px, 12vw, 164px); line-height: .78; text-transform: uppercase; }
.pro-hero p:not(.cap) { max-width: 760px; margin: 0; color: #c7b8a5; font-size: clamp(18px, 2vw, 27px); line-height: 1.45; }
.pro-hero__mark { font-family: var(--display-font, Impact, sans-serif); font-size: clamp(110px, 22vw, 330px); line-height: .7; color: rgba(255, 86, 51, .08); position: absolute; right: -18px; bottom: 16px; }
.pro-feature-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid #d6cdbf; border-top: 0; }
.pro-feature { min-height: 450px; padding: clamp(30px, 4vw, 62px); background: #f8f4ec; border-right: 1px solid #d6cdbf; }
.pro-feature:last-child { border-right: 0; }
.pro-feature > span { color: #ff5633; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 13px; }
.pro-feature h2 { margin: 32px 0 18px; font-size: clamp(32px, 4vw, 54px); line-height: 1; }
.pro-feature p, .pro-feature li { color: #655b4f; line-height: 1.55; }
.pro-feature ul { list-style: none; padding: 24px 0 0; margin: 28px 0 0; border-top: 1px solid #d6cdbf; }
.pro-feature li { padding: 10px 0; border-bottom: 1px solid #e2dace; }
.pro-feature--team { background: #171511; color: #f5efe4; }
.pro-feature--team p, .pro-feature--team li { color: #b9aa98; }
.pro-feature--team ul, .pro-feature--team li { border-color: #302c26; }
.pro-checkout { padding: clamp(34px, 5vw, 72px); background: #103f39; color: white; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.pro-checkout h2 { margin: 10px 0 14px; font-size: clamp(44px, 7vw, 90px); line-height: .85; max-width: 920px; }
.pro-checkout p:not(.cap) { color: #b8d0c9; font-size: 18px; }
.pro-checkout__action { min-width: 250px; display: grid; gap: 12px; justify-items: stretch; text-align: center; }
.pro-checkout__action .btn { min-width: 240px; }
.pro-checkout__action small { color: #b8d0c9; }
.free-agent-pro-gate { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.free-agent-pro-gate:disabled { opacity: .58; }
.free-agent-pro-callout { margin-bottom: 22px; border-left: 4px solid #ff5633; }
@media (max-width: 900px) {
  .pro-feature-grid { grid-template-columns: 1fr; }
  .pro-feature { min-height: 0; border-right: 0; border-bottom: 1px solid #d6cdbf; }
  .pro-checkout { grid-template-columns: 1fr; }
}

.moderation-filters { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.4fr) auto; align-items: end; gap: 14px; margin-bottom: 22px; }
.moderation-queue { display: grid; gap: 18px; }
.moderation-report { display: grid; gap: 18px; }
.moderation-report__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.moderation-report__header > div { display: flex; align-items: center; gap: 10px; }
.moderation-report__header time { color: var(--muted); font-size: 12px; }
.moderation-report__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.moderation-report__grid > div { display: grid; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.moderation-report__grid small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.moderation-evidence pre { max-height: 280px; overflow: auto; padding: 14px; border-radius: var(--r-sm); background: var(--ink); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.moderation-history { display: grid; gap: 8px; margin: 0; padding: 14px 14px 14px 34px; border-left: 3px solid var(--teal); background: var(--surface-2); }
.moderation-action { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(150px, .8fr) minmax(260px, 2fr) auto; align-items: end; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.moderation-action textarea { height: auto; min-height: 74px; padding: 10px 12px; resize: vertical; }
@media (max-width: 820px) {
  .moderation-filters, .moderation-action, .moderation-report__grid { grid-template-columns: 1fr; }
  .moderation-report__header { align-items: flex-start; flex-direction: column; }
}
.moderation-menu { position: relative; margin-left: auto; }
.moderation-menu > summary { cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px 6px; color: var(--muted); font-weight: 900; line-height: 1; }
.moderation-menu > summary::-webkit-details-marker { display: none; }
.moderation-menu__panel { position: absolute; z-index: 20; right: 0; top: calc(100% + 8px); width: min(290px, 78vw); padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.moderation-form { display: grid; gap: 8px; }
.moderation-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 800; }
.moderation-form select, .moderation-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--text); background: var(--surface-2); font: inherit; }
.moderation-menu button { width: 100%; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; font-weight: 900; }
.moderation-form button { color: #fff; background: var(--accent); }
.moderation-menu__danger { margin-top: 8px; color: #b42318; background: rgba(180,35,24,.1); }
.listing-gallery__safety { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.moderation-notice { margin-top: 16px; }
.profile-support-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-support-links a { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); background: var(--surface-2); text-decoration: none; }
.profile-support-links a:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.profile-support-links span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.profile-support-links .profile-support-links__danger strong { color: var(--danger); }
@media (max-width: 640px) { .profile-support-links { grid-template-columns: 1fr; } }

.delete-account-card { max-width: 760px; margin: 0 auto; }
.delete-account-list { margin: 20px 0; color: var(--muted); line-height: 1.65; }
.delete-account-confirm { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.btn--danger { color: #fff; background: var(--danger); border-color: var(--danger); }
.btn--danger:hover { filter: brightness(.92); }

/* Public support/contact */
.support-page { background: radial-gradient(circle at 78% 8%, rgba(85, 214, 190, .09), transparent 26rem), var(--bg); }
.support-shell { display: grid; gap: 34px; }
.support-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 54px 0 18px; border-bottom: 1px solid var(--line); }
.support-hero h1 { max-width: 760px; margin: 10px 0 16px; font-size: clamp(46px, 8vw, 92px); line-height: .9; }
.support-hero__lead { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.support-hero__badge { flex: 0 0 185px; display: grid; gap: 7px; padding: 20px; border: 1px solid rgba(85, 214, 190, .34); border-radius: 18px; background: rgba(85, 214, 190, .07); }
.support-hero__badge span { color: var(--teal); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.support-hero__badge strong { color: var(--text); font-size: 18px; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); align-items: start; gap: 24px; padding-bottom: 36px; }
.support-form-card, .support-card, .support-confirmation { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 20px 60px rgba(0, 0, 0, .08); }
.support-form-card { padding: clamp(22px, 4vw, 42px); }
.support-form-card__head { margin-bottom: 28px; }
.support-form-card__head h2, .support-card h2, .support-confirmation h2 { margin: 8px 0; color: var(--text); font-size: clamp(24px, 3vw, 34px); line-height: 1.05; }
.support-form-card__head p:last-child, .support-card > p { color: var(--muted); line-height: 1.6; }
.support-form { display: grid; gap: 19px; }
.support-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-form__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.support-form .label span { color: var(--muted); font-size: 10px; font-weight: 600; }
.support-form__message { min-height: 180px; height: auto; padding: 14px; resize: vertical; }
.support-consent { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: 13px; line-height: 1.55; cursor: pointer; }
.support-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.support-consent a { color: var(--text); font-weight: 800; }
.support-safe-note { display: flex; gap: 7px; padding: 14px 16px; border: 1px solid rgba(213, 170, 83, .28); border-radius: 12px; color: var(--muted); background: rgba(213, 170, 83, .07); font-size: 12px; line-height: 1.5; }
.support-safe-note strong { flex: 0 0 auto; color: var(--warning); }
.support-submit { min-height: 54px; justify-self: start; padding-inline: 28px; }
.support-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.field-validation-error { color: var(--danger); font-size: 12px; line-height: 1.4; }
.support-aside { display: grid; gap: 16px; }
.support-card { padding: 24px; }
.support-card > a { display: grid; gap: 4px; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface-2); text-decoration: none; }
.support-card > a:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.support-card > a span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.support-contact-card address { margin: 18px 0; color: var(--text); font-style: normal; line-height: 1.65; }
.support-contact-card .muted { font-size: 11px; line-height: 1.55; }
.support-confirmation { display: flex; align-items: flex-start; gap: 22px; max-width: 850px; margin: 10px auto 50px; padding: clamp(24px, 5vw, 44px); }
.support-confirmation__icon { flex: 0 0 56px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #06201b; background: var(--teal); font-size: 25px; font-weight: 900; }
.support-confirmation p { color: var(--muted); line-height: 1.6; }
.support-confirmation .btn { margin-top: 12px; }
@media (max-width: 900px) {
  .support-hero { align-items: flex-start; flex-direction: column; padding-top: 32px; }
  .support-hero__badge { width: 100%; flex-basis: auto; }
  .support-layout { grid-template-columns: 1fr; }
  .support-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-contact-card { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .support-form__row, .support-form__row--three, .support-aside { grid-template-columns: 1fr; }
  .support-contact-card { grid-column: auto; }
  .support-safe-note, .support-confirmation { flex-direction: column; }
  .support-submit { width: 100%; }
}
