:root {
    --bg-primary: #071018;
    --bg-secondary: #09141d;
    --surface: #0d1821;
    --surface-raised: #111f2a;
    --surface-hover: #152632;
    --gold: #ffc107;
    --gold-dark: #ff9800;
    --text-primary: #f7f8fa;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.5);
    --success: #35d07f;
    --danger: #ff5e62;
    --info: #4ca3ff;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.15);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 9px;
    --shadow-panel: 0 16px 42px rgba(0, 0, 0, 0.22);
    --shell: min(1520px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-primary);
    max-width: 100%;
    overflow-x: clip;
}

body.brand-page-shell {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 24% 0%, rgba(255, 193, 7, 0.07), transparent 28%),
        linear-gradient(180deg, #061019 0%, #08131b 45%, #050c12 100%);
    font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
}

body.brand-page-shell::after {
    display: none;
}

body.brand-page-shell a {
    color: inherit;
}

body.brand-page-shell .container {
    width: var(--shell);
    max-width: none;
    margin-inline: auto;
    padding: 24px 0 0;
}

/* Global sports navigation */
.brand-page-shell .brand-topbar {
    position: sticky;
    top: 0;
    z-index: 1200;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 13, 19, 0.95);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.brand-page-shell .brand-topbar-inner {
    width: var(--shell);
    max-width: none;
    height: 78px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand-page-shell .brand-lockup {
    gap: 11px;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand-page-shell .brand-copy {
    max-width: 250px;
}

.brand-page-shell .brand-mark {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 12px;
    background: #0a151e;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.035);
    transform: rotate(45deg);
}

.brand-page-shell .brand-mark img,
.brand-page-shell .brand-mark .brand-mark-logo {
    width: 39px;
    height: 39px;
    transform: rotate(-45deg);
    object-fit: contain;
}

.brand-page-shell .brand-overline {
    display: none;
}

.brand-page-shell .brand-name {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
    font-style: italic;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.brand-page-shell .brand-subcopy {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-page-shell .brand-nav {
    flex: 1 1 auto;
    justify-content: center;
    align-self: stretch;
    gap: 4px;
    flex-wrap: nowrap;
}

.brand-page-shell .brand-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 11px;
    border: 0;
    border-radius: 0;
    color: #d7dde1;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand-page-shell .brand-nav-link:hover,
.brand-page-shell .brand-nav-link.active {
    color: var(--gold);
    background: transparent;
}

.brand-page-shell .brand-nav-link.active::after {
    content: "";
    position: absolute;
    right: 11px;
    bottom: 14px;
    left: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
}

.brand-page-shell .brand-admin-link {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gold), #ffb300);
    box-shadow: none;
    color: #171100;
    font-size: 0.84rem;
    font-weight: 900;
}

.brand-tools {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
}

.header-search-button,
.mobile-menu-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #0a151e;
    color: #fff;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

.header-search-button svg,
.mobile-menu-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.header-search-host .search-container {
    position: relative;
    width: 42px;
    margin: 0;
}

.header-search-host {
    position: relative;
}

.header-search-host .search-bar {
    width: 42px;
    margin: 0;
}

.header-search-host #searchInput {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: transparent;
    background: #0a151e;
    cursor: pointer;
    transition: width 180ms ease, padding 180ms ease, color 180ms ease;
}

.header-search-host #searchInput:focus {
    width: 250px;
    padding: 0 14px;
    color: #fff;
    border-color: rgba(255, 193, 7, 0.55);
    box-shadow: none;
    cursor: text;
}

.header-search-host #searchInput::placeholder {
    color: transparent;
}

.header-search-host #searchInput:focus::placeholder {
    color: var(--text-muted);
}

.header-search-host::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none;
}

.header-search-host::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 27px;
    left: 27px;
    width: 7px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    pointer-events: none;
}

.header-search-host:focus-within::before,
.header-search-host:focus-within::after {
    display: none;
}

.header-search-host .search-results {
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(420px, calc(100vw - 32px));
    transform: none;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-panel);
}

.header-tournament-host .tournament-selector-index {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-tournament-host .tournament-selector-index label {
    display: none;
}

.header-tournament-host #indexTournamentSelect,
.brand-page-shell .tournament-selector-v2 select {
    height: 42px;
    min-width: 170px;
    padding: 0 36px 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: #fff;
    background: #0a151e;
    font-weight: 700;
}

.header-tournament-host .sse-status {
    width: 10px;
    overflow: hidden;
    gap: 0;
}

.header-tournament-host .sse-status span {
    display: none;
}

/* Approved hero composition */
.brand-page-shell .brand-hero {
    min-height: 258px;
    margin: 0 0 12px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(4, 11, 17, 0.98) 0%, rgba(5, 13, 20, 0.96) 44%, rgba(5, 13, 20, 0.54) 68%, rgba(5, 13, 20, 0.35) 100%),
        radial-gradient(circle at 88% 38%, rgba(255, 193, 7, 0.25), transparent 20%),
        linear-gradient(135deg, #0d1a24, #17232a 55%, #46371a 120%);
    box-shadow: var(--shadow-panel);
}

.brand-page-shell .brand-hero::before {
    inset: auto 0 0;
    height: 44%;
    background: repeating-linear-gradient(170deg, rgba(255, 193, 7, 0.025) 0 2px, transparent 2px 18px);
    opacity: 0.7;
}

.brand-page-shell .brand-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 258px;
    padding: 42px 56px;
    display: flex;
    align-items: center;
}

.brand-page-shell .brand-hero-logo {
    display: none;
}

.brand-page-shell .brand-hero-copy {
    max-width: 820px;
}

.brand-page-shell .brand-hero-kicker {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-page-shell .brand-hero-title {
    max-width: 780px;
    margin: 12px 0 14px;
    color: var(--text-primary);
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.brand-page-shell .brand-hero-title .accent {
    color: var(--gold);
}

.brand-page-shell .brand-hero-subtitle {
    max-width: 690px;
    margin: 0;
    color: #c4cdd3;
    font-size: 1.06rem;
    line-height: 1.6;
}

.brand-page-shell .brand-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.brand-page-shell .brand-hero-pill {
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: rgba(10, 21, 30, 0.78);
    color: #dce2e6;
    padding: 7px 10px;
    font-size: 0.7rem;
    font-weight: 800;
}

.brand-page-shell .brand-hero-badge {
    position: absolute;
    right: 9%;
    top: 27px;
    width: 205px;
    height: 205px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    background: radial-gradient(circle at 35% 28%, #fff3a1 0%, #f6d952 34%, #c6a90e 70%, #8a7200 100%);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5), inset -22px -28px 38px rgba(0, 0, 0, 0.22);
    color: #152015;
    transform: rotate(-5deg);
}

.brand-page-shell .brand-hero-badge::before,
.brand-page-shell .brand-hero-badge::after {
    content: "";
    position: absolute;
    top: 35px;
    width: 124px;
    height: 124px;
    border: 4px solid #8b2d25;
    border-color: #8b2d25 transparent transparent #8b2d25;
    border-radius: 50%;
}

.brand-page-shell .brand-hero-badge::before {
    left: -31px;
    transform: rotate(48deg);
}

.brand-page-shell .brand-hero-badge::after {
    right: -31px;
    transform: rotate(228deg);
}

.brand-page-shell .brand-hero-badge span,
.brand-page-shell .brand-hero-badge strong {
    position: relative;
    z-index: 2;
    color: #152015;
}

.brand-page-shell .brand-hero-badge strong {
    max-width: 150px;
    font-size: 1.2rem;
    font-weight: 950;
}

.brand-page-shell .brand-hero-badge span {
    max-width: 155px;
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Home banner: the photograph is decorative; copy and tournament state remain live HTML. */
.brand-page-shell #inicio > .brand-hero {
    min-height: 340px;
    margin: 0 0 14px;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background-image:
        linear-gradient(90deg, rgba(4, 10, 17, 0.78) 0%, rgba(4, 10, 17, 0.43) 35%, rgba(4, 10, 17, 0.10) 60%, rgba(4, 10, 17, 0.02) 100%),
        url('../images/chogui-hero-cinematic.jpg');
    background-position: center;
    background-size: cover;
    box-shadow: none;
}

.brand-page-shell #inicio > .brand-hero::before {
    inset: 0;
    height: auto;
    background: linear-gradient(0deg, rgba(4, 10, 17, 0.30), transparent 30%);
    opacity: 1;
}

.brand-page-shell #inicio > .brand-hero .brand-hero-inner {
    min-height: 340px;
    width: 100%;
    padding: 34px 5% 34px 19%;
    align-items: center;
}

.brand-page-shell #inicio > .brand-hero .brand-hero-copy {
    position: relative;
    z-index: 2;
    width: min(790px, 72%);
    max-width: none;
}

.brand-page-shell #inicio > .brand-hero .brand-hero-title {
    max-width: none;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(39px, 3.7vw, 54px);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-transform: none;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.brand-page-shell #inicio > .brand-hero .brand-hero-subtitle {
    max-width: 610px;
    color: #d4d8dc;
    font-size: clamp(15px, 1.28vw, 18px);
    font-weight: 500;
    line-height: 1.5;
}

.brand-page-shell #inicio .hero-explore-button {
    min-height: 48px;
    margin-top: 15px;
    padding: 0 30px;
    border-radius: 13px;
    background: var(--gold);
    color: #171100;
    font-size: 1rem;
    font-weight: 800;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.brand-page-shell #inicio .hero-explore-button:hover {
    background: #ffcf35;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.24);
    transform: translateY(-2px);
}

.brand-page-shell #inicio .brand-hero-meta {
    margin-top: 12px;
    gap: 8px;
}

.brand-page-shell #inicio .brand-hero-pill {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    background: rgba(7, 19, 28, 0.70);
    color: #f1f2f3;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: none;
}

.brand-page-shell #inicio .hero-status-data {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brand-page-shell #inicio .hero-side-notes {
    position: absolute;
    z-index: 2;
    color: rgba(245, 248, 250, 0.82);
    font-size: 0.69rem;
    font-weight: 700;
    line-height: 2.3;
    letter-spacing: 0.28em;
    white-space: nowrap;
}

.brand-page-shell #inicio .hero-side-notes::after,
.brand-page-shell #inicio .hero-signature::after {
    content: '';
    display: block;
    width: 39px;
    height: 3px;
    margin-top: 9px;
    border-radius: 3px;
    background: var(--gold);
    transform: rotate(-12deg);
}

.brand-page-shell #inicio .hero-side-notes-left {
    bottom: 15%;
    left: 3%;
}

.brand-page-shell #inicio .hero-side-notes-right {
    top: 44%;
    right: 2.3%;
}

.brand-page-shell #inicio .hero-side-notes-right::after {
    margin-left: auto;
}

.brand-page-shell #inicio .hero-signature {
    position: absolute;
    z-index: 2;
    right: 32%;
    bottom: 21%;
    color: #f5f3ed;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: clamp(1.45rem, 2.15vw, 2rem);
    font-style: italic;
    line-height: 0.95;
    text-align: center;
    transform: rotate(-8deg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.brand-page-shell #inicio .hero-signature::after {
    width: 80%;
    margin: 17px auto 0;
}

/* Dashboard surfaces */
.home-kpi-grid,
.positions-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.home-kpi,
.positions-kpi {
    min-height: 78px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent), var(--surface);
}

.kpi-glyph {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: rgba(255, 193, 7, 0.07);
}

.kpi-glyph svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.home-kpi strong,
.positions-kpi strong {
    display: block;
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
}

.home-kpi span,
.positions-kpi span {
    display: block;
    margin-top: 5px;
    color: #dce1e5;
    font-size: 0.8rem;
}

.home-kpi small,
.positions-kpi small {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.35;
}

.league-pulse,
.home-dashboard-grid,
.positions-layout,
.games-layout {
    display: grid;
    gap: 12px;
}

.home-dashboard-grid {
    grid-template-columns: 1.05fr 1fr 1fr;
    margin-top: 12px;
}

.home-dashboard-panel,
.home-leaders-panel {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent 30%), var(--surface);
}

.home-leaders-panel {
    margin-top: 12px;
}

.panel-heading {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.panel-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 900;
}

.panel-heading h2::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 2px;
    background: var(--gold);
}

.panel-heading button {
    border: 0;
    background: transparent;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.home-featured-game,
.home-upcoming-list {
    min-height: 214px;
}

.featured-match-card {
    height: 100%;
    min-height: 214px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #101c25;
}

.featured-match-meta {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-align: center;
    text-transform: uppercase;
}

.featured-match-versus {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.featured-match-team {
    min-width: 0;
    text-align: center;
}

.featured-match-team img,
.featured-match-mark {
    width: 64px;
    height: 64px;
    margin: 0 auto 7px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--surface-raised);
    color: var(--gold);
    object-fit: contain;
    font-size: 1.3rem;
    font-weight: 950;
}

.featured-match-team strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-match-team small {
    color: var(--text-muted);
    font-size: 0.66rem;
}

.featured-match-vs {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #d7dde1;
    font-size: 0.75rem;
    font-weight: 900;
}

.featured-match-link {
    width: 100%;
    padding: 10px;
    border-radius: 9px;
    display: block;
    background: var(--gold);
    color: #171100;
    text-align: center;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 900;
}

.home-mini-table {
    width: 100%;
    min-width: 0;
}

.home-mini-table th,
.home-mini-table td {
    padding: 9px 8px;
}

.home-standings-team {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

.home-team-mark {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: var(--surface-hover);
    color: var(--gold);
    object-fit: contain;
    font-size: 0.62rem;
    font-weight: 950;
}

.home-upcoming-list {
    display: grid;
    gap: 8px;
}

.home-upcoming-game {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    color: inherit;
    background: #101c25;
    text-decoration: none;
}

.home-upcoming-date {
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 9px;
    display: grid;
    place-content: center;
    text-align: center;
}

.home-upcoming-date strong {
    color: #fff;
    font-size: 1.25rem;
}

.home-upcoming-date span,
.home-upcoming-copy small {
    color: var(--text-muted);
    font-size: 0.62rem;
}

.home-upcoming-copy strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 0.76rem;
}

.home-leaders-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.home-leader-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 10px;
    background: #101c25;
    color: inherit;
    text-decoration: none;
}

.home-leader-avatar {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface-hover);
    color: var(--gold);
    font-weight: 950;
}

.home-leader-card small,
.home-leader-card span {
    display: block;
    color: var(--text-muted);
    font-size: 0.64rem;
}

.home-leader-card strong {
    color: #fff;
    font-size: 0.76rem;
}

.home-leader-value {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 950;
}

/* Inicio dashboard: compact broadcast composition from the approved screen. */
.brand-page-shell #inicio .home-kpi-grid {
    gap: 11px;
    margin: 12px 0;
}

.brand-page-shell #inicio .home-kpi {
    min-height: 82px;
    padding: 15px 19px;
    border-radius: 11px;
    background: #17232c;
}

.brand-page-shell #inicio .kpi-glyph {
    width: 58px;
    height: 51px;
    border-right: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
}

.brand-page-shell #inicio .kpi-glyph svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.3;
}

.brand-page-shell #inicio .home-kpi strong {
    font-size: 1.9rem;
    font-weight: 900;
}

.brand-page-shell #inicio .home-kpi span {
    font-size: 0.83rem;
}

.brand-page-shell #inicio .home-dashboard-grid {
    grid-template-columns: 1.08fr 1.02fr 1.06fr;
    gap: 11px;
}

.brand-page-shell #inicio .home-dashboard-panel,
.brand-page-shell #inicio .home-leaders-panel,
.brand-page-shell #inicio .home-brief-panel {
    padding: 11px;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    background: #17232c;
    box-shadow: none;
}

.brand-page-shell #inicio .panel-heading {
    min-height: 28px;
    margin-bottom: 8px;
}

.brand-page-shell #inicio .panel-heading h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1rem;
    white-space: nowrap;
}

.brand-page-shell #inicio .panel-heading h2::before {
    display: none;
}

.brand-page-shell #inicio .panel-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--gold);
    fill: currentColor;
}

.brand-page-shell #inicio .panel-heading button {
    white-space: nowrap;
}

.brand-page-shell #inicio .home-featured-game,
.brand-page-shell #inicio .home-upcoming-list {
    min-height: 248px;
}

.brand-page-shell #inicio .featured-match-card {
    min-height: 248px;
    padding: 9px 14px 11px;
    justify-content: space-between;
    background: #131f28;
}

.brand-page-shell #inicio .featured-match-versus {
    margin: 6px 0 8px;
    grid-template-columns: 1fr 48px 1fr;
}

.brand-page-shell #inicio .featured-match-team img,
.brand-page-shell #inicio .featured-match-mark {
    width: 72px;
    height: 72px;
    padding: 4px;
    border: 0;
    background: transparent;
}

.brand-page-shell #inicio .featured-match-team strong {
    font-size: 0.77rem;
    text-transform: uppercase;
}

.brand-page-shell #inicio .featured-match-team small {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
}

.brand-page-shell #inicio .featured-match-link {
    width: min(85%, 250px);
    margin: 0 auto;
    padding: 10px;
    color: #171100;
}

.brand-page-shell #inicio .home-dashboard-panel .table-container {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.brand-page-shell #inicio .home-mini-table {
    min-width: 340px;
    background: transparent;
}

.brand-page-shell #inicio .home-mini-table th {
    padding: 7px 8px;
    border-bottom: 1px solid var(--border);
    background: #121e27;
    color: var(--text-secondary);
    font-size: 0.68rem;
    text-shadow: none;
}

.brand-page-shell #inicio .home-mini-table td {
    padding: 8px;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: #f2f4f5;
    font-size: 0.73rem;
}

.brand-page-shell #inicio .home-mini-table tr:last-child td {
    border-bottom: 0;
}

.brand-page-shell #inicio .home-upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.brand-page-shell #inicio .home-upcoming-game {
    min-height: 75px;
    padding: 5px;
    grid-template-columns: 45px minmax(65px, 0.8fr) minmax(135px, 1.55fr);
    gap: 7px;
    align-items: center;
    background: #131f28;
}

.brand-page-shell #inicio .home-upcoming-date {
    min-height: 58px;
    background: #17232c;
}

.brand-page-shell #inicio .home-upcoming-copy strong {
    font-size: 0.67rem;
}

.brand-page-shell #inicio .home-upcoming-match {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: #fff;
    font-size: 0.63rem;
    font-weight: 800;
}

.brand-page-shell #inicio .home-upcoming-match span {
    min-width: 0;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-page-shell #inicio .home-upcoming-match b {
    flex: 0 0 auto;
    color: var(--gold);
    white-space: nowrap;
}

.brand-page-shell #inicio .home-match-mark {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    object-fit: contain;
    font-size: 0.65rem;
}

.brand-page-shell #inicio .home-upcoming-note {
    margin: -3px 0 5px;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.brand-page-shell #inicio .home-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.15fr);
    gap: 11px;
    margin-top: 11px;
}

.brand-page-shell #inicio .home-leaders-panel {
    margin: 0;
}

.brand-page-shell #inicio .home-leaders-grid {
    gap: 8px;
}

.brand-page-shell #inicio .home-leader-card {
    min-height: 126px;
    padding: 10px;
    display: block;
    background: #131f28;
}

.brand-page-shell #inicio .home-leader-label {
    display: block;
    min-height: 28px;
    color: #eef1f3;
    font-size: 0.67rem;
    font-weight: 800;
}

.brand-page-shell #inicio .home-leader-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-page-shell #inicio .home-leader-avatar {
    width: 55px;
    height: 55px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 50%;
}

.brand-page-shell #inicio .home-leader-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.brand-page-shell #inicio .home-leader-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-page-shell #inicio .home-leader-value {
    margin-top: 5px;
    font-size: 1.35rem;
}

.brand-page-shell #inicio .home-brief-list {
    display: grid;
    gap: 7px;
}

.brand-page-shell #inicio .home-brief-item {
    min-height: 82px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #131f28;
    text-decoration: none;
}

.brand-page-shell #inicio .home-brief-mark {
    width: 72px;
    height: 62px;
    flex: 0 0 auto;
    padding: 5px;
    border-radius: 7px;
    background: #17232c;
    object-fit: contain;
    color: var(--gold);
    font-weight: 900;
}

.brand-page-shell #inicio .home-brief-item strong,
.brand-page-shell #inicio .home-brief-item small {
    display: block;
}

.brand-page-shell #inicio .home-brief-item strong {
    font-size: 0.75rem;
}

.brand-page-shell #inicio .home-brief-item small {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 0.69rem;
    line-height: 1.3;
}

.brand-page-shell #inicio .home-brief-arrow {
    margin-left: auto;
    color: var(--gold);
}

.brand-page-shell #inicio .home-analysis-details {
    margin-top: 8px;
    font-size: 0.68rem;
}

.brand-page-shell #inicio .home-analysis-details > summary {
    width: fit-content;
    margin-left: auto;
    color: var(--gold);
    cursor: pointer;
}

.brand-page-shell #inicio .home-analysis-details .league-pulse {
    grid-template-columns: 1fr;
    margin: 10px 0 0;
}

.directory-empty {
    padding: 22px;
    color: var(--text-muted);
    text-align: center;
}

.hero-explore-button {
    margin-top: 20px;
    padding: 13px 20px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--gold), #ffb300);
    color: #171100;
    font-weight: 900;
    cursor: pointer;
}

.game-filter-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.game-filter {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #101c25;
    color: #d7dce0;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.game-filter.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #171100;
}

.directory-count {
    color: var(--text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

.mobile-menu {
    background: var(--bg-secondary);
    border-color: var(--border);
}

.mobile-menu h3 {
    margin: 0 0 20px;
    color: var(--gold);
    text-align: center;
}

.mobile-menu-item {
    border-color: var(--border);
    border-radius: 9px;
    color: #fff;
    background: var(--surface);
}

.mobile-menu-secondary {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.brand-page-shell .mobile-menu .tournament-selector-index {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
}

.brand-page-shell .mobile-menu .tournament-selector-index label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.72rem;
    text-align: left;
}

.brand-page-shell .mobile-menu .tournament-selector-index select {
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: var(--surface-raised);
    color: #fff;
}

.league-pulse {
    grid-template-columns: 1.15fr 0.85fr;
    margin: 12px 0;
}

.pulse-feature,
.pulse-panel,
.card,
.game-center-card,
.playoff-race-shell,
.directory-card,
.directory-toolbar,
.stats-card-shell,
.records-card,
.records-champions-shell,
.top-players-section,
.team-collective-section,
.recent-games,
.roster-section,
.stats-section,
.match-scoreboard-card,
.match-summary-card,
.match-decisions-card,
.match-highlights-card,
.team-boxscore-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent 30%), var(--surface);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

.pulse-feature,
.pulse-panel {
    padding: 20px;
}

.pulse-kicker,
.section-eyebrow,
.directory-eyebrow {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pulse-title,
.screen-title {
    margin: 8px 0;
    color: #fff;
    font-weight: 930;
    letter-spacing: -0.025em;
}

.pulse-copy,
.screen-copy,
.stats-shell-intro,
.section-subtitle {
    color: var(--text-secondary);
    line-height: 1.55;
}

.pulse-stats,
.pulse-panel-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}

.pulse-stat,
.pulse-panel-card {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #101c25;
}

.pulse-stat strong,
.pulse-panel-card strong,
.pulse-leader-value {
    color: var(--gold);
}

.pulse-leader-row {
    border-color: var(--border);
    background: #101c25;
}

.brand-page-shell .nav-tabs {
    position: sticky;
    top: 78px;
    z-index: 900;
    display: flex;
    gap: 6px;
    margin: 0 0 12px;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(9, 20, 29, 0.96);
    backdrop-filter: blur(14px);
}

.brand-page-shell .nav-tab,
.stats-department-btn,
.leader-filter,
.records-panel-tab,
.page-quicknav-link,
.player-tab-btn {
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: #d7dde1;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.brand-page-shell .nav-tab {
    padding: 10px 14px;
}

.brand-page-shell .nav-tab.active,
.brand-page-shell .nav-tab:hover,
.stats-department-btn.active,
.leader-filter.active,
.records-panel-tab.active,
.player-tab-btn.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #171100;
}

.brand-page-shell .tab-content {
    animation: chogui-fade 180ms ease both;
}

@keyframes chogui-fade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
}

.screen-intro {
    min-height: 156px;
    margin-bottom: 12px;
    padding: 30px 42px;
    border: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(4,11,17,.98), rgba(5,13,20,.8) 64%, rgba(70,55,26,.55)),
        linear-gradient(135deg,#0d1a24,#17232a 55%,#46371a 120%);
}

.screen-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.screen-title .accent {
    color: var(--gold);
}

.positions-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.8fr);
}

.positions-layout #tablaPosiciones,
.positions-layout #playoffRaceHome {
    margin: 0;
}

.brand-page-shell .card,
.brand-page-shell .game-center-card {
    padding: 16px;
}

.brand-page-shell .card h3,
.brand-page-shell .game-center-card h3,
.brand-page-shell .section-title,
.brand-page-shell .section-headline h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    text-shadow: none;
}

.brand-page-shell .table-container,
.brand-page-shell .table-responsive-v2,
.brand-page-shell .stats-table-container,
.brand-page-shell .table-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #0c171f;
    overflow-x: auto;
}

.brand-page-shell table {
    border-collapse: collapse;
    color: #edf1f3;
    font-variant-numeric: tabular-nums;
}

.brand-page-shell table th {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border);
    background: #101c25;
    color: #b8c1c7;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-align: left;
    text-transform: uppercase;
}

.brand-page-shell table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.055);
    background: transparent;
    font-size: 0.8rem;
}

.brand-page-shell table tbody tr:hover td {
    background: rgba(255, 193, 7, 0.035);
}

.standings-table tr td:first-child {
    border-left: 4px solid transparent;
}

.standings-table tr.standings-tier-gold td:first-child {
    border-left-color: var(--success);
}

.standings-table tr.standings-cutoff-row td:first-child,
.standings-table tr.standings-tier-green td:first-child {
    border-left-color: var(--gold);
}

.standings-table tr.standings-tier-neutral td:first-child {
    border-left-color: var(--danger);
}

.standings-pos-badge,
.standings-team-mark,
.playoff-team-mark {
    border-color: var(--border-strong);
    background: var(--surface-hover);
    color: var(--gold);
    box-shadow: none;
}

.standings-status-badge,
.playoff-race-pill,
.game-status,
.status-badge {
    border-radius: 999px;
}

.playoff-race-list {
    max-height: 600px;
    overflow-y: auto;
}

.playoff-race-row {
    border-color: var(--border);
    background: #101c25;
}

.game-center-grid,
.scoreboard-grid,
.directory-grid {
    display: grid;
    gap: 10px;
}

.game-center-row,
.scoreboard-card,
.directory-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #101c25;
    box-shadow: none;
}

.game-center-row:hover,
.scoreboard-card:hover,
.directory-card:hover {
    border-color: rgba(255, 193, 7, 0.35);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.brand-page-shell .proximos-partidos {
    margin: 12px 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.brand-page-shell .section-header {
    margin-bottom: 14px;
}

.brand-page-shell .section-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

/* Teams and players directory */
.directory-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px;
}

.directory-toolbar input,
.directory-toolbar select,
.stats-toolbar input,
.stats-toolbar select,
.brand-page-shell input,
.brand-page-shell select {
    min-height: 42px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    outline: none;
    background: #0b161f;
    color: #fff;
}

.directory-toolbar input,
.stats-toolbar input {
    flex: 1;
    padding: 0 13px;
}

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

.directory-card {
    display: flex;
    min-width: 0;
    padding: 15px;
    color: inherit;
    text-decoration: none;
    align-items: center;
    gap: 13px;
}

.directory-logo,
.directory-avatar {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #162530;
    color: var(--gold);
    font-size: 1.15rem;
    font-weight: 950;
}

.directory-avatar {
    border-radius: 50%;
}

.directory-logo img,
.directory-avatar img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
}

.directory-card h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 0.94rem;
}

.directory-card p,
.directory-card small {
    display: block;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.45;
}

.directory-stat {
    margin-left: auto;
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
}

/* Profile and match screens */
.brand-page-shell .breadcrumb,
.brand-page-shell .page-quicknav {
    border-color: var(--border);
    background: var(--surface);
    box-shadow: none;
}

.brand-page-shell .breadcrumb {
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

.brand-page-shell .page-quicknav {
    position: sticky;
    top: 88px;
    z-index: 800;
    border-radius: var(--radius-md);
}

.brand-page-shell .team-main-card,
.brand-page-shell .player-header-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, #08131c 0%, #0b1821 55%, #2a2413 140%);
    box-shadow: var(--shadow-panel);
}

.brand-page-shell .team-logo,
.brand-page-shell .player-avatar-large {
    border-color: var(--border-strong);
    background: var(--surface-raised);
    box-shadow: none;
}

.brand-page-shell .stat-item,
.brand-page-shell .collective-stat-card,
.brand-page-shell .stat-card-v2,
.brand-page-shell .team-signal-card {
    border-color: var(--border);
    border-radius: var(--radius-md);
    background: #101c25;
    box-shadow: none;
}

.brand-page-shell .stat-value,
.brand-page-shell .collective-stat-value,
.brand-page-shell .stat-card-value {
    color: var(--gold);
}

.brand-page-shell .brand-action-btn,
.brand-page-shell .gold-btn,
.brand-page-shell .primary-button,
.brand-page-shell .btn-primary {
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), #ffb300);
    box-shadow: none;
    color: #171100;
    font-weight: 900;
}

.brand-page-shell .brand-action-btn.subtle,
.brand-page-shell .brand-action-btn:not(.accent) {
    border: 1px solid var(--border-strong);
    background: #0d1821;
    color: #fff;
}

.brand-page-shell .brand-action-btn > span:first-child:not(:last-child) {
    display: none;
}

.brand-page-shell .brand-action-btn:disabled {
    border: 1px solid var(--border) !important;
    background: #121b24 !important;
    color: var(--text-muted) !important;
    opacity: 1;
    cursor: not-allowed;
}

.brand-page-shell .match-scoreboard-card {
    padding: 24px;
}

.brand-page-shell .score-big,
.brand-page-shell .match-scoreboard-score {
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

.brand-page-shell .match-summary-grid {
    gap: 10px;
}

/* Sponsors and footer */
.brand-page-shell .sponsors-strip {
    margin: 18px 0 0;
    padding: 20px 0;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-page-shell .sponsors-strip-header {
    margin-bottom: 12px;
}

.brand-page-shell .sponsors-strip-header h2 {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-page-shell .sponsors-kicker {
    display: none;
}

.brand-page-shell .sponsors-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.brand-page-shell .sponsor-card {
    min-height: 64px;
    padding: 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
    filter: grayscale(1);
    opacity: 0.72;
}

.brand-page-shell .sponsor-card:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: none;
}

.brand-page-shell .sponsor-logo {
    max-height: 46px;
    object-fit: contain;
}

.brand-page-shell .main-footer {
    margin-top: 24px;
    border-top: 1px solid var(--border);
    background: #050d13;
}

.brand-page-shell .footer-bottom {
    border-color: var(--border);
}

/* Responsive behavior */
@media (max-width: 1180px) {
    .brand-page-shell .brand-copy .brand-subcopy {
        display: none;
    }

    .brand-page-shell .brand-nav-link {
        padding-inline: 8px;
        font-size: 0.78rem;
    }

    .header-tournament-host #indexTournamentSelect {
        min-width: 145px;
    }

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

    .brand-page-shell #inicio .hero-signature {
        display: none;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-inner {
        padding-left: 20%;
    }
}

.brand-page-shell #mobileNavigation {
    display: none !important;
}

@media (max-width: 1024px) {
    :root {
        --shell: min(100% - 28px, 1520px);
    }

    .brand-page-shell .brand-nav {
        display: none;
    }

    .brand-tools {
        margin-left: auto;
    }

    .mobile-menu-toggle {
        position: static;
        display: inline-grid !important;
        margin: 0;
    }

    .brand-page-shell .mobile-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -300px;
        z-index: 1301;
        display: block;
        width: min(286px, 84vw);
        height: 100dvh;
        padding: 82px 18px 24px;
        overflow-y: auto;
        border-right: 1px solid var(--border);
        transition: left 180ms ease;
    }

    .brand-page-shell .mobile-menu.active {
        left: 0;
    }

    .brand-page-shell .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 1300;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(0, 0, 0, 0.66);
        transition: opacity 180ms ease, visibility 180ms ease;
    }

    .brand-page-shell .mobile-menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .positions-layout,
    .league-pulse,
    .games-layout,
    .home-dashboard-grid {
        grid-template-columns: 1fr;
    }

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

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

    .brand-page-shell .brand-hero-badge {
        right: 5%;
        opacity: 0.72;
    }

    .brand-page-shell #inicio .hero-side-notes {
        display: none;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-inner {
        padding-left: 9%;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-copy {
        width: min(580px, 66%);
    }
}

@media (max-width: 768px) {
    :root {
        --shell: calc(100% - 22px);
    }

    .brand-page-shell .brand-topbar-inner {
        height: 66px;
        gap: 10px;
        flex-direction: row;
        align-items: center;
    }

    .brand-page-shell .mobile-menu-toggle {
        display: inline-grid !important;
    }

    .brand-page-shell .mobile-menu,
    .brand-page-shell .mobile-menu-overlay {
        display: block !important;
    }

    .brand-page-shell .brand-lockup,
    .brand-page-shell .brand-copy {
        min-width: 0;
    }

    .brand-page-shell .brand-tools {
        flex: 0 0 auto;
    }

    .brand-page-shell .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-page-shell .brand-mark img {
        width: 33px;
        height: 33px;
    }

    .brand-page-shell .brand-name {
        font-size: 0.94rem;
    }

    .brand-page-shell .brand-subcopy,
    .header-search-host,
    .brand-page-shell .brand-admin-link {
        display: none;
    }

    .header-tournament-host #indexTournamentSelect {
        width: 128px;
        min-width: 0;
        max-width: 34vw;
        height: 38px;
        padding-left: 9px;
        font-size: 0.7rem;
    }

    .brand-page-shell .container {
        padding-top: 12px;
    }

    .brand-page-shell .brand-hero,
    .brand-page-shell .brand-hero-inner {
        min-height: 280px;
    }

    .brand-page-shell .brand-hero-inner {
        padding: 30px 24px;
        align-items: flex-end;
        width: 100%;
    }

    .brand-page-shell .brand-hero-copy {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .brand-page-shell .brand-hero-title {
        max-width: 100%;
        font-size: clamp(1.9rem, 9.6vw, 3.2rem);
        overflow-wrap: break-word;
    }

    .brand-page-shell .brand-hero-subtitle {
        max-width: 100%;
        font-size: 0.92rem;
    }

    .brand-page-shell .brand-hero-badge {
        right: -40px;
        top: -40px;
        width: 170px;
        height: 170px;
        opacity: 0.25;
    }

    .brand-page-shell #inicio > .brand-hero {
        min-height: 480px;
        background-image:
            linear-gradient(90deg, rgba(4, 10, 17, 0.91) 0%, rgba(4, 10, 17, 0.72) 58%, rgba(4, 10, 17, 0.43) 100%),
            url('../images/chogui-hero-cinematic.jpg');
        background-position: 65% center;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-inner {
        min-height: 480px;
        padding: 38px 24px;
        align-items: center;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-copy {
        width: min(580px, 100%);
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-title {
        margin-bottom: 16px;
        font-size: clamp(38px, 5.5vw, 44px);
        line-height: 1;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-subtitle {
        max-width: 500px;
        font-size: 16px;
        line-height: 1.5;
    }

    .brand-page-shell #inicio .brand-hero-meta {
        flex-direction: row;
        align-items: flex-start;
    }

    .brand-page-shell #inicio .brand-hero-pill {
        font-size: 0.64rem;
    }

    .brand-page-shell .nav-tabs {
        top: 66px;
        margin-inline: -2px;
        padding: 6px;
    }

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

    .home-kpi,
    .positions-kpi {
        min-height: 88px;
        padding: 12px;
    }

    .home-kpi small,
    .positions-kpi small {
        display: none;
    }

    .pulse-stats,
    .pulse-panel-stack {
        grid-template-columns: 1fr;
    }

    .screen-intro {
        min-height: 136px;
        padding: 24px;
    }

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

    .home-leaders-grid {
        grid-template-columns: 1fr;
    }

    .directory-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .brand-page-shell .sponsors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .brand-page-shell .team-header,
    .brand-page-shell .player-profile-header,
    .brand-page-shell .match-scoreboard-card {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-page-shell .team-logo,
    .brand-page-shell .player-avatar-large {
        margin-inline: auto;
    }

    .brand-page-shell .team-stats-row,
    .brand-page-shell .stats-cards-grid,
    .brand-page-shell .collective-stats-grid,
    .brand-page-shell .match-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-page-shell .page-quicknav {
        top: 72px;
        overflow-x: auto;
    }
}

@media (max-width: 430px) {
    :root {
        --shell: calc(100% - 16px);
    }

    .brand-page-shell .brand-name {
        font-size: 0.82rem;
    }

    .brand-page-shell .header-tournament-host {
        display: none;
    }

    .header-tournament-host #indexTournamentSelect {
        width: 112px;
        max-width: 31vw;
    }

    .home-kpi strong,
    .positions-kpi strong {
        font-size: 1.35rem;
    }

    .kpi-glyph {
        width: 36px;
        height: 36px;
    }

    .brand-page-shell .team-stats-row,
    .brand-page-shell .stats-cards-grid,
    .brand-page-shell .collective-stats-grid,
    .brand-page-shell .match-summary-grid {
        grid-template-columns: 1fr;
    }

    .brand-page-shell #inicio > .brand-hero {
        min-height: 470px;
        background-position: 69% center;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-inner {
        min-height: 470px;
        padding: 32px 22px;
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-title {
        font-size: clamp(34px, 10vw, 40px);
    }

    .brand-page-shell #inicio > .brand-hero .brand-hero-subtitle {
        font-size: 14px;
    }

    .brand-page-shell #inicio .hero-explore-button {
        min-height: 52px;
        margin-top: 22px;
    }
}

/* Partidos: broadcast calendar with real results and responsive game center. */
.brand-page-shell #partidos .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.brand-page-shell #partidos > .games-hero {
    min-height: 180px; margin: 0 0 11px; padding: 36px 24% 30px 18%;
    border: 0; border-radius: 0; overflow: hidden;
    background: linear-gradient(90deg, rgba(5,13,19,.62), rgba(5,13,19,.28)), url('/images/chogui-hero-cinematic.jpg') center 51% / cover no-repeat;
}
.brand-page-shell #partidos .games-hero .screen-title { margin: 0 0 7px; color: #fff; font-size: clamp(2rem,3.2vw,3rem); line-height: 1.1; text-shadow: 0 2px 10px #000; }
.brand-page-shell #partidos .games-hero .screen-copy { max-width: 620px; color: #e0e4e8; font-size: clamp(.85rem,1.1vw,1rem); }
.brand-page-shell #partidos .games-legacy-data,
.brand-page-shell #partidos #gamesSide > #proximos-partidos { display: none; }
.brand-page-shell #partidos .game-filter-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; padding: 10px; overflow: visible; background: #15212b; }
.brand-page-shell #partidos .game-filter-status,
.brand-page-shell #partidos .game-filter-options { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.brand-page-shell #partidos .game-filter { min-height: 38px; padding: 8px 13px; border-radius: 8px; background: #18252f; color: #eef1f4; font-size: .77rem; }
.brand-page-shell #partidos .game-filter.active { background: var(--gold); color: #171100; }
.brand-page-shell #partidos .game-filter-options select,
.brand-page-shell #partidos .games-date-range { min-height: 38px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: #111c25; color: #eef1f4; font: inherit; font-size: .74rem; }
.brand-page-shell #partidos .game-filter-options select { max-width: 180px; }
.brand-page-shell #partidos .game-filter-options select[hidden] { display: none; }
.brand-page-shell #partidos .games-date-range { display: flex; align-items: center; gap: 5px; }
.brand-page-shell #partidos .games-date-range label { color: #aeb9c2; }
.brand-page-shell #partidos .games-date-range input { width: 118px; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; color-scheme: dark; }
.brand-page-shell #partidos .games-layout { grid-template-columns: minmax(0,1.85fr) minmax(290px,.95fr); align-items: start; gap: 12px; }
.brand-page-shell #partidos .games-main,
.brand-page-shell #partidos .games-side { min-width: 0; }
.brand-page-shell #partidos .games-by-date,
.brand-page-shell #partidos #gamesSideContent { display: grid; gap: 11px; }
.brand-page-shell #partidos .games-day,
.brand-page-shell #partidos .games-side-panel { min-width: 0; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: #15212b; }
.brand-page-shell #partidos .games-day-head,
.brand-page-shell #partidos .games-side-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; padding: 0 4px 8px; }
.brand-page-shell #partidos .games-day-head h2,
.brand-page-shell #partidos .games-side-head h3 { margin: 0; color: #fff; font-size: .96rem; line-height: 1.2; }
.brand-page-shell #partidos .games-day-head h2::first-letter { text-transform: uppercase; }
.brand-page-shell #partidos .games-day-head > span { flex: none; color: #9aa9b4; font-size: .7rem; }
.brand-page-shell #partidos .games-side-head a { color: var(--gold); font-size: .65rem; text-decoration: none; white-space: nowrap; }
.brand-page-shell #partidos .games-day-list { display: grid; gap: 6px; }
.brand-page-shell #partidos .games-match { display: grid; grid-template-columns: 128px minmax(0,1fr) 112px; align-items: center; gap: 9px; min-height: 90px; padding: 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; background: #17242e; }
.brand-page-shell #partidos .games-match.is-live { border-color: var(--gold); }
.brand-page-shell #partidos .games-match-meta { display: grid; justify-items: start; gap: 2px; min-width: 0; color: #aab5bc; font-size: .67rem; }
.brand-page-shell #partidos .games-match-meta > strong { color: #fff; font-size: .81rem; }
.brand-page-shell #partidos .games-match-meta > span { overflow-wrap: anywhere; }
.brand-page-shell #partidos .games-state { display: inline-block; padding: 3px 7px; border-radius: 7px; background: #294962; color: #dcecf8; font-size: .57rem; font-weight: 900; letter-spacing: .03em; white-space: nowrap; }
.brand-page-shell #partidos .games-state.en_vivo { background: #bd333b; color: #fff; }
.brand-page-shell #partidos .games-state.proximo { background: #1b4939; color: #d5ffe5; }
.brand-page-shell #partidos .games-match-center { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 6px; min-width: 0; text-align: center; }
.brand-page-shell #partidos .games-competitor { display: grid; justify-items: center; gap: 1px; min-width: 0; }
.brand-page-shell #partidos .games-team-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-page-shell #partidos .games-competitor strong { overflow: hidden; max-width: 100%; color: #fff; font-size: .69rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.brand-page-shell #partidos .games-competitor small { color: #aeb9c2; font-size: .62rem; }
.brand-page-shell #partidos .games-score strong { display: block; color: #fff; font-size: clamp(1.1rem,2vw,1.8rem); white-space: nowrap; }
.brand-page-shell #partidos .games-score strong span { color: #aeb6bc; }
.brand-page-shell #partidos .games-score .games-vs { font-size: .95rem; }
.brand-page-shell #partidos .games-score small { color: #c3cbd0; font-size: .61rem; }
.brand-page-shell #partidos .games-detail { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 34px; padding: 5px 8px; border: 1px solid #51636e; border-radius: 7px; color: #fff; text-decoration: none; text-align: center; font-size: .67rem; font-weight: 800; }
.brand-page-shell #partidos .games-detail.primary { border-color: var(--gold); background: var(--gold); color: #191300; }
.brand-page-shell #partidos .games-detail:hover { border-color: var(--gold); }
.brand-page-shell #partidos .games-side-panel { padding: 10px; }
.brand-page-shell #partidos .games-featured { padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #182630; text-align: center; }
.brand-page-shell #partidos .games-featured p { margin: 0 0 9px; color: #cad2d8; font-size: .68rem; }
.brand-page-shell #partidos .games-featured-match { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 4px; }
.brand-page-shell #partidos .games-featured-match > div { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.brand-page-shell #partidos .games-featured-match strong { overflow-wrap: anywhere; color: #fff; font-size: .68rem; }
.brand-page-shell #partidos .games-featured-match > b { color: #fff; font-size: 1.5rem; white-space: nowrap; }
.brand-page-shell #partidos .games-featured-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-page-shell #partidos .games-featured .games-detail { margin-top: 10px; }
.brand-page-shell #partidos .games-mini-table { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.brand-page-shell #partidos .games-mini-head,
.brand-page-shell #partidos .games-mini-table > a { display: grid; grid-template-columns: 20px minmax(0,1fr) 24px 24px 40px; align-items: center; gap: 4px; min-height: 28px; padding: 3px 8px; border-bottom: 1px solid var(--border); color: #fff; font-size: .66rem; text-decoration: none; }
.brand-page-shell #partidos .games-mini-head { color: #aab5bd; font-size: .58rem; }
.brand-page-shell #partidos .games-mini-table > a:last-child { border-bottom: 0; }
.brand-page-shell #partidos .games-mini-table > a > span:nth-child(2) { display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.brand-page-shell #partidos .games-mini-logo { width: 22px; height: 22px; flex: none; object-fit: contain; }
.brand-page-shell #partidos .games-week-item { display: flex; gap: 9px; min-height: 34px; align-items: center; padding: 4px 7px; border: 1px solid var(--border); border-radius: 6px; color: #fff; text-decoration: none; font-size: .7rem; }
.brand-page-shell #partidos .games-week-item + .games-week-item { margin-top: 4px; }
.brand-page-shell #partidos .games-week-item time { min-width: 45px; color: var(--gold); font-weight: 900; text-transform: uppercase; }
.brand-page-shell #partidos .games-empty { padding: 20px 12px; color: #aeb9c2; font-size: .78rem; text-align: center; }
@media (max-width: 1100px) { .brand-page-shell #partidos .games-layout { grid-template-columns: minmax(0,1fr); } .brand-page-shell #partidos #gamesSideContent { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 768px) { .brand-page-shell #partidos > .games-hero { min-height: 225px; padding: 35px 26% 30px 9%; background-position: 63% center; } .brand-page-shell #partidos .game-filter-options { width: 100%; } }
@media (max-width: 580px) { .brand-page-shell #partidos > .games-hero { min-height: 250px; padding: 32px 17px; background-position: 68% center; } .brand-page-shell #partidos .games-hero .screen-title { font-size: 2rem; } .brand-page-shell #partidos .game-filter-status { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); } .brand-page-shell #partidos .game-filter { white-space: normal; } .brand-page-shell #partidos .game-filter-options select { flex: 1; max-width: none; } .brand-page-shell #partidos .games-date-range { width: 100%; justify-content: space-between; } .brand-page-shell #partidos .games-date-range input { width: 105px; } .brand-page-shell #partidos #gamesSideContent { grid-template-columns: 1fr; } .brand-page-shell #partidos .games-match { grid-template-columns: minmax(0,1fr); gap: 6px; } .brand-page-shell #partidos .games-match-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; } .brand-page-shell #partidos .games-match-center { padding: 5px 0; } .brand-page-shell #partidos .games-detail { min-height: 40px; } }

/* Posiciones: same broadcast composition as the approved league screen. */
.brand-page-shell #posiciones > .positions-hero {
    position: relative;
    min-height: 190px;
    margin: 0 0 10px;
    padding: 38px 25% 32px 18%;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(5, 13, 19, .58), rgba(5, 13, 19, .3)), url('/images/chogui-hero-cinematic.jpg') center 51% / cover no-repeat;
}
.brand-page-shell #posiciones .positions-hero .screen-title {
    position: relative;
    z-index: 1;
    margin: 0 0 3px;
    color: #fff;
    font-size: clamp(2rem, 3.15vw, 3rem);
    line-height: 1.08;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.brand-page-shell #posiciones .positions-hero-line {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #f1f3f5;
    font-size: clamp(.95rem, 1.35vw, 1.25rem);
}
.brand-page-shell #posiciones .positions-hero .screen-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 3px 0 0;
    color: #d9dfe3;
    font-size: .88rem;
}
.brand-page-shell #posiciones .positions-hero-signature {
    position: absolute;
    right: 32%;
    top: 32%;
    color: #fff;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1;
    text-align: center;
    transform: rotate(-8deg);
    text-shadow: 0 2px 8px #000;
}
.brand-page-shell #posiciones .positions-hero-signature::after {
    content: '';
    display: block;
    width: 80%;
    height: 2px;
    margin: 10px auto 0;
    background: var(--gold);
}
.brand-page-shell #posiciones .positions-kpi-grid { gap: 11px; margin: 0 0 11px; }
.brand-page-shell #posiciones .positions-kpi {
    min-width: 0;
    min-height: 70px;
    padding: 10px 14px;
    gap: 12px;
    border-radius: 9px;
    background: #17232c;
}
.brand-page-shell #posiciones .positions-kpi .kpi-glyph {
    width: 60px;
    height: 42px;
    border-right: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
}
.brand-page-shell #posiciones .positions-kpi .kpi-glyph svg { width: 25px; height: 25px; stroke-width: 2.2; }
.brand-page-shell #posiciones .positions-kpi strong { font-size: 1.55rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-page-shell #posiciones .positions-kpi span { font-size: .77rem; }
.brand-page-shell #posiciones .positions-kpi small { max-width: 95px; font-size: .66rem; }
.brand-page-shell #posiciones .positions-layout { grid-template-columns: minmax(0, 1.53fr) minmax(390px, 1fr); gap: 11px; align-items: start; }
.brand-page-shell #posiciones #tablaPosiciones,
.brand-page-shell #posiciones #playoffRaceHome,
.brand-page-shell #posiciones .positions-next-panel {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: #17232c;
    box-shadow: none;
}
.brand-page-shell #posiciones #tablaPosiciones { min-height: 510px; }
.brand-page-shell #posiciones .positions-panel-title,
.brand-page-shell #posiciones .playoff-race-header h4,
.brand-page-shell #posiciones .positions-next-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 9px;
    font-size: 1rem;
    color: #fff;
    text-shadow: none;
}
.brand-page-shell #posiciones .positions-panel-title svg { width: 22px; height: 22px; fill: var(--gold); }
.brand-page-shell #posiciones #tablaPosiciones .table-container {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    background: #101c25;
}
.brand-page-shell #posiciones .standings-table { width: 100%; min-width: 650px; table-layout: auto; }
.brand-page-shell #posiciones .standings-table th {
    padding: 8px 6px;
    border-bottom: 1px solid var(--border);
    background: #101c25;
    color: #d1d9df;
    font-size: .64rem;
    font-weight: 800;
    text-shadow: none;
}
.brand-page-shell #posiciones .standings-table td {
    height: 39px;
    padding: 4px 6px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: transparent;
    font-size: .73rem;
    text-align: center;
}
.brand-page-shell #posiciones .standings-table td:nth-child(2),
.brand-page-shell #posiciones .standings-table th:nth-child(2) { text-align: left; }
.brand-page-shell #posiciones .standings-table tbody tr { background: #13212a; }
.brand-page-shell #posiciones .standings-table tbody tr:hover td { background: rgba(255,255,255,.035); }
.brand-page-shell #posiciones .standings-table tr.standings-tier-gold td:first-child { border-left-color: #3ccf78; }
.brand-page-shell #posiciones .standings-table tr.standings-tier-green td:first-child { border-left-color: var(--gold); }
.brand-page-shell #posiciones .standings-table tr.standings-tier-neutral td:first-child { border-left-color: var(--danger); }
.brand-page-shell #posiciones .standings-table tr.standings-cutoff-row td { border-bottom: 1px dashed var(--gold); }
.brand-page-shell #posiciones .standings-pos-badge { width: 24px; height: 24px; border: 0; border-radius: 5px; background: transparent; box-shadow: none; color: #fff; font-size: .86rem; }
.brand-page-shell #posiciones .standings-team-cell { display: flex; align-items: center; gap: 6px; min-width: 0; color: #fff; text-decoration: none; }
.brand-page-shell #posiciones .standings-team-mark { width: 29px; height: 29px; flex: 0 0 auto; border: 0; background: transparent; }
.brand-page-shell #posiciones .standings-team-mark img { width: 29px; height: 29px; object-fit: contain; }
.brand-page-shell #posiciones .standings-team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; font-weight: 800; }
.brand-page-shell #posiciones .standings-table .standings-diff-positive { color: #3ccf78; }
.brand-page-shell #posiciones .standings-table .standings-diff-negative { color: #ef5350; }
.brand-page-shell #posiciones .positions-form { display: flex; justify-content: center; gap: 3px; }
.brand-page-shell #posiciones .positions-form-dot { width: 19px; height: 19px; border-radius: 50%; display: inline-grid; place-items: center; color: white; font-size: .61rem; font-weight: 900; }
.brand-page-shell #posiciones .positions-form-dot.win { background: #188d55; }
.brand-page-shell #posiciones .positions-form-dot.loss { background: #dc4951; }
.brand-page-shell #posiciones .positions-form-dot.draw { background: #657783; }
.brand-page-shell #posiciones .standings-legend { margin: 8px 0 0; padding: 0; color: var(--text-muted); font-size: .68rem; }
.brand-page-shell #posiciones .standings-legend summary { width: fit-content; cursor: pointer; }
.brand-page-shell #posiciones .standings-legend p { margin: 5px 0 0; }
.brand-page-shell #posiciones #positionsSide { display: grid; gap: 9px; min-width: 0; }
.brand-page-shell #posiciones #playoffRaceHome { padding: 12px; }
.brand-page-shell #posiciones .playoff-race-header { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.brand-page-shell #posiciones .playoff-race-header h4 { margin-bottom: 2px; }
.brand-page-shell #posiciones .playoff-race-header p { margin: 0; color: var(--text-secondary); font-size: .68rem; }
.brand-page-shell #posiciones .playoff-race-meta { flex: 0 0 auto; max-width: 130px; color: var(--gold); font-size: .64rem; text-align: right; }
.brand-page-shell #posiciones .positions-race-content { display: grid; grid-template-columns: minmax(0, 1fr) 124px; gap: 8px; }
.brand-page-shell #posiciones .playoff-race-list { display: grid; gap: 5px; max-height: none; overflow: visible; }
.brand-page-shell #posiciones .positions-race-group { overflow: hidden; border: 1px solid var(--border); border-radius: 7px; background: #13212a; }
.brand-page-shell #posiciones .positions-race-group h5 { margin: 0; padding: 4px 7px; color: var(--gold); font-size: .66rem; }
.brand-page-shell #posiciones .positions-race-group.direct h5 { color: #ffc107; }
.brand-page-shell #posiciones .positions-race-group.outside h5 { color: #ef5350; }
.brand-page-shell #posiciones .positions-race-group h5 small { font-size: .61rem; }
.brand-page-shell #posiciones .positions-race-row { display: grid; grid-template-columns: 20px minmax(0,1fr) 17px 17px 34px 23px; align-items: center; gap: 3px; min-height: 22px; padding: 1px 5px; border-top: 1px solid rgba(255,255,255,.06); color: #e8edf0; font-size: .59rem; text-align: center; text-decoration: none; }
.brand-page-shell #posiciones .positions-race-row:hover { background: rgba(255,255,255,.04); }
.brand-page-shell #posiciones .positions-race-labels { min-height: 18px; color: var(--text-muted); font-size: .52rem; }
.brand-page-shell #posiciones .positions-race-team { display: flex; min-width: 0; align-items: center; gap: 4px; text-align: left; }
.brand-page-shell #posiciones .positions-race-team b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-page-shell #posiciones .positions-race-mark { width: 19px; height: 19px; flex: 0 0 auto; object-fit: contain; }
.brand-page-shell #posiciones .playoff-race-summary { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 8px 4px; border: 1px solid var(--border); border-radius: 7px; background: #101c25; color: var(--text-secondary); font-size: .62rem; text-align: center; }
.brand-page-shell #posiciones .positions-progress-caption { margin-bottom: 12px; color: #e7eaed; font-family: 'Brush Script MT','Segoe Script',cursive; font-size: 1.25rem; font-style: italic; transform: rotate(-7deg); }
.brand-page-shell #posiciones .positions-progress-ring { display: grid; place-items: center; width: 75px; height: 75px; margin-bottom: 8px; border-radius: 50%; background: radial-gradient(closest-side, #101c25 72%, transparent 74%), conic-gradient(var(--gold) var(--progress), #27343e 0); color: #fff; }
.brand-page-shell #posiciones .positions-progress-ring strong { font-size: 1rem; }
.brand-page-shell #posiciones .playoff-race-summary b { display: block; margin-top: 5px; color: var(--gold); font-size: .7rem; }
.brand-page-shell #posiciones .playoff-race-summary small { display: block; margin-top: 4px; color: var(--text-muted); font-size: .56rem; }
.brand-page-shell #posiciones .positions-next-head { display: flex; justify-content: space-between; gap: 8px; }
.brand-page-shell #posiciones .positions-next-head h3 { margin: 0 0 2px; }
.brand-page-shell #posiciones .positions-next-head p { margin: 0 0 7px; color: var(--text-secondary); font-size: .67rem; }
.brand-page-shell #posiciones .positions-next-head button { align-self: start; border: 0; background: transparent; color: var(--gold); font-size: .65rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.brand-page-shell #posiciones .positions-next-list { display: grid; gap: 3px; }
.brand-page-shell #posiciones .positions-next-game { display: grid; grid-template-columns: 54px 90px minmax(0,1fr); align-items: center; gap: 5px; min-height: 40px; padding: 3px 6px; border: 1px solid var(--border); border-radius: 6px; background: #13212a; color: #fff; text-decoration: none; font-size: .61rem; }
.brand-page-shell #posiciones .positions-next-date { color: #f3f5f6; font-weight: 900; text-transform: uppercase; }
.brand-page-shell #posiciones .positions-next-meta { overflow: hidden; color: var(--text-secondary); text-overflow: ellipsis; white-space: nowrap; }
.brand-page-shell #posiciones .positions-next-match { display: flex; align-items: center; justify-content: flex-end; gap: 3px; min-width: 0; }
.brand-page-shell #posiciones .positions-next-match b { overflow: hidden; max-width: 70px; text-overflow: ellipsis; white-space: nowrap; }
.brand-page-shell #posiciones .positions-next-match i { color: var(--gold); font-style: normal; white-space: nowrap; }
.brand-page-shell #posiciones .positions-next-mark { width: 22px; height: 22px; flex: 0 0 auto; object-fit: contain; }

@media (max-width: 1100px) {
    .brand-page-shell #posiciones .positions-layout { grid-template-columns: minmax(0, 1fr); }
    .brand-page-shell #posiciones .positions-layout > div,
    .brand-page-shell #posiciones #positionsSide,
    .brand-page-shell #posiciones .playoff-race-list { min-width: 0; }
    .brand-page-shell #posiciones .positions-race-content { grid-template-columns: minmax(0,1fr) 150px; }
}
@media (max-width: 768px) {
    .brand-page-shell #posiciones > .positions-hero { min-height: 225px; padding: 35px 23% 30px 9%; background-position: 62% center; }
    .brand-page-shell #posiciones .positions-hero-signature { display: none; }
    .brand-page-shell #posiciones .positions-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .brand-page-shell #posiciones .positions-kpi small { display: none; }
}
@media (max-width: 430px) {
    .brand-page-shell #posiciones > .positions-hero { min-height: 265px; padding: 35px 20px; background-position: 68% center; }
    .brand-page-shell #posiciones .positions-hero .screen-title { font-size: 2rem; }
    .brand-page-shell #posiciones .positions-hero-line { font-size: .95rem; }
    .brand-page-shell #posiciones .positions-hero .screen-copy { font-size: .75rem; }
    .brand-page-shell #posiciones .positions-kpi { min-height: 76px; padding: 8px; gap: 6px; }
    .brand-page-shell #posiciones .positions-kpi .kpi-glyph { width: 34px; height: 35px; }
    .brand-page-shell #posiciones .positions-kpi strong { font-size: 1.2rem; }
    .brand-page-shell #posiciones .positions-race-content { grid-template-columns: 1fr; }
    .brand-page-shell #posiciones .positions-race-row { min-height: 27px; grid-template-columns: 22px minmax(0,1fr) 20px 20px 37px 25px; gap: 2px; font-size: .7rem; }
    .brand-page-shell #posiciones .positions-race-labels { min-height: 19px; font-size: .57rem; }
    .brand-page-shell #posiciones .positions-next-game { font-size: .7rem; }
    .brand-page-shell #posiciones .playoff-race-summary { min-height: 128px; }
    .brand-page-shell #posiciones .positions-next-game { grid-template-columns: 46px minmax(0,1fr); }
    .brand-page-shell #posiciones .positions-next-match { grid-column: 1 / -1; justify-content: start; }
}

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

.brand-page-shell #inicio .home-brief-item[hidden] { display: none; }
.brand-page-shell #inicio .home-brief-category {
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: .72rem;
    letter-spacing: .08em;
}
.brand-page-shell #inicio .home-brief-date { opacity: .72; }

@media (max-width: 1180px) {
    .brand-page-shell #inicio .home-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-page-shell #inicio #homeUpcomingSlot { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
    .brand-page-shell #inicio .home-dashboard-grid,
    .brand-page-shell #inicio .home-lower-grid { grid-template-columns: 1fr; }
    .brand-page-shell #inicio #homeUpcomingSlot { grid-column: auto; }
    .brand-page-shell #inicio .home-leaders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
    .brand-page-shell #inicio .home-kpi { padding: 10px; min-height: 86px; }
    .brand-page-shell #inicio .kpi-glyph { width: 38px; height: 38px; }
    .brand-page-shell #inicio .home-kpi strong { font-size: 1.4rem; }
    .brand-page-shell #inicio .home-kpi small { display: none; }
    .brand-page-shell #inicio .home-leaders-grid { grid-template-columns: 1fr; }
    .brand-page-shell #inicio .home-upcoming-game { flex-wrap: wrap; }
    .brand-page-shell #inicio .home-upcoming-match { width: 100%; }
}
