:root {
    --sc-marketing-page-x: clamp(1rem, 4vw, 6rem);
    --sc-bg: #020403;
    --sc-bg-2: #07100d;
    --sc-surface: rgba(255, 255, 255, 0.055);
    --sc-surface-strong: rgba(255, 255, 255, 0.085);
    --sc-border: rgba(255, 255, 255, 0.11);
    --sc-text: #f8fafc;
    --sc-muted: rgba(248, 250, 252, 0.66);
    --sc-green: #26c281;
    --sc-blue: #0d6efd;
    --sc-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.24);
}

html[data-theme="dark-disabled-light"] {
    --sc-bg: #f6f8fb;
    --sc-bg-2: #eef3f8;
    --sc-surface: rgba(255, 255, 255, 0.86);
    --sc-surface-strong: rgba(255, 255, 255, 0.96);
    --sc-border: rgba(15, 23, 42, 0.12);
    --sc-text: #0f172a;
    --sc-muted: rgba(15, 23, 42, 0.62);
    --sc-green: #168a5a;
    --sc-blue: #0d6efd;
    --sc-shadow: 0 1.2rem 3rem rgba(15, 23, 42, 0.12);
}

html {
    min-height: 100%;
}

body.footballcode-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(38, 194, 129, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.12), transparent 30%),
        linear-gradient(180deg, var(--sc-bg) 0%, var(--sc-bg-2) 52%, #040706 100%);
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] body.footballcode-body {
    background:
        radial-gradient(circle at top left, rgba(38, 194, 129, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.12), transparent 30%),
        linear-gradient(180deg, var(--sc-bg) 0%, var(--sc-bg-2) 58%, #ffffff 100%);
}

html[data-theme="dark-disabled-light"] .app-sidebar,
html[data-theme="dark-disabled-light"] .auth-card {
    background: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark-disabled-light"] .brand-lockup,
html[data-theme="dark-disabled-light"] .brand-lockup:hover,
html[data-theme="dark-disabled-light"] .sidebar-link:hover,
html[data-theme="dark-disabled-light"] .sidebar-link.active {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .sidebar-filter-input,
html[data-theme="dark-disabled-light"] .form-control,
html[data-theme="dark-disabled-light"] .form-select {
    color: var(--sc-text);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.14);
}

html[data-theme="dark-disabled-light"] .table-dark {
    --bs-table-color: #0f172a;
    --bs-table-bg: rgba(255, 255, 255, 0.65);
    --bs-table-border-color: rgba(15, 23, 42, 0.12);
    --bs-table-hover-color: #0f172a;
    --bs-table-hover-bg: rgba(15, 23, 42, 0.05);
}

html[data-theme="dark-disabled-light"] .btn-outline-light {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.22);
}

html[data-theme="dark-disabled-light"] .btn-outline-light:hover,
html[data-theme="dark-disabled-light"] .btn-outline-light.active {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
}

.theme-toggle {
    min-width: 4.25rem;
}

a {
    text-decoration: none;
}

.app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1.25rem;
    border-right: 1px solid var(--sc-border);
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
}

.brand-lockup:hover {
    color: #fff;
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
}

.app-sidebar .brand-lockup strong {
    font-size: 1.18rem;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.brand-lockup small {
    color: var(--sc-muted);
    font-size: 0.78rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 0.95rem;
    background: #000;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.22);
}

.sidebar-nav {
    flex: 1;
    display: grid;
    align-content: start;
    gap: 0.45rem;
    margin-top: 1.5rem;
    padding-right: 0.25rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 0.45rem;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.62rem 0.72rem;
    border-radius: 0.85rem;
    color: var(--sc-muted);
    font-size: 0.92rem;
    transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}

.sidebar-link.active {
    background: rgba(38, 194, 129, 0.14);
    box-shadow: inset 0 0 0 1px rgba(38, 194, 129, 0.24);
}

.sidebar-link-pinned {
    margin-bottom: 0.1rem;
}

.sidebar-link-icon {
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 1.45rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.55rem;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}


.sidebar-link-label {
    min-width: 0;
    flex: 1 1 auto;
}

.sidebar-link-badge {
    min-width: 1.45rem;
    height: 1.45rem;
    margin-left: auto;
    padding: 0 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--sc-blue), var(--sc-green));
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0.65rem 1.4rem rgba(13, 110, 253, 0.18);
}

html[data-theme="dark-disabled-light"] .sidebar-link-badge {
    color: #fff;
    box-shadow: 0 0.65rem 1.4rem rgba(13, 110, 253, 0.14);
}

.footballcode-public-body {
    color: var(--sc-text);
}

.footballcode-marketing-nav,
.footballcode-marketing-links,
.footballcode-marketing-lockup,
.footballcode-marketing-wordmark {
    min-width: 0;
}

.footballcode-marketing-nav {
    box-sizing: border-box;
}

.footballcode-marketing-logo,
.footballcode-marketing-footer-logo {
    flex: 0 0 auto;
}

.footballcode-marketing-link,
.footballcode-marketing-cta {
    white-space: nowrap;
}

.footballcode-marketing-cta {
    max-width: 14.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footballcode-marketing-footer {
    overflow: hidden;
}

.footballcode-marketing-footer-product {
    color: var(--sc-text);
}

.footballcode-marketing-footer-bottom {
    align-items: center;
}

.footballcode-main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(5.5rem, 9vw, 7rem) 0 4rem;
}

.footballcode-hero {
    min-height: min(720px, calc(100vh - 2rem));
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-bottom: clamp(2rem, 5vh, 4rem);
}

.footballcode-hero-copy {
    display: grid;
    gap: 1.15rem;
}

.footballcode-kicker {
    margin: 0;
    color: var(--sc-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footballcode-hero h1,
.footballcode-page-head h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.footballcode-hero p,
.footballcode-page-head p,
.footballcode-band p,
.footballcode-panel p,
.footballcode-article p {
    color: var(--sc-muted);
}

.footballcode-hero-copy > p:not(.footballcode-kicker) {
    max-width: 680px;
    font-size: 1.08rem;
}

.footballcode-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footballcode-hero-board {
    min-height: 360px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    background: var(--sc-surface);
    box-shadow: var(--sc-shadow);
    display: grid;
    align-content: end;
    gap: 0.65rem;
}

.footballcode-hero-board span,
.footballcode-hero-board p {
    color: var(--sc-muted);
}

.footballcode-hero-board strong {
    font-size: clamp(2rem, 6vw, 4.2rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.footballcode-section,
.footballcode-band,
.footballcode-page-head {
    margin: clamp(2rem, 6vw, 4.5rem) 0;
}

.footballcode-page-head {
    display: grid;
    gap: 0.8rem;
    padding-top: 2rem;
}

.footballcode-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footballcode-section-heading h2,
.footballcode-band h2,
.footballcode-panel h2,
.footballcode-article h2 {
    margin: 0;
    letter-spacing: 0;
}

.footballcode-section-heading a,
.footballcode-card,
.footballcode-panel,
.footballcode-table a,
.footballcode-footer a {
    color: var(--sc-text);
}

.footballcode-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.footballcode-card-list {
    display: grid;
    gap: 0.8rem;
}

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

.footballcode-card,
.footballcode-panel,
.footballcode-empty,
.footballcode-band,
.footballcode-article {
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    background: var(--sc-surface);
    box-shadow: var(--sc-shadow);
}

.footballcode-card,
.footballcode-panel,
.footballcode-empty,
.footballcode-article {
    padding: 1rem;
}

.footballcode-card {
    display: grid;
    gap: 0.4rem;
    transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.footballcode-card:hover,
.footballcode-panel:hover {
    color: var(--sc-text);
    background: var(--sc-surface-strong);
    border-color: rgba(38, 194, 129, 0.36);
    transform: translateY(-2px);
}

.footballcode-card span,
.footballcode-card small,
.footballcode-empty {
    color: var(--sc-muted);
}

.footballcode-rank-card {
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
}

.footballcode-rank-card small {
    grid-column: 2;
}

.footballcode-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    background: var(--sc-surface);
    box-shadow: var(--sc-shadow);
}

.footballcode-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.footballcode-table th,
.footballcode-table td {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--sc-border);
    white-space: nowrap;
}

.footballcode-table th {
    color: var(--sc-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.footballcode-table tr:last-child td {
    border-bottom: 0;
}

.footballcode-band {
    padding: clamp(1.4rem, 4vw, 2.2rem);
    display: grid;
    gap: 0.8rem;
}

.footballcode-team-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.footballcode-team-head img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.footballcode-article {
    max-width: 860px;
    display: grid;
    gap: 0.85rem;
}

.footballcode-article h3 {
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.footballcode-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    align-items: center;
    justify-content: space-between;
    margin: -1rem 0 clamp(1.5rem, 4vw, 3rem);
    padding: 0.85rem 1rem;
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    color: var(--sc-muted);
    background: var(--sc-surface);
    box-shadow: var(--sc-shadow);
}

.footballcode-page-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footballcode-score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1rem;
}

.footballcode-score-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    background: var(--sc-surface);
    box-shadow: var(--sc-shadow);
}

.footballcode-score-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.footballcode-score-card-head span {
    color: var(--sc-text);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.footballcode-score-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.footballcode-score-metrics div {
    min-width: 0;
    padding: 0.8rem;
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    background: var(--sc-surface-strong);
}

.footballcode-score-metrics span {
    display: block;
    color: var(--sc-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.footballcode-score-metrics strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--sc-text);
    font-size: 1.35rem;
}

.footballcode-standings-cards {
    display: none;
}

.footballcode-standing-card {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    align-items: center;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    color: var(--sc-text);
    background: var(--sc-surface);
    box-shadow: var(--sc-shadow);
}

.footballcode-standing-card span {
    grid-row: span 3;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 999px;
    color: var(--sc-green);
    background: rgba(38, 194, 129, 0.12);
    font-weight: 800;
}

.footballcode-standing-card strong,
.footballcode-standing-card small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footballcode-standing-card small {
    color: var(--sc-muted);
}

.footballcode-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.footballcode-compare-team {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.footballcode-compare-team img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.footballcode-team-mini {
    text-decoration: none;
}

.footballcode-team-mini span,
.footballcode-match-key span {
    color: var(--sc-muted);
}

.footballcode-factor-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--sc-muted);
}

.footballcode-factor-list li {
    margin: 0.4rem 0;
}

.footballcode-factor-list-panel {
    padding: 1rem 1rem 1rem 2rem;
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    background: var(--sc-surface);
    box-shadow: var(--sc-shadow);
}

.footballcode-match-key {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid rgba(38, 194, 129, 0.28);
    border-radius: 0.5rem;
    background: rgba(38, 194, 129, 0.08);
}

.footballcode-card,
.footballcode-panel,
.footballcode-empty,
.footballcode-article,
.footballcode-band {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footballcode-hero-actions .btn {
    max-width: 100%;
    white-space: normal;
}

@media (max-width: 860px) {
    .footballcode-main {
        width: min(100% - 1rem, 1180px);
        padding-top: 5rem;
    }

    .footballcode-hero,
    .footballcode-grid-two,
    .footballcode-analysis-grid,
    .footballcode-team-head {
        grid-template-columns: 1fr;
    }

    .footballcode-hero {
        min-height: auto;
        padding-top: 2rem;
    }

    .footballcode-compare-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-hero-board {
        min-height: 240px;
    }

    .footballcode-section-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .footballcode-table-wrap.footballcode-mobile-card-source {
        display: none;
    }

    .footballcode-standings-cards {
        display: grid;
        gap: 0.8rem;
    }

    .footballcode-score-metrics {
        grid-template-columns: 1fr;
    }

    .footballcode-page-meta {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 991.98px) {
    .footballcode-marketing-links {
        gap: 0.55rem;
    }

    .footballcode-marketing-link,
    .footballcode-marketing-cta,
    .footballcode-marketing-theme-toggle {
        max-width: none;
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .footballcode-marketing-nav {
        width: calc(100% - 0.5rem);
        padding: 0.72rem;
        border-radius: 1rem;
    }

    .footballcode-marketing-lockup {
        max-width: calc(100vw - 5.75rem);
    }

    .footballcode-marketing-logo {
        width: 2.85rem;
        height: 2.85rem;
    }

    .footballcode-marketing-wordmark {
        max-width: min(10.8rem, calc(100vw - 8.3rem));
        margin-left: -0.18rem;
    }

    .footballcode-marketing-brand-name,
    .footballcode-marketing-brand-subtitle {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .footballcode-marketing-brand-name {
        font-size: 0.82rem;
    }

    .footballcode-marketing-brand-subtitle {
        font-size: 0.78rem;
    }

    .footballcode-marketing-footer {
        width: calc(100% - 0.5rem);
    }

    .footballcode-marketing-footer-bottom {
        align-items: start;
    }
}

@media (max-width: 380px) {
    .footballcode-marketing-nav {
        width: calc(100% - 0.35rem);
        gap: 0.5rem;
        padding: 0.62rem;
    }

    .footballcode-marketing-logo {
        width: 2.55rem;
        height: 2.55rem;
    }

    .footballcode-marketing-wordmark {
        max-width: 8.8rem;
        margin-left: -0.14rem;
    }

    .footballcode-marketing-brand-name {
        font-size: 0.74rem;
    }

    .footballcode-marketing-brand-subtitle {
        font-size: 0.72rem;
    }

    .footballcode-marketing-toggle {
        padding: 0.42rem 0.5rem;
        font-size: 0.78rem;
    }
}

.sidebar-section {
    margin: 1rem 0 0.25rem;
    padding: 0 0.9rem;
    color: rgba(248, 250, 252, 0.42);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.sidebar-search {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 0.15rem 0 0.4rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

.sidebar-filter-input {
    width: 100%;
    padding: 0.62rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    outline: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-filter-input::placeholder {
    color: rgba(248, 250, 252, 0.48);
}

.sidebar-filter-input:focus {
    border-color: rgba(38, 194, 129, 0.52);
    box-shadow: 0 0 0 0.2rem rgba(38, 194, 129, 0.12);
}

.sidebar-group {
    display: grid;
    gap: 0.25rem;
}

.sidebar-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.62rem 0.75rem;
    border: 0;
    border-radius: 0.85rem;
    color: rgba(248, 250, 252, 0.76);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.sidebar-group-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.075);
}

.sidebar-chevron {
    transition: transform 0.18s ease;
}

.sidebar-group-toggle[aria-expanded="true"] .sidebar-chevron {
    transform: rotate(180deg);
}

.sidebar-group-panel {
    display: grid;
    gap: 0.2rem;
    padding: 0.25rem 0 0.35rem 0.55rem;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    margin-left: 0.55rem;
}

.sidebar-group-panel.collapsing {
    display: grid;
}

.sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
}

.user-pill {
    padding: 0.75rem 0.85rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.055);
    color: var(--sc-muted);
    font-size: 0.82rem;
    word-break: break-word;
}

.app-main {
    min-width: 0;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--sc-border);
    background: rgba(2, 4, 3, 0.76);
    backdrop-filter: blur(18px);
}

.app-content {
    width: 100%;
    max-width: none;
    padding: 1.5rem;
}

.app-content-fluid {
    --bs-gutter-x: 3rem;
}

/* Pass 66 responsive viewport layout smoke readiness markers */
.responsive-viewport-layout-anchor {
    min-width: 0;
}

@media (min-width: 1200px) {
    :root {
        --sc-responsive-viewport: desktop-fluid;
    }

    .app-content-fluid {
        --bs-gutter-x: 3rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --sc-responsive-viewport: mobile-fluid;
    }

    .app-content,
    .app-topbar {
        padding: 0.75rem;
    }

    .app-content-fluid {
        --bs-gutter-x: 1.5rem;
    }

    .auth-card {
        padding: 1.25rem;
    }

    .marketing-nav,
    .hero-section,
    .marketing-section,
    .cta-section,
    .thanks-page,
    .demo-page {
        width: calc(100% - 1rem);
    }

    .marketing-nav {
        --marketing-nav-bleed: .5rem;
    }
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(4.5rem, 12vh, 7.5rem) 1rem 2rem;
}

.auth-shell > .d-flex.justify-content-end {
    width: min(100%, 440px);
    justify-content: flex-end !important;
    margin-bottom: 1.25rem !important;
}

.auth-card {
    width: min(100%, 440px);
    padding: 2rem;
    border: 1px solid var(--sc-border);
    border-radius: 1.5rem;
    background: rgba(0, 0, 0, 0.42);
    box-shadow: var(--sc-shadow);
}

.auth-card.wide {
    width: min(100%, 720px);
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-heading h2,
.dashboard-hero h2 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.page-heading p,
.dashboard-hero p {
    margin: 0.35rem 0 0;
    color: var(--sc-muted);
}

.page-kicker {
    color: var(--sc-green);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.surface-card,
.card {
    border: 1px solid var(--sc-border) !important;
    border-radius: 1.25rem !important;
    background: var(--sc-surface) !important;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
    color: var(--sc-text) !important;
}

.surface-card {
    padding: 1.25rem;
}

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(38, 194, 129, 0.25), rgba(13, 110, 253, 0.12)),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: var(--sc-shadow);
}

.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f8f9fa;
    border-radius: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.075);
    border-color: rgba(38, 194, 129, 0.55);
    color: #f8f9fa;
    box-shadow: 0 0 0 0.25rem rgba(38, 194, 129, 0.16);
}

.form-select option {
    color: #111;
}

.text-secondary {
    color: var(--sc-muted) !important;
}

.btn {
    border-radius: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sc-blue), #198754);
    border: 0;
    box-shadow: 0 0.8rem 1.5rem rgba(13, 110, 253, 0.2);
}

.limit-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(38, 194, 129, 0.14);
    border: 1px solid rgba(38, 194, 129, 0.28);
}

.metric-card {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
}

.metric-card.compact {
    background: rgba(0, 0, 0, 0.22);
}

.metric-card span,
.metric-card small {
    display: block;
    color: var(--sc-muted);
    font-size: 0.8rem;
}

.metric-card strong {
    display: block;
    font-size: 1.7rem;
    color: #fff;
}

.quick-actions {
    display: grid;
    gap: 0.75rem;
}

.quick-actions a,
.activity-item,
.report-row,
.kb-item,
.template-item,
.ai-draft-box {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.quick-actions a {
    color: #fff;
    border: 1px solid transparent;
}

.quick-actions a:hover {
    border-color: rgba(38, 194, 129, 0.3);
    background: rgba(38, 194, 129, 0.09);
}

.checklist {
    display: grid;
    gap: 0.75rem;
}

.checklist div {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: var(--sc-muted);
}

.checklist span {
    width: 10px;
    height: 10px;
    display: inline-flex;
    border-radius: 999px;
    background: var(--sc-green);
    box-shadow: 0 0 0 0.3rem rgba(38, 194, 129, 0.12);
}

.report-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.channel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.inbox-fixed-page {
    overflow: hidden;
}

.inbox-fixed-page .app-shell {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

.inbox-fixed-page .app-main {
    display: flex;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}

.inbox-fixed-page .app-topbar {
    flex: 0 0 auto;
}

.inbox-app-content {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

.inbox-shell {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr) 320px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--sc-border);
    border-radius: 1.5rem;
    background: rgba(0, 0, 0, 0.28);
}

.inbox-list-panel {
    min-height: 0;
    border-right: 1px solid var(--sc-border);
    background: rgba(0, 0, 0, 0.18);
    overflow-y: auto;
}

.mobile-inbox-toolbar {
    display: none;
}

.inbox-thread-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.inbox-profile-panel {
    min-height: 0;
    border-left: 1px solid var(--sc-border);
    background: rgba(0, 0, 0, 0.18);
    padding: 1rem;
    overflow-y: auto;
}

.conversation-item {
    position: relative;
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    margin: 0.45rem 0.55rem;
    padding: 0.72rem 0.78rem;
    color: #f8f9fa;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.conversation-avatar-stack {
    position: relative;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
}

.conversation-avatar {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border: 1px solid rgba(78, 124, 255, 0.28);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(78, 124, 255, 0.28), rgba(53, 217, 174, 0.18));
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

.conversation-channel-icon {
    position: absolute;
    right: -0.18rem;
    bottom: -0.18rem;
    display: grid;
    width: 1.18rem;
    height: 1.18rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: #0b1512;
    color: #35d9ae;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
}

.conversation-card-main {
    min-width: 0;
}

.conversation-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
}

.conversation-contact {
    font-size: 0.94rem;
    letter-spacing: -0.01em;
}

.conversation-unread-badge {
    min-width: 1.38rem;
    align-self: start;
    margin-top: 0.08rem;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.14);
}

.conversation-item.has-unread {
    border-color: rgba(78, 124, 255, 0.32);
    background: linear-gradient(135deg, rgba(78, 124, 255, 0.12), rgba(53, 217, 174, 0.075));
}

.conversation-item.has-unread .conversation-contact,
.conversation-item.has-unread .conversation-preview {
    color: #fff;
    font-weight: 800;
}

.conversation-item:hover,
.conversation-item.active {
    border-color: rgba(53, 217, 174, 0.36);
    background: rgba(38, 194, 129, 0.12);
    color: #fff;
    transform: translateY(-1px);
}

.conversation-item.active {
    box-shadow: inset 3px 0 0 #35d9ae;
}

.conversation-time,
.conversation-meta,
.conversation-preview,
.message-time,
.message-sender {
    color: var(--sc-muted);
}

.conversation-time {
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.conversation-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: center;
    min-width: 0;
    margin-top: 0.38rem;
    color: rgba(248, 250, 252, 0.54);
    font-size: 0.72rem;
}

.conversation-item .conversation-meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-item .conversation-meta span + span::before {
    content: "•";
    margin-right: 0.35rem;
    color: rgba(248, 250, 252, 0.36);
}

.conversation-preview {
    margin: 0.22rem 0 0;
    color: rgba(248, 250, 252, 0.68);
    font-size: 0.84rem;
    line-height: 1.28;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thread-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex: 0 0 auto;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--sc-border);
}

.thread-contact-heading {
    display: flex;
    min-width: 0;
    gap: 0.75rem;
    align-items: center;
}

.thread-avatar-stack {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
}

.thread-contact-avatar {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--sc-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 800;
}

.thread-channel-icon {
    position: absolute;
    right: -0.2rem;
    bottom: -0.2rem;
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border: 2px solid rgba(8, 12, 20, 0.98);
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.95);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.thread-channel-icon.channel-whatsapp {
    background: #25d366;
}

.thread-channel-icon.channel-instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.thread-channel-icon.channel-facebookmessenger {
    background: #0084ff;
}

.thread-channel-icon.channel-email {
    background: #6c757d;
}

.thread-channel-icon.channel-telegram {
    background: #229ed9;
}

.thread-channel-icon.channel-webchat {
    background: #26c281;
}

.mobile-thread-back {
    display: none;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
}

.thread-messages {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
}

.thread-messages > .message-row:first-child {
    margin-top: auto;
}

.message-row {
    display: flex;
    max-width: 100%;
}

.message-row-inbound {
    justify-content: flex-start;
}

.message-row-outbound {
    justify-content: flex-end;
}

.message-group {
    display: flex;
    width: fit-content;
    max-width: min(78%, 720px);
    min-width: 0;
    flex-direction: column;
    gap: 0.38rem;
}

.message-row-outbound .message-group {
    align-items: flex-end;
}

.message-row-inbound .message-group {
    align-items: flex-start;
}

.message-bubble {
    width: fit-content;
    max-width: 100%;
    padding: 0.82rem 0.98rem;
    border-radius: 1.1rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.message-bubble.inbound {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top-left-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
}

.message-bubble.outbound {
    border-top-right-radius: 0.55rem;
    background: linear-gradient(135deg, #4e7cff, #35d9ae);
    color: #fff;
}

.message-bubble.actor-ai {
    border: 1px solid rgba(78, 124, 255, 0.28);
    background: rgba(78, 124, 255, 0.14);
    color: #f8fafc;
}

.message-bubble.actor-representative {
    border: 1px solid rgba(53, 217, 174, 0.3);
    background: rgba(53, 217, 174, 0.12);
}

.message-sender {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 1.65rem;
    color: var(--sc-muted);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1;
}

.message-sender > span:last-child {
    max-width: 8.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-actor-avatar {
    display: inline-grid;
    place-items: center;
    width: 1.62rem;
    height: 1.62rem;
    flex: 0 0 1.62rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.8rem;
    line-height: 1;
}

.message-sender.actor-ai {
    color: #86b7ff;
}

.message-sender.actor-ai .message-actor-avatar {
    background: rgba(78, 124, 255, 0.1);
}

.message-sender.actor-representative {
    color: #63e6a4;
}

.message-sender.actor-representative .message-actor-avatar {
    background: rgba(53, 217, 174, 0.12);
}

.message-sender.actor-visitor {
    color: rgba(248, 250, 252, 0.82);
}

.message-sender.actor-visitor .message-actor-avatar {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, rgba(78, 124, 255, 0.9), rgba(53, 217, 174, 0.86));
    color: #fff;
}

.message-body {
    white-space: pre-wrap;
}

.message-meta {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    width: 100%;
    color: var(--sc-muted);
}

.message-row-inbound .message-meta {
    justify-content: flex-start;
}

.message-row-outbound .message-meta {
    justify-content: flex-end;
}

.message-time {
    color: var(--sc-muted);
    font-size: 0.72rem;
    line-height: 1.1;
}

.sc-message-status {
    display: inline-flex;
    min-height: 1.24rem;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 0.18rem 0.48rem;
    background: rgba(255, 255, 255, 0.055);
    color: var(--sc-muted, #94a3b8);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
}

.sc-message-status__icon {
    color: currentColor;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 1;
}

.sc-message-status__label {
    color: currentColor;
    line-height: 1;
    white-space: nowrap;
}

.sc-message-status--sent,
.sc-message-status--delivered {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(148, 163, 184, 0.08);
    color: rgba(148, 163, 184, 0.82);
}

.sc-message-status--delivered .sc-message-status__icon,
.sc-message-status--read .sc-message-status__icon {
    letter-spacing: -0.12em;
}

.sc-message-status--read {
    border-color: rgba(78, 124, 255, 0.34);
    background: rgba(78, 124, 255, 0.12);
    color: #4e7cff;
}

.sc-message-status--channel-whatsapp.sc-message-status--read,
.sc-message-status--channel-webchat.sc-message-status--read {
    border-color: rgba(78, 124, 255, 0.36);
    background: rgba(78, 124, 255, 0.13);
    color: #4e7cff;
}

.sc-message-status--channel-instagram.sc-message-status--read,
.sc-message-status--channel-facebookmessenger.sc-message-status--read {
    border-color: rgba(53, 217, 174, 0.34);
    background: linear-gradient(135deg, rgba(78, 124, 255, 0.14), rgba(53, 217, 174, 0.12));
    color: #35d9ae;
}

.sc-message-status--mode-sent-only.sc-message-status--sent {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(148, 163, 184, 0.065);
}

.sc-message-status--pending {
    opacity: 0.72;
}

@media (max-width: 540px) {
    .sc-message-status--compact-mobile:not(.sc-message-status--read) {
        min-width: 1.45rem;
        gap: 0;
        border-color: transparent;
        padding-inline: 0.2rem;
        background: transparent;
        color: rgba(148, 163, 184, 0.74);
    }

    .sc-message-status--compact-mobile:not(.sc-message-status--read) .sc-message-status__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .sc-message-status--compact-mobile.sc-message-status--read {
        border-color: rgba(78, 124, 255, 0.28);
        background: rgba(78, 124, 255, 0.1);
    }
}

.thread-typing-indicator {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.4rem;
    padding: 0.5rem 1.25rem 0.75rem;
    color: var(--sc-muted);
    font-size: 0.85rem;
    font-weight: 750;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.thread-typing-avatar {
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
    line-height: 1;
}

.thread-typing-dots {
    display: inline-flex;
    gap: 3px;
}

.thread-typing-dots span {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.42;
    animation: scTypingDots 1s ease-in-out infinite;
}

.thread-typing-dots span:nth-child(2) {
    animation-delay: 0.14s;
}

.thread-typing-dots span:nth-child(3) {
    animation-delay: 0.28s;
}

@keyframes scTypingDots {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }

    40% {
        transform: translateY(-3px);
        opacity: 0.9;
    }
}

.thread-composer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
    flex: 0 0 auto;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--sc-border);
    background: rgba(8, 12, 20, 0.96);
}

.mobile-ai-inline-bar {
    display: none;
    flex: 0 0 auto;
    padding: 0.65rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 12, 20, 0.92);
}

.ai-mobile-sheet,
.ai-mobile-sheet-backdrop {
    display: none;
}

.ai-mobile-sheet[hidden],
.ai-mobile-sheet-backdrop[hidden] {
    display: none !important;
}

.profile-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.profile-avatar {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    border-radius: 1rem;
    background: rgba(38, 194, 129, 0.18);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.profile-details {
    display: grid;
    gap: 0.4rem;
    margin: 0;
}

.profile-details dt {
    color: var(--sc-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-details dd {
    margin: 0 0 0.35rem;
    word-break: break-word;
}

.empty-state {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    min-height: 260px;
    padding: 1.5rem;
}

.empty-state-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.template-copy-button {
    white-space: normal;
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1199.98px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .inbox-fixed-page .app-sidebar {
        display: none;
    }

    .app-sidebar {
        position: static;
        height: auto;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid var(--sc-border);
        overflow: visible;
    }

    .sidebar-nav {
        max-height: 60vh;
        grid-template-columns: 1fr;
    }

    .sidebar-footer {
        margin-top: 1rem;
    }

    .inbox-shell {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .inbox-profile-panel {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .app-content,
    .app-topbar {
        padding: 1rem;
    }

    .app-content-fluid {
        --bs-gutter-x: 2rem;
    }

    .inbox-page-heading,
    .inbox-filter-card {
        display: none !important;
    }

    .sidebar-nav {
        grid-template-columns: 1fr;
    }

    .page-heading,
    .dashboard-hero,
    .app-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .inbox-shell {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        margin-right: -1rem;
        margin-left: -1rem;
        overflow: hidden;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .inbox-list-panel,
    .inbox-thread-panel {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .inbox-list-panel {
        max-height: none;
        border-right: 0;
        border-bottom: 0;
    }

    .mobile-inbox-toolbar {
        position: sticky;
        top: 0;
        z-index: 3;
        display: grid;
        gap: 0.75rem;
        padding: 0.85rem 1rem 0.75rem;
        border-bottom: 1px solid var(--sc-border);
        background: rgba(8, 12, 20, 0.98);
        backdrop-filter: blur(10px);
    }

    .mobile-inbox-toolbar-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .mobile-inbox-title {
        display: block;
        overflow: hidden;
        color: #fff;
        font-size: 1.35rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-inbox-toolbar-actions {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        flex: 0 0 auto;
    }

    .mobile-inbox-sound-button {
        width: 2.35rem;
        height: 2.35rem;
        flex: 0 0 auto;
        border-radius: 999px;
        padding: 0;
    }

    .mobile-inbox-search-field {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0 0.85rem;
        border: 1px solid var(--sc-border);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.075);
    }

    .mobile-inbox-search-field .form-control {
        border: 0;
        background: transparent;
        box-shadow: none;
        color: #fff;
        min-height: 42px;
        padding-right: 0;
        padding-left: 0;
    }

    .mobile-inbox-filter-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 0.5rem;
        align-items: center;
    }

    .mobile-inbox-filter-row .form-select,
    .mobile-inbox-filter-row .btn {
        min-height: 38px;
        border-radius: 999px;
    }

    .inbox-mobile-open-list .inbox-list-panel {
        display: block;
    }

    .inbox-mobile-open-list .inbox-thread-panel {
        display: none;
    }

    .inbox-mobile-open-thread .inbox-list-panel {
        display: none;
    }

    .inbox-mobile-open-thread .inbox-thread-panel {
        display: flex;
    }

    .thread-header {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 0.75rem 1rem;
        background: rgba(8, 12, 20, 0.98);
    }

    .thread-contact-heading {
        gap: 0.6rem;
        flex: 1 1 auto;
    }

    .thread-avatar-stack,
    .thread-contact-avatar {
        width: 2.45rem;
        height: 2.45rem;
    }

    .thread-channel-icon {
        width: 1.12rem;
        height: 1.12rem;
        font-size: 0.62rem;
    }

    .mobile-thread-back {
        display: inline-flex;
    }

    .thread-status-form {
        max-width: 48%;
    }

    .thread-status-form .btn {
        display: none;
    }

    .thread-messages {
        gap: 0.85rem;
        padding: 0.9rem 0.85rem;
        -webkit-overflow-scrolling: touch;
    }

    .message-group {
        max-width: 88%;
    }

    .message-bubble {
        padding: 0.78rem 0.9rem;
        border-radius: 1rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .message-bubble.inbound {
        border-top-left-radius: 0.5rem;
    }

    .message-bubble.outbound {
        border-top-right-radius: 0.5rem;
    }

    .thread-composer {
        position: sticky;
        bottom: 0;
        z-index: 2;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.6rem;
        padding: 0.75rem;
    }

    .thread-composer textarea {
        min-height: 44px;
        max-height: 112px;
        resize: none;
    }

    .thread-composer .btn {
        width: auto;
        min-height: 44px;
        margin-top: 0;
        border-radius: 999px;
    }

    .mobile-ai-inline-bar {
        display: block;
        padding: 0.55rem 0.75rem;
    }

    .ai-mobile-sheet-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1070;
        display: block;
        background: rgba(0, 0, 0, 0.58);
        backdrop-filter: blur(2px);
    }

    .ai-mobile-sheet {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1080;
        display: flex;
        max-height: min(82dvh, 680px);
        flex-direction: column;
        padding: 0.7rem 1rem 1rem;
        border: 1px solid var(--sc-border);
        border-bottom: 0;
        border-radius: 1.35rem 1.35rem 0 0;
        background: rgba(8, 12, 20, 0.99);
        box-shadow: 0 -1rem 3rem rgba(0, 0, 0, 0.34);
    }

    .ai-mobile-sheet-handle {
        width: 44px;
        height: 4px;
        flex: 0 0 auto;
        margin: 0 auto 0.75rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
    }

    .ai-mobile-sheet-header {
        display: flex;
        flex: 0 0 auto;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--sc-border);
    }

    .ai-mobile-sheet-actions {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }

    .ai-mobile-sheet-body {
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 0.25rem;
    }

    .ai-mobile-sheet-body textarea {
        min-height: 180px;
    }

    body.ai-mobile-sheet-open {
        overflow: hidden;
    }

    .conversation-item {
        grid-template-columns: 2.55rem minmax(0, 1fr) auto;
        margin: 0.4rem 0.65rem;
        padding: 0.68rem 0.72rem;
        border-radius: 0.95rem;
    }

    .conversation-avatar-stack,
    .conversation-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .channel-actions {
        display: grid;
    }
}


.setup-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--sc-border);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(38, 194, 129, 0.16), transparent 38%),
        rgba(255, 255, 255, 0.055);
    box-shadow: var(--sc-shadow);
}

.setup-hero h2 {
    margin: 0;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.setup-hero p {
    margin: 0.35rem 0 0;
    color: var(--sc-muted);
}

.setup-score {
    min-width: 132px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(38, 194, 129, 0.28);
    border-radius: 1.2rem;
    background: rgba(38, 194, 129, 0.1);
    text-align: center;
}

.setup-score strong,
.setup-score span {
    display: block;
}

.setup-score strong {
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.setup-score span {
    margin-top: 0.35rem;
    color: var(--sc-muted);
    font-size: 0.8rem;
}

.setup-progress {
    height: 0.7rem;
    overflow: hidden;
    border: 1px solid var(--sc-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.setup-progress > div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sc-green), var(--sc-blue));
    box-shadow: 0 0 1.4rem rgba(38, 194, 129, 0.32);
}

.setup-step-card {
    height: 100%;
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--sc-border);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.045);
}

.setup-step-card.completed {
    border-color: rgba(38, 194, 129, 0.32);
    background: rgba(38, 194, 129, 0.075);
}

.setup-step-number {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    color: #fff;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
}

.setup-step-card.completed .setup-step-number {
    background: rgba(38, 194, 129, 0.32);
}

.setup-step-card small {
    display: block;
    margin-top: 0.35rem;
    color: var(--sc-muted);
}

.setup-action-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--sc-border);
}

.setup-action-list:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.setup-action-list span,
.setup-metrics span {
    display: block;
    color: var(--sc-muted);
    font-size: 0.86rem;
}

.setup-metrics {
    display: grid;
    gap: 0.9rem;
}

.setup-metrics > div {
    padding: 1rem;
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.045);
}

.setup-metrics strong {
    display: block;
    margin: 0.2rem 0;
    color: #fff;
    font-size: 1.55rem;
}

.setup-metrics a {
    color: var(--sc-green);
    font-size: 0.86rem;
    font-weight: 700;
}

.setup-checklist {
    display: grid;
    gap: 0.65rem;
    padding-left: 1.2rem;
    color: var(--sc-muted);
}

.setup-checklist li.done {
    color: #fff;
}

.setup-code {
    display: block;
    padding: 0.85rem;
    border-radius: 0.85rem;
    color: #d9fff0;
    background: rgba(0, 0, 0, 0.34);
    white-space: normal;
}

@media (max-width: 767.98px) {
    .setup-hero,
    .setup-action-list {
        display: block;
    }

    .setup-score,
    .setup-action-list form {
        margin-top: 1rem;
    }
}


/* Marketing launch pages */
.marketing-body {
    min-height: 100vh;
    overflow-x: clip;
    background:
        radial-gradient(circle at 15% 10%, rgba(30, 160, 118, 0.18), transparent 28%),
        radial-gradient(circle at 85% 0%, rgba(13, 110, 253, 0.12), transparent 26%),
        linear-gradient(180deg, #010403 0%, #05100d 46%, #020403 100%);
    color: #f8f9fa;
}

@supports not (overflow: clip) {
    .marketing-body {
        overflow-x: hidden;
    }
}

.marketing-nav {
    --marketing-nav-bleed: 1rem;
    width: calc(100% - 2rem);
    max-width: none;
    margin: 0 auto;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.marketing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.marketing-nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.marketing-nav-links a:not(.btn) {
    color: rgba(248, 249, 250, 0.72);
    text-decoration: none;
}

.marketing-nav-links a:not(.btn):hover {
    color: #fff;
}

.hero-section {
    width: calc(100% - 2rem);
    max-width: none;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin-bottom: 1.35rem;
    overflow: visible;
}

.hero-content p {
    max-width: 720px;
    color: rgba(248, 249, 250, 0.72);
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-kicker {
    color: #4ce0a6;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
}

.hero-actions,
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-proof span {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(248, 249, 250, 0.78);
    font-size: 0.88rem;
}

.hero-card,
.pricing-card,
.feature-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.5rem;
    background: rgba(7, 14, 12, 0.78);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
}

.hero-card {
    padding: 1.25rem;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(248, 249, 250, 0.76);
    margin-bottom: 1rem;
}

.status-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: #4ce0a6;
    box-shadow: 0 0 0 0.35rem rgba(76, 224, 166, 0.12);
}

.mock-conversation,
.mock-ai {
    padding: 1rem;
    border-radius: 1.1rem;
    margin-bottom: 0.9rem;
}

.mock-conversation {
    background: rgba(255, 255, 255, 0.07);
}

.mock-ai {
    background: rgba(76, 224, 166, 0.11);
    border: 1px solid rgba(76, 224, 166, 0.2);
}

.mock-conversation p,
.mock-ai p {
    margin: 0.35rem 0 0;
    color: rgba(248, 249, 250, 0.76);
}

.mock-actions {
    display: flex;
    gap: 0.5rem;
}

.marketing-section,
.marketing-page {
    width: calc(100% - 2rem);
    max-width: none;
    margin: 5rem auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.section-heading h1,
.section-heading h2 {
    font-weight: 900;
    letter-spacing: -0.04em;
}

.feature-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card,
.pricing-card {
    padding: 1.35rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: rgba(248, 249, 250, 0.68);
    margin: 0;
}

.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.industry-list span {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.cta-section,
.thanks-page {
    width: calc(100% - 2rem);
    max-width: none;
    margin: 5rem auto;
    text-align: center;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(76, 224, 166, 0.16), rgba(13, 110, 253, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card.featured {
    border-color: rgba(76, 224, 166, 0.45);
    background: rgba(9, 27, 21, 0.88);
}

.pricing-name {
    color: #4ce0a6;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 1rem 0;
}

.pricing-price span {
    color: rgba(248, 249, 250, 0.58);
    font-size: 1rem;
    font-weight: 500;
}

.pricing-card ul {
    padding-left: 1.1rem;
    color: rgba(248, 249, 250, 0.72);
    min-height: 160px;
}

.demo-page {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 3rem auto;
    padding-inline: var(--sc-marketing-page-x);
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 2rem;
    align-items: start;
}

.demo-copy h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.demo-copy p {
    color: rgba(248, 249, 250, 0.72);
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .hero-section,
    .demo-page {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .marketing-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .marketing-nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }
}


.sales-details {
    display: grid;
    gap: 0.35rem;
}

.sales-details dt {
    color: rgba(248, 249, 250, 0.62);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sales-details dd {
    margin-bottom: 0.75rem;
    word-break: break-word;
}

.sales-activity {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
}


.feedback-item,
.feedback-comment {
    display: block;
    padding: 1rem;
    color: #f8f9fa;
    text-decoration: none;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.feedback-item:hover {
    color: #fff;
    background: rgba(13, 110, 253, 0.16);
}

.feedback-description {
    white-space: pre-wrap;
}

.analytics-list {
    display: grid;
    gap: 0.65rem;
}

.analytics-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
}

.analytics-row span {
    color: rgba(248, 249, 250, 0.78);
}

.metric-card {
    padding: 1.1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card span {
    display: block;
    color: rgba(248, 249, 250, 0.66);
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.metric-card strong {
    display: block;
    color: #fff;
    font-size: 1.45rem;
}


.quality-item,
.suggestion-item {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.quality-draft-text {
    max-height: 9rem;
    overflow: auto;
    white-space: pre-wrap;
    color: rgba(248, 249, 250, 0.78);
}

.quality-review-panel {
    width: min(100%, 320px);
}

@media (max-width: 991.98px) {
    .quality-review-panel {
        width: 100%;
    }
}


.automation-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
}


.connector-card {
    display: flex;
    flex-direction: column;
}

.connector-form {
    margin-top: 0.25rem;
}

.connector-details {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem 1rem;
}

.connector-details summary {
    cursor: pointer;
    color: #fff;
    font-weight: 700;
}

.form-text {
    color: var(--sc-muted) !important;
}


.language-switcher {
    min-width: 120px;
}

.language-switcher .form-select {
    color: var(--sc-text);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--sc-border);
}


.marketing-nav .language-switcher {
    min-width: 132px;
}

.marketing-nav .language-switcher .form-select {
    min-height: 2rem;
}

.marketing-brand .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 0.8rem;
}

@media (max-width: 991.98px) {
    .marketing-nav-links {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .marketing-nav .language-switcher {
        width: 100%;
        max-width: 180px;
    }
}

.package-total-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.package-wizard-card .form-text {
    line-height: 1.45;
}

/* Pass 83: Light theme contrast normalization
   Some screens were originally designed only for dark mode and used Bootstrap
   classes such as bg-dark, bg-black and text-light directly. In light theme we
   keep the same structure but remap those utility surfaces to readable light
   surfaces so white text does not disappear. */
html[data-theme="dark-disabled-light"] {
    --sc-light-soft-surface: rgba(255, 255, 255, 0.82);
    --sc-light-soft-surface-strong: rgba(255, 255, 255, 0.96);
    --sc-light-subtle-surface: rgba(15, 23, 42, 0.045);
    --sc-light-hover-surface: rgba(15, 23, 42, 0.075);
    --sc-light-border: rgba(15, 23, 42, 0.12);
}

html[data-theme="dark-disabled-light"] .app-topbar {
    background: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark-disabled-light"] .bg-dark,
html[data-theme="dark-disabled-light"] .bg-black,
html[data-theme="dark-disabled-light"] .bg-dark-subtle,
html[data-theme="dark-disabled-light"] .card.bg-dark,
html[data-theme="dark-disabled-light"] .card.bg-black,
html[data-theme="dark-disabled-light"] .card.bg-dark-subtle,
html[data-theme="dark-disabled-light"] form.card.bg-dark,
html[data-theme="dark-disabled-light"] form.card.bg-black {
    color: var(--sc-text) !important;
    background-color: var(--sc-light-soft-surface) !important;
}

html[data-theme="dark-disabled-light"] .card.text-light,
html[data-theme="dark-disabled-light"] .surface-card.text-light,
html[data-theme="dark-disabled-light"] form.text-light,
html[data-theme="dark-disabled-light"] .list-group-item.text-light,
html[data-theme="dark-disabled-light"] .bg-transparent.text-light,
html[data-theme="dark-disabled-light"] .text-light:not(.btn):not(.badge):not([class*="text-bg-"]),
html[data-theme="dark-disabled-light"] .text-white:not(.btn):not(.badge):not([class*="text-bg-"]) {
    color: var(--sc-text) !important;
}

html[data-theme="dark-disabled-light"] .border-secondary,
html[data-theme="dark-disabled-light"] .list-group-item.border-secondary {
    border-color: var(--sc-light-border) !important;
}

html[data-theme="dark-disabled-light"] .sidebar-link-icon,
html[data-theme="dark-disabled-light"] .setup-step-number {
    color: var(--sc-text);
    background: var(--sc-light-subtle-surface);
}

html[data-theme="dark-disabled-light"] .sidebar-section {
    color: rgba(15, 23, 42, 0.48);
}

html[data-theme="dark-disabled-light"] .sidebar-group-toggle {
    color: rgba(15, 23, 42, 0.72);
    background: rgba(15, 23, 42, 0.035);
}

html[data-theme="dark-disabled-light"] .sidebar-group-toggle:hover {
    color: var(--sc-text);
    background: var(--sc-light-hover-surface);
}

html[data-theme="dark-disabled-light"] .sidebar-group-panel {
    border-left-color: var(--sc-light-border);
}

html[data-theme="dark-disabled-light"] .sidebar-search {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}

html[data-theme="dark-disabled-light"] .sidebar-filter-input::placeholder {
    color: rgba(15, 23, 42, 0.44);
}

html[data-theme="dark-disabled-light"] .sidebar-nav {
    scrollbar-color: rgba(15, 23, 42, 0.22) transparent;
}

html[data-theme="dark-disabled-light"] .sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.18);
}

html[data-theme="dark-disabled-light"] .user-pill,
html[data-theme="dark-disabled-light"] .metric-card,
html[data-theme="dark-disabled-light"] .metric-card.compact,
html[data-theme="dark-disabled-light"] .quick-actions a,
html[data-theme="dark-disabled-light"] .activity-item,
html[data-theme="dark-disabled-light"] .report-row,
html[data-theme="dark-disabled-light"] .kb-item,
html[data-theme="dark-disabled-light"] .template-item,
html[data-theme="dark-disabled-light"] .ai-draft-box,
html[data-theme="dark-disabled-light"] .profile-card,
html[data-theme="dark-disabled-light"] .sales-activity,
html[data-theme="dark-disabled-light"] .feedback-item,
html[data-theme="dark-disabled-light"] .feedback-comment,
html[data-theme="dark-disabled-light"] .analytics-row,
html[data-theme="dark-disabled-light"] .quality-item,
html[data-theme="dark-disabled-light"] .suggestion-item,
html[data-theme="dark-disabled-light"] .automation-card,
html[data-theme="dark-disabled-light"] .connector-details,
html[data-theme="dark-disabled-light"] .setup-step-card,
html[data-theme="dark-disabled-light"] .setup-metrics > div {
    color: var(--sc-text);
    background: var(--sc-light-subtle-surface);
    border-color: var(--sc-light-border);
}

html[data-theme="dark-disabled-light"] .quick-actions a,
html[data-theme="dark-disabled-light"] .feedback-item,
html[data-theme="dark-disabled-light"] .conversation-item,
html[data-theme="dark-disabled-light"] .connector-details summary {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .quick-actions a:hover,
html[data-theme="dark-disabled-light"] .feedback-item:hover,
html[data-theme="dark-disabled-light"] .conversation-item:hover,
html[data-theme="dark-disabled-light"] .conversation-item.active {
    color: var(--sc-text);
    background: rgba(38, 194, 129, 0.12);
}

html[data-theme="dark-disabled-light"] .dashboard-hero,
html[data-theme="dark-disabled-light"] .setup-hero,
html[data-theme="dark-disabled-light"] .inbox-shell,
html[data-theme="dark-disabled-light"] .inbox-list-panel,
html[data-theme="dark-disabled-light"] .inbox-profile-panel {
    color: var(--sc-text);
    background: var(--sc-light-soft-surface);
    border-color: var(--sc-light-border);
}

html[data-theme="dark-disabled-light"] .conversation-item {
    border-bottom-color: var(--sc-light-border);
}

html[data-theme="dark-disabled-light"] .message-bubble.inbound {
    background: rgba(15, 23, 42, 0.06);
}

html[data-theme="dark-disabled-light"] .message-bubble.outbound {
    background: rgba(38, 194, 129, 0.16);
}

html[data-theme="dark-disabled-light"] .thread-typing-indicator {
    border-top-color: var(--sc-light-border);
}

html[data-theme="dark-disabled-light"] .thread-typing-indicator::after {
    background: radial-gradient(circle closest-side, rgba(15, 23, 42, 0.54) 90%, transparent) 0 50% / 8px 8px repeat-x;
}

html[data-theme="dark-disabled-light"] .metric-card strong,
html[data-theme="dark-disabled-light"] .setup-score strong,
html[data-theme="dark-disabled-light"] .setup-metrics strong,
html[data-theme="dark-disabled-light"] .setup-checklist li.done,
html[data-theme="dark-disabled-light"] .analytics-row span,
html[data-theme="dark-disabled-light"] .quality-draft-text {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .limit-pill,
html[data-theme="dark-disabled-light"] .profile-avatar {
    color: #0f172a;
    background: rgba(38, 194, 129, 0.16);
    border-color: rgba(38, 194, 129, 0.28);
}

html[data-theme="dark-disabled-light"] .setup-code {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
}

html[data-theme="dark-disabled-light"] .form-control:focus,
html[data-theme="dark-disabled-light"] .form-select:focus {
    color: var(--sc-text);
    background-color: var(--sc-light-soft-surface-strong);
}


/* Pass 84: Marketing homepage theme toggle and light-mode support */
.marketing-theme-toggle {
    min-width: 4.75rem;
    white-space: nowrap;
}

html[data-theme="dark-disabled-light"] body.marketing-body {
    background:
        radial-gradient(circle at 15% 10%, rgba(30, 160, 118, 0.13), transparent 28%),
        radial-gradient(circle at 85% 0%, rgba(13, 110, 253, 0.10), transparent 26%),
        linear-gradient(180deg, #f6f8fb 0%, #eef3f8 48%, #ffffff 100%);
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .marketing-brand,
html[data-theme="dark-disabled-light"] .marketing-brand:hover,
html[data-theme="dark-disabled-light"] .hero-content h1,
html[data-theme="dark-disabled-light"] .section-heading h1,
html[data-theme="dark-disabled-light"] .section-heading h2,
html[data-theme="dark-disabled-light"] .cta-section h2,
html[data-theme="dark-disabled-light"] .demo-copy h1,
html[data-theme="dark-disabled-light"] .pricing-name,
html[data-theme="dark-disabled-light"] .pricing-price,
html[data-theme="dark-disabled-light"] .feature-card h2,
html[data-theme="dark-disabled-light"] .feature-card h3 {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .marketing-nav-links a:not(.btn) {
    color: var(--sc-muted);
}

html[data-theme="dark-disabled-light"] .marketing-nav-links a:not(.btn):hover {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .hero-content p,
html[data-theme="dark-disabled-light"] .section-heading p,
html[data-theme="dark-disabled-light"] .cta-section p,
html[data-theme="dark-disabled-light"] .demo-copy p,
html[data-theme="dark-disabled-light"] .feature-card p,
html[data-theme="dark-disabled-light"] .pricing-card li,
html[data-theme="dark-disabled-light"] .pricing-price span,
html[data-theme="dark-disabled-light"] .mock-conversation p,
html[data-theme="dark-disabled-light"] .mock-ai p {
    color: var(--sc-muted);
}

html[data-theme="dark-disabled-light"] .hero-card,
html[data-theme="dark-disabled-light"] .feature-card,
html[data-theme="dark-disabled-light"] .pricing-card,
html[data-theme="dark-disabled-light"] .cta-section,
html[data-theme="dark-disabled-light"] .thanks-page,
html[data-theme="dark-disabled-light"] .demo-page .card,
html[data-theme="dark-disabled-light"] .mock-ai,
html[data-theme="dark-disabled-light"] .mock-conversation,
html[data-theme="dark-disabled-light"] .industry-list span,
html[data-theme="dark-disabled-light"] .hero-proof span {
    color: var(--sc-text);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: var(--sc-shadow);
}

html[data-theme="dark-disabled-light"] .pricing-card.featured {
    background:
        linear-gradient(180deg, rgba(38, 194, 129, 0.16), rgba(255, 255, 255, 0.9));
    border-color: rgba(38, 194, 129, 0.34);
}

html[data-theme="dark-disabled-light"] .hero-card-header,
html[data-theme="dark-disabled-light"] .hero-kicker,
html[data-theme="dark-disabled-light"] .pricing-name {
    color: #168a5a;
}

html[data-theme="dark-disabled-light"] .marketing-nav .language-switcher .form-select {
    color: var(--sc-text);
    background-color: rgba(255, 255, 255, 0.88);
    border-color: rgba(15, 23, 42, 0.16);
}

html[data-theme="dark-disabled-light"] .marketing-body .card.bg-dark,
html[data-theme="dark-disabled-light"] .marketing-body .bg-dark {
    color: var(--sc-text) !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="dark-disabled-light"] .marketing-body .text-light {
    color: var(--sc-text) !important;
}

@media (max-width: 991.98px) {
    .marketing-theme-toggle {
        min-width: 4.25rem;
    }
}


.ai-credit-meter {
    margin-top: .75rem;
    padding: .85rem;
    border: 1px solid var(--border-soft);
    border-radius: .9rem;
    background: rgba(255, 255, 255, .03);
    color: var(--text-secondary);
    font-size: .9rem;
}

.ai-credit-meter strong {
    color: var(--text-primary);
}

.ai-credit-meter small {
    display: block;
    margin-top: .45rem;
    color: var(--text-muted);
}

.ai-credit-meter.is-warning {
    border-color: rgba(255, 193, 7, .55);
    background: rgba(255, 193, 7, .08);
}

.ai-credit-meter.is-exhausted {
    border-color: rgba(220, 53, 69, .65);
    background: rgba(220, 53, 69, .10);
}

.ai-credit-meter.is-exhausted small {
    color: #ffb3bd;
}

.feature-choice-card {
    display: flex;
    gap: .75rem;
    padding: .9rem;
    border: 1px solid var(--border-soft);
    border-radius: 1rem;
    background: var(--surface-muted);
    cursor: pointer;
}

.feature-choice-card .form-check-input {
    margin-top: .2rem;
    flex: 0 0 auto;
}

.feature-choice-body {
    display: flex;
    flex-direction: column;
    gap: .22rem;
}

.feature-choice-body small {
    color: var(--text-muted);
    line-height: 1.35;
}

.feature-choice-body em {
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 700;
}

.advanced-report-unlocks {
    list-style: none;
    display: grid;
    gap: .22rem;
    margin: .35rem 0 0;
    padding: 0;
}

.advanced-report-unlocks li {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.3;
}

.advanced-report-unlocks li::before {
    content: "✓";
    color: var(--brand);
    font-weight: 900;
}

.pricing-feature-card .advanced-report-unlocks li {
    color: rgba(248, 249, 250, .72);
}

.pricing-feature-card .advanced-report-unlocks li::before {
    color: #4ce0a6;
}

.selected-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

/* Pass 87: Homepage platform/product showcase and larger marketing header */
.marketing-nav {
    padding: 1.05rem var(--sc-marketing-page-x);
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}

.marketing-brand-large {
    gap: .9rem;
    font-size: clamp(1.75rem, 2.5vw, 2.55rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.marketing-brand-large .brand-logo,
.marketing-brand .brand-logo {
    width: clamp(54px, 4.6vw, 74px);
    height: clamp(54px, 4.6vw, 74px);
    border-radius: 1.15rem;
}

.marketing-nav-links {
    gap: clamp(.7rem, 1.6vw, 1.5rem);
}

.marketing-nav-links a:not(.btn) {
    font-weight: 700;
}

.hero-section.hero-section-wide {
    width: min(100% - 2rem, 1480px);
    margin-top: clamp(2rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr);
    gap: clamp(2rem, 5vw, 5rem);
}

.gradient-text {
    display: inline-block;
    width: fit-content;
    padding-bottom: .14em;
    margin-bottom: -.02em;
    line-height: 1.1;
    overflow: visible;
    background: linear-gradient(95deg, #4e7cff, #35d9ae 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-proof-cards span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 3rem;
    padding: .65rem .9rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .055);
}

.ai-mode-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 2.6vw, 2rem);
    border: 1px solid rgba(91, 141, 255, .28);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 15% 0%, rgba(78, 124, 255, .22), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(53, 217, 174, .13), transparent 34%),
        rgba(7, 14, 18, .78);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, .32);
}

.ai-mode-card h2 {
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 900;
    letter-spacing: -.03em;
    margin: 0 0 .55rem;
}

.ai-mode-intro {
    color: rgba(248, 249, 250, .72);
    margin-bottom: 1.2rem;
}

.ai-mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ai-mode-box {
    padding: 1.15rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .045);
}

.ai-mode-icon {
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
    margin-bottom: .85rem;
    border-radius: 1rem;
    font-size: 1.35rem;
    background: rgba(76, 224, 166, .13);
    border: 1px solid rgba(76, 224, 166, .32);
}

.ai-mode-box.full .ai-mode-icon {
    background: rgba(78, 124, 255, .14);
    border-color: rgba(78, 124, 255, .34);
}

.ai-mode-box h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #4ce0a6;
}

.ai-mode-box.full h3 {
    color: #6f8cff;
}

.ai-mode-box p,
.ai-mode-box li {
    color: rgba(248, 249, 250, .72);
}

.ai-mode-box ul {
    margin: .9rem 0 0;
    padding-left: 1.15rem;
}

.platform-showcase {
    width: min(100% - 2rem, 1480px);
    display: grid;
    grid-template-columns: minmax(260px, .28fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .22);
}

.platform-showcase-copy {
    padding: 1.1rem 1rem;
}

.platform-showcase-copy h2 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 900;
    letter-spacing: -.03em;
}

.platform-showcase-copy p {
    color: rgba(248, 249, 250, .68);
    margin: 0;
}

.platform-logo-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(90px, 1fr));
    gap: .75rem;
}

.platform-logo-item {
    min-height: 7.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .75rem .55rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .095);
    border-radius: 1.1rem;
    background: rgba(2, 6, 8, .42);
}

.platform-logo-tile {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: .95rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: -.02em;
    box-shadow: 0 .8rem 1.8rem rgba(0, 0, 0, .24);
}

.platform-logo-svg {
    width: 2rem;
    height: 2rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 .35rem .75rem rgba(0, 0, 0, .22));
}

.platform-logo-fallback {
    width: 100%;
    height: 100%;
    place-items: center;
}

.platform-logo-fallback:not([hidden]) {
    display: grid;
}

.platform-logo-item strong {
    font-size: .86rem;
    line-height: 1.1;
}

.platform-logo-item small {
    color: rgba(248, 249, 250, .58);
    font-size: .72rem;
    line-height: 1.25;
}

.platform-logo-tile.webchat { background: linear-gradient(135deg, #152421, #35d9ae); }
.platform-logo-tile.whatsapp { background: linear-gradient(135deg, #16a34a, #4ade80); }
.platform-logo-tile.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4); }
.platform-logo-tile.messenger { background: linear-gradient(135deg, #006aff, #a033ff, #ff5280); }
.platform-logo-tile.telegram { background: linear-gradient(135deg, #229ed9, #48c6ef); }
.platform-logo-tile.google { background: #fff; }
.platform-logo-tile.booking { background: linear-gradient(135deg, #003580, #006ce4); }
.platform-logo-tile.expedia { background: linear-gradient(135deg, #facc15, #eab308); color: #111827; }
.platform-logo-tile.tripadvisor { background: linear-gradient(135deg, #00af87, #34d399); color: #06221b; }
.platform-logo-tile.holidaycheck { background: linear-gradient(135deg, #1247a6, #377dff); }
.platform-logo-tile.zoover { background: linear-gradient(135deg, #f97316, #fb923c); }
.platform-logo-tile.trustyou { background: linear-gradient(135deg, #f8fafc, #dbeafe); color: #0f172a; }
.platform-logo-tile.tophotels { background: linear-gradient(135deg, #be123c, #f43f5e); }
.platform-logo-tile.email { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.platform-logo-tile.trustpilot { background: linear-gradient(135deg, #00b67a, #22c55e); }
.platform-logo-tile.more { background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.18)); }

.product-range-section {
    width: min(100% - 2rem, 1480px);
}

.section-heading-center {
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.module-card {
    min-height: 12.2rem;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .18);
}

.module-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 1rem;
    color: #4ce0a6;
    background: rgba(76, 224, 166, .11);
    border: 1px solid rgba(76, 224, 166, .2);
    font-weight: 900;
}

.module-card h3 {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.module-card p {
    color: rgba(248, 249, 250, .66);
    margin: 0;
    font-size: .92rem;
}

.stats-strip {
    width: min(100% - 2rem, 1360px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .045);
}

.stat-item {
    padding: 1.25rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    line-height: 1.1;
}

.stat-item span {
    color: rgba(248, 249, 250, .62);
}

html[data-theme="dark-disabled-light"] .marketing-nav {
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0));
}

html[data-theme="dark-disabled-light"] .ai-mode-card,
html[data-theme="dark-disabled-light"] .platform-showcase,
html[data-theme="dark-disabled-light"] .platform-logo-item,
html[data-theme="dark-disabled-light"] .module-card,
html[data-theme="dark-disabled-light"] .stats-strip {
    color: var(--sc-text);
    background: rgba(255, 255, 255, .82);
    border-color: rgba(15, 23, 42, .12);
    box-shadow: var(--sc-shadow);
}

html[data-theme="dark-disabled-light"] .ai-mode-card h2,
html[data-theme="dark-disabled-light"] .platform-showcase-copy h2,
html[data-theme="dark-disabled-light"] .module-card h3,
html[data-theme="dark-disabled-light"] .stat-item strong {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .ai-mode-intro,
html[data-theme="dark-disabled-light"] .ai-mode-box p,
html[data-theme="dark-disabled-light"] .ai-mode-box li,
html[data-theme="dark-disabled-light"] .platform-showcase-copy p,
html[data-theme="dark-disabled-light"] .platform-logo-item small,
html[data-theme="dark-disabled-light"] .module-card p,
html[data-theme="dark-disabled-light"] .stat-item span {
    color: var(--sc-muted);
}

html[data-theme="dark-disabled-light"] .ai-mode-box,
html[data-theme="dark-disabled-light"] .hero-proof-cards span {
    color: var(--sc-text);
    background: rgba(15, 23, 42, .045);
    border-color: rgba(15, 23, 42, .12);
}

html[data-theme="dark-disabled-light"] .stat-item {
    border-right-color: rgba(15, 23, 42, .1);
}

@media (max-width: 1199.98px) {
    .platform-showcase {
        grid-template-columns: 1fr;
    }

    .platform-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-section.hero-section-wide,
    .ai-mode-grid {
        grid-template-columns: 1fr;
    }

    .marketing-brand-large .brand-logo,
    .marketing-brand .brand-logo {
        width: 48px;
        height: 48px;
    }

    .marketing-brand-large {
        font-size: 1.65rem;
    }

    .platform-logo-grid,
    .module-grid,
    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
}

@media (max-width: 575.98px) {
    .platform-logo-grid,
    .module-grid,
    .stats-strip {
        grid-template-columns: 1fr;
    }
}



.marketing-footer {
    width: calc(100% - 2rem);
    max-width: none;
    margin: 2rem auto 0;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(248, 249, 250, .72);
}

.marketing-footer-brand {
    display: grid;
    gap: .75rem;
    max-width: 520px;
}

.marketing-footer-brand p {
    margin: 0;
    line-height: 1.7;
}

.marketing-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.marketing-footer-links section {
    display: grid;
    gap: .55rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .04);
}

.marketing-footer-links h2 {
    margin: 0 0 .25rem;
    color: #fff;
    font-size: .95rem;
    font-weight: 900;
}

.marketing-footer a {
    color: rgba(248, 249, 250, .76);
    text-decoration: none;
}

.marketing-footer a:hover {
    color: #4ce0a6;
}

.marketing-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .9rem;
}

html[data-theme="dark-disabled-light"] .marketing-footer {
    color: var(--sc-muted);
    border-top-color: rgba(15, 23, 42, .12);
}

html[data-theme="dark-disabled-light"] .marketing-footer-links section {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(15, 23, 42, .1);
}

html[data-theme="dark-disabled-light"] .marketing-footer-links h2,
html[data-theme="dark-disabled-light"] .marketing-footer a {
    color: var(--sc-text);
}

@media (max-width: 767.98px) {
    .marketing-footer-links {
        grid-template-columns: 1fr;
    }
}

/* Pass 88: Functional public pricing calculator */
.pricing-wizard-page {
    margin-top: 3.25rem;
}

.pricing-wizard-heading {
    max-width: 900px;
}

.pricing-calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 1.25rem;
    align-items: start;
}

.pricing-calculator-main {
    display: grid;
    gap: 1rem;
}

.pricing-calculator-card {
    padding: clamp(1.1rem, 2vw, 1.6rem);
}

.platform-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.platform-choice-card,
.pricing-feature-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
    padding: .85rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.platform-choice-card:hover,
.pricing-feature-card:hover {
    transform: translateY(-1px);
    border-color: rgba(76, 224, 166, 0.34);
    background: rgba(76, 224, 166, 0.075);
}

.platform-choice-card .form-check-input,
.pricing-feature-card .form-check-input {
    margin: 0;
    flex: 0 0 auto;
}

.platform-choice-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(13, 110, 253, .42), rgba(76, 224, 166, .22));
    box-shadow: 0 .75rem 1.75rem rgba(13, 110, 253, .15);
}

.platform-choice-name {
    font-weight: 800;
    color: rgba(248, 249, 250, .9);
}

.platform-choice-card.professional-platform-card,
.active-platform-card.professional-platform-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    min-height: 186px;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .08), transparent 36%),
        rgba(255, 255, 255, .045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.platform-choice-card.professional-platform-card::before,
.active-platform-card.professional-platform-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .38;
    background: linear-gradient(145deg, var(--platform-accent-soft, rgba(76, 224, 166, .18)), transparent 42%);
}

.platform-choice-card.professional-platform-card:hover,
.active-platform-card.professional-platform-card:hover {
    transform: translateY(-2px);
    border-color: var(--platform-accent-border, rgba(76, 224, 166, .36));
    background:
        radial-gradient(circle at 18% 0%, var(--platform-accent-soft, rgba(76, 224, 166, .16)), transparent 38%),
        rgba(255, 255, 255, .06);
    box-shadow: 0 1rem 2.3rem rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.platform-choice-card.professional-platform-card.is-selected {
    border-color: var(--platform-accent-border, rgba(76, 224, 166, .58));
    background:
        radial-gradient(circle at 18% 0%, var(--platform-accent-soft, rgba(76, 224, 166, .22)), transparent 42%),
        linear-gradient(135deg, rgba(76, 224, 166, .09), rgba(255, 255, 255, .055));
    box-shadow: 0 1rem 2.5rem var(--platform-shadow, rgba(76, 224, 166, .12)), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.platform-choice-card.professional-platform-card .form-check-input {
    position: absolute;
    top: .95rem;
    right: .95rem;
    z-index: 2;
    width: 1.05rem;
    height: 1.05rem;
    opacity: .01;
}

.professional-platform-top,
.professional-platform-body,
.professional-platform-footer {
    position: relative;
    z-index: 1;
}

.professional-platform-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.professional-platform-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 1rem;
    color: #fff;
    background: var(--platform-accent, linear-gradient(135deg, #0d6efd, #4ce0a6));
    box-shadow: 0 .95rem 2rem var(--platform-shadow, rgba(13, 110, 253, .18));
    font-size: .95rem;
    font-weight: 950;
    letter-spacing: -.02em;
}

.professional-platform-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: .32rem .58rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: rgba(248, 250, 252, .7);
    background: rgba(255, 255, 255, .065);
    font-size: .76rem;
    font-weight: 900;
    white-space: nowrap;
}

.professional-platform-card.is-selected .professional-platform-status,
.professional-platform-status.included {
    color: #05271b;
    border-color: rgba(76, 224, 166, .6);
    background: linear-gradient(135deg, #9af7d4, #4ce0a6);
}

.professional-platform-status.extra {
    color: #3a2500;
    border-color: rgba(255, 193, 7, .42);
    background: linear-gradient(135deg, #ffe8a3, #ffc107);
}

.professional-platform-body {
    display: flex;
    flex-direction: column;
    gap: .32rem;
    min-width: 0;
}

.professional-platform-body strong {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 950;
    letter-spacing: -.015em;
}

.professional-platform-body small {
    color: rgba(248, 250, 252, .64);
    line-height: 1.42;
}

.professional-platform-footer {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: auto;
}

.professional-platform-footer span {
    display: inline-flex;
    align-items: center;
    padding: .25rem .52rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    color: rgba(248, 250, 252, .72);
    background: rgba(255, 255, 255, .055);
    font-size: .73rem;
    font-weight: 800;
    line-height: 1.2;
}

.platform-tone-whatsapp {
    --platform-accent: linear-gradient(135deg, #25d366, #128c7e);
    --platform-accent-soft: rgba(37, 211, 102, .2);
    --platform-accent-border: rgba(37, 211, 102, .5);
    --platform-shadow: rgba(37, 211, 102, .18);
}

.platform-tone-instagram {
    --platform-accent: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4);
    --platform-accent-soft: rgba(221, 42, 123, .2);
    --platform-accent-border: rgba(221, 42, 123, .48);
    --platform-shadow: rgba(221, 42, 123, .18);
}

.platform-tone-messenger {
    --platform-accent: linear-gradient(135deg, #00b2ff, #006aff);
    --platform-accent-soft: rgba(0, 178, 255, .19);
    --platform-accent-border: rgba(0, 178, 255, .48);
    --platform-shadow: rgba(0, 106, 255, .18);
}

.platform-tone-telegram {
    --platform-accent: linear-gradient(135deg, #2aabee, #229ed9);
    --platform-accent-soft: rgba(42, 171, 238, .18);
    --platform-accent-border: rgba(42, 171, 238, .48);
    --platform-shadow: rgba(42, 171, 238, .16);
}

.platform-tone-booking {
    --platform-accent: linear-gradient(135deg, #003580, #0071c2);
    --platform-accent-soft: rgba(0, 113, 194, .18);
    --platform-accent-border: rgba(0, 113, 194, .48);
    --platform-shadow: rgba(0, 113, 194, .16);
}

.platform-tone-expedia {
    --platform-accent: linear-gradient(135deg, #ffcc00, #133a76);
    --platform-accent-soft: rgba(255, 204, 0, .18);
    --platform-accent-border: rgba(255, 204, 0, .44);
    --platform-shadow: rgba(255, 204, 0, .14);
}

.platform-tone-tripadvisor {
    --platform-accent: linear-gradient(135deg, #34e0a1, #00aa6c);
    --platform-accent-soft: rgba(52, 224, 161, .18);
    --platform-accent-border: rgba(52, 224, 161, .48);
    --platform-shadow: rgba(52, 224, 161, .16);
}

.platform-tone-holidaycheck {
    --platform-accent: linear-gradient(135deg, #00a3e0, #71c837);
    --platform-accent-soft: rgba(0, 163, 224, .18);
    --platform-accent-border: rgba(0, 163, 224, .46);
    --platform-shadow: rgba(0, 163, 224, .15);
}

.platform-tone-zoover {
    --platform-accent: linear-gradient(135deg, #ff7a00, #ffb703);
    --platform-accent-soft: rgba(255, 122, 0, .18);
    --platform-accent-border: rgba(255, 122, 0, .45);
    --platform-shadow: rgba(255, 122, 0, .14);
}

.platform-tone-trustyou {
    --platform-accent: linear-gradient(135deg, #2155ff, #12d6df);
    --platform-accent-soft: rgba(33, 85, 255, .17);
    --platform-accent-border: rgba(33, 85, 255, .44);
    --platform-shadow: rgba(33, 85, 255, .14);
}

.platform-tone-tophotels {
    --platform-accent: linear-gradient(135deg, #8b5cf6, #ec4899);
    --platform-accent-soft: rgba(139, 92, 246, .18);
    --platform-accent-border: rgba(139, 92, 246, .45);
    --platform-shadow: rgba(139, 92, 246, .14);
}

.platform-tone-default {
    --platform-accent: linear-gradient(135deg, #0d6efd, #4ce0a6);
    --platform-accent-soft: rgba(13, 110, 253, .16);
    --platform-accent-border: rgba(13, 110, 253, .42);
    --platform-shadow: rgba(13, 110, 253, .14);
}

html[data-theme="dark-disabled-light"] .platform-choice-card.professional-platform-card,
html[data-theme="dark-disabled-light"] .active-platform-card.professional-platform-card {
    background:
        radial-gradient(circle at 18% 0%, var(--platform-accent-soft, rgba(13, 110, 253, .12)), transparent 38%),
        rgba(255, 255, 255, .9);
    border-color: rgba(15, 23, 42, .1);
    box-shadow: 0 .9rem 2rem rgba(15, 23, 42, .07);
}

html[data-theme="dark-disabled-light"] .professional-platform-body strong {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .professional-platform-body small,
html[data-theme="dark-disabled-light"] .professional-platform-footer span,
html[data-theme="dark-disabled-light"] .professional-platform-status {
    color: var(--sc-muted);
}

html[data-theme="dark-disabled-light"] .professional-platform-footer span {
    background: rgba(15, 23, 42, .035);
    border-color: rgba(15, 23, 42, .08);
}

html[data-theme="dark-disabled-light"] .professional-platform-card.is-selected .professional-platform-status,
html[data-theme="dark-disabled-light"] .professional-platform-status.included {
    color: #05271b;
}


.included-channel-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid rgba(76, 224, 166, .24);
    border-radius: 1rem;
    background: rgba(76, 224, 166, .08);
}

.included-channel-card > span:not(.platform-choice-icon) {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.included-channel-card strong {
    color: #fff;
    font-weight: 900;
}

.included-channel-card small {
    color: rgba(248, 249, 250, .64);
    line-height: 1.35;
}

.included-channel-card em {
    margin-left: auto;
    color: #4ce0a6;
    white-space: nowrap;
    font-style: normal;
    font-weight: 900;
}

.included-channel-card.premium-included-channel {
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    min-height: 112px;
    border-color: rgba(76, 224, 166, .42);
    background:
        radial-gradient(circle at 12% 0%, rgba(76, 224, 166, .28), transparent 34%),
        linear-gradient(135deg, rgba(13, 110, 253, .18), rgba(76, 224, 166, .1) 48%, rgba(255, 255, 255, .055));
    box-shadow: 0 1rem 2.6rem rgba(10, 160, 125, .16), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.included-channel-card.premium-included-channel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 32%, rgba(76, 224, 166, .09));
}

.premium-included-channel .included-channel-icon-wrap,
.premium-included-channel .included-channel-copy,
.premium-included-channel .included-channel-badge {
    position: relative;
    z-index: 1;
}

.premium-included-channel .included-channel-icon-wrap {
    flex: 0 0 auto;
}

.premium-included-channel .platform-choice-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0d6efd, #4ce0a6);
    box-shadow: 0 .9rem 2rem rgba(76, 224, 166, .22);
}

.premium-included-channel .included-channel-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: .22rem;
    min-width: 0;
}

.premium-included-channel .included-channel-copy small {
    max-width: 46rem;
}

.premium-included-channel .included-channel-perks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .45rem;
}

.premium-included-channel .included-channel-perks span {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: .24rem .55rem;
    border: 1px solid rgba(76, 224, 166, .22);
    border-radius: 999px;
    color: rgba(248, 249, 250, .78);
    background: rgba(76, 224, 166, .08);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.2;
}

.premium-included-channel .included-channel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: .4rem .7rem;
    border: 1px solid rgba(76, 224, 166, .52);
    border-radius: 999px;
    color: #06231a;
    background: linear-gradient(135deg, #8ef5d0, #4ce0a6);
    box-shadow: 0 .7rem 1.6rem rgba(76, 224, 166, .16);
    font-size: .78rem;
    font-style: normal;
    font-weight: 950;
}

.premium-included-channel-admin {
    background:
        radial-gradient(circle at 10% 0%, rgba(76, 224, 166, .22), transparent 36%),
        linear-gradient(135deg, rgba(13, 110, 253, .12), rgba(76, 224, 166, .08));
}

html[data-theme="dark-disabled-light"] .included-channel-card.premium-included-channel {
    border-color: rgba(13, 148, 136, .32);
    background:
        radial-gradient(circle at 12% 0%, rgba(20, 184, 166, .24), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(236, 253, 245, .88));
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, .08);
}

html[data-theme="dark-disabled-light"] .included-channel-card.premium-included-channel strong {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .included-channel-card.premium-included-channel small {
    color: var(--sc-muted);
}

html[data-theme="dark-disabled-light"] .premium-included-channel .included-channel-perks span {
    color: #047857;
    border-color: rgba(13, 148, 136, .22);
    background: rgba(20, 184, 166, .1);
}

@media (max-width: 575.98px) {
    .included-channel-card.premium-included-channel {
        flex-direction: column;
    }

    .premium-included-channel .included-channel-badge {
        margin-left: 0;
    }
}

.wizard-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: .55rem .85rem;
    border: 1px solid rgba(76, 224, 166, .32);
    border-radius: 999px;
    color: #4ce0a6;
    background: rgba(76, 224, 166, .09);
    font-weight: 900;
}

.ai-message-selector {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.1rem;
    background: rgba(0, 0, 0, .16);
}

.ai-message-selector strong {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
}

.ai-range-labels,
.quick-ai-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
}

.ai-range-labels {
    color: rgba(248, 249, 250, .62);
    font-size: .86rem;
}

.quick-ai-options {
    justify-content: flex-start;
    margin-top: .85rem;
}

.pricing-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.pricing-feature-card {
    align-items: flex-start;
}

.pricing-feature-card span {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
}

.pricing-feature-card strong {
    color: #fff;
}

.pricing-feature-card small {
    color: rgba(248, 249, 250, .64);
    line-height: 1.35;
}

.pricing-feature-card em {
    margin-left: auto;
    color: #4ce0a6;
    white-space: nowrap;
    font-style: normal;
    font-weight: 900;
}

.pricing-feature-card.included {
    border-color: rgba(76, 224, 166, .22);
}

.pricing-summary-card {
    position: relative;
}

.pricing-summary-sticky {
    position: sticky;
    top: 1rem;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid rgba(76, 224, 166, .28);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, .14), transparent 38%),
        rgba(7, 14, 12, .88);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .36);
}

.pricing-total {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    margin: 1rem 0 .5rem;
}

.pricing-total span {
    color: #4ce0a6;
    font-weight: 900;
}

.pricing-total strong {
    color: #fff;
    font-size: clamp(3rem, 5vw, 4.8rem);
    letter-spacing: -.06em;
    line-height: .9;
}

.pricing-breakdown {
    display: grid;
    gap: .6rem;
    margin: 1.1rem 0;
}

.pricing-breakdown > div,
.pricing-summary-detail span {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem .8rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: .9rem;
    background: rgba(255, 255, 255, .045);
}

.pricing-breakdown span {
    color: rgba(248, 249, 250, .66);
}

.pricing-breakdown strong {
    color: #fff;
    white-space: nowrap;
}

.pricing-summary-detail {
    display: grid;
    gap: .55rem;
    color: rgba(248, 249, 250, .72);
    font-size: .9rem;
}

html[data-theme="dark-disabled-light"] .platform-choice-card,
html[data-theme="dark-disabled-light"] .pricing-feature-card,
html[data-theme="dark-disabled-light"] .ai-message-selector,
html[data-theme="dark-disabled-light"] .pricing-summary-sticky,
html[data-theme="dark-disabled-light"] .pricing-breakdown > div,
html[data-theme="dark-disabled-light"] .pricing-summary-detail span {
    color: var(--sc-text);
    background: rgba(255, 255, 255, .82);
    border-color: rgba(15, 23, 42, .12);
}

html[data-theme="dark-disabled-light"] .platform-choice-name,
html[data-theme="dark-disabled-light"] .pricing-feature-card strong,
html[data-theme="dark-disabled-light"] .pricing-breakdown strong,
html[data-theme="dark-disabled-light"] .pricing-total strong,
html[data-theme="dark-disabled-light"] .ai-message-selector strong {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .pricing-feature-card small,
html[data-theme="dark-disabled-light"] .pricing-breakdown span,
html[data-theme="dark-disabled-light"] .pricing-summary-detail,
html[data-theme="dark-disabled-light"] .ai-range-labels {
    color: var(--sc-muted);
}

@media (max-width: 1199.98px) {
    .pricing-calculator-shell {
        grid-template-columns: 1fr;
    }

    .pricing-summary-sticky {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .platform-choice-grid,
    .pricing-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .platform-choice-grid,
    .pricing-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Pass 70: high-contrast Production QA release gate components */
.sc-qa-alert {
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    padding: 1rem;
    color: var(--sc-text);
    background: var(--sc-surface-strong);
}

.sc-release-gate-card {
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    padding: 1rem;
    color: var(--sc-text);
    background: var(--sc-surface);
}

.sc-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--sc-border);
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    color: var(--sc-text);
    background: var(--sc-surface-strong);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.sc-code-block {
    display: block;
    border: 1px solid var(--sc-border);
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    color: var(--sc-text);
    background: rgba(0, 0, 0, 0.28);
    white-space: normal;
    word-break: break-word;
}

html[data-theme="dark-disabled-light"] .sc-code-block {
    background: rgba(15, 23, 42, 0.06);
}

.sc-status-badge {
    border: 1px solid var(--sc-border);
    color: var(--sc-text);
    background: var(--sc-surface-strong);
}

.sc-status-muted {
    color: var(--sc-muted);
}



/* Pass 71: selected-company user management */
.sc-role-select {
    min-width: 8rem;
}

.sc-user-boundary-note {
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    color: var(--sc-text);
    background: var(--sc-surface-strong);
}

.sc-info-button {
    width: 1.55rem;
    height: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 202, 240, 0.55);
    border-radius: 999px;
    background: rgba(13, 202, 240, 0.1);
    color: #8be9ff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    padding: 0;
}

.sc-info-button:hover,
.sc-info-button:focus {
    background: rgba(13, 202, 240, 0.2);
    color: #ffffff;
    border-color: rgba(13, 202, 240, 0.9);
}

.sc-info-button-sm {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.72rem;
}

.sc-help-modal {
    background: var(--sc-bg-2);
    border: 1px solid var(--sc-border);
    color: var(--sc-text);
}

.sc-help-modal .modal-header,
.sc-help-modal .modal-footer {
    border-color: var(--sc-border);
}

.sc-help-modal .alert-info {
    background: rgba(13, 202, 240, 0.12);
    border-color: rgba(13, 202, 240, 0.25);
    color: var(--sc-text);
}



.sc-flash {
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    color: var(--sc-text);
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.13), rgba(38, 194, 129, 0.08)),
        var(--sc-surface-strong);
    box-shadow: var(--sc-shadow);
}

.sc-flash-success {
    border-color: rgba(38, 194, 129, 0.45);
    background:
        linear-gradient(135deg, rgba(38, 194, 129, 0.18), rgba(13, 110, 253, 0.08)),
        var(--sc-surface-strong);
}

.sc-flash-warning {
    border-color: rgba(255, 193, 7, 0.5);
    background:
        linear-gradient(135deg, rgba(255, 193, 7, 0.16), rgba(38, 194, 129, 0.06)),
        var(--sc-surface-strong);
}

.sc-flash-error {
    border-color: rgba(220, 53, 69, 0.55);
    background:
        linear-gradient(135deg, rgba(220, 53, 69, 0.16), rgba(13, 110, 253, 0.06)),
        var(--sc-surface-strong);
}

.sc-flash-info {
    border-color: rgba(13, 202, 240, 0.42);
}

.demo-request-details {
    min-width: min(42rem, 82vw);
}


.sc-email-preview-shell {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: auto;
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    padding: 1rem;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 34%),
        var(--sc-surface-strong);
}

.sc-email-preview-frame {
    width: 100%;
    min-height: 860px;
    background: #ffffff;
    transition: width 0.18s ease, min-height 0.18s ease;
}

.sc-email-preview-shell-desktop .sc-email-preview-frame {
    max-width: 980px;
}

.sc-email-preview-shell-tablet .sc-email-preview-frame {
    width: 768px;
    max-width: 100%;
    min-height: 820px;
}

.sc-email-preview-shell-mobile .sc-email-preview-frame {
    width: 390px;
    max-width: 100%;
    min-height: 760px;
}

@media (max-width: 575.98px) {
    .sc-email-preview-shell {
        padding: 0.65rem;
    }

    .sc-email-preview-shell-mobile .sc-email-preview-frame {
        width: 360px;
    }
}


.demo-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
}

.demo-channel-option {
    align-items: center;
    border: 1px solid var(--sc-border);
    border-radius: 0.9rem;
    display: flex;
    gap: 0.55rem;
    margin: 0;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.035);
}

.demo-channel-option .form-check-input {
    margin-left: 0;
    margin-top: 0;
}


.demo-channel-option-required {
    border-color: rgba(89, 233, 157, 0.35);
    background: rgba(89, 233, 157, 0.08);
}

.demo-channel-option-required .form-check-input:disabled {
    opacity: 1;
}

.demo-channel-option-required .form-check-label {
    opacity: 1;
}


/* Pass 93: smarter, compact pricing + quick onboarding layout */
.pricing-wizard-page {
    width: min(calc(100% - clamp(1rem, 4vw, 4rem)), 1240px);
    max-width: 1240px;
    margin: clamp(1.6rem, 3vw, 2.5rem) auto 4rem;
}

.pricing-wizard-heading {
    max-width: 760px;
    margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.pricing-wizard-heading h1 {
    font-size: clamp(2.05rem, 4vw, 3.35rem);
    line-height: 1.02;
}

.pricing-wizard-heading p {
    font-size: clamp(.98rem, 1.15vw, 1.08rem);
    line-height: 1.6;
}

.pricing-calculator-shell {
    grid-template-columns: minmax(0, 760px) minmax(340px, 380px);
    justify-content: center;
    gap: 1rem;
}

.pricing-calculator-main {
    gap: .85rem;
}

.pricing-calculator-card {
    padding: clamp(.95rem, 1.45vw, 1.35rem);
}

.pricing-control-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.pricing-control-row .pricing-calculator-card {
    min-height: 100%;
}

.included-channel-card.premium-included-channel {
    padding: .85rem;
    border-radius: 1rem;
}

.premium-included-channel .included-channel-copy small {
    max-width: 58rem;
}

.platform-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.platform-choice-card.professional-platform-card,
.active-platform-card.professional-platform-card {
    min-height: 142px;
    gap: .62rem;
    padding: .82rem;
    border-radius: 1rem;
}

.professional-platform-icon {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: .85rem;
}

.professional-platform-status {
    min-height: 1.55rem;
    padding: .24rem .5rem;
    font-size: .7rem;
}

.professional-platform-body {
    gap: .22rem;
}

.professional-platform-body strong {
    font-size: .96rem;
}

.professional-platform-body small,
.pricing-feature-card small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.professional-platform-body small {
    -webkit-line-clamp: 2;
    line-height: 1.35;
}

.professional-platform-footer {
    gap: .28rem;
}

.professional-platform-footer span {
    padding: .18rem .42rem;
    font-size: .68rem;
}

.ai-message-selector {
    padding: .85rem;
    border-radius: 1rem;
}

.ai-message-selector strong {
    font-size: 1.38rem;
}

.quick-ai-options {
    gap: .42rem;
}

.quick-ai-options .btn {
    padding: .26rem .5rem;
    font-size: .8rem;
}

.pricing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.pricing-feature-card {
    min-height: 92px;
    padding: .78rem;
    border-radius: .95rem;
}

.pricing-feature-card small {
    -webkit-line-clamp: 2;
}

.pricing-feature-card em {
    font-size: .86rem;
}

.pricing-summary-sticky {
    top: .85rem;
    padding: clamp(1rem, 1.5vw, 1.25rem);
    border-radius: 1.25rem;
}

.pricing-summary-sticky .h4 {
    font-size: 1.12rem;
}

.pricing-summary-sticky p {
    margin-bottom: .75rem;
}

.pricing-total {
    margin: .65rem 0 .35rem;
}

.pricing-total strong {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.pricing-breakdown {
    gap: .42rem;
    margin: .85rem 0;
}

.pricing-breakdown > div,
.pricing-summary-detail span {
    padding: .52rem .65rem;
    border-radius: .75rem;
    font-size: .88rem;
}

.pricing-summary-detail {
    gap: .4rem;
    font-size: .86rem;
}

.pricing-summary-card .row.g-3 {
    --bs-gutter-y: .7rem;
}

.pricing-summary-card .form-label {
    margin-bottom: .28rem;
    font-size: .86rem;
}

.pricing-summary-card .form-control {
    min-height: 2.65rem;
}

@media (min-width: 1200px) {
    .pricing-summary-sticky {
        max-height: calc(100vh - 1.7rem);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

@media (max-width: 1199.98px) {
    .pricing-wizard-page {
        width: min(calc(100% - 1.5rem), 980px);
    }

    .pricing-calculator-shell {
        grid-template-columns: 1fr;
    }

    .pricing-summary-sticky {
        position: static;
        max-width: 760px;
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .pricing-wizard-heading {
        text-align: start !important;
        margin-inline: 0 !important;
    }

    .pricing-control-row,
    .platform-choice-grid,
    .pricing-feature-grid {
        grid-template-columns: 1fr;
    }

    .platform-choice-card.professional-platform-card,
    .active-platform-card.professional-platform-card {
        min-height: auto;
    }

    .pricing-total strong {
        font-size: 2.55rem;
    }
}


/* Pass 94: dense pricing wizard controls.
   Goal: keep the container width while making cards denser so more options fit on one screen. */
.pricing-wizard-page {
    width: min(calc(100% - clamp(1rem, 2vw, 2rem)), 1480px);
    max-width: 1480px;
    margin-top: clamp(1rem, 1.8vw, 1.6rem);
}

.pricing-wizard-heading {
    max-width: 980px;
    margin-bottom: .8rem;
}

.pricing-wizard-heading .hero-kicker {
    margin-bottom: .35rem;
}

.pricing-wizard-heading h1 {
    font-size: clamp(1.65rem, 2.6vw, 2.55rem);
    line-height: 1;
    margin-bottom: .45rem;
}

.pricing-wizard-heading p {
    max-width: 820px;
    margin-inline: auto;
    font-size: .92rem;
    line-height: 1.45;
}

.pricing-calculator-shell {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 370px);
    gap: .85rem;
    justify-content: stretch;
}

.pricing-calculator-main {
    gap: .65rem;
}

.pricing-calculator-card {
    padding: .72rem;
    border-radius: 1.05rem;
}

.pricing-calculator-card .pricing-name {
    font-size: .72rem;
    letter-spacing: .06em;
}

.pricing-calculator-card .h4 {
    font-size: 1rem;
    line-height: 1.15;
    margin-top: .25rem !important;
}

.pricing-calculator-card p.text-secondary {
    margin-bottom: .55rem;
    font-size: .84rem;
    line-height: 1.35;
}

.pricing-calculator-card > .d-flex:first-child {
    gap: .6rem !important;
}

.pricing-calculator-card .wizard-pill {
    padding: .28rem .55rem;
    font-size: .72rem;
}

.included-channel-card.premium-included-channel {
    min-height: auto;
    align-items: center;
    gap: .55rem;
    margin-top: .55rem !important;
    padding: .48rem .58rem;
    border-radius: .78rem;
}

.premium-included-channel .platform-choice-icon {
    width: 2rem;
    height: 2rem;
    border-radius: .65rem;
    font-size: .84rem;
}

.premium-included-channel .included-channel-copy {
    gap: .05rem;
}

.premium-included-channel .included-channel-copy small {
    display: none;
}

.premium-included-channel .included-channel-perks {
    gap: .25rem;
    margin-top: .2rem;
}

.premium-included-channel .included-channel-perks span {
    padding: .14rem .36rem;
    font-size: .66rem;
}

.premium-included-channel .included-channel-badge {
    padding: .22rem .46rem;
    font-size: .68rem;
}

.platform-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    margin-top: .55rem !important;
}

.platform-choice-card.professional-platform-card,
.active-platform-card.professional-platform-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 64px;
    gap: .48rem;
    padding: .5rem .55rem;
    padding-right: .7rem;
    border-radius: .78rem;
}

.platform-choice-card.professional-platform-card .form-check-input {
    top: .45rem;
    right: .45rem;
}

.professional-platform-top {
    display: contents;
}

.professional-platform-icon {
    width: 2rem;
    height: 2rem;
    grid-column: 1;
    grid-row: 1 / span 2;
    border-radius: .62rem;
    font-size: .74rem;
    box-shadow: none;
}

.professional-platform-status {
    position: absolute;
    top: .38rem;
    right: .42rem;
    min-height: 1.15rem;
    padding: .12rem .34rem;
    font-size: .59rem;
}

.professional-platform-body {
    grid-column: 2;
    grid-row: 1;
    gap: .08rem;
    padding-right: 2.65rem;
}

.professional-platform-body strong {
    font-size: .82rem;
    line-height: 1.1;
}

.professional-platform-body small {
    -webkit-line-clamp: 1;
    font-size: .68rem;
    line-height: 1.18;
}

.professional-platform-footer {
    display: none;
}

.pricing-control-row {
    gap: .55rem;
}

.ai-message-selector {
    padding: .55rem;
    border-radius: .78rem;
}

.ai-message-selector .form-label {
    font-size: .8rem;
}

.ai-message-selector strong {
    font-size: 1.05rem;
}

.ai-message-selector .form-range {
    margin: .35rem 0;
}

.ai-range-labels {
    font-size: .72rem;
}

.quick-ai-options {
    gap: .3rem;
    margin-top: .45rem;
}

.quick-ai-options .btn {
    min-height: 1.7rem;
    padding: .18rem .4rem;
    font-size: .72rem;
    line-height: 1;
}

.pricing-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
}

.pricing-feature-card {
    min-height: 58px;
    align-items: center;
    gap: .45rem;
    padding: .52rem .58rem;
    border-radius: .78rem;
}

.pricing-feature-card span {
    gap: .08rem;
}

.pricing-feature-card strong {
    font-size: .82rem;
    line-height: 1.1;
}

.pricing-feature-card small {
    -webkit-line-clamp: 1;
    font-size: .68rem;
    line-height: 1.18;
}

.pricing-feature-card em {
    font-size: .7rem;
}

.advanced-report-unlocks {
    display: none;
}

.pricing-summary-sticky {
    top: .65rem;
    padding: .78rem;
    border-radius: 1rem;
}

.pricing-summary-sticky .pricing-name {
    font-size: .72rem;
}

.pricing-summary-sticky .h4 {
    font-size: .98rem;
    margin-top: .25rem !important;
    margin-bottom: .35rem !important;
}

.pricing-summary-sticky p.text-secondary {
    margin-bottom: .5rem;
    font-size: .78rem;
    line-height: 1.25;
}

.pricing-total {
    margin: .45rem 0 .25rem;
}

.pricing-total strong {
    font-size: clamp(2rem, 2.6vw, 2.55rem);
}

.pricing-breakdown {
    gap: .3rem;
    margin: .55rem 0;
}

.pricing-breakdown > div,
.pricing-summary-detail span {
    gap: .55rem;
    padding: .36rem .45rem;
    border-radius: .6rem;
    font-size: .76rem;
}

.pricing-summary-detail {
    gap: .28rem;
    font-size: .75rem;
}

.pricing-summary-card .row.g-3 {
    --bs-gutter-x: .5rem;
    --bs-gutter-y: .45rem;
    margin-top: .55rem !important;
}

.pricing-summary-card .form-label {
    margin-bottom: .18rem;
    font-size: .76rem;
}

.pricing-summary-card .form-control {
    min-height: 2.15rem;
    padding: .38rem .52rem;
    border-radius: .65rem;
    font-size: .84rem;
}

.pricing-summary-card textarea.form-control {
    min-height: 4rem;
}

.pricing-summary-card .btn {
    min-height: 2.35rem;
    padding: .45rem .65rem;
    border-radius: .7rem;
}

@media (min-width: 1400px) {
    .platform-choice-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .platform-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .pricing-summary-sticky {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .pricing-wizard-page {
        width: min(calc(100% - 1rem), 100%);
    }

    .pricing-wizard-heading h1 {
        font-size: 1.55rem;
    }

    .platform-choice-grid,
    .pricing-feature-grid,
    .pricing-control-row {
        grid-template-columns: 1fr;
    }

    .platform-choice-card.professional-platform-card,
    .active-platform-card.professional-platform-card {
        min-height: 58px;
    }
}


/* Pass 95: pricing page aligns with marketing header while keeping dense controls. */
.pricing-wizard-page {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-inline: var(--sc-marketing-page-x);
}

/* v49: Align every public marketing container to the same horizontal span as the header. */
:root {
    --sc-marketing-container-width: calc(100% - (var(--sc-marketing-page-x) + var(--sc-marketing-page-x)));
}

.marketing-nav,
.hero-section,
.hero-section.hero-section-wide,
.marketing-section,
.marketing-page,
.cta-section,
.thanks-page,
.demo-page {
    width: var(--sc-marketing-container-width);
    max-width: none;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.marketing-nav,
.pricing-wizard-page,
.demo-page {
    padding-left: 0;
    padding-right: 0;
}

.pricing-wizard-page {
    margin-top: 3.25rem;
}

@media (max-width: 767.98px) {
    :root {
        --sc-marketing-container-width: calc(100% - 1rem);
    }
}

/* v53: mobile-first marketing nav, footer, and pricing readability */
.marketing-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: .9rem;
    padding-bottom: .9rem;
    background: linear-gradient(180deg, rgba(2, 4, 3, .94), rgba(2, 4, 3, .72));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.marketing-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 2.35rem;
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .85rem;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    font-weight: 800;
}

.marketing-nav-toggle-bars,
.marketing-nav-toggle-bars::before,
.marketing-nav-toggle-bars::after {
    display: block;
    width: 1.05rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.marketing-nav-toggle-bars {
    position: relative;
}

.marketing-nav-toggle-bars::before,
.marketing-nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.marketing-nav-toggle-bars::before {
    top: -.38rem;
}

.marketing-nav-toggle-bars::after {
    top: .38rem;
}

.marketing-footer {
    width: var(--sc-marketing-container-width, calc(100% - 2rem));
    box-sizing: border-box;
}

.marketing-footer-brand {
    max-width: 680px;
}

@media (min-width: 992px) {
    .marketing-nav {
        align-items: center;
        flex-direction: row;
    }

    .marketing-nav-links {
        flex-wrap: nowrap;
        overflow: visible;
    }
}

@media (max-width: 991.98px) {
    .marketing-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .75rem;
        padding-top: .7rem;
        padding-bottom: .7rem;
    }

    .marketing-brand-large {
        min-width: 0;
        font-size: 1.15rem;
    }

    .marketing-brand-large span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .marketing-brand .brand-logo,
    .marketing-brand-large .brand-logo {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .marketing-nav-toggle {
        display: inline-flex;
    }

    .marketing-nav-links {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .55rem;
        margin-top: .2rem;
        padding: .75rem;
        overflow: visible;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 1rem;
        background: rgba(3, 9, 8, .96);
        box-shadow: 0 1.1rem 2.4rem rgba(0, 0, 0, .28);
    }

    .marketing-nav.is-open .marketing-nav-links {
        display: flex;
    }

    .marketing-nav-links a:not(.btn) {
        min-height: 2.55rem;
        display: flex;
        align-items: center;
        padding: .62rem .75rem;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: .78rem;
        background: rgba(255, 255, 255, .045);
    }

    .marketing-nav-links .btn,
    .marketing-theme-toggle {
        width: 100%;
        min-height: 2.55rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .marketing-nav .language-switcher {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .marketing-nav .language-switcher .form-select {
        width: 100%;
        min-height: 2.55rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .marketing-footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-wizard-heading {
        text-align: left !important;
    }

    .pricing-wizard-heading p {
        margin-inline: 0;
    }
}

@media (max-width: 767.98px) {
    .marketing-footer-links {
        grid-template-columns: 1fr;
    }

    .marketing-footer-links section {
        padding: .85rem;
    }

    .pricing-breakdown > div,
    .pricing-summary-detail span {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .marketing-nav,
    .hero-section,
    .marketing-section,
    .marketing-page,
    .cta-section,
    .thanks-page,
    .demo-page,
    .marketing-footer {
        width: calc(100% - 1rem);
    }

    .marketing-nav {
        border-radius: 0 0 1rem 1rem;
    }

    .marketing-brand-large {
        font-size: 1rem;
    }

    .marketing-nav-toggle {
        padding-inline: .58rem;
        font-size: .88rem;
    }

    .marketing-nav-links {
        padding: .6rem;
        border-radius: .9rem;
    }

    .hero-proof,
    .hero-proof-cards {
        display: grid;
    }

    .cta-section,
    .thanks-page {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .pricing-wizard-page {
        margin-top: 1.25rem;
        padding-inline: 0;
    }

    .pricing-wizard-heading h1 {
        font-size: 1.45rem;
        line-height: 1.08;
    }

    .pricing-calculator-card .h4 {
        font-size: .96rem;
    }

    .pricing-breakdown > div,
    .pricing-summary-detail span {
        flex-direction: column;
        gap: .18rem;
    }

    .pricing-breakdown strong {
        white-space: normal;
    }

    .pricing-total strong {
        font-size: 2.15rem;
    }

    .included-channel-card.premium-included-channel {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .premium-included-channel .included-channel-badge {
        margin-left: 0;
    }

    .marketing-footer {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        padding-bottom: 1rem;
    }

    .marketing-footer-brand {
        gap: .55rem;
    }

    .marketing-footer-brand p {
        font-size: .92rem;
        line-height: 1.55;
    }

    .marketing-footer-bottom {
        display: grid;
        justify-content: stretch;
        font-size: .82rem;
    }
}

html[data-theme="dark-disabled-light"] .marketing-nav {
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
    border-bottom-color: rgba(15, 23, 42, .1);
}

html[data-theme="dark-disabled-light"] .marketing-nav-toggle,
html[data-theme="dark-disabled-light"] .marketing-nav-links {
    color: var(--sc-text);
    background: rgba(255, 255, 255, .94);
    border-color: rgba(15, 23, 42, .12);
}

html[data-theme="dark-disabled-light"] .marketing-nav-links a:not(.btn) {
    color: var(--sc-text);
    background: rgba(15, 23, 42, .035);
    border-color: rgba(15, 23, 42, .08);
}



/* AI training page: explicit contrast because Bootstrap utility colors are too soft on the dark shell. */
.ai-training-page .surface-card,
.ai-training-page article,
.ai-training-page details,
.ai-training-page .border {
    border-color: rgba(248, 250, 252, 0.24) !important;
}

.ai-training-page .text-secondary,
.ai-training-page .form-text {
    color: rgba(248, 250, 252, 0.78) !important;
}

.ai-training-page .form-control,
.ai-training-page .form-select {
    color: var(--sc-text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(248, 250, 252, 0.24);
}

.ai-training-page .form-control:focus,
.ai-training-page .form-select:focus {
    color: var(--sc-text);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(38, 194, 129, 0.58);
    box-shadow: 0 0 0 0.2rem rgba(38, 194, 129, 0.14);
}

.ai-training-page .form-control::placeholder {
    color: rgba(248, 250, 252, 0.5);
}

.ai-training-page .form-check-label,
.ai-training-page summary,
.ai-training-page label,
.ai-training-page strong {
    color: var(--sc-text);
}

.ai-training-page .ai-training-accordion-item {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(248, 250, 252, 0.22);
}

.ai-training-page .ai-training-accordion-button,
.ai-training-page .ai-training-accordion-button:not(.collapsed) {
    color: var(--sc-text);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.ai-training-page .ai-training-accordion-button::after {
    filter: invert(1) grayscale(1);
}

.ai-training-page .accordion-body {
    color: var(--sc-text);
    background: rgba(0, 0, 0, 0.18);
}

.ai-training-page .ai-training-list-item {
    color: var(--sc-text);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(248, 250, 252, 0.2);
}

.ai-training-page .ai-training-list-item:hover,
.ai-training-page .ai-training-list-item:focus {
    color: var(--sc-text);
    background: rgba(38, 194, 129, 0.12);
}

.ai-training-page .alert-secondary {
    color: var(--sc-text);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(248, 250, 252, 0.2);
}

html[data-theme="dark-disabled-light"] .ai-training-page .surface-card,
html[data-theme="dark-disabled-light"] .ai-training-page article,
html[data-theme="dark-disabled-light"] .ai-training-page details,
html[data-theme="dark-disabled-light"] .ai-training-page .border {
    border-color: rgba(15, 23, 42, 0.16) !important;
}

html[data-theme="dark-disabled-light"] .ai-training-page .text-secondary,
html[data-theme="dark-disabled-light"] .ai-training-page .form-text {
    color: rgba(15, 23, 42, 0.68) !important;
}

html[data-theme="dark-disabled-light"] .ai-training-page .form-control,
html[data-theme="dark-disabled-light"] .ai-training-page .form-select,
html[data-theme="dark-disabled-light"] .ai-training-page .ai-training-accordion-button,
html[data-theme="dark-disabled-light"] .ai-training-page .ai-training-accordion-button:not(.collapsed),
html[data-theme="dark-disabled-light"] .ai-training-page .ai-training-list-item,
html[data-theme="dark-disabled-light"] .ai-training-page .alert-secondary {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(15, 23, 42, 0.16);
}

html[data-theme="dark-disabled-light"] .ai-training-page .accordion-body {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.68);
}

html[data-theme="dark-disabled-light"] .ai-training-page .ai-training-accordion-button::after {
    filter: none;
}

.ai-training-page .surface-card,
.ai-training-page article,
.ai-training-page .metric-card {
    background: rgba(15, 23, 42, 0.92);
}

.ai-training-page .rounded-4,
.ai-training-page .rounded-3 {
    background-color: rgba(255, 255, 255, 0.035);
}

.ai-training-page .btn-outline-light {
    color: #f8fafc;
    background: rgba(248, 250, 252, 0.07);
    border-color: rgba(248, 250, 252, 0.38);
}

.ai-training-page .btn-outline-light:hover,
.ai-training-page .btn-outline-light:focus {
    color: #0f172a;
    background: #f8fafc;
    border-color: #f8fafc;
}

.ai-training-page .btn-outline-success {
    color: #8ff0b6;
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.48);
}

.ai-training-page .btn-outline-success:hover,
.ai-training-page .btn-outline-success:focus {
    color: #052e16;
    background: #86efac;
    border-color: #86efac;
}

.ai-training-page .btn-outline-danger {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.48);
}

.ai-training-page .btn-outline-danger:hover,
.ai-training-page .btn-outline-danger:focus {
    color: #450a0a;
    background: #fca5a5;
    border-color: #fca5a5;
}

.ai-training-page .badge.text-bg-dark {
    color: #f8fafc !important;
    background-color: #1f2937 !important;
    border: 1px solid rgba(248, 250, 252, 0.24);
}

.ai-training-page .form-control:disabled,
.ai-training-page .form-select:disabled,
.ai-training-page .form-control[readonly] {
    color: rgba(248, 250, 252, 0.72);
    background-color: rgba(148, 163, 184, 0.16);
}

.ai-training-page select option {
    color: #0f172a;
    background: #ffffff;
}

html[data-theme="dark-disabled-light"] .ai-training-page .surface-card,
html[data-theme="dark-disabled-light"] .ai-training-page article,
html[data-theme="dark-disabled-light"] .ai-training-page .metric-card,
html[data-theme="dark-disabled-light"] .ai-training-page .rounded-4,
html[data-theme="dark-disabled-light"] .ai-training-page .rounded-3 {
    background: rgba(255, 255, 255, 0.86);
}

html[data-theme="dark-disabled-light"] .ai-training-page .btn-outline-light {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.22);
}

html[data-theme="dark-disabled-light"] .ai-training-page .btn-outline-light:hover,
html[data-theme="dark-disabled-light"] .ai-training-page .btn-outline-light:focus {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
}



.ai-training-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.ai-training-tab-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.55rem 0.85rem;
    color: #e2e8f0;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.36);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ai-training-tab-nav a:hover,
.ai-training-tab-nav a:focus,
.ai-training-tab-nav a.active {
    color: #04111f;
    border-color: rgba(34, 197, 94, 0.92);
    background: #86efac;
}

.ai-training-page .alert-info {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(147, 197, 253, 0.34);
}

html[data-theme="dark-disabled-light"] .ai-training-tab-nav a {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(15, 23, 42, 0.18);
}

html[data-theme="dark-disabled-light"] .ai-training-tab-nav a:hover,
html[data-theme="dark-disabled-light"] .ai-training-tab-nav a:focus,
html[data-theme="dark-disabled-light"] .ai-training-tab-nav a.active {
    color: #052e16;
    background: #bbf7d0;
    border-color: rgba(22, 101, 52, 0.44);
}

html[data-theme="dark-disabled-light"] .ai-training-page .alert-info {
    color: #1e3a8a;
    background: rgba(219, 234, 254, 0.86);
    border-color: rgba(59, 130, 246, 0.26);
}


/* v69: Keep marketing header content aligned while the backdrop spans the viewport. */
.marketing-nav {
    position: sticky;
    isolation: isolate;
    background: transparent;
    border-bottom-color: transparent;
}

.marketing-nav::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 4, 3, .96), rgba(2, 4, 3, .82));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.marketing-nav > * {
    position: relative;
    z-index: 1;
}

.marketing-brand .brand-logo,
.marketing-brand-large .brand-logo {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

html[data-theme="dark"] .marketing-brand .brand-logo,
html[data-theme="dark"] .marketing-brand-large .brand-logo {
    mix-blend-mode: screen;
}

html[data-theme="dark-disabled-light"] .marketing-nav {
    background: transparent;
    border-bottom-color: transparent;
}

html[data-theme="dark-disabled-light"] .marketing-nav::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .84));
    border-bottom-color: rgba(15, 23, 42, .1);
}

@media (max-width: 575.98px) {
    .marketing-nav {
        border-radius: 0;
    }
}

/* Pass 82 channel-specific connector navigation */

.sidebar-subheading {
    margin: 0.55rem 0 0.15rem;
    padding: 0 0.72rem;
    color: rgba(248, 250, 252, 0.48);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[data-theme="dark-disabled-light"] .sidebar-subheading {
    color: rgba(15, 23, 42, 0.52);
}

.channel-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.channel-category-card {
    padding: 1rem;
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.035);
}

.channel-category-title {
    margin-bottom: 0.75rem;
    color: var(--sc-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[data-theme="dark-disabled-light"] .channel-category-card {
    background: rgba(15, 23, 42, 0.035);
}


.channel-directory-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.channel-directory-logo {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: .55rem;
    box-shadow: none;
}

.channel-directory-logo-svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    object-fit: contain;
}


.package-channel-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: var(--text-secondary);
    font-size: .85rem;
}

.package-channel-summary-pill strong {
    color: var(--text);
    font-size: 1rem;
}

.package-channel-grid {
    display: grid;
    gap: 1rem;
}

.package-channel-group {
    display: grid;
    gap: .75rem;
}

.package-channel-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem .8rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .95rem;
    background: rgba(255, 255, 255, .035);
}

.package-channel-group-header span {
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: .78rem;
}

.package-channel-group-header small {
    color: var(--text-muted);
}

.package-channel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-height: 12.4rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .10), transparent 36%),
        var(--surface-muted);
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.package-channel-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.package-channel-card.is-selected {
    border-color: rgba(16, 185, 129, .62);
    box-shadow: 0 18px 45px rgba(16, 185, 129, .10);
}

.package-channel-card.is-connected:not(.is-selected) {
    border-color: rgba(245, 158, 11, .72);
    box-shadow: 0 18px 45px rgba(245, 158, 11, .10);
}

.package-channel-input {
    position: absolute;
    inset: 1rem 1rem auto auto;
    opacity: 0;
    pointer-events: none;
}

.package-channel-card-top,
.package-channel-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.package-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .10);
    color: var(--text);
    font-weight: 900;
    letter-spacing: .02em;
}

.package-channel-logo-svg {
    width: 1.85rem;
    height: 1.85rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 .3rem .65rem rgba(0, 0, 0, .22));
}

.package-channel-icon .platform-logo-fallback:not([hidden]) {
    display: grid;
}

.package-channel-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: transparent;
    background: rgba(255, 255, 255, .04);
    font-size: .82rem;
    font-weight: 900;
}

.package-channel-card.is-selected .package-channel-check {
    color: #fff;
    background: rgba(16, 185, 129, .95);
    border-color: rgba(16, 185, 129, .95);
}

.package-channel-card-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}

.package-channel-card-body strong {
    font-size: 1rem;
}

.package-channel-card-body small {
    color: var(--text-muted);
    line-height: 1.35;
}

.package-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .35rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.package-channel-badge.included {
    background: rgba(34, 197, 94, .14);
    color: #86efac;
}

.package-channel-badge.paid {
    background: rgba(59, 130, 246, .14);
    color: #bfdbfe;
}

.package-channel-badge.connected {
    background: rgba(245, 158, 11, .16);
    color: #fde68a;
}

.package-channel-card.platform-tone-whatsapp .package-channel-icon { background: rgba(37, 211, 102, .20); }
.package-channel-card.platform-tone-instagram .package-channel-icon { background: rgba(225, 48, 108, .20); }
.package-channel-card.platform-tone-messenger .package-channel-icon { background: rgba(0, 132, 255, .20); }
.package-channel-card.platform-tone-telegram .package-channel-icon { background: rgba(42, 171, 238, .20); }
.package-channel-card.platform-tone-booking .package-channel-icon { background: rgba(0, 53, 128, .28); }
.package-channel-card.platform-tone-expedia .package-channel-icon { background: rgba(255, 203, 0, .18); }
.package-channel-card.platform-tone-tripadvisor .package-channel-icon { background: rgba(0, 170, 108, .18); }
.package-channel-card.platform-tone-holidaycheck .package-channel-icon { background: rgba(0, 105, 180, .18); }
.package-channel-card.platform-tone-zoover .package-channel-icon { background: rgba(255, 137, 0, .20); }
.package-channel-card.platform-tone-trustyou .package-channel-icon { background: rgba(0, 181, 173, .18); }
.package-channel-card.platform-tone-tophotels .package-channel-icon { background: rgba(220, 38, 38, .18); }

.channel-removal-disconnect-choice {
    padding: .85rem;
    border: 1px solid rgba(245, 158, 11, .25);
    border-radius: .95rem;
    background: rgba(245, 158, 11, .08);
}

.channel-removal-disconnect-choice label {
    font-weight: 800;
}

.channel-removal-disconnect-choice small {
    display: block;
    margin-top: .25rem;
    color: var(--text-muted);
}

.channel-removal-warning-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem;
    border: 1px solid rgba(245, 158, 11, .28);
    border-radius: .9rem;
    background: rgba(245, 158, 11, .10);
}

.channel-removal-warning-item span:first-child {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.channel-removal-warning-item small {
    color: var(--text-muted);
}

@media (max-width: 767.98px) {
    .package-channel-card {
        min-height: auto;
    }

    .package-channel-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Pass 86: Billing wizard live cart */
.package-live-cart {
    position: sticky;
    top: 1rem;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.15rem;
}

.package-live-cart-header {
    display: grid;
    gap: .25rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--border-soft);
}

.package-live-cart-header span,
.package-live-cart-section-title {
    color: var(--text-muted);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.package-live-cart-header strong {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.package-live-cart-header small {
    color: var(--text-secondary);
}

.package-live-cart-total-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: .85rem .9rem;
    border: 1px solid rgba(56, 189, 248, .18);
    border-radius: 1rem;
    background: rgba(56, 189, 248, .08);
}

.package-live-cart-total-row span {
    color: var(--text-secondary);
    font-size: .9rem;
}

.package-live-cart-total-row strong {
    font-size: 1.15rem;
}

.package-live-cart-lines {
    display: grid;
    gap: .65rem;
}

.package-live-cart-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.package-live-cart-line:last-child {
    border-bottom: 0;
}

.package-live-cart-line span {
    display: grid;
    gap: .16rem;
    color: var(--text-secondary);
    font-size: .9rem;
}

.package-live-cart-line small {
    color: var(--text-muted);
    font-size: .76rem;
}

.package-live-cart-line strong {
    white-space: nowrap;
}

.package-live-cart-selected {
    display: grid;
    gap: .6rem;
    padding-top: .35rem;
}

.package-live-cart .selected-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.package-live-cart .btn:disabled {
    cursor: not-allowed;
    opacity: .64;
}

@media (max-width: 1199.98px) {
    .package-live-cart {
        position: static;
    }
}

html[data-theme="dark-disabled-light"] .package-live-cart-total-row {
    background: rgba(14, 165, 233, .08);
    border-color: rgba(14, 165, 233, .22);
}

html[data-theme="dark-disabled-light"] .package-live-cart-line {
    border-bottom-color: rgba(15, 23, 42, .08);
}

/* Pass 87: Mobile billing mini cart */
.package-mobile-cart-bar,
.package-mobile-cart-spacer {
    display: none;
}

@media (max-width: 767.98px) {
    .package-mobile-cart-spacer {
        display: block;
        height: calc(5.75rem + env(safe-area-inset-bottom));
    }

    .package-mobile-cart-bar {
        position: fixed;
        right: max(.75rem, env(safe-area-inset-right));
        bottom: calc(.75rem + env(safe-area-inset-bottom));
        left: max(.75rem, env(safe-area-inset-left));
        z-index: 1040;
        display: flex;
        align-items: center;
        gap: .7rem;
        padding: .75rem;
        border: 1px solid rgba(148, 163, 184, .24);
        border-radius: 1.15rem;
        background: rgba(15, 23, 42, .96);
        box-shadow: 0 20px 42px rgba(0, 0, 0, .38);
        backdrop-filter: blur(16px);
    }

    .package-mobile-cart-bar-total {
        display: grid;
        flex: 1;
        min-width: 0;
        gap: .08rem;
    }

    .package-mobile-cart-bar-total span {
        color: var(--text-muted);
        font-size: .66rem;
        font-weight: 900;
        letter-spacing: .08em;
        line-height: 1;
        text-transform: uppercase;
    }

    .package-mobile-cart-bar-total strong {
        overflow: hidden;
        color: var(--text);
        font-size: 1.02rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .package-mobile-cart-bar-total.secondary {
        flex: .78;
    }

    .package-mobile-cart-bar-total.secondary strong {
        color: var(--text-secondary);
        font-size: .92rem;
    }

    .package-mobile-cart-bar-total small {
        overflow: hidden;
        color: var(--text-muted);
        font-size: .68rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .package-mobile-cart-bar.has-unsaved-pricing .package-mobile-cart-bar-total small {
        color: #fde68a;
    }

    .package-mobile-cart-bar .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

html[data-theme="dark-disabled-light"] .package-mobile-cart-bar {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(15, 23, 42, .12);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
}



/* Pass 88: Billing mobile cart bottom sheet and header channel total */
.package-heading-summary {
    display: grid;
    min-width: 13rem;
    gap: .18rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(56, 189, 248, .22);
    border-radius: 1.15rem;
    background: rgba(56, 189, 248, .08);
    text-align: right;
}

.package-heading-summary span {
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.package-heading-summary strong {
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
}

.package-heading-summary small {
    color: var(--text-secondary);
    font-size: .8rem;
}

.package-mobile-cart-sheet {
    position: fixed;
    inset: 0;
    z-index: 1055;
    display: none;
}

.package-mobile-cart-sheet:not([hidden]) {
    display: block;
}

.package-mobile-cart-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .56);
}

.package-mobile-cart-sheet-panel {
    position: absolute;
    right: max(.5rem, env(safe-area-inset-right));
    bottom: max(.5rem, env(safe-area-inset-bottom));
    left: max(.5rem, env(safe-area-inset-left));
    display: grid;
    max-height: min(78vh, 44rem);
    overflow: auto;
    gap: .95rem;
    padding: .8rem;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 1.35rem 1.35rem .95rem .95rem;
    background: rgba(15, 23, 42, .98);
    box-shadow: 0 -24px 60px rgba(0, 0, 0, .46);
    color: var(--text);
    animation: package-mobile-sheet-in .18s ease-out;
}

.package-mobile-cart-sheet-handle {
    justify-self: center;
    width: 2.75rem;
    height: .25rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .55);
}

.package-mobile-cart-sheet-header,
.package-mobile-cart-sheet-totals {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .85rem;
}

.package-mobile-cart-sheet-header span,
.package-mobile-cart-sheet-totals span {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.package-mobile-cart-sheet-header h3 {
    margin: .1rem 0 0;
    font-size: 1.2rem;
}

.package-mobile-cart-sheet-totals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package-mobile-cart-sheet-totals > div {
    display: grid;
    gap: .2rem;
    padding: .8rem;
    border: 1px solid rgba(56, 189, 248, .18);
    border-radius: 1rem;
    background: rgba(56, 189, 248, .08);
}

.package-mobile-cart-sheet-totals strong {
    font-size: 1.1rem;
}

.package-mobile-cart-sheet-lines {
    display: grid;
    gap: .1rem;
    padding: .2rem .15rem;
}

.package-mobile-cart-sheet-section {
    display: grid;
    gap: .55rem;
}

.package-mobile-cart-sheet-section .selected-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.package-mobile-cart-sheet-open {
    overflow: hidden;
}

@keyframes package-mobile-sheet-in {
    from {
        opacity: .88;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .package-mobile-cart-sheet {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .page-heading {
        flex-direction: column;
    }

    .package-heading-summary {
        width: 100%;
        text-align: left;
    }

    .package-mobile-cart-bar {
        gap: .5rem;
    }

    .package-mobile-cart-bar .btn {
        padding-right: .65rem;
        padding-left: .65rem;
    }
}

html[data-theme="dark-disabled-light"] .package-heading-summary,
html[data-theme="dark-disabled-light"] .package-mobile-cart-sheet-totals > div {
    background: rgba(14, 165, 233, .08);
    border-color: rgba(14, 165, 233, .22);
}

html[data-theme="dark-disabled-light"] .package-mobile-cart-sheet-panel {
    background: rgba(255, 255, 255, .98);
    border-color: rgba(15, 23, 42, .12);
    box-shadow: 0 -24px 60px rgba(15, 23, 42, .18);
}

html[data-theme="dark-disabled-light"] .package-mobile-cart-sheet-backdrop {
    background: rgba(15, 23, 42, .34);
}


/* Pass 89: Billing mobile payment action and category channel totals */
.package-heading-summary {
    gap: .7rem;
}

.package-heading-summary-main {
    display: grid;
    gap: .18rem;
}

.package-heading-category-breakdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .35rem;
}

.package-heading-category-chip {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .32rem .48rem;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: var(--text-secondary);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.package-heading-category-chip b,
.package-heading-category-chip i {
    font-style: normal;
    line-height: 1;
}

.package-heading-category-chip b {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.package-heading-category-chip i {
    display: inline-grid;
    min-width: 1.25rem;
    min-height: 1.25rem;
    place-items: center;
    padding: 0 .28rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, .2);
    color: var(--text);
    font-size: .72rem;
    font-weight: 950;
}

.package-heading-category-chip.muted {
    color: var(--text-muted);
}

.package-mobile-cart-sheet-actions {
    position: sticky;
    bottom: -.8rem;
    display: grid;
    gap: .55rem;
    padding: .75rem 0 .1rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .98) 28%);
}

html[data-theme="dark-disabled-light"] .package-heading-category-chip {
    border-color: rgba(15, 23, 42, .1);
    background: rgba(15, 23, 42, .04);
}

html[data-theme="dark-disabled-light"] .package-heading-category-chip i {
    background: rgba(14, 165, 233, .14);
}

html[data-theme="dark-disabled-light"] .package-mobile-cart-sheet-actions {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .98) 28%);
}

@media (max-width: 767.98px) {
    .package-heading-category-breakdown {
        justify-content: flex-start;
    }

    .package-heading-category-chip b {
        max-width: 12rem;
    }
}


/* Multilingual UI + Arabic RTL support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .marketing-brand,
html[dir="rtl"] .marketing-nav-links,
html[dir="rtl"] .app-topbar,
html[dir="rtl"] .page-heading,
html[dir="rtl"] .inbox-thread-header,
html[dir="rtl"] .message-actor,
html[dir="rtl"] .sc-message-status {
    direction: rtl;
}

html[dir="rtl"] .app-sidebar {
    border-right: 0;
    border-left: 1px solid var(--sc-border);
}

html[dir="rtl"] .sidebar-link,
html[dir="rtl"] .mobile-inbox-toolbar,
html[dir="rtl"] .conversation-item,
html[dir="rtl"] .inbox-thread-profile-card {
    text-align: right;
}

html[dir="rtl"] .form-select {
    background-position: left .75rem center;
    padding-right: .75rem;
    padding-left: 2.25rem;
}

html[dir="rtl"] .dropdown-menu {
    text-align: right;
}

.language-switcher .form-select {
    min-width: 8.75rem;
}


/* PASS208: FootballCode public marketing header */
.marketing-nav.footballcode-premium-topbar {
    position: sticky;
    top: clamp(0.5rem, 1vw, 1rem);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.85rem, 1.2vw, 1.35rem);
    width: calc(100% - clamp(1rem, 2vw, 2rem));
    max-width: none;
    min-height: 4.7rem;
    margin-inline: auto;
    margin-bottom: clamp(1rem, 2vw, 1.65rem);
    padding: 0.75rem 1rem;
    overflow: visible;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 1.25rem;
    background: rgba(0, 0, 0, 0.88);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(22px);
}

.marketing-nav.footballcode-premium-topbar::before {
    display: none;
}

.footballcode-marketing-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    color: #ffffff;
}

.footballcode-marketing-lockup:hover,
.footballcode-marketing-lockup:focus-visible {
    color: #ffffff;
}

.footballcode-logo-image {
    display: block;
    width: clamp(3.15rem, 3.4vw, 4.25rem);
    height: clamp(3.15rem, 3.4vw, 4.25rem);
    flex: 0 0 auto;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 0.65rem 1.45rem rgba(53, 217, 174, 0.18));
}

.footballcode-brand-copy {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
    line-height: 1.05;
}

.footballcode-brand-name {
    color: #ffffff;
    font-size: clamp(1.05rem, 1.08vw, 1.25rem);
    font-weight: 950;
    letter-spacing: -0.035em;
}

.footballcode-brand-subtitle {
    color: rgba(248, 250, 252, 0.84);
    font-size: clamp(0.78rem, 0.8vw, 0.9rem);
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.marketing-nav.footballcode-premium-topbar .brand-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.85rem, 1.05vw, 1.25rem);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 850;
}

.marketing-nav.footballcode-premium-topbar .brand-nav a:not(.brand-nav-cta):not(.btn) {
    color: rgba(255, 255, 255, 0.94);
    white-space: nowrap;
}

.marketing-nav.footballcode-premium-topbar .brand-nav a:not(.brand-nav-cta):not(.btn):hover,
.marketing-nav.footballcode-premium-topbar .brand-nav a:not(.brand-nav-cta):not(.btn):focus-visible {
    color: #ffffff;
}

.marketing-nav.footballcode-premium-topbar .brand-nav-primary,
.marketing-nav.footballcode-premium-topbar .brand-nav a.brand-nav-primary {
    color: #03100b !important;
    border-color: rgba(126, 231, 192, 0.62);
    background: linear-gradient(135deg, #8fffd8, #35d9ae);
    font-weight: 950;
    box-shadow: 0 0.95rem 2rem rgba(38, 194, 129, 0.34);
}

.marketing-nav.footballcode-premium-topbar .brand-nav-primary:hover,
.marketing-nav.footballcode-premium-topbar .brand-nav-primary:focus-visible {
    color: #03100b !important;
    border-color: rgba(216, 255, 240, 0.82);
    background: linear-gradient(135deg, #d8fff0, #7ee7c0);
}

.marketing-nav.footballcode-premium-topbar .marketing-theme-toggle,
.marketing-nav.footballcode-premium-topbar .language-switcher .form-select,
.marketing-nav.footballcode-premium-topbar .marketing-nav-toggle {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.06);
}

.marketing-nav.footballcode-premium-topbar .language-switcher .form-select option {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.88);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .marketing-nav-toggle,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .marketing-nav-links,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .marketing-theme-toggle,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .language-switcher .form-select {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .marketing-nav-links a:not(.btn) {
    color: rgba(255, 255, 255, 0.94);
    background: transparent;
    border-color: transparent;
}

@media (min-width: 992px) {
    .marketing-nav.footballcode-premium-topbar .marketing-nav-links {
        width: auto;
        margin-left: auto;
    }
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        top: 0.5rem;
        min-height: auto;
        padding: 0.7rem 0.85rem;
    }

    .footballcode-brand-name {
        font-size: 1rem;
    }

    .footballcode-brand-subtitle {
        overflow: hidden;
        max-width: 13rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .marketing-nav.footballcode-premium-topbar .marketing-nav-links {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(3, 9, 8, 0.96);
        scrollbar-width: thin;
    }

    .marketing-nav.footballcode-premium-topbar .marketing-nav-links a:not(.btn) {
        color: rgba(255, 255, 255, 0.94);
    }
}

@media (max-width: 575.98px) {
    .marketing-nav.footballcode-premium-topbar {
        width: calc(100% - 1rem);
        border-radius: 1.15rem;
    }

    .footballcode-logo-image {
        width: 3rem;
        height: 3rem;
    }

    .footballcode-brand-subtitle {
        max-width: 9.5rem;
        font-size: 0.72rem;
    }
}

/* PASS209: FootballCode landing hero visual refresh. */
.footballcode-saas-hero {
    position: relative;
    min-height: 42rem;
    margin-top: clamp(1.25rem, 3vw, 3rem);
    padding: clamp(1.35rem, 4vw, 4.5rem);
    overflow: hidden;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 78% 10%, rgba(78, 124, 255, .20), transparent 24rem),
        radial-gradient(circle at 18% 78%, rgba(53, 217, 174, .14), transparent 22rem),
        linear-gradient(135deg, rgba(9, 19, 24, .96), rgba(3, 7, 9, .90));
    box-shadow: 0 2rem 5.5rem rgba(0, 0, 0, .28);
}

.footballcode-hero-bg {
    position: absolute;
    inset: auto -8rem -12rem auto;
    width: 34rem;
    height: 34rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(53, 217, 174, .18), transparent 68%);
    pointer-events: none;
}

.footballcode-saas-hero-content,
.footballcode-hero-visual {
    position: relative;
    z-index: 1;
}

.footballcode-saas-hero .hero-content h1 {
    max-width: 62rem;
    margin: 0;
    font-size: clamp(3rem, 6.2vw, 6rem);
    font-weight: 950;
    letter-spacing: -.07em;
    line-height: .96;
    text-wrap: balance;
}

.footballcode-saas-hero .landing-lead {
    max-width: 58rem;
    margin: 1.35rem 0 0;
    color: rgba(248, 250, 252, .74);
    font-size: clamp(1rem, 1.65vw, 1.24rem);
    line-height: 1.75;
}

.footballcode-hero-badge,
.corporate-hero-badge.footballcode-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: fit-content;
    margin-bottom: 1rem;
    padding: .5rem .75rem;
    border: 1px solid rgba(53, 217, 174, .22);
    border-radius: 999px;
    color: #4ce0a6;
    background: rgba(53, 217, 174, .11);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footballcode-saas-hero .landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.footballcode-hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1.75rem;
}

.footballcode-hero-proof-grid > div {
    min-height: 8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 .85rem 2rem rgba(0, 0, 0, .16);
}

.footballcode-hero-proof-grid span,
.footballcode-hero-proof-grid small {
    display: block;
    color: rgba(248, 250, 252, .68);
    font-size: .84rem;
}

.footballcode-hero-proof-grid strong {
    display: block;
    margin: .2rem 0;
    color: #f8fafc;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 950;
    letter-spacing: -.045em;
}

.footballcode-saas-hero .hero-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .65rem;
}

.footballcode-saas-hero .hero-area-tags span {
    display: inline-flex;
    align-items: center;
    padding: .34rem .62rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(255, 255, 255, .075);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.1;
}

.footballcode-dashboard-window {
    width: min(100%, 44rem);
    margin-left: auto;
    padding: 1rem;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at 90% 0%, rgba(76, 224, 166, .20), transparent 18rem),
        linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, .28);
    color: #0f172a;
}

.dashboard-window-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem .35rem 1rem;
}

.dashboard-window-top strong,
.visual-kicker {
    display: block;
}

.dashboard-window-top strong {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.visual-kicker {
    color: #64748b;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: .4rem .65rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-success {
    color: #06623c;
    background: rgba(38, 194, 129, .16);
    border: 1px solid rgba(38, 194, 129, .25);
}

.footballcode-dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr .8fr .8fr;
    gap: .75rem;
}

.dash-card {
    min-height: 7rem;
    padding: 1rem;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 1.15rem;
    background: #fff;
}

.dash-card.big {
    background:
        radial-gradient(circle at 90% 10%, rgba(53, 217, 174, .12), transparent 9rem),
        #fff;
}

.dash-card span,
.dash-card small {
    display: block;
    color: #64748b;
    font-size: .84rem;
}

.dash-card strong {
    display: block;
    margin: .35rem 0 .15rem;
    color: #0f172a;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 950;
    letter-spacing: -.06em;
}

.footballcode-conversation-flow {
    display: grid;
    gap: .75rem;
    margin-top: .85rem;
}

.footballcode-message-card {
    padding: .95rem;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, .72);
}

.footballcode-message-card.ai {
    background:
        radial-gradient(circle at 100% 0%, rgba(78, 124, 255, .10), transparent 12rem),
        rgba(248, 250, 252, .92);
}

.footballcode-message-card span {
    display: block;
    color: #64748b;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footballcode-message-card p {
    margin: .32rem 0 0;
    color: #0f172a;
    font-size: .95rem;
    line-height: 1.5;
}

.footballcode-mode-pipeline,
.suite-pipeline.footballcode-mode-pipeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .9rem;
}

.suite-pipeline-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .2rem .65rem;
    align-items: center;
    min-height: 5.35rem;
    padding: .95rem;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 1.05rem;
    color: #0f172a;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 .85rem 2rem rgba(15, 23, 42, .06);
}

.suite-pipeline-item > span {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: .85rem;
    color: #fff;
    background: linear-gradient(135deg, #4e7cff, #35d9ae);
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.suite-pipeline-item.social > span {
    background: linear-gradient(135deg, #26c281, #0d6efd);
}

.suite-pipeline-item strong,
.suite-pipeline-item small {
    display: block;
    min-width: 0;
}

.suite-pipeline-item strong {
    color: #0f172a;
    font-size: .98rem;
    font-weight: 950;
}

.suite-pipeline-item small {
    color: #64748b;
    font-size: .78rem;
    line-height: 1.35;
}

html[data-theme="dark-disabled-light"] .footballcode-saas-hero {
    border-color: rgba(226, 232, 240, .9);
    background:
        radial-gradient(circle at 78% 10%, rgba(78, 124, 255, .16), transparent 24rem),
        radial-gradient(circle at 18% 78%, rgba(53, 217, 174, .12), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .92));
    box-shadow: 0 2rem 5.5rem rgba(15, 23, 42, .08);
}

html[data-theme="dark-disabled-light"] .footballcode-saas-hero .landing-lead,
html[data-theme="dark-disabled-light"] .footballcode-hero-proof-grid span,
html[data-theme="dark-disabled-light"] .footballcode-hero-proof-grid small {
    color: var(--sc-muted);
}

html[data-theme="dark-disabled-light"] .footballcode-hero-proof-grid > div {
    border-color: rgba(226, 232, 240, .95);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .04);
}

html[data-theme="dark-disabled-light"] .footballcode-hero-proof-grid strong,
html[data-theme="dark-disabled-light"] .footballcode-saas-hero .hero-area-tags span {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .footballcode-saas-hero .hero-area-tags span {
    border-color: rgba(15, 23, 42, .1);
    background: rgba(15, 23, 42, .06);
}

html[data-theme="dark-disabled-light"] .footballcode-saas-hero .btn-outline-light {
    color: #0f172a;
    border-color: rgba(15, 23, 42, .18);
    background: rgba(255, 255, 255, .72);
}

@media (max-width: 1199.98px) {
    .footballcode-saas-hero {
        grid-template-columns: 1fr;
    }

    .footballcode-dashboard-window {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .footballcode-saas-hero {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 1.35rem;
    }

    .footballcode-saas-hero .hero-content h1 {
        font-size: clamp(2.55rem, 8vw, 4.5rem);
    }

    .footballcode-hero-proof-grid,
    .footballcode-dashboard-grid,
    .footballcode-mode-pipeline,
    .suite-pipeline.footballcode-mode-pipeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .footballcode-saas-hero {
        width: calc(100% - 1rem);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1.15rem;
    }

    .footballcode-saas-hero .landing-actions .btn {
        width: 100%;
    }

    .footballcode-dashboard-window {
        padding: .75rem;
        border-radius: 1.25rem;
    }

    .dashboard-window-top {
        flex-direction: column;
    }
}


/* PASS210: premium card language for landing sections below the hero. */
.premium-section,
.footballcode-stats-section,
.footballcode-premium-cta {
    width: min(100% - 2rem, 1480px);
    margin-inline: auto;
}

.landing-section-header,
.footballcode-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.2rem;
}

.footballcode-section-header h2 {
    max-width: 58rem;
    margin: .3rem 0 0;
    color: #f8fafc;
    font-size: clamp(1.75rem, 3.2vw, 3.2rem);
    font-weight: 950;
    letter-spacing: -.06em;
    line-height: 1.02;
    text-wrap: balance;
}

.footballcode-section-header p,
.footballcode-section-note {
    max-width: 42rem;
    margin: .75rem 0 0;
    color: rgba(248, 250, 252, .68);
    line-height: 1.75;
}

.footballcode-section-note {
    max-width: 24rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .095);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .14);
}

.landing-kicker,
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: #4ce0a6;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.footballcode-platform-premium-grid {
    display: grid;
    grid-template-columns: minmax(280px, .38fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.footballcode-platform-copy-card,
.footballcode-platform-panel,
.footballcode-premium-cta,
.premium-stat-card,
.visual-module-card.premium-module {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .105);
    background:
        radial-gradient(circle at 14% 0%, rgba(76, 224, 166, .12), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .075);
}

.footballcode-platform-copy-card,
.footballcode-platform-panel {
    border-radius: 1.65rem;
}

.footballcode-platform-copy-card {
    display: grid;
    align-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.45rem);
}

.footballcode-proof-list {
    display: grid;
    gap: .7rem;
}

.footballcode-proof-list span {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: .78rem .85rem;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 1rem;
    color: rgba(248, 250, 252, .78);
    background: rgba(2, 6, 8, .32);
    line-height: 1.45;
}

.footballcode-platform-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.footballcode-platform-metrics div {
    min-height: 6.25rem;
    padding: .85rem;
    border: 1px solid rgba(255, 255, 255, .095);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .045);
}

.footballcode-platform-metrics strong {
    display: block;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 950;
    letter-spacing: -.06em;
}

.footballcode-platform-metrics span {
    display: block;
    margin-top: .25rem;
    color: rgba(248, 250, 252, .62);
    font-size: .82rem;
    line-height: 1.35;
}

.footballcode-platform-panel {
    padding: clamp(.9rem, 1.8vw, 1.2rem);
}

.footballcode-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem .35rem 1rem;
}

.footballcode-panel-header strong {
    display: block;
    max-width: 38rem;
    color: #f8fafc;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 950;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.footballcode-premium-platform-grid {
    grid-template-columns: repeat(7, minmax(86px, 1fr));
}

.platform-logo-item.footballcode-channel-card {
    min-height: 8rem;
    border-color: rgba(255, 255, 255, .095);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, .08), transparent 7rem),
        rgba(2, 6, 8, .46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.platform-logo-item.footballcode-channel-card:hover {
    transform: translateY(-2px);
    border-color: rgba(76, 224, 166, .28);
    background:
        radial-gradient(circle at 80% 0%, rgba(76, 224, 166, .13), transparent 7rem),
        rgba(2, 6, 8, .56);
}

.visual-module-grid,
.footballcode-premium-module-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.visual-module-card.premium-module,
.footballcode-module-card {
    min-height: 13rem;
    padding: 1.25rem;
    border-radius: 1.35rem;
}

.visual-module-card.premium-module::after,
.footballcode-premium-cta::after,
.footballcode-platform-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 28%, rgba(76, 224, 166, .055));
    opacity: .65;
}

.visual-module-card.premium-module > *,
.footballcode-premium-cta > *,
.footballcode-platform-panel > * {
    position: relative;
    z-index: 1;
}

.visual-module-card.premium-module .module-icon {
    background: linear-gradient(135deg, rgba(76, 224, 166, .18), rgba(78, 124, 255, .14));
    box-shadow: 0 .8rem 2rem rgba(76, 224, 166, .1);
}

.visual-module-card.premium-module h3 {
    color: #f8fafc;
}

.visual-module-card.premium-module p {
    color: rgba(248, 250, 252, .66);
    line-height: 1.6;
}

.footballcode-stats-heading {
    max-width: 960px;
}

.premium-stats-grid {
    width: 100%;
    gap: 1rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.premium-stat-card {
    min-height: 8.75rem;
    display: grid;
    align-content: center;
    border-right: 1px solid rgba(255, 255, 255, .105);
    border-radius: 1.25rem;
}

.premium-stat-card strong {
    color: #f8fafc;
}

.premium-stat-card span {
    color: rgba(248, 250, 252, .64);
}

.footballcode-premium-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.7rem;
}

.footballcode-premium-cta h2 {
    max-width: 52rem;
    margin: .35rem 0 0;
    color: #f8fafc;
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: 1.05;
}

.footballcode-premium-cta p {
    max-width: 52rem;
    margin: .8rem 0 0;
    color: rgba(248, 250, 252, .68);
    line-height: 1.75;
}

.footballcode-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .75rem;
}

html[data-theme="dark-disabled-light"] .footballcode-section-header h2,
html[data-theme="dark-disabled-light"] .footballcode-panel-header strong,
html[data-theme="dark-disabled-light"] .visual-module-card.premium-module h3,
html[data-theme="dark-disabled-light"] .premium-stat-card strong,
html[data-theme="dark-disabled-light"] .footballcode-premium-cta h2,
html[data-theme="dark-disabled-light"] .footballcode-platform-metrics strong {
    color: var(--sc-text);
}

html[data-theme="dark-disabled-light"] .footballcode-section-header p,
html[data-theme="dark-disabled-light"] .footballcode-section-note,
html[data-theme="dark-disabled-light"] .footballcode-proof-list span,
html[data-theme="dark-disabled-light"] .footballcode-platform-metrics span,
html[data-theme="dark-disabled-light"] .visual-module-card.premium-module p,
html[data-theme="dark-disabled-light"] .premium-stat-card span,
html[data-theme="dark-disabled-light"] .footballcode-premium-cta p {
    color: var(--sc-muted);
}

html[data-theme="dark-disabled-light"] .footballcode-platform-copy-card,
html[data-theme="dark-disabled-light"] .footballcode-platform-panel,
html[data-theme="dark-disabled-light"] .footballcode-premium-cta,
html[data-theme="dark-disabled-light"] .premium-stat-card,
html[data-theme="dark-disabled-light"] .visual-module-card.premium-module,
html[data-theme="dark-disabled-light"] .footballcode-section-note,
html[data-theme="dark-disabled-light"] .platform-logo-item.footballcode-channel-card {
    border-color: rgba(15, 23, 42, .1);
    background:
        radial-gradient(circle at 14% 0%, rgba(76, 224, 166, .10), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .78));
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
}

html[data-theme="dark-disabled-light"] .footballcode-proof-list span,
html[data-theme="dark-disabled-light"] .footballcode-platform-metrics div {
    border-color: rgba(15, 23, 42, .1);
    background: rgba(255, 255, 255, .72);
}

html[data-theme="dark-disabled-light"] .footballcode-premium-cta .btn-outline-light {
    color: var(--sc-text);
    border-color: rgba(15, 23, 42, .16);
    background: rgba(255, 255, 255, .72);
}

@media (max-width: 1199.98px) {
    .footballcode-platform-premium-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-premium-platform-grid,
    .visual-module-grid,
    .footballcode-premium-module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footballcode-premium-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .footballcode-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .landing-section-header,
    .footballcode-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .footballcode-section-note {
        max-width: none;
    }

    .footballcode-premium-platform-grid,
    .visual-module-grid,
    .footballcode-premium-module-grid,
    .premium-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-stat-card {
        border-right: 1px solid rgba(255, 255, 255, .105);
        border-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .premium-section,
    .footballcode-stats-section,
    .footballcode-premium-cta {
        width: calc(100% - 1rem);
    }

    .footballcode-platform-metrics,
    .footballcode-premium-platform-grid,
    .visual-module-grid,
    .footballcode-premium-module-grid,
    .premium-stats-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-panel-header {
        flex-direction: column;
    }

    .footballcode-premium-cta .btn {
        width: 100%;
    }
}


/* PASS211: public landing screenshot QA polish for header and cards. */
.marketing-body {
    overflow-x: hidden;
}

.marketing-nav {
    width: min(calc(100% - clamp(1rem, 2.4vw, 2.25rem)), 1480px);
}

.footballcode-saas-hero,
.premium-section,
.footballcode-stats-section,
.footballcode-premium-cta {
    scroll-margin-top: 7rem;
}

.footballcode-saas-hero {
    gap: clamp(1.25rem, 3vw, 3rem);
}

.footballcode-dashboard-window,
.footballcode-platform-copy-card,
.footballcode-platform-panel,
.visual-module-card.premium-module,
.premium-stat-card,
.footballcode-premium-cta {
    transform: translateZ(0);
}

.footballcode-dashboard-window:hover,
.footballcode-platform-panel:hover,
.visual-module-card.premium-module:hover,
.premium-stat-card:hover {
    border-color: rgba(76, 224, 166, .26);
}

.footballcode-channel-card strong,
.footballcode-channel-card small,
.visual-module-card.premium-module h3,
.visual-module-card.premium-module p {
    overflow-wrap: anywhere;
}

.footballcode-channel-card {
    isolation: isolate;
}

.footballcode-channel-card .platform-logo-tile {
    flex: 0 0 auto;
}

.footballcode-premium-cta {
    min-height: 13rem;
}

.footballcode-cta-actions .btn,
.footballcode-saas-hero .landing-actions .btn {
    min-width: 12.5rem;
}

.marketing-nav a:focus-visible,
.marketing-nav button:focus-visible,
.footballcode-saas-hero a:focus-visible,
.footballcode-premium-cta a:focus-visible {
    outline: 3px solid rgba(76, 224, 166, .75);
    outline-offset: 3px;
}

@media (min-width: 1400px) {
    .footballcode-saas-hero,
    .premium-section,
    .footballcode-stats-section,
    .footballcode-premium-cta {
        width: min(calc(100% - 3rem), 1480px);
    }
}

@media (max-width: 991.98px) {
    .marketing-nav {
        width: min(calc(100% - 1rem), 1480px);
    }

    .footballcode-saas-hero,
    .premium-section,
    .footballcode-stats-section,
    .footballcode-premium-cta {
        width: min(calc(100% - 1rem), 1480px);
    }

    .footballcode-dashboard-window {
        width: 100%;
    }

    .footballcode-section-header h2,
    .footballcode-premium-cta h2 {
        text-wrap: balance;
    }
}

@media (max-width: 767.98px) {
    .footballcode-saas-hero {
        margin-top: .75rem;
    }

    .footballcode-hero-proof-grid > div,
    .footballcode-platform-copy-card,
    .footballcode-platform-panel,
    .visual-module-card.premium-module,
    .premium-stat-card,
    .footballcode-premium-cta {
        border-radius: 1.1rem;
    }

    .footballcode-platform-metrics div,
    .dash-card,
    .suite-pipeline-item,
    .footballcode-message-card {
        min-height: auto;
    }

    .footballcode-premium-cta {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .marketing-nav {
        top: .35rem;
    }

    .footballcode-saas-hero,
    .premium-section,
    .footballcode-stats-section,
    .footballcode-premium-cta {
        width: calc(100% - .75rem);
    }

    .footballcode-saas-hero .hero-content h1 {
        font-size: clamp(2.25rem, 13vw, 3.6rem);
        letter-spacing: -.075em;
    }

    .footballcode-section-header h2,
    .footballcode-premium-cta h2 {
        font-size: clamp(1.65rem, 10vw, 2.45rem);
        letter-spacing: -.055em;
    }

    .footballcode-dashboard-grid,
    .footballcode-mode-pipeline,
    .suite-pipeline.footballcode-mode-pipeline,
    .footballcode-platform-metrics,
    .footballcode-premium-platform-grid,
    .visual-module-grid,
    .footballcode-premium-module-grid,
    .premium-stats-grid {
        gap: .72rem;
    }

    .footballcode-cta-actions,
    .footballcode-saas-hero .landing-actions {
        width: 100%;
    }

    .footballcode-cta-actions .btn,
    .footballcode-saas-hero .landing-actions .btn {
        min-width: 0;
    }
}


/* PASS212: landing screenshot QA polish for header, hero and premium card sections. */
.marketing-nav.footballcode-premium-topbar {
    max-width: 1480px;
    contain: paint;
}

.marketing-nav.footballcode-premium-topbar .marketing-nav-links {
    min-width: 0;
}

.marketing-nav.footballcode-premium-topbar .marketing-nav-links a,
.marketing-nav.footballcode-premium-topbar .marketing-nav-links button,
.marketing-nav.footballcode-premium-topbar .marketing-nav-links .form-select {
    flex-shrink: 0;
}

.footballcode-saas-hero,
.premium-section,
.footballcode-stats-section,
.footballcode-premium-cta {
    max-width: 1480px;
}

.footballcode-saas-hero .landing-lead,
.footballcode-section-header p,
.footballcode-premium-cta p {
    max-width: 72ch;
}

.footballcode-dashboard-window {
    max-width: 100%;
}

.footballcode-message-card p,
.suite-pipeline-item strong,
.suite-pipeline-item small,
.footballcode-proof-list span,
.footballcode-platform-metrics span,
.premium-stat-card span {
    overflow-wrap: anywhere;
}

.platform-logo-item.footballcode-channel-card {
    min-width: 0;
}

.platform-logo-item.footballcode-channel-card strong,
.platform-logo-item.footballcode-channel-card small {
    max-width: 100%;
}

.footballcode-premium-platform-grid {
    align-items: stretch;
}

.footballcode-premium-platform-grid > * {
    height: 100%;
}

.premium-stat-card:last-child {
    border-right-color: rgba(255, 255, 255, .105);
}

html[data-theme="dark-disabled-light"] .premium-stat-card:last-child {
    border-right-color: rgba(15, 23, 42, .1);
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .marketing-nav.footballcode-premium-topbar .marketing-nav-links {
        gap: .55rem;
    }

    .marketing-nav.footballcode-premium-topbar .marketing-nav-links a:not(.btn),
    .marketing-nav.footballcode-premium-topbar .marketing-theme-toggle,
    .marketing-nav.footballcode-premium-topbar .language-switcher .form-select {
        font-size: .84rem;
    }
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar {
        overflow: hidden;
    }

    .marketing-nav.footballcode-premium-topbar.is-open {
        overflow: visible;
    }

    .marketing-nav.footballcode-premium-topbar .marketing-nav-links {
        max-height: min(72vh, 34rem);
        padding: .75rem;
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 1rem;
    }

    .marketing-nav.footballcode-premium-topbar .marketing-nav-links a:not(.btn),
    .marketing-nav.footballcode-premium-topbar .marketing-nav-links .btn,
    .marketing-nav.footballcode-premium-topbar .marketing-theme-toggle,
    .marketing-nav.footballcode-premium-topbar .language-switcher,
    .marketing-nav.footballcode-premium-topbar .language-switcher .form-select {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footballcode-saas-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .footballcode-hero-visual {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .footballcode-saas-hero {
        padding: clamp(1rem, 6vw, 1.35rem);
    }

    .footballcode-saas-hero .landing-lead,
    .footballcode-section-header p,
    .footballcode-premium-cta p {
        line-height: 1.65;
    }

    .footballcode-dashboard-window,
    .footballcode-platform-copy-card,
    .footballcode-platform-panel,
    .footballcode-premium-cta {
        padding: 1rem;
    }

    .footballcode-hero-proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .footballcode-marketing-lockup {
        gap: .65rem;
    }

    .footballcode-logo-image {
        width: 2.75rem;
        height: 2.75rem;
    }

    .footballcode-brand-subtitle {
        max-width: 7.75rem;
    }

    .footballcode-saas-hero .hero-content h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .footballcode-saas-hero,
    .premium-section,
    .footballcode-stats-section,
    .footballcode-premium-cta {
        width: calc(100% - .5rem);
    }
}


/* PASS213: final landing screenshot QA polish after desktop/mobile visual review criteria. */
.marketing-nav.footballcode-premium-topbar {
    width: min(calc(100% - clamp(1rem, 2.5vw, 2.5rem)), 1480px);
    min-width: 0;
}

.marketing-nav.footballcode-premium-topbar .brand-nav {
    min-width: 0;
    flex-wrap: nowrap;
}

.marketing-nav.footballcode-premium-topbar .brand-nav-cta {
    white-space: nowrap;
}

.footballcode-saas-hero,
.premium-section,
.footballcode-stats-section,
.footballcode-premium-cta {
    width: min(calc(100% - clamp(1rem, 2.5vw, 2.5rem)), 1480px);
}

.footballcode-saas-hero-content,
.footballcode-hero-visual,
.footballcode-dashboard-window,
.footballcode-platform-copy-card,
.footballcode-platform-panel,
.visual-module-card.premium-module,
.premium-stat-card {
    min-width: 0;
}

.footballcode-dashboard-window,
.footballcode-platform-panel,
.visual-module-card.premium-module,
.premium-stat-card,
.footballcode-premium-cta {
    backface-visibility: hidden;
}

.footballcode-dashboard-grid,
.footballcode-premium-platform-grid,
.footballcode-premium-module-grid,
.premium-stats-grid {
    min-width: 0;
}

.footballcode-saas-hero .hero-content h1,
.footballcode-section-header h2,
.footballcode-premium-cta h2 {
    overflow-wrap: anywhere;
}

.footballcode-saas-hero .landing-actions,
.footballcode-cta-actions {
    align-items: stretch;
}

@media (min-width: 992px) and (max-width: 1240px) {
    .marketing-nav.footballcode-premium-topbar {
        gap: .75rem;
        padding-inline: .85rem;
    }

    .marketing-nav.footballcode-premium-topbar .brand-nav {
        gap: .5rem;
    }

    .marketing-nav.footballcode-premium-topbar .brand-nav a:not(.btn),
    .marketing-nav.footballcode-premium-topbar .marketing-theme-toggle,
    .marketing-nav.footballcode-premium-topbar .language-switcher .form-select {
        font-size: .78rem;
    }

    .footballcode-brand-subtitle {
        max-width: 10.5rem;
    }
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.is-open {
        border-bottom-left-radius: 1.35rem;
        border-bottom-right-radius: 1.35rem;
    }

    .marketing-nav.footballcode-premium-topbar .brand-nav {
        flex-wrap: wrap;
    }

    .marketing-nav.footballcode-premium-topbar .marketing-nav-links {
        width: 100%;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .footballcode-saas-hero,
    .premium-section,
    .footballcode-stats-section,
    .footballcode-premium-cta {
        width: min(calc(100% - 1rem), 1480px);
    }

    .footballcode-dashboard-window {
        margin-inline: auto;
    }
}

@media (max-width: 575.98px) {
    .marketing-nav.footballcode-premium-topbar {
        width: calc(100% - max(.75rem, env(safe-area-inset-left) + env(safe-area-inset-right)));
        padding: .68rem .75rem;
    }

    .marketing-nav.footballcode-premium-topbar .marketing-nav-toggle {
        min-height: 2.55rem;
    }

    .footballcode-saas-hero,
    .premium-section,
    .footballcode-stats-section,
    .footballcode-premium-cta {
        width: calc(100% - .75rem);
    }

    .footballcode-saas-hero .landing-actions .btn,
    .footballcode-cta-actions .btn {
        width: 100%;
    }

    .footballcode-dashboard-window,
    .footballcode-platform-copy-card,
    .footballcode-platform-panel,
    .visual-module-card.premium-module,
    .premium-stat-card,
    .footballcode-premium-cta {
        box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .22);
    }
}

@media (max-width: 360px) {
    .footballcode-brand-subtitle {
        display: none;
    }

    .footballcode-saas-hero .hero-content h1 {
        font-size: clamp(1.9rem, 11.5vw, 2.65rem);
    }
}

/* Pass 217: compact FootballCode brand/header/footer alignment */
:root {
    --footballcode-logo-size: 2.75rem;
    --footballcode-logo-radius: 1rem;
    --footballcode-logo-padding: 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    color: inherit;
}

.brand-lockup:hover,
.brand-lockup:focus-visible {
    color: inherit;
}

.brand-wordmark,
.footballcode-brand-copy {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
    line-height: 1.04;
}

.codebw-logo-image,
.brand-mark-image,
.site-footer-logo {
    box-sizing: border-box;
    display: block;
    width: var(--footballcode-logo-size);
    height: var(--footballcode-logo-size);
    flex: 0 0 auto;
    padding: var(--footballcode-logo-padding);
    border-radius: var(--footballcode-logo-radius);
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}

.codebw-brand,
.footballcode-brand-name {
    display: block;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footballcode-product-brand,
.footballcode-brand-subtitle {
    display: block;
    margin-top: 0.06rem;
    color: #4ce0a6;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-transform: none;
}

.sidebar-brand.footballcode-app-lockup {
    min-height: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.sidebar-brand.footballcode-app-lockup .footballcode-brand-name {
    color: #ffffff;
}

.sidebar-brand.footballcode-app-lockup .footballcode-brand-subtitle {
    color: rgba(248, 250, 252, 0.68);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.07);
}

.user-chip-icon {
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 1.45rem;
    border-radius: 999px;
    color: #03100b;
    background: linear-gradient(135deg, #35d9ae, #26c281);
    font-size: 0.62rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.45rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.status-neutral {
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(148, 163, 184, 0.15);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar {
    position: sticky;
    top: clamp(0.5rem, 1vw, 1rem);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: calc(100% - clamp(1rem, 2vw, 2rem));
    margin-inline: auto;
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.1rem;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 1.25rem;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-logo-image {
    width: var(--footballcode-logo-size);
    height: var(--footballcode-logo-size);
    border-radius: var(--footballcode-logo-radius);
    filter: none;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name {
    color: #ffffff;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle {
    color: rgba(248, 250, 252, 0.68);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.92rem;
    font-weight: 750;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn) {
    color: rgba(248, 250, 252, 0.72);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn):hover,
.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn):focus-visible {
    color: #ffffff;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav-primary {
    color: #03100b !important;
    border: 1px solid rgba(76, 224, 166, 0.38);
    background: linear-gradient(135deg, #35d9ae, #26c281);
    font-weight: 950;
    box-shadow: 0 0.95rem 2rem rgba(38, 194, 129, 0.25);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-theme-toggle,
.marketing-nav.footballcode-premium-topbar.brand-topbar .language-switcher .form-select,
.marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle {
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .language-switcher .form-select option {
    color: #0f172a;
}

.site-footer.marketing-footer {
    width: min(calc(100% - 2rem), 1180px);
    max-width: none;
    margin: 2rem auto clamp(1rem, 3vw, 2rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 1.75rem;
    color: rgba(248, 250, 252, 0.72);
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.12), transparent 22rem),
        rgba(255, 255, 255, 0.055);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(8.5rem, 0.8fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: flex-start;
}

.site-footer-brand {
    display: grid;
    gap: 1rem;
    max-width: 31rem;
}

.site-footer-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    width: fit-content;
    color: inherit;
}

.site-footer-lockup:hover,
.site-footer-lockup:focus-visible {
    color: inherit;
}

.site-footer-lockup strong,
.site-footer-lockup small {
    display: block;
}

.site-footer-lockup strong,
.site-footer .codebw-brand {
    color: #ffffff;
}

.site-footer-lockup small,
.site-footer .footballcode-product-brand {
    color: rgba(248, 250, 252, 0.68);
}

.site-footer-brand p {
    margin: 0;
    color: rgba(248, 250, 252, 0.66);
    font-size: 0.95rem;
    line-height: 1.7;
}

.site-footer-column {
    display: grid;
    gap: 0.55rem;
}

.site-footer-column h2 {
    margin: 0 0 0.25rem;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer-column a,
.site-footer-column span {
    width: fit-content;
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
}

.site-footer-column a {
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer-column a:hover,
.site-footer-column a:focus-visible {
    color: #ffffff;
    transform: translateX(0.12rem);
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
    margin-top: clamp(1.25rem, 3vw, 2rem);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.84rem;
    font-weight: 700;
}

.site-footer-bottom-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    align-items: center;
}

.site-footer-bottom-links a {
    color: rgba(248, 250, 252, 0.62);
    font-weight: 800;
}

.site-footer-bottom-links a:hover,
.site-footer-bottom-links a:focus-visible {
    color: #ffffff;
}

.app-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0 0;
    padding: 1rem 1.15rem;
    border: 1px solid var(--sc-border);
    border-radius: 1rem;
    color: var(--sc-muted);
    background: var(--sc-surface);
    font-size: 0.86rem;
    font-weight: 750;
}

.app-footer nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    align-items: center;
}

.app-footer a {
    color: var(--sc-muted);
    font-weight: 850;
}

.app-footer a:hover,
.app-footer a:focus-visible {
    color: #ffffff;
}

.auth-footer {
    width: min(100%, 440px);
}

.auth-card .brand-logo {
    width: var(--footballcode-logo-size);
    height: var(--footballcode-logo-size);
    border-radius: var(--footballcode-logo-radius);
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar {
    color: #0f172a;
    border-color: rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.06);
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name,
html[data-theme="dark-disabled-light"] .site-footer-lockup strong,
html[data-theme="dark-disabled-light"] .site-footer .codebw-brand,
html[data-theme="dark-disabled-light"] .site-footer-column h2 {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .site-footer-lockup small,
html[data-theme="dark-disabled-light"] .site-footer .footballcode-product-brand {
    color: #168a5a;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn),
html[data-theme="dark-disabled-light"] .site-footer-brand p,
html[data-theme="dark-disabled-light"] .site-footer-column a,
html[data-theme="dark-disabled-light"] .site-footer-column span,
html[data-theme="dark-disabled-light"] .site-footer-bottom,
html[data-theme="dark-disabled-light"] .site-footer-bottom-links a {
    color: #64748b;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn):hover,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn):focus-visible,
html[data-theme="dark-disabled-light"] .site-footer-column a:hover,
html[data-theme="dark-disabled-light"] .site-footer-column a:focus-visible,
html[data-theme="dark-disabled-light"] .site-footer-bottom-links a:hover,
html[data-theme="dark-disabled-light"] .site-footer-bottom-links a:focus-visible {
    color: #168a5a;
}

html[data-theme="dark-disabled-light"] .site-footer.marketing-footer {
    border-color: rgba(226, 232, 240, 0.9);
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.12), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.88));
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.06);
}

html[data-theme="dark-disabled-light"] .site-footer-bottom {
    border-top-color: rgba(226, 232, 240, 0.95);
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        top: 0.5rem;
        padding: 0.75rem 0.85rem;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav {
        width: 100%;
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .site-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle {
        overflow: hidden;
        max-width: 12.5rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-footer.marketing-footer {
        width: min(calc(100% - 1rem), 1180px);
        margin-bottom: calc(0.75rem + env(safe-area-inset-bottom));
        padding: 1rem;
        border-radius: 1.35rem;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .site-footer-column {
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    html[data-theme="dark-disabled-light"] .site-footer-column {
        border-top-color: rgba(226, 232, 240, 0.85);
    }

    .site-footer-column a {
        display: inline-flex;
        align-items: center;
        min-height: 2.15rem;
    }

    .site-footer-bottom {
        display: grid;
        justify-content: stretch;
    }

    .app-footer,
    .app-footer nav {
        width: 100%;
    }

    .app-footer nav {
        justify-content: center;
    }

    .app-footer {
        display: grid;
        margin-bottom: calc(0.75rem + env(safe-area-inset-bottom));
        text-align: center;
    }
}



/* PASS 217.1: Header/footer edge alignment and compact brand lockup for FootballCode AI. */
.marketing-nav.footballcode-premium-topbar.brand-topbar,
.site-footer.marketing-footer {
    width: calc(100% - clamp(0.5rem, 0.9vw, 0.9rem));
    max-width: none;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar {
    margin-inline: auto;
}

.site-footer.marketing-footer {
    margin-inline: auto;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-lockup,
.site-footer.marketing-footer .site-footer-lockup.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    text-decoration: none;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-logo-image,
.site-footer.marketing-footer .site-footer-logo.codebw-logo-image {
    width: 3.6rem;
    height: 3.6rem;
    flex: 0 0 auto;
    margin: 0;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-copy,
.site-footer.marketing-footer .site-footer-wordmark.codebw-wordmark {
    display: inline-grid;
    justify-items: end;
    width: max-content;
    min-width: 0;
    margin-left: -0.28rem;
    gap: 0.14rem;
    line-height: 1;
    text-align: right;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name,
.site-footer.marketing-footer .site-footer-lockup .codebw-brand {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.02rem, 1.08vw, 1.24rem);
    font-weight: 1000;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: right;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
.site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand {
    display: block;
    margin: 0;
    color: #6ee7b7;
    font-size: clamp(0.88rem, 0.95vw, 1.08rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: right;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer .site-footer-lockup .codebw-brand {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand {
    color: #168a5a;
}

@media (max-width: 575.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar,
    .site-footer.marketing-footer {
        width: calc(100% - 0.35rem);
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-logo-image,
    .site-footer.marketing-footer .site-footer-logo.codebw-logo-image {
        width: 3.2rem;
        height: 3.2rem;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-copy,
    .site-footer.marketing-footer .site-footer-wordmark.codebw-wordmark {
        margin-left: -0.22rem;
        gap: 0.12rem;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name,
    .site-footer.marketing-footer .site-footer-lockup .codebw-brand {
        font-size: 0.98rem;
        letter-spacing: 0.065em;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
    .site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand {
        font-size: 0.88rem;
        letter-spacing: -0.045em;
    }
}


/* PASS 217.2: edge-aligned public containers, customer-facing platform panel polish. */
:root {
    --sc-marketing-page-x: clamp(0.35rem, 0.75vw, 0.75rem);
    --sc-marketing-container-width: calc(100% - (var(--sc-marketing-page-x) + var(--sc-marketing-page-x)));
}

.marketing-body main {
    width: 100%;
}

.marketing-nav,
.marketing-nav.footballcode-premium-topbar.brand-topbar,
.hero-section,
.hero-section.hero-section-wide,
.footballcode-saas-hero,
.marketing-section,
.premium-section,
.marketing-page,
.cta-section,
.thanks-page,
.demo-page,
.footballcode-stats-section,
.footballcode-premium-cta,
.site-footer.marketing-footer {
    width: var(--sc-marketing-container-width);
    max-width: none;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.footballcode-section-note {
    color: rgba(248, 250, 252, 0.78);
}

.footballcode-panel-header .status-badge.status-success {
    color: #ecfdf5;
    border-color: rgba(110, 231, 183, 0.52);
    background: rgba(16, 185, 129, 0.32);
    box-shadow: 0 0 0 1px rgba(236, 253, 245, 0.08), 0 0.85rem 1.65rem rgba(16, 185, 129, 0.16);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

html[data-theme="dark-disabled-light"] .footballcode-panel-header .status-badge.status-success {
    color: #065f46;
    border-color: rgba(5, 150, 105, 0.28);
    background: rgba(209, 250, 229, 0.92);
    box-shadow: none;
    text-shadow: none;
}

@media (max-width: 575.98px) {
    :root {
        --sc-marketing-page-x: 0.35rem;
    }

    .marketing-nav,
    .marketing-nav.footballcode-premium-topbar.brand-topbar,
    .hero-section,
    .hero-section.hero-section-wide,
    .footballcode-saas-hero,
    .marketing-section,
    .premium-section,
    .marketing-page,
    .cta-section,
    .thanks-page,
    .demo-page,
    .footballcode-stats-section,
    .footballcode-premium-cta,
    .site-footer.marketing-footer {
        width: calc(100% - 0.5rem);
    }
}


/* PASS 217.3: Use the approved CBW logo everywhere and match auth/public brand lockups to the compact standard. */
.auth-card .brand-lockup,
.auth-page .brand-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    width: fit-content !important;
    min-width: 0 !important;
    text-decoration: none !important;
}

.auth-card .brand-logo.codebw-logo-image,
.auth-page .brand-logo.codebw-logo-image {
    width: 3.6rem !important;
    height: 3.6rem !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.auth-card .brand-wordmark.footballcode-brand-copy,
.auth-page .brand-wordmark.footballcode-brand-copy {
    display: inline-grid !important;
    justify-items: end !important;
    width: max-content !important;
    min-width: 0 !important;
    margin-left: -0.28rem !important;
    gap: 0.14rem !important;
    line-height: 1 !important;
    text-align: right !important;
}

.auth-card .codebw-brand.footballcode-brand-name,
.auth-page .codebw-brand.footballcode-brand-name {
    display: block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(1.02rem, 1.08vw, 1.24rem) !important;
    font-weight: 1000 !important;
    letter-spacing: 0.035em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
}

.auth-card .footballcode-product-brand.footballcode-brand-subtitle,
.auth-page .footballcode-product-brand.footballcode-brand-subtitle {
    display: block !important;
    margin: 0 !important;
    color: #6ee7b7 !important;
    font-size: clamp(0.88rem, 0.95vw, 1.08rem) !important;
    font-weight: 950 !important;
    letter-spacing: -0.045em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
}

html[data-theme="dark-disabled-light"] .auth-card .codebw-brand.footballcode-brand-name,
html[data-theme="dark-disabled-light"] .auth-page .codebw-brand.footballcode-brand-name {
    color: #0f172a !important;
}

html[data-theme="dark-disabled-light"] .auth-card .footballcode-product-brand.footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .auth-page .footballcode-product-brand.footballcode-brand-subtitle {
    color: #168a5a !important;
}

@media (max-width: 575.98px) {
    .auth-card .brand-logo.codebw-logo-image,
    .auth-page .brand-logo.codebw-logo-image {
        width: 3.2rem !important;
        height: 3.2rem !important;
    }

    .auth-card .brand-wordmark.footballcode-brand-copy,
    .auth-page .brand-wordmark.footballcode-brand-copy {
        margin-left: -0.22rem !important;
        gap: 0.12rem !important;
    }

    .auth-card .codebw-brand.footballcode-brand-name,
    .auth-page .codebw-brand.footballcode-brand-name {
        font-size: 0.98rem !important;
        letter-spacing: 0.065em !important;
    }

    .auth-card .footballcode-product-brand.footballcode-brand-subtitle,
    .auth-page .footballcode-product-brand.footballcode-brand-subtitle {
        font-size: 0.88rem !important;
        letter-spacing: -0.045em !important;
    }
}


/* PASS 217.4: Micro icon delivery and compact sidebar/login brand lockups. */
.sidebar-brand.footballcode-app-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    width: fit-content !important;
    min-width: 0 !important;
    min-height: 3rem !important;
    margin-bottom: 1.5rem !important;
    text-decoration: none !important;
}

.sidebar-brand.footballcode-app-lockup .brand-mark-image.codebw-logo-image {
    width: var(--footballcode-sidebar-logo-size, 2.75rem) !important;
    height: var(--footballcode-sidebar-logo-size, 2.75rem) !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 1rem !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sidebar-brand.footballcode-app-lockup .brand-wordmark.footballcode-brand-copy {
    display: inline-grid !important;
    justify-items: end !important;
    width: max-content !important;
    min-width: 0 !important;
    margin-left: -0.18rem !important;
    gap: 0.1rem !important;
    line-height: 1 !important;
    text-align: right !important;
}

.sidebar-brand.footballcode-app-lockup .codebw-brand.footballcode-brand-name {
    display: block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(0.72rem, 0.76vw, 0.82rem) !important;
    font-weight: 1000 !important;
    letter-spacing: 0.035em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
}

.sidebar-brand.footballcode-app-lockup .footballcode-product-brand.footballcode-brand-subtitle {
    display: block !important;
    margin: 0 !important;
    color: #6ee7b7 !important;
    font-size: clamp(0.72rem, 0.78vw, 0.86rem) !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
}

.auth-card .brand-lockup,
.auth-page .auth-card .brand-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    width: fit-content !important;
    min-width: 0 !important;
    margin-bottom: 1.5rem !important;
    text-decoration: none !important;
}

.auth-card .brand-logo.codebw-logo-image,
.auth-page .auth-card .brand-logo.codebw-logo-image {
    width: 3.6rem !important;
    height: 3.6rem !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 1.05rem !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: none !important;
}

.auth-card .brand-wordmark.footballcode-brand-copy,
.auth-page .auth-card .brand-wordmark.footballcode-brand-copy {
    display: inline-grid !important;
    justify-items: end !important;
    width: max-content !important;
    min-width: 0 !important;
    margin-left: -0.28rem !important;
    gap: 0.14rem !important;
    line-height: 1 !important;
    text-align: right !important;
}

.auth-card .codebw-brand.footballcode-brand-name,
.auth-page .auth-card .codebw-brand.footballcode-brand-name {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #ffffff !important;
    font-size: clamp(1.02rem, 1.08vw, 1.24rem) !important;
    font-weight: 1000 !important;
    letter-spacing: 0.035em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
    text-align-last: auto !important;
}

.auth-card .footballcode-product-brand.footballcode-brand-subtitle,
.auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #6ee7b7 !important;
    font-size: clamp(0.88rem, 0.95vw, 1.08rem) !important;
    font-weight: 950 !important;
    letter-spacing: -0.045em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
    text-align-last: auto !important;
}

html[data-theme="dark-disabled-light"] .sidebar-brand.footballcode-app-lockup .codebw-brand.footballcode-brand-name,
html[data-theme="dark-disabled-light"] .auth-card .codebw-brand.footballcode-brand-name,
html[data-theme="dark-disabled-light"] .auth-page .auth-card .codebw-brand.footballcode-brand-name {
    color: #0f172a !important;
}

html[data-theme="dark-disabled-light"] .sidebar-brand.footballcode-app-lockup .footballcode-product-brand.footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .auth-card .footballcode-product-brand.footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
    color: #168a5a !important;
}

@media (max-width: 575.98px) {
    .sidebar-brand.footballcode-app-lockup .brand-mark-image.codebw-logo-image {
        width: 2.55rem !important;
        height: 2.55rem !important;
    }

    .sidebar-brand.footballcode-app-lockup .brand-wordmark.footballcode-brand-copy {
        margin-left: -0.16rem !important;
        gap: 0.08rem !important;
    }

    .sidebar-brand.footballcode-app-lockup .codebw-brand.footballcode-brand-name {
        font-size: 0.66rem !important;
        letter-spacing: 0.045em !important;
    }

    .sidebar-brand.footballcode-app-lockup .footballcode-product-brand.footballcode-brand-subtitle {
        font-size: 0.68rem !important;
        letter-spacing: -0.035em !important;
    }

    .auth-card .brand-logo.codebw-logo-image,
    .auth-page .auth-card .brand-logo.codebw-logo-image {
        width: 3.2rem !important;
        height: 3.2rem !important;
    }

    .auth-card .brand-wordmark.footballcode-brand-copy,
    .auth-page .auth-card .brand-wordmark.footballcode-brand-copy {
        margin-left: -0.22rem !important;
        gap: 0.12rem !important;
    }

    .auth-card .codebw-brand.footballcode-brand-name,
    .auth-page .auth-card .codebw-brand.footballcode-brand-name {
        font-size: 0.98rem !important;
        letter-spacing: 0.065em !important;
    }

    .auth-card .footballcode-product-brand.footballcode-brand-subtitle,
    .auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
        font-size: 0.88rem !important;
        letter-spacing: -0.045em !important;
    }
}


/* PASS 217.5: Balanced public spacing, visible light-theme toggle and gradient FOOTBALLCODE AI wordmark. */
:root {
    --sc-marketing-page-x: clamp(1rem, 1.6vw, 2rem);
    --sc-marketing-container-width: calc(100% - (var(--sc-marketing-page-x) * 2));
}

.marketing-nav,
.marketing-nav.footballcode-premium-topbar.brand-topbar,
.hero-section,
.hero-section.hero-section-wide,
.footballcode-saas-hero,
.marketing-section,
.premium-section,
.marketing-page,
.cta-section,
.thanks-page,
.demo-page,
.footballcode-stats-section,
.footballcode-premium-cta,
.site-footer.marketing-footer {
    width: var(--sc-marketing-container-width) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.marketing-body main {
    width: 100%;
    overflow-x: clip;
}

html[data-theme="dark-disabled-light"] .theme-toggle,
html[data-theme="dark-disabled-light"] .marketing-theme-toggle,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-theme-toggle {
    color: #065f46 !important;
    -webkit-text-fill-color: #065f46 !important;
    border: 1px solid rgba(5, 150, 105, 0.45) !important;
    background: rgba(209, 250, 229, 0.92) !important;
    box-shadow: 0 0.55rem 1.25rem rgba(15, 23, 42, 0.10) !important;
    font-weight: 900 !important;
}

html[data-theme="dark-disabled-light"] .theme-toggle:hover,
html[data-theme="dark-disabled-light"] .theme-toggle:focus-visible,
html[data-theme="dark-disabled-light"] .marketing-theme-toggle:hover,
html[data-theme="dark-disabled-light"] .marketing-theme-toggle:focus-visible {
    color: #022c22 !important;
    -webkit-text-fill-color: #022c22 !important;
    border-color: rgba(5, 150, 105, 0.72) !important;
    background: rgba(167, 243, 208, 0.98) !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
.site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand,
.sidebar-brand.footballcode-app-lockup .footballcode-product-brand.footballcode-brand-subtitle,
.auth-card .footballcode-product-brand.footballcode-brand-subtitle,
.auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
    background: linear-gradient(95deg, #4e7cff, #35d9ae 78%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
.site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand {
    font-size: clamp(1rem, 1.08vw, 1.22rem) !important;
    letter-spacing: -0.05em !important;
}

.sidebar-brand.footballcode-app-lockup .footballcode-product-brand.footballcode-brand-subtitle {
    font-size: clamp(0.8rem, 0.84vw, 0.94rem) !important;
    letter-spacing: -0.045em !important;
}

.auth-card .footballcode-product-brand.footballcode-brand-subtitle,
.auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
    font-size: clamp(0.98rem, 1.02vw, 1.18rem) !important;
    letter-spacing: -0.05em !important;
}

@media (max-width: 575.98px) {
    :root {
        --sc-marketing-page-x: 0.85rem;
    }

    .marketing-nav,
    .marketing-nav.footballcode-premium-topbar.brand-topbar,
    .hero-section,
    .hero-section.hero-section-wide,
    .footballcode-saas-hero,
    .marketing-section,
    .premium-section,
    .marketing-page,
    .cta-section,
    .thanks-page,
    .demo-page,
    .footballcode-stats-section,
    .footballcode-premium-cta,
    .site-footer.marketing-footer {
        width: calc(100% - (var(--sc-marketing-page-x) * 2)) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
    .site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand {
        font-size: 0.95rem !important;
    }

    .auth-card .footballcode-product-brand.footballcode-brand-subtitle,
    .auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
        font-size: 0.94rem !important;
    }
}


/* PASS 217.6: copy cleanup, landing rhythm and light-theme contrast hardening. */
:root {
    --sc-marketing-page-x: clamp(1.25rem, 1.65vw, 2.35rem);
    --sc-marketing-section-y: clamp(3rem, 5vw, 5.5rem);
    --sc-marketing-card-gap: clamp(1rem, 1.35vw, 1.5rem);
}

body.marketing-body > main > section,
body.marketing-body .marketing-nav,
body.marketing-body .marketing-nav.footballcode-premium-topbar.brand-topbar,
body.marketing-body .site-footer.marketing-footer {
    width: auto !important;
    max-width: none !important;
    margin-left: var(--sc-marketing-page-x) !important;
    margin-right: var(--sc-marketing-page-x) !important;
    box-sizing: border-box !important;
}

body.marketing-body > main > section + section {
    margin-top: var(--sc-marketing-section-y) !important;
}

body.marketing-body .landing-section-header,
body.marketing-body .footballcode-section-header {
    margin-bottom: clamp(1.25rem, 2vw, 2rem) !important;
}

body.marketing-body .premium-platform-grid,
body.marketing-body .premium-feature-grid,
body.marketing-body .premium-stats-grid,
body.marketing-body .hero-proof-grid {
    gap: var(--sc-marketing-card-gap) !important;
}

body.marketing-body .hero-section,
body.marketing-body .footballcode-saas-hero,
body.marketing-body .marketing-section,
body.marketing-body .premium-section,
body.marketing-body .cta-section {
    overflow: visible !important;
}

html[data-theme="dark-disabled-light"] .theme-toggle,
html[data-theme="dark-disabled-light"] .marketing-theme-toggle,
html[data-theme="dark-disabled-light"] .btn-outline-light.theme-toggle,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-theme-toggle {
    color: #064e3b !important;
    -webkit-text-fill-color: #064e3b !important;
    border-color: rgba(5, 150, 105, 0.62) !important;
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(209, 250, 229, 0.94)) !important;
    box-shadow: 0 0.55rem 1.35rem rgba(15, 23, 42, 0.12) !important;
    opacity: 1 !important;
}

html[data-theme="dark-disabled-light"] .btn-outline-light:not(.theme-toggle):not(.btn-primary) {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.18) !important;
    background: rgba(255, 255, 255, 0.82) !important;
}

html[data-theme="dark-disabled-light"] .btn-outline-light:not(.theme-toggle):not(.btn-primary):hover,
html[data-theme="dark-disabled-light"] .btn-outline-light:not(.theme-toggle):not(.btn-primary):focus-visible {
    color: #065f46 !important;
    -webkit-text-fill-color: #065f46 !important;
    border-color: rgba(5, 150, 105, 0.55) !important;
    background: rgba(236, 253, 245, 0.96) !important;
}

html[data-theme="dark-disabled-light"] body.marketing-body .landing-kicker,
html[data-theme="dark-disabled-light"] body.marketing-body .visual-kicker,
html[data-theme="dark-disabled-light"] body.marketing-body .page-kicker {
    color: #059669 !important;
    -webkit-text-fill-color: #059669 !important;
}

html[data-theme="dark-disabled-light"] body.marketing-body .hero-content h1,
html[data-theme="dark-disabled-light"] body.marketing-body .landing-section-header h2,
html[data-theme="dark-disabled-light"] body.marketing-body .footballcode-section-header h2,
html[data-theme="dark-disabled-light"] body.marketing-body .feature-card h2,
html[data-theme="dark-disabled-light"] body.marketing-body .feature-card h3,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-platform-card strong,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-feature-card h3,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-stat-card strong,
html[data-theme="dark-disabled-light"] body.marketing-body .hero-proof-grid strong,
html[data-theme="dark-disabled-light"] body.marketing-body .dashboard-window strong,
html[data-theme="dark-disabled-light"] body.marketing-body .dash-card strong {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

html[data-theme="dark-disabled-light"] body.marketing-body .landing-lead,
html[data-theme="dark-disabled-light"] body.marketing-body .landing-section-header p,
html[data-theme="dark-disabled-light"] body.marketing-body .footballcode-section-header p,
html[data-theme="dark-disabled-light"] body.marketing-body .feature-card p,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-platform-card small,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-feature-card p,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-stat-card span,
html[data-theme="dark-disabled-light"] body.marketing-body .hero-proof-grid small,
html[data-theme="dark-disabled-light"] body.marketing-body .hero-proof-grid span,
html[data-theme="dark-disabled-light"] body.marketing-body .dashboard-window span,
html[data-theme="dark-disabled-light"] body.marketing-body .dash-card small,
html[data-theme="dark-disabled-light"] body.marketing-body .footballcode-cta-copy p {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

html[data-theme="dark-disabled-light"] body.marketing-body .hero-proof-grid > div,
html[data-theme="dark-disabled-light"] body.marketing-body .dashboard-window,
html[data-theme="dark-disabled-light"] body.marketing-body .dash-card,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-platform-card,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-feature-card,
html[data-theme="dark-disabled-light"] body.marketing-body .premium-stat-card,
html[data-theme="dark-disabled-light"] body.marketing-body .cta-section,
html[data-theme="dark-disabled-light"] body.marketing-body .footballcode-premium-cta,
html[data-theme="dark-disabled-light"] body.marketing-body .site-footer.marketing-footer {
    border-color: rgba(15, 23, 42, 0.10) !important;
    background-color: rgba(255, 255, 255, 0.76) !important;
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="dark-disabled-light"] body.marketing-body .status-badge,
html[data-theme="dark-disabled-light"] body.marketing-body .status-success,
html[data-theme="dark-disabled-light"] body.marketing-body .platform-status-badge,
html[data-theme="dark-disabled-light"] body.marketing-body .footballcode-platforms-section .status-badge {
    color: #065f46 !important;
    -webkit-text-fill-color: #065f46 !important;
    border-color: rgba(5, 150, 105, 0.36) !important;
    background: rgba(209, 250, 229, 0.94) !important;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand,
html[data-theme="dark-disabled-light"] .sidebar-brand.footballcode-app-lockup .footballcode-product-brand.footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .auth-card .footballcode-product-brand.footballcode-brand-subtitle,
html[data-theme="dark-disabled-light"] .auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
    background: linear-gradient(95deg, #4e7cff, #35d9ae 78%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

@media (max-width: 575.98px) {
    :root {
        --sc-marketing-page-x: 1rem;
        --sc-marketing-section-y: 3rem;
    }

    body.marketing-body > main > section,
    body.marketing-body .marketing-nav,
    body.marketing-body .marketing-nav.footballcode-premium-topbar.brand-topbar,
    body.marketing-body .site-footer.marketing-footer {
        margin-left: var(--sc-marketing-page-x) !important;
        margin-right: var(--sc-marketing-page-x) !important;
    }
}

/* PASS 217.7: Pricing grid/card correction from visual review. */
.pricing-calculator-shell {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 520px) !important;
    gap: clamp(1rem, 1.35vw, 1.35rem) !important;
}

.pricing-summary-sticky {
    padding: clamp(1.4rem, 1.8vw, 2rem) !important;
    font-size: 0.98rem !important;
}

.pricing-summary-sticky .pricing-name {
    font-size: 0.82rem !important;
}

.pricing-summary-sticky h2 {
    font-size: clamp(1.08rem, 1.15vw, 1.28rem) !important;
    line-height: 1.15 !important;
}

.pricing-summary-sticky p,
.pricing-summary-sticky .text-secondary,
.pricing-summary-sticky .form-label {
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
}

.pricing-breakdown {
    gap: 0.68rem !important;
}

.pricing-breakdown > div,
.pricing-summary-detail span {
    padding: 0.82rem 0.92rem !important;
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
}

.pricing-summary-detail {
    gap: 0.65rem !important;
    font-size: 0.94rem !important;
}

.pricing-summary-card .form-control,
.pricing-summary-card textarea.form-control {
    font-size: 0.95rem !important;
}

.platform-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.62rem !important;
}

.platform-choice-card.professional-platform-card,
.active-platform-card.professional-platform-card {
    min-height: 74px !important;
    padding: 0.62rem 0.72rem !important;
    padding-right: 0.82rem !important;
}

.professional-platform-icon {
    width: 2.1rem !important;
    height: 2.1rem !important;
    font-size: 0.78rem !important;
}

.professional-platform-status {
    font-size: 0.64rem !important;
    padding: 0.16rem 0.4rem !important;
}

.professional-platform-body strong {
    font-size: 0.9rem !important;
    line-height: 1.08 !important;
}

.professional-platform-body small {
    font-size: 0.72rem !important;
    line-height: 1.22 !important;
}

@media (min-width: 1400px) {
    .platform-choice-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

.pricing-webchat-card {
    cursor: default !important;
    border-color: rgba(76, 224, 166, 0.42) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(76, 224, 166, 0.20), transparent 38%),
        rgba(255, 255, 255, 0.05) !important;
}

.pricing-webchat-card:hover {
    transform: none !important;
}

.pricing-webchat-card .professional-platform-status.included {
    color: #05271b !important;
    border-color: rgba(110, 231, 183, 0.62) !important;
    background: #6ee7b7 !important;
}

.pricing-webchat-card .professional-platform-footer span:first-child {
    color: #05271b !important;
    border-color: rgba(110, 231, 183, 0.56) !important;
    background: #6ee7b7 !important;
}

html[data-theme="dark-disabled-light"] .pricing-webchat-card {
    border-color: rgba(5, 150, 105, 0.34) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.14), transparent 38%),
        rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="dark-disabled-light"] .pricing-webchat-card .professional-platform-status.included,
html[data-theme="dark-disabled-light"] .pricing-webchat-card .professional-platform-footer span:first-child {
    color: #05271b !important;
    background: #a7f3d0 !important;
}

@media (max-width: 1399.98px) {
    .pricing-calculator-shell {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 470px) !important;
    }
}

@media (max-width: 1199.98px) {
    .pricing-calculator-shell {
        grid-template-columns: 1fr !important;
    }

    .platform-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .pricing-summary-sticky {
        position: static !important;
        max-width: none !important;
    }
}

@media (max-width: 991.98px) {
    .platform-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    .platform-choice-grid {
        grid-template-columns: 1fr !important;
    }

    .pricing-summary-sticky {
        padding: 1.05rem !important;
    }
}


/* PASS 217.8: Multi-account channel quantity controls and duplicate connector cards. */
.channel-account-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.75rem;
}

.channel-account-stepper-button {
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(110, 231, 183, 0.48);
    border-radius: 999px;
    color: #052e1d;
    background: linear-gradient(135deg, #6ee7b7, #34d399);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
}

.pricing-platform-quantity {
    width: 3.35rem;
    height: 1.9rem;
    border: 1px solid rgba(110, 231, 183, 0.32);
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.78);
    font-size: 0.86rem;
    font-weight: 950;
    text-align: center;
}

.pricing-platform-quantity::-webkit-inner-spin-button,
.pricing-platform-quantity::-webkit-outer-spin-button {
    margin: 0;
    opacity: 0;
}

.professional-platform-card.is-selected .channel-account-stepper {
    color: #6ee7b7;
}

.connector-card-new {
    border-style: dashed;
    background:
        radial-gradient(circle at 0% 0%, rgba(110, 231, 183, 0.11), transparent 24rem),
        var(--sc-surface);
}

html[data-theme="dark-disabled-light"] .pricing-platform-quantity {
    color: #0f172a;
    border-color: rgba(22, 138, 90, 0.32);
    background: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark-disabled-light"] .channel-account-stepper-button {
    color: #052e1d;
    border-color: rgba(22, 138, 90, 0.38);
}

@media (max-width: 575.98px) {
    .channel-account-stepper {
        justify-content: space-between;
    }

    .pricing-platform-quantity {
        flex: 1 1 auto;
        width: auto;
        max-width: 5rem;
    }
}

/* PASS 217.9: QA-ready spacing and included-channel stepper polish. */
body.marketing-body {
    --sc-marketing-page-x: clamp(1rem, 3vw, 3rem);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar,
.hero-section.hero-section-wide,
.marketing-section,
.premium-section,
.footballcode-stats-section,
.footballcode-premium-cta,
.pricing-wizard-page,
.site-footer.marketing-footer {
    width: min(calc(100% - (var(--sc-marketing-page-x) * 2)), 1440px) !important;
}

.marketing-section,
.premium-section,
.footballcode-stats-section {
    margin-top: clamp(2.25rem, 4vw, 4.75rem) !important;
    margin-bottom: clamp(2.25rem, 4vw, 4.75rem) !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
.site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand,
.sidebar-brand.footballcode-app-lockup .footballcode-product-brand.footballcode-brand-subtitle,
.auth-card .footballcode-product-brand.footballcode-brand-subtitle,
.auth-page .auth-card .footballcode-product-brand.footballcode-brand-subtitle {
    letter-spacing: 0 !important;
}

.pricing-platform-included-quantity:disabled {
    cursor: default;
    opacity: 1;
}

.pricing-webchat-card .channel-account-stepper-button:disabled {
    cursor: default;
    opacity: 0.82;
    color: #05271b;
    border-color: rgba(110, 231, 183, 0.42);
    background: rgba(110, 231, 183, 0.72);
}

.pricing-webchat-card .channel-account-stepper {
    pointer-events: none;
}

html[data-theme="dark-disabled-light"] .pricing-webchat-card .channel-account-stepper-button:disabled {
    color: #05271b;
    border-color: rgba(5, 150, 105, 0.34);
    background: rgba(167, 243, 208, 0.96);
}

/* FootballCode production visual QA polish. */
.footballcode-hero h1 {
    font-size: 5rem;
}

.footballcode-page-head h1 {
    font-size: 3.75rem;
}

.footballcode-hero-board strong {
    font-size: 3.75rem;
}

@media (max-width: 991.98px) {
    .footballcode-marketing-nav.footballcode-marketing-nav.footballcode-marketing-nav .footballcode-marketing-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .footballcode-marketing-nav.footballcode-marketing-nav.footballcode-marketing-nav.is-open .footballcode-marketing-links {
        display: flex;
    }

    .footballcode-marketing-nav.footballcode-marketing-nav.footballcode-marketing-nav .footballcode-marketing-link,
    .footballcode-marketing-nav.footballcode-marketing-nav.footballcode-marketing-nav .footballcode-marketing-cta,
    .footballcode-marketing-nav.footballcode-marketing-nav.footballcode-marketing-nav .footballcode-marketing-theme-toggle {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 860px) {
    .footballcode-hero h1,
    .footballcode-page-head h1 {
        font-size: 2.4rem;
        line-height: 1.04;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .footballcode-hero-board strong {
        font-size: 2.55rem;
        overflow-wrap: break-word;
    }

    .footballcode-hero {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .footballcode-hero > *,
    .footballcode-hero-copy,
    .footballcode-hero-board {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .footballcode-hero-copy > p {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

@media (max-width: 380px) {
    .footballcode-marketing-wordmark {
        max-width: min(11.25rem, calc(100vw - 7.2rem));
    }

    .footballcode-marketing-brand-name {
        font-size: 0.66rem;
    }

    .footballcode-marketing-brand-subtitle {
        font-size: 0.7rem;
    }

    .footballcode-marketing-toggle {
        width: 2.75rem;
        justify-content: center;
    }

    .footballcode-marketing-toggle span:last-child {
        display: none;
    }

    .footballcode-hero h1,
    .footballcode-page-head h1 {
        font-size: 2.18rem;
    }
}


/* PASS 230: FootballCode CodeBW sibling design parity.
   Keep FootballCode in the same premium CodeBW product language:
   dark glass, heavy display type, rounded containers, green/blue glow. */
:root {
    --footballcode-logo-size: 3.65rem;
    --footballcode-logo-radius: 1rem;
    --footballcode-logo-padding: 0;
    --footballcode-radius-xl: 2rem;
    --footballcode-radius-lg: 1.55rem;
    --footballcode-radius-md: 1.15rem;
    --footballcode-glass-border: rgba(255, 255, 255, 0.118);
    --footballcode-glass-border-strong: rgba(255, 255, 255, 0.17);
    --footballcode-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.035));
    --footballcode-glass-bg-strong:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.135), transparent 24rem),
        radial-gradient(circle at 90% 12%, rgba(13, 110, 253, 0.12), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.034));
    --footballcode-glass-shadow: 0 1.65rem 4.5rem rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.075);
    --footballcode-glow-green: 0 1.1rem 2.7rem rgba(38, 194, 129, 0.2);
    --footballcode-display-letter: -0.065em;
    --footballcode-text-letter: -0.018em;
}

html,
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.footballcode-body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% -10%, rgba(38, 194, 129, 0.18), transparent 34rem),
        radial-gradient(circle at 88% 6%, rgba(13, 110, 253, 0.16), transparent 30rem),
        radial-gradient(circle at 52% 112%, rgba(38, 194, 129, 0.095), transparent 34rem),
        linear-gradient(180deg, #020403 0%, #06100d 50%, #020403 100%);
    color: #f8fafc;
}

body.footballcode-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.72), transparent 70%);
}

body.footballcode-body h1,
body.footballcode-body h2,
body.footballcode-body h3,
body.footballcode-body h4,
body.footballcode-body h5,
body.footballcode-body h6,
body.footballcode-body strong {
    color: #f8fafc;
}

.footballcode-main {
    width: min(calc(100% - clamp(1rem, 2vw, 2rem)), 1480px);
    margin-inline: auto;
}

.footballcode-kicker,
.landing-kicker,
.hero-kicker,
.page-kicker {
    color: #6ee7b7;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar,
.site-footer.marketing-footer {
    width: min(calc(100% - clamp(1rem, 2vw, 2rem)), 1480px);
    border: 1px solid var(--footballcode-glass-border);
    background:
        radial-gradient(circle at 10% 0%, rgba(38, 194, 129, 0.11), transparent 18rem),
        linear-gradient(135deg, rgba(4, 10, 9, 0.86), rgba(3, 7, 9, 0.72));
    box-shadow: 0 1.3rem 3.4rem rgba(0, 0, 0, 0.31), inset 0 1px 0 rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.marketing-nav.footballcode-premium-topbar.brand-topbar {
    top: clamp(0.65rem, 1vw, 1rem);
    min-height: 4.85rem;
    padding: 0.78rem 1.05rem;
    border-radius: 1.45rem;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-lockup,
.site-footer.marketing-footer .site-footer-lockup.brand-lockup {
    gap: 0.72rem;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-logo-image,
.site-footer.marketing-footer .site-footer-logo.codebw-logo-image {
    width: var(--footballcode-logo-size);
    height: var(--footballcode-logo-size);
    border-radius: 1rem;
    filter: drop-shadow(0 0.85rem 1.55rem rgba(38, 194, 129, 0.18));
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-copy,
.site-footer.marketing-footer .site-footer-wordmark.codebw-wordmark {
    justify-items: start;
    margin-left: 0;
    text-align: left;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name,
.site-footer.marketing-footer .site-footer-lockup .codebw-brand {
    font-size: clamp(0.72rem, 0.72vw, 0.84rem);
    font-weight: 950;
    letter-spacing: 0.155em;
    line-height: 1;
    text-align: left;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
.site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand,
.site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand {
    color: #6ee7b7;
    font-size: clamp(1.02rem, 1.18vw, 1.28rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-align: left;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav {
    gap: clamp(0.75rem, 1vw, 1.15rem);
    color: rgba(248, 250, 252, 0.76);
    font-size: 0.92rem;
    font-weight: 820;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn) {
    color: rgba(248, 250, 252, 0.76);
    font-weight: 820;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn):hover,
.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav a:not(.btn):focus-visible {
    color: #ffffff;
}

.footballcode-body .btn {
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: -0.015em;
}

.footballcode-body .btn-primary,
.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav-primary {
    color: #03100b !important;
    border: 1px solid rgba(110, 231, 183, 0.52);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.42), transparent 7rem),
        linear-gradient(135deg, #6ee7b7, #26c281);
    box-shadow: var(--footballcode-glow-green);
}

.footballcode-body .btn-outline-light {
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.footballcode-body .btn-outline-light:hover,
.footballcode-body .btn-outline-light:focus-visible {
    color: #ffffff;
    border-color: rgba(110, 231, 183, 0.32);
    background: rgba(255, 255, 255, 0.105);
}

.footballcode-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 3.25rem);
    min-height: clamp(38rem, 72vh, 48rem);
    margin-top: clamp(1rem, 2.5vw, 2rem);
    margin-bottom: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.25rem, 4vw, 4.5rem);
    overflow: hidden;
    border: 1px solid var(--footballcode-glass-border);
    border-radius: var(--footballcode-radius-xl);
    background:
        radial-gradient(circle at 78% 6%, rgba(13, 110, 253, 0.2), transparent 24rem),
        radial-gradient(circle at 16% 78%, rgba(38, 194, 129, 0.17), transparent 24rem),
        linear-gradient(135deg, rgba(8, 18, 21, 0.96), rgba(3, 7, 9, 0.91));
    box-shadow: 0 2rem 5.5rem rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footballcode-hero::before {
    content: "";
    position: absolute;
    inset: -28% auto auto 52%;
    width: 32rem;
    height: 32rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.18), transparent 66%);
    pointer-events: none;
}

.footballcode-hero-copy,
.footballcode-hero-board {
    position: relative;
    z-index: 1;
}

.footballcode-hero h1,
.footballcode-page-head h1 {
    max-width: 62rem;
    color: #ffffff;
    font-size: clamp(2.75rem, 6.1vw, 6rem);
    font-weight: 1000;
    letter-spacing: var(--footballcode-display-letter);
    line-height: 0.95;
    text-wrap: balance;
}

.footballcode-hero-copy > p:not(.footballcode-kicker),
.footballcode-page-head > p:not(.footballcode-kicker),
.footballcode-band > p,
.footballcode-article > p,
.footballcode-panel > p {
    color: rgba(248, 250, 252, 0.72);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.75;
    letter-spacing: var(--footballcode-text-letter);
}

.footballcode-hero-board {
    min-height: clamp(22rem, 42vw, 33rem);
    align-content: end;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at 86% 0%, rgba(110, 231, 183, 0.17), transparent 17rem),
        radial-gradient(circle at 0% 100%, rgba(13, 110, 253, 0.13), transparent 16rem),
        rgba(255, 255, 255, 0.062);
    box-shadow: 0 1.7rem 4.2rem rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.footballcode-hero-board span {
    color: rgba(248, 250, 252, 0.68);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footballcode-hero-board strong {
    color: #ffffff;
    font-size: clamp(2.35rem, 5.4vw, 4.7rem);
    font-weight: 1000;
    letter-spacing: -0.075em;
}

.footballcode-page-head {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2.3rem);
    border: 1px solid var(--footballcode-glass-border);
    border-radius: var(--footballcode-radius-xl);
    background: var(--footballcode-glass-bg-strong);
    box-shadow: var(--footballcode-glass-shadow);
    backdrop-filter: blur(18px);
}

.footballcode-section {
    margin: clamp(1.8rem, 4.8vw, 4rem) 0;
}

.footballcode-section-heading {
    align-items: flex-end;
    margin-bottom: 1.1rem;
}

.footballcode-section-heading h2,
.footballcode-band h2,
.footballcode-panel h2,
.footballcode-article h2 {
    color: #ffffff;
    font-size: clamp(1.55rem, 2.7vw, 2.85rem);
    font-weight: 1000;
    letter-spacing: -0.06em;
    line-height: 1.02;
    text-wrap: balance;
}

.footballcode-section-heading a {
    color: #6ee7b7;
    font-weight: 900;
}

.footballcode-card,
.footballcode-panel,
.footballcode-empty,
.footballcode-band,
.footballcode-article,
.footballcode-score-card,
.footballcode-standing-card,
.footballcode-table-wrap,
.footballcode-page-meta,
.footballcode-match-key {
    border: 1px solid var(--footballcode-glass-border);
    border-radius: var(--footballcode-radius-lg);
    background: var(--footballcode-glass-bg);
    box-shadow: var(--footballcode-glass-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.footballcode-card,
.footballcode-panel,
.footballcode-empty,
.footballcode-article {
    padding: clamp(1rem, 1.6vw, 1.25rem);
}

.footballcode-card {
    gap: 0.42rem;
    overflow: hidden;
}

.footballcode-card::before,
.footballcode-panel::before,
.footballcode-score-card::before,
.footballcode-standing-card::before,
.footballcode-article::before,
.footballcode-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.11), transparent 28%, rgba(110, 231, 183, 0.045));
    opacity: 0.7;
}

.footballcode-card,
.footballcode-panel,
.footballcode-score-card,
.footballcode-standing-card,
.footballcode-article,
.footballcode-band {
    position: relative;
}

.footballcode-card > *,
.footballcode-panel > *,
.footballcode-score-card > *,
.footballcode-standing-card > *,
.footballcode-article > *,
.footballcode-band > * {
    position: relative;
    z-index: 1;
}

.footballcode-card:hover,
.footballcode-panel:hover,
.footballcode-standing-card:hover {
    color: #f8fafc;
    border-color: rgba(110, 231, 183, 0.32);
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.13), transparent 16rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
    transform: translateY(-2px);
}

.footballcode-card strong,
.footballcode-standing-card strong,
.footballcode-score-card-head span {
    color: #ffffff;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.footballcode-card span,
.footballcode-card small,
.footballcode-standing-card small,
.footballcode-empty,
.footballcode-page-meta,
.footballcode-score-metrics span {
    color: rgba(248, 250, 252, 0.64);
}

.footballcode-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.2vw, 1.05rem);
}

.footballcode-score-card {
    min-width: 0;
    padding: clamp(1rem, 1.8vw, 1.35rem);
}

.footballcode-score-card-head {
    margin-bottom: 1rem;
}

.footballcode-score-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
}

.footballcode-score-metrics div {
    min-width: 0;
    padding: 0.86rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 1.05rem;
    background: rgba(2, 6, 8, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.052);
}

.footballcode-score-metrics strong {
    color: #ffffff;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 1000;
    letter-spacing: -0.065em;
}

.footballcode-table-wrap {
    overflow: hidden;
}

.footballcode-table {
    color: #f8fafc;
    border-collapse: collapse;
}

.footballcode-table th {
    color: rgba(248, 250, 252, 0.58);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footballcode-table td {
    color: rgba(248, 250, 252, 0.82);
    font-weight: 760;
}

.footballcode-table th,
.footballcode-table td {
    border-bottom-color: rgba(255, 255, 255, 0.09);
}

.footballcode-table tr:hover td {
    background: rgba(255, 255, 255, 0.045);
}

.footballcode-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 0.86rem;
    font-weight: 820;
}

.footballcode-factor-list {
    display: grid;
    gap: 0.62rem;
    padding-left: 0;
    list-style: none;
}

.footballcode-factor-list li {
    position: relative;
    padding: 0.78rem 0.9rem 0.78rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 1rem;
    color: rgba(248, 250, 252, 0.78);
    background: rgba(2, 6, 8, 0.34);
    line-height: 1.45;
}

.footballcode-factor-list li::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: 1.05rem;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: #6ee7b7;
    box-shadow: 0 0 1.1rem rgba(110, 231, 183, 0.5);
}

.footballcode-match-key {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
}

.footballcode-match-key span {
    color: #6ee7b7;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.footballcode-match-key strong {
    color: #ffffff;
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.footballcode-team-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.footballcode-team-head img,
.footballcode-compare-team img {
    width: clamp(4rem, 7vw, 5.5rem);
    height: clamp(4rem, 7vw, 5.5rem);
    object-fit: contain;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.18);
}

.footballcode-standings-cards {
    gap: 0.78rem;
}

.site-footer.marketing-footer {
    border-radius: var(--footballcode-radius-xl);
}

.site-footer-column h2 {
    font-weight: 950;
    letter-spacing: 0.13em;
}

.site-footer-column a,
.site-footer-column span,
.site-footer-brand p,
.site-footer-bottom {
    font-weight: 760;
}

.surface-card,
.metric-card,
.auth-card {
    border-color: var(--footballcode-glass-border);
    border-radius: var(--footballcode-radius-lg);
    background:
        radial-gradient(circle at 10% 0%, rgba(38, 194, 129, 0.1), transparent 18rem),
        rgba(255, 255, 255, 0.055);
    box-shadow: var(--footballcode-glass-shadow);
    backdrop-filter: blur(18px);
}

.metric-card strong,
.surface-card h1,
.surface-card h2,
.surface-card h3 {
    font-weight: 950;
    letter-spacing: -0.045em;
}

html[data-theme="dark-disabled-light"] body.footballcode-body {
    color: #0f172a;
    background:
        radial-gradient(circle at 10% -10%, rgba(38, 194, 129, 0.14), transparent 34rem),
        radial-gradient(circle at 88% 6%, rgba(13, 110, 253, 0.10), transparent 30rem),
        linear-gradient(180deg, #f8fafc 0%, #eef5f1 50%, #ffffff 100%);
}

html[data-theme="dark-disabled-light"] .footballcode-hero,
html[data-theme="dark-disabled-light"] .footballcode-page-head,
html[data-theme="dark-disabled-light"] .footballcode-card,
html[data-theme="dark-disabled-light"] .footballcode-panel,
html[data-theme="dark-disabled-light"] .footballcode-empty,
html[data-theme="dark-disabled-light"] .footballcode-band,
html[data-theme="dark-disabled-light"] .footballcode-article,
html[data-theme="dark-disabled-light"] .footballcode-score-card,
html[data-theme="dark-disabled-light"] .footballcode-standing-card,
html[data-theme="dark-disabled-light"] .footballcode-table-wrap,
html[data-theme="dark-disabled-light"] .footballcode-page-meta,
html[data-theme="dark-disabled-light"] .footballcode-match-key,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar.brand-topbar,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.10), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(248, 250, 252, 0.76));
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="dark-disabled-light"] .footballcode-hero h1,
html[data-theme="dark-disabled-light"] .footballcode-page-head h1,
html[data-theme="dark-disabled-light"] .footballcode-section-heading h2,
html[data-theme="dark-disabled-light"] .footballcode-band h2,
html[data-theme="dark-disabled-light"] .footballcode-panel h2,
html[data-theme="dark-disabled-light"] .footballcode-article h2,
html[data-theme="dark-disabled-light"] .footballcode-card strong,
html[data-theme="dark-disabled-light"] .footballcode-standing-card strong,
html[data-theme="dark-disabled-light"] .footballcode-score-card-head span,
html[data-theme="dark-disabled-light"] .footballcode-score-metrics strong,
html[data-theme="dark-disabled-light"] .footballcode-match-key strong,
html[data-theme="dark-disabled-light"] body.footballcode-body h1,
html[data-theme="dark-disabled-light"] body.footballcode-body h2,
html[data-theme="dark-disabled-light"] body.footballcode-body h3,
html[data-theme="dark-disabled-light"] body.footballcode-body h4,
html[data-theme="dark-disabled-light"] body.footballcode-body h5,
html[data-theme="dark-disabled-light"] body.footballcode-body h6,
html[data-theme="dark-disabled-light"] body.footballcode-body strong {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .footballcode-hero-copy > p:not(.footballcode-kicker),
html[data-theme="dark-disabled-light"] .footballcode-page-head > p:not(.footballcode-kicker),
html[data-theme="dark-disabled-light"] .footballcode-band > p,
html[data-theme="dark-disabled-light"] .footballcode-article > p,
html[data-theme="dark-disabled-light"] .footballcode-panel > p,
html[data-theme="dark-disabled-light"] .footballcode-card span,
html[data-theme="dark-disabled-light"] .footballcode-card small,
html[data-theme="dark-disabled-light"] .footballcode-standing-card small,
html[data-theme="dark-disabled-light"] .footballcode-empty,
html[data-theme="dark-disabled-light"] .footballcode-page-meta,
html[data-theme="dark-disabled-light"] .footballcode-score-metrics span,
html[data-theme="dark-disabled-light"] .footballcode-table th,
html[data-theme="dark-disabled-light"] .site-footer-brand p,
html[data-theme="dark-disabled-light"] .site-footer-column a,
html[data-theme="dark-disabled-light"] .site-footer-column span,
html[data-theme="dark-disabled-light"] .site-footer-bottom {
    color: rgba(15, 23, 42, 0.64);
}

html[data-theme="dark-disabled-light"] .footballcode-score-metrics div,
html[data-theme="dark-disabled-light"] .footballcode-factor-list li {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark-disabled-light"] .footballcode-table td {
    color: rgba(15, 23, 42, 0.82);
}

@media (max-width: 1199.98px) {
    .footballcode-hero {
        grid-template-columns: 1fr;
    }

    .footballcode-hero-board {
        min-height: 20rem;
    }

    .footballcode-score-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .footballcode-main,
    .marketing-nav.footballcode-premium-topbar.brand-topbar,
    .site-footer.marketing-footer {
        width: calc(100% - 1rem);
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
        border-radius: 1.25rem;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: flex-start;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footballcode-grid-two,
    .footballcode-compare-grid,
    .footballcode-analysis-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-hero {
        min-height: auto;
        padding: 1.15rem;
        border-radius: 1.35rem;
    }

    .footballcode-page-head {
        border-radius: 1.35rem;
    }

    .footballcode-hero h1,
    .footballcode-page-head h1 {
        font-size: clamp(2.25rem, 10vw, 4.2rem);
    }
}

@media (max-width: 575.98px) {
    .footballcode-main,
    .marketing-nav.footballcode-premium-topbar.brand-topbar,
    .site-footer.marketing-footer {
        width: calc(100% - 0.7rem);
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar {
        top: 0.35rem;
        padding: 0.68rem 0.72rem;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-logo-image,
    .site-footer.marketing-footer .site-footer-logo.codebw-logo-image {
        width: 3.15rem;
        height: 3.15rem;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name,
    .site-footer.marketing-footer .site-footer-lockup .codebw-brand {
        font-size: 0.67rem;
        letter-spacing: 0.12em;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle,
    .site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand,
    .site-footer.marketing-footer .site-footer-lockup .footballcode-product-brand {
        max-width: 10.8rem;
        overflow: hidden;
        font-size: 0.98rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .footballcode-hero {
        margin-top: 0.85rem;
        padding: 1rem;
    }

    .footballcode-hero-actions .btn,
    .footballcode-body .landing-actions .btn {
        width: 100%;
    }

    .footballcode-score-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-score-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .footballcode-table-wrap.footballcode-mobile-card-source {
        display: none;
    }

    .footballcode-standings-cards {
        display: grid;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
    }
}

/* PASS260: CodeBW/SocialCode parity final polish */
.marketing-nav.footballcode-premium-topbar {
    width: min(1180px, calc(100% - 2rem));
    min-height: 5.35rem;
    padding: 0.9rem 1.15rem;
    border-radius: 1.55rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.16), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(13, 110, 253, 0.14), transparent 36%),
        rgba(2, 4, 3, 0.86);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.42);
}

.footballcode-logo-image {
    width: clamp(3.65rem, 3.9vw, 5rem);
    height: clamp(3.65rem, 3.9vw, 5rem);
}

.footballcode-brand-copy,
.footballcode-marketing-footer-wordmark {
    gap: 0.28rem;
    line-height: 1;
}

.footballcode-brand-name,
.footballcode-marketing-footer-brand-name {
    font-size: clamp(1.32rem, 1.45vw, 1.62rem);
    font-weight: 1000;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.footballcode-brand-subtitle,
.footballcode-marketing-footer-brand-subtitle {
    font-size: clamp(0.78rem, 0.82vw, 0.92rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
}

.footballcode-main {
    width: min(1180px, calc(100% - 2rem));
    padding-top: clamp(2.25rem, 4.2vw, 3.8rem);
}

.footballcode-page-meta {
    width: 100%;
    margin: 0 0 clamp(1.5rem, 4vw, 3rem);
    padding: 0.9rem 1.1rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
        rgba(2, 4, 3, 0.72);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    font-weight: 800;
}

.footballcode-hero-board,
.footballcode-score-card,
.footballcode-card,
.footballcode-panel,
.footballcode-band,
.footballcode-table-wrap,
.footballcode-empty,
.footballcode-standing-card,
.footballcode-article,
.footballcode-marketing-footer {
    border-radius: 1.55rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.12), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
}

.footballcode-hero h1,
.footballcode-page-head h1 {
    font-weight: 1000;
    letter-spacing: -0.065em;
}

.footballcode-kicker {
    font-weight: 950;
    letter-spacing: 0.085em;
}

@media (max-width: 767.98px) {
    .marketing-nav.footballcode-premium-topbar {
        width: min(100% - 1rem, 1180px);
        min-height: 4.7rem;
        padding: 0.8rem;
        border-radius: 1.25rem;
    }

    .footballcode-logo-image {
        width: 3.25rem;
        height: 3.25rem;
    }

    .footballcode-brand-name,
    .footballcode-marketing-footer-brand-name {
        font-size: 1.08rem;
    }

    .footballcode-brand-subtitle,
    .footballcode-marketing-footer-brand-subtitle {
        font-size: 0.7rem;
    }

    .footballcode-main {
        width: min(100% - 1rem, 1180px);
    }
}


/* FootballCode brand lockup parity override
   Keeps the CodeBW wordmark visually consistent with the CodeBW/SocialCode product family. */
:root {
    --footballcode-brand-logo-lg: clamp(4.55rem, 5.05vw, 5.65rem);
    --footballcode-brand-logo-md: 4rem;
    --footballcode-codebw-text-lg: clamp(1.42rem, 1.58vw, 1.86rem);
    --footballcode-codebw-text-md: 1.18rem;
    --footballcode-product-text-lg: clamp(0.68rem, 0.78vw, 0.88rem);
}

.marketing-nav.footballcode-premium-topbar .brand-lockup.footballcode-marketing-lockup,
.site-footer.marketing-footer .site-footer-lockup.footballcode-marketing-footer-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.64rem !important;
    min-width: max-content !important;
    overflow: visible !important;
}

.marketing-nav.footballcode-premium-topbar .footballcode-marketing-wordmark,
.site-footer.marketing-footer .footballcode-marketing-footer-wordmark {
    display: inline-grid !important;
    gap: 0.12rem !important;
    width: max-content !important;
    max-width: none !important;
    min-width: max-content !important;
    overflow: visible !important;
    line-height: 1 !important;
    text-align: left !important;
}

.marketing-nav.footballcode-premium-topbar .footballcode-logo-image,
.site-footer.marketing-footer .footballcode-logo-image {
    width: var(--footballcode-brand-logo-lg) !important;
    height: var(--footballcode-brand-logo-lg) !important;
    flex: 0 0 var(--footballcode-brand-logo-lg) !important;
    object-fit: contain !important;
    margin: 0 !important;
}

.marketing-nav.footballcode-premium-topbar .codebw-brand.footballcode-brand-name,
.marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-name,
.site-footer.marketing-footer .codebw-brand.footballcode-marketing-footer-brand-name,
.site-footer.marketing-footer .site-footer-lockup .codebw-brand {
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
    color: #ffffff !important;
    font-size: var(--footballcode-codebw-text-lg) !important;
    font-weight: 1000 !important;
    letter-spacing: -0.055em !important;
    line-height: 0.9 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
}

.marketing-nav.footballcode-premium-topbar .footballcode-product-brand,
.marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-subtitle,
.site-footer.marketing-footer .footballcode-product-brand,
.site-footer.marketing-footer .footballcode-marketing-footer-brand-subtitle {
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0.08rem 0 0 !important;
    overflow: visible !important;
    color: rgba(248, 250, 252, 0.76) !important;
    font-size: var(--footballcode-product-text-lg) !important;
    font-weight: 900 !important;
    letter-spacing: 0.22em !important;
    line-height: 1 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .codebw-brand.footballcode-brand-name,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-name,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer .codebw-brand.footballcode-marketing-footer-brand-name,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer .site-footer-lockup .codebw-brand {
    color: #0f172a !important;
}

html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .footballcode-product-brand,
html[data-theme="dark-disabled-light"] .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-subtitle,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer .footballcode-product-brand,
html[data-theme="dark-disabled-light"] .site-footer.marketing-footer .footballcode-marketing-footer-brand-subtitle {
    color: rgba(15, 23, 42, 0.62) !important;
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar .footballcode-logo-image,
    .site-footer.marketing-footer .footballcode-logo-image {
        width: var(--footballcode-brand-logo-md) !important;
        height: var(--footballcode-brand-logo-md) !important;
        flex-basis: var(--footballcode-brand-logo-md) !important;
    }

    .marketing-nav.footballcode-premium-topbar .codebw-brand.footballcode-brand-name,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-name,
    .site-footer.marketing-footer .codebw-brand.footballcode-marketing-footer-brand-name,
    .site-footer.marketing-footer .site-footer-lockup .codebw-brand {
        font-size: var(--footballcode-codebw-text-md) !important;
        letter-spacing: -0.045em !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-product-brand,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-subtitle,
    .site-footer.marketing-footer .footballcode-product-brand,
    .site-footer.marketing-footer .footballcode-marketing-footer-brand-subtitle {
        font-size: 0.62rem !important;
        letter-spacing: 0.18em !important;
    }
}

@media (max-width: 575.98px) {
    .marketing-nav.footballcode-premium-topbar .brand-lockup.footballcode-marketing-lockup {
        gap: 0.48rem !important;
        min-width: 0 !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-logo-image {
        width: 3.35rem !important;
        height: 3.35rem !important;
        flex-basis: 3.35rem !important;
    }

    .marketing-nav.footballcode-premium-topbar .codebw-brand.footballcode-brand-name,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-name {
        font-size: 0.98rem !important;
        letter-spacing: -0.04em !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-product-brand,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-subtitle {
        font-size: 0.55rem !important;
        letter-spacing: 0.16em !important;
    }
}


.footballcode-inline-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.9rem;
    color: rgba(248, 250, 252, 0.74);
    font-size: 0.88rem;
    font-weight: 760;
}

.footballcode-table th {
    vertical-align: middle;
}

.footballcode-info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: 0.35rem;
    border: 1px solid rgba(110, 231, 183, 0.35);
    border-radius: 999px;
    color: #6ee7b7;
    background: rgba(110, 231, 183, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: help;
    outline: none;
}

.footballcode-info-tip__icon {
    font-size: 0.68rem;
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.footballcode-info-tip__bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.75rem);
    z-index: 20;
    display: grid;
    gap: 0.25rem;
    width: min(17rem, 70vw);
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(110, 231, 183, 0.22);
    border-radius: 0.95rem;
    color: #f8fafc;
    background: rgba(2, 6, 8, 0.96);
    box-shadow: 0 1.1rem 2.4rem rgba(0, 0, 0, 0.34);
    transform: translate(-50%, 0.35rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    text-transform: none;
    letter-spacing: 0;
}

.footballcode-info-tip__bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 1px solid rgba(110, 231, 183, 0.22);
    border-bottom: 1px solid rgba(110, 231, 183, 0.22);
    background: rgba(2, 6, 8, 0.96);
    transform: translate(-50%, -50%) rotate(45deg);
}

.footballcode-info-tip__bubble strong {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.footballcode-info-tip__bubble span {
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
}

.footballcode-info-tip:hover,
.footballcode-info-tip:focus,
.footballcode-info-tip:focus-visible {
    border-color: rgba(110, 231, 183, 0.55);
    color: #d1fae5;
    background: rgba(110, 231, 183, 0.14);
}

.footballcode-info-tip:hover .footballcode-info-tip__bubble,
.footballcode-info-tip:focus .footballcode-info-tip__bubble,
.footballcode-info-tip:focus-visible .footballcode-info-tip__bubble {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

html[data-theme="dark-disabled-light"] .footballcode-inline-note {
    color: rgba(15, 23, 42, 0.72);
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip {
    border-color: rgba(13, 148, 136, 0.28);
    color: #047857;
    background: rgba(16, 185, 129, 0.08);
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble,
html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble::after {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble strong {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble span {
    color: rgba(15, 23, 42, 0.78);
}

@media (max-width: 767.98px) {
    .footballcode-inline-note {
        align-items: flex-start;
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .footballcode-info-tip__bubble {
        left: 0;
        right: auto;
        transform: translate(0, 0.35rem);
        width: min(15rem, calc(100vw - 2.2rem));
    }

    .footballcode-info-tip__bubble::after {
        left: 0.8rem;
        transform: translate(0, -50%) rotate(45deg);
    }

    .footballcode-info-tip:hover .footballcode-info-tip__bubble,
    .footballcode-info-tip:focus .footballcode-info-tip__bubble,
    .footballcode-info-tip:focus-visible .footballcode-info-tip__bubble {
        transform: translate(0, 0);
    }
}


/* FootballCode mobile navigation: closed by default, opens only after menu tap. */
@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        justify-self: end;
        white-space: nowrap;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav {
        display: none !important;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.62rem;
        margin-top: 0.35rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .marketing-nav-links,
    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .brand-nav {
        display: flex !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links a:not(.btn),
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links .btn,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-theme-toggle {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle[aria-expanded="true"] .marketing-nav-toggle-bars {
        transform: rotate(90deg);
    }
}

@media (min-width: 992px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle {
        display: none !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-nav {
        display: flex !important;
    }
}


/* FootballCode data status and table explanations */
.footballcode-page-meta-section {
    width: 100%;
    margin: clamp(0.95rem, 2vw, 1.25rem) 0 clamp(1.6rem, 3.8vw, 2.8rem);
    padding: 0;
    box-sizing: border-box;
}

.footballcode-page-meta {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: clamp(0.85rem, 1.35vw, 1.05rem) !important;
    border-radius: 1.45rem !important;
}

.footballcode-page-meta-item {
    display: grid;
    align-content: center;
    gap: 0.16rem;
    min-width: 0;
    padding: 0.78rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 1.05rem;
    background: rgba(2, 6, 8, 0.34);
}

.footballcode-page-meta-item-wide {
    justify-items: end;
    text-align: right;
}

.footballcode-page-meta-label {
    color: rgba(110, 231, 183, 0.78) !important;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.footballcode-page-meta-item strong {
    min-width: 0;
    color: #f8fafc;
    font-size: clamp(0.9rem, 1.05vw, 1rem);
    font-weight: 850;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.footballcode-inline-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.9rem;
    color: rgba(248, 250, 252, 0.74);
    font-size: 0.88rem;
    font-weight: 760;
}

.footballcode-th-label {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    white-space: nowrap;
}

.footballcode-table th {
    vertical-align: middle;
    overflow: visible;
}

.footballcode-info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: 0.18rem;
    border: 1px solid rgba(110, 231, 183, 0.35);
    border-radius: 999px;
    color: #6ee7b7;
    background: rgba(110, 231, 183, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: help;
    outline: none;
    overflow: visible;
}

.footballcode-info-tip__icon {
    font-size: 0.68rem;
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.footballcode-info-tip__bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.75rem);
    z-index: 80;
    display: grid;
    gap: 0.25rem;
    width: min(17rem, 70vw);
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(110, 231, 183, 0.22);
    border-radius: 0.95rem;
    color: #f8fafc;
    background: rgba(2, 6, 8, 0.96);
    box-shadow: 0 1.1rem 2.4rem rgba(0, 0, 0, 0.34);
    transform: translate(-50%, 0.35rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}

.footballcode-info-tip__bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 1px solid rgba(110, 231, 183, 0.22);
    border-bottom: 1px solid rgba(110, 231, 183, 0.22);
    background: rgba(2, 6, 8, 0.96);
    transform: translate(-50%, -50%) rotate(45deg);
}

.footballcode-info-tip__bubble strong {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.footballcode-info-tip__bubble span {
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
}

.footballcode-info-tip:hover,
.footballcode-info-tip:focus,
.footballcode-info-tip:focus-visible {
    border-color: rgba(110, 231, 183, 0.55);
    color: #d1fae5;
    background: rgba(110, 231, 183, 0.14);
}

.footballcode-info-tip:hover .footballcode-info-tip__bubble,
.footballcode-info-tip:focus .footballcode-info-tip__bubble,
.footballcode-info-tip:focus-visible .footballcode-info-tip__bubble {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

html[data-theme="dark-disabled-light"] .footballcode-page-meta-item,
html[data-theme="dark-disabled-light"] .footballcode-score-metrics div,
html[data-theme="dark-disabled-light"] .footballcode-factor-list li {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark-disabled-light"] .footballcode-page-meta-item strong {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .footballcode-inline-note {
    color: rgba(15, 23, 42, 0.72);
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip {
    border-color: rgba(13, 148, 136, 0.28);
    color: #047857;
    background: rgba(16, 185, 129, 0.08);
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble,
html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble::after {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble strong {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .footballcode-info-tip__bubble span {
    color: rgba(15, 23, 42, 0.78);
}

@media (max-width: 767.98px) {
    .footballcode-page-meta {
        grid-template-columns: 1fr;
    }

    .footballcode-page-meta-item-wide {
        justify-items: start;
        text-align: left;
    }

    .footballcode-inline-note {
        align-items: flex-start;
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .footballcode-info-tip__bubble {
        left: 0;
        right: auto;
        transform: translate(0, 0.35rem);
        width: min(15rem, calc(100vw - 2.2rem));
    }

    .footballcode-info-tip__bubble::after {
        left: 0.8rem;
        transform: translate(0, -50%) rotate(45deg);
    }

    .footballcode-info-tip:hover .footballcode-info-tip__bubble,
    .footballcode-info-tip:focus .footballcode-info-tip__bubble,
    .footballcode-info-tip:focus-visible .footballcode-info-tip__bubble {
        transform: translate(0, 0);
    }
}


.footballcode-error-shell {
    display: grid;
    min-height: min(46rem, calc(100vh - 16rem));
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.footballcode-error-card {
    position: relative;
    width: min(100%, 52rem);
    overflow: hidden;
    padding: clamp(1.35rem, 4vw, 3rem);
    border: 1px solid var(--footballcode-glass-border);
    border-radius: var(--footballcode-radius-xl);
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.18), transparent 22rem),
        radial-gradient(circle at 90% 12%, rgba(13, 110, 253, 0.16), transparent 24rem),
        var(--footballcode-glass-bg);
    box-shadow: var(--footballcode-glass-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.footballcode-error-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 32%, rgba(110, 231, 183, 0.05));
}

.footballcode-error-card > * {
    position: relative;
    z-index: 1;
}

.footballcode-error-code {
    margin: 0.4rem 0 0.8rem;
    color: #6ee7b7;
    font-size: clamp(4rem, 13vw, 9rem);
    font-weight: 1000;
    letter-spacing: -0.09em;
    line-height: 0.9;
    text-shadow: 0 1rem 3rem rgba(38, 194, 129, 0.18);
}

.footballcode-error-card h1 {
    max-width: 42rem;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4.8vw, 4.5rem);
    font-weight: 1000;
    letter-spacing: -0.07em;
    line-height: 0.96;
    text-wrap: balance;
}

.footballcode-error-card > p:not(.footballcode-kicker) {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: rgba(248, 250, 252, 0.72);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 760;
    line-height: 1.65;
}

.footballcode-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.footballcode-error-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
    color: rgba(248, 250, 252, 0.56);
    font-size: 0.82rem;
    font-weight: 760;
}

.footballcode-error-meta span {
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

html[data-theme="dark-disabled-light"] .footballcode-error-card {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.10), transparent 22rem),
        radial-gradient(circle at 90% 12%, rgba(13, 110, 253, 0.10), transparent 24rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.82));
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="dark-disabled-light"] .footballcode-error-card h1 {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .footballcode-error-card > p:not(.footballcode-kicker),
html[data-theme="dark-disabled-light"] .footballcode-error-meta {
    color: rgba(15, 23, 42, 0.66);
}

html[data-theme="dark-disabled-light"] .footballcode-error-meta span {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 575.98px) {
    .footballcode-error-actions .btn {
        width: 100%;
    }

    .footballcode-error-meta span {
        width: 100%;
        border-radius: 0.85rem;
    }
}


/* FootballCode mobile nav: CodeBW premium dark glass drawer */
.footballcode-mobile-menu-backdrop,
.footballcode-mobile-menu-head {
    display: none;
}

@media (max-width: 991.98px) {
    body.is-footballcode-nav-open {
        overflow: hidden;
        touch-action: none;
    }

    .marketing-nav.footballcode-premium-topbar.footballcode-marketing-nav {
        position: sticky;
        top: calc(0.55rem + env(safe-area-inset-top));
        z-index: 1090;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: calc(100% - 0.75rem);
        min-height: 4.25rem;
        margin-top: 0.35rem;
        padding: 0.68rem 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 1.2rem;
        background:
            radial-gradient(circle at 8% 0%, rgba(38, 194, 129, 0.18), transparent 13rem),
            radial-gradient(circle at 96% 12%, rgba(13, 110, 253, 0.14), transparent 13rem),
            rgba(2, 4, 3, 0.86);
        box-shadow: 0 1.1rem 2.6rem rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
        backdrop-filter: blur(24px) saturate(150%);
        -webkit-backdrop-filter: blur(24px) saturate(150%);
    }

    .footballcode-marketing-lockup {
        max-width: min(18rem, calc(100vw - 6.5rem));
        gap: 0.64rem;
    }

    .footballcode-marketing-logo {
        width: 3.1rem;
        height: 3.1rem;
        filter: drop-shadow(0 0.8rem 1.45rem rgba(38, 194, 129, 0.22));
    }

    .footballcode-marketing-wordmark {
        min-width: 0;
        max-width: 100%;
    }

    .footballcode-marketing-brand-name,
    .footballcode-marketing-brand-subtitle {
        display: block;
        overflow: hidden;
        max-width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .marketing-nav.footballcode-premium-topbar .codebw-brand.footballcode-brand-name,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-name {
        font-size: clamp(1.08rem, 5vw, 1.34rem) !important;
        font-weight: 1000 !important;
        letter-spacing: -0.055em !important;
        line-height: 0.94 !important;
    }

    .footballcode-marketing-brand-subtitle {
        margin-top: 0.08rem;
        color: rgba(209, 250, 229, 0.84);
        font-size: clamp(0.72rem, 3.5vw, 0.86rem) !important;
        font-weight: 900 !important;
        letter-spacing: 0.055em !important;
    }

    .footballcode-marketing-toggle {
        display: inline-flex !important;
        position: relative;
        z-index: 1102;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        min-width: 4.85rem;
        min-height: 2.85rem;
        padding: 0.54rem 0.78rem;
        border: 1px solid rgba(110, 231, 183, 0.26);
        border-radius: 1rem;
        color: #ecfdf5;
        background:
            radial-gradient(circle at 20% 0%, rgba(110, 231, 183, 0.18), transparent 4.5rem),
            rgba(255, 255, 255, 0.07);
        box-shadow: 0 0.85rem 1.8rem rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        font-size: 0.82rem;
        font-weight: 950;
        letter-spacing: -0.015em;
        backdrop-filter: blur(18px) saturate(145%);
        -webkit-backdrop-filter: blur(18px) saturate(145%);
        transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
    }

    .footballcode-marketing-toggle:active {
        transform: scale(0.96);
    }

    .footballcode-marketing-toggle .marketing-nav-toggle-bars,
    .footballcode-marketing-toggle .marketing-nav-toggle-bars::before,
    .footballcode-marketing-toggle .marketing-nav-toggle-bars::after {
        width: 1.12rem;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.22s cubic-bezier(0.2, 0.78, 0.22, 1), opacity 0.18s ease, top 0.22s cubic-bezier(0.2, 0.78, 0.22, 1);
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-toggle {
        border-color: rgba(110, 231, 183, 0.58);
        color: #d1fae5;
        background:
            radial-gradient(circle at 20% 0%, rgba(110, 231, 183, 0.28), transparent 4.8rem),
            rgba(38, 194, 129, 0.13);
        box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.10), 0 1rem 2.2rem rgba(38, 194, 129, 0.16);
    }

    .footballcode-marketing-nav.is-open .marketing-nav-toggle-bars {
        transform: rotate(45deg);
    }

    .footballcode-marketing-nav.is-open .marketing-nav-toggle-bars::before {
        top: 0;
        transform: rotate(90deg);
    }

    .footballcode-marketing-nav.is-open .marketing-nav-toggle-bars::after {
        top: 0;
        opacity: 0;
        transform: scaleX(0);
    }

    .footballcode-mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1095;
        display: block;
        background:
            radial-gradient(circle at 25% 0%, rgba(38, 194, 129, 0.10), transparent 18rem),
            rgba(2, 4, 3, 0.66);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    .footballcode-mobile-menu-backdrop:not([hidden]) {
        opacity: 1;
        pointer-events: auto;
    }

    .footballcode-marketing-links {
        position: fixed;
        top: calc(0.75rem + env(safe-area-inset-top));
        right: 0.75rem;
        bottom: 0.75rem;
        z-index: 1100;
        display: grid !important;
        align-content: start;
        gap: 0.62rem !important;
        width: min(23.5rem, calc(100vw - 1.25rem));
        max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top));
        padding: 1rem;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 1.65rem;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.20), transparent 15rem),
            radial-gradient(circle at 100% 12%, rgba(13, 110, 253, 0.16), transparent 15rem),
            linear-gradient(145deg, rgba(3, 10, 8, 0.98), rgba(2, 4, 3, 0.92));
        box-shadow: -1.3rem 0 3rem rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(26px) saturate(150%);
        -webkit-backdrop-filter: blur(26px) saturate(150%);
        transform: translateX(calc(100% + 1.25rem)) scale(0.985);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.32s cubic-bezier(0.2, 0.78, 0.22, 1), opacity 0.22s ease, visibility 0.22s ease;
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-links {
        transform: translateX(0) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .footballcode-mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        margin-bottom: 0.35rem;
        padding: 0.25rem 0.15rem 0.7rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footballcode-mobile-menu-head span {
        display: grid;
        gap: 0.08rem;
        min-width: 0;
    }

    .footballcode-mobile-menu-head strong {
        color: #ffffff;
        font-size: 1.12rem;
        font-weight: 1000;
        letter-spacing: -0.055em;
        line-height: 0.95;
    }

    .footballcode-mobile-menu-head small {
        color: rgba(209, 250, 229, 0.78);
        font-size: 0.76rem;
        font-weight: 900;
        letter-spacing: 0.085em;
    }

    .footballcode-mobile-menu-close {
        display: inline-grid;
        place-items: center;
        width: 2.55rem;
        height: 2.55rem;
        flex: 0 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0.95rem;
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.07);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        font-size: 1.55rem;
        font-weight: 500;
        line-height: 1;
    }

    .footballcode-marketing-links .footballcode-marketing-link,
    .footballcode-marketing-links .footballcode-marketing-cta,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 3.05rem;
        margin: 0;
        padding: 0.82rem 0.95rem;
        border: 1px solid rgba(255, 255, 255, 0.105);
        border-radius: 1.08rem;
        color: rgba(248, 250, 252, 0.88) !important;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
        font-size: 0.96rem;
        font-weight: 880;
        text-align: left;
        white-space: normal;
        transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
    }

    .footballcode-marketing-links .footballcode-marketing-link::after {
        content: "→";
        color: rgba(110, 231, 183, 0.78);
        font-weight: 1000;
        transform: translateX(0);
        transition: transform 0.16s ease;
    }

    .footballcode-marketing-links .footballcode-marketing-link:hover,
    .footballcode-marketing-links .footballcode-marketing-link:focus-visible,
    .footballcode-marketing-links .footballcode-marketing-cta:hover,
    .footballcode-marketing-links .footballcode-marketing-cta:focus-visible,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle:hover,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle:focus-visible {
        color: #ffffff !important;
        border-color: rgba(110, 231, 183, 0.30);
        background:
            radial-gradient(circle at 12% 0%, rgba(110, 231, 183, 0.14), transparent 7rem),
            linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.045));
        transform: translateX(-2px);
    }

    .footballcode-marketing-links .footballcode-marketing-link:hover::after,
    .footballcode-marketing-links .footballcode-marketing-link:focus-visible::after {
        transform: translateX(0.18rem);
    }

    .footballcode-marketing-links .footballcode-marketing-cta {
        justify-content: center;
        color: #04130f !important;
        border-color: rgba(110, 231, 183, 0.55);
        background: linear-gradient(135deg, #8ef5d0, #26c281) !important;
        box-shadow: 0 0.95rem 2rem rgba(38, 194, 129, 0.20);
        font-weight: 1000;
        text-align: center;
    }

    .footballcode-marketing-links .footballcode-marketing-theme-toggle {
        justify-content: center;
        color: #d1fae5 !important;
        border-color: rgba(110, 231, 183, 0.18);
        background: rgba(110, 231, 183, 0.08) !important;
    }
}

@media (min-width: 992px) {
    .footballcode-mobile-menu-backdrop,
    .footballcode-mobile-menu-head {
        display: none !important;
    }

    .footballcode-marketing-links {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

@media (max-width: 575.98px) {
    .footballcode-marketing-links {
        right: 0.45rem;
        bottom: 0.45rem;
        width: calc(100vw - 0.9rem);
        border-radius: 1.35rem;
    }

    .footballcode-marketing-lockup {
        max-width: calc(100vw - 6rem);
    }

    .footballcode-mobile-menu-head strong {
        font-size: 1.02rem;
    }
}



/* FootballCode mobile nav parity with CodeBlackWhite: compact lockup + dark glass dropdown panel */
@media (max-width: 991.98px) {
    body.footballcode-body.is-footballcode-nav-open {
        overflow: hidden;
    }

    body.footballcode-body.is-footballcode-nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1088;
        background:
            radial-gradient(circle at 24% 0%, rgba(38, 194, 129, 0.14), transparent 18rem),
            rgba(2, 4, 3, 0.58);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar {
        position: sticky;
        top: calc(0.75rem + env(safe-area-inset-top));
        z-index: 1092;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.72rem !important;
        width: calc(100% - 1rem) !important;
        margin: calc(0.75rem + env(safe-area-inset-top)) auto 1rem !important;
        padding: 0.78rem 0.82rem !important;
        border: 1px solid rgba(255, 255, 255, 0.13) !important;
        border-radius: 1.12rem !important;
        background:
            radial-gradient(circle at 8% 0%, rgba(38, 194, 129, 0.15), transparent 12rem),
            radial-gradient(circle at 96% 12%, rgba(13, 110, 253, 0.12), transparent 12rem),
            rgba(2, 4, 3, 0.86) !important;
        box-shadow:
            0 1.15rem 2.6rem rgba(0, 0, 0, 0.30),
            inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
        backdrop-filter: blur(22px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
        isolation: isolate;
    }

    .marketing-nav.footballcode-premium-topbar .brand-lockup.footballcode-marketing-lockup {
        min-width: 0 !important;
        max-width: calc(100% - 4.05rem) !important;
        gap: 0.62rem !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-logo-image,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-logo {
        width: 2.72rem !important;
        height: 2.72rem !important;
        flex: 0 0 2.72rem !important;
        filter: drop-shadow(0 0.7rem 1.2rem rgba(38, 194, 129, 0.18)) !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-wordmark {
        display: grid !important;
        gap: 0.02rem !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .marketing-nav.footballcode-premium-topbar .codebw-brand.footballcode-brand-name,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-name {
        display: block !important;
        overflow: hidden !important;
        max-width: 100% !important;
        color: #f8fafc !important;
        font-size: 0.76rem !important;
        font-weight: 950 !important;
        letter-spacing: 0.12em !important;
        line-height: 1.02 !important;
        text-overflow: ellipsis !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-product-brand,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-subtitle {
        display: block !important;
        overflow: hidden !important;
        max-width: 100% !important;
        margin-top: 0.05rem !important;
        color: #6ee7b7 !important;
        font-size: 0.98rem !important;
        font-weight: 950 !important;
        letter-spacing: -0.045em !important;
        line-height: 1.02 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .footballcode-marketing-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 3.1rem !important;
        width: 3.1rem !important;
        min-width: 3.1rem !important;
        height: 3.1rem !important;
        min-height: 3.1rem !important;
        padding: 0 !important;
        border: 1px solid rgba(110, 231, 183, 0.24) !important;
        border-radius: 1rem !important;
        color: #ecfdf5 !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(110, 231, 183, 0.18), transparent 4.8rem),
            rgba(255, 255, 255, 0.07) !important;
        box-shadow:
            0 0.75rem 1.55rem rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(18px) saturate(145%) !important;
        -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
    }

    .footballcode-marketing-toggle > span:not(.marketing-nav-toggle-bars) {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-toggle {
        border-color: rgba(110, 231, 183, 0.58) !important;
        color: #d1fae5 !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(110, 231, 183, 0.30), transparent 4.8rem),
            rgba(38, 194, 129, 0.14) !important;
        box-shadow:
            0 0 0 1px rgba(110, 231, 183, 0.10),
            0 0.95rem 1.9rem rgba(38, 194, 129, 0.16) !important;
    }

    .footballcode-mobile-menu-backdrop {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1089 !important;
        display: block !important;
        background: transparent !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .footballcode-mobile-menu-backdrop:not([hidden]) {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .footballcode-marketing-links {
        position: absolute !important;
        top: calc(100% + 0.72rem) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        z-index: 1093 !important;
        display: grid !important;
        align-content: start !important;
        gap: 0.66rem !important;
        width: 100% !important;
        max-height: min(72dvh, 34rem) !important;
        padding: 0.95rem !important;
        overflow-y: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 1.28rem !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.18), transparent 15rem),
            radial-gradient(circle at 100% 12%, rgba(13, 110, 253, 0.14), transparent 15rem),
            linear-gradient(145deg, rgba(3, 10, 8, 0.98), rgba(2, 4, 3, 0.94)) !important;
        box-shadow:
            0 1.5rem 3rem rgba(0, 0, 0, 0.40),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(22px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
        transform: translateY(-0.35rem) scale(0.985) !important;
        transform-origin: top center !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition:
            opacity 0.2s ease,
            transform 0.22s cubic-bezier(0.2, 0.78, 0.22, 1),
            visibility 0.2s ease !important;
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-links {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .footballcode-mobile-menu-head {
        display: none !important;
    }

    .footballcode-marketing-links .footballcode-marketing-link,
    .footballcode-marketing-links .footballcode-marketing-cta,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 3.05rem !important;
        padding: 0.86rem 0.95rem !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        border-radius: 0.95rem !important;
        color: rgba(248, 250, 252, 0.88) !important;
        background:
            radial-gradient(circle at 10% 0%, rgba(110, 231, 183, 0.055), transparent 7rem),
            rgba(255, 255, 255, 0.052) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
        font-size: 0.95rem !important;
        font-weight: 850 !important;
        letter-spacing: -0.02em !important;
        text-align: left !important;
        text-decoration: none !important;
    }

    .footballcode-marketing-links .footballcode-marketing-link:hover,
    .footballcode-marketing-links .footballcode-marketing-link:focus-visible,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle:hover,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle:focus-visible {
        color: #d1fae5 !important;
        border-color: rgba(110, 231, 183, 0.30) !important;
        background:
            radial-gradient(circle at 12% 0%, rgba(110, 231, 183, 0.15), transparent 8rem),
            rgba(110, 231, 183, 0.08) !important;
        transform: translateY(-1px);
    }

    .footballcode-marketing-links .footballcode-marketing-cta {
        justify-content: center !important;
        color: #04130d !important;
        border-color: rgba(110, 231, 183, 0.65) !important;
        background: linear-gradient(135deg, #6ee7b7, #26c281) !important;
        box-shadow: 0 0.9rem 2rem rgba(38, 194, 129, 0.20) !important;
        font-weight: 950 !important;
    }
}

@media (max-width: 575.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar {
        width: calc(100% - 0.76rem) !important;
        margin-top: calc(0.5rem + env(safe-area-inset-top)) !important;
        padding: 0.68rem 0.7rem !important;
        border-radius: 1rem !important;
    }

    .marketing-nav.footballcode-premium-topbar .brand-lockup.footballcode-marketing-lockup {
        max-width: calc(100% - 3.55rem) !important;
        gap: 0.54rem !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-logo-image,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-logo {
        width: 2.42rem !important;
        height: 2.42rem !important;
        flex-basis: 2.42rem !important;
    }

    .marketing-nav.footballcode-premium-topbar .codebw-brand.footballcode-brand-name,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-name {
        font-size: 0.66rem !important;
        letter-spacing: 0.105em !important;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-product-brand,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-subtitle {
        font-size: 0.86rem !important;
        letter-spacing: -0.04em !important;
    }

    .footballcode-marketing-toggle {
        width: 2.85rem !important;
        min-width: 2.85rem !important;
        height: 2.85rem !important;
        min-height: 2.85rem !important;
        border-radius: 0.9rem !important;
    }

    .footballcode-marketing-links {
        top: calc(100% + 0.62rem) !important;
        padding: 0.82rem !important;
        border-radius: 1.08rem !important;
    }

    .footballcode-marketing-links .footballcode-marketing-link,
    .footballcode-marketing-links .footballcode-marketing-cta,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle {
        min-height: 2.9rem !important;
        padding: 0.78rem 0.86rem !important;
        border-radius: 0.84rem !important;
        font-size: 0.9rem !important;
    }
}


/* FootballCode production polish: CodeBW lockup alignment + official API team cards */
.footballcode-brand-copy,
.footballcode-marketing-wordmark {
    justify-items: stretch !important;
}

.footballcode-brand-subtitle,
.footballcode-marketing-brand-subtitle,
.footballcode-product-brand {
    text-align: right !important;
}

.footballcode-team-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: clamp(0.78rem, 1.2vw, 1rem);
}

.footballcode-team-card-mini {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "logo name"
        "logo country";
    align-items: center;
    gap: 0.08rem 0.78rem;
    min-height: 5.15rem;
    padding: 0.95rem;
    overflow: hidden;
    border: 1px solid var(--footballcode-glass-border);
    border-radius: var(--footballcode-radius-lg);
    color: #f8fafc;
    background:
        radial-gradient(circle at 10% 0%, rgba(38, 194, 129, 0.10), transparent 11rem),
        var(--footballcode-glass-bg);
    box-shadow: var(--footballcode-glass-shadow);
    text-decoration: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.footballcode-team-card-mini::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.11), transparent 30%, rgba(110, 231, 183, 0.045));
    opacity: 0.7;
}

.footballcode-team-card-mini:hover,
.footballcode-team-card-mini:focus-visible {
    color: #ffffff;
    border-color: rgba(110, 231, 183, 0.32);
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.14), transparent 12rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
    transform: translateY(-2px);
}

.footballcode-team-card-mini img,
.footballcode-team-card-mini-placeholder {
    position: relative;
    z-index: 1;
    grid-area: logo;
    width: 3.15rem;
    height: 3.15rem;
    object-fit: contain;
    padding: 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
}

.footballcode-team-card-mini-placeholder {
    display: inline-grid;
    place-items: center;
    color: #03100b;
    background: linear-gradient(135deg, #8ef5d0, #26c281);
    font-weight: 1000;
    text-transform: uppercase;
}

.footballcode-team-card-mini strong {
    position: relative;
    z-index: 1;
    grid-area: name;
    min-width: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -0.035em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footballcode-team-card-mini small {
    position: relative;
    z-index: 1;
    grid-area: country;
    min-width: 0;
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.82rem;
    font-weight: 760;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-theme="dark-disabled-light"] .footballcode-team-card-mini {
    border-color: rgba(15, 23, 42, 0.10);
    color: #0f172a;
    background:
        radial-gradient(circle at 12% 0%, rgba(38, 194, 129, 0.10), transparent 12rem),
        rgba(255, 255, 255, 0.90);
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, 0.08);
}

html[data-theme="dark-disabled-light"] .footballcode-team-card-mini strong {
    color: #0f172a;
}

html[data-theme="dark-disabled-light"] .footballcode-team-card-mini small {
    color: rgba(15, 23, 42, 0.64);
}

@media (max-width: 575.98px) {
    .footballcode-team-card-grid {
        grid-template-columns: 1fr;
    }

    .marketing-nav.footballcode-premium-topbar .footballcode-product-brand,
    .marketing-nav.footballcode-premium-topbar .footballcode-marketing-brand-subtitle {
        text-align: right !important;
    }
}

/* FootballCode final mobile nav failsafe */
@media (max-width: 991.98px) {
    .footballcode-marketing-nav {
        position: sticky !important;
        top: calc(0.65rem + env(safe-area-inset-top)) !important;
        z-index: 1200 !important;
        overflow: visible !important;
    }

    .footballcode-marketing-toggle {
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
    }

    .footballcode-marketing-nav:not(.is-open) .footballcode-marketing-links {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-0.45rem) scale(0.985) !important;
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-links {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .footballcode-marketing-nav.is-open [data-marketing-nav-backdrop] {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}


/* FootballCode mobile menu final override: one JS owner, closed by default. */
@media (max-width: 991.98px) {
    .footballcode-marketing-nav .footballcode-marketing-toggle,
    .footballcode-marketing-nav [data-marketing-nav-toggle] {
        display: inline-flex !important;
        position: relative;
        z-index: 1125;
    }

    .footballcode-marketing-nav .footballcode-marketing-links {
        display: none !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-links,
    .footballcode-marketing-nav .footballcode-marketing-links.is-open {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .footballcode-mobile-menu-backdrop {
        display: none !important;
        opacity: 0;
        pointer-events: none;
    }

    .footballcode-mobile-menu-backdrop.is-open,
    body.is-footballcode-nav-open .footballcode-mobile-menu-backdrop {
        display: block !important;
        opacity: 1;
        pointer-events: auto;
    }
}


/* FootballCode final brand parity: match CodeBW/SocialCode lockup proportions. */
.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-lockup,
.site-footer .footballcode-marketing-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    min-width: 0 !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-logo,
.site-footer .footballcode-marketing-footer-logo,
.site-footer .footballcode-marketing-logo {
    width: clamp(3.15rem, 3.4vw, 4.25rem) !important;
    height: clamp(3.15rem, 3.4vw, 4.25rem) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 0.65rem 1.45rem rgba(53, 217, 174, 0.18)) !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-wordmark,
.site-footer .footballcode-marketing-wordmark {
    display: grid !important;
    gap: 0.06rem !important;
    width: max-content !important;
    min-width: 0 !important;
    line-height: 1.04 !important;
    text-align: left !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .codebw-brand.footballcode-marketing-brand-name,
.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name.footballcode-marketing-brand-name,
.site-footer .codebw-brand.footballcode-marketing-brand-name,
.site-footer .footballcode-brand-name.footballcode-marketing-brand-name {
    display: block !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.14em !important;
    line-height: 1.05 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-product-brand.footballcode-marketing-brand-subtitle,
.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle.footballcode-marketing-brand-subtitle,
.site-footer .footballcode-product-brand.footballcode-marketing-brand-subtitle,
.site-footer .footballcode-brand-subtitle.footballcode-marketing-brand-subtitle {
    display: block !important;
    margin-top: 0.06rem !important;
    color: #4ce0a6 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.05 !important;
    text-align: right !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-logo {
        width: 3.05rem !important;
        height: 3.05rem !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-wordmark {
        max-width: min(12.25rem, calc(100vw - 8rem)) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .codebw-brand.footballcode-marketing-brand-name,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name.footballcode-marketing-brand-name {
        font-size: 0.66rem !important;
        letter-spacing: 0.115em !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-product-brand.footballcode-marketing-brand-subtitle,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle.footballcode-marketing-brand-subtitle {
        font-size: 0.92rem !important;
        letter-spacing: -0.04em !important;
    }
}

/* FootballCode final mobile menu: single open state with CodeBW-style dark glass panel. */
@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav {
        position: sticky !important;
        top: calc(0.75rem + env(safe-area-inset-top)) !important;
        z-index: 1300 !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: calc(100% - 1rem) !important;
        min-height: 4.35rem !important;
        margin: calc(0.75rem + env(safe-area-inset-top)) auto 1rem !important;
        padding: 0.7rem 0.78rem !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 1.2rem !important;
        background:
            radial-gradient(circle at 8% 0%, rgba(38, 194, 129, 0.18), transparent 13rem),
            radial-gradient(circle at 96% 12%, rgba(13, 110, 253, 0.14), transparent 13rem),
            rgba(2, 4, 3, 0.88) !important;
        box-shadow: 0 1.1rem 2.6rem rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(22px) saturate(145%) !important;
        -webkit-backdrop-filter: blur(22px) saturate(145%) !important;
    }

    .footballcode-marketing-toggle,
    [data-marketing-nav-toggle] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 2.85rem !important;
        min-width: 2.85rem !important;
        height: 2.85rem !important;
        min-height: 2.85rem !important;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.13) !important;
        border-radius: 0.95rem !important;
        color: #f8fafc !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(110, 231, 183, 0.18), transparent 4.8rem),
            rgba(255, 255, 255, 0.07) !important;
        box-shadow: 0 0.75rem 1.55rem rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .footballcode-marketing-toggle > span:not(.marketing-nav-toggle-bars) {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
    }

    .footballcode-marketing-links {
        position: absolute !important;
        top: calc(100% + 0.65rem) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1310 !important;
        display: grid !important;
        gap: 0.62rem !important;
        width: 100% !important;
        max-height: min(72dvh, 34rem) !important;
        padding: 0.86rem !important;
        overflow-y: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 1.12rem !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.18), transparent 15rem),
            radial-gradient(circle at 100% 10%, rgba(13, 110, 253, 0.16), transparent 14rem),
            rgba(2, 6, 8, 0.96) !important;
        box-shadow: 0 1.4rem 3.2rem rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
        backdrop-filter: blur(24px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-0.45rem) scale(0.985) !important;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-links,
    .footballcode-marketing-links.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .footballcode-mobile-menu-backdrop {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1290 !important;
        display: block !important;
        background:
            radial-gradient(circle at 24% 0%, rgba(38, 194, 129, 0.14), transparent 18rem),
            rgba(2, 4, 3, 0.56) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.18s ease !important;
    }

    .footballcode-mobile-menu-backdrop.is-open,
    .footballcode-mobile-menu-backdrop:not([hidden]) {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .footballcode-marketing-links .footballcode-marketing-link,
    .footballcode-marketing-links .footballcode-marketing-cta,
    .footballcode-marketing-links .footballcode-marketing-theme-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 2.9rem !important;
        padding: 0.78rem 0.86rem !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        border-radius: 0.85rem !important;
        color: rgba(248, 250, 252, 0.88) !important;
        background: rgba(255, 255, 255, 0.055) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        font-size: 0.9rem !important;
        font-weight: 850 !important;
        text-align: left !important;
        text-decoration: none !important;
    }
}

/* FootballCode brand lockup final adjustment: tighter logo/text, larger CodeBW, right-aligned product name. */
.marketing-nav.footballcode-premium-topbar.brand-topbar .brand-lockup.footballcode-marketing-lockup {
    gap: 0 !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-logo {
    width: clamp(3.35rem, 3.65vw, 4.45rem) !important;
    height: clamp(3.35rem, 3.65vw, 4.45rem) !important;
    flex: 0 0 clamp(3.35rem, 3.65vw, 4.45rem) !important;
    margin-right: -0.06rem !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-wordmark {
    display: grid !important;
    justify-items: end !important;
    gap: 0 !important;
    margin-left: 0 !important;
    line-height: 1 !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .codebw-brand.footballcode-marketing-brand-name,
.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name.footballcode-marketing-brand-name {
    font-size: clamp(0.9rem, 0.96vw, 1.06rem) !important;
    letter-spacing: 0.105em !important;
    line-height: 1 !important;
    text-align: right !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-product-brand.footballcode-marketing-brand-subtitle,
.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle.footballcode-marketing-brand-subtitle {
    margin-top: 0 !important;
    font-size: clamp(1.06rem, 1.14vw, 1.22rem) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.02 !important;
    text-align: right !important;
    justify-self: end !important;
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar .brand-lockup.footballcode-marketing-lockup {
        gap: 0 !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-logo {
        width: 3.1rem !important;
        height: 3.1rem !important;
        flex-basis: 3.1rem !important;
        margin-right: -0.04rem !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .codebw-brand.footballcode-marketing-brand-name,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-name.footballcode-marketing-brand-name {
        font-size: 0.72rem !important;
        letter-spacing: 0.09em !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-product-brand.footballcode-marketing-brand-subtitle,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-subtitle.footballcode-marketing-brand-subtitle {
        font-size: 0.98rem !important;
    }
}


/* FootballCode live API panel */
.footballcode-live-api-panel {
    border: 1px solid rgba(130, 234, 181, 0.28);
    border-radius: 1.4rem;
    padding: clamp(1.05rem, 2vw, 1.5rem);
    background:
        radial-gradient(circle at 0% 0%, rgba(130, 234, 181, 0.18), transparent 18rem),
        radial-gradient(circle at 100% 0%, rgba(33, 150, 243, 0.14), transparent 16rem),
        rgba(10, 22, 20, 0.9);
    box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footballcode-live-api-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footballcode-live-api-panel__head h2 {
    margin: 0;
}

.footballcode-live-api-panel__head p {
    max-width: 58rem;
    margin: 0.45rem 0 0;
    color: rgba(248, 250, 252, 0.76);
}

.footballcode-live-api-panel__meta,
.footballcode-live-api-panel__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footballcode-live-api-panel__meta {
    justify-content: flex-end;
    min-width: min(100%, 18rem);
}

.footballcode-live-api-panel__meta span,
.footballcode-live-api-panel__notes span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.42rem 0.65rem;
    color: rgba(248, 250, 252, 0.76);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.78rem;
    font-weight: 800;
}

.footballcode-live-fixture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.85rem;
}

.footballcode-live-fixture-card,
.footballcode-live-league-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.05rem;
    background: rgba(2, 6, 8, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footballcode-live-fixture-card {
    padding: 1rem;
}

.footballcode-live-fixture-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(248, 250, 252, 0.68);
    font-size: 0.78rem;
    font-weight: 800;
}

.footballcode-live-fixture-card__top strong {
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    color: #052017;
    background: #8ff1bc;
    font-size: 0.72rem;
}

.footballcode-live-fixture-card h3 {
    margin: 0;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.footballcode-live-fixture-card__score {
    margin: 0.55rem 0;
    color: #8ff1bc;
    font-size: clamp(1.45rem, 2.7vw, 2.2rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.footballcode-live-fixture-card p,
.footballcode-live-fixture-card small {
    display: block;
    margin: 0.55rem 0 0;
    color: rgba(248, 250, 252, 0.68);
}

.footballcode-live-league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0.8rem;
}

.footballcode-live-league-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 5rem;
    padding: 0.85rem;
}

.footballcode-live-league-card img {
    width: 2.65rem;
    height: 2.65rem;
    object-fit: contain;
}

.footballcode-live-league-card strong,
.footballcode-live-league-card span {
    display: block;
}

.footballcode-live-league-card span {
    margin-top: 0.25rem;
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.84rem;
}

.footballcode-live-api-panel__notes {
    margin-top: 1rem;
}

.footballcode-live-worldcup {
    border: 1px solid rgba(130, 234, 181, 0.24);
    border-radius: 1.15rem;
    padding: clamp(0.85rem, 1.6vw, 1.2rem);
    margin: 1rem 0 1.15rem;
    background: rgba(255, 255, 255, 0.035);
}

.footballcode-live-summary {
    margin: 0 0 0.9rem;
    color: rgba(248, 250, 252, 0.72);
    font-weight: 750;
}

.footballcode-live-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0.8rem;
}

.footballcode-live-stat-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 5.25rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.05rem;
    padding: 0.85rem;
    background: rgba(2, 6, 8, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footballcode-live-stat-card img {
    width: 2.85rem;
    height: 2.85rem;
    object-fit: contain;
}

.footballcode-live-stat-card strong,
.footballcode-live-stat-card span,
.footballcode-live-stat-card small {
    display: block;
}

.footballcode-live-stat-card span,
.footballcode-live-stat-card small {
    margin-top: 0.2rem;
    color: rgba(248, 250, 252, 0.64);
    font-size: 0.82rem;
}

@media (max-width: 767.98px) {
    .footballcode-live-api-panel__head {
        display: grid;
    }

    .footballcode-live-api-panel__meta {
        justify-content: flex-start;
    }
}


.footballcode-live-block-title {
    margin: 1.15rem 0 0.65rem;
    color: rgba(248, 250, 252, 0.9);
    font-size: 0.86rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footballcode-live-fixture-card__league {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.78rem;
    font-weight: 800;
}

.footballcode-live-fixture-card__league img {
    width: 1.45rem;
    height: 1.45rem;
    object-fit: contain;
}

.footballcode-live-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.8rem;
}

.footballcode-live-player-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 5.25rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.05rem;
    padding: 0.85rem;
    background: rgba(2, 6, 8, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footballcode-live-player-card img {
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.footballcode-live-player-card strong,
.footballcode-live-player-card span,
.footballcode-live-player-card small {
    display: block;
}

.footballcode-live-player-card span,
.footballcode-live-player-card small {
    margin-top: 0.2rem;
    color: rgba(248, 250, 252, 0.64);
    font-size: 0.82rem;
}


.footballcode-live-standings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 0.85rem;
}

.footballcode-live-standing-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.05rem;
    padding: 0.95rem;
    background: rgba(2, 6, 8, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.footballcode-live-standing-card h3 {
    margin: 0;
    font-size: 1rem;
}

.footballcode-live-standing-card small {
    display: block;
    margin-top: 0.25rem;
    color: rgba(248, 250, 252, 0.62);
}

.footballcode-live-standing-table {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.25rem;
}

.footballcode-live-standing-row {
    display: grid;
    grid-template-columns: 2rem minmax(7rem, 1fr) repeat(6, 2.25rem);
    gap: 0.35rem;
    align-items: center;
    border-radius: 0.6rem;
    padding: 0.45rem 0.5rem;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(248, 250, 252, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
}

.footballcode-live-standing-row--head {
    color: rgba(248, 250, 252, 0.55);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footballcode-live-standing-row strong {
    color: #8ff1bc;
}

@media (max-width: 575.98px) {
    .footballcode-live-standings-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-live-standing-row {
        grid-template-columns: 1.75rem minmax(6.5rem, 1fr) repeat(6, 2rem);
        gap: 0.2rem;
        padding: 0.4rem 0.35rem;
        font-size: 0.72rem;
    }
}


/* FootballCode World Cup UX refresh */
.footballcode-main {
    width: min(1440px, calc(100% - 2rem));
}

.footballcode-hero--worldcup {
    min-height: auto;
    padding: clamp(2.75rem, 7vw, 6rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.footballcode-hero--worldcup h1,
.footballcode-page-head--worldcup h1 {
    max-width: 980px;
    font-size: clamp(2.8rem, 7vw, 6.4rem);
}

.footballcode-hero-board--compact {
    min-height: 280px;
    border-radius: 1.35rem;
}

.footballcode-worldcup-dashboard {
    border: 1px solid rgba(145, 245, 194, 0.24);
    border-radius: 1.65rem;
    padding: clamp(1rem, 2vw, 1.6rem);
    background:
        radial-gradient(circle at 0% 0%, rgba(145, 245, 194, 0.13), transparent 22rem),
        radial-gradient(circle at 100% 0%, rgba(45, 127, 249, 0.15), transparent 20rem),
        rgba(7, 15, 13, 0.92);
    box-shadow: 0 1.3rem 3.4rem rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footballcode-worldcup-dashboard__head,
.footballcode-worldcup-block__title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.footballcode-worldcup-dashboard__head {
    margin-bottom: 1rem;
}

.footballcode-worldcup-dashboard__head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.035em;
}

.footballcode-worldcup-dashboard__head p {
    max-width: 760px;
    margin: 0.45rem 0 0;
    color: rgba(248, 250, 252, 0.74);
    font-weight: 650;
}

.footballcode-worldcup-updated,
.footballcode-worldcup-kpi,
.footballcode-ai-insight-card,
.footballcode-readable-fixture-card,
.footballcode-team-insight-card,
.footballcode-person-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(2, 7, 6, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footballcode-worldcup-updated {
    min-width: 12rem;
    border-radius: 1rem;
    padding: 0.75rem 0.9rem;
    text-align: right;
}

.footballcode-worldcup-updated span,
.footballcode-worldcup-kpi span,
.footballcode-ai-insight-card span,
.footballcode-readable-fixture-card__meta span,
.footballcode-person-card span,
.footballcode-team-insight-card span {
    display: block;
    color: #9af7c8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footballcode-worldcup-updated strong {
    display: block;
    margin-top: 0.2rem;
    color: #fff;
}

.footballcode-worldcup-scoreboard {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.footballcode-worldcup-kpi {
    min-height: 6.5rem;
    border-radius: 1rem;
    padding: 0.85rem;
    display: grid;
    align-content: space-between;
}

.footballcode-worldcup-kpi--wide {
    grid-column: span 2;
}

.footballcode-worldcup-kpi strong {
    display: block;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.footballcode-worldcup-kpi small {
    display: block;
    margin-top: 0.35rem;
    color: rgba(248, 250, 252, 0.64);
    font-weight: 700;
}

.footballcode-ai-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.8fr));
    gap: 0.8rem;
    margin: 1rem 0 1.2rem;
}

.footballcode-ai-insight-card {
    border-radius: 1.15rem;
    padding: clamp(1rem, 1.6vw, 1.25rem);
}

.footballcode-ai-insight-card:first-child {
    grid-row: span 2;
    background:
        radial-gradient(circle at 10% 0%, rgba(145, 245, 194, 0.18), transparent 18rem),
        rgba(4, 10, 9, 0.82);
}

.footballcode-ai-insight-card h3,
.footballcode-worldcup-block__title h3,
.footballcode-team-insight-card h4,
.footballcode-person-card h4 {
    margin: 0.35rem 0 0;
    color: #fff;
}

.footballcode-ai-insight-card h3 {
    font-size: clamp(1.15rem, 1.9vw, 2rem);
}

.footballcode-ai-insight-card p,
.footballcode-team-insight-card p,
.footballcode-person-card p {
    margin: 0.55rem 0 0;
    color: rgba(248, 250, 252, 0.76);
    font-weight: 650;
}

.footballcode-worldcup-block {
    margin-top: clamp(1.3rem, 3vw, 2.4rem);
}

.footballcode-worldcup-block__title {
    margin-bottom: 0.9rem;
}

.footballcode-worldcup-block__title > span {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.45rem 0.65rem;
    color: rgba(248, 250, 252, 0.76);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.78rem;
    font-weight: 850;
}

.footballcode-readable-fixtures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 0.8rem;
}

.footballcode-readable-fixture-card {
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 1fr);
    gap: 0.85rem;
    border-radius: 1.1rem;
    padding: 0.85rem;
}

.footballcode-readable-fixture-card__date {
    display: grid;
    align-content: center;
    justify-items: center;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    min-height: 5rem;
    text-align: center;
}

.footballcode-readable-fixture-card__date strong {
    font-size: 0.88rem;
}

.footballcode-readable-fixture-card__date span {
    margin-top: 0.15rem;
    color: #9af7c8;
    font-size: 1.05rem;
    font-weight: 950;
}

.footballcode-readable-fixture-card__body {
    min-width: 0;
}

.footballcode-readable-fixture-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}

.footballcode-readable-fixture-card__meta mark,
.footballcode-live-fixture-card__top strong {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.32rem 0.55rem;
    color: #04140f !important;
    background: #c9ffe0 !important;
    font-size: 0.74rem;
    font-weight: 950;
    white-space: nowrap;
}

.footballcode-readable-fixture-card__meta mark.is-live {
    background: #ffdf7e !important;
    color: #211400 !important;
}

.footballcode-readable-fixture-card__meta mark.is-finished {
    background: #dbe4ff !important;
    color: #06152f !important;
}

.footballcode-readable-fixture-card__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.footballcode-readable-fixture-card__teams strong {
    color: #fff;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.1;
}

.footballcode-readable-fixture-card__teams strong:last-child {
    text-align: right;
}

.footballcode-readable-fixture-card__teams em {
    min-width: 3.2rem;
    border-radius: 0.8rem;
    padding: 0.38rem 0.5rem;
    color: #9af7c8;
    background: rgba(145, 245, 194, 0.1);
    font-style: normal;
    font-size: 1rem;
    font-weight: 950;
    text-align: center;
}

.footballcode-readable-fixture-card small {
    display: block;
    margin-top: 0.6rem;
    color: rgba(248, 250, 252, 0.64);
    font-weight: 700;
}

.footballcode-team-insight-grid,
.footballcode-person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 0.8rem;
}

.footballcode-team-insight-card,
.footballcode-person-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 1.05rem;
    padding: 0.9rem;
    min-width: 0;
}

.footballcode-team-insight-card img,
.footballcode-person-card img {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 3.25rem;
    border-radius: 999px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
}

.footballcode-person-card img {
    object-fit: cover;
}

.footballcode-team-insight-card > div,
.footballcode-person-card > div {
    min-width: 0;
}

.footballcode-team-insight-card h4,
.footballcode-person-card h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footballcode-person-card--warning {
    border-color: rgba(255, 223, 126, 0.28);
    background: rgba(255, 223, 126, 0.06);
}

.footballcode-mini-section-title {
    margin: 1.1rem 0 0.65rem;
    color: #9af7c8;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footballcode-readable-standing-card {
    background: rgba(2, 7, 6, 0.68);
}

.footballcode-live-standing-row {
    grid-template-columns: 2rem minmax(8rem, 1fr) repeat(6, minmax(2rem, 2.25rem));
}

.footballcode-live-standing-row strong {
    color: #9af7c8;
}

.footballcode-live-api-panel__notes {
    display: none !important;
}

.footballcode-page-meta-section,
.footballcode-empty:empty {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .footballcode-worldcup-scoreboard {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footballcode-ai-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footballcode-ai-insight-card:first-child {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 767.98px) {
    .footballcode-main {
        width: min(100% - 1rem, 100%);
    }

    .footballcode-hero--worldcup {
        grid-template-columns: 1fr;
    }

    .footballcode-worldcup-dashboard__head,
    .footballcode-worldcup-block__title {
        display: grid;
        align-items: start;
    }

    .footballcode-worldcup-updated {
        text-align: left;
    }

    .footballcode-worldcup-scoreboard,
    .footballcode-ai-insight-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-worldcup-kpi--wide,
    .footballcode-ai-insight-card:first-child {
        grid-column: auto;
    }

    .footballcode-readable-fixtures {
        grid-template-columns: 1fr;
    }

    .footballcode-readable-fixture-card {
        grid-template-columns: 1fr;
    }

    .footballcode-readable-fixture-card__date {
        min-height: auto;
        justify-items: start;
        padding: 0.65rem;
    }

    .footballcode-readable-fixture-card__teams {
        grid-template-columns: 1fr;
    }

    .footballcode-readable-fixture-card__teams strong:last-child {
        text-align: left;
    }

    .footballcode-readable-fixture-card__teams em {
        width: fit-content;
    }
}


/* FootballCode World Cup hero spacing fix: keep copy away from glass-card edges. */
.footballcode-hero.footballcode-hero--worldcup {
    padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5.5rem);
    column-gap: clamp(2rem, 5vw, 5.5rem);
}

.footballcode-hero--worldcup .footballcode-hero-copy {
    max-width: 58rem;
}

.footballcode-hero--worldcup .footballcode-hero-copy > p:not(.footballcode-kicker) {
    max-width: 42rem;
}

.footballcode-hero--worldcup .footballcode-hero-actions {
    margin-top: 0.35rem;
}

.footballcode-hero--worldcup .footballcode-hero-board--compact {
    padding: clamp(1.8rem, 3.5vw, 3rem);
}

@media (max-width: 991.98px) {
    .footballcode-hero.footballcode-hero--worldcup {
        padding: clamp(2rem, 8vw, 3rem) clamp(1.25rem, 6vw, 2rem);
        row-gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .footballcode-hero.footballcode-hero--worldcup {
        padding: 1.35rem;
    }

    .footballcode-hero--worldcup h1 {
        font-size: clamp(2.3rem, 13vw, 3.35rem);
    }
}


/* FootballCode score prediction panel */
.footballcode-prediction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 0.9rem;
}

.footballcode-prediction-card {
    border: 1px solid rgba(145, 245, 194, 0.18);
    border-radius: 1.15rem;
    padding: clamp(1rem, 1.6vw, 1.25rem);
    background:
        radial-gradient(circle at 0% 0%, rgba(145, 245, 194, 0.12), transparent 15rem),
        rgba(2, 7, 6, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footballcode-prediction-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.footballcode-prediction-card__top span {
    display: block;
    color: #9af7c8;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footballcode-prediction-card__top h4 {
    margin: 0.35rem 0 0;
    color: #fff;
    font-size: clamp(1.1rem, 1.6vw, 1.55rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.footballcode-prediction-card__top strong {
    min-width: 4.2rem;
    border: 1px solid rgba(145, 245, 194, 0.38);
    border-radius: 1rem;
    padding: 0.55rem 0.7rem;
    color: #06140f;
    background: #a6f5c7;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 1000;
    line-height: 1;
    text-align: center;
}

.footballcode-prediction-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.footballcode-prediction-card__metrics span {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.38rem 0.55rem;
    color: #e9fff3;
    background: rgba(255, 255, 255, 0.065);
    font-size: 0.76rem;
    font-weight: 850;
}

.footballcode-prediction-card p {
    margin: 1rem 0 0;
    color: rgba(248, 250, 252, 0.8);
    font-weight: 650;
    line-height: 1.55;
}

.footballcode-prediction-card ul {
    display: grid;
    gap: 0.35rem;
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.86rem;
    font-weight: 650;
}

.footballcode-prediction-card li::marker {
    color: #9af7c8;
}

.footballcode-hero-actions .btn,
.footballcode-worldcup-block__title > span,
.footballcode-readable-fixture-card__meta mark,
.footballcode-live-fixture-card__top strong {
    color: #04140f;
}

@media (max-width: 720px) {
    .footballcode-prediction-grid {
        grid-template-columns: 1fr;
    }

    .footballcode-prediction-card__top {
        display: grid;
    }

    .footballcode-prediction-card__top strong {
        justify-self: start;
    }
}

/* Fix: never use white text on light green surfaces in FootballCode public pages */
.footballcode-body .btn-primary,
.footballcode-body .btn-primary:hover,
.footballcode-body .btn-primary:focus-visible,
.footballcode-live-fixture-card__top strong,
.footballcode-readable-fixture-card__meta mark,
.footballcode-panel-header .status-badge.status-success,
.footballcode-body .status-success,
.footballcode-body .status-badge.status-success,
.footballcode-worldcup-badge,
.footballcode-prediction-card__top strong {
    color: #04140f !important;
    text-shadow: none !important;
}

.footballcode-panel-header .status-badge.status-success,
.footballcode-body .status-success,
.footballcode-body .status-badge.status-success {
    background: #c9ffe0 !important;
    border-color: rgba(38, 194, 129, 0.36) !important;
    box-shadow: none !important;
}

.footballcode-body .btn-primary .text-white,
.footballcode-body .btn-primary .text-light,
.footballcode-live-fixture-card__top strong .text-white,
.footballcode-readable-fixture-card__meta mark .text-white {
    color: #04140f !important;
}

/* FootballCode World Cup fixture spacing and AI insight marker */
.footballcode-readable-fixtures {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr));
    gap: 1rem;
}

.footballcode-readable-fixture-card {
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1.15rem;
    padding: 1.1rem;
    border-radius: 1.25rem;
}

.footballcode-readable-fixture-card__date {
    min-height: 6.25rem;
    padding: 0.85rem 0.65rem;
}

.footballcode-readable-fixture-card__date strong {
    font-size: 0.95rem;
    line-height: 1.15;
}

.footballcode-readable-fixture-card__date span {
    font-size: 1.08rem;
}

.footballcode-readable-fixture-card__body {
    display: grid;
    align-content: center;
    gap: 0.75rem;
}

.footballcode-readable-fixture-card__meta {
    align-items: flex-start;
    gap: 0.7rem;
}

.footballcode-readable-fixture-card__meta > span {
    min-width: 0;
    max-width: 100%;
    line-height: 1.25;
}

.footballcode-readable-fixture-card__meta mark {
    flex: 0 0 auto;
    padding: 0.45rem 0.75rem;
}

.footballcode-readable-fixture-card__teams {
    grid-template-columns: minmax(6rem, 1fr) 4.5rem minmax(6rem, 1fr);
    gap: 0.9rem;
    margin-top: 0;
}

.footballcode-readable-fixture-card__teams strong {
    min-width: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.footballcode-readable-fixture-card__teams em {
    min-width: 4.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: 1rem;
}

.footballcode-readable-fixture-card small {
    margin-top: 0;
    line-height: 1.4;
}

.footballcode-ai-insight-card__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.footballcode-ai-insight-card__label > span:first-child {
    margin: 0;
}

.footballcode-ai-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    width: auto;
    min-height: 2rem;
    padding: 0.36rem 0.62rem;
    border: 1px solid rgba(154, 247, 200, 0.35);
    border-radius: 999px;
    color: #04140f !important;
    background: #c9ffe0;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
}

.footballcode-ai-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

@media (max-width: 860px) {
    .footballcode-readable-fixture-card {
        grid-template-columns: 1fr;
    }

    .footballcode-readable-fixture-card__date {
        min-height: auto;
        justify-items: start;
        padding: 0.8rem;
    }

    .footballcode-readable-fixture-card__meta {
        align-items: center;
    }
}

@media (max-width: 520px) {
    .footballcode-readable-fixture-card__teams {
        grid-template-columns: 1fr;
    }

    .footballcode-readable-fixture-card__teams strong:last-child {
        text-align: left;
    }

    .footballcode-readable-fixture-card__teams em {
        min-width: 0;
        width: fit-content;
    }
}

/* Prediction score should always stay on one line */
.footballcode-prediction-card__top strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.25rem;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}


/* FootballCode: compact prediction score + balanced header spacing */
.footballcode-prediction-card__top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: clamp(0.9rem, 2vw, 1.35rem) !important;
}

.footballcode-prediction-card__top > div {
    min-width: 0;
}

.footballcode-prediction-card__top h4 {
    max-width: 100%;
}

.footballcode-prediction-card__top strong {
    min-width: 4.65rem !important;
    min-height: 3.4rem !important;
    padding: 0.42rem 0.58rem !important;
    border-radius: 0.85rem !important;
    font-size: clamp(1.25rem, 1.6vw, 1.55rem) !important;
    letter-spacing: -0.045em !important;
    white-space: nowrap !important;
}

/* FootballCode: external media + metadata panels */
.footballcode-highlight-grid,
.footballcode-team-profile-grid,
.footballcode-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 0.85rem;
}

.footballcode-highlight-card,
.footballcode-team-profile-card,
.footballcode-news-card,
.footballcode-source-strip {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.15rem;
    background: rgba(2, 7, 6, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footballcode-highlight-card,
.footballcode-news-card {
    display: grid;
    gap: 0.8rem;
    padding: 0.9rem;
    color: #f8fafc;
    text-decoration: none;
}

.footballcode-highlight-card:hover,
.footballcode-news-card:hover {
    border-color: rgba(154, 247, 200, 0.32);
    transform: translateY(-1px);
}

.footballcode-highlight-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.06);
}

.footballcode-highlight-card span,
.footballcode-news-card span,
.footballcode-team-profile-card span {
    display: block;
    color: #9af7c8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footballcode-highlight-card h4,
.footballcode-news-card h4,
.footballcode-team-profile-card h4 {
    margin: 0.3rem 0 0;
    color: #ffffff;
    font-size: clamp(1.02rem, 1.35vw, 1.28rem);
    line-height: 1.15;
}

.footballcode-highlight-card p,
.footballcode-news-card p,
.footballcode-team-profile-card p {
    margin: 0.38rem 0 0;
    color: rgba(248, 250, 252, 0.72);
    font-weight: 650;
}

.footballcode-highlight-card strong {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.65rem;
    border-radius: 999px;
    padding: 0.42rem 0.65rem;
    color: #04140f;
    background: #c9ffe0;
    font-size: 0.78rem;
    font-weight: 950;
}

.footballcode-team-profile-card {
    overflow: hidden;
}

.footballcode-team-profile-card__cover {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.footballcode-team-profile-card__body {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem;
}

.footballcode-team-profile-card__logo {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    object-fit: contain;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.32rem;
}

.footballcode-source-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
    margin-top: clamp(1.3rem, 3vw, 2.4rem);
    padding: 0.85rem;
}

.footballcode-source-strip div {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.footballcode-source-strip span {
    color: #9af7c8;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.footballcode-source-strip strong {
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1;
}

.footballcode-source-strip small {
    color: rgba(248, 250, 252, 0.68);
    font-weight: 650;
}

@media (max-width: 720px) {
    .footballcode-prediction-card__top {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    .footballcode-prediction-card__top strong {
        justify-self: start;
    }
}


/* OpenAI score prediction cards */
.footballcode-prediction-card__top {
    align-items: center;
    gap: clamp(1rem, 2.2vw, 1.9rem);
}

.footballcode-prediction-card__top > div {
    min-width: 0;
    flex: 1 1 auto;
}

.footballcode-prediction-card__top strong {
    min-width: 4.65rem !important;
    padding: 0.42rem 0.62rem !important;
    font-size: clamp(1.15rem, 1.55vw, 1.55rem) !important;
    white-space: nowrap;
    flex: 0 0 auto;
}

.footballcode-prediction-card__source {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin-top: 0.45rem;
    padding: 0.28rem 0.46rem;
    border: 1px solid rgba(154, 247, 200, 0.25);
    border-radius: 999px;
    color: #dfffee !important;
    background: rgba(154, 247, 200, 0.08);
    font-size: 0.72rem !important;
    font-weight: 900;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
}

.footballcode-prediction-card__source .footballcode-ai-icon {
    width: 1.15rem;
    height: 1.15rem;
}

@media (max-width: 720px) {
    .footballcode-prediction-card__top {
        display: flex !important;
        align-items: flex-start;
    }

    .footballcode-prediction-card__top strong {
        min-width: 4.25rem !important;
    }
}


/* FootballCode public UI: dark-only theme and language switcher */
html,
html[data-theme="dark"] {
    color-scheme: dark;
    background: #020403;
}

html[data-theme="dark"] body.footballcode-body,
body.footballcode-body {
    background:
        radial-gradient(circle at 16% 0%, rgba(38, 194, 129, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(59, 130, 246, 0.12), transparent 26rem),
        #020403 !important;
    color: #f8fafc;
}

.footballcode-marketing-theme-toggle,
[data-theme-toggle] {
    display: none !important;
}

.footballcode-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
}

.footballcode-language-switcher__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 2rem;
    padding: 0.3rem 0.48rem;
    border-radius: 999px;
    color: rgba(248, 250, 252, 0.82);
    font-size: 0.72rem;
    font-weight: 950;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.footballcode-language-switcher__item:hover,
.footballcode-language-switcher__item:focus-visible,
.footballcode-language-switcher__item.is-active {
    color: #04140f;
    background: #9af7c8;
}

.footballcode-prediction-card__top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.footballcode-prediction-card__top strong {
    min-width: 4.75rem !important;
    padding: 0.42rem 0.58rem !important;
    font-size: clamp(1.18rem, 1.45vw, 1.55rem) !important;
    white-space: nowrap;
}

html[dir="rtl"] .footballcode-readable-fixture-card__teams,
html[dir="rtl"] .footballcode-prediction-card__top,
html[dir="rtl"] .footballcode-worldcup-dashboard__head,
html[dir="rtl"] .footballcode-worldcup-block__title {
    direction: rtl;
}

@media (max-width: 991.98px) {
    .footballcode-language-switcher {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 1rem;
    }

    .footballcode-language-switcher__item {
        min-width: 2.45rem;
    }
}

.footballcode-prediction-card__top { display: grid !important; }

/* FootballCode AI prediction card balance */
.footballcode-prediction-card__top {
    align-items: flex-start;
    gap: clamp(0.9rem, 2vw, 1.35rem);
}

.footballcode-prediction-card__top > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.footballcode-prediction-card__top strong {
    min-width: 4.85rem;
    padding: 0.48rem 0.62rem;
    border-radius: 0.9rem;
    font-size: clamp(1.15rem, 1.65vw, 1.55rem);
}

.footballcode-prediction-card__source {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    color: #9af7c8;
}


/* FootballCode: AI prediction lives inside each match card */
.footballcode-anchor-target {
    position: relative;
    top: -6rem;
    height: 0;
    overflow: hidden;
}

.footballcode-readable-fixture-card.has-ai-prediction {
    border-color: rgba(154, 247, 200, 0.24);
}

.footballcode-fixture-ai-prediction {
    margin-top: 0.8rem;
    padding: 0.72rem;
    border: 1px solid rgba(154, 247, 200, 0.16);
    border-radius: 0.95rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(154, 247, 200, 0.11), transparent 9rem),
        rgba(255, 255, 255, 0.045);
}

.footballcode-fixture-ai-prediction__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.footballcode-fixture-ai-prediction__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    color: #9af7c8;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footballcode-ai-icon--compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    color: #04140f !important;
    background: #9af7c8;
    font-size: 0.62rem;
    font-weight: 1000;
    line-height: 1;
}

.footballcode-fixture-ai-prediction__head strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.7rem;
    padding: 0.34rem 0.55rem;
    border-radius: 0.75rem;
    color: #04140f !important;
    background: #c9ffe0;
    font-size: 1.05rem;
    font-weight: 1000;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    text-shadow: none !important;
}

.footballcode-fixture-ai-prediction__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin-top: 0.58rem;
}

.footballcode-fixture-ai-prediction__metrics span {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    padding: 0.28rem 0.48rem;
    color: rgba(248, 250, 252, 0.88);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    font-weight: 850;
}

.footballcode-fixture-ai-prediction p {
    margin: 0.62rem 0 0;
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.48;
}

@media (max-width: 720px) {
    .footballcode-fixture-ai-prediction__head {
        align-items: flex-start;
    }

    .footballcode-fixture-ai-prediction__head strong {
        min-width: 3.3rem;
    }
}


.footballcode-ai-icon.footballcode-ai-icon--compact {
    width: 1.35rem !important;
    min-width: 1.35rem !important;
    height: 1.35rem !important;
    min-height: 1.35rem !important;
    padding: 0 !important;
    gap: 0 !important;
}

/* Fix: active language pill should never render white text on mint background */
.footballcode-language-switcher__item:hover,
.footballcode-language-switcher__item:focus-visible,
.footballcode-language-switcher__item.is-active,
.footballcode-language-switcher__item.is-active:visited {
    color: #04140f !important;
    background: #c9ffe0 !important;
    border-color: rgba(38, 194, 129, 0.36) !important;
    text-shadow: none !important;
}


/* Final readability and no-404 navigation polish */
.footballcode-hero-actions .btn-outline-light,
.footballcode-body .btn-outline-light,
.footballcode-body a.btn-outline-light {
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    text-shadow: none !important;
}

.footballcode-hero-actions .btn-outline-light:hover,
.footballcode-hero-actions .btn-outline-light:focus-visible,
.footballcode-body .btn-outline-light:hover,
.footballcode-body .btn-outline-light:focus-visible {
    color: #04140f !important;
    background: #c9ffe0 !important;
    border-color: rgba(38, 194, 129, 0.42) !important;
}

.footballcode-hero-actions .btn-primary,
.footballcode-body .btn-primary {
    color: #04140f !important;
    text-shadow: none !important;
}

.footballcode-language-switcher__item:hover,
.footballcode-language-switcher__item:focus-visible,
.footballcode-language-switcher__item.is-active,
.footballcode-language-switcher__item.is-active:visited {
    color: #04140f !important;
    background: #c9ffe0 !important;
    border-color: rgba(38, 194, 129, 0.36) !important;
    text-shadow: none !important;
}


/* SocialCode brand lockup parity for FootballCode marketing/footer */
.marketing-nav.footballcode-premium-topbar.brand-topbar,
.site-footer.marketing-footer.footballcode-marketing-footer {
    width: calc(100% - clamp(0.5rem, 0.9vw, 0.9rem)) !important;
    max-width: none !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar {
    margin-inline: auto !important;
}

.site-footer.marketing-footer.footballcode-marketing-footer {
    margin-inline: auto !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-lockup,
.site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-lockup.brand-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    min-width: 0 !important;
    text-decoration: none !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-logo,
.site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-logo {
    width: 3.6rem !important;
    height: 3.6rem !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-copy,
.site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-wordmark {
    display: inline-grid !important;
    justify-items: end !important;
    width: max-content !important;
    min-width: 0 !important;
    margin-left: -0.28rem !important;
    gap: 0.14rem !important;
    line-height: 1 !important;
    text-align: right !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-brand-name,
.site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-brand-name {
    display: block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(1.02rem, 1.08vw, 1.24rem) !important;
    font-weight: 1000 !important;
    letter-spacing: 0.035em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
}

.marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-brand-subtitle,
.site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-brand-subtitle {
    display: block !important;
    margin: 0 !important;
    color: #6ee7b7 !important;
    font-size: clamp(0.88rem, 0.95vw, 1.08rem) !important;
    font-weight: 950 !important;
    letter-spacing: -0.045em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: right !important;
}

@media (max-width: 575.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar,
    .site-footer.marketing-footer.footballcode-marketing-footer {
        width: calc(100% - 0.35rem) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-logo,
    .site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-logo {
        width: 3.2rem !important;
        height: 3.2rem !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-brand-copy,
    .site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-wordmark {
        margin-left: -0.22rem !important;
        gap: 0.12rem !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-brand-name,
    .site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-brand-name {
        font-size: 0.98rem !important;
        letter-spacing: 0.065em !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-brand-subtitle,
    .site-footer.marketing-footer.footballcode-marketing-footer .footballcode-marketing-footer-brand-subtitle {
        font-size: 0.88rem !important;
        letter-spacing: -0.045em !important;
    }
}


/* FootballCode mobile menu: same open/close behavior as SocialCode marketing nav. */
@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav {
        position: sticky !important;
        top: max(0.65rem, env(safe-area-inset-top)) !important;
        z-index: 1300 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: calc(100% - 1rem) !important;
        max-width: none !important;
        min-height: auto !important;
        margin: max(0.65rem, env(safe-area-inset-top)) auto 1rem !important;
        padding: 0.72rem 0.78rem !important;
        overflow: visible !important;
        border: 1px solid rgba(126, 231, 192, 0.20) !important;
        border-radius: 1.35rem !important;
        background:
            radial-gradient(circle at 16% 0%, rgba(53, 217, 174, 0.18), transparent 16rem),
            linear-gradient(145deg, rgba(7, 23, 24, 0.88), rgba(2, 8, 10, 0.96)) !important;
        box-shadow:
            0 1.25rem 3.2rem rgba(0, 0, 0, 0.42),
            0 0 0 1px rgba(255, 255, 255, 0.045) inset,
            0 0 2.2rem rgba(53, 217, 174, 0.10) !important;
        backdrop-filter: blur(24px) saturate(145%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav::after {
        content: "" !important;
        position: absolute !important;
        inset: 0.45rem !important;
        z-index: -1 !important;
        border-radius: 1.05rem !important;
        background: radial-gradient(circle at 82% 18%, rgba(126, 231, 192, 0.14), transparent 13rem) !important;
        filter: blur(0.1rem) !important;
        pointer-events: none !important;
    }

    .footballcode-mobile-menu-backdrop,
    .footballcode-mobile-menu-head {
        display: none !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.55rem !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 2.85rem !important;
        height: auto !important;
        padding: 0 0.82rem !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 1rem !important;
        color: #ffffff !important;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
            rgba(255, 255, 255, 0.06) !important;
        box-shadow:
            0 0.8rem 1.8rem rgba(0, 0, 0, 0.28),
            0 0 1.5rem rgba(53, 217, 174, 0.12) !important;
        font-weight: 950 !important;
        letter-spacing: -0.015em !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-toggle > span:not(.marketing-nav-toggle-bars) {
        position: static !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: nowrap !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars::before,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars::after {
        display: block !important;
        width: 1.15rem !important;
        height: 0.12rem !important;
        border-radius: 999px !important;
        background: currentColor !important;
        transition: transform 180ms ease, opacity 180ms ease !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars {
        position: relative !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars::before,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars::before {
        top: -0.38rem !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle-bars::after {
        top: 0.38rem !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .marketing-nav-toggle {
        border-color: rgba(126, 231, 192, 0.46) !important;
        background:
            linear-gradient(135deg, rgba(53, 217, 174, 0.20), rgba(78, 124, 255, 0.12)),
            rgba(255, 255, 255, 0.08) !important;
        box-shadow:
            0 0.95rem 2rem rgba(0, 0, 0, 0.32),
            0 0 2.2rem rgba(53, 217, 174, 0.22) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .marketing-nav-toggle-bars {
        transform: rotate(45deg) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .marketing-nav-toggle-bars::before {
        transform: translateY(0.38rem) rotate(90deg) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .marketing-nav-toggle-bars::after {
        opacity: 0 !important;
        transform: translateY(-0.38rem) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links.brand-nav,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-links {
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.7rem !important;
        width: 100% !important;
        max-height: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        border: 0 !important;
        border-radius: 1.25rem !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(53, 217, 174, 0.14), transparent 16rem),
            linear-gradient(180deg, rgba(6, 20, 20, 0.96), rgba(1, 7, 9, 0.98)) !important;
        box-shadow:
            0 1.1rem 2.7rem rgba(0, 0, 0, 0.34),
            0 0 0 1px rgba(255, 255, 255, 0.065) inset !important;
        transform: translateY(-0.5rem) scale(0.985) !important;
        transition:
            max-height 280ms cubic-bezier(0.2, 0.78, 0.22, 1),
            margin-top 180ms ease,
            padding 180ms ease,
            opacity 180ms ease,
            transform 220ms ease,
            visibility 0s linear 180ms !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .marketing-nav-links.brand-nav,
    .marketing-nav.footballcode-premium-topbar.brand-topbar.is-open .footballcode-marketing-links,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links.brand-nav.is-open,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-links.is-open {
        max-height: min(74vh, 39rem) !important;
        margin-top: 0.35rem !important;
        padding: 0.82rem !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        border: 1px solid rgba(126, 231, 192, 0.16) !important;
        transform: translateY(0) scale(1) !important;
        scrollbar-width: thin !important;
        transition:
            max-height 320ms cubic-bezier(0.2, 0.78, 0.22, 1),
            margin-top 180ms ease,
            padding 180ms ease,
            opacity 180ms ease,
            transform 220ms ease,
            visibility 0s !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links.brand-nav > a:not(.btn),
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-links > a:not(.btn) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 2.85rem !important;
        padding: 0.7rem 0.95rem !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        border-radius: 0.95rem !important;
        color: rgba(248, 250, 252, 0.88) !important;
        background: rgba(255, 255, 255, 0.045) !important;
        box-shadow: 0 0.75rem 1.55rem rgba(0, 0, 0, 0.18) !important;
        font-weight: 900 !important;
        text-align: center !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links.brand-nav > a:not(.btn):hover,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links.brand-nav > a:not(.btn):focus-visible {
        color: #ffffff !important;
        border-color: rgba(126, 231, 192, 0.28) !important;
        background: rgba(53, 217, 174, 0.10) !important;
        box-shadow:
            0 0.9rem 1.8rem rgba(0, 0, 0, 0.22),
            0 0 1.6rem rgba(53, 217, 174, 0.13) !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-language-switcher {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        border-radius: 0.95rem !important;
    }
}

@media (min-width: 992px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-toggle {
        display: none !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar .marketing-nav-links.brand-nav,
    .marketing-nav.footballcode-premium-topbar.brand-topbar .footballcode-marketing-links {
        display: flex !important;
        max-height: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        overflow: visible !important;
        transform: none !important;
    }
}


/* FootballCode JSON-managed GTM/WhatsApp/WebChat integrations */
.whatsapp-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    width: auto;
    max-width: 20rem;
    pointer-events: none;
}

.whatsapp-backdrop {
    display: none;
}

.whatsapp-menu-header {
    display: none;
}

.whatsapp-fab {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    color: #04140f !important;
    background: linear-gradient(135deg, #c9ffe0, #35d9ae);
    border: 1px solid rgba(154, 247, 200, 0.42);
    border-radius: 999px;
    box-shadow: 0 1rem 2.2rem rgba(38, 194, 129, 0.28);
    font-weight: 950;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
    color: #04140f !important;
    background: linear-gradient(135deg, #e3fff1, #6ee7b7);
    transform: translateY(-0.15rem);
    box-shadow: 0 1.25rem 2.6rem rgba(38, 194, 129, 0.34);
}

.whatsapp-fab i {
    color: #04140f !important;
    font-size: 1.25rem;
}

.whatsapp-menu {
    display: grid;
    gap: 0.65rem;
    width: min(20rem, calc(100vw - 2rem));
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.5rem) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 0.13s ease, transform 0.13s ease, visibility 0.13s ease;
}

.whatsapp-widget.open .whatsapp-menu,
.whatsapp-widget.is-open .whatsapp-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.whatsapp-option {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    width: min(20rem, calc(100vw - 2rem));
    padding: 0.85rem 0.95rem;
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.14);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.whatsapp-option:hover,
.whatsapp-option:focus-visible {
    color: #0f172a !important;
    border-color: rgba(37, 211, 102, 0.7);
    transform: translateY(-0.1rem);
}

.whatsapp-option i {
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    color: #04140f !important;
    background: #c9ffe0;
    border-radius: 999px;
    flex: 0 0 auto;
}

.whatsapp-option span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.whatsapp-option strong,
.whatsapp-option small {
    display: block;
}

.whatsapp-option strong {
    color: #0f172a;
    font-weight: 950;
}

.whatsapp-option small {
    color: #64748b;
    font-weight: 750;
}

.floating-webchat {
    position: fixed;
    right: clamp(1rem, 2vw, 1.6rem);
    bottom: 5.25rem;
    z-index: 1070;
}

.floating-webchat-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    padding: .65rem 1rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(0, 0, 0, .82);
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, .32);
    backdrop-filter: blur(18px);
    font-weight: 900;
}

.floating-webchat-panel {
    width: min(21rem, calc(100vw - 2rem));
    margin-bottom: .7rem;
    padding: 1rem;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.1rem;
    background: rgba(3, 9, 8, .94);
    box-shadow: 0 1.3rem 3rem rgba(0, 0, 0, .38);
    backdrop-filter: blur(20px);
}

.floating-webchat-panel p {
    margin: .45rem 0 .8rem;
    color: rgba(248, 250, 252, .7);
}

.floating-webchat-panel a {
    color: #8fffd8;
    font-weight: 900;
}

@media (max-width: 575.98px) {
    body.whatsapp-sheet-open {
        overflow: hidden;
    }

    .whatsapp-widget {
        right: max(0.9rem, env(safe-area-inset-right));
        bottom: calc(1rem + env(safe-area-inset-bottom));
        max-width: calc(100vw - 1.5rem);
    }

    .whatsapp-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1078;
        display: block;
        background: rgba(15, 23, 42, 0.38);
        backdrop-filter: blur(0.75px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.12s ease, visibility 0.12s ease;
    }

    .whatsapp-widget.open .whatsapp-backdrop,
    .whatsapp-widget.is-open .whatsapp-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .whatsapp-fab {
        position: fixed;
        right: max(0.9rem, env(safe-area-inset-right));
        bottom: calc(1rem + env(safe-area-inset-bottom));
        z-index: 1081;
        display: inline-grid;
        place-items: center;
        width: 3.35rem;
        height: 3.35rem;
        min-width: 3.35rem;
        min-height: 3.35rem;
        padding: 0;
        border: 2px solid rgba(255, 255, 255, 0.75);
        border-radius: 999px;
    }

    .whatsapp-widget.open .whatsapp-fab,
    .whatsapp-widget.is-open .whatsapp-fab {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .whatsapp-fab span {
        display: none;
    }

    .whatsapp-fab i {
        font-size: 1.45rem;
        line-height: 1;
    }

    .whatsapp-menu {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1082;
        display: grid;
        gap: 0.75rem;
        width: 100vw;
        max-height: min(72vh, 31rem);
        margin: 0;
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
        overflow-y: auto;
        background: #f8fafc;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 1.35rem 1.35rem 0 0;
        box-shadow: 0 -1.25rem 3rem rgba(15, 23, 42, 0.22);
        transform: translateY(calc(100% + 1rem));
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transition: transform 0.18s ease;
    }

    .whatsapp-widget.open .whatsapp-menu,
    .whatsapp-widget.is-open .whatsapp-menu {
        pointer-events: auto;
        transform: translateY(var(--whatsapp-sheet-drag-y, 0)) scale(var(--whatsapp-sheet-drag-scale, 1));
        opacity: var(--whatsapp-sheet-drag-opacity, 1);
    }

    .whatsapp-menu.is-swiping {
        transition: none;
    }

    .whatsapp-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.15rem 0.15rem 0.35rem;
        color: #0f172a;
    }

    .whatsapp-menu-header strong {
        font-size: 1rem;
        font-weight: 950;
    }

    .whatsapp-menu-close {
        display: inline-grid;
        place-items: center;
        width: 2.35rem;
        height: 2.35rem;
        color: #0f172a;
        background: rgba(15, 23, 42, 0.06);
        border: 0;
        border-radius: 999px;
        font-size: 1.35rem;
        line-height: 1;
    }

    .whatsapp-option {
        width: 100%;
        min-height: 4.2rem;
    }

    .floating-webchat {
        right: .75rem;
        bottom: 5rem;
    }
}


/* FootballCode WhatsApp readability fix: no white text on white or mint surfaces */
.whatsapp-widget,
.whatsapp-widget * {
    text-shadow: none !important;
}

.whatsapp-widget .whatsapp-fab,
.whatsapp-widget .whatsapp-fab:hover,
.whatsapp-widget .whatsapp-fab:focus-visible,
.whatsapp-widget .whatsapp-fab span,
.whatsapp-widget .whatsapp-fab i {
    color: #04140f !important;
}

.whatsapp-widget .whatsapp-fab {
    background: linear-gradient(135deg, #c9ffe0, #35d9ae) !important;
    border-color: rgba(38, 194, 129, 0.42) !important;
}

.whatsapp-widget .whatsapp-menu,
.whatsapp-widget .whatsapp-menu-header,
.whatsapp-widget .whatsapp-menu-header strong,
.whatsapp-widget .whatsapp-menu-close {
    color: #0f172a !important;
}

.whatsapp-widget .whatsapp-menu {
    background: #f8fafc !important;
}

.whatsapp-widget .whatsapp-option,
.whatsapp-widget .whatsapp-option:hover,
.whatsapp-widget .whatsapp-option:focus-visible,
.whatsapp-widget .whatsapp-option span,
.whatsapp-widget .whatsapp-option strong {
    color: #0f172a !important;
}

.whatsapp-widget .whatsapp-option {
    background: #ffffff !important;
    border-color: rgba(148, 163, 184, 0.42) !important;
}

.whatsapp-widget .whatsapp-option small {
    color: #334155 !important;
}

.whatsapp-widget .whatsapp-option i {
    color: #052e16 !important;
    background: #d1fae5 !important;
}

@media (max-width: 575.98px) {
    .whatsapp-widget .whatsapp-menu {
        background: #f8fafc !important;
    }

    .whatsapp-widget .whatsapp-menu-header,
    .whatsapp-widget .whatsapp-menu-header strong,
    .whatsapp-widget .whatsapp-menu-close {
        color: #0f172a !important;
    }
}

/* Widen World Cup fixture cards and give team names more room */
.footballcode-readable-fixtures {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 33rem), 1fr)) !important;
    gap: 1.15rem !important;
}

.footballcode-readable-fixture-card {
    grid-template-columns: 6.25rem minmax(0, 1fr) !important;
    gap: 1.25rem !important;
}

.footballcode-readable-fixture-card__teams {
    grid-template-columns: minmax(8.5rem, 1fr) 4.15rem minmax(8.5rem, 1fr) !important;
    gap: 1rem !important;
    align-items: center !important;
}

.footballcode-readable-fixture-card__teams strong {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: manual !important;
    line-height: 1.18 !important;
}

.footballcode-readable-fixture-card__teams em {
    min-width: 4.15rem !important;
    padding: 0.5rem 0.6rem !important;
}

@media (max-width: 520px) {
    .footballcode-readable-fixture-card__teams {
        grid-template-columns: 1fr !important;
    }
}


/* Team profile logos: show TheSportsDB badge/flag fallback clearly */
.footballcode-team-profile-card__body {
    align-items: center !important;
}

.footballcode-team-profile-card__logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3.35rem !important;
    height: 3.35rem !important;
    flex: 0 0 3.35rem !important;
    border: 1px solid rgba(154, 247, 200, 0.22) !important;
    background: #f8fafc !important;
    object-fit: contain !important;
    box-shadow: 0 0.75rem 1.6rem rgba(0, 0, 0, 0.22) !important;
}

.footballcode-team-profile-card__logo--fallback {
    color: #04140f !important;
    background: #c9ffe0 !important;
    font-size: 0.88rem !important;
    font-weight: 1000 !important;
    letter-spacing: -0.02em !important;
    text-shadow: none !important;
}

.footballcode-team-profile-card__body > div {
    min-width: 0 !important;
}

.footballcode-team-profile-card h4 {
    overflow-wrap: normal !important;
    word-break: normal !important;
}


/* World Cup team profile: show every available team, not only metadata-enriched teams */
.footballcode-team-profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important;
    gap: 0.75rem !important;
}

.footballcode-team-profile-card__body {
    min-height: 5.2rem;
}

.footballcode-team-profile-card__logo--fallback {
    color: #04140f !important;
    font-size: 0.9rem;
    font-weight: 1000;
    text-align: center;
}


/* World Cup: team profile cards must not show unrelated home stadium metadata. Match venue belongs to fixture cards. */
.footballcode-readable-fixture-card__venue {
    display: block;
    margin-top: 0.85rem;
    color: rgba(248, 250, 252, 0.74);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.45;
}

.footballcode-readable-fixture-card__venue span {
    display: inline-flex;
    margin-right: 0.35rem;
    color: #9af7c8;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.footballcode-team-profile-card__body p {
    color: rgba(248, 250, 252, 0.72);
}


/* World Cup highlights: hide empty media, avoid old/irrelevant cards, keep mint CTAs readable */
.footballcode-highlight-card strong,
.footballcode-highlight-card strong:visited,
.footballcode-highlight-card strong:hover,
.footballcode-highlight-card strong:focus-visible {
    color: #04140f !important;
    background: #c9ffe0 !important;
    border: 1px solid rgba(38, 194, 129, 0.35) !important;
    text-shadow: none !important;
}

.footballcode-highlight-card img {
    display: block !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(154, 247, 200, 0.12), transparent 7rem),
        rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 991.98px) {
    body.footballcode-body.is-footballcode-nav-open {
        overflow: hidden !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav {
        position: sticky !important;
        top: calc(0.55rem + env(safe-area-inset-top)) !important;
        z-index: 1500 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.65rem !important;
        width: calc(100% - 0.75rem) !important;
        margin: calc(0.55rem + env(safe-area-inset-top)) auto 1rem !important;
        overflow: visible !important;
        isolation: isolate !important;
    }

    .footballcode-marketing-nav .footballcode-marketing-toggle {
        display: inline-flex !important;
        position: relative !important;
        z-index: 1520 !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        width: auto !important;
        min-width: 5rem !important;
        min-height: 2.85rem !important;
        padding: 0.55rem 0.82rem !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .footballcode-marketing-nav .footballcode-marketing-toggle > span:not(.marketing-nav-toggle-bars) {
        position: static !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: nowrap !important;
    }

    .footballcode-marketing-nav .footballcode-marketing-links[hidden] {
        display: none !important;
    }

    .footballcode-marketing-nav .footballcode-marketing-links {
        position: absolute !important;
        top: calc(100% + 0.65rem) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1510 !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.62rem !important;
        width: 100% !important;
        max-height: min(72dvh, 34rem) !important;
        padding: 0.88rem !important;
        overflow-y: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 1.12rem !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.18), transparent 15rem),
            radial-gradient(circle at 100% 10%, rgba(13, 110, 253, 0.16), transparent 14rem),
            rgba(2, 6, 8, 0.98) !important;
        box-shadow: 0 1.35rem 3rem rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-0.35rem) scale(0.985) !important;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
    }

    .footballcode-marketing-nav.is-open .footballcode-marketing-links:not([hidden]),
    .footballcode-marketing-nav .footballcode-marketing-links.is-open:not([hidden]) {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .footballcode-marketing-nav .footballcode-mobile-menu-backdrop {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1490 !important;
        display: none !important;
        border: 0 !important;
        background: rgba(2, 4, 3, 0.58) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .footballcode-marketing-nav .footballcode-mobile-menu-backdrop.is-open:not([hidden]) {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .footballcode-marketing-nav .footballcode-marketing-links .footballcode-language-switcher {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.45rem !important;
        padding-top: 0.2rem !important;
    }
}

@media (min-width: 992px) {
    .footballcode-marketing-nav .footballcode-marketing-links {
        display: flex !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .footballcode-marketing-nav .footballcode-mobile-menu-backdrop {
        display: none !important;
    }

    body.footballcode-body.is-footballcode-nav-open {
        overflow: auto !important;
    }
}

@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav {
        overflow: visible !important;
        isolation: isolate !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav [data-marketing-nav-toggle] {
        display: inline-flex !important;
        position: relative !important;
        z-index: 1120 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav [data-marketing-nav-links][hidden],
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav .footballcode-mobile-menu-backdrop[hidden] {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav [data-marketing-nav-links] {
        position: absolute !important;
        top: calc(100% + 0.65rem) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        z-index: 1110 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-content: start !important;
        gap: 0.66rem !important;
        width: 100% !important;
        max-height: min(72dvh, 34rem) !important;
        min-width: 0 !important;
        padding: 0.95rem !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 1.18rem !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.18), transparent 15rem),
            radial-gradient(circle at 100% 12%, rgba(13, 110, 253, 0.14), transparent 15rem),
            linear-gradient(145deg, rgba(3, 10, 8, 0.98), rgba(2, 4, 3, 0.94)) !important;
        box-shadow:
            0 1.4rem 3rem rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(22px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-0.35rem) scale(0.985) !important;
        transform-origin: top center !important;
        pointer-events: none !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav.is-open [data-marketing-nav-links]:not([hidden]) {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav .footballcode-mobile-menu-backdrop:not([hidden]) {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 1090 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent !important;
    }

    body.footballcode-body.is-footballcode-nav-open::before {
        pointer-events: none !important;
    }
}

@media (min-width: 992px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav [data-marketing-nav-links] {
        display: flex !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav .footballcode-mobile-menu-backdrop {
        display: none !important;
    }
}

@media (max-width: 860px) {
    .footballcode-worldcup-dashboard,
    .footballcode-worldcup-block,
    .footballcode-readable-fixtures,
    .footballcode-readable-fixture-card,
    .footballcode-readable-fixture-card__body,
    .footballcode-readable-fixture-card__meta,
    .footballcode-readable-fixture-card__teams {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .footballcode-worldcup-dashboard,
    .footballcode-readable-fixtures {
        overflow-x: hidden !important;
    }

    .footballcode-readable-fixtures {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
    }

    .footballcode-readable-fixture-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "date"
            "body" !important;
        gap: 0.78rem !important;
        width: 100% !important;
        padding: 0.9rem !important;
        overflow: hidden !important;
    }

    .footballcode-readable-fixture-card__date {
        grid-area: date !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        justify-items: stretch !important;
        gap: 0.4rem 0.7rem !important;
        width: 100% !important;
        min-height: auto !important;
        min-width: 0 !important;
        padding: 0.7rem 0.78rem !important;
        text-align: left !important;
    }

    .footballcode-readable-fixture-card__date strong,
    .footballcode-readable-fixture-card__date span {
        margin: 0 !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }

    .footballcode-readable-fixture-card__body {
        grid-area: body !important;
        width: 100% !important;
    }

    .footballcode-readable-fixture-card__meta {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
    }

    .footballcode-readable-fixture-card__meta > span,
    .footballcode-readable-fixture-card__meta mark {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .footballcode-readable-fixture-card__teams {
        width: 100% !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        gap: 0.48rem !important;
    }

    .footballcode-readable-fixture-card__teams strong {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }

    .footballcode-readable-fixture-card__teams em {
        max-width: 100% !important;
        white-space: nowrap !important;
    }

    .footballcode-readable-fixture-card small,
    .footballcode-fixture-ai-prediction,
    .footballcode-fixture-ai-prediction p {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    .footballcode-fixture-ai-prediction__head,
    .footballcode-fixture-ai-prediction__metrics {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 575.98px) {
    .footballcode-readable-fixture-card {
        padding: 0.82rem !important;
    }

    .footballcode-readable-fixture-card__date {
        justify-content: flex-start !important;
    }

    .footballcode-readable-fixture-card__date span {
        flex: 0 0 auto !important;
    }

    .footballcode-readable-fixture-card__teams {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .footballcode-readable-fixture-card__teams strong,
    .footballcode-readable-fixture-card__teams strong:last-child {
        text-align: left !important;
    }

    .footballcode-readable-fixture-card__teams em {
        justify-self: start !important;
        min-width: 0 !important;
        width: fit-content !important;
    }
}

/* Hardfix: icon-only mobile menu and single open state. */
@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav {
        overflow: visible !important;
        z-index: 1700 !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-toggle],
    .footballcode-marketing-nav .footballcode-marketing-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 2.85rem !important;
        width: 2.85rem !important;
        min-width: 2.85rem !important;
        height: 2.85rem !important;
        min-height: 2.85rem !important;
        padding: 0 !important;
        gap: 0 !important;
        position: relative !important;
        z-index: 1720 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-toggle] > span:not(.marketing-nav-toggle-bars),
    .footballcode-marketing-nav .footballcode-marketing-toggle > span:not(.marketing-nav-toggle-bars) {
        display: none !important;
    }

    .footballcode-marketing-nav .marketing-nav-toggle-bars,
    .footballcode-marketing-nav .marketing-nav-toggle-bars::before,
    .footballcode-marketing-nav .marketing-nav-toggle-bars::after {
        width: 1.15rem !important;
        height: 2px !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links],
    .footballcode-marketing-nav .footballcode-marketing-links {
        position: absolute !important;
        top: calc(100% + 0.65rem) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1710 !important;
        display: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.66rem !important;
        width: 100% !important;
        max-height: min(72dvh, 34rem) !important;
        min-width: 0 !important;
        padding: 0.95rem !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 1.18rem !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.18), transparent 15rem),
            radial-gradient(circle at 100% 12%, rgba(13, 110, 253, 0.14), transparent 15rem),
            linear-gradient(145deg, rgba(3, 10, 8, 0.98), rgba(2, 4, 3, 0.94)) !important;
        box-shadow:
            0 1.4rem 3rem rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-0.35rem) scale(0.985) !important;
    }

    .footballcode-marketing-nav.is-open [data-marketing-nav-links],
    .footballcode-marketing-nav.is-open .footballcode-marketing-links,
    .footballcode-marketing-nav [data-marketing-nav-links].is-open,
    .footballcode-marketing-nav .footballcode-marketing-links.is-open {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .footballcode-marketing-nav .footballcode-mobile-menu-backdrop,
    body.footballcode-body.is-footballcode-nav-open::before {
        display: none !important;
    }
}

/* Hardfix: World Cup fixture cards stack date/time above match content on mobile. */
@media (max-width: 860px) {
    .footballcode-readable-fixtures {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .footballcode-readable-fixture-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "date"
            "body" !important;
        gap: 0.78rem !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .footballcode-readable-fixture-card__date {
        grid-area: date !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: auto !important;
        text-align: left !important;
    }

    .footballcode-readable-fixture-card__body {
        grid-area: body !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .footballcode-readable-fixture-card__meta,
    .footballcode-readable-fixture-card__teams,
    .footballcode-fixture-ai-prediction,
    .footballcode-fixture-ai-prediction__head,
    .footballcode-fixture-ai-prediction__metrics {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .footballcode-readable-fixture-card__teams {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        gap: 0.5rem !important;
    }

    .footballcode-readable-fixture-card__teams strong,
    .footballcode-readable-fixture-card__meta > span,
    .footballcode-fixture-ai-prediction p {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
}

@media (max-width: 575.98px) {
    .footballcode-readable-fixture-card__date {
        justify-content: flex-start !important;
        gap: 0.42rem 0.7rem !important;
    }

    .footballcode-readable-fixture-card__teams {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .footballcode-readable-fixture-card__teams strong,
    .footballcode-readable-fixture-card__teams strong:last-child {
        text-align: left !important;
    }

    .footballcode-readable-fixture-card__teams em {
        justify-self: start !important;
        width: fit-content !important;
        min-width: 0 !important;
    }
}


/* Hardfix final: mobile menu uses only the icon and opens from the same state as the working SocialCode nav. */
@media (max-width: 991.98px) {
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav {
        position: sticky !important;
        top: calc(0.5rem + env(safe-area-inset-top)) !important;
        z-index: 3000 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 2.9rem !important;
        align-items: center !important;
        gap: 0.65rem !important;
        width: calc(100% - 0.65rem) !important;
        max-width: none !important;
        margin: calc(0.5rem + env(safe-area-inset-top)) auto 0.85rem !important;
        overflow: visible !important;
        isolation: isolate !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-toggle],
    .footballcode-marketing-nav .footballcode-marketing-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: end !important;
        width: 2.9rem !important;
        min-width: 2.9rem !important;
        height: 2.9rem !important;
        min-height: 2.9rem !important;
        padding: 0 !important;
        gap: 0 !important;
        position: relative !important;
        z-index: 3020 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-toggle] > span:not(.marketing-nav-toggle-bars),
    .footballcode-marketing-nav .footballcode-marketing-toggle > span:not(.marketing-nav-toggle-bars) {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .footballcode-marketing-nav .marketing-nav-toggle-bars,
    .footballcode-marketing-nav .marketing-nav-toggle-bars::before,
    .footballcode-marketing-nav .marketing-nav-toggle-bars::after {
        display: block !important;
        width: 1.18rem !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: currentColor !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links][hidden],
    .footballcode-marketing-nav:not(.is-open) [data-marketing-nav-links] {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links],
    .footballcode-marketing-nav .footballcode-marketing-links {
        grid-column: 1 / -1 !important;
        position: absolute !important;
        top: calc(100% + 0.6rem) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 3010 !important;
        display: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.68rem !important;
        width: 100% !important;
        max-height: min(74vh, 38rem) !important;
        min-width: 0 !important;
        padding: 0.9rem !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 1px solid rgba(126, 231, 192, 0.18) !important;
        border-radius: 1.18rem !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.18), transparent 15rem),
            radial-gradient(circle at 100% 12%, rgba(13, 110, 253, 0.14), transparent 15rem),
            linear-gradient(145deg, rgba(3, 10, 8, 0.99), rgba(2, 4, 3, 0.97)) !important;
        box-shadow:
            0 1.4rem 3rem rgba(0, 0, 0, 0.46),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-0.35rem) scale(0.985) !important;
        pointer-events: none !important;
    }

    .footballcode-marketing-nav.is-open [data-marketing-nav-links],
    .footballcode-marketing-nav.is-open .footballcode-marketing-links,
    .footballcode-marketing-nav [data-marketing-nav-links].is-open,
    .footballcode-marketing-nav .footballcode-marketing-links.is-open {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links] > a,
    .footballcode-marketing-nav .footballcode-language-switcher {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.footballcode-body.is-footballcode-nav-open {
        overflow: hidden !important;
    }
}

@media (min-width: 992px) {
    .footballcode-marketing-nav [data-marketing-nav-toggle],
    .footballcode-marketing-nav .footballcode-marketing-toggle {
        display: none !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links],
    .footballcode-marketing-nav .footballcode-marketing-links {
        display: flex !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Hardfix final: fixture cards stack date/time above match content on mobile. */
@media (max-width: 860px) {
    .footballcode-readable-fixtures,
    .footballcode-readable-fixture-card,
    .footballcode-readable-fixture-card__body,
    .footballcode-readable-fixture-card__meta,
    .footballcode-readable-fixture-card__teams,
    .footballcode-fixture-ai-prediction,
    .footballcode-fixture-ai-prediction__head,
    .footballcode-fixture-ai-prediction__metrics {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .footballcode-readable-fixtures {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        overflow-x: hidden !important;
    }

    .footballcode-readable-fixture-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.82rem !important;
        overflow: hidden !important;
    }

    .footballcode-readable-fixture-card__date {
        order: 1 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.42rem 0.7rem !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: auto !important;
        text-align: left !important;
    }

    .footballcode-readable-fixture-card__body {
        order: 2 !important;
    }

    .footballcode-readable-fixture-card__meta,
    .footballcode-fixture-ai-prediction__metrics {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.45rem !important;
    }

    .footballcode-readable-fixture-card__teams {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }

    .footballcode-readable-fixture-card__teams strong,
    .footballcode-readable-fixture-card__meta > span,
    .footballcode-readable-fixture-card small,
    .footballcode-fixture-ai-prediction p {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
}

@media (max-width: 575.98px) {
    .footballcode-readable-fixture-card__teams {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .footballcode-readable-fixture-card__teams strong,
    .footballcode-readable-fixture-card__teams strong:last-child {
        text-align: left !important;
    }

    .footballcode-readable-fixture-card__teams em {
        justify-self: start !important;
        width: fit-content !important;
        min-width: 0 !important;
    }
}

/* FootballCode hardfix: mobile menu fixed z-index overlay above all page sections. */
@media (max-width: 991.98px) {
    html,
    body.footballcode-body {
        overflow-x: hidden !important;
    }

    body.footballcode-body.is-footballcode-nav-open {
        overflow: hidden !important;
        touch-action: none !important;
    }

    body.footballcode-body.is-footballcode-nav-open::after {
        content: "" !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147482998 !important;
        display: block !important;
        background: rgba(2, 4, 3, 0.42) !important;
        pointer-events: auto !important;
    }

    .footballcode-main,
    .footballcode-hero,
    .footballcode-section,
    .footballcode-live-dashboard,
    .footballcode-readable-fixtures,
    .footballcode-marketing-footer {
        position: relative !important;
        z-index: 1 !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav {
        position: sticky !important;
        top: calc(0.5rem + env(safe-area-inset-top)) !important;
        z-index: 2147483000 !important;
        isolation: auto !important;
        transform: none !important;
        contain: none !important;
        overflow: visible !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav.is-open {
        z-index: 2147483000 !important;
    }

    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav .brand-lockup {
        position: relative !important;
        z-index: 2147483001 !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-toggle],
    .footballcode-marketing-nav .footballcode-marketing-toggle {
        position: relative !important;
        z-index: 2147483003 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: end !important;
        width: 2.9rem !important;
        min-width: 2.9rem !important;
        height: 2.9rem !important;
        min-height: 2.9rem !important;
        padding: 0 !important;
        gap: 0 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-toggle] > span:not(.marketing-nav-toggle-bars),
    .footballcode-marketing-nav .footballcode-marketing-toggle > span:not(.marketing-nav-toggle-bars) {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        clip-path: inset(50%) !important;
        white-space: nowrap !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links],
    .footballcode-marketing-nav .footballcode-marketing-links,
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav [data-marketing-nav-links] {
        position: fixed !important;
        top: calc(4.95rem + env(safe-area-inset-top)) !important;
        right: max(0.55rem, env(safe-area-inset-right)) !important;
        left: max(0.55rem, env(safe-area-inset-left)) !important;
        bottom: auto !important;
        z-index: 2147483002 !important;
        display: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-content: start !important;
        gap: 0.68rem !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        max-height: calc(100dvh - 5.7rem - env(safe-area-inset-top)) !important;
        margin: 0 !important;
        padding: 0.9rem !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 1px solid rgba(126, 231, 192, 0.2) !important;
        border-radius: 1.18rem !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(38, 194, 129, 0.2), transparent 15rem),
            radial-gradient(circle at 100% 12%, rgba(13, 110, 253, 0.16), transparent 15rem),
            linear-gradient(145deg, rgba(3, 10, 8, 0.995), rgba(2, 4, 3, 0.985)) !important;
        box-shadow:
            0 1.4rem 3.4rem rgba(0, 0, 0, 0.58),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(24px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-0.25rem) scale(0.985) !important;
        pointer-events: none !important;
    }

    .footballcode-marketing-nav.is-open [data-marketing-nav-links],
    .footballcode-marketing-nav.is-open .footballcode-marketing-links,
    .footballcode-marketing-nav [data-marketing-nav-links].is-open,
    .footballcode-marketing-nav .footballcode-marketing-links.is-open,
    .marketing-nav.footballcode-premium-topbar.brand-topbar.footballcode-marketing-nav.is-open [data-marketing-nav-links] {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links] > a,
    .footballcode-marketing-nav .footballcode-language-switcher {
        width: 100% !important;
        min-width: 0 !important;
    }

    .footballcode-marketing-nav .footballcode-language-switcher {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.45rem !important;
    }
}

@media (min-width: 992px) {
    body.footballcode-body.is-footballcode-nav-open {
        overflow: auto !important;
        touch-action: auto !important;
    }

    body.footballcode-body.is-footballcode-nav-open::after {
        display: none !important;
    }

    .footballcode-marketing-nav [data-marketing-nav-links],
    .footballcode-marketing-nav .footballcode-marketing-links {
        position: static !important;
        z-index: auto !important;
        display: flex !important;
        width: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}

/* Hardfix final: keep FootballCode hero board brand text inside mobile glass card. */
@media (max-width: 575.98px) {
    .footballcode-hero--worldcup .footballcode-hero-board--compact {
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 17.5rem !important;
        padding: 1.15rem !important;
        overflow: hidden !important;
    }

    .footballcode-hero--worldcup .footballcode-hero-board--compact span,
    .footballcode-hero--worldcup .footballcode-hero-board--compact strong,
    .footballcode-hero--worldcup .footballcode-hero-board--compact p {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .footballcode-hero--worldcup .footballcode-hero-board--compact strong {
        display: block !important;
        font-size: clamp(1.85rem, 9.2vw, 2.45rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.08em !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: keep-all !important;
    }

    .footballcode-hero--worldcup .footballcode-hero-board--compact p {
        overflow-wrap: break-word !important;
    }
}

@media (max-width: 380px) {
    .footballcode-hero--worldcup .footballcode-hero-board--compact {
        padding: 1rem !important;
    }

    .footballcode-hero--worldcup .footballcode-hero-board--compact strong {
        font-size: clamp(1.62rem, 8.7vw, 2.05rem) !important;
        letter-spacing: -0.085em !important;
    }
}

/* FootballCode prediction history tracking */
.footballcode-prediction-tracking-hero .footballcode-hero-board strong {
    color: #c9ffe0;
}

.footballcode-prediction-tracking {
    border: 1px solid rgba(145, 245, 194, 0.2);
    border-radius: 1.65rem;
    padding: clamp(1rem, 2vw, 1.6rem);
    background:
        radial-gradient(circle at 0% 0%, rgba(145, 245, 194, 0.11), transparent 20rem),
        rgba(7, 15, 13, 0.9);
}

.footballcode-prediction-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.footballcode-prediction-metrics article,
.footballcode-prediction-history-card,
.footballcode-prediction-empty-state,
.footballcode-live-panel-placeholder {
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(2, 7, 6, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footballcode-prediction-metrics article {
    min-height: 6.25rem;
    border-radius: 1rem;
    padding: 0.85rem;
    display: grid;
    align-content: space-between;
}

.footballcode-prediction-metrics span,
.footballcode-prediction-history-card__main span,
.footballcode-prediction-score-pair span {
    display: block;
    color: #9af7c8;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footballcode-prediction-metrics strong {
    color: #fff;
    font-size: clamp(1.35rem, 2.3vw, 2.25rem);
    line-height: 1;
}

.footballcode-prediction-metrics small {
    color: rgba(248, 250, 252, 0.64);
    font-weight: 750;
}

.footballcode-prediction-history-list {
    display: grid;
    gap: 0.8rem;
}

.footballcode-prediction-history-card {
    border-radius: 1.15rem;
    padding: clamp(0.9rem, 1.6vw, 1.15rem);
}

.footballcode-prediction-history-card.is-finished {
    border-color: rgba(154, 247, 200, 0.18);
}

.footballcode-prediction-history-card__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.85rem;
    align-items: center;
}

.footballcode-prediction-history-card__main h4 {
    margin: 0.25rem 0 0;
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
}

.footballcode-prediction-history-card__main p,
.footballcode-prediction-history-card__analysis,
.footballcode-prediction-empty-state p,
.footballcode-live-panel-placeholder p {
    margin: 0.35rem 0 0;
    color: rgba(248, 250, 252, 0.7);
    font-weight: 700;
}

.footballcode-prediction-score-pair {
    min-width: 5rem;
    border: 1px solid rgba(154, 247, 200, 0.16);
    border-radius: 0.95rem;
    padding: 0.55rem 0.7rem;
    text-align: center;
    background: rgba(154, 247, 200, 0.07);
}

.footballcode-prediction-score-pair.has-result {
    background: rgba(255, 255, 255, 0.07);
}

.footballcode-prediction-score-pair strong {
    display: block;
    margin-top: 0.18rem;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
}

.footballcode-prediction-history-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: 0.8rem;
}

.footballcode-prediction-history-card__badges span {
    border-radius: 999px;
    padding: 0.34rem 0.56rem;
    font-size: 0.76rem;
    font-weight: 950;
}

.footballcode-prediction-history-card__badges .is-success {
    color: #04140f;
    background: #c9ffe0;
}

.footballcode-prediction-history-card__badges .is-danger {
    color: #2b0707;
    background: #ffd2d2;
}

.footballcode-prediction-history-card__badges .is-pending,
.footballcode-prediction-history-card__badges .is-confidence {
    color: rgba(248, 250, 252, 0.88);
    background: rgba(255, 255, 255, 0.08);
}

.footballcode-prediction-empty-state,
.footballcode-live-panel-placeholder {
    border-radius: 1.15rem;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.footballcode-prediction-empty-state strong,
.footballcode-live-panel-placeholder strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
}

@media (max-width: 1100px) {
    .footballcode-prediction-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .footballcode-prediction-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footballcode-prediction-history-card__main {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .footballcode-prediction-score-pair {
        text-align: left;
    }
}
