:root {
    color-scheme: dark;
    --background: #08090a;
    --surface: #111315;
    --surface-raised: #17191c;
    --surface-muted: #202328;
    --border: #2c3036;
    --border-bright: #3b4048;
    --text: #f7f7f8;
    --text-soft: #b6bac2;
    --text-muted: #7e848e;
    --orange: #ed772e;
    --orange-soft: #f29a60;
    --green: #53d69c;
    --blue: #6fa8ff;
    --red: #ff6d75;
    --yellow: #f2cf62;
    --shadow: 0 22px 60px rgba(0, 0, 0, .35);

    /* 兼容英雄页原有组件变量。 */
    --ow-bg-dark: var(--background);
    --ow-bg-medium: var(--surface);
    --ow-bg-light: var(--surface-muted);
    --ow-border: var(--border);
    --ow-text-primary: var(--text);
    --ow-text-secondary: var(--text-soft);
    --ow-text-muted: var(--text-muted);
    --ow-accent: var(--orange);
    --ow-accent-hover: var(--orange-soft);
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Pretendard GOV Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.container,
.shell {
    width: min(1240px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(8, 9, 10, .88);
    backdrop-filter: blur(18px);
}

.nav-shell {
    height: 66px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
    text-decoration: none;
}

.brand-mark,
.brand-dot {
    color: var(--orange);
}

.brand-dot {
    padding: 0 1px;
}

.primary-nav {
    display: flex;
    align-self: stretch;
    gap: 26px;
}

.primary-nav a {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--text);
}

.primary-nav a.active::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 2px;
    background: var(--orange);
}

.source-pill {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, .025);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.source-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(83, 214, 156, .12);
}

.data-hero {
    position: relative;
    min-height: 282px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 76% 36%, rgba(237, 119, 46, .18), transparent 32%),
        linear-gradient(135deg, #0d0e10 0%, #15100d 100%);
}

.data-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .24;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.data-hero-content {
    position: relative;
    min-height: 282px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.eyebrow {
    margin: 0 0 9px;
    color: var(--orange-soft);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .2em;
}

.data-hero h1 {
    margin: 0 0 13px;
    color: var(--text);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(3rem, 7vw, 5.7rem);
    font-weight: 500;
    line-height: .92;
    letter-spacing: .005em;
    text-transform: uppercase;
}

.data-hero-copy {
    max-width: 650px;
    margin: 0;
    color: var(--text-soft);
    font-size: .96rem;
}

.data-source-card {
    width: min(300px, 100%);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(8, 9, 10, .64);
    box-shadow: var(--shadow);
}

.data-source-card span,
.data-source-card strong,
.data-source-card a {
    display: block;
}

.data-source-card span {
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: .72rem;
}

.data-source-card strong {
    margin-bottom: 13px;
    font-size: .92rem;
}

.data-source-card a {
    color: var(--orange-soft);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.filters-section {
    padding: 26px 0 0;
    border: 0;
    background: transparent;
}

.filter-panel {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 12px;
}

.filter-group {
    min-width: 0;
    gap: 7px;
}

.filter-group label {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.filter-group select,
.search-box input {
    width: 100%;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    color: var(--text);
    background: var(--surface-raised);
}

.filter-group select:hover,
.filter-group select:focus,
.search-box input:focus {
    border-color: var(--orange);
    background: var(--surface-muted);
    box-shadow: none;
}

.search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.search-box.recommendation-entry-hidden {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.btn-recommend[hidden] {
    display: none !important;
}

.btn-recommend {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid rgba(83, 214, 156, .35);
    border-radius: 8px;
    color: #d9fff0;
    background: rgba(83, 214, 156, .1);
    font-size: .8rem;
    font-weight: 800;
}

.btn-recommend:hover {
    border-color: var(--green);
    background: rgba(83, 214, 156, .16);
    box-shadow: none;
}

.stats-section {
    padding: 52px 0 78px;
}

.strength-overview-section {
    scroll-margin-top: 82px;
}

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

.strength-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.55rem;
    letter-spacing: -.035em;
}

.strength-heading > p {
    margin: 0 0 2px;
    color: var(--text-muted);
    font-size: .72rem;
}

.strength-overview {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.strength-overview-summary {
    min-height: 74px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(237, 119, 46, .08), transparent 36%),
        var(--surface-raised);
}

.strength-overview-summary > div:first-child {
    min-width: 0;
    margin-right: auto;
}

.strength-overview-summary span,
.strength-overview-summary strong {
    display: block;
}

.strength-overview-summary span {
    color: var(--text-muted);
    font-size: .65rem;
}

.strength-overview-summary > div:first-child strong {
    margin-top: 3px;
    overflow: hidden;
    color: var(--text-soft);
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.strength-summary-stat {
    min-width: 58px;
    text-align: right;
}

.strength-summary-stat strong {
    color: var(--text);
    font-size: 1.3rem;
    line-height: 1;
}

.strength-summary-stat.emphasis strong {
    color: var(--orange-soft);
}

.strength-clear {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--border-bright);
    border-radius: 7px;
    color: var(--text-soft);
    background: var(--surface-muted);
    cursor: pointer;
    font-size: .68rem;
    font-weight: 750;
}

.strength-tier-list {
    display: grid;
}

.strength-tier-row {
    position: relative;
    width: 100%;
    min-height: 82px;
    padding: 13px 18px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 84px;
    align-items: center;
    gap: 18px;
    border: 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background .16s ease;
}

.strength-tier-row:last-child {
    border-bottom: 0;
}

.strength-tier-row:not(:disabled):hover,
.strength-tier-row.active {
    background: var(--surface-raised);
}

.strength-tier-row.active {
    box-shadow: inset 3px 0 var(--orange);
}

.strength-tier-row:disabled {
    cursor: default;
    opacity: .55;
}

.strength-tier-identity {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
}

.strength-tier-identity > strong {
    width: 45px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 7px;
    font-size: .82rem;
    letter-spacing: .04em;
}

.strength-tier-row.tier-op .strength-tier-identity > strong {
    color: #ff737a;
    background: rgba(255, 109, 117, .1);
}

.strength-tier-row.tier-t1 .strength-tier-identity > strong {
    color: var(--orange-soft);
    background: rgba(237, 119, 46, .1);
}

.strength-tier-row.tier-t2 .strength-tier-identity > strong {
    color: #7fe5b8;
    background: rgba(83, 214, 156, .1);
}

.strength-tier-row.tier-t3 .strength-tier-identity > strong {
    color: #9dbcf0;
    background: rgba(111, 168, 255, .1);
}

.strength-tier-row.tier-t4 .strength-tier-identity > strong {
    color: #969ca6;
    background: rgba(126, 132, 142, .1);
}

.strength-tier-identity b,
.strength-tier-identity small {
    display: block;
}

.strength-tier-identity b {
    color: var(--text);
    font-size: .78rem;
}

.strength-tier-identity small {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: .62rem;
    font-weight: 500;
}

.strength-tier-heroes {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.strength-hero-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    overflow: hidden;
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    border: 1px solid var(--border-bright);
    border-radius: 8px;
    color: var(--text-soft);
    background: var(--surface-muted);
}

.strength-hero-avatar.role-tank {
    border-color: rgba(242, 154, 96, .62);
}

.strength-hero-avatar.role-damage {
    border-color: rgba(255, 109, 117, .55);
}

.strength-hero-avatar.role-support {
    border-color: rgba(83, 214, 156, .55);
}

.strength-hero-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.strength-hero-avatar > span {
    display: none;
    font-size: .75rem;
    font-weight: 800;
}

.strength-hero-avatar > span.visible {
    display: block;
}

.strength-empty {
    color: var(--text-muted);
    font-size: .68rem;
}

.strength-tier-summary {
    text-align: right;
}

.strength-tier-summary b,
.strength-tier-summary small {
    display: block;
}

.strength-tier-summary b {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1;
}

.strength-tier-summary small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: .59rem;
}

.strength-tier-summary i {
    width: 66px;
    height: 3px;
    margin: 9px 0 0 auto;
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--orange) var(--tier-share), var(--surface-muted) var(--tier-share));
}

.strength-overview-section + .stats-header {
    margin-top: 52px;
}

.stats-header {
    margin-bottom: 18px;
}

.stats-title h2 {
    margin: 0 0 5px;
    color: var(--text);
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: -.035em;
}

.update-time {
    margin: 0;
    color: var(--text-muted);
    font-size: .75rem;
}

.hero-table {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

#stats-table {
    min-width: 720px;
}

#stats-table thead {
    border-bottom: 1px solid var(--border);
    background: var(--surface-raised);
}

#stats-table th {
    height: 48px;
    padding: 0 18px;
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .045em;
}

#stats-table th.sortable:hover {
    color: var(--orange-soft);
    background: rgba(237, 119, 46, .06);
}

#stats-table tbody tr {
    border-bottom: 1px solid var(--border);
}

#stats-table tbody tr:hover {
    background: var(--surface-raised);
}

#stats-table td {
    height: 68px;
    padding: 10px 18px;
}

.hero-info {
    gap: 12px;
}

.hero-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-bright);
    border-radius: 9px;
    background: var(--surface-muted);
}

.hero-name {
    font-size: .9rem;
    font-weight: 750;
}

.hero-role {
    color: var(--text-muted);
    font-size: .68rem;
}

.role-badge,
.tier-badge {
    border-radius: 5px;
    box-shadow: none;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.role-badge.role-tank {
    color: #ffe0b0;
    background: rgba(242, 154, 96, .15);
}

.role-badge.role-damage {
    color: #ffafb4;
    background: rgba(255, 109, 117, .14);
}

.role-badge.role-support {
    color: #9af1cb;
    background: rgba(83, 214, 156, .14);
}

.stat-value {
    color: var(--text);
    font-size: .88rem;
    font-weight: 750;
}

.stat-bar {
    width: min(120px, 100%);
    height: 3px;
    background: var(--surface-muted);
}

.stat-bar-fill {
    background: var(--orange);
}

.tier-tab {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text-muted);
    background: var(--surface-raised);
    cursor: pointer;
    font-size: .72rem;
    font-weight: 750;
}

.tier-tab:hover,
.tier-tab.active {
    border-color: rgba(237, 119, 46, .55);
    color: var(--text);
    background: rgba(237, 119, 46, .12);
}

.china-filter-grid {
    display: grid;
    grid-template-columns: minmax(180px, .28fr) minmax(0, 1fr);
    gap: 22px;
    align-items: end;
}

.tier-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #090a0b;
}

.footer-content {
    min-height: 112px;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--text-muted);
    font-size: .7rem;
}

.footer-content strong {
    color: var(--text);
    font-size: .9rem;
}

.footer-content p {
    margin: 4px 0 0;
}

.footer-content a {
    color: var(--orange-soft);
}

.bottom-tabs {
    display: none;
}

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

    .china-filter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    body {
        padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    }

    .container,
    .shell {
        width: min(100% - 24px, 1240px);
    }

    .nav-shell {
        height: 56px;
    }

    .primary-nav {
        display: none;
    }

    .source-pill {
        margin-left: auto;
        padding: 6px 9px;
        font-size: .62rem;
    }

    .data-hero-content {
        min-height: 250px;
        padding: 42px 0;
        display: block;
    }

    .data-hero h1 {
        font-size: clamp(2.65rem, 12vw, 3.5rem);
    }

    .data-source-card {
        margin-top: 24px;
        padding: 15px;
    }

    .filter-panel {
        padding: 14px;
    }

    .filters {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .filter-group label {
        font-size: .64rem;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .stats-section {
        padding: 42px 0 48px;
    }

    .strength-heading {
        align-items: start;
        display: block;
    }

    .strength-heading > p {
        margin-top: 6px;
    }

    .strength-overview-summary {
        min-height: 68px;
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .strength-overview-summary > div:first-child {
        max-width: 46%;
    }

    .strength-summary-stat {
        min-width: 44px;
    }

    .strength-summary-stat strong {
        font-size: 1.1rem;
    }

    .strength-clear {
        width: 100%;
        margin: 0;
    }

    .strength-tier-row {
        min-height: 0;
        padding: 14px;
        grid-template-columns: minmax(0, 1fr) 58px;
        gap: 10px;
    }

    .strength-tier-identity {
        grid-template-columns: 43px minmax(0, 1fr);
    }

    .strength-tier-identity > strong {
        width: 41px;
    }

    .strength-tier-heroes {
        grid-column: 1 / -1;
    }

    .strength-hero-avatar {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .strength-tier-summary {
        grid-column: 2;
        grid-row: 1;
    }

    .strength-tier-summary i {
        width: 50px;
    }

    .strength-overview-section + .stats-header {
        margin-top: 44px;
    }

    .stats-title h2 {
        font-size: 1.35rem;
    }

    #stats-table th,
    #stats-table td {
        padding-right: 14px;
        padding-left: 14px;
    }

    .footer-content {
        min-height: 100px;
        display: block;
    }

    .footer-content > p {
        margin-top: 14px;
    }

    .bottom-tabs {
        position: fixed;
        inset: auto 0 0;
        z-index: 45;
        min-height: 62px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--border);
        background: rgba(8, 9, 10, .96);
        backdrop-filter: blur(18px);
    }

    .bottom-tabs a {
        position: relative;
        min-height: 62px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--text-muted);
        font-size: .61rem;
        font-weight: 700;
        text-decoration: none;
    }

    .bottom-tabs a.active {
        color: var(--orange-soft);
    }

    .bottom-tabs a.active::before {
        content: "";
        position: absolute;
        top: -1px;
        width: 34px;
        height: 2px;
        background: var(--orange);
    }

    .bottom-tabs svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
    }
}

/* OWTICS visual parity layer
   Keep the existing data components and interactions, but align the product
   shell, density, surfaces and responsive navigation with the reference UI. */
:root {
    --background: #08090a;
    --surface: #18181b;
    --surface-raised: #202023;
    --surface-muted: #27272a;
    --border: #3f3f46;
    --border-bright: #52525b;
    --text: #fafafa;
    --text-soft: #d4d4d8;
    --text-muted: #a1a1aa;
    --orange: #e8712a;
    --orange-soft: #f09a5c;
    --green: #4ade80;
    --blue: #7aa2ff;
    --red: #fb7185;
    --yellow: #facc15;
    --shadow: none;
}

body {
    background:
        radial-gradient(ellipse 56% 34% at 25% 0%, rgba(120, 49, 20, .18), transparent 72%),
        var(--background);
    font-family: "Pretendard GOV Variable", Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.container,
.shell {
    width: min(1216px, calc(100% - 64px));
}

.site-header {
    height: 53px;
    border-bottom-color: rgba(255, 255, 255, .08);
    background: rgba(24, 24, 27, .96);
    backdrop-filter: blur(14px);
}

.nav-shell {
    height: 53px;
    gap: 24px;
}

.brand {
    color: var(--text);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 1.34rem;
    font-weight: 500;
    letter-spacing: -.035em;
}

.brand-word {
    color: var(--text);
}

.brand-number {
    margin-left: 2px;
    color: var(--orange-soft);
}

.brand-domain {
    margin-left: 3px;
    color: var(--text-muted);
    font-family: "Pretendard GOV Variable", Inter, sans-serif;
    font-size: .48em;
    font-weight: 800;
    letter-spacing: .06em;
}

.primary-nav {
    align-items: center;
    gap: 3px;
}

.primary-nav a {
    height: 36px;
    padding: 0 13px;
    border-radius: 6px;
    color: var(--text-soft);
    font-size: .82rem;
    font-weight: 700;
}

.primary-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .045);
}

.primary-nav a.active {
    color: var(--text);
    background: var(--surface-muted);
}

.primary-nav a.active::after {
    display: none;
}

.source-pill {
    padding: 5px 9px;
    border: 0;
    border-radius: 6px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .035);
    font-size: .66rem;
}

.source-pulse {
    width: 6px;
    height: 6px;
    box-shadow: none;
}

.data-hero,
.hero-section {
    min-height: 0;
    border: 0;
    background: transparent;
}

.data-hero::before,
.hero-grid {
    display: none;
}

.data-hero-content,
.hero-content {
    position: relative;
    min-height: 0;
    padding: 30px 0 18px;
    align-items: end;
}

.data-hero-content::before,
.hero-content::before {
    content: "ABAB123";
    position: absolute;
    top: 2px;
    right: 250px;
    color: rgba(240, 154, 92, .035);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 6.8rem;
    line-height: 1;
    letter-spacing: -.035em;
    pointer-events: none;
}

.data-hero-content > *,
.hero-content > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: .63rem;
    letter-spacing: .14em;
}

.data-hero h1,
.hero-section h1 {
    margin-bottom: 5px;
    color: var(--orange-soft);
    background: linear-gradient(90deg, #f09a5c, #ffd0ae 88%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: inherit;
    font-size: clamp(1.9rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.045em;
    text-transform: none;
}

.data-hero-copy,
.hero-copy {
    color: var(--text-soft);
    font-size: .78rem;
}

.data-source-card,
.update-card {
    width: auto;
    min-width: 235px;
    padding: 10px 12px;
    border-color: var(--border);
    border-radius: 8px;
    background: rgba(24, 24, 27, .72);
    box-shadow: none;
}

.data-source-card span,
.update-card span {
    font-size: .61rem;
}

.data-source-card strong,
.update-card strong {
    margin-bottom: 4px;
    font-size: .76rem;
}

.data-source-card a,
.update-card a {
    font-size: .67rem;
}

.filters-section {
    padding: 0;
}

.filter-panel {
    padding: 16px;
    border-color: var(--border);
    border-radius: 10px;
    background: rgba(24, 24, 27, .92);
    box-shadow: none;
}

.filters {
    gap: 12px;
}

.filter-group {
    gap: 6px;
}

.filter-group label {
    color: var(--text-soft);
    font-size: .68rem;
    letter-spacing: 0;
}

.filter-group select,
.search-box input,
.filter-bar input,
.filter-bar select {
    min-height: 44px;
    border-color: var(--border);
    border-radius: 8px;
    color: var(--text);
    background: var(--surface);
}

.filter-group select:hover,
.filter-group select:focus,
.search-box input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--border-bright);
    background: var(--surface-raised);
}

.btn-recommend {
    min-height: 44px;
    border-color: rgba(240, 154, 92, .45);
    color: var(--orange-soft);
    background: rgba(232, 113, 42, .09);
}

.btn-recommend:hover {
    border-color: var(--orange-soft);
    background: rgba(232, 113, 42, .15);
}

.stats-section {
    padding: 28px 0 64px;
}

.strength-heading {
    margin-bottom: 12px;
}

.strength-heading h2,
.stats-title h2,
.section-heading h2 {
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.025em;
}

.strength-heading > p {
    color: var(--text-muted);
    font-size: .67rem;
}

.strength-overview,
.hero-table {
    border-color: var(--border);
    border-radius: 10px;
    background: rgba(24, 24, 27, .92);
    box-shadow: none;
}

.strength-overview-summary {
    min-height: 64px;
    padding: 11px 16px;
    background: var(--surface);
}

.strength-tier-row {
    min-height: 68px;
    padding: 10px 16px;
    grid-template-columns: 176px minmax(0, 1fr) 72px;
    gap: 14px;
}

.strength-tier-row:not(:disabled):hover,
.strength-tier-row.active {
    background: var(--surface-raised);
}

.strength-tier-identity > strong {
    width: 42px;
    height: 30px;
    border-radius: 5px;
    font-size: .72rem;
}

.strength-hero-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 7px;
}

.strength-overview-section + .stats-header {
    margin-top: 32px;
}

.stats-header {
    margin-bottom: 12px;
}

#stats-table thead {
    background: var(--surface-raised);
}

#stats-table th {
    height: 44px;
    padding: 0 16px;
    color: var(--text-muted);
    font-size: .66rem;
}

#stats-table td {
    height: 62px;
    padding: 8px 16px;
}

.hero-icon {
    width: 40px;
    height: 40px;
    border-radius: 7px;
}

.hero-name {
    font-size: .82rem;
}

.tier-tab {
    min-height: 35px;
    border-color: transparent;
    color: var(--text-muted);
    background: var(--surface-muted);
}

.tier-tab:hover,
.tier-tab.active {
    border-color: transparent;
    color: var(--orange-soft);
    background: #202023;
    box-shadow: inset 0 0 0 1px rgba(240, 154, 92, .14);
}

.site-footer {
    background: transparent;
}

.footer-content {
    min-height: 88px;
    padding: 20px 0;
}

/* Esports page: compact product header and OWTICS-like tournament browser. */
.metrics {
    margin-top: 0;
    border-color: var(--border);
    border-radius: 10px;
    background: rgba(24, 24, 27, .92);
    box-shadow: none;
}

.metrics article {
    min-height: 84px;
    padding: 14px 18px;
}

.metrics strong {
    font-size: 1.65rem;
}

.featured-wrap,
.content-section {
    padding-top: 36px;
}

.featured-card {
    min-height: 206px;
    padding: 22px;
    border-color: var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.featured-card h3 {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.featured-side {
    padding-left: 22px;
}

.content-section:not(.schedule-section) {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px 24px;
    align-items: start;
}

.content-section:not(.schedule-section) > .section-heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.content-section:not(.schedule-section) > .filter-bar {
    position: sticky;
    top: 69px;
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
}

.content-section:not(.schedule-section) > .filter-bar .search-control {
    grid-column: auto;
}

.content-section:not(.schedule-section) > .tournament-grid,
.content-section:not(.schedule-section) > .loading-state,
.content-section:not(.schedule-section) > .empty-state {
    grid-column: 2;
    grid-row: 2;
}

.tournament-grid {
    gap: 14px;
}

.tournament-card {
    min-height: 220px;
    padding: 16px;
    border-color: var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.tournament-card:hover {
    transform: none;
    border-color: var(--border-bright);
    background: var(--surface-raised);
}

.tournament-card h3 {
    margin: 14px 0 8px;
    font-size: .94rem;
}

.match-card {
    min-height: 80px;
    border-color: var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.detail-sheet {
    border-radius: 10px;
    background: #101012;
}

@media (max-width: 960px) {
    .container,
    .shell {
        width: min(100% - 40px, 1216px);
    }

    .content-section:not(.schedule-section) {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 18px;
    }

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

@media (max-width: 680px) {
    body {
        padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    }

    .container,
    .shell {
        width: calc(100% - 32px);
    }

    .site-header,
    .nav-shell {
        height: 56px;
    }

    .brand {
        font-size: 1.16rem;
    }

    .source-pill {
        display: none;
    }

    .data-hero-content,
    .hero-content {
        min-height: 0;
        padding: 25px 0 16px;
        display: block;
    }

    .data-hero-content::before,
    .hero-content::before {
        display: none;
    }

    .data-hero h1,
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .data-source-card,
    .update-card {
        min-width: 0;
        margin-top: 12px;
        padding: 9px 11px;
    }

    .filter-panel {
        padding: 12px;
    }

    .filters {
        gap: 9px;
    }

    .stats-section {
        padding: 24px 0 42px;
    }

    .strength-heading h2,
    .stats-title h2,
    .section-heading h2 {
        font-size: 1.05rem;
    }

    .strength-tier-row {
        padding: 12px;
        grid-template-columns: minmax(0, 1fr) 54px;
    }

    .strength-hero-avatar {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics article {
        min-height: 74px;
        padding: 11px 13px;
    }

    .featured-wrap,
    .content-section {
        padding-top: 28px;
    }

    .featured-card {
        padding: 16px;
    }

    .content-section:not(.schedule-section) {
        display: block;
    }

    .content-section:not(.schedule-section) > .filter-bar {
        position: static;
        margin-bottom: 14px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .content-section:not(.schedule-section) > .filter-bar .search-control {
        grid-column: 1 / -1;
    }

    .tournament-grid {
        grid-template-columns: 1fr;
    }

    .tournament-card {
        min-height: 190px;
    }

    .bottom-tabs {
        min-height: 58px;
        border-top-color: rgba(255, 255, 255, .16);
        background: rgba(8, 9, 10, .98);
    }

    .bottom-tabs a {
        min-height: 58px;
        gap: 2px;
        font-size: .59rem;
        font-weight: 500;
    }

    .bottom-tabs a.active {
        color: var(--orange-soft);
    }

    .bottom-tabs a.active::before {
        display: none;
    }

    .bottom-tabs svg {
        width: 22px;
        height: 22px;
        stroke-width: 1.65;
    }
}
