
:root {
    --bg: #080b10;
    --surface: #10151d;
    --surface-2: #151c26;
    --border: rgba(255,255,255,.08);
    --text: #f5f7fa;
    --muted: #8e99a8;
    --accent: #f28c28;
    --accent-dark: #c96f16;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.navbar {
    background: rgba(8,11,16,.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.navbar-brand { font-size: 1.25rem; }
.navbar-brand i { color: var(--accent); margin-right: 7px; }
.nav-link { color: #c7ced8 !important; margin-left: 12px; }
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.nav-link i { margin-right: 5px; }

.btn-search {
    border: 1px solid var(--border);
    color: white;
    border-radius: 10px;
}
.btn-search:hover { background: var(--accent); color: #07110b; }

.hero-section {
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 75% 35%, rgba(242,140,40,.20), transparent 32%),
        radial-gradient(circle at 15% 70%, rgba(242,140,40,.08), transparent 30%),
        #080b10;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: 80px;
    border: 1px solid rgba(242,140,40,.15);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(242,140,40,.025), 0 0 0 140px rgba(242,140,40,.018);
}

.hero-content { z-index: 2; padding-top: 65px; }

.hero-badge, .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 5px rgba(242,140,40,.12);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: .98;
    font-weight: 800;
    margin: 22px 0;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.btn-primary-custom {
    background: var(--accent);
    border: 0;
    color: #171717;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 10px;
}
.btn-primary-custom:hover { background: #ffad55; color: #171717; }

.games-section, .competitions-section { padding: 90px 0; }

.competitions-section {
    background: #0b0f15;
    border-top: 1px solid var(--border);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 32px;
}
.section-heading h2 {
    margin: 7px 0 0;
    font-size: 2rem;
    font-weight: 800;
}
.date-box {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 10px;
    padding: 10px 15px;
    color: var(--muted);
}
.date-box i { color: var(--accent); margin-right: 7px; }

.live-game-card {
    background: linear-gradient(135deg, #111a18, #10151d);
    border: 1px solid rgba(242,140,40,.22);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 48px;
}
.live-header {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--border);
}
.live-header > span:first-child { color: var(--accent); }

.match-content {
    min-height: 240px;
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: center;
    text-align: center;
    padding: 30px;
}
.team-logo {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 2rem;
}
.team h3 { font-size: 1.1rem; font-weight: 700; }

.match-center { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.match-time { font-size: 2rem; font-weight: 800; }
.match-vs, .vs { color: var(--muted); font-size: .72rem; font-weight: 800; }
.subheading { margin-bottom: 20px; }
.subheading h3 { font-size: 1.3rem; font-weight: 800; }

.sport-category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 34px;
    margin-left: -3px;
    margin-right: -3px;
    padding: 6px 3px 9px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.sport-category-button {
    min-width: 150px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.sport-category-button span { margin-right: 7px; }
.sport-category-button:hover { border-color: rgba(242,140,40,.55); transform: translateY(-1px); }
.sport-category-button:focus-visible { outline: 3px solid rgba(242,140,40,.35); outline-offset: 3px; }
.sport-category-button.is-active {
    border-color: var(--accent);
    background: rgba(242,140,40,.12);
    color: var(--accent);
}

.sport-category-panel[hidden] { display: none; }

.event-date-tabs {
    display: flex;
    gap: 9px;
    margin: -2px 0 22px;
    padding: 2px 1px 7px;
    overflow-x: auto;
    scrollbar-width: thin;
}

[data-event-date][hidden] {
    display: none !important;
}

.event-date-button {
    position: relative;
    min-width: 122px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1px 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: #11171d;
    color: #d8dee6;
    font: inherit;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.event-date-button span {
    font-size: .78rem;
    font-weight: 750;
}

.event-date-button small {
    grid-column: 1;
    color: #7f8b98;
    font-size: .7rem;
    font-weight: 600;
}

.event-date-button em {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #929eaa;
    font-size: .68rem;
    font-style: normal;
    font-weight: 800;
}

.event-date-button:hover {
    border-color: rgba(242,140,40,.42);
    transform: translateY(-1px);
}

.event-date-button:focus-visible {
    outline: 3px solid rgba(242,140,40,.28);
    outline-offset: 2px;
}

.event-date-button.is-active {
    border-color: rgba(242,140,40,.72);
    background: rgba(242,140,40,.1);
    color: var(--accent, #f28c28);
}

.event-date-button.is-active small {
    color: #c9a47e;
}

.event-date-button.is-active em {
    background: var(--accent, #f28c28);
    color: #111;
}

.admin-category-tabs { margin-top: 2px; }

.admin-section-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0 24px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(242,140,40,.65) 12%,
        rgba(242,140,40,.65) 88%,
        transparent 100%
    );
}

.users-modal .modal-header {
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
}

.users-modal .modal-body {
    padding: 1.5rem;
}

.users-modal .modal-footer {
    justify-content: flex-end;
    padding: 1rem 1.5rem 1.25rem;
}

.users-table th,
.users-table td {
    padding: .85rem 1.35rem;
}

.users-table th:first-child,
.users-table td:first-child {
    padding-left: 1.5rem;
}

.users-table th:last-child,
.users-table td:last-child {
    padding-right: 1.5rem;
}

@media (max-width: 575.98px) {
    .users-modal .modal-body { padding: 1rem; }
    .users-modal .modal-footer { padding: 1rem; }
    .users-table th,
    .users-table td { padding: .75rem; }
}

/* Final interface corrections: access controls, channels and footer */
.live-channels-section {
    border-top-color: rgba(255,255,255,.075);
    background:
        radial-gradient(circle at 92% 4%, rgba(242,140,40,.045), transparent 24%),
        #090d12;
}

.page-access-settings {
    padding: 16px;
    border: 1px solid rgba(242,140,40,.18);
    border-radius: 14px;
    background: rgba(242,140,40,.035);
}

.page-access-heading {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 15px;
}

.page-access-heading > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 9px;
    background: rgba(242,140,40,.1);
    color: var(--accent);
}

.page-access-heading strong,
.page-access-heading span {
    display: block;
}

.page-access-heading strong {
    color: #f4f6f8;
    font-size: .84rem;
}

.page-access-heading span {
    margin-top: 2px;
    color: #7f8b98;
    font-size: .72rem;
}

.role-access-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.role-access-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    background: #0d131a;
    color: #b4bdc8;
    cursor: pointer;
    font-size: .74rem;
    font-weight: 700;
}

.role-access-option input {
    accent-color: var(--accent);
}

.master-access-note {
    color: #7c8794;
    font-size: .69rem;
}

.master-access-note i {
    margin-right: 4px;
    color: var(--accent);
}

.admin-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.admin-status-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    background: rgba(255,255,255,.025);
    color: #8d98a5;
    font-size: .7rem;
    font-weight: 750;
}

.admin-status-filter span {
    color: #626e7c;
}

.admin-status-filter:hover,
.admin-status-filter.is-active {
    border-color: rgba(242,140,40,.35);
    background: rgba(242,140,40,.09);
    color: #f4f6f8;
}

.admin-status-filter.is-active span {
    color: var(--accent);
}

[data-admin-status-row][hidden] {
    display: none !important;
}

.is-inactive-row {
    opacity: 1;
    background: rgba(255,255,255,.012);
}

.is-inactive-row > td:not(:last-child) {
    opacity: .7;
}

.content-admin-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.content-status-badge,
.content-visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: .61rem;
    font-weight: 800;
    line-height: 1;
}

.content-status-badge.is-active {
    background: rgba(49,201,111,.09);
    color: #42d17f;
}

.content-status-badge.is-inactive {
    background: rgba(148,163,184,.1);
    color: #9aa5b2;
}

.content-visibility-badge {
    background: rgba(242,140,40,.09);
    color: var(--accent);
}

.inactive-delete-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: #9a7680;
    font-size: .65rem;
}

[data-copy-text].is-copied {
    border-color: #35c978;
    color: #35c978;
}

@media (max-width: 767.98px) {
    .channel-country-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -2px;
        margin-left: -2px;
        padding-right: 2px;
        padding-left: 2px;
        scrollbar-width: thin;
    }

    .channel-country-button {
        flex: 0 0 auto;
    }

    .site-footer {
        padding: 24px 16px 18px !important;
    }
}

/* Keep the full administration page and long management dialogs scrollable. */
html:has(body.admin-page),
body.admin-page {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.admin-page .admin-shell,
body.admin-page .admin-shell > .container {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.watch-stream-selector::after {
    background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent);
}

/* Match overview requested for the player page. */
.watch-match-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 205px;
    gap: 12px;
    margin-bottom: 14px;
}

.watch-match-overview .watch-match-summary {
    grid-template-columns: minmax(150px, 1fr) minmax(125px, auto) minmax(150px, 1fr);
    margin: 0;
}

.watch-match-overview .watch-match-league {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(17,23,31,.98), rgba(12,17,23,.98));
    text-align: center;
}

.watch-single-event-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(17,23,31,.98), rgba(12,17,23,.98));
}

.watch-single-event-summary em,
.event-summary [data-event-countdown] {
    color: var(--accent);
    font-size: .72rem;
    font-style: normal;
    font-weight: 850;
}

.event-summary {
    flex-wrap: wrap;
}

.event-summary [data-event-countdown] {
    flex-basis: 100%;
    text-align: center;
}

.live-channel-card .live-dot {
    animation: strm-live-green-pulse 1.5s ease-in-out infinite;
}

@keyframes strm-live-green-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.78); }
}

@media (max-width: 767.98px) {
    .watch-match-overview { grid-template-columns: 1fr; }
    .watch-match-overview .watch-match-summary { grid-template-columns: 1fr 1fr; }
    .watch-match-overview .watch-match-center { grid-column: 1 / -1; grid-row: 2; }
    .watch-single-event-summary { grid-template-columns: 1fr; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .live-channel-card .live-dot { animation: none; }
}

/* 2026 professional layout and analytics */
.hero-section {
    min-height: clamp(430px, 56vw, 540px);
    border-bottom: 1px solid rgba(242,140,40,.1);
    background:
        linear-gradient(105deg, rgba(6,9,13,.98) 0%, rgba(12,13,15,.96) 42%, rgba(39,24,13,.84) 100%),
        radial-gradient(circle at 78% 24%, rgba(242,140,40,.18), transparent 34%),
        #080b10;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 62%, rgba(242,140,40,.025));
    pointer-events: none;
}

.hero-section::after {
    width: 430px;
    height: 430px;
    right: -128px;
    top: 50%;
    transform: translateY(-50%);
    border-color: rgba(242,140,40,.13);
    box-shadow: 0 0 0 64px rgba(242,140,40,.022), 0 0 0 128px rgba(242,140,40,.013);
}

.hero-content {
    padding-top: 54px;
    padding-bottom: 34px;
}

.hero-content h1 {
    max-width: 850px;
    margin: 24px 0 0;
    font-size: clamp(3.15rem, 5.7vw, 5.45rem);
    line-height: .97;
}

.hero-badge {
    padding: 8px 11px;
    border: 1px solid rgba(242,140,40,.12);
    border-radius: 999px;
    background: rgba(242,140,40,.045);
}

.live-channel-card .live-dot {
    background: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(242,140,40,.1) !important;
}

.watch-heading-icon.is-channel-logo {
    flex-basis: 150px;
    width: 150px;
    height: 82px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.watch-heading-icon.is-channel-logo .watch-channel-logo {
    width: 142px;
    height: 76px;
    object-fit: contain;
}

.watch-related-card .watch-related-logo {
    width: 112px;
    height: 62px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.watch-page > .site-footer {
    flex: 0 0 auto;
    width: 100%;
}

.statistics-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 90% 0, rgba(242,140,40,.09), transparent 28%),
        #080b10;
}

.statistics-shell {
    padding: 54px 0 64px;
}

.statistics-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.statistics-heading h1 {
    margin: 7px 0 6px;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 850;
    letter-spacing: -.045em;
}

.statistics-heading p,
.statistics-panel-heading p {
    margin: 0;
    color: #83909f;
}

.statistics-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(242,140,40,.2);
    border-radius: 999px;
    background: rgba(242,140,40,.075);
    color: #aeb8c4;
    font-size: .76rem;
    white-space: nowrap;
}

.statistics-live > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(242,140,40,.1);
}

.statistics-live strong { color: var(--accent); }

.statistics-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.statistics-card,
.statistics-panel {
    border: 1px solid rgba(255,255,255,.085);
    background: linear-gradient(155deg, rgba(18,25,34,.98), rgba(12,17,23,.98));
    box-shadow: 0 18px 52px rgba(0,0,0,.18);
}

.statistics-card {
    min-height: 158px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 17px;
}

.statistics-card > i {
    margin-bottom: auto;
    color: var(--accent);
    font-size: 1.15rem;
}

.statistics-card > span {
    margin-top: 22px;
    color: #84909d;
    font-size: .72rem;
    font-weight: 750;
}

.statistics-card > strong {
    margin-top: 3px;
    color: #f5f7fa;
    font-size: 1.75rem;
    line-height: 1;
}

.statistics-card > small {
    margin-top: 7px;
    color: #687483;
    font-size: .65rem;
}

.statistics-panel {
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 20px;
}

.statistics-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 21px 24px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.statistics-panel-heading h2 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
}

.statistics-panel-heading p { font-size: .72rem; }

.statistics-chart {
    height: 260px;
    display: grid;
    grid-template-columns: repeat(14, minmax(22px, 1fr));
    align-items: end;
    gap: 10px;
    padding: 34px 24px 20px;
}

.statistics-chart-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.statistics-chart-value,
.statistics-chart-column small {
    color: #778392;
    font-size: .61rem;
}

.statistics-chart-bar {
    width: min(100%, 34px);
    min-height: 4px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, #ffad55, var(--accent-dark));
    box-shadow: 0 5px 18px rgba(242,140,40,.12);
}

.statistics-table { --bs-table-bg: transparent; --bs-table-color: #dbe0e6; }
.statistics-table th,
.statistics-table td {
    padding: 13px 18px;
    border-color: rgba(255,255,255,.065);
    vertical-align: middle;
    font-size: .75rem;
}
.statistics-table th {
    color: #818d9b;
    font-size: .65rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.statistics-type {
    display: inline-flex;
    padding: 4px 8px;
    border: 1px solid rgba(242,140,40,.14);
    border-radius: 999px;
    background: rgba(242,140,40,.06);
    color: #d99a5c;
    font-size: .62rem;
}
.statistics-empty { padding: 30px !important; color: #778392 !important; text-align: center; }
.statistics-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0 0;
    color: #687483;
    font-size: .7rem;
    text-align: center;
}
.statistics-privacy i { color: var(--accent); }

@media (max-width: 991.98px) {
    .statistics-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statistics-chart { gap: 6px; overflow-x: auto; }
    .statistics-chart-column { min-width: 30px; }
}

@media (max-width: 767.98px) {
    .hero-section { min-height: 440px; }
    .hero-section::after { right: -270px; }
    .hero-content { padding-top: 76px; }
    .hero-content h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
    .watch-heading-icon.is-channel-logo { flex-basis: 112px; width: 112px; height: 66px; }
    .watch-heading-icon.is-channel-logo .watch-channel-logo { width: 108px; height: 62px; }
    .statistics-shell { padding: 34px 0 48px; }
    .statistics-heading { align-items: flex-start; flex-direction: column; }
    .statistics-cards { grid-template-columns: 1fr; }
    .statistics-card { min-height: 132px; }
    .statistics-chart { padding-right: 16px; padding-left: 16px; }
}

/* Watch player surface correction */
.watch-player-card {
    overflow: visible;
    border-radius: 0 !important;
}

.watch-player-wrap {
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none !important;
}

.watch-player-wrap iframe {
    border-radius: 0 !important;
}

.watch-page {
    background: #070a0f;
}

.watch-player-card .stream-language-switch {
    background: linear-gradient(155deg, rgba(17,23,31,.98), rgba(12,17,23,.98));
}

/* The external Nossoplayer page leaves an internal right gutter. */
.watch-player-card {
    background: transparent;
    box-shadow: none;
}

.watch-player-wrap {
    overflow: hidden;
    border: 0 !important;
}

@media (max-width: 767.98px) {
    .watch-player-card,
    .watch-player-wrap,
    .watch-player-wrap iframe {
        border-radius: 16px !important;
    }

}

/* 2026 public browsing and watch experience */
.sport-icon {
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
    object-fit: contain;
    vertical-align: -.16em;
}

.sport-category-button .sport-icon,
.games-content-panel .subheading .sport-icon,
.event-icon .sport-icon {
    width: 20px;
    height: 20px;
}

.content-section-icon.is-live {
    border-color: rgba(242,140,40,.22);
}

.content-count-badge.is-live {
    border-color: rgba(242,140,40,.18);
}

.live-channels-panel {
    position: relative;
    overflow: hidden;
    padding-top: 22px;
}

.games-content-panel::before,
.live-channels-panel::before {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242,140,40,.72), transparent);
    content: '';
}

.channel-country-tabs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    margin: 0 -2px 24px;
    padding: 2px 2px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    scrollbar-width: thin;
}

[data-channel-country][hidden],
[data-event-date][hidden] {
    display: none !important;
}

.channel-country-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: #111720;
    color: #aeb7c2;
    font-size: .76rem;
    font-weight: 750;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.channel-country-button > span {
    min-width: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #788493;
    font-size: .65rem;
}

.channel-country-button:hover,
.channel-country-button:focus-visible,
.channel-country-button.is-active {
    border-color: rgba(242,140,40,.42);
    background: rgba(242,140,40,.1);
    color: #fff;
}

.channel-country-button.is-active > span {
    background: rgba(242,140,40,.16);
    color: var(--accent);
}

.live-channel-card {
    min-height: 274px;
    padding-top: 49px;
}

.channel-country {
    position: absolute;
    top: 14px;
    left: 15px;
    justify-content: flex-start;
    max-width: calc(100% - 105px);
    overflow: hidden;
    color: #9aa5b2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-logo-stage {
    width: 132px;
    height: 92px;
    margin: 9px auto 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.channel-logo-stage .channel-logo-image {
    width: 118px;
    height: 82px;
    max-width: 118px;
    max-height: 82px;
}

.admin-online-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    color: #8995a3;
    font-size: .72rem;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

a.admin-online-status:hover,
a.admin-online-status:focus-visible {
    border-color: rgba(242,140,40,.55);
    background: rgba(242,140,40,.1);
    color: var(--accent);
}

.admin-online-status strong {
    color: #f4f6f8;
}

.admin-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #31c96f;
    box-shadow: 0 0 0 4px rgba(49,201,111,.1);
}

.site-footer {
    padding-bottom: 25px;
}

/* Watch pages */
.watch-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 72% -15%, rgba(242,140,40,.14), transparent 34%),
        #070a0f;
    color: #f4f6f8;
}

.watch-brand,
.watch-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f7f8fa;
    font-weight: 800;
    text-decoration: none;
}

.watch-brand i {
    color: var(--accent);
}

.watch-back {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    color: #a8b2bf;
    font-size: .76rem;
}

.watch-brand:hover,
.watch-back:hover {
    color: var(--accent);
}

.watch-language {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4f5b68;
    font-size: .72rem;
    font-weight: 800;
}

.watch-language a {
    color: #8894a2;
    text-decoration: none;
}

.watch-language a:hover,
.watch-language a.is-active {
    color: var(--accent);
}

.watch-shell {
    flex: 1;
    padding: 58px 0 82px;
}

.watch-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 24px;
}

.watch-heading-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,140,40,.22);
    border-radius: 17px;
    background: rgba(242,140,40,.085);
    color: var(--accent);
    font-size: 1.45rem;
}

.watch-heading-icon .sport-icon {
    width: 27px;
    height: 27px;
}

.watch-channel-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.watch-heading h1 {
    margin: 4px 0 4px;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    font-weight: 850;
    letter-spacing: -.035em;
}

.watch-heading p {
    margin: 0;
    color: #84909f;
    font-size: .86rem;
}

.watch-player-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: #0d1219;
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
}

.watch-player-wrap {
    background: #030507;
}

.watch-player-wrap iframe {
    position: absolute;
    inset: 0;
    height: 100%;
    border: 0;
}

.watch-pending {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 12px;
    color: #96a1ae;
    text-align: center;
}

.watch-pending i {
    color: var(--accent);
    font-size: 2rem;
}

.stream-language-switch {
    display: flex;
    gap: 9px;
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,.075);
}

.stream-language-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: #111720;
    color: #9ca7b4;
    font-size: .75rem;
    font-weight: 750;
}

.stream-language-button:hover,
.stream-language-button.is-active {
    border-color: rgba(242,140,40,.42);
    background: rgba(242,140,40,.1);
    color: var(--accent);
}

.watch-match-summary {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: rgba(15,20,27,.76);
}

.watch-team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.watch-team img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.watch-team i {
    color: var(--accent);
    font-size: 1.7rem;
}

.watch-vs {
    color: #687483;
    font-size: .72rem;
    font-weight: 850;
}

.watch-related {
    margin-top: 58px;
}

.watch-related-heading {
    margin-bottom: 18px;
}

.watch-related-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
}

.watch-related-card {
    position: relative;
    width: 100%;
    min-height: 185px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 17px;
    background: linear-gradient(150deg, #121923, #0d1218);
    color: #f3f5f7;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.watch-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(242,140,40,.32);
    color: #fff;
}

.watch-related-card > .sport-icon,
.watch-related-card > i {
    width: 27px;
    height: 27px;
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 1.45rem;
}

.watch-related-logo {
    width: 72px;
    height: 48px;
    margin-bottom: 14px;
    object-fit: contain;
}

.watch-related-card strong {
    margin-bottom: 4px;
    font-size: .9rem;
}

.watch-related-card > span {
    color: #7d8997;
    font-size: .72rem;
}

.watch-related-card em {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--accent);
    font-size: .7rem;
    font-style: normal;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .watch-shell {
        padding: 38px 0 58px;
    }

    .watch-back {
        width: 38px;
        justify-content: center;
        padding: 0;
        font-size: 0;
    }

    .watch-back i {
        font-size: .9rem;
    }

    .watch-heading-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .watch-match-summary {
        gap: 10px;
        padding: 17px 12px;
    }

    .watch-team {
        flex-direction: column;
        gap: 7px;
        text-align: center;
        font-size: .78rem;
    }

    .watch-team img {
        width: 36px;
        height: 36px;
    }

    .stream-language-switch {
        overflow-x: auto;
    }

    .admin-online-status {
        max-width: 43px;
        overflow: hidden;
        padding: 0 10px;
    }
}

.event-summary {
    min-height: 131px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 0;
    text-align: center;
}

.event-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-2);
    font-size: 1.35rem;
}

.empty-category-state {
    padding: 32px;
    border: 1px dashed var(--border);
    border-radius: 15px;
    background: rgba(255,255,255,.02);
    color: var(--muted);
}

.required-marker { color: #ff9c3a; }
.required-note { margin: 4px 0 0; color: #adb5bd; font-size: .82rem; }

.game-card {
    height: 100%;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: .25s ease;
}
.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242,140,40,.35);
}
.game-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}
.game-card-top > span:first-child { color: var(--text); font-size: 1rem; }
.competition {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: rgba(255,255,255,.04);
    border-radius: 6px;
}
.competition-logo {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}
.teams {
    display: grid;
    grid-template-columns: 1fr 35px 1fr;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 28px 0;
}
.small-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--accent);
    font-size: 1.25rem;
}
.team-logo-image {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.teams strong { font-size: .88rem; }

.game-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px;
    border-top: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
}
.game-button:hover { color: var(--accent); }

.game-button.is-disabled {
    color: var(--muted);
    cursor: default;
    opacity: .8;
}

.game-button.is-disabled:hover { color: var(--muted); }

.competition-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 25px 20px;
    transition: .25s;
}
.competition-card:hover { border-color: rgba(242,140,40,.35); }
.competition-card i { color: var(--accent); font-size: 1.5rem; }
.competition-card h4 { margin: 14px 0 5px; font-size: 1rem; }
.competition-card span { color: var(--muted); font-size: .8rem; }

.channel-logo-image,
.admin-channel-logo {
    width: 34px;
    height: 34px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

.channel-logo-preview {
    display: block;
    width: 64px;
    height: 64px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: #0b1015;
    object-fit: contain;
}

footer {
    border-top: 1px solid var(--border);
    padding: 35px 0;
    text-align: center;
    color: var(--muted);
}
footer i { color: var(--accent); font-size: 1.4rem; }
footer p { margin: 10px 0 0; font-size: .8rem; }

@media (max-width: 767px) {
    .hero-section { min-height: 560px; }
    .hero-content { padding-top: 75px; }
    .hero-content h1 { font-size: 3rem; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .match-content {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 25px 15px;
    }
    .match-center { order: -1; }
    .live-header { font-size: .68rem; }
    .games-section, .competitions-section { padding: 65px 0; }
    .sport-category-tabs { gap: 9px; margin-bottom: 28px; }
    .sport-category-button { min-width: 132px; padding: 12px 14px; }
}


/* ADMIN LOGIN */
.btn-admin-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(242,140,40,.35);
    border-radius: 9px;
    background: rgba(242,140,40,.08);
    color: #f28c28;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}
.btn-admin-login:hover {
    background: #f28c28;
    border-color: #f28c28;
    color: #171717;
    transform: translateY(-1px);
}


/* STRM dynamic games + admin */
.game-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(31,31,31,.96), rgba(20,20,20,.96));
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,.32);
    border-color: rgba(242,140,40,.45);
}

.game-card-accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--accent, #f28c28);
}

.game-card-body {
    padding: 1.35rem;
}

.sport-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: rgba(242,140,40,.12);
    color: var(--accent, #f28c28);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.match-time {
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
}

.match-time i {
    color: var(--accent, #f28c28);
}

.game-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .55rem;
    color: rgba(255,255,255,.66);
    font-size: .86rem;
}

.game-meta i {
    width: 18px;
    color: var(--accent, #f28c28);
}

.btn-stream {
    border: 0;
    border-radius: 12px;
    background: var(--accent, #f28c28);
    color: #111;
    font-weight: 800;
    padding: .75rem 1rem;
}

.btn-stream:hover {
    background: var(--accent-dark, #c96f16);
    color: #111;
}

.empty-state {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1.2rem 1.35rem;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 16px;
    color: rgba(255,255,255,.58);
    background: rgba(255,255,255,.025);
}

.empty-state i {
    color: var(--accent, #f28c28);
    font-size: 1.15rem;
}

.site-footer {
    padding: 2rem 0;
    color: rgba(255,255,255,.45);
    font-size: .85rem;
}

.admin-shell {
    min-height: 100vh;
    padding: 2rem 0 4rem;
}

.admin-panel {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background: rgba(24,24,24,.92);
    box-shadow: none;
}

.admin-panel .form-label {
    color: rgba(255,255,255,.8);
    font-weight: 700;
}

.admin-panel .form-control,
.admin-panel .form-select {
    border-color: rgba(255,255,255,.1);
    background: #171717;
    color: #fff;
    border-radius: 11px;
}

.admin-panel .form-control:focus,
.admin-panel .form-select:focus {
    border-color: var(--accent, #f28c28);
    box-shadow: 0 0 0 .2rem rgba(242,140,40,.12);
    background: #171717;
    color: #fff;
}

#createGameModal .modal-content {
    max-height: calc(100vh - 2rem);
}

#createGameModal .game-create-form {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}

#createGameModal .game-create-form .modal-body {
    min-height: 0;
    overflow-y: auto;
}

#createGameModal .game-create-form .modal-footer {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    background: #20252a;
}

.admin-table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255,255,255,.82);
    --bs-table-border-color: rgba(255,255,255,.08);
    margin-bottom: 0;
}

.admin-table th {
    color: rgba(255,255,255,.55);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.admin-table td,
.admin-table th {
    vertical-align: middle;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(242,140,40,.1);
    color: var(--accent, #f28c28);
    font-size: .75rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .game-card-body {
        padding: 1.1rem;
    }

    .game-title {
        font-size: 1.08rem;
    }

    .admin-shell {
        padding-top: 1rem;
    }
}

/* =========================================================
   STRM - LOGIN ADMIN
   ========================================================= */

.strm-login-page {
    min-height: 100vh;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(242, 140, 40, .16),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(242, 140, 40, .08),
            transparent 30%
        ),
        #080b10;

    color: var(--text);
}


/* Container */

.strm-login-wrapper {
    width: 100%;
    max-width: 430px;
}


/* Card */

.strm-login-card {
    width: 100%;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(21, 28, 38, .98),
            rgba(16, 21, 29, .98)
        );

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .45);

    position: relative;
    overflow: hidden;
}


/* Linha laranja no topo */

.strm-login-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: var(--accent);
}


/* Header */

.strm-login-header {
    text-align: center;

    margin-bottom: 30px;
}


/* Ícone */

.strm-login-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(242, 140, 40, .10);

    border: 1px solid rgba(242, 140, 40, .25);

    color: var(--accent);

    font-size: 28px;

    box-shadow:
        0 0 30px rgba(242, 140, 40, .08);
}


/* Título */

.strm-login-header h1 {
    margin: 0;

    color: var(--text);

    font-size: 30px;

    font-weight: 800;

    letter-spacing: -.04em;
}


.strm-login-header h1::first-letter {
    color: var(--accent);
}


/* Subtítulo */

.strm-login-header p {
    margin: 7px 0 0;

    color: var(--muted);

    font-size: 14px;
}


/* Labels */

.strm-login-card .form-label {
    margin-bottom: 7px;

    color: rgba(255, 255, 255, .82);

    font-size: 14px;

    font-weight: 700;
}


/* Input wrapper */

.strm-input-group {
    position: relative;
}


/* Ícone do input */

.strm-input-group > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    color: var(--accent);

    pointer-events: none;
}


/* Inputs */

.strm-input-group .form-control {
    min-height: 49px;

    padding-left: 44px;

    border-radius: 11px;

    border: 1px solid rgba(255, 255, 255, .08);

    background: #0d1219;

    color: var(--text);

    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.strm-input-group .form-control::placeholder {
    color: #687383;
}


.strm-input-group .form-control:hover {
    border-color: rgba(255, 255, 255, .14);
}


.strm-input-group .form-control:focus {
    background: #10151d;

    color: var(--text);

    border-color: var(--accent);

    box-shadow:
        0 0 0 .2rem rgba(242, 140, 40, .12);
}


/* Botão */

.strm-login-button {
    min-height: 49px;

    border: 0;

    border-radius: 11px;

    background: var(--accent);

    color: #171717;

    font-size: 14px;

    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.strm-login-button:hover {
    background: #ffad55;

    color: #171717;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(242, 140, 40, .18);
}


.strm-login-button:active {
    transform: translateY(0);

    box-shadow: none;
}

/* Mensagem de erro */

.strm-login-card .alert {
    margin-bottom: 22px;

    border-radius: 11px;

    border: 1px solid rgba(220, 53, 69, .25);

    background: rgba(220, 53, 69, .10);

    color: #ffb3ba;

    font-size: 13px;
}


.strm-login-card .alert i {
    color: #ff6b78;
}


/* =========================================================
   EFEITO RESPONSIVO
   ========================================================= */

@media (max-width: 576px) {

    .strm-login-page {
        padding: 15px;
    }

    .strm-login-card {
        padding: 30px 22px;

        border-radius: 18px;
    }

    .strm-login-icon {
        width: 60px;
        height: 60px;

        margin-bottom: 15px;

        border-radius: 16px;

        font-size: 24px;
    }

    .strm-login-header {
        margin-bottom: 25px;
    }

    .strm-login-header h1 {
        font-size: 26px;
    }

}


@media (max-width: 360px) {

    .strm-login-page {
        padding: 10px;
    }

    .strm-login-card {
        padding: 26px 18px;
    }

    .strm-login-header h1 {
        font-size: 24px;
    }

}

/* =========================
   FOOTER
========================= */

.site-footer {
    width: 100%;
    background: #080c11;
    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 38px 20px 25px;

    text-align: center;
}

.site-footer .container {
    max-width: 900px;
    margin: 0 auto;
}

/* STRM */

/* TEXTO */

.footer-text {
    max-width: 760px;
    margin: 0 auto 2px;
    color: #74808c !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.65;
}

.footer-logo-notice {
    max-width: 760px;
    margin: 0 auto 18px;
    color: #74808c;
    font-size: 12px;
    line-height: 1.65;
}

.footer-logo-notice a {
    color: #9aa6b2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-logo-notice a:hover { color: var(--accent); }

/* LINKS */

.footer-links {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 22px;
}

.site-footer .footer-links a,
.site-footer .footer-links button {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #c9d1d9 !important;

    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit;

    text-decoration: none !important;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;

    transition:
        color .2s ease,
        transform .2s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible,
.site-footer .footer-links a:active,
.site-footer .footer-links button:hover,
.site-footer .footer-links button:focus-visible,
.site-footer .footer-links button:active {
    color: var(--accent) !important;

    text-decoration: none !important;

    transform: translateY(-1px);
}

.footer-links i {
    font-size: 14px;
}

.footer-separator {
    color: #46515c;
}

/* LINHA */

.footer-line {
    width: 100%;
    height: 1px;

    margin: 0 auto 20px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.09),
        transparent
    );
}

/* COPYRIGHT */

.footer-copyright {
    margin: 0 !important;

    color: #65717d !important;

    font-size: 13px !important;
    font-weight: 400 !important;
}

/* MOBILE */

@media (max-width: 576px) {

    .site-footer {
        padding: 30px 18px 22px;
    }

    .footer-text,
    .footer-logo-notice {
        font-size: 12px !important;
    }

    .footer-links {
        gap: 7px;
    }

    .site-footer .footer-links a,
    .site-footer .footer-links button {
        font-size: 13px !important;
    }

    .footer-copyright {
        font-size: 12px !important;
    }
}

.contact-modal .modal-content {
    background: #11161c !important;
    border-color: rgba(255,255,255,.12) !important;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

.contact-modal .modal-header,
.contact-modal .modal-body,
.contact-modal .modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.contact-modal .modal-footer {
    gap: 10px;
}

.contact-modal .modal-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 108px;
    min-height: 46px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-modal .modal-footer .btn-stream {
    min-width: 160px;
}

.contact-modal .modal-footer .btn-outline-light:hover,
.contact-modal .modal-footer .btn-outline-light:focus {
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.45);
}

@media (max-width: 420px) {
    .contact-modal .modal-footer .btn {
        width: auto;
    }
}

.contact-modal-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.contact-modal .form-control {
    color: #fff;
    background: #0b1015;
    border-color: rgba(255,255,255,.14);
}

.contact-modal .form-control:focus {
    color: #fff;
    background: #0b1015;
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(242,140,40,.14);
}

.contact-modal .contact-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-top: .8rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(255,255,255,.11);
    color: #c7cfd8;
    font-size: .84rem;
    line-height: 1.55;
}

.contact-modal .contact-privacy-note > i {
    flex: 0 0 auto;
    margin-top: .08rem;
    color: var(--accent);
    font-size: 1rem;
}

.contact-modal .contact-privacy-note p {
    margin: 0;
}

.contact-modal .contact-privacy-action {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffb66a;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .18em;
    cursor: pointer;
}

.contact-modal .contact-privacy-action:hover,
.contact-modal .contact-privacy-action:focus-visible {
    color: #fff;
}

.contact-modal .contact-privacy-action:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.contact-website-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.turnstile-wrapper {
    width: 100%;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 8px;
    background: #2f2f2f;
}

.turnstile-wrapper .cf-turnstile {
    margin: -1px;
    width: calc(100% + 2px);
}

.turnstile-wrapper iframe {
    display: block;
    clip-path: inset(0 0 3px 0 round 8px);
}

.turnstile-note {
    margin-top: 6px;
    color: #74808c;
    font-size: 11px;
}

.contact-message-list {
    display: grid;
    gap: 12px;
}

.contact-message-item {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.contact-message-item.is-unread {
    border-color: rgba(242,140,40,.42);
    background: rgba(242,140,40,.055);
}

.contact-message-body {
    margin: 12px 0;
    color: #d8dee6;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.contact-message-meta {
    color: #8c98a5;
    font-size: .8rem;
}

.btn-disclaimer:hover {

    background: rgba(255,255,255,0.08);

    border-color: rgba(255,255,255,0.18);
}

.btn-disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 15px;
    border-radius: 10px;

    color: #cbd5df !important;
    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.10);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all .2s ease;
}

.btn-disclaimer:hover {
    color: #ffffff !important;

    background: #31d17c;
    border-color: #31d17c;

    transform: translateY(-1px);

    box-shadow: 0 0 14px rgba(49,209,124,0.25);
}

/* Admin management modals */

.admin-management-modal .modal-dialog {
    max-width: 1060px;
}

.admin-modal-surface {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 20px;
    background: #10151b !important;
    box-shadow: 0 30px 100px rgba(0,0,0,.68);
}

.admin-modal-header {
    align-items: flex-start;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    background:
        radial-gradient(circle at 0 0, rgba(242,140,40,.12), transparent 34%),
        #12181f;
}

.admin-modal-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-modal-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,140,40,.26);
    border-radius: 13px;
    background: rgba(242,140,40,.1);
    color: var(--accent, #f28c28);
    font-size: 1.15rem;
}

.admin-modal-heading .section-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--accent, #f28c28);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.admin-modal-heading .modal-title {
    margin: 0;
    color: #f7f9fb;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.2;
}

.admin-modal-heading p {
    margin: 5px 0 0;
    color: #7f8b98;
    font-size: .86rem;
}

.admin-modal-header .btn-close {
    margin: 2px 0 0 auto;
    padding: 9px;
    border-radius: 9px;
    opacity: .55;
    transition: background .2s ease, opacity .2s ease;
}

.admin-modal-header .btn-close:hover {
    background-color: rgba(255,255,255,.08);
    opacity: 1;
}

.admin-modal-body {
    padding: 1.5rem;
    background: #0d1217;
}

.admin-modal-footer {
    min-height: 74px;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    background: #11171d;
}

.admin-modal-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    margin: 0;
    border-radius: 10px;
    font-size: .86rem;
    font-weight: 700;
}

.admin-modal-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    color: #8c98a5;
    font-size: .84rem;
}

.admin-modal-summary strong {
    display: block;
    margin-bottom: 2px;
    color: #edf1f5;
    font-size: .94rem;
}

.admin-modal-summary .admin-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(242,140,40,.16);
}

.admin-modal-panel {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: #11171d;
}

.admin-modal-panel .admin-modal-summary {
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
    padding: 15px 18px;
    background: rgba(255,255,255,.018);
}

.users-table tbody tr {
    transition: background .18s ease;
}

.users-table tbody tr:hover {
    --bs-table-bg-state: rgba(255,255,255,.025);
}

.admin-user-identity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-user-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,140,40,.2);
    border-radius: 10px;
    background: rgba(242,140,40,.08);
    color: var(--accent, #f28c28);
    font-size: .78rem;
    font-weight: 800;
}

.admin-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: #aeb8c2;
    font-size: .72rem;
    font-weight: 700;
    text-transform: capitalize;
}

.admin-management-modal .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: .78rem;
    font-weight: 650;
}

.contact-message-list {
    gap: 10px;
}

.contact-message-item {
    padding: 0;
    overflow: hidden;
    border-color: rgba(255,255,255,.08);
    border-radius: 14px;
    background: #11171d;
    transition: border-color .2s ease, transform .2s ease;
}

.contact-message-item:hover {
    border-color: rgba(255,255,255,.15);
    transform: translateY(-1px);
}

.contact-message-item.is-unread {
    border-color: rgba(242,140,40,.32);
    background: linear-gradient(90deg, rgba(242,140,40,.075), #11171d 32%);
}

.contact-message-header {
    padding: 15px 16px 12px;
}

.contact-message-body {
    margin: 0;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.1);
    color: #cbd3dc;
    font-size: .9rem;
}

.contact-message-actions {
    padding: 11px 16px;
}

.contact-message-meta a {
    color: #cbd3dc !important;
    text-decoration: none;
}

.contact-message-meta a:hover {
    color: var(--accent, #f28c28) !important;
}

.admin-modal-empty {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #7f8b98;
}

.admin-modal-empty > span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid rgba(242,140,40,.2);
    border-radius: 16px;
    background: rgba(242,140,40,.075);
    color: var(--accent, #f28c28);
    font-size: 1.45rem;
}

.admin-modal-empty strong {
    color: #edf1f5;
}

.admin-modal-empty p {
    margin: 5px 0 0;
    font-size: .85rem;
}

.admin-form-modal .modal-dialog {
    max-width: 540px;
}

#createUserModal .modal-dialog,
#editUserModal .modal-dialog {
    max-width: min(880px, calc(100% - 1.5rem));
}

[data-user-permissions] .role-access-option {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 10px 12px;
    font-size: .82rem;
    line-height: 1.35;
}

[data-user-permissions] .role-access-option input {
    flex: 0 0 auto;
}

[data-user-permissions] .permission-section {
    border-top: 2px solid rgba(242,140,40,.8);
    padding-top: 16px;
}

[data-user-permissions] .permission-section + .permission-section {
    margin-top: 26px;
}

[data-user-permissions] .permission-subheading {
    margin: 12px 0 3px;
    padding: 8px 12px;
    border-left: 3px solid #f28c28;
    background: rgba(242,140,40,.09);
    color: #f5f7fa;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
}

[data-user-permissions] .permission-section .permission-option {
    border-bottom: 2px solid rgba(242,140,40,.32);
    min-height: 54px;
}

.admin-form-modal .form-label {
    color: #cbd3dc;
    font-size: .84rem;
    font-weight: 700;
}

.admin-form-modal .form-control,
.admin-form-modal .form-select {
    min-height: 46px;
    border-color: rgba(255,255,255,.1);
    border-radius: 11px;
    background-color: #090e13;
    color: #f5f7fa;
}

.admin-form-modal .form-control:focus,
.admin-form-modal .form-select:focus {
    border-color: var(--accent, #f28c28);
    background-color: #090e13;
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(242,140,40,.12);
}

.role-permission-guide {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    color: #7f8b98;
    font-size: .73rem;
    line-height: 1.45;
}

.role-permission-guide strong {
    color: #b8c2cc;
}

/* Professional public content sections */
.content-section {
    position: relative;
    padding: 86px 0;
}

.games-browser-section {
    background:
        radial-gradient(circle at 8% 8%, rgba(242,140,40,.055), transparent 27%),
        #090d12;
}

.live-channels-section {
    border-top: 1px solid rgba(255,255,255,.075);
    background:
        radial-gradient(circle at 92% 4%, rgba(34,197,94,.045), transparent 24%),
        #070a0f;
}

.content-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.content-section-heading-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.content-section-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,140,40,.22);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(242,140,40,.15), rgba(242,140,40,.045));
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    font-size: 1.35rem;
}

.content-section-icon.is-live {
    border-color: rgba(34,197,94,.2);
    background: linear-gradient(145deg, rgba(34,197,94,.12), rgba(34,197,94,.035));
    color: #35ce76;
}

.content-section-heading h2 {
    margin: 5px 0 5px;
    color: #f7f8fa;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.content-section-heading p {
    max-width: 680px;
    margin: 0;
    color: #84909f;
    font-size: .92rem;
    line-height: 1.65;
}

.content-count-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(242,140,40,.18);
    border-radius: 999px;
    background: rgba(242,140,40,.075);
    color: #aeb7c2;
    font-size: .76rem;
    font-weight: 700;
}

.content-count-badge strong {
    color: var(--accent);
    font-size: .88rem;
}

.content-count-badge.is-live {
    border-color: rgba(34,197,94,.16);
    background: rgba(34,197,94,.065);
}

.content-count-badge.is-live strong {
    color: #35ce76;
}

.content-panel {
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 24px;
    background: rgba(15,20,27,.68);
    box-shadow: 0 24px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025);
}

.games-content-panel {
    padding: 21px 24px 27px;
}

.games-content-panel .sport-category-tabs {
    margin: 0 -2px 28px;
    padding: 2px 2px 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.games-content-panel .sport-category-panel .subheading {
    display: flex;
    align-items: center;
    min-height: 38px;
    margin-bottom: 18px;
}

.games-content-panel .sport-category-panel .subheading h3 {
    margin: 0;
    font-size: 1.08rem;
}

.games-content-panel .game-card {
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(25,31,40,.98), rgba(14,18,24,.98));
    box-shadow: 0 14px 36px rgba(0,0,0,.18);
}

.games-content-panel .game-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(242,140,40,.8), transparent);
    opacity: .55;
    content: '';
}

.games-content-panel .game-card:hover {
    border-color: rgba(242,140,40,.28);
    box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.live-channels-panel {
    padding: 4px 24px 28px;
}

.live-country-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: #e9edf2;
    font-size: .86rem;
    font-weight: 750;
}

.live-country-divider::after {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,.12), transparent);
    content: '';
}

.live-country-divider > span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.live-country-divider em {
    order: 3;
    color: #697584;
    font-size: .7rem;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.country-flag {
    width: 20px;
    height: 14px;
    margin-right: 7px;
    border-radius: 2px;
    object-fit: cover;
    vertical-align: -2px;
}

.live-channel-card {
    position: relative;
    width: 100%;
    min-height: 294px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 28px 20px 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 25%, rgba(242,140,40,.055), transparent 34%),
        #10161e;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
    text-align: center;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.live-channel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(242,140,40,.3);
    box-shadow: 0 20px 42px rgba(0,0,0,.3);
}

.live-indicator {
    position: absolute;
    top: 14px;
    right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3bd27b;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.live-channel-card .live-dot {
    width: 6px;
    height: 6px;
    background: #28c66b;
    box-shadow: 0 0 0 4px rgba(40,198,107,.1);
    animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .42; }
}

.channel-logo-stage {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    margin: 18px auto 13px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 22px;
    background: rgba(6,10,15,.55);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.channel-logo-stage .channel-logo-image {
    display: block;
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    margin: 0;
}

.channel-logo-stage > i {
    color: var(--accent);
    font-size: 2.2rem;
}

.live-channel-card h3 {
    width: 100%;
    margin: 0 0 7px;
    overflow: hidden;
    color: #f5f7fa;
    font-size: .98rem;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-country {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    color: #84909f;
    font-size: .76rem;
}

.watch-game {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 15px 2px 1px;
    border-top: 1px solid rgba(255,255,255,.075);
    color: #dbe2ea;
    text-decoration: none;
    font-size: .79rem;
    font-weight: 700;
    transition: color .2s ease;
}

.watch-game:hover,
.watch-game:focus-visible {
    color: var(--accent);
}

.watch-game .watch-arrow {
    color: inherit;
    font-size: .92rem;
    transition: transform .2s ease;
}

.watch-game:hover .watch-arrow,
.watch-game:focus-visible .watch-arrow {
    transform: translate(2px, -2px);
}

/* Floating public actions */
.floating-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1035;
    display: flex;
}

.floating-language,
.floating-panel,
.floating-back,
.floating-disclaimer,
.floating-contact {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(13,18,25,.94);
    color: #aeb8c4;
    box-shadow: 0 12px 34px rgba(0,0,0,.35);
    backdrop-filter: blur(15px);
}

.floating-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 46px;
    padding: 0 14px;
    border: 2px solid rgba(242,140,40,.9);
    border-radius: 14px;
    color: #f5f7fa;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 0 0 2px rgba(242,140,40,.1), 0 12px 34px rgba(0,0,0,.35);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.floating-panel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 46px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(242,140,40,.5);
    border-radius: 14px;
    background: rgba(242,140,40,.13);
    color: #ffc27f;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.floating-panel:hover,
.floating-panel:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent);
    color: #11161c;
}

.watch-admin-panel {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(242,140,40,.58);
    border-radius: 12px;
    background: rgba(16,22,29,.94);
    color: #ffc27f;
    font-size: .74rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(0,0,0,.36);
    backdrop-filter: blur(14px);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.watch-admin-panel:hover,
.watch-admin-panel:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent);
    color: #11161c;
}

@media (max-width: 575.98px) {
    .watch-admin-panel { top: 10px; right: 12px; min-height: 40px; padding: 0 11px; }
}

.floating-back i {
    color: var(--accent);
}

.floating-back:hover,
.floating-back:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent);
    color: #11161c;
    box-shadow: 0 0 0 3px rgba(242,140,40,.23), 0 14px 34px rgba(0,0,0,.4);
}

.floating-back:hover i,
.floating-back:focus-visible i {
    color: inherit;
}

.floating-language {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.floating-language > i {
    margin-right: 2px;
    color: var(--accent);
    font-size: .95rem;
}

.floating-language > span {
    color: #4f5b68;
}

.floating-language a {
    color: #8f9aa7;
    text-decoration: none;
}

.floating-language a:hover,
.floating-language a:focus-visible,
.floating-language a.is-active {
    color: var(--accent);
}

.floating-disclaimer,
.floating-contact {
    width: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 14px;
    color: var(--accent);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.floating-disclaimer:hover,
.floating-disclaimer:focus-visible,
.floating-contact:hover,
.floating-contact:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent);
    color: #11161c;
}

/* Compact timed disclaimer */
.site-notice {
    position: fixed;
    right: 22px;
    z-index: 1034;
    width: min(340px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 11px;
    padding: 14px 38px 14px 14px;
    border: 1px solid rgba(242,140,40,.22);
    border-radius: 15px;
    background: rgba(15,20,27,.96);
    box-shadow: 0 18px 50px rgba(0,0,0,.4);
    backdrop-filter: blur(18px);
    animation: noticeEnter .32s ease both;
}

.site-notice.is-leaving {
    pointer-events: none;
    animation: noticeLeave .32s ease both;
}

.site-notice-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(242,140,40,.1);
    color: var(--accent);
}

.site-notice strong {
    display: block;
    margin-bottom: 3px;
    color: #f4f6f8;
    font-size: .82rem;
}

.site-notice p {
    margin: 0 0 8px;
    color: #8c98a6;
    font-size: .7rem;
    line-height: 1.45;
}

.site-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid rgba(242,140,40,.25);
    border-radius: 7px;
    color: var(--accent);
    font-size: .66rem;
    font-weight: 800;
    text-decoration: none;
}

.site-notice-link:hover,
.site-notice-link:focus-visible {
    background: var(--accent);
    color: #11161c;
}

.site-notice-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #697584;
    font-size: .72rem;
}

.site-notice-close:hover,
.site-notice-close:focus-visible {
    background: rgba(255,255,255,.07);
    color: #fff;
}

@keyframes noticeEnter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes noticeLeave {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

/* Sticky admin navigation */
.admin-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 10px 35px rgba(0,0,0,.24);
}

.admin-nav-actions {
    min-width: 0;
}

/* Floating administration actions */
.admin-floating-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1045;
    display: flex;
    justify-content: flex-end;
    max-width: calc(100vw - 32px);
}

.admin-floating-button,
.admin-floating-language {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(13,18,25,.95);
    color: #aeb8c4;
    box-shadow: 0 12px 34px rgba(0,0,0,.35);
    backdrop-filter: blur(15px);
}

.admin-floating-button {
    position: relative;
    width: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    padding: 0;
    text-decoration: none;
    color: var(--accent);
    font-size: 1rem;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.admin-floating-button:hover,
.admin-floating-button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent);
    color: #11161c;
}

.admin-floating-button.is-maintenance-active {
    border-color: rgba(242,140,40,.72);
    background: rgba(71,42,18,.96);
    color: #ff9a36;
}

.admin-floating-status {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 7px;
    height: 7px;
    border: 1px solid #24160b;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(242,140,40,.15);
}

.admin-floating-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #090d12;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1;
}

.admin-floating-language {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 0 14px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.admin-floating-language > i {
    margin-right: 2px;
    color: var(--accent);
    font-size: .95rem;
}

.admin-floating-language > span {
    color: #4f5b68;
}

.admin-floating-language a {
    color: #8f9aa7;
    text-decoration: none;
}

.admin-floating-language a:hover,
.admin-floating-language a:focus-visible,
.admin-floating-language a.is-active {
    color: var(--accent);
}

.admin-shell {
    padding-bottom: 6rem;
}

.statistics-modal .modal-dialog {
    width: min(1320px, calc(100vw - 32px));
    max-width: 1320px;
    height: min(880px, calc(100vh - 36px));
    margin: 18px auto;
}

.statistics-modal .modal-content {
    height: 100%;
    overflow: hidden;
}

.statistics-modal .modal-body {
    min-height: 0;
    overflow: hidden;
}

.statistics-modal-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    border: 0;
    background: #080b10;
}

.statistics-embedded,
.statistics-embedded .statistics-shell,
.statistics-embedded .statistics-shell > .container {
    min-height: 100%;
    background: #080b10 !important;
}

.statistics-shell-embedded {
    padding: 24px 0 32px;
}

.maintenance-modal-actions {
    align-items: stretch;
    gap: 10px;
}

.maintenance-modal-actions form {
    display: flex;
    margin: 0;
}

.maintenance-modal-actions .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 750;
    line-height: 1.1;
}

.site-footer {
    padding-bottom: 92px;
}

@media (prefers-reduced-motion: reduce) {
    .site-notice,
    .site-notice.is-leaving,
    .live-channel-card .live-dot {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .content-section {
        padding: 58px 0;
    }

    .content-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .content-section-heading-main {
        align-items: flex-start;
        gap: 12px;
    }

    .content-section-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        border-radius: 13px;
        font-size: 1rem;
    }

    .content-section-heading h2 {
        font-size: 1.65rem;
    }

    .content-section-heading p {
        font-size: .82rem;
    }

    .games-content-panel,
    .live-channels-panel {
        padding-left: 14px;
        padding-right: 14px;
        border-radius: 18px;
    }

    .live-channel-card {
        min-height: 280px;
    }

    .floating-actions {
        right: 12px;
        bottom: 12px;
    }

    .watch-page .floating-back {
        width: 46px;
        padding: 0;
        justify-content: center;
    }

    .watch-page .floating-back span {
        display: none;
    }

    .strm-login-page .floating-back {
        width: 46px;
        padding: 0;
        justify-content: center;
    }

    .strm-login-page .floating-back span {
        display: none;
    }

    .site-notice {
        right: 12px;
        bottom: 70px;
        width: calc(100vw - 24px);
    }

    .admin-sticky-nav .container {
        flex-wrap: nowrap;
    }

    .admin-sticky-nav .navbar-brand {
        flex: 0 0 auto;
        margin-right: 8px;
    }

    .admin-nav-actions {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 3px 2px 6px;
        scrollbar-width: thin;
    }

    .admin-nav-actions .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-floating-actions {
        right: 12px;
        bottom: 12px;
        gap: 6px;
    }

    .admin-floating-button,
    .admin-floating-language {
        min-height: 42px;
        border-radius: 12px;
    }

    .admin-floating-button {
        width: 42px;
        flex-basis: 42px;
    }

    .admin-floating-language {
        padding: 0 10px;
    }

    .statistics-modal .modal-dialog {
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        margin: 8px auto;
    }

    .statistics-modal-frame {
        min-height: 520px;
    }

    .statistics-shell-embedded {
        padding: 16px 0 24px;
    }

    .maintenance-modal-actions {
        flex-wrap: nowrap;
    }

    .maintenance-modal-actions > .btn,
    .maintenance-modal-actions form,
    .maintenance-modal-actions form .btn {
        flex: 1 1 0;
    }

    .admin-modal-header,
    .admin-modal-body,
    .admin-modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .admin-modal-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .admin-modal-heading .modal-title {
        font-size: 1.12rem;
    }

    .admin-modal-heading p {
        display: none;
    }

    .admin-modal-summary {
        align-items: flex-start;
    }

    .users-table th,
    .users-table td {
        padding: .75rem;
    }

    .contact-message-actions {
        justify-content: flex-start !important;
    }
}

/* Final cascade overrides — keep at end of file. */
.watch-heading {
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(242,140,40,.3);
}

.watch-related {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(242,140,40,.3);
}

.watch-page {
    background: #070a0f !important;
}

.watch-shell,
.watch-shell > .container {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.watch-player-card,
.watch-player-wrap {
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.watch-player-wrap iframe {
    width: 100%;
    max-width: none;
    box-shadow: none !important;
}

@media (max-width: 767.98px) {
    .watch-player-card,
    .watch-player-wrap,
    .watch-player-wrap iframe {
        border-radius: 16px !important;
    }

}

.live-channels-section {
    background: radial-gradient(circle at 92% 4%, rgba(242,140,40,.045), transparent 24%), #090d12;
}

.content-section-icon.is-live {
    border-color: rgba(242,140,40,.24);
    background: linear-gradient(145deg, rgba(242,140,40,.15), rgba(242,140,40,.045));
    color: var(--accent);
}

.content-count-badge.is-live {
    border-color: rgba(242,140,40,.2);
    background: rgba(242,140,40,.075);
}

.content-count-badge.is-live strong {
    color: var(--accent);
}

.content-panel,
.games-content-panel,
.live-channels-panel {
    border-color: rgba(255,255,255,.085);
    background: linear-gradient(155deg, rgba(17,23,31,.96), rgba(12,17,23,.96));
    box-shadow: 0 18px 52px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025);
}

.live-channels-panel {
    padding: 26px 24px 28px !important;
}

.channel-country-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.channel-country-button {
    max-width: 100%;
}

.live-channel-card {
    min-height: 238px;
    padding: 48px 20px 16px;
    background: linear-gradient(155deg, #121923, #0e141c);
    box-shadow: none;
}

.channel-logo-stage {
    width: 142px;
    height: 70px;
    margin: 4px auto 9px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.channel-logo-stage .channel-logo-image {
    width: 132px;
    height: 66px;
    max-width: 132px;
    max-height: 66px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.live-channel-card h3 {
    margin-bottom: 10px;
}

.live-channel-card .watch-game {
    padding-top: 13px;
}

.site-footer {
    min-height: 0 !important;
    padding: 28px 20px 20px !important;
}

.site-footer .container {
    min-height: 0;
}

.footer-logo-notice {
    margin-bottom: 13px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-line {
    margin-bottom: 14px;
}

@media (max-width: 767.98px) {
    .watch-heading {
        margin-bottom: 20px;
        padding-bottom: 19px;
    }

    .watch-related {
        margin-top: 26px;
        padding-top: 24px;
    }

    .live-channels-panel {
        padding: 20px 14px 22px !important;
    }

    .channel-country-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -2px;
        margin-left: -2px;
        padding-right: 2px;
        padding-left: 2px;
        scrollbar-width: thin;
    }

    .channel-country-button {
        flex: 0 0 auto;
    }

    .site-footer {
        padding: 24px 16px 18px !important;
    }
}

/* Uniform exterior surface across the complete project. */
html,
body,
main,
.content-section,
.games-browser-section,
.sports-browser,
.live-channels-section,
.watch-page,
.watch-shell,
.admin-shell,
.statistics-page,
.site-footer,
footer {
    background: #080b10 !important;
    background-image: none !important;
}

.content-panel,
.games-content-panel,
.live-channels-panel,
.watch-player-card,
.admin-panel,
.statistics-panel {
    box-shadow: none !important;
}

/* Stable watch player: never oversize or leave its 16:9 container. */
.watch-player-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 24px !important;
}

.watch-player-wrap {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 9;
    border-radius: 24px !important;
}

.watch-player-wrap iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 24px !important;
    transform: none !important;
}

.watch-disclaimer-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: #111820;
    color: #f5f7fa;
    box-shadow: 0 28px 85px rgba(0,0,0,.5);
}

.watch-disclaimer-modal .modal-header,
.watch-disclaimer-modal .modal-footer {
    padding: 20px 24px;
    border-color: rgba(255,255,255,.08);
    background: #0e141c;
}

.watch-disclaimer-modal .modal-body {
    padding: 26px 28px;
}

.watch-disclaimer-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.watch-disclaimer-heading > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,140,40,.2);
    border-radius: 13px;
    background: rgba(242,140,40,.08);
    color: var(--accent);
    font-size: 1.15rem;
}

.watch-disclaimer-heading small {
    color: var(--accent);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.watch-disclaimer-heading h2 {
    margin: 3px 0 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.watch-disclaimer-modal .modal-body h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 30px 0 13px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.075);
    color: #f4f6f8;
    font-size: 1rem;
    font-weight: 800;
}

.watch-disclaimer-modal .modal-body h3 i,
.watch-disclaimer-modal .modal-body a {
    color: var(--accent);
}

.watch-disclaimer-modal .modal-body p,
.watch-disclaimer-modal .modal-body li {
    color: #a4afbc;
    font-size: .82rem;
    line-height: 1.75;
}

.watch-disclaimer-modal .modal-body ul {
    padding-left: 20px;
}

.watch-disclaimer-updated {
    color: #6f7b89 !important;
    font-size: .7rem !important;
}

@media (max-width: 767.98px) {
    .watch-player-card,
    .watch-player-wrap,
    .watch-player-wrap iframe {
        border-radius: 16px !important;
    }

    .watch-disclaimer-modal .modal-header,
    .watch-disclaimer-modal .modal-footer {
        padding: 16px;
    }

    .watch-disclaimer-modal .modal-body {
        padding: 20px 17px;
    }
}

/* Disclaimer triggers behave like links while keeping visitors on the page. */
button.site-notice-link {
    appearance: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

/* Statistics canvas: remove every exterior overlay and shadow. */
html:has(body.statistics-page),
body.statistics-page,
body.statistics-page main,
body.statistics-page .statistics-shell,
body.statistics-page .statistics-shell > .container {
    background: #080b10 !important;
    background-color: #080b10 !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.statistics-page::before,
body.statistics-page::after,
body.statistics-page .statistics-shell::before,
body.statistics-page .statistics-shell::after {
    display: none !important;
    content: none !important;
}

body.statistics-page .statistics-card,
body.statistics-page .statistics-panel,
body.statistics-page .statistics-heading {
    filter: none !important;
    box-shadow: none !important;
}

/* Unified typography and public navigation */
:root { --strm-font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
body, button, input, select, textarea { font-family: var(--strm-font); }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.035em; }
[hidden] { display: none !important; }
#games, #channels { scroll-margin-top: 85px; }
.hero-section { min-height: 560px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 30%, #44270e66, transparent 55%), #090d12; }
.hero-section::after { display: none; }
.hero-content { padding-top: 135px; padding-bottom: 75px; position: relative; }
.hero-content h1 { max-width: 780px; font-size: clamp(2.8rem, 5.3vw, 5rem); line-height: 1.03; font-weight: 750; letter-spacing: -.055em; margin: 24px 0 20px; }
.hero-content .hero-description { color: #a6b0bd; font-size: 1.1rem; max-width: 530px; line-height: 1.65; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.hero-links a { font-size: .9rem; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.hero-primary { background: var(--accent); color: #15100b; padding: 13px 20px; border-radius: 10px; }
.hero-primary:hover { color: #15100b; background: #ffac4d; }
.hero-secondary { color: #e4e7eb; }
.hero-secondary:hover { color: var(--accent); }
.small-logo { background:transparent; border:0; box-shadow:none; border-radius:0; }
.small-logo .bi-shield-shaded { color:#aeb9c9; font-size:2rem; }
.games-content-panel .game-card, .live-channel-card { position:relative; overflow:hidden; }
.games-content-panel .game-card::before, .games-content-panel .game-card::after,
.live-channel-card::before, .live-channel-card::after { content:''; position:absolute; top:0; bottom:0; width:2px; height:auto; border:0; border-radius:0; transform:none; background:linear-gradient(180deg, transparent, rgba(242,140,40,.8), transparent); opacity:.7; pointer-events:none; }
.games-content-panel .game-card::before, .live-channel-card::before { left:0; right:auto; }
.games-content-panel .game-card::after, .live-channel-card::after { right:0; left:auto; }
.floating-actions, .admin-floating-actions { flex-direction:column; align-items:flex-end; right:22px; bottom:22px; }
.floating-language, .admin-floating-language { order:99; }
.site-notice { right:90px; left:auto; bottom:84px; }
.statistics-explanation { padding:16px 20px; border:1px solid #ffffff12; border-radius:12px; color:#aeb8c4; font-size:.85rem; line-height:1.7; }
.site-footer { padding-bottom:100px; }
@media(min-width:992px) and (max-width:1399px) { .hero-content h1 { max-width:650px; font-size:4rem; } }
@media(max-width:991.98px) { .hero-section { min-height:480px; } .hero-content { padding-top:115px; padding-bottom:55px; } }
@media(max-width:575.98px) { .hero-section { min-height:460px; } .hero-content h1 { font-size:2.9rem; } .hero-content .hero-description { font-size:1rem; } .hero-links { gap:16px; } .floating-actions, .admin-floating-actions { right:12px; bottom:12px; gap:7px; } .site-notice { right:70px; bottom:72px; width:calc(100vw - 85px); max-width:340px; } .content-section-heading { padding-right:0; } }

.support-pending { padding:18px; border-left:2px solid var(--accent); background:#ffffff04; }

/* Revision 2: compact actions, recommended channels and support dialog. */
.floating-actions { flex-direction:row; align-items:center; gap:9px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.floating-actions::before, .floating-actions::after { content:none; display:none; }
.floating-support { min-height:46px; width:46px; display:grid; place-items:center; padding:0; border-radius:14px; border:1px solid rgba(255,255,255,.12); background:rgba(13,18,25,.94); color:var(--accent); box-shadow:0 12px 34px rgba(0,0,0,.35); }
.floating-support:hover, .floating-support:focus-visible { background:var(--accent); color:#11161c; }
.site-notice { left:22px; right:auto; bottom:82px; }
.hero-badge .live-dot { background:#29c96f; box-shadow:0 0 0 5px rgba(41,201,111,.12); animation:strm-live-green 1.8s ease-in-out infinite; }
@keyframes strm-live-green { 0%,100% { opacity:1; box-shadow:0 0 0 4px rgba(41,201,111,.14); } 50% { opacity:.4; box-shadow:0 0 0 8px rgba(41,201,111,0); } }
.support-modal .modal-content { background:#10171d; color:#f4f6f8; border:1px solid #ffffff20; border-radius:20px; overflow:hidden; }
.support-modal .modal-header, .support-modal .modal-footer { border-color:#ffffff20; padding:22px 26px; }
.support-modal .modal-body { padding:24px 26px; }
.support-modal p { color:#aeb9c4; line-height:1.7; }
.support-modal h3 { font-size:1.55rem; margin:20px 0; }
.support-modal .support-pending { margin-bottom:0; }
@media(max-width:575.98px) { .floating-actions { right:12px; bottom:12px; gap:6px; } .floating-actions > .floating-language { padding:0 11px; } .site-notice { left:12px; right:auto; bottom:74px; width:min(340px,calc(100vw - 24px)); } }
@media(prefers-reduced-motion:reduce) { .hero-badge .live-dot { animation:none; } }

.floating-actions > * { box-shadow:none; }
@media(max-width:360px) { .floating-actions { gap:5px; right:10px; bottom:10px; } .floating-actions .floating-panel, .floating-actions .floating-back, .floating-actions .floating-disclaimer, .floating-actions .floating-contact, .floating-actions .floating-support { width:40px; min-width:40px; min-height:42px; padding:0; justify-content:center; } .floating-actions .floating-panel span, .floating-actions .floating-back span { display:none; } .floating-actions .floating-language { padding:0 8px; min-height:42px; font-size:.68rem; gap:5px; } }

.watch-game-ended {
    gap: 10px;
    padding: 36px 24px;
    text-align: center;
}

.watch-game-ended i { color: var(--accent); font-size: 2rem; }
.watch-game-ended strong { font-size: 1.05rem; }
.watch-game-ended span { max-width: 460px; color: var(--muted); font-size: .82rem; line-height: 1.55; }

/* Keep the highlighted surfaces free of exterior shadows and blur. */
.maintenance-card,
.site-notice,
.games-content-panel,
.games-content-panel .game-card,
.games-content-panel .game-card:hover {
    box-shadow: none !important;
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Player controls and channel cards: clean exterior surfaces. */
.live-channel-card:hover,
.live-channel-card:focus-within {
    box-shadow: none !important;
    outline: none !important;
}

.watch-match-summary {
    margin-top: 0;
    margin-bottom: 14px;
}

.watch-stream-selector {
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(17,23,31,.98), rgba(12,17,23,.98));
}

/* Featured games, live countdowns and shared floating action layout. */
.teams {
    grid-template-columns: 1fr minmax(92px, auto) 1fr;
}

.game-card-center,
.watch-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

.game-card-center small,
.watch-match-center em {
    color: var(--accent);
    font-size: .67rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.25;
    white-space: nowrap;
}

[data-event-countdown].is-live {
    color: #29c96f !important;
    animation: strm-event-live-pulse 1.8s ease-in-out infinite;
}

@keyframes strm-event-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.watch-match-summary {
    grid-template-columns: minmax(150px, 1fr) minmax(125px, auto) minmax(150px, 1fr) minmax(120px, auto);
}

.watch-match-center > strong {
    color: #f4f6f8;
    font-size: .88rem;
}

.watch-match-center > span {
    color: #aeb8c4;
    font-size: .78rem;
    font-weight: 750;
}

.watch-match-league {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    color: #aeb8c4;
    font-size: .78rem;
    font-weight: 750;
}

.watch-match-league img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.admin-floating-actions {
    flex-direction: row;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.admin-floating-actions::before,
.admin-floating-actions::after {
    content: none;
    display: none;
}

.admin-floating-actions > * {
    box-shadow: none !important;
}

@media (max-width: 767.98px) {
    .watch-match-summary {
        grid-template-columns: 1fr 1fr;
    }
    .watch-match-center {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .watch-match-league {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

.live-channel-card .live-dot {
    background: #29c96f !important;
    box-shadow: 0 0 0 4px rgba(41,201,111,.13), 0 0 12px rgba(41,201,111,.55) !important;
    animation: strm-live-green-pulse 1.5s ease-in-out infinite !important;
}
.live-channel-card .live-indicator { color: #29c96f !important; }

html:has(body.admin-page), body.admin-page { height:auto !important; min-height:100% !important; overflow-x:hidden !important; overflow-y:auto !important; }
body.admin-page .admin-shell, body.admin-page .admin-shell > .container { height:auto !important; max-height:none !important; overflow:visible !important; }
body.admin-page .admin-management-modal .modal-content { max-height:calc(100vh - 2rem); }
body.admin-page .admin-management-modal .modal-body { min-height:0; overflow-y:auto !important; }
.watch-stream-selector { position:relative; margin-bottom:26px; }
.watch-stream-selector::after { content:""; position:absolute; right:0; bottom:-14px; left:0; height:2px; border-radius:999px; background:linear-gradient(90deg,transparent,var(--accent) 12%,var(--accent) 88%,transparent); }
.admin-country-row th { padding:13px 22px !important; border-top:1px solid rgba(242,140,40,.3) !important; border-bottom:1px solid rgba(255,255,255,.07) !important; background:rgba(242,140,40,.075) !important; color:#f4f6f8 !important; font-size:.78rem !important; letter-spacing:.04em; }


/* =========================================================
   FINAL ADMIN VISUALS - Live Channels + Create/Edit modals
   ========================================================= */

body.admin-page .live-channels-admin-panel {
    position: static !important;
    margin-top: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.admin-page .live-channels-admin-panel .live-country-tabs-external[data-admin-country-filters] {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 -3px 34px !important;
    padding: 6px 3px 9px !important;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0 !important;
    background: transparent !important;
    scrollbar-width: thin;
}

body.admin-page .live-channels-admin-panel .live-country-tabs-external .sport-category-button {
    flex: 0 0 auto;
    min-width: 150px;
    min-height: 0;
    padding: 14px 18px;
    border-radius: 12px;
    gap: 0;
}

body.admin-page .live-channels-admin-panel .live-country-tabs-external .country-flag {
    width: 20px;
    height: 14px;
    margin: 0 10px 0 0;
}

/* Hide the per-country channel totals; show only flag + country name. */
body.admin-page .live-country-tabs-external .sport-category-button > span {
    display: none !important;
}

body.admin-page .live-channels-card-shell {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background: rgba(24,24,24,.92);
}

body.admin-page .live-channels-admin-panel .admin-status-filters {
    gap: 8px;
    margin-top: 14px;
}

body.admin-page #createGameModal .admin-modal-surface,
body.admin-page #editGameModal .admin-modal-surface,
body.admin-page #createGeneralLiveModal .admin-modal-surface,
body.admin-page #editGeneralLiveModal .admin-modal-surface {
    max-height: calc(100vh - 48px);
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 20px !important;
    background: #10151b !important;
    color: #f5f7fa;
    box-shadow: 0 30px 100px rgba(0,0,0,.68);
}

body.admin-page #createGameModal .admin-modal-header,
body.admin-page #editGameModal .admin-modal-header,
body.admin-page #createGeneralLiveModal .admin-modal-header,
body.admin-page #editGeneralLiveModal .admin-modal-header {
    min-height: 74px;
    padding: 1.4rem 1.6rem !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    background: radial-gradient(circle at 0 0, rgba(242,140,40,.12), transparent 34%), #12181f !important;
}

body.admin-page #createGameModal .modal-title,
body.admin-page #editGameModal .modal-title,
body.admin-page #createGeneralLiveModal .modal-title,
body.admin-page #editGeneralLiveModal .modal-title {
    color: #f7f9fb;
    font-size: 1.28rem !important;
    font-weight: 800;
    line-height: 1.2;
}

body.admin-page #createGameModal .admin-modal-body,
body.admin-page #editGameModal .admin-modal-body,
body.admin-page #createGeneralLiveModal .admin-modal-body,
body.admin-page #editGeneralLiveModal .admin-modal-body {
    min-height: 0;
    padding: 1.55rem 1.65rem !important;
    overflow-y: auto;
    background: #0d1217 !important;
}

body.admin-page #createGeneralLiveModal form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

body.admin-page #createGeneralLiveModal form .modal-body {
    flex: 1 1 auto;
}

body.admin-page #createGameModal .form-label,
body.admin-page #editGameModal .form-label,
body.admin-page #createGeneralLiveModal .form-label,
body.admin-page #editGeneralLiveModal .form-label {
    margin-bottom: .45rem;
    color: #cbd3dc;
    font-size: .86rem;
    font-weight: 700;
}

body.admin-page #createGameModal .form-control,
body.admin-page #createGameModal .form-select,
body.admin-page #editGameModal .form-control,
body.admin-page #editGameModal .form-select,
body.admin-page #createGeneralLiveModal .form-control,
body.admin-page #createGeneralLiveModal .form-select,
body.admin-page #editGeneralLiveModal .form-control,
body.admin-page #editGeneralLiveModal .form-select {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 11px !important;
    background: #090e13 !important;
    color: #f5f7fa !important;
    box-shadow: none !important;
}

body.admin-page #createGameModal textarea.form-control,
body.admin-page #editGameModal textarea.form-control,
body.admin-page #createGeneralLiveModal textarea.form-control,
body.admin-page #editGeneralLiveModal textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

body.admin-page #createGameModal .form-control:focus,
body.admin-page #createGameModal .form-select:focus,
body.admin-page #editGameModal .form-control:focus,
body.admin-page #editGameModal .form-select:focus,
body.admin-page #createGeneralLiveModal .form-control:focus,
body.admin-page #createGeneralLiveModal .form-select:focus,
body.admin-page #editGeneralLiveModal .form-control:focus,
body.admin-page #editGeneralLiveModal .form-select:focus {
    border-color: var(--accent, #f28c28) !important;
    background: #0b1117 !important;
    box-shadow: 0 0 0 3px rgba(242,140,40,.12) !important;
}

body.admin-page #createGameModal .admin-modal-footer,
body.admin-page #createGeneralLiveModal .admin-modal-footer {
    min-height: 72px;
    gap: 9px;
    padding: 1rem 1.5rem !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    background: #11171d !important;
}

body.admin-page #createGameModal .admin-modal-footer .btn,
body.admin-page #createGeneralLiveModal .admin-modal-footer .btn,
body.admin-page #editGameModal button[type="submit"],
body.admin-page #editGeneralLiveModal button[type="submit"] {
    min-height: 42px;
    padding: .65rem 1rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .86rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    body.admin-page .live-channels-admin-panel .live-country-tabs-external[data-admin-country-filters] {
        gap: 9px;
        margin: 0 -3px 28px !important;
        padding: 6px 3px 9px !important;
    }

    body.admin-page .live-channels-admin-panel .live-country-tabs-external .sport-category-button {
        min-width: 132px;
        padding: 12px 14px;
    }

    body.admin-page #createGameModal .admin-modal-body,
    body.admin-page #editGameModal .admin-modal-body,
    body.admin-page #createGeneralLiveModal .admin-modal-body,
    body.admin-page #editGeneralLiveModal .admin-modal-body {
        padding: 1rem !important;
    }
}




/* Floating admin actions use their actual HTML order. */
body.admin-page .admin-floating-actions > * { order: initial !important; }


/* =========================================================
   V12 - Create/Edit modal control polish
   Visual only: native file inputs + duration suffix.
   ========================================================= */
body.admin-page #createGameModal input[type="file"].form-control,
body.admin-page #editGameModal input[type="file"].form-control,
body.admin-page #createGeneralLiveModal input[type="file"].form-control,
body.admin-page #editGeneralLiveModal input[type="file"].form-control {
    width: 100%;
    min-height: 46px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #29313a !important;
    border-radius: 11px !important;
    background: #090e13 !important;
    color: #9aa5b2 !important;
    line-height: 44px;
    box-shadow: none !important;
}

body.admin-page #createGameModal input[type="file"].form-control::file-selector-button,
body.admin-page #editGameModal input[type="file"].form-control::file-selector-button,
body.admin-page #createGeneralLiveModal input[type="file"].form-control::file-selector-button,
body.admin-page #editGeneralLiveModal input[type="file"].form-control::file-selector-button {
    height: 44px;
    margin: 0 14px 0 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-right: 1px solid #29313a !important;
    border-radius: 0 !important;
    background: #151c23 !important;
    color: #f5f7fa !important;
    font-weight: 700;
    line-height: 44px;
    cursor: pointer;
}

body.admin-page #createGameModal input[type="file"].form-control:hover::file-selector-button,
body.admin-page #editGameModal input[type="file"].form-control:hover::file-selector-button,
body.admin-page #createGeneralLiveModal input[type="file"].form-control:hover::file-selector-button,
body.admin-page #editGeneralLiveModal input[type="file"].form-control:hover::file-selector-button {
    background: #1c252e !important;
    color: var(--accent, #f28c28) !important;
}

/* The Live Channel modal has a single image upload: let it use the full panel width. */
body.admin-page #createGeneralLiveModal .page-access-settings .row > .col-md-4,
body.admin-page #editGeneralLiveModal .page-access-settings .row > .col-md-4 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

/* Duration input suffix must stay dark like the rest of the modal. */
body.admin-page #createGameModal .input-group > .input-group-text,
body.admin-page #editGameModal .input-group > .input-group-text {
    min-width: 86px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #29313a !important;
    border-left: 0 !important;
    border-radius: 0 11px 11px 0 !important;
    background: #151c23 !important;
    color: #cbd3dc !important;
    font-size: .9rem;
    font-weight: 600;
}

body.admin-page #createGameModal .input-group > .form-control,
body.admin-page #editGameModal .input-group > .form-control {
    border-radius: 11px 0 0 11px !important;
}

body.admin-page #createGameModal .page-access-settings,
body.admin-page #editGameModal .page-access-settings,
body.admin-page #createGeneralLiveModal .page-access-settings,
body.admin-page #editGeneralLiveModal .page-access-settings {
    padding: 18px;
    border-color: rgba(242,140,40,.22) !important;
    background: rgba(242,140,40,.025) !important;
}

body.admin-page #createGameModal .page-access-settings legend,
body.admin-page #editGameModal .page-access-settings legend,
body.admin-page #createGeneralLiveModal .page-access-settings legend,
body.admin-page #editGeneralLiveModal .page-access-settings legend {
    margin-bottom: 12px;
    color: #f4f6f8;
    font-weight: 800;
}

/* =========================================================
   GAME CARDS — keep the action/footer aligned at the bottom
   of equal-height cards, avoiding the empty space shown in
   rows where one event card is taller than the others.
   ========================================================= */
.games-content-panel .game-card {
    display: flex;
    flex-direction: column;
}

.games-content-panel .game-card .game-button {
    margin-top: auto;
}


/* =========================================================
   GAME CARDS — preserve centred single-event layouts (F1,
   motorsport, etc.) while keeping the footer at the bottom.
   ========================================================= */
.games-content-panel .game-card > .event-summary {
    flex: 0 0 auto;
    width: 100%;
}

.games-content-panel .game-card > .event-summary [data-event-countdown] {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
}


/* Single-event custom card image (categories without Team 1 vs Team 2). */
.event-icon.has-custom-image {
    width: 76px;
    height: 76px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.event-icon .event-card-image {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}


/* =========================================================
   EVENT CARD LAYOUT FIX — keep matchup and single-event
   cards balanced at the same height without dead space.
   ========================================================= */
.games-content-panel .game-card > .teams,
.games-content-panel .game-card > .event-summary {
    flex: 1 1 auto;
}

.games-content-panel .game-card > .teams {
    min-height: 131px;
}

.games-content-panel .game-card > .event-summary {
    min-height: 131px;
    padding: 8px 0;
    gap: 6px;
}

/* Keep the custom single-event image larger than the default
   icon, but compact enough not to make the whole row taller. */
.event-icon.has-custom-image {
    width: 68px;
    height: 68px;
}

.event-icon .event-card-image {
    width: 68px;
    height: 68px;
}


/* =========================================================
   V4 — final card height fix.
   Do not let Bootstrap row height / flex-grow create a large
   empty area between the matchup and the card footer.
   ========================================================= */
.games-content-panel .game-card {
    height: auto !important;
    min-height: 0 !important;
}

.games-content-panel .game-card > .teams,
.games-content-panel .game-card > .event-summary {
    min-height: 140px !important;
}

.games-content-panel .game-card > .teams {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.games-content-panel .game-card > .event-summary {
    padding: 12px 0 !important;
    gap: 7px !important;
}

.games-content-panel .game-card .game-button {
    margin-top: 0 !important;
}

/* Keep the custom event image noticeably larger than the
   standard sport/team icons, without making its row taller. */
.games-content-panel .event-icon.has-custom-image,
.games-content-panel .event-icon .event-card-image {
    width: 60px !important;
    height: 60px !important;
}


/* =========================================================
   V5 — responsive public game cards + larger custom event logo
   ========================================================= */
.games-content-panel .row.g-4 > [class*="col-"] {
    display: flex;
    min-width: 0;
}

.games-content-panel .game-card {
    width: 100%;
    min-width: 0;
    height: 100% !important;
    padding: clamp(16px, 1.45vw, 20px);
    display: flex !important;
    flex-direction: column !important;
}

.games-content-panel .game-card-top {
    gap: 10px;
    min-width: 0;
}

.games-content-panel .game-card-top > span:first-child {
    flex: 0 1 auto;
    min-width: 0;
}

.games-content-panel .game-card-top .competition {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 58%;
}

.games-content-panel .game-card-top .competition {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Matchup and single-event cards reserve the same compact centre area,
   so equal-height Bootstrap rows do not create a large empty gap. */
.games-content-panel .game-card > .teams,
.games-content-panel .game-card > .event-summary {
    flex: 0 0 auto !important;
    width: 100%;
    min-height: 150px !important;
    height: auto !important;
    box-sizing: border-box;
}

.games-content-panel .game-card > .teams {
    grid-template-columns: minmax(0, 1fr) minmax(72px, auto) minmax(0, 1fr);
    gap: 8px;
    padding: 22px 0 !important;
}

.games-content-panel .game-card > .teams > div {
    min-width: 0;
}

.games-content-panel .game-card > .teams strong {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.games-content-panel .game-card > .event-summary {
    padding: 10px 0 !important;
    gap: 8px !important;
    justify-content: center;
}

/* Larger uploaded image for events without Team 1 vs Team 2. */
.games-content-panel .event-icon.has-custom-image {
    width: clamp(90px, 7vw, 116px) !important;
    height: clamp(66px, 5.4vw, 84px) !important;
    display: grid;
    place-items: center;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.games-content-panel .event-icon .event-card-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 116px;
    max-height: 84px;
    object-fit: contain;
    display: block;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.games-content-panel .game-card .game-button {
    margin-top: auto !important;
}

@media (max-width: 1199.98px) {
    .games-content-panel .game-card > .teams,
    .games-content-panel .game-card > .event-summary {
        min-height: 146px !important;
    }

    .games-content-panel .event-icon.has-custom-image {
        width: 102px !important;
        height: 74px !important;
    }
}

@media (max-width: 767.98px) {
    .games-content-panel {
        padding-right: 16px;
        padding-left: 16px;
    }

    .games-content-panel .game-card {
        padding: 17px;
    }

    .games-content-panel .game-card-top {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .games-content-panel .game-card-top .competition {
        max-width: 100%;
    }

    .games-content-panel .game-card > .teams,
    .games-content-panel .game-card > .event-summary {
        min-height: 138px !important;
    }

    .games-content-panel .game-card > .teams {
        grid-template-columns: minmax(0, 1fr) minmax(64px, auto) minmax(0, 1fr);
        padding: 18px 0 !important;
    }

    .games-content-panel .event-icon.has-custom-image {
        width: 96px !important;
        height: 70px !important;
    }
}

@media (max-width: 420px) {
    .games-content-panel {
        padding-right: 12px;
        padding-left: 12px;
    }

    .games-content-panel .game-card {
        padding: 15px;
        border-radius: 15px;
    }

    .games-content-panel .game-card-top > span:first-child {
        font-size: .9rem;
    }

    .games-content-panel .game-card > .teams {
        grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
        gap: 5px;
    }

    .games-content-panel .small-logo {
        width: 44px;
        height: 44px;
        margin-bottom: 7px;
    }

    .games-content-panel .team-logo-image {
        width: 38px;
        height: 38px;
    }

    .games-content-panel .game-card > .teams strong {
        font-size: .8rem;
    }

    .games-content-panel .game-card-center small,
    .games-content-panel .event-summary [data-event-countdown] {
        white-space: normal;
    }

    .games-content-panel .event-icon.has-custom-image {
        width: 88px !important;
        height: 64px !important;
    }
}


/* =========================================================
   V6 — Public sections exterior polish
   Only the section shell, headings, toolbars and filters are
   changed. Game cards and live-channel cards stay untouched.
   ========================================================= */

/* Cleaner, more deliberate section canvas. */
.games-browser-section,
.live-channels-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 94px 0 104px;
    border-top: 1px solid rgba(255,255,255,.055);
    background: #080c11 !important;
}

.games-browser-section::before,
.live-channels-section::before {
    position: absolute;
    z-index: -1;
    top: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
    content: '';
}

.games-browser-section::before {
    left: -150px;
    background: radial-gradient(circle, rgba(242,140,40,.075) 0%, rgba(242,140,40,.025) 36%, transparent 70%);
}

.live-channels-section::before {
    right: -160px;
    background: radial-gradient(circle, rgba(242,140,40,.07) 0%, rgba(242,140,40,.022) 38%, transparent 72%);
}

.games-browser-section > .container,
.live-channels-section > .container {
    position: relative;
    z-index: 1;
}

/* Premium section intro: aligned, calmer and separated from content. */
.games-browser-section .content-section-heading,
.live-channels-section .content-section-heading {
    position: relative;
    align-items: center;
    min-height: 88px;
    margin: 0 0 30px;
    padding: 0 4px 25px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.games-browser-section .content-section-heading::after,
.live-channels-section .content-section-heading::after {
    position: absolute;
    bottom: -1px;
    left: 4px;
    width: 74px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(242,140,40,.18));
    content: '';
}

.games-browser-section .content-section-heading-main,
.live-channels-section .content-section-heading-main {
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.games-browser-section .content-section-icon,
.live-channels-section .content-section-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(242,140,40,.24);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(242,140,40,.13), rgba(242,140,40,.035));
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 10px 28px rgba(0,0,0,.18);
    font-size: 1.18rem;
}

.games-browser-section .section-label,
.live-channels-section .section-label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.games-browser-section .content-section-heading h2,
.live-channels-section .content-section-heading h2 {
    margin: 0 0 5px;
    color: #f7f8fa;
    font-size: clamp(1.85rem, 2.55vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.games-browser-section .content-section-heading p,
.live-channels-section .content-section-heading p {
    max-width: 720px;
    margin: 0;
    color: #8793a2;
    font-size: .88rem;
    line-height: 1.55;
}

/* Counts in the section header were visually noisy. */
.games-browser-section .content-count-badge,
.live-channels-section .content-count-badge {
    display: none !important;
}

/* One shared exterior surface, with a subtle top highlight. */
.games-browser-section .games-content-panel,
.live-channels-section .live-channels-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.085) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.018), transparent 115px),
        rgba(13,18,25,.94) !important;
    box-shadow:
        0 28px 70px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.028) !important;
}

.games-browser-section .games-content-panel::after,
.live-channels-section .live-channels-panel::after {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 26px;
    right: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242,140,40,.28), transparent);
    pointer-events: none;
    content: '';
}

.games-browser-section .games-content-panel > *,
.live-channels-section .live-channels-panel > * {
    position: relative;
    z-index: 1;
}

.games-browser-section .games-content-panel {
    padding: 22px 24px 28px !important;
}

.live-channels-section .live-channels-panel {
    padding: 22px 24px 28px !important;
}

/* Filters now read as a proper toolbar rather than floating buttons. */
.games-browser-section .sport-category-tabs,
.live-channels-section .channel-country-tabs {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0 0 28px !important;
    padding: 9px !important;
    border: 1px solid rgba(255,255,255,.065) !important;
    border-radius: 15px;
    background: rgba(7,11,16,.56);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.games-browser-section .sport-category-button,
.live-channels-section .channel-country-button {
    min-height: 42px;
    border-radius: 10px;
    box-shadow: none;
}

.games-browser-section .sport-category-button.is-active,
.live-channels-section .channel-country-button.is-active {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 7px 18px rgba(0,0,0,.16);
}

/* Section title within the panel gets a little more breathing room. */
.games-browser-section .sport-category-panel .subheading {
    margin-bottom: 20px;
    padding: 1px 2px 0;
}

.games-browser-section .sport-category-panel .subheading h3 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #edf1f5;
    font-size: 1rem;
    font-weight: 760;
    letter-spacing: -.01em;
}

/* Tablet: preserve the polished shell without crowding tabs. */
@media (max-width: 991.98px) {
    .games-browser-section,
    .live-channels-section {
        padding: 76px 0 84px;
    }

    .games-browser-section .content-section-heading,
    .live-channels-section .content-section-heading {
        min-height: 78px;
        margin-bottom: 24px;
        padding-bottom: 21px;
    }

    .games-browser-section .sport-category-tabs,
    .live-channels-section .channel-country-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }

    .games-browser-section .sport-category-button,
    .live-channels-section .channel-country-button {
        flex: 0 0 auto;
    }
}

/* Mobile: compact exterior only; card styling remains untouched. */
@media (max-width: 575.98px) {
    .games-browser-section,
    .live-channels-section {
        padding: 58px 0 66px;
    }

    .games-browser-section .content-section-heading,
    .live-channels-section .content-section-heading {
        min-height: 0;
        margin-bottom: 20px;
        padding: 0 1px 18px;
    }

    .games-browser-section .content-section-heading-main,
    .live-channels-section .content-section-heading-main {
        align-items: flex-start;
        gap: 11px;
    }

    .games-browser-section .content-section-icon,
    .live-channels-section .content-section-icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        border-radius: 12px;
        font-size: .98rem;
    }

    .games-browser-section .content-section-heading h2,
    .live-channels-section .content-section-heading h2 {
        font-size: 1.62rem;
    }

    .games-browser-section .content-section-heading p,
    .live-channels-section .content-section-heading p {
        font-size: .8rem;
        line-height: 1.5;
    }

    .games-browser-section .games-content-panel,
    .live-channels-section .live-channels-panel {
        padding: 12px 11px 18px !important;
        border-radius: 17px !important;
    }

    .games-browser-section .sport-category-tabs,
    .live-channels-section .channel-country-tabs {
        gap: 7px;
        margin-bottom: 20px !important;
        padding: 7px !important;
        border-radius: 12px;
    }

    .games-browser-section .sport-category-button,
    .live-channels-section .channel-country-button {
        min-height: 39px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
}


/* Sport category event totals: show counts on sports, not on Featured. */
.games-browser-section .sport-category-button .sport-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin: 0 0 0 7px !important;
    padding: 0 6px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.055);
    color: #8f9bab;
    font-size: .68rem;
    line-height: 1;
}

.games-browser-section .sport-category-button.is-active .sport-tab-count {
    border-color: rgba(242,140,40,.22);
    background: rgba(242,140,40,.13);
}


/* =========================================================
   V10 - Sports filter buttons match Live Channels filters.
   Visual-only: no filtering/card logic changed.
   ========================================================= */
.games-browser-section .sport-category-tabs {
    gap: 9px !important;
}

.games-browser-section .sport-category-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 11px !important;
    background: #111720 !important;
    color: #aeb7c2 !important;
    font-size: .76rem !important;
    font-weight: 750 !important;
    line-height: 1;
    text-align: left;
}

.games-browser-section .sport-category-button .sport-icon {
    flex: 0 0 auto;
    margin: 0 !important;
    font-size: .86rem;
    color: #ffffff !important;
}

.games-browser-section .sport-category-button .sport-tab-count {
    min-width: 20px;
    height: auto;
    margin: 0 !important;
    padding: 2px 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #788493;
    font-size: .65rem;
    font-weight: 800;
    line-height: 1.25;
}

.games-browser-section .sport-category-button:hover,
.games-browser-section .sport-category-button:focus-visible,
.games-browser-section .sport-category-button.is-active {
    border-color: rgba(242,140,40,.42) !important;
    background: rgba(242,140,40,.10) !important;
    color: #fff !important;
    transform: none;
}

.games-browser-section .sport-category-button.is-active .sport-tab-count {
    border: 0;
    background: rgba(242,140,40,.16);
    color: var(--accent);
}

@media (max-width: 575.98px) {
    .games-browser-section .sport-category-button {
        min-height: 39px !important;
        padding: 0 13px !important;
    }
}


/* Empty category state spans the full available category width. */
.games-browser-section .sport-category-panel > .row > .col-12:has(.empty-category-state) {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.games-browser-section .sport-category-panel .empty-category-state {
    width: 100% !important;
    max-width: none !important;
    min-height: 156px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* V15 - Sports tab icons are rendered white, including image assets. */
.games-browser-section .sport-category-button .sport-icon {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

.games-browser-section .sport-category-button > i {
    color: #ffffff !important;
}


/* V18 - Remove only the outer borders from the main public content containers. */
.games-browser-section .games-content-panel,
.live-channels-section .live-channels-panel {
    border: 0 !important;
}


/* V19 - Keep the container border/surface, but remove the dark outer glow/shadow around the main public containers. */
.games-browser-section::before,
.live-channels-section::before {
    display: none !important;
}

.games-browser-section .games-content-panel,
.live-channels-section .live-channels-panel {
    box-shadow: none !important;
}

.games-browser-section .games-content-panel::after,
.live-channels-section .live-channels-panel::after {
    opacity: .65;
}


/* V20 - Restore the orange decorative glow, but keep the containers without the dark outer shadow. Also remove shadow from the section icons. */
.games-browser-section::before,
.live-channels-section::before {
    display: block !important;
}

.games-browser-section .content-section-icon,
.live-channels-section .content-section-icon {
    box-shadow: none !important;
}


/* V22 - Live Channels: white default broadcast icon and icon for Recommended tab. */
.live-channels-section .channel-country-button .channel-tab-icon {
    flex: 0 0 auto;
    margin-right: 2px;
    color: #ffffff !important;
    font-size: .82rem;
    line-height: 1;
}

.channel-logo-stage > i {
    color: #ffffff !important;
}


/* V24 - Professional watch header for events without Team 1 vs Team 2. */
.watch-single-event-overview { margin-bottom: 14px; }
.watch-single-event-card {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(17,23,31,.98), rgba(12,17,23,.98));
}
.watch-single-event-brand { min-width: 0; display: flex; align-items: center; gap: 16px; }
.watch-single-event-logo {
    flex: 0 0 78px; width: 78px; height: 78px; display: grid; place-items: center; overflow: hidden;
    border: 1px solid rgba(255,255,255,.07); border-radius: 18px; background: rgba(8,12,17,.5);
}
.watch-single-event-logo.has-custom-image { background: transparent; }
.watch-single-event-logo img { display:block; width:58px; height:58px; max-width:58px; max-height:58px; object-fit:contain; }
.watch-single-event-logo.has-custom-image img { width:68px; height:68px; max-width:68px; max-height:68px; }
.watch-single-event-copy { min-width:0; }
.watch-single-event-copy .section-label { margin-bottom:5px; }
.watch-single-event-copy > strong {
    display:block; max-width:680px; overflow:hidden; color:#f4f6f8; font-size:clamp(1.12rem,2.4vw,1.55rem);
    font-weight:850; line-height:1.2; text-overflow:ellipsis; white-space:nowrap;
}
.watch-single-event-meta { display:flex; flex-wrap:wrap; gap:10px; margin-top:9px; }
.watch-single-event-meta span { display:inline-flex; align-items:center; gap:6px; color:#9ca8b5; font-size:.77rem; font-weight:700; }
.watch-single-event-meta i { color:var(--accent); }
.watch-single-event-countdown {
    flex:0 0 auto; display:flex; flex-direction:column; align-items:flex-end; gap:6px; padding-left:18px;
    border-left:1px solid rgba(255,255,255,.08); text-align:right;
}
.watch-single-event-countdown small { color:#7f8b98; font-size:.68rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.watch-single-event-countdown em { color:var(--accent); font-size:.86rem; font-style:normal; font-weight:850; white-space:nowrap; }
.watch-single-event-overview .watch-match-league { min-height:116px; }
.watch-single-event-overview .watch-match-league img { width:42px; height:42px; object-fit:contain; }
@media (max-width:767.98px) {
    .watch-single-event-card { align-items:flex-start; flex-direction:column; gap:16px; }
    .watch-single-event-brand { width:100%; }
    .watch-single-event-countdown { width:100%; align-items:flex-start; padding-top:14px; padding-left:0; border-top:1px solid rgba(255,255,255,.08); border-left:0; text-align:left; }
}
@media (max-width:575.98px) {
    .watch-single-event-card { padding:16px; }
    .watch-single-event-logo { flex-basis:66px; width:66px; height:66px; border-radius:16px; }
    .watch-single-event-logo img { width:48px; height:48px; max-width:48px; max-height:48px; }
    .watch-single-event-logo.has-custom-image img { width:56px; height:56px; max-width:56px; max-height:56px; }
    .watch-single-event-copy > strong { font-size:1rem; white-space:normal; }
}


/* V25 - Unified professional watch layout for every sports category. */
.watch-team-event-overview {
    margin-bottom: 14px;
}

.watch-team-event-overview .watch-match-summary {
    min-height: 136px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(138px, auto) minmax(0, 1fr) !important;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 20px 24px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(17,23,31,.98), rgba(12,17,23,.98));
}

.watch-team-event-overview .watch-team {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.watch-team-event-overview .watch-team img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.watch-team-event-overview .watch-team i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #fff;
    font-size: 2rem;
}

.watch-team-event-overview .watch-team strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #f5f7fa;
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.watch-team-event-overview .watch-match-center {
    min-width: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

.watch-team-event-overview .watch-match-center > strong {
    color: #f5f7fa;
    font-size: .86rem;
    font-weight: 800;
}

.watch-team-event-overview .watch-match-center > span:not(.watch-vs-label) {
    color: #aeb8c4;
    font-size: .76rem;
    font-weight: 750;
}

.watch-team-event-overview .watch-vs-label {
    margin-top: 2px;
    color: #748191;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.watch-team-event-overview .watch-match-center > em {
    min-height: 16px;
    color: var(--accent);
    font-size: .7rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
}

.watch-team-event-overview .watch-match-league {
    min-height: 136px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(17,23,31,.98), rgba(12,17,23,.98));
    color: #aeb8c4;
    text-align: center;
}

.watch-team-event-overview .watch-match-league img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.watch-team-event-overview .watch-match-league span {
    max-width: 160px;
    color: #dfe5ec;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.25;
}

.watch-team-event-overview [data-event-countdown].is-live {
    color: #29c96f !important;
}

@media (max-width: 991.98px) {
    .watch-team-event-overview {
        grid-template-columns: 1fr;
    }

    .watch-team-event-overview .watch-match-league {
        min-height: 0;
        flex-direction: row;
        justify-content: center;
        padding: 14px 16px;
    }

    .watch-team-event-overview .watch-match-league img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 767.98px) {
    .watch-team-event-overview .watch-match-summary {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 18px 14px;
        padding: 18px;
    }

    .watch-team-event-overview .watch-match-center {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,.075);
    }

    .watch-team-event-overview .watch-team img,
    .watch-team-event-overview .watch-team i {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .watch-team-event-overview .watch-match-summary {
        min-height: 0;
        padding: 16px 14px;
        border-radius: 16px;
    }

    .watch-team-event-overview .watch-team {
        gap: 8px;
    }

    .watch-team-event-overview .watch-team img,
    .watch-team-event-overview .watch-team i {
        width: 44px;
        height: 44px;
    }

    .watch-team-event-overview .watch-team strong {
        font-size: .84rem;
        white-space: normal;
    }

    .watch-team-event-overview .watch-match-league {
        border-radius: 16px;
    }
}


/* V26 - Team sports use the same watch card language as single-event sports. */
.watch-team-single-event-overview {
    margin-bottom: 14px;
}

.watch-team-single-event-card {
    align-items: center;
}

.watch-team-single-main {
    min-width: 0;
    flex: 1 1 auto;
}

.watch-team-single-main > .section-label {
    display: block;
    margin-bottom: 10px;
}

.watch-team-single-matchup {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.watch-team-single-side {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.watch-team-single-side:last-child {
    justify-content: flex-end;
    text-align: right;
}

.watch-team-single-logo {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
}

.watch-team-single-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.watch-team-single-logo i {
    color: #fff;
    font-size: 2rem;
}

.watch-team-single-side strong {
    overflow: hidden;
    color: #f4f6f8;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.watch-team-single-vs {
    color: #778495;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.watch-team-single-main .watch-single-event-meta {
    margin-top: 12px;
}

.watch-team-single-event-overview .watch-match-league {
    min-height: 116px;
}

.watch-team-single-event-overview .watch-match-league img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .watch-team-single-event-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .watch-team-single-main {
        width: 100%;
    }

    .watch-team-single-event-card .watch-single-event-countdown {
        width: 100%;
        align-items: flex-start;
        padding-top: 14px;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
        border-left: 0;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .watch-team-single-matchup {
        gap: 10px;
    }

    .watch-team-single-side {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .watch-team-single-side:last-child {
        justify-content: center;
        text-align: center;
    }

    .watch-team-single-logo,
    .watch-team-single-logo img {
        width: 46px;
        height: 46px;
    }

    .watch-team-single-side strong {
        font-size: .84rem;
        white-space: normal;
    }
}


/* V27 - Bring team sides closer together in the professional watch header. */
.watch-team-single-matchup {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 4px;
}

.watch-team-single-side {
    gap: 8px;
}

.watch-team-single-side:first-child {
    justify-content: flex-end;
    text-align: right;
}

.watch-team-single-side:last-child {
    justify-content: flex-start;
    text-align: left;
}

.watch-team-single-event-overview .watch-match-league {
    min-height: 136px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.watch-team-single-event-overview .watch-match-league span {
    max-width: 170px;
    color: #dfe5ec;
    font-size: .8rem;
    font-weight: 780;
    line-height: 1.25;
}

@media (max-width: 767.98px) {
    .watch-team-single-matchup {
        max-width: 100%;
        gap: 8px;
    }

    .watch-team-single-side:first-child,
    .watch-team-single-side:last-child {
        justify-content: center;
        text-align: center;
    }

    .watch-team-single-event-overview .watch-match-league {
        flex-direction: row;
        min-height: 0;
        gap: 10px;
    }
}


/* Team matchup: let names use the available width and wrap before they collide. */
.watch-team-single-matchup {
    width: min(100%, 720px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(10px, 2vw, 22px) !important;
}

.watch-team-single-side {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(8px, 1.2vw, 14px) !important;
}

.watch-team-single-side:first-child {
    justify-content: flex-end !important;
    text-align: right !important;
}

.watch-team-single-side-away,
.watch-team-single-side:last-child {
    justify-content: flex-start !important;
    text-align: left !important;
}

.watch-team-single-vs {
    width: 28px !important;
    text-align: center !important;
}

.watch-team-single-side strong {
    min-width: 0;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.25;
}

.watch-team-single-logo {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .watch-team-single-matchup {
        width: 100% !important;
        gap: 6px !important;
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) !important;
    }

    .watch-team-single-side {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 6px !important;
    }

    .watch-team-single-side-away {
        flex-direction: column-reverse !important;
    }

    .watch-team-single-side strong {
        max-width: none;
        font-size: clamp(.76rem, 3.2vw, .9rem);
    }

    .watch-team-single-vs {
        width: 24px !important;
    }
}

/* Admin overview and content hierarchy. Scoped to the dashboard. */
body.admin-page .admin-overview {
    display: grid;
    gap: 14px;
    margin: 0 0 30px;
}

body.admin-page .admin-overview-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    min-height: 125px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background: linear-gradient(145deg, #171e26, #10161d);
    color: #f5f7fa;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease;
}

body.admin-page .admin-overview-card:hover,
body.admin-page .admin-overview-card:focus-visible {
    border-color: rgba(242,140,40,.5);
    color: #fff;
    transform: translateY(-2px);
}

body.admin-page .admin-overview-icon {
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(242,140,40,.2);
    border-radius: 13px;
    background: rgba(242,140,40,.1);
    color: #ffa342;
    font-size: 1.2rem;
}

body.admin-page .admin-overview-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

body.admin-page .admin-overview-copy small {
    color: #aeb9c6;
    font-size: .8rem;
    font-weight: 650;
}

body.admin-page .admin-overview-copy strong {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

body.admin-page .admin-overview-copy em {
    color: #f9a552;
    font-size: .76rem;
    font-style: normal;
    font-weight: 650;
}

body.admin-page #admin-sports,
body.admin-page #admin-live-channels {
    scroll-margin-top: 90px;
}

body.admin-page .admin-table tbody tr:hover {
    --bs-table-bg: rgba(255,255,255,.035);
}

body.admin-page .admin-table th,
body.admin-page .admin-table td {
    padding: .85rem 1.35rem;
}

body.admin-page .admin-table th:first-child,
body.admin-page .admin-table td:first-child { padding-left: 1.5rem; }

body.admin-page .admin-table th:last-child,
body.admin-page .admin-table td:last-child { padding-right: 1.5rem; }

body.admin-page .country-flag {
    width: 20px;
    height: 15px;
    margin-right: 6px;
}

body.admin-page .admin-table td:first-child {
    max-width: 320px;
    overflow-wrap: anywhere;
}

body.admin-page .admin-contact-diagnostic {
    border: 1px solid rgba(255,193,7,.28);
    border-radius: 13px;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    body.admin-page .admin-overview { gap: 10px; }
    body.admin-page .admin-overview-card { padding: 16px; gap: 12px; }
}

@media (max-width: 767.98px) {
    body.admin-page .admin-overview { grid-template-columns: 1fr; gap: 10px; }
    body.admin-page .admin-overview-card { min-height: 96px; }
    body.admin-page .admin-nav-actions { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 575.98px) {
    body.admin-page .admin-table th,
    body.admin-page .admin-table td { padding: .75rem; }
}

/* Group the admin navigation and keep the expanded quick actions usable on phones. */
body.admin-page .admin-nav-divider {
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: 36px;
    margin: 0 4px;
    background: rgba(242,140,40,.58);
}

body.admin-page .admin-nav-actions > .btn,
body.admin-page .admin-nav-actions > form {
    flex: 0 0 auto;
}

body.admin-page .admin-floating-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.admin-page .admin-floating-actions .admin-floating-button {
    display: grid;
    width: 46px;
    flex: 0 0 46px;
    padding: 0;
}

body.admin-page .admin-floating-actions .admin-create-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 0 0 auto;
    gap: 8px;
    padding: 0 14px;
    white-space: nowrap;
    font-size: .8rem;
    font-weight: 700;
}

body.admin-page .admin-floating-actions .admin-floating-button > i {
    flex: 0 0 auto;
    font-size: 1rem;
}

body.admin-page .admin-floating-actions .admin-floating-language {
    white-space: nowrap;
}

body.admin-page .admin-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
    body.admin-page .admin-overview { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    body.admin-page .admin-floating-actions {
        max-width: calc(100vw - 24px);
        gap: 6px;
    }

    body.admin-page .admin-floating-actions .admin-floating-button {
        width: 42px;
        flex-basis: 42px;
    }

    body.admin-page .admin-floating-actions .admin-create-button {
        width: auto;
        flex-basis: auto;
        min-height: 42px;
        padding: 0 11px;
    }

    body.admin-page .admin-shell { padding-bottom: 9rem; }

    body.admin-page .admin-nav-divider {
        height: 32px;
    }
}

/* Wider working dialogs leave more room for game and channel fields. */
body.admin-page .modal .modal-dialog {
    --bs-modal-margin: 16px;
    width: min(1440px, 92vw) !important;
    max-width: 1440px !important;
    margin: 16px auto !important;
}

body.admin-page #maintenanceConfirmModal .modal-dialog,
body.admin-page #deleteConfirmModal .modal-dialog {
    width: min(560px, calc(100vw - 32px)) !important;
    max-width: 560px !important;
}

body.admin-page .modal .modal-content {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: hidden;
}

body.admin-page .modal .modal-content > form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

body.admin-page .modal .modal-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.admin-page .modal .admin-modal-header,
body.admin-page .modal .admin-modal-footer {
    flex-shrink: 0;
}

body.admin-page .modal .admin-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 72px;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    background: #11171d;
}

body.admin-page .modal .admin-modal-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px !important;
    margin: 0;
    padding: .65rem 1.2rem !important;
    border-radius: 11px;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

body.admin-page .statistics-modal .modal-dialog {
    height: min(760px, calc(100dvh - 32px));
}

body.admin-page .statistics-modal .modal-content {
    height: 100%;
}

body.admin-page .statistics-modal .modal-body {
    flex: 1 1 auto;
    overflow: hidden;
}

body.admin-page .statistics-modal-frame {
    min-height: 0;
}

@media (max-width: 575.98px) {
    body.admin-page .modal .modal-dialog {
        --bs-modal-margin: 8px;
        width: calc(100vw - 16px) !important;
        margin: 8px auto !important;
    }

    body.admin-page .modal .modal-content {
        max-height: calc(100dvh - 16px);
    }

    body.admin-page .modal .admin-modal-footer {
        padding: .85rem 1rem !important;
    }

    body.admin-page .modal .admin-modal-footer > .btn,
    body.admin-page .modal .admin-modal-footer > form {
        flex: 1 1 auto;
    }

    body.admin-page .modal .admin-modal-footer > form .btn {
        width: 100%;
    }

    body.admin-page .statistics-modal .modal-dialog {
        height: calc(100dvh - 16px);
    }
}

body.admin-page #footerSettingsModal .admin-footer-section {
    padding: 1.4rem;
    border: 1px solid rgba(242,140,40,.27);
    border-left: 4px solid var(--accent, #f28c28);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(242,140,40,.055), transparent 50%), #151b22;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

body.admin-page #footerSettingsModal .admin-footer-section + .admin-footer-section {
    margin-top: 1.35rem;
}

body.admin-page #footerSettingsModal .admin-footer-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem !important;
    padding-bottom: .9rem;
    border-bottom: 1px solid rgba(242,140,40,.2);
    color: #f5f7fa;
    font-weight: 750;
}

body.admin-page #footerSettingsModal .admin-footer-section h3 i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(242,140,40,.3);
    border-radius: 10px;
    background: rgba(242,140,40,.12);
    color: var(--accent, #f28c28);
    font-size: 1rem;
}

body.admin-page #footerSettingsModal .admin-footer-section .form-check-label {
    color: #dce2e9;
}

@media (max-width: 575.98px) {
    body.admin-page #footerSettingsModal .admin-footer-section {
        padding: 1rem;
    }
}

/* Dashboard area switcher: games are shown first, lives use the same space. */
body.admin-page .admin-overview-card {
    width: 100%;
    font: inherit;
}

body.admin-page .admin-overview-card.is-active {
    border-color: rgba(242,140,40,.8);
    background: linear-gradient(145deg, rgba(242,140,40,.15), #151c24 70%);
    box-shadow: inset 0 0 0 1px rgba(242,140,40,.18), 0 12px 30px rgba(0,0,0,.15);
}

body.admin-page .admin-overview-card.is-active .admin-overview-icon {
    border-color: rgba(242,140,40,.55);
    background: rgba(242,140,40,.18);
}

body.admin-page .admin-overview-card:focus-visible {
    outline: 3px solid rgba(242,140,40,.55);
    outline-offset: 3px;
}

body.admin-page [data-admin-view-panel][hidden] {
    display: none !important;
}

/* Consistent visual hierarchy for the administration dashboard. */
body.admin-page .admin-sticky-nav {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: rgba(11,16,23,.94);
    box-shadow: 0 14px 32px rgba(0,0,0,.2);
}

body.admin-page .admin-sticky-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    font-size: 1rem;
    letter-spacing: -.02em;
}

body.admin-page .admin-sticky-nav .navbar-brand i {
    font-size: 1.4rem;
}

body.admin-page .admin-nav-actions .btn-admin-login {
    min-height: 39px;
    border-color: rgba(255,255,255,.12);
    border-radius: 10px;
    background: #151c24;
    color: #dce3ea;
    font-size: .8rem;
    font-weight: 650;
}

body.admin-page .admin-nav-actions .btn-admin-login:hover,
body.admin-page .admin-nav-actions .btn-admin-login:focus-visible {
    border-color: rgba(242,140,40,.55);
    background: rgba(242,140,40,.13);
    color: #ffaf5b;
}

body.admin-page .admin-shell {
    padding-top: clamp(1.25rem, 3vw, 2.5rem);
    background: radial-gradient(ellipse 60% 360px at 50% 0, rgba(242,140,40,.045), transparent), #080b10 !important;
}

body.admin-page .admin-overview {
    gap: 12px;
    margin-bottom: 1.5rem;
}

body.admin-page .admin-overview-card {
    align-items: center;
    min-height: 106px;
    padding: 18px 20px;
    border-radius: 15px;
    background: #111821;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

body.admin-page .admin-overview-card.is-active {
    background: linear-gradient(110deg, rgba(242,140,40,.13), transparent 75%), #151c24;
}

body.admin-page .admin-overview-copy small {
    color: #d7e0e9;
    font-size: .88rem;
    font-weight: 750;
}

body.admin-page .admin-overview-copy strong {
    color: #fff;
    font-size: 1.6rem;
}

body.admin-page .admin-overview-copy em {
    color: #99a9b9;
    font-size: .74rem;
}

body.admin-page .admin-category-tabs {
    gap: 9px;
    margin-bottom: 1.25rem;
}

body.admin-page .admin-category-tabs .sport-category-button {
    min-height: 46px;
    border-color: rgba(255,255,255,.12);
    border-radius: 11px;
    background: #121922;
    color: #bdc8d3;
    font-size: .82rem;
    font-weight: 700;
}

body.admin-page .admin-category-tabs .sport-category-button:hover,
body.admin-page .admin-category-tabs .sport-category-button.is-active {
    border-color: rgba(242,140,40,.58);
    background: rgba(242,140,40,.12);
    color: #ffac55;
}

body.admin-page .sport-category-panel,
body.admin-page .live-channels-card-shell {
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    background: #11171f;
}

body.admin-page .sport-category-panel > .border-bottom,
body.admin-page .live-channels-card-shell > .border-bottom {
    background: #151d27;
}

body.admin-page .admin-status-filter {
    min-height: 37px;
    padding: 0 12px;
    border-color: rgba(255,255,255,.12);
    border-radius: 9px;
    background: #101720;
    color: #b5c1ce;
    font-size: .74rem;
}

body.admin-page .admin-status-filter.is-active {
    border-color: rgba(242,140,40,.55);
    background: rgba(242,140,40,.12);
    color: #ffd0a0;
}

body.admin-page .admin-status-filter span {
    color: #a6b3bf;
}

body.admin-page .admin-table thead th {
    padding-top: .95rem;
    padding-bottom: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: #0e141c;
    color: #a9b8c7;
    font-size: .68rem;
    letter-spacing: .085em;
    white-space: nowrap;
}

body.admin-page .admin-table tbody td {
    border-color: rgba(255,255,255,.065);
    color: #e0e7ee;
}

body.admin-page .admin-table tbody tr:hover {
    --bs-table-bg: rgba(242,140,40,.045);
}

body.admin-page .admin-table td .btn {
    min-height: 34px;
    border-radius: 8px;
}

body.admin-page .admin-floating-actions .admin-floating-button,
body.admin-page .admin-floating-actions .admin-floating-language {
    border-color: rgba(255,255,255,.17);
    background: #161e27;
    box-shadow: 0 10px 25px rgba(0,0,0,.3) !important;
}

body.admin-page .admin-floating-actions .admin-create-button {
    border-color: rgba(242,140,40,.42);
    background: #2b2018;
    color: #ffc184;
}

body.admin-page .admin-floating-actions .admin-floating-button.is-maintenance-active {
    border-color: rgba(242,140,40,.72);
    background: #482d1b;
    color: #ffad58;
}

body.admin-page .admin-floating-actions .admin-floating-button:hover,
body.admin-page .admin-floating-actions .admin-floating-button:focus-visible {
    border-color: #f28c28;
    background: #f28c28;
    color: #11161c;
}

@media (max-width: 767.98px) {
    body.admin-page .admin-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.admin-page .admin-overview-card { min-height: 94px; padding: 13px; gap: 10px; }
    body.admin-page .admin-overview-icon { flex-basis: 38px; width: 38px; height: 38px; }
    body.admin-page .admin-overview-copy strong { font-size: 1.35rem; }
}

@media (max-width: 390px) {
    body.admin-page .admin-overview { grid-template-columns: 1fr; }
}

/* Match the public site's filter buttons across sports and live countries. */
body.admin-page #admin-sports .sport-category-button,
body.admin-page .live-channels-admin-panel .live-country-tabs-external .sport-category-button {
    display: inline-flex;
    flex: 0 0 150px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 150px;
    min-width: 150px;
    height: 48px;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    background: #111720;
    color: #c3ccd6;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.admin-page #admin-sports .sport-category-button:hover,
body.admin-page #admin-sports .sport-category-button.is-active,
body.admin-page .live-channels-admin-panel .live-country-tabs-external .sport-category-button:hover,
body.admin-page .live-channels-admin-panel .live-country-tabs-external .sport-category-button.is-active {
    border-color: rgba(242,140,40,.55);
    background: rgba(242,140,40,.11);
    color: #fff;
    transform: none;
}

body.admin-page #admin-sports .sport-category-button .sport-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    filter: brightness(0) invert(1);
    opacity: 1;
}

body.admin-page .live-channels-admin-panel .live-country-tabs-external .country-flag {
    flex: 0 0 20px;
    margin: 0;
}

@media (max-width: 767.98px) {
    body.admin-page #admin-sports .sport-category-button,
    body.admin-page .live-channels-admin-panel .live-country-tabs-external .sport-category-button {
        min-width: 150px;
        min-height: 48px;
        padding: 0 13px;
    }
}

/* Keep status choices evenly sized and visibly separated in both views. */
body.admin-page .admin-panel-filters .admin-status-filters {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: min(100%, 360px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 11px;
    background: #0d141c;
}

body.admin-page .admin-panel-filters .admin-status-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #c1cbd6;
    font-size: .76rem;
    line-height: 1.2;
    white-space: nowrap;
}

body.admin-page .admin-panel-filters .admin-status-filter:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.13);
}

body.admin-page .admin-panel-filters .admin-status-filter:hover,
body.admin-page .admin-panel-filters .admin-status-filter.is-active {
    background: rgba(242,140,40,.14);
    color: #fff;
}

body.admin-page .admin-panel-filters .admin-status-filter.is-active {
    box-shadow: inset 0 -2px 0 var(--accent, #f28c28);
}

body.admin-page .live-channels-admin-panel .live-country-tabs-external[data-admin-country-filters] {
    margin-bottom: 20px !important;
}

@media (max-width: 390px) {
    body.admin-page .admin-panel-filters .admin-status-filter {
        gap: 4px;
        padding: 0 4px;
        font-size: .7rem;
    }
}

/* Center both teams against the whole watch card, regardless of the timer. */
body.watch-page .watch-team-single-event-card {
    position: relative;
    display: block;
    min-height: 152px;
}

body.watch-page .watch-team-single-main {
    width: 100%;
}

body.watch-page .watch-team-single-matchup {
    width: min(100%, 540px) !important;
    max-width: 540px !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) !important;
    gap: 8px !important;
}

body.watch-page .watch-team-single-event-card .watch-single-event-countdown {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
}

@media (max-width: 1399.98px) {
    body.watch-page .watch-team-single-event-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    body.watch-page .watch-team-single-event-card .watch-single-event-countdown {
        position: static;
        width: 100%;
        align-items: flex-start;
        padding: 12px 0 0;
        border-top: 1px solid rgba(255,255,255,.08);
        border-left: 0;
        text-align: left;
        transform: none;
    }
}

@media (max-width: 575.98px) {
    body.watch-page .watch-team-single-matchup {
        width: 100% !important;
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) !important;
        gap: 6px !important;
    }
}

/* Channel watch pages use a compact identity card above the player. */
body.watch-page .watch-channel-heading {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 132px;
    margin-bottom: 14px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(242,140,40,.045), transparent 45%), #111820;
}

body.watch-page .watch-channel-heading .watch-heading-icon.is-channel-logo {
    flex: 0 0 150px;
    width: 150px;
    height: 94px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(7,11,16,.6);
    color: #fff;
}

body.watch-page .watch-channel-heading .watch-channel-logo {
    width: 100%;
    height: 100%;
}

body.watch-page .watch-channel-heading-copy {
    min-width: 0;
    flex: 1 1 auto;
}

body.watch-page .watch-channel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f9a650;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
}

body.watch-page .watch-channel-heading h1 {
    margin: 5px 0 9px;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

body.watch-page .watch-channel-country {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    color: #b7c2ce;
    font-size: .76rem;
}

body.watch-page .watch-channel-live {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 8px 11px;
    border: 1px solid rgba(49,209,124,.24);
    border-radius: 9px;
    background: rgba(49,209,124,.08);
    color: #69e5a3;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .09em;
}

body.watch-page .watch-channel-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #31d17c;
    box-shadow: 0 0 0 4px rgba(49,209,124,.12);
}

@media (max-width: 767.98px) {
    body.watch-page .watch-channel-heading {
        flex-wrap: wrap;
        gap: 14px;
        min-height: 0;
        padding: 16px;
    }

    body.watch-page .watch-channel-heading .watch-heading-icon.is-channel-logo {
        flex-basis: 90px;
        width: 90px;
        height: 72px;
        padding: 6px;
    }

    body.watch-page .watch-channel-heading h1 {
        font-size: clamp(1.35rem, 5vw, 1.8rem);
    }

    body.watch-page .watch-channel-live {
        margin-left: 104px;
    }
}

@media (max-width: 400px) {
    body.watch-page .watch-channel-heading .watch-heading-icon.is-channel-logo {
        flex-basis: 72px;
        width: 72px;
        height: 66px;
    }

    body.watch-page .watch-channel-live {
        margin-left: 86px;
    }
}

/* Keep both wide and square channel logos inside their watch-page frame. */
body.watch-page .watch-channel-heading .watch-heading-icon.is-channel-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.watch-page .watch-channel-heading .watch-channel-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    flex: 0 1 auto;
}

body.watch-page .watch-channel-live-dot {
    display: inline-block;
    flex: 0 0 7px;
    animation: strm-live-green-pulse 1.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    body.watch-page .watch-channel-live-dot {
        animation: none;
    }
}

/* Give channel marks enough space to use their own natural shape. */
.channel-logo-stage {
    width: 180px;
    height: 82px;
    margin: 4px auto 10px;
}

.channel-logo-stage .channel-logo-image {
    width: 170px;
    height: 76px;
    max-width: 170px;
    max-height: 76px;
    object-fit: contain;
}

/* Theme-specific channel artwork: clean originals on light, recoloured marks on dark. */
.logo-theme-light { display: none !important; }
.logo-theme-dark { display: block !important; }

body.watch-page .watch-channel-heading .watch-heading-icon.is-channel-logo {
    flex: 0 0 176px;
    width: 176px;
    height: 104px;
}

@media (max-width: 767.98px) {
    body.watch-page .watch-channel-heading .watch-heading-icon.is-channel-logo {
        flex-basis: 106px;
        width: 106px;
        height: 80px;
    }

    body.watch-page .watch-channel-live {
        margin-left: 120px;
    }
}

@media (max-width: 400px) {
    body.watch-page .watch-channel-heading .watch-heading-icon.is-channel-logo {
        flex-basis: 78px;
        width: 78px;
        height: 68px;
    }

    body.watch-page .watch-channel-live {
        margin-left: 92px;
    }
}

/* Related game cards share the index layout without the index panel's outer padding. */
.watch-related.games-content-panel {
    padding-right: 0;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
    background: transparent;
}

.watch-related.games-content-panel::before {
    content: none;
}

.watch-related:not(.games-content-panel) {
    padding-top: 0;
    border-top: 0;
}

.watch-related-rule {
    height: 2px;
    margin-bottom: 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent);
}

.watch-page .watch-channel-heading {
    margin-bottom: 0;
    border-bottom: 0;
}

.watch-player-top-rule {
    margin-bottom: 14px;
}

.watch-related .watch-related-heading {
    margin-bottom: 20px;
    text-align: left;
}

.watch-related .watch-related-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #f3f5f7;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 750;
    letter-spacing: -.02em;
}

.watch-related-title-icon {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(242, 140, 40, .22);
    border-radius: 11px;
    background: rgba(242, 140, 40, .09);
    color: var(--accent);
    font-size: 1rem;
}

/* Cryptocurrency donation details in the shared public support modal. */
.support-crypto-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.support-crypto-list.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.support-modal .modal-body > h3 {
    margin-top: 0;
}

.support-crypto {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}

.support-crypto-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.support-crypto-icon {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(242,140,40,.12);
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 800;
}

.support-crypto-heading h4 { margin: 0 0 2px; font-size: 1.02rem; font-weight: 750; }
.support-crypto-heading h4 small { color: var(--accent); font-size: .7rem; }
.support-modal .support-crypto-heading p { margin: 0; font-size: .8rem; line-height: 1.4; }

.support-crypto-details {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.support-crypto-list.is-single .support-crypto-details {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
}

.support-crypto-qr,
.support-qr-preview {
    width: 100%;
    max-width: 212px;
    padding: 7px;
    border-radius: 11px;
    background: #fff;
}

.support-crypto-qr svg,
.support-qr-preview svg { display: block; width: 100%; height: auto; }
.support-qr-preview { width: 150px; margin-top: 12px; }
.support-crypto-copy { min-width: 0; }
.support-crypto-copy small { display: block; margin-bottom: 4px; color: #aeb9c4; }
.support-crypto-copy code { display: block; margin-bottom: 12px; color: #f5f7fa; font-size: .76rem; overflow-wrap: anywhere; user-select: all; }
.support-crypto-copy .btn { font-size: .8rem; }
.support-crypto-feedback { display: block; min-height: 1.3em; margin-top: 7px; color: #aeb9c4; font-size: .73rem; }

@media (max-width: 767.98px) {
    .support-crypto-list { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
    .support-crypto-details,
    .support-crypto-list.is-single .support-crypto-details { grid-template-columns: 1fr; justify-items: start; }
    .support-crypto-qr { width: 150px; }
}

/* Public dialogs use the available screen without stretching on small devices. */
#disclaimerModal .modal-dialog,
#contactModal .modal-dialog,
#supportModal .modal-dialog {
    --bs-modal-margin: 16px;
    width: min(1320px, 92vw);
    max-width: 1320px;
    margin: 16px auto;
}

#disclaimerModal .modal-content,
#contactModal .modal-content,
#supportModal .modal-content {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: hidden;
}

#contactModal .modal-content > form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#disclaimerModal .modal-body,
#contactModal .modal-body,
#supportModal .modal-body {
    min-height: 0;
    overflow-y: auto;
}

@media (max-width: 575.98px) {
    #disclaimerModal .modal-dialog,
    #contactModal .modal-dialog,
    #supportModal .modal-dialog {
        --bs-modal-margin: 8px;
        width: calc(100vw - 16px);
        margin: 8px auto;
    }

    #disclaimerModal .modal-content,
    #contactModal .modal-content,
    #supportModal .modal-content {
        max-height: calc(100dvh - 16px);
    }
}

/* One clear header for the public contact, disclaimer and support dialogs. */
.strm-modal-header {
    position: relative;
    min-height: 100px;
    padding: 20px 26px;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
    background: #0e141c;
}

.strm-modal-header::after {
    position: absolute;
    right: 26px;
    bottom: -1px;
    left: 26px;
    height: 1px;
    background: linear-gradient(90deg, rgba(242,140,40,.5), rgba(242,140,40,0));
    content: '';
    pointer-events: none;
}

.strm-modal-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.strm-modal-heading > div { min-width: 0; }

.strm-modal-heading-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(242,140,40,.24);
    border-radius: 13px;
    background: rgba(242,140,40,.085);
    color: var(--accent);
    font-size: 1.15rem;
}

.strm-modal-kicker {
    display: block;
    color: var(--accent);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.3;
}

.strm-modal-heading .modal-title {
    margin: 4px 0 0;
    color: #f5f7fa;
    font-size: clamp(1.18rem, 2vw, 1.4rem) !important;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.strm-modal-header .btn-close {
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    padding: 10px;
    border-radius: 9px;
    background-color: rgba(255,255,255,.045);
    opacity: .8;
}

.strm-modal-header .btn-close:hover,
.strm-modal-header .btn-close:focus-visible { opacity: 1; background-color: rgba(255,255,255,.1); }

@media (max-width: 575.98px) {
    .strm-modal-header { min-height: 82px; padding: 16px; }
    .strm-modal-header::after { right: 16px; left: 16px; }
    .strm-modal-heading { gap: 10px; }
    .strm-modal-heading-icon { flex-basis: 40px; width: 40px; height: 40px; }
}

/* One catalogue at a time, with a single scroll area in the modal body. */
.catalog-modal-body { padding-top: 20px; }
.catalog-intro { font-size: .87rem; line-height: 1.5; }
.catalog-tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid rgba(255,255,255,.1); }
.catalog-tab { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 12px 3px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #a9b3bf; font-weight: 650; white-space: nowrap; }
.catalog-tab:hover, .catalog-tab:focus-visible { color: #f3f5f7; }
.catalog-tab.active { border-bottom-color: var(--accent); color: #fff; }
.catalog-tab.active i { color: var(--accent); }
.catalog-section { padding-top: 20px; }
.catalog-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.catalog-search { position: relative; flex: 1; min-width: 0; }
.catalog-search > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8995a2; pointer-events: none; }
.catalog-search > input { padding-left: 40px; }
.catalog-add-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; white-space: nowrap; }
.catalog-add-toggle[aria-expanded="true"] { background: rgba(242,140,40,.13); color: #ffaf5b; box-shadow: inset 0 0 0 1px rgba(242,140,40,.35); }
.catalog-create-form { max-width: 840px; padding: 16px 18px; margin: 14px 0 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.025); }
.catalog-create-form .form-label { margin-bottom: 7px; }
.catalog-create-form .form-control { min-height: 42px; }
.catalog-create-form .form-control::file-selector-button { border: 0; border-right: 1px solid rgba(255,255,255,.12); background: #1d2732; color: #e4eaf0; }
.catalog-create-form .form-control:hover::file-selector-button { background: #293645; }
.catalog-upload-note { display: block; margin-top: 12px; font-size: .77rem; line-height: 1.4; }
.catalog-save-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; white-space: nowrap; }
.catalog-list { overflow: visible; }
.catalog-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-height: 53px; padding: 9px 6px; border-bottom: 1px solid rgba(255,255,255,.065); }
.catalog-row:last-child { border-bottom: 0; }
.catalog-row[hidden], .catalog-no-results[hidden] { display: none !important; }
.catalog-logo { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; }
.catalog-logo-empty { display: grid; place-items: center; color: #aab3bd; }
.catalog-name { flex: 1; min-width: 0; overflow-wrap: anywhere; color: #e7ebef; }
.catalog-edit-panel { flex: 0 0 100%; min-width: 0; }
.catalog-inline-edit { display: grid; grid-template-columns: minmax(150px,.55fr) minmax(260px,2fr) auto; align-items: center; gap: 10px; padding: 10px 6px 5px; }
.catalog-inline-edit .form-control { min-width: 0; }
.catalog-file-picker { display: flex; min-width: 0; min-height: 46px; margin: 0; border: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.catalog-file-picker-button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 14px; border-right: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #f4f1eb; font-weight: 700; }
.catalog-file-picker-name { display: flex; min-width: 0; align-items: center; padding: 0 14px; overflow: hidden; color: #aeb6bf; text-overflow: ellipsis; white-space: nowrap; }
.admin-duration-default-note { display: block; margin-top: 8px; color: #ff9a3d; font-size: .78rem; font-weight: 700; }
.catalog-event-preview { display: block; width: 78px; height: 60px; margin-top: 10px; object-fit: contain; }
.catalog-event-preview[hidden] { display: none; }
.catalog-order-form { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; margin: 0; }
.catalog-order-form .form-control { width: 64px; min-height: 32px; text-align: center; }
.catalog-order-form .btn { min-width: 32px; min-height: 32px; }
.catalog-no-results { padding: 26px 6px; text-align: center; }
@media (max-width: 575.98px) {
    .catalog-tabs { gap: 17px; }
    .catalog-modal-body { padding: 17px; }
    .catalog-row { gap: 9px; }
    .catalog-create-form { padding: 15px; }
    .catalog-inline-edit { grid-template-columns: minmax(0,1fr); }
}

/* All inactive channels share the live table, without its country/status filters. */
body.admin-page .admin-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.admin-page .admin-inactive-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 530px);
    margin: -4px 0 24px;
}
body.admin-page .admin-inactive-switch[hidden] { display: none !important; }
body.admin-page .admin-inactive-switch .admin-inactive-switch-card {
    min-height: 74px;
    padding: 12px 15px;
    gap: 12px;
    border-radius: 13px;
}
body.admin-page .admin-inactive-switch .admin-overview-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
}
body.admin-page .admin-inactive-switch .admin-overview-copy strong { font-size: 1.25rem; }
body.admin-page #admin-lives-panel[data-admin-inactive-view="true"] [data-admin-country-filters],
body.admin-page #admin-games-panel[data-admin-inactive-view="true"] .admin-panel-filters,
body.admin-page #admin-lives-panel[data-admin-inactive-view="true"] .admin-panel-filters { display: none; }
body.admin-page #admin-lives-panel [data-admin-no-inactive][hidden],
body.admin-page #admin-lives-panel [data-admin-all-empty][hidden],
body.admin-page #admin-games-panel [data-admin-no-inactive-games][hidden],
body.admin-page #admin-games-panel [data-admin-all-empty][hidden] { display: none !important; }
@media (max-width: 991.98px) {
    body.admin-page .admin-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    body.admin-page .admin-overview { grid-template-columns: 1fr; }
    body.admin-page .admin-inactive-switch .admin-inactive-switch-card { padding: 11px; gap: 8px; }
}

/* Identify each sport in the mixed Featured games grid without repeating labels in sport tabs. */
.featured-game-sport-icon { display: none; }
#sport-panel-featured .game-card-top > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#sport-panel-featured .featured-game-sport-icon {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.watch-player-wrap iframe[data-stream-player]:not(.is-loaded) {
    display: none !important;
}

[data-player-load][aria-busy="true"],
[data-multistream-load][aria-busy="true"] {
    cursor: wait;
    opacity: .78;
}

[data-player-load][aria-busy="true"]::after,
[data-multistream-load][aria-busy="true"]::after {
    content: "";
    display: inline-block;
    width: .85em;
    height: .85em;
    margin-left: .65em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: strm-player-spin .7s linear infinite;
    vertical-align: -.1em;
}

@keyframes strm-player-spin { to { transform: rotate(360deg); } }

.watch-player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 18px);
    padding: 20px;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 50% 45%, #202733 0%, #10151d 70%);
}

.watch-player-start[hidden] {
    display: none;
}

.watch-player-start > i {
    color: #f69545;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
}

.watch-player-start strong {
    font-size: clamp(15px, 2vw, 21px);
}

.watch-player-start small {
    max-width: 360px;
    color: #adb3bd;
    font-size: clamp(11px, 1.5vw, 13px);
}

/* Statistics dashboard: readable summary and details across desktop and mobile. */
body.statistics-page .statistics-shell { padding-top: 28px; }
body.statistics-page .statistics-heading { align-items: center; margin-bottom: 4px; }
body.statistics-page .statistics-heading h1 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
body.statistics-page .statistics-cards.stats-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.statistics-page .statistics-card { min-height: 135px; padding: 18px; }
body.statistics-page .statistics-card > span { margin-top: 14px; }
body.statistics-page .statistics-card > strong { font-size: 1.85rem; }
.stats-refresh, .stats-period a { color: #e6eaf0; text-decoration: none; font-size: .78rem; font-weight: 700; }
.stats-refresh { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid rgba(242,140,40,.45); border-radius: 9px; white-space: nowrap; }
.stats-refresh:hover, .stats-refresh:focus-visible { background: rgba(242,140,40,.13); color: #fff; }
.stats-updated { margin: 0 0 18px; font-size: .72rem; color: #9da9b7; }
.stats-period { display: inline-flex; padding: 3px; background: #080d13; border: 1px solid #ffffff22; border-radius: 9px; white-space: nowrap; }
.stats-period a { padding: 7px 12px; border-radius: 6px; }
.stats-period a:hover, .stats-period a:focus-visible { color: #fff; background: #ffffff13; }
.stats-period a.is-active { background: #f28c28; color: #150f09; }
.stats-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding: 17px 24px 0; color: #c4ced8; font-size: .75rem; }
.stats-legend span { display: inline-flex; align-items: center; gap: 8px; }
.stats-legend i { width: 10px; height: 10px; border-radius: 3px; }
.stats-legend-views { background: #f28c28; }
.stats-legend-visitors { background: #8aa3be; }
.stats-chart-scroll { overflow-x: auto; }
body.statistics-page .statistics-chart.stats-paired-chart { width: 100%; min-width: 500px; height: 230px; display: flex; align-items: stretch; gap: 7px; padding: 18px 24px 10px; }
body.statistics-page .statistics-chart.stats-paired-chart.is-month { min-width: 1050px; }
body.statistics-page .statistics-chart-column { flex: 1; min-width: 0; }
.stats-bars { display: flex; justify-content: center; align-items: flex-end; gap: 3px; width: 100%; height: 172px; border-bottom: 1px solid #ffffff23; }
.stats-bars span { width: min(42%, 22px); border-radius: 4px 4px 0 0; }
.stats-bar-views { background: linear-gradient(#ffae60,#cf7220); }
.stats-bar-visitors { background: linear-gradient(#9eb5ce,#607f9e); }
.stats-period-summary { display: flex; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid #ffffff12; padding: 15px 24px; color: #aeb9c6; font-size: .78rem; }
.stats-period-summary strong { color: #fff; margin-left: 5px; }
.stats-top-pages { margin-bottom: 24px; }
.stats-top-pages .statistics-panel { margin-bottom: 0; }
.stats-top-pages .statistics-table td:first-child { max-width: 280px; overflow-wrap: anywhere; }
.stats-top-pages .statistics-table th:not(:first-child), .stats-top-pages .statistics-table td:not(:first-child) { text-align: right; white-space: nowrap; }
.stats-details { border: 1px solid #ffffff1b; border-radius: 14px; margin: 0 0 14px; overflow: hidden; background: #101720; color: #dce2e9; }
.stats-details summary { padding: 17px 21px; cursor: pointer; font-weight: 700; font-size: .87rem; }
.stats-details summary:hover, .stats-details summary:focus-visible { color: #ffac57; }
.stats-details-content { border-top: 1px solid #ffffff19; padding: 18px 21px; font-size: .8rem; line-height: 1.6; color: #afb9c5; }
.stats-details-content p:last-child { margin-bottom: 0; }
.stats-lifetime { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stats-lifetime > div { display: flex; flex-direction: column; gap: 4px; padding: 13px 15px; border: 1px solid #ffffff14; border-radius: 9px; }
.stats-lifetime span { color: #aab5c3; }
.stats-lifetime strong { color: #fff; font-size: 1.35rem; }
.stats-lifetime small { font-size: .7rem; }
.stats-settings { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 14px; border-top: 1px solid #ffffff1b; }
.stats-settings span { margin-right: auto; }
@media (max-width: 900px) { body.statistics-page .statistics-cards.stats-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    body.statistics-page .statistics-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    body.statistics-page .statistics-cards.stats-overview { gap: 8px; }
    body.statistics-page .statistics-card { padding: 14px; min-height: 125px; }
    body.statistics-page .statistics-panel-heading.stats-toolbar { flex-wrap: wrap; padding: 18px; }
    .stats-lifetime { grid-template-columns: 1fr; }
    .stats-period-summary, .stats-legend { padding-left: 18px; padding-right: 18px; }
}

/* Consent controls: equal first-layer choices, accessible from the footer later. */
.cookie-banner { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1085; display: grid; grid-template-columns: minmax(260px, 1fr) auto; align-items: center; gap: 24px 36px; width: 100%; padding: 22px 30px; border: 1px solid #20242a; border-radius: 0; background: #f6f6f4; color: #272b30; box-shadow: 0 -18px 58px rgba(0,0,0,.34); }
.cookie-banner-copy { min-width: 0; max-width: 790px; }
.cookie-banner-copy strong { display: block; padding-right: 30px; color: #62666b; font-size: 1.08rem; font-weight: 900; line-height: 1.2; text-transform: uppercase; }
.cookie-banner-copy p { margin: 10px 0 0; color: #666b71; font-size: .83rem; font-weight: 550; line-height: 1.5; }
.cookie-banner-actions, .cookie-modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie-banner-actions { flex-wrap: nowrap; justify-content: flex-end; }
.cookie-action { min-height: 40px; padding: 8px 14px; border: 1px solid #f28c28; border-radius: 8px; background: #f28c28; color: #171008; font-size: .8rem; font-weight: 700; cursor: pointer; }
.cookie-action-accept { background: #f28c28; color: #171008; }
.cookie-action:hover, .cookie-action:focus-visible { background: #ffa545; color: #18110a; }
.cookie-banner .cookie-action { min-height: 44px; padding: 10px 15px; border-radius: 4px; color: #fff; font-size: .78rem; font-weight: 850; white-space: nowrap; }
.cookie-banner .cookie-action-settings { border-color: #f28c28; background: transparent; color: #d66f0b; }
.cookie-banner .cookie-action-settings:hover, .cookie-banner .cookie-action-settings:focus-visible { background: #fff0e1; color: #a95000; }
.cookie-banner .cookie-action:not(.cookie-action-settings) { background: #f28c28; }
.cookie-banner .cookie-action:not(.cookie-action-settings):hover, .cookie-banner .cookie-action:not(.cookie-action-settings):focus-visible { background: #dc7310; color: #fff; }
.cookie-banner-close { display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: #5f6469; font-size: 1rem; cursor: pointer; }
.cookie-banner-close:hover, .cookie-banner-close:focus-visible { color: #111; }
.cookie-privacy-link { display: inline; margin: 0; padding: 0; border: 0; background: transparent; color: #d66f0b; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.cookie-privacy-link:hover, .cookie-privacy-link:focus-visible { color: #a95000; }
.cookie-link { padding: 7px 4px; border: 0; background: transparent; color: #f2b77e; font-size: .79rem; text-decoration: underline; cursor: pointer; }
.cookie-link:hover, .cookie-link:focus-visible { color: #fff; }
.cookie-modal .modal-content { overflow: hidden; border: 1px solid #ffffff2b; border-radius: 18px; background: #121b24; color: #f5f7fa; }
.cookie-modal .modal-header, .cookie-modal .modal-footer { padding: 19px 24px; border-color: #ffffff1f; background: #0f171f; }
.cookie-modal .modal-body { padding: 23px 26px; color: #d0d8e0; font-size: .86rem; line-height: 1.6; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 15px 0; padding: 15px 16px; border: 1px solid #ffffff24; border-radius: 10px; }
.cookie-category strong { color: #fff; }
.cookie-category p { margin: 6px 0 0; color: #b8c3ce; }
.cookie-category > span { white-space: nowrap; color: #aebcc9; font-size: .72rem; }
.cookie-switch { display: flex; flex-direction: column; gap: 4px; align-items: center; white-space: nowrap; color: #c6d0da; font-size: .72rem; }
.cookie-switch input { width: 22px; height: 22px; accent-color: #f28c28; cursor: pointer; }
.cookie-third-party { padding-top: 10px; color: #c0cbd7; }
.cookie-choice-status { margin: 0; color: #f1b879; }
.cookie-modal-actions { justify-content: flex-end; }
@media (max-width: 1050px) { .cookie-banner { grid-template-columns: 1fr; gap: 18px; } .cookie-banner-copy { max-width: none; } .cookie-banner-actions { justify-content: flex-start; } }
@media (max-width: 600px) { .cookie-banner { max-height: 100dvh; overflow-y: auto; padding: 20px 18px 16px; } .cookie-banner-copy strong { padding-right: 34px; font-size: 1rem; } .cookie-banner-copy p { font-size: .79rem; } .cookie-banner-actions { display: grid; grid-template-columns: 1fr; width: 100%; } .cookie-banner-actions .cookie-action { width: 100%; } .cookie-banner-close { position: absolute; top: 10px; right: 8px; } .cookie-category { align-items: flex-start; flex-direction: column; } .cookie-modal .modal-body { padding: 18px; } }

/* Site overview in the admin panel. */
body.admin-page #siteInfoModal .site-info-header { padding: 21px 28px; background: #101820; }
.site-info-kicker { display: block; color: #f28c28; font-size: .67rem; font-weight: 800; letter-spacing: .13em; }
body.admin-page #siteInfoModal .modal-title { margin-top: 3px; font-size: 1.4rem; font-weight: 750; }
body.admin-page #siteInfoModal .site-info-body { padding: 26px 28px 30px; background: #0d141c; }
.site-info-address { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 16px 19px; margin-bottom: 20px; border: 1px solid rgba(242,140,40,.3); border-radius: 13px; background: rgba(242,140,40,.075); }
.site-info-address > span { color: #aebac7; font-size: .8rem; }
.site-info-address > span i { margin-right: 7px; color: #f28c28; }
.site-info-address a { color: #ffad59; font-weight: 700; font-size: .88rem; overflow-wrap: anywhere; text-decoration: none; }
.site-info-address a:hover, .site-info-address a:focus-visible { color: #fff; text-decoration: underline; }
.site-info-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; margin-bottom: 24px; }
.site-info-metric { display: flex; flex-direction: column; align-items: flex-start; min-height: 135px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: #151e28; }
.site-info-metric > i { margin-bottom: 11px; color: #f28c28; font-size: 1.15rem; }
.site-info-metric > span { color: #aebac7; font-size: .78rem; }
.site-info-metric > strong { margin-top: 2px; color: #fff; font-size: 1.65rem; line-height: 1.2; }
.site-info-metric > small { margin-top: 5px; color: #aebac7; font-size: .69rem; }
.site-info-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site-info-section { min-width: 0; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: #121b24; }
.site-info-section-wide { grid-column: 1 / -1; }
.site-info-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.site-info-section-heading h3 { margin: 0; color: #f6f8fa; font-size: 1rem; font-weight: 750; }
.site-info-section-heading small { padding: 3px 8px; border-radius: 99px; background: rgba(242,140,40,.12); color: #ffad59; font-weight: 750; }
.site-info-note { margin: 0 0 14px; color: #aebac7; font-size: .74rem; line-height: 1.5; }
.site-info-status-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: .81rem; }
.site-info-status-row > span { color: #dce3eb; }
.site-info-status-row > span i { display: inline-block; width: 22px; color: #f28c28; }
.site-info-state { flex: 0 0 auto; padding: 4px 8px; border-radius: 7px; font-size: .69rem; font-weight: 750; }
.site-info-state.is-on { color: #9be6bc; background: rgba(45,170,105,.15); }
.site-info-state.is-off { color: #aebac7; background: rgba(255,255,255,.07); }
.site-info-state.is-warning { color: #ffc281; background: rgba(242,140,40,.14); }
.site-info-visibility-group { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.07); }
.site-info-visibility-group > strong { display: block; margin-bottom: 9px; color: #e8edf2; font-size: .82rem; }
.site-info-visibility-group > strong i { margin-right: 7px; color: #f28c28; }
.site-info-visibility-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.site-info-visibility-counts span { padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.055); color: #afbbc8; font-size: .72rem; }
.site-info-visibility-counts b { color: #fff; }
.site-info-catalog-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: .82rem; }
.site-info-catalog-row span { color: #dce3eb; }
.site-info-catalog-row i { display: inline-block; width: 23px; color: #f28c28; }
.site-info-catalog-row strong { color: #fff; }
.site-info-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.site-info-link { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: #19232e; }
.site-info-link > img { flex: 0 0 25px; width: 25px; height: 25px; object-fit: contain; }
.site-info-link > div { flex: 1 1 auto; min-width: 0; }
.site-info-link strong, .site-info-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-info-link strong { color: #f4f6f8; font-size: .79rem; }
.site-info-link small { color: #9eacbb; font-size: .68rem; }
.site-info-link > button, .site-info-link > a { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: transparent; color: #dce3eb; text-decoration: none; cursor: pointer; }
.site-info-link > button:hover, .site-info-link > a:hover, .site-info-link > button:focus-visible, .site-info-link > a:focus-visible { border-color: #f28c28; color: #ffad59; }
.site-info-link > button.is-copied { border-color: #4dbb7d; color: #9be6bc; }
@media (max-width: 900px) { .site-info-sections { grid-template-columns: 1fr; } .site-info-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    body.admin-page #siteInfoModal .site-info-header { padding: 16px; }
    body.admin-page #siteInfoModal .site-info-body { padding: 16px; }
    .site-info-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .site-info-metric { min-height: 120px; padding: 13px; }
    .site-info-section { padding: 15px; }
    .site-info-links { grid-template-columns: 1fr; }
}


/* Structured game editor with clearly separated groups. */
body.admin-page #createGameModal .modal-dialog,
body.admin-page #editGameModal .modal-dialog {
    width: min(1120px, calc(100vw - 32px));
    max-width: 1120px;
}

body.admin-page .admin-game-form-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    margin-top: 9px;
    padding: 11px 14px;
    border: 1px solid rgba(242, 140, 40, .18);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(242, 140, 40, .09), rgba(255, 255, 255, .018));
    color: #f5f7fa;
    text-align: left;
}

body.admin-page .admin-game-form-heading:first-child { margin-top: 0; }
body.admin-page .admin-game-form-heading > i:first-child { color: var(--accent, #f28c28); font-size: 1rem; }
body.admin-page .admin-game-form-heading > div { flex: 1 1 auto; min-width: 0; }
body.admin-page .admin-game-form-heading strong { display: block; font-size: .86rem; letter-spacing: .015em; }
body.admin-page .admin-game-form-heading small { display: block; margin-top: 2px; color: #8794a3; font-size: .7rem; font-weight: 500; }
body.admin-page button.admin-game-form-heading { width: 100%; cursor: pointer; }
body.admin-page button.admin-game-form-heading:hover,
body.admin-page button.admin-game-form-heading:focus-visible { border-color: rgba(242, 140, 40, .48); outline: none; }
body.admin-page .admin-form-chevron { color: #8e9aa8; transition: transform .2s ease; }
body.admin-page [data-provider-fields-toggle][aria-expanded="true"] .admin-form-chevron { transform: rotate(180deg); }

body.admin-page #createGameModal .modal-footer,
body.admin-page #editGameModal .modal-footer {
    position: sticky;
    z-index: 5;
    bottom: 0;
    min-height: 72px;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(17, 23, 29, .98) !important;
    backdrop-filter: blur(12px);
}

@media (max-width: 575.98px) {
    body.admin-page #createGameModal .modal-dialog,
    body.admin-page #editGameModal .modal-dialog { width: auto; max-width: none; margin: 8px; }
    body.admin-page .admin-game-form-heading { min-height: 46px; padding: 10px 12px; }
}

/* Three-step game editor. Only the current task is visible. */
body.admin-page .admin-game-wizard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: #090e13;
}

body.admin-page .admin-game-wizard-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #7f8b98;
    font-size: .78rem;
    font-weight: 750;
}

body.admin-page .admin-game-wizard-step > span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    font-size: .68rem;
}

body.admin-page .admin-game-wizard-step.is-active {
    border-color: rgba(242,140,40,.42);
    background: rgba(242,140,40,.11);
    color: #fff;
}

body.admin-page .admin-game-wizard-step.is-active > span {
    border-color: var(--accent, #f28c28);
    background: var(--accent, #f28c28);
    color: #11161c;
}

body.admin-page .admin-game-wizard-step.is-complete { color: #b9c4cf; }
body.admin-page .admin-game-wizard-step.is-complete > span { border-color: #3fc77a; color: #65e29a; }
body.admin-page .admin-game-step[hidden] { display: none !important; }

body.admin-page .admin-game-step .admin-game-form-heading {
    min-height: 0;
    margin-top: 6px;
    padding: 5px 2px 10px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
    background: transparent;
}

body.admin-page .admin-game-step .admin-game-form-heading strong {
    color: #e6ebf0;
    font-size: .78rem;
    letter-spacing: .055em;
    text-transform: uppercase;
}

body.admin-page .admin-game-step button.admin-game-form-heading {
    padding: 11px 13px;
    border: 1px solid rgba(242,140,40,.2);
    border-radius: 11px;
    background: rgba(242,140,40,.055);
}

body.admin-page .reusable-image-library {
    padding: 18px;
}

body.admin-page .reusable-image-intro {
    margin: -2px 0 16px;
    color: #8f9baa;
    font-size: .75rem;
    line-height: 1.55;
}

body.admin-page .reusable-image-card {
    height: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: rgba(7,12,17,.42);
}

body.admin-page .reusable-image-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: center;
    gap: 11px;
}

body.admin-page .reusable-image-preview {
    display: grid;
    place-items: center;
    width: 58px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: #0b1117;
}

body.admin-page .reusable-image-preview img {
    width: 46px;
    height: 38px;
    object-fit: contain;
}

body.admin-page .reusable-image-preview img[hidden] { display: none; }

body.admin-page .reusable-image-upload {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    color: #9aa6b3;
    font-size: .7rem;
    font-weight: 650;
}

/* Keep inactive-game controls aligned and usable as one compact action group. */
body.admin-page .admin-games-table .admin-game-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

body.admin-page .admin-games-table .admin-game-actions form {
    display: inline-flex;
    margin: 0;
}

body.admin-page .admin-games-table .admin-game-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    min-height: 42px;
    padding: 7px 11px;
    line-height: 1;
}

body.admin-page .admin-games-table td:last-child {
    width: 1%;
    min-width: 230px;
}

body.admin-page .admin-wizard-previous,
body.admin-page .admin-wizard-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 112px;
}

body.admin-page .admin-wizard-previous[hidden],
body.admin-page .admin-wizard-next[hidden],
body.admin-page .admin-modal-footer button[type="submit"][hidden] { display: none !important; }

/* Editing can be saved from every step, including while an older script is still cached. */
body.admin-page #editGameModal .admin-modal-footer button[type="submit"][hidden] {
    display: inline-flex !important;
}

@media (max-width: 575.98px) {
    body.admin-page .admin-game-wizard { display: flex; gap: 4px; padding: 5px; overflow-x: auto; }
    body.admin-page .admin-game-wizard-step { flex: 0 0 118px; gap: 5px; padding: 7px 5px; font-size: .68rem; }
    body.admin-page .admin-game-wizard-step > span { width: 21px; height: 21px; }
    body.admin-page .admin-wizard-previous,
    body.admin-page .admin-wizard-next { min-width: 0; }
    body.admin-page .reusable-image-picker { grid-template-columns: minmax(0, 1fr) 52px; }
    body.admin-page .reusable-image-preview { width: 52px; }
}

/* Clearer game forms: stronger labels, readable help and an explicit required-fields guide. */
body.admin-page #createGameModal .form-label,
body.admin-page #editGameModal .form-label {
    color: #eef2f6;
    font-weight: 780;
    letter-spacing: .005em;
}

body.admin-page #createGameModal .text-secondary,
body.admin-page #editGameModal .text-secondary,
body.admin-page #createGameModal .form-text,
body.admin-page #editGameModal .form-text {
    color: #9daaba !important;
    line-height: 1.45;
}

body.admin-page #createGameModal .form-control::placeholder,
body.admin-page #editGameModal .form-control::placeholder {
    color: #728091;
    opacity: 1;
}

body.admin-page #createGameModal .required-marker,
body.admin-page #editGameModal .required-marker {
    color: #ff9b3d;
    font-weight: 900;
}

body.admin-page #createGameModal .game-required-note {
    margin: 1px 0 3px;
    padding: 10px 12px;
    border: 1px solid rgba(242, 140, 40, .2);
    border-radius: 10px;
    background: rgba(242, 140, 40, .065);
    color: #c9d2dc;
    font-size: .76rem;
    line-height: 1.45;
}

/* Polished create/edit experience for games and live channels. */
body.admin-page #createGameModal .admin-modal-surface,
body.admin-page #editGameModal .admin-modal-surface,
body.admin-page #createGeneralLiveModal .admin-modal-surface,
body.admin-page #editGeneralLiveModal .admin-modal-surface {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11) !important;
    border-radius: 20px;
    background: #0d1217 !important;
    box-shadow: 0 32px 100px rgba(0, 0, 0, .72), 0 0 0 1px rgba(242, 140, 40, .035);
}

body.admin-page #createGeneralLiveModal .modal-dialog,
body.admin-page #editGeneralLiveModal .modal-dialog {
    width: min(1040px, calc(100vw - 32px));
    max-width: 1040px;
}

body.admin-page .admin-modal-title-group {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

body.admin-page .admin-modal-title-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(242, 140, 40, .35);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(242, 140, 40, .2), rgba(242, 140, 40, .06));
    color: #ff9b3d;
    font-size: 1.08rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body.admin-page .admin-modal-title-group .modal-title { margin: 0; }
body.admin-page .admin-modal-title-group p {
    margin: 4px 0 0;
    color: #8f9baa;
    font-size: .74rem;
    font-weight: 550;
    line-height: 1.35;
}

body.admin-page #createGameModal .admin-game-step,
body.admin-page #editGameModal .admin-game-step,
body.admin-page #createGeneralLiveModal .admin-game-step,
body.admin-page #editGeneralLiveModal .admin-game-step {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .018), rgba(5, 9, 13, .3));
}

body.admin-page .admin-live-wizard {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.admin-page #createGameModal .admin-game-wizard,
body.admin-page #editGameModal .admin-game-wizard {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.admin-page #createGeneralLiveModal .form-label,
body.admin-page #editGeneralLiveModal .form-label {
    color: #eef2f6;
    font-weight: 780;
}

body.admin-page #createGeneralLiveModal .text-secondary,
body.admin-page #editGeneralLiveModal .text-secondary,
body.admin-page #createGeneralLiveModal .form-text,
body.admin-page #editGeneralLiveModal .form-text {
    color: #9daaba !important;
    line-height: 1.45;
}

body.admin-page #createGeneralLiveModal .game-required-note {
    margin: 1px 0 3px;
    padding: 10px 12px;
    border: 1px solid rgba(242, 140, 40, .2);
    border-radius: 10px;
    background: rgba(242, 140, 40, .065);
    color: #c9d2dc;
    font-size: .76rem;
    line-height: 1.45;
}

body.admin-page #editGeneralLiveModal .admin-modal-footer button[type="submit"][hidden] {
    display: inline-flex !important;
}

.admin-confirm-overlay[hidden] { display: none !important; }
.admin-confirm-overlay {
    position: fixed;
    z-index: 2200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.admin-confirm-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(3, 6, 9, .76);
    backdrop-filter: blur(7px);
}

.admin-confirm-card {
    position: relative;
    width: min(500px, 100%);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: radial-gradient(circle at 8% 0, rgba(242, 140, 40, .13), transparent 36%), #12181f;
    color: #eef2f6;
    box-shadow: 0 35px 110px rgba(0, 0, 0, .82), 0 0 0 1px rgba(242, 140, 40, .07);
    animation: admin-confirm-in .18s ease-out;
}

@keyframes admin-confirm-in {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-confirm-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border: 1px solid rgba(242, 140, 40, .4);
    border-radius: 14px;
    background: rgba(242, 140, 40, .13);
    color: #ff9b3d;
    font-size: 1.2rem;
}

.admin-confirm-eyebrow {
    color: #ff9b3d;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.admin-confirm-copy h2 {
    margin: 4px 0 7px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 850;
}

.admin-confirm-copy p,
.admin-confirm-question {
    margin: 0;
    color: #9eabb9;
    font-size: .82rem;
    line-height: 1.5;
}

.admin-confirm-list {
    display: grid;
    gap: 7px;
    max-height: 230px;
    margin: 18px 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.admin-confirm-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    color: #dce3ea;
    font-size: .79rem;
    font-weight: 700;
}

.admin-confirm-list i { color: #57d58e; }
.admin-confirm-question { color: #d1d8e0; font-weight: 650; }
.admin-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

body.has-admin-confirm { overflow: hidden; }

@media (max-width: 575.98px) {
    body.admin-page #createGeneralLiveModal .modal-dialog,
    body.admin-page #editGeneralLiveModal .modal-dialog { width: auto; max-width: none; margin: 8px; }
    body.admin-page .admin-modal-title-group p { display: none; }
    body.admin-page .admin-modal-title-icon { width: 38px; height: 38px; }
    body.admin-page #createGameModal .admin-game-step,
    body.admin-page #editGameModal .admin-game-step,
    body.admin-page #createGeneralLiveModal .admin-game-step,
    body.admin-page #editGeneralLiveModal .admin-game-step { padding: 13px; }
    .admin-confirm-card { padding: 21px; border-radius: 17px; }
    .admin-confirm-actions { flex-direction: column-reverse; }
    .admin-confirm-actions .btn { width: 100%; }
}

/* V48 — fallback floating controls for utility and error pages. */
body:not(.design-preview):not(.admin-redesign) .floating-actions {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
}

body:not(.design-preview):not(.admin-redesign) .floating-actions > :is(
    .floating-support,
    .floating-disclaimer,
    .floating-contact,
    .floating-back,
    .floating-panel,
    .floating-language
) {
    min-height: 46px;
    margin: 0;
    color: var(--text);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

/* Stream option labels may contain both a language and an option name. */
.watch-stream-selector {
    flex-wrap: wrap;
}

.watch-stream-selector .stream-language-button {
    white-space: normal;
    text-align: left;
}

body:not(.design-preview):not(.admin-redesign) .floating-actions > :is(.floating-support, .floating-disclaimer, .floating-contact) {
    width: 46px;
    padding: 0;
}

body:not(.design-preview):not(.admin-redesign) .floating-actions > :is(
    .floating-support,
    .floating-disclaimer,
    .floating-contact,
    .floating-back,
    .floating-panel
):hover,
body:not(.design-preview):not(.admin-redesign) .floating-actions > :is(
    .floating-support,
    .floating-disclaimer,
    .floating-contact,
    .floating-back,
    .floating-panel
):focus-visible {
    color: var(--accent);
    background: rgba(242, 140, 40, .1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    body:not(.design-preview):not(.admin-redesign) .floating-actions {
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
