:root {
    color-scheme: dark;
    --bg: #080b10;
    --panel: #101722;
    --panel-2: #151e2b;
    --line: #253142;
    --text: #eef4ff;
    --muted: #8d9aae;
    --accent: #37d67a;
    --accent-2: #42a5ff;
    --danger: #f5b942;
    --warn: #f5b942;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.5 "Play", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 24px;
    background: rgba(8, 11, 16, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
}

.brand-mark {
    display: block;
    width: 200px;
    height: 52px;
    overflow: hidden;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--text);
    border-bottom-color: rgba(55, 214, 122, .65);
}

.sport-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    min-width: 0;
}

.sport-nav > a,
.sport-menu-toggle,
.admin-link,
.source-pill {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d121a;
    color: var(--muted);
    white-space: nowrap;
}

.sport-nav > a,
.sport-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sport-nav > a.active,
.sport-nav > a:hover,
.sport-menu-toggle:hover,
.sport-menu-toggle[aria-expanded="true"],
.admin-link:hover,
.source-pill.active {
    color: var(--text);
    border-color: #3f526d;
    background: var(--panel-2);
}

.sport-menu {
    position: relative;
    flex: 0 0 auto;
}

.sport-menu-toggle {
    min-height: 38px;
    font: inherit;
    cursor: pointer;
}

.sport-menu-mobile-label {
    display: none;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.sport-menu-chevron {
    width: 8px;
    height: 8px;
    margin: -4px 2px 0 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.sport-menu-toggle[aria-expanded="true"] .sport-menu-chevron {
    margin-top: 3px;
    transform: rotate(225deg);
}

.sport-menu-layer {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    width: min(460px, calc(100vw - 32px));
}

.sport-menu-layer[hidden] {
    display: none;
}

.sport-menu-backdrop {
    position: fixed;
    z-index: 0;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: default;
}

.sport-menu-panel {
    position: relative;
    z-index: 1;
    max-height: min(70vh, 560px);
    padding: 18px;
    overflow-y: auto;
    border: 1px solid #324258;
    border-radius: 14px;
    background: #101823;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .48);
}

.sport-menu-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.sport-menu-head > div {
    display: grid;
    gap: 3px;
}

.sport-menu-head strong {
    color: var(--text);
    font-size: 18px;
}

.sport-menu-head span,
.sport-menu-group-title {
    color: var(--muted);
    font-size: 12px;
}

.sport-menu-close {
    display: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #0b1119;
    color: var(--text);
    font-size: 24px;
    line-height: 1;
}

.sport-menu-all,
.sport-menu-grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #0b1119;
    color: var(--muted);
}

.sport-menu-all {
    justify-content: space-between;
    margin-bottom: 14px;
}

.sport-menu-all:hover,
.sport-menu-grid a:hover,
.sport-menu-all.active,
.sport-menu-grid a.active {
    border-color: rgba(55, 214, 122, .52);
    background: rgba(55, 214, 122, .1);
    color: var(--text);
}

.sport-menu-group + .sport-menu-group {
    margin-top: 16px;
}

.sport-menu-group-title {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sport-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.sport-menu-grid a > span:not(.sport-icon),
.sport-menu-mobile-label > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sport-menu-grid small {
    min-width: 22px;
    margin-left: auto;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(55, 214, 122, .15);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    text-align: center;
}

.admin-link {
    margin-left: auto;
}

.shell {
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 44px;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.dashboard-main {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.dashboard-sidebar {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 12px;
    min-width: 0;
}

.showcase-dashboard {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-section,
.dashboard-panel {
    min-width: 0;
}

.dashboard-live-section {
    position: relative;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(55, 214, 122, .32);
    border-radius: 10px;
    background:
        radial-gradient(circle at 16% 0%, rgba(55, 214, 122, .16), transparent 34%),
        linear-gradient(145deg, rgba(55, 214, 122, .095), rgba(66, 165, 255, .035) 58%, transparent),
        rgba(8, 11, 16, .72);
    box-shadow:
        0 0 0 1px rgba(55, 214, 122, .07),
        0 24px 58px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .025);
}

.dashboard-live-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), rgba(66, 165, 255, .75), transparent);
    opacity: .82;
}

.dashboard-live-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-live-kicker::before {
    content: "";
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(55, 214, 122, .55);
    animation: live-pulse 1.35s infinite;
}

.dashboard-section-head,
.dashboard-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.dashboard-head-copy {
    min-width: 0;
}

.dashboard-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.dashboard-section-head h1,
.dashboard-section-head h2,
.dashboard-panel-head h2 {
    margin: 0;
    line-height: 1.1;
}

.dashboard-section-head h1 {
    font-size: 30px;
}

.mobile-title,
.mobile-feed-toolbar,
.mobile-showcase-filterbar {
    display: none;
}

.dashboard-section-head h2,
.dashboard-panel-head h2 {
    font-size: 22px;
}

.dashboard-section-note,
.dashboard-panel-head a,
.dashboard-link {
    color: var(--muted);
    font-size: 13px;
}

.dashboard-panel-head a:hover,
.dashboard-link:hover {
    color: var(--accent);
}

.dashboard-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 9px;
    border-radius: 7px;
    background: rgba(66, 165, 255, .18);
    color: #8cc8ff;
    font-weight: 900;
}

.dashboard-total.is-live {
    background: rgba(55, 214, 122, .18);
    color: var(--accent);
}

.ghost-button.dashboard-filter-toggle {
    display: none;
    min-height: 36px;
    padding: 8px 10px;
    border-color: rgba(55, 214, 122, .28);
    font-size: 13px;
}

.ghost-button.dashboard-filter-toggle.is-active {
    color: var(--accent);
    border-color: rgba(55, 214, 122, .48);
    background: rgba(55, 214, 122, .08);
}

.dashboard-live-board,
.dashboard-feed,
.dashboard-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(55, 214, 122, .045), transparent 42%),
        rgba(16, 23, 34, .86);
    box-shadow: 0 20px 46px rgba(0, 0, 0, .18);
}

.dashboard-live-board {
    overflow: hidden;
    border-color: rgba(55, 214, 122, .28);
    background:
        linear-gradient(145deg, rgba(55, 214, 122, .075), transparent 48%),
        rgba(16, 23, 34, .94);
}

.dashboard-live-board.is-collapsible:not(.is-expanded) > .dashboard-live-row.is-live-overflow {
    display: none;
}

.dashboard-live-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 10px 18px;
    border: 0;
    border-top: 1px solid rgba(55, 214, 122, .24);
    background:
        linear-gradient(90deg, rgba(55, 214, 122, .09), transparent 70%),
        rgba(11, 17, 25, .9);
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.dashboard-live-more:hover,
.dashboard-live-more:focus-visible {
    background:
        linear-gradient(90deg, rgba(55, 214, 122, .16), transparent 74%),
        rgba(15, 24, 34, .98);
}

.dashboard-live-more:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
}

.dashboard-live-more-chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}

.dashboard-live-board.is-expanded .dashboard-live-more-chevron {
    transform: translateY(2px) rotate(225deg);
}

.dashboard-live-row {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr) 58px;
    gap: 22px;
    align-items: start;
    min-height: 148px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(37, 49, 66, .78);
}

.dashboard-live-row:last-child {
    border-bottom: 0;
}

.dashboard-live-row:hover {
    background: rgba(21, 30, 43, .72);
}

.dashboard-live-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    border: 1px solid rgba(55, 214, 122, .3);
    border-radius: 10px;
    background: #05080c;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, .32),
        0 0 0 1px rgba(255, 255, 255, .025) inset;
}

.dashboard-live-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 6, 10, .02), rgba(3, 6, 10, .18)),
        linear-gradient(90deg, rgba(55, 214, 122, .1), transparent 42%);
    pointer-events: none;
}

.dashboard-live-row:hover .dashboard-live-thumb {
    border-color: rgba(55, 214, 122, .55);
    box-shadow:
        0 20px 38px rgba(0, 0, 0, .36),
        0 0 24px rgba(55, 214, 122, .12);
}

.dashboard-live-thumb img,
.dashboard-feed-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-live-badge,
.dashboard-status-badge,
.dashboard-feed-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-live-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    min-height: 28px;
    border-radius: 7px;
    background: rgba(55, 214, 122, .92);
    color: #06120b;
    box-shadow: 0 0 22px rgba(55, 214, 122, .26);
}

.dashboard-live-badge:not(.is-stale) {
    display: none;
}

.dashboard-live-badge.is-stale {
    background: rgba(255, 190, 92, .94);
    color: #1c1304;
    box-shadow: 0 0 22px rgba(255, 190, 92, .22);
}

.dashboard-live-info {
    position: relative;
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dashboard-live-info-overlay,
.match-card-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.dashboard-live-info-overlay:focus-visible,
.match-card-overlay:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
}

.dashboard-live-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    width: fit-content;
}

.dashboard-live-mobile-actions {
    display: none;
}

.dashboard-live-info strong,
.dashboard-feed-title strong {
    color: var(--text);
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
}

.dashboard-live-info strong {
    font-size: 20px;
}

.dashboard-live-info span,
.dashboard-live-info small,
.dashboard-feed-title small,
.dashboard-channel-title small {
    color: var(--muted);
    font-size: 13px;
}

.time-chip {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: start;
    width: fit-content;
    min-height: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 18, 26, .86);
    color: var(--muted);
}

.time-chip strong,
.time-chip small {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.time-chip strong {
    padding: 0 9px;
    background: rgba(141, 154, 174, .12);
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.time-chip small {
    gap: 7px;
    padding: 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.time-chip small b {
    color: var(--text);
    font-size: 15px;
}

.time-chip.is-live {
    border-color: rgba(55, 214, 122, .35);
    background: rgba(55, 214, 122, .08);
}

.time-chip.is-live strong {
    background: rgba(55, 214, 122, .2);
    color: var(--accent);
}

.time-chip.is-live small b {
    color: #dfffe9;
}

.time-chip.is-upcoming {
    border-color: rgba(66, 165, 255, .32);
    background: rgba(66, 165, 255, .07);
}

.time-chip.is-upcoming strong {
    background: rgba(66, 165, 255, .18);
    color: #8cc8ff;
}

.time-chip.is-delayed {
    border-color: rgba(255, 190, 92, .36);
    background: rgba(255, 190, 92, .08);
}

.time-chip.is-delayed strong {
    background: rgba(255, 190, 92, .18);
    color: var(--warn);
}

.time-chip.is-stale {
    border-color: rgba(255, 190, 92, .42);
    background: rgba(255, 190, 92, .09);
}

.time-chip.is-stale strong {
    background: rgba(255, 190, 92, .2);
    color: var(--warn);
}

.time-chip.is-unknown strong {
    color: var(--warn);
}

.dashboard-play-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: linear-gradient(145deg, #50e38a, #239d55);
    box-shadow: 0 12px 24px rgba(55, 214, 122, .18);
}

.dashboard-play-button::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
}

.dashboard-status-badge.is-upcoming,
.dashboard-feed-status.is-upcoming {
    background: rgba(66, 165, 255, .18);
    color: #8cc8ff;
}

.dashboard-status-badge.is-delayed,
.dashboard-feed-status.is-delayed {
    background: rgba(255, 190, 92, .18);
    color: var(--warn);
}

.dashboard-status-badge.is-stale,
.dashboard-feed-status.is-stale {
    background: rgba(255, 190, 92, .2);
    color: var(--warn);
}

.dashboard-feed-status.is-live {
    background: rgba(55, 214, 122, .18);
    color: var(--accent);
}

.viewer-count-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(55, 214, 122, .34);
    border-radius: 999px;
    background: rgba(55, 214, 122, .09);
    color: #dfffe9;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.viewer-count-badge.is-compact {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
}

.viewer-count-badge.is-live-chip {
    min-height: 34px;
    padding: 0 10px;
    border-color: rgba(55, 214, 122, .35);
    border-radius: 8px;
    background: rgba(55, 214, 122, .08);
    color: #dfffe9;
    font-size: 12px;
}

.dashboard-feed {
    --feed-timeline-width: 104px;
    display: grid;
    gap: 12px;
    padding: 16px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(55, 214, 122, .025), transparent 38%),
        rgba(7, 11, 17, .72);
}

.dashboard-feed-day {
    position: relative;
    display: grid;
    grid-template-columns: var(--feed-timeline-width) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 64px;
    margin-top: 10px;
    padding: 0;
}

.dashboard-feed-day:first-child {
    margin-top: 0;
}

.dashboard-feed-day::before {
    content: "";
    position: absolute;
    top: 50%;
    bottom: -18px;
    left: calc(var(--feed-timeline-width) - 1px);
    width: 2px;
    background: linear-gradient(180deg, rgba(66, 165, 255, .78), rgba(66, 165, 255, .22));
}

.dashboard-feed-day-key {
    position: relative;
    display: grid;
    justify-items: end;
    gap: 1px;
    min-width: 0;
    padding-right: 18px;
    text-align: right;
}

.dashboard-feed-day-key b {
    color: #8cc8ff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.dashboard-feed-day-key strong {
    color: #f2f8ff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;
    white-space: nowrap;
}

.dashboard-feed-day-key small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
}

.dashboard-feed-day-key i {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    border: 3px solid #0b1119;
    border-radius: 50%;
    background: #42a5ff;
    box-shadow: 0 0 0 2px rgba(66, 165, 255, .32), 0 0 16px rgba(66, 165, 255, .34);
    transform: translateY(-50%);
}

.dashboard-feed-day-rule {
    height: 1px;
    background: linear-gradient(90deg, rgba(66, 165, 255, .5), rgba(37, 49, 66, .34) 55%, transparent);
}

.dashboard-feed-day.is-live::before,
.dashboard-feed-day.is-today::before {
    background: linear-gradient(180deg, rgba(55, 214, 122, .88), rgba(55, 214, 122, .24));
}

.dashboard-feed-day.is-live .dashboard-feed-day-key b,
.dashboard-feed-day.is-today .dashboard-feed-day-key b {
    color: var(--accent);
}

.dashboard-feed-day.is-live .dashboard-feed-day-key i,
.dashboard-feed-day.is-today .dashboard-feed-day-key i {
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(55, 214, 122, .32), 0 0 18px rgba(55, 214, 122, .4);
}

.dashboard-feed-day.is-live .dashboard-feed-day-rule,
.dashboard-feed-day.is-today .dashboard-feed-day-rule {
    background: linear-gradient(90deg, rgba(55, 214, 122, .56), rgba(37, 49, 66, .34) 55%, transparent);
}

.dashboard-feed-row {
    position: relative;
    display: grid;
    grid-template-columns: var(--feed-timeline-width) minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
    min-height: 112px;
    padding: 0;
}

.dashboard-feed-row-link {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.dashboard-feed-row-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
}

.dashboard-feed-timeline {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: end;
    gap: 3px;
    min-width: 0;
    min-height: 100%;
    padding: 17px 18px 14px 0;
    text-align: right;
}

.dashboard-feed-timeline::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -1px;
    bottom: -18px;
    width: 2px;
    background: rgba(66, 165, 255, .34);
}

.dashboard-feed-timeline::after {
    content: "";
    position: absolute;
    top: 28px;
    right: -18px;
    width: 18px;
    height: 1px;
    background: rgba(66, 165, 255, .5);
}

.dashboard-feed-timeline time {
    color: #f2f8ff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
}

.dashboard-feed-timeline small {
    color: #8cc8ff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.dashboard-feed-timeline i {
    position: absolute;
    z-index: 1;
    top: 22px;
    right: -7px;
    width: 14px;
    height: 14px;
    border: 3px solid #0b1119;
    border-radius: 50%;
    background: #42a5ff;
    box-shadow: 0 0 0 2px rgba(66, 165, 255, .22);
}

.dashboard-feed-timeline.status-live::before,
.dashboard-feed-timeline.status-live::after {
    background: rgba(55, 214, 122, .48);
}

.dashboard-feed-timeline.status-live small,
.dashboard-feed-timeline.status-live time {
    color: #dfffe9;
}

.dashboard-feed-timeline.status-live i {
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(55, 214, 122, .26), 0 0 18px rgba(55, 214, 122, .42);
}

.dashboard-feed-timeline.status-delayed::before,
.dashboard-feed-timeline.status-delayed::after,
.dashboard-feed-timeline.status-stale::before,
.dashboard-feed-timeline.status-stale::after {
    background: rgba(255, 190, 92, .48);
}

.dashboard-feed-timeline.status-delayed small,
.dashboard-feed-timeline.status-delayed time,
.dashboard-feed-timeline.status-stale small,
.dashboard-feed-timeline.status-stale time {
    color: var(--warn);
}

.dashboard-feed-timeline.status-delayed i,
.dashboard-feed-timeline.status-stale i {
    background: var(--warn);
    box-shadow: 0 0 0 2px rgba(255, 190, 92, .24);
}

.dashboard-feed-card {
    position: relative;
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    grid-template-areas:
        "thumb title"
        "thumb footer";
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    min-width: 0;
    min-height: 112px;
    padding: 14px 16px;
    overflow: hidden;
    border: 1px solid rgba(49, 66, 88, .9);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(66, 165, 255, .045), transparent 48%),
        rgba(16, 23, 34, .94);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.dashboard-feed-row:hover .dashboard-feed-card {
    border-color: rgba(90, 116, 151, .9);
    background:
        linear-gradient(145deg, rgba(66, 165, 255, .07), transparent 48%),
        rgba(19, 28, 41, .98);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
}

.dashboard-feed-row.is-live .dashboard-feed-card {
    border-color: rgba(55, 214, 122, .34);
    background:
        linear-gradient(110deg, rgba(55, 214, 122, .13), rgba(55, 214, 122, .025) 48%, transparent 82%),
        rgba(16, 24, 34, .96);
}

.dashboard-feed-row.is-live .dashboard-feed-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(55, 214, 122, .52);
}

.dashboard-feed-mobile-time {
    display: none;
}

.dashboard-feed-time .time-chip,
.dashboard-feed-actions .time-chip {
    align-self: start;
    display: inline-flex;
    align-items: stretch;
    width: fit-content;
    min-height: 34px;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
}

.dashboard-feed-time {
    display: grid;
    grid-area: time;
    align-self: start;
    justify-items: end;
    gap: 6px;
}

.dashboard-feed-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: fit-content;
    margin-top: 5px;
}

.dashboard-feed-time .viewer-count-badge,
.dashboard-feed-actions .viewer-count-badge {
    max-width: 88px;
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
}

.dashboard-feed-time .time-chip strong,
.dashboard-feed-time .time-chip small,
.dashboard-feed-actions .time-chip strong,
.dashboard-feed-actions .time-chip small {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    min-height: 32px;
}

.dashboard-feed-time .time-chip strong,
.dashboard-feed-actions .time-chip strong {
    gap: 5px;
    margin-bottom: 0;
    padding: 0 9px;
    background: rgba(141, 154, 174, .12);
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

.dashboard-feed-time .time-chip small,
.dashboard-feed-actions .time-chip small {
    gap: 6px;
    padding: 0 10px;
    line-height: 1;
}

.dashboard-feed-time .time-chip small span,
.dashboard-feed-actions .time-chip small span {
    color: var(--muted);
    font-size: 11px;
}

.dashboard-feed-time .time-chip small b,
.dashboard-feed-actions .time-chip small b {
    font-size: 18px;
    line-height: 1;
}

.dashboard-feed-time .time-chip.is-live,
.dashboard-feed-actions .time-chip.is-live {
    border-color: rgba(55, 214, 122, .38);
    background: rgba(55, 214, 122, .12);
}

.dashboard-feed-time .time-chip.is-upcoming,
.dashboard-feed-actions .time-chip.is-upcoming {
    border-color: rgba(66, 165, 255, .34);
    background: rgba(66, 165, 255, .1);
}

.dashboard-feed-time .time-chip.is-delayed,
.dashboard-feed-actions .time-chip.is-delayed {
    border-color: rgba(255, 190, 92, .38);
    background: rgba(255, 190, 92, .12);
}

.dashboard-feed-row.is-live .dashboard-feed-title strong {
    color: #f5fff8;
}

.dashboard-feed-media {
    display: grid;
    grid-area: thumb;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    width: 205px;
    min-width: 0;
}

.dashboard-feed-row.is-context-feed .dashboard-feed-media {
    grid-template-columns: minmax(0, 205px);
    width: 205px;
}

.dashboard-feed-channel {
    display: none;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
}

.dashboard-feed-channel > span:last-child {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dashboard-feed-channel-logo {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    overflow: hidden;
    border: 1px solid rgba(141, 154, 174, .34);
    border-radius: 50%;
    background: rgba(8, 11, 16, .82);
}

.dashboard-feed-channel-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-feed-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #05080c;
}

.dashboard-feed-title {
    display: grid;
    gap: 4px;
    align-self: start;
    min-width: 0;
}

.dashboard-feed-footer {
    display: flex;
    grid-area: footer;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.dashboard-feed-footer .dashboard-feed-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.dashboard-feed-teams {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-width: 0;
}

.dashboard-feed-title-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
}

.dashboard-feed-title-channel > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.dashboard-feed-title small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-feed-viewers {
    display: none;
}

.dashboard-live-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.dashboard-live-info .dashboard-live-meta,
.dashboard-live-info .dashboard-live-meta > span:first-child {
    color: var(--muted);
    font-size: 13px;
}

.dashboard-live-info .viewer-count-badge {
    color: #dfffe9;
    font-size: 12px;
}

.dashboard-feed-status-stack {
    display: grid;
    grid-area: status;
    align-self: start;
    justify-items: end;
    gap: 6px;
}

.dashboard-panel {
    padding: 18px;
}

.dashboard-channel-panel {
    display: grid;
    gap: 14px;
}

.dashboard-channel-panel .dashboard-panel-head {
    margin-bottom: 0;
}

.dashboard-channel-search {
    display: grid;
    gap: 6px;
}

.dashboard-channel-search span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.dashboard-channel-search input {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #0d121a;
}

.dashboard-channel-list {
    display: grid;
    gap: 2px;
}

.dashboard-channel-panel.is-expanded .dashboard-channel-list,
.dashboard-channel-panel.is-searching .dashboard-channel-list {
    max-height: min(62vh, 640px);
    overflow-y: auto;
    padding-right: 4px;
}

.dashboard-channel-shell {
    min-width: 0;
}

.dashboard-channel-shell.is-hidden {
    display: none;
}

.dashboard-channel-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 66px;
    padding: 8px 0;
}

.dashboard-channel-shell + .dashboard-channel-shell {
    border-top: 1px solid rgba(37, 49, 66, .42);
}

.dashboard-channel-item:hover .dashboard-channel-title strong {
    color: var(--accent);
}

.dashboard-channel-logo {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-2);
    color: var(--accent);
    font-weight: 900;
}

.dashboard-channel-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-channel-title {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.dashboard-channel-title strong {
    overflow: hidden;
    display: -webkit-box;
    line-height: 1.18;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dashboard-channel-title small {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
    line-height: 1.2;
}

.dashboard-channel-summary {
    grid-column: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-top: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
}

.dashboard-channel-summary > span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.dashboard-channel-summary > span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    margin-right: 5px;
    border-radius: 50%;
    background: rgba(141, 154, 174, .55);
}

.dashboard-channel-summary b {
    color: #748196;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.dashboard-channel-summary .is-planned.has-value,
.dashboard-channel-summary .is-planned.has-value b {
    color: var(--accent);
}

.dashboard-channel-summary .is-archive.has-value b {
    color: var(--text);
}

.dashboard-channel-more {
    width: 100%;
    min-height: 38px;
}

.dashboard-channel-empty {
    padding: 12px 0 0;
    font-size: 13px;
}

.channels-page {
    display: grid;
    gap: 22px;
}

.channels-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    gap: 20px;
    align-items: end;
    padding: 22px;
    border: 1px solid rgba(66, 165, 255, .24);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(55, 214, 122, .09), rgba(66, 165, 255, .045) 58%, transparent),
        rgba(12, 17, 25, .84);
}

.channels-hero h1 {
    margin: 3px 0 6px;
    font-size: 54px;
    line-height: .95;
}

.channels-hero p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

.channels-total-grid span {
    display: grid;
    gap: 2px;
    min-height: 62px;
    padding: 10px;
    border: 1px solid rgba(37, 49, 66, .82);
    border-radius: 8px;
    background: rgba(8, 11, 16, .56);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.channels-total-grid b {
    color: var(--text);
    font-size: 23px;
    line-height: 1;
}

.channel-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.channel-filter-summary,
.channel-audience-mobile {
    display: none;
}

.channel-filters label {
    display: grid;
    gap: 5px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.channel-filters input,
.channel-filters select,
.channel-filters .primary-button,
.channel-filters .ghost-button {
    min-height: 42px;
}

.channel-filters .primary-button,
.channel-filters .ghost-button {
    white-space: nowrap;
}

.channels-section-head {
    margin-bottom: -6px;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.channel-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(66, 165, 255, .045), transparent 62%),
        rgba(13, 18, 26, .9);
}

.channel-card.is-live {
    border-color: rgba(55, 214, 122, .34);
    background:
        linear-gradient(145deg, rgba(55, 214, 122, .105), rgba(66, 165, 255, .035) 62%, transparent),
        rgba(13, 18, 26, .94);
}

.channel-card-link {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    min-height: 188px;
    padding: 16px;
}

.channel-card-logo {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-2);
    color: var(--accent);
    font-size: 22px;
    font-weight: 900;
}

.channel-card-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-card-body {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.channel-card-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.channel-card-body strong {
    overflow-wrap: anywhere;
    font-size: 20px;
    line-height: 1.12;
}

.channel-card-body small {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--muted);
}

.channel-status,
.channel-provider {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(141, 154, 174, .12);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.channel-status.is-live {
    background: rgba(55, 214, 122, .16);
    color: var(--accent);
}

.channel-status.is-upcoming {
    background: rgba(66, 165, 255, .16);
    color: #8cc8ff;
}

.channel-provider {
    border: 1px solid rgba(141, 154, 174, .18);
    background: transparent;
}

.channel-card-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-self: end;
}

.channel-card-stats span {
    display: grid;
    gap: 2px;
    min-height: 58px;
    padding: 9px;
    border: 1px solid rgba(37, 49, 66, .78);
    border-radius: 7px;
    background: rgba(8, 11, 16, .38);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.15;
}

.channel-card-stats b {
    color: var(--text);
    font-size: 19px;
    line-height: 1;
}

.channel-card-stats .has-live,
.channel-card-stats .has-live b {
    color: var(--accent);
}

.channel-card-stats .has-planned,
.channel-card-stats .has-planned b {
    color: #8cc8ff;
}

.channel-card-footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    color: var(--muted);
    font-size: 13px;
}

.channel-card-footer b {
    color: var(--text);
}

.channel-card-action {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 7px;
    background: rgba(55, 214, 122, .12);
    color: var(--accent);
    font-weight: 900;
    white-space: nowrap;
}

.channel-card:hover {
    border-color: rgba(55, 214, 122, .36);
}

.channel-card:hover .channel-card-action {
    background: var(--accent);
    color: #06120b;
}

.channels-empty {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.dashboard-empty {
    display: grid;
    gap: 6px;
    padding: 18px;
    color: var(--muted);
}

.dashboard-empty strong {
    color: var(--text);
}

.dashboard-empty-live {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 86px;
    padding: 6px 0 2px;
}

.dashboard-empty-live > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dashboard-empty-live strong {
    font-size: 19px;
    line-height: 1.2;
}

.dashboard-empty-live span {
    line-height: 1.35;
}

.dashboard-empty-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(55, 214, 122, .34);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(55, 214, 122, .18), transparent 63%),
        rgba(55, 214, 122, .08);
    box-shadow: 0 0 28px rgba(55, 214, 122, .12);
}

.dashboard-empty-icon::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid var(--accent);
}

.dashboard-empty-live .ghost-button {
    min-height: 38px;
    white-space: nowrap;
}

.showcase-dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
}

.showcase-dashboard-hero .showcase-title-block {
    gap: 14px;
}

.showcase-dashboard-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.08;
}

.showcase-dashboard-hero p {
    margin: 0;
    max-width: 460px;
}

.showcase-dashboard-hero .hero-actions {
    flex-wrap: wrap;
}

.showcase-dashboard-hero .primary-button,
.showcase-dashboard-hero .ghost-button {
    min-height: 40px;
    padding: 8px 13px;
}

.showcase-dashboard .showcase-logo {
    border-color: var(--showcase-accent, var(--accent));
}

.showcase-dashboard .eyebrow {
    color: var(--showcase-accent, var(--accent));
}

.showcase-dashboard .primary-button {
    background: var(--showcase-accent, var(--accent));
}

.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: end;
    padding: 36px 0 30px;
    border-bottom: 1px solid var(--line);
}

.hero h1 {
    max-width: 760px;
    margin: 8px 0 12px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: .96;
    letter-spacing: 0;
}

.hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.eyebrow {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
}

.sport-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    vertical-align: middle;
}

.sport-label > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sport-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    background: currentColor;
    color: currentColor;
    -webkit-mask: var(--sport-icon) center / contain no-repeat;
    mask: var(--sport-icon) center / contain no-repeat;
}

.sport-label-separator {
    margin: 0 4px;
    color: var(--muted);
}

.audience-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.audience-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border: 1px solid rgba(66, 165, 255, .28);
    border-radius: 999px;
    background: rgba(66, 165, 255, .1);
    color: #b7d8ff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

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

.primary-button,
.ghost-button,
button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
}

.primary-button,
button {
    background: var(--accent);
    color: #07120b;
}

.ghost-button {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 28px 0 14px;
}

.section-head h1,
.section-head h2 {
    margin: 0;
}

.archive-head {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.completed-block .archive-head {
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
}

.finished-head-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.finished-date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.finished-date-filter select {
    min-width: 126px;
    min-height: 38px;
    padding: 0 34px 0 12px;
}

.finished-head-tools strong {
    color: var(--text);
}

.archive-team-reset {
    width: fit-content;
    min-height: 38px;
    margin-top: 14px;
    padding: 0 14px;
}

.archive-filter-panel {
    margin: 28px 0 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.archive-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 74px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.archive-filter-toggle::-webkit-details-marker {
    display: none;
}

.archive-filter-toggle-copy {
    display: grid;
    gap: 4px;
}

.archive-filter-toggle-copy strong {
    font-size: 17px;
}

.archive-filter-toggle-copy > span {
    color: var(--muted);
    font-size: 13px;
}

.archive-filter-toggle-state {
    display: flex;
    align-items: center;
    gap: 12px;
}

.archive-filter-toggle-state b {
    display: grid;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    place-items: center;
    border: 1px solid rgba(55, 214, 122, .38);
    border-radius: 999px;
    color: var(--green);
    background: rgba(55, 214, 122, .1);
    font-size: 12px;
}

.archive-filter-toggle-action {
    display: none;
}

.archive-filter-toggle-action .is-open {
    display: none;
}

.archive-filter-panel[open] .archive-filter-toggle-action .is-closed {
    display: none;
}

.archive-filter-panel[open] .archive-filter-toggle-action .is-open {
    display: inline;
}

.archive-filter-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .18s ease;
}

.archive-filter-panel[open] .archive-filter-chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.archive-filter-panel[open] .archive-filter-toggle {
    border-bottom: 1px solid var(--line);
}

.archive-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    align-items: end;
    margin: 0;
    padding: 18px;
    border: 0;
    background: transparent;
}

.archive-search {
    grid-column: span 2;
}

.archive-filters label {
    gap: 5px;
    font-size: 12px;
}

.archive-filters input,
.archive-filters select,
.archive-filters .primary-button,
.archive-filters .ghost-button {
    min-height: 44px;
}

.archive-filters .primary-button,
.archive-filters .ghost-button {
    white-space: nowrap;
}

.archive-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    grid-column: 1 / -1;
}

.dashboard-audience-panel {
    padding: 14px;
}

.dashboard-audience-panel .dashboard-panel-head {
    align-items: flex-start;
}

.audience-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 23, 34, .72);
}

.audience-filters.is-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.audience-filters label {
    flex: 0 1 190px;
    gap: 5px;
    font-size: 12px;
}

.audience-filters select,
.audience-filters .primary-button,
.audience-filters .ghost-button {
    min-height: 40px;
}

.showcase-dashboard .audience-filters {
    margin-top: -6px;
}

.mobile-showcase-filterbar {
    min-width: 0;
}

.active-audience-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.dashboard-panel-head .active-audience-chips {
    justify-content: flex-end;
    max-width: 170px;
    margin-top: 0;
}

.audience-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border: 1px solid rgba(55, 214, 122, .28);
    border-radius: 999px;
    background: rgba(55, 214, 122, .08);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.audience-filter-drawer[hidden] {
    display: none;
}

.audience-filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    align-items: end;
}

.audience-filter-backdrop {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(3, 6, 10, .68);
}

.audience-filter-sheet {
    position: relative;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px 18px 0 0;
    background: #101722;
    box-shadow: 0 -24px 54px rgba(0, 0, 0, .42);
}

.audience-filter-sheet header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.audience-filter-sheet h2 {
    margin: 3px 0 0;
    font-size: 22px;
}

.audience-filters.is-drawer {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.has-audience-filter-drawer {
    overflow: hidden;
}

@media (min-width: 921px) {
    .audience-filter-drawer {
        display: none !important;
    }
}

.archive-live-empty[hidden] {
    display: none;
}

.section-head span,
.muted {
    color: var(--muted);
}

#live h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#live h2::before {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(55, 214, 122, .12);
}

#live > span {
    color: var(--accent);
}

.match-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 420px));
    gap: 12px;
    justify-content: start;
    align-items: start;
}

.match-list.archive-results {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    width: 100%;
    justify-content: stretch;
}

.match-list.archive-results .load-item {
    width: 100%;
}

.match-list.archive-results .match-card {
    max-width: none;
    height: 100%;
}

.match-list.compact {
    grid-template-columns: 1fr;
}

.load-item {
    min-width: 0;
}

.load-item > .match-card {
    max-width: none;
}

.load-item.is-hidden {
    display: none;
}

.load-more {
    justify-self: center;
    width: auto;
    min-width: 176px;
    justify-content: center;
    padding-inline: 18px;
    background: var(--accent);
    color: #07120b;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(55, 214, 122, .12);
}

.load-more:hover {
    filter: brightness(1.05);
}

.match-card,
.empty-card,
.tournament-card,
.login-panel,
.admin-content,
.admin-menu,
.player-panel,
.match-side {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.match-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    max-width: 420px;
}

.player-panel {
    min-width: 0;
    overflow: hidden;
}

.match-card.is-live {
    border-color: rgba(55, 214, 122, .56);
    background:
        linear-gradient(145deg, rgba(55, 214, 122, .09), rgba(16, 23, 34, 0) 48%),
        var(--panel);
    box-shadow:
        0 0 0 1px rgba(55, 214, 122, .1),
        0 14px 38px rgba(10, 68, 38, .27);
}

.match-card.is-live::after {
    content: "";
    position: absolute;
    top: 0;
    left: -32%;
    z-index: 1;
    width: 54%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(55, 214, 122, .95), transparent);
    box-shadow: 0 0 13px rgba(55, 214, 122, .65);
    pointer-events: none;
    animation: live-card-signal 3.2s ease-in-out infinite;
}

.match-card.is-live .match-thumb {
    border-bottom-color: rgba(55, 214, 122, .3);
}

.match-card.is-live:hover {
    border-color: rgba(55, 214, 122, .8);
    box-shadow:
        0 0 0 1px rgba(55, 214, 122, .16),
        0 16px 42px rgba(10, 68, 38, .36);
}

.match-card-link {
    position: relative;
    display: grid;
    gap: 9px;
    padding: 14px;
    min-width: 0;
    overflow: hidden;
    min-height: 0;
}

.match-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: -14px -14px 2px;
    border-bottom: 1px solid var(--line);
    background: #05080c;
    width: calc(100% + 28px) !important;
    max-width: calc(100% + 28px) !important;
    min-width: 0;
}

.match-thumb img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.match-team-list,
.admin-team-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.match-card-link > .match-team-list,
.dashboard-live-info > .match-team-list {
    position: relative;
    z-index: 2;
}

.match-team-chip,
.admin-team-chips > span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid rgba(80, 201, 135, .28);
    border-radius: 999px;
    background: rgba(55, 214, 122, .08);
    color: #9ef0bf;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

a.match-team-chip:hover {
    border-color: rgba(80, 201, 135, .58);
    background: rgba(55, 214, 122, .16);
    color: #c7f8d9;
}

.team-fact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dashboard-live-info .match-team-list,
.dashboard-feed-teams .match-team-list {
    gap: 4px;
}

.dashboard-live-info .match-team-chip,
.dashboard-feed-teams .match-team-chip {
    min-height: 22px;
    padding: 3px 7px;
    font-size: 11px;
}

.match-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.match-card .time-chip {
    margin-top: 2px;
}

.match-card-mobile-schedule {
    display: none;
}

.match-card small {
    color: var(--muted);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.match-card .share-actions {
    padding: 10px 14px 12px;
    border-top: 1px solid var(--line);
}

.copy-action {
    gap: 6px;
    min-height: 32px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #0d121a;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.copy-action svg {
    display: block;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.copy-action:hover,
.copy-action:focus-visible {
    border-color: #3f526d;
    background: var(--panel-2);
    color: var(--text);
}

.copy-action.is-copied {
    border-color: rgba(55, 214, 122, .4);
    background: rgba(55, 214, 122, .12);
    color: var(--accent);
}

.copy-action.is-failed {
    border-color: rgba(245, 185, 66, .4);
    color: var(--danger);
}

.match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-live {
    background: rgba(55, 214, 122, .14);
    color: var(--accent);
}

.badge.status-live::before {
    content: "";
    display: block;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(55, 214, 122, .55);
    animation: live-pulse 1.35s infinite;
}

.status-upcoming {
    background: rgba(66, 165, 255, .14);
    color: var(--accent-2);
}

.status-delayed {
    background: rgba(255, 190, 92, .16);
    color: var(--warn);
}

.status-stale {
    background: rgba(255, 190, 92, .18);
    color: var(--warn);
}

.status-finished,
.status-muted {
    background: rgba(141, 154, 174, .15);
    color: var(--muted);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(260px, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.tournament-list {
    display: grid;
    gap: 10px;
}

.day-panel {
    min-width: 0;
}

.timeline {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 23, 34, .55);
}

.timeline-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 10px 2px;
    color: var(--muted);
}

.timeline-group-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.timeline-group-label strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.timeline-group-label.is-today strong,
.timeline-group-label.is-live strong {
    border-color: rgba(55, 214, 122, .38);
    background: rgba(55, 214, 122, .14);
    color: var(--accent);
}

.timeline > .load-item:first-child .timeline-group-label {
    margin-top: 2px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 54px 10px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px;
    border-radius: var(--radius);
}

.timeline .load-more {
    margin-top: 4px;
}

.timeline-item:hover {
    background: var(--panel-2);
}

.timeline-item.is-live {
    background: linear-gradient(90deg, rgba(55, 214, 122, .1), rgba(55, 214, 122, 0) 76%);
}

.timeline-item.is-live:hover {
    background: linear-gradient(90deg, rgba(55, 214, 122, .16), rgba(55, 214, 122, .03) 76%);
}

.timeline-time {
    display: grid;
    gap: 1px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.15;
}

.timeline-time strong {
    color: var(--text);
    font-size: 13px;
}

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

.timeline-time .live-now {
    color: var(--accent);
}

.timeline-time .stale-now {
    color: var(--warn);
}

.timeline-dot {
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border-radius: 50%;
}

.timeline-dot.status-live {
    background: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 0 rgba(55, 214, 122, .55);
    animation: live-pulse 1.35s infinite;
}

@keyframes live-pulse {
    70% {
        box-shadow: 0 0 0 7px rgba(55, 214, 122, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(55, 214, 122, 0);
    }
}

@keyframes live-card-signal {
    0%,
    15% {
        transform: translateX(0);
        opacity: 0;
    }
    26% {
        opacity: 1;
    }
    74% {
        opacity: 1;
    }
    100% {
        transform: translateX(245%);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .badge.status-live::before,
    .timeline-dot.status-live,
    .match-card.is-live::after {
        animation: none;
    }

    .match-card.is-live::after {
        left: 0;
        width: 100%;
        opacity: 1;
    }
}

.timeline-body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.timeline-body strong {
    overflow-wrap: anywhere;
    white-space: normal;
}

.timeline-body small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timeline-body strong {
    font-size: 14px;
}

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

.tournament-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 14px;
}

.tournament-logo {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--panel-2);
    border: 1px solid var(--line);
    color: var(--accent);
    font-weight: 900;
}

.tournament-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tournament-info {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.tournament-info > span:first-child {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.tournament-info > span,
.tournament-card small {
    color: var(--muted);
}

.tournament-info strong,
.tournament-info > span,
.tournament-info small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.watch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

.player-frame {
    aspect-ratio: 16 / 9;
    background: #030507;
    border-bottom: 1px solid var(--line);
}

.player-frame.is-notice {
    display: grid;
    min-height: 390px;
    aspect-ratio: auto;
}

.player-frame iframe,
.player-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.empty-player {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--muted);
}

.player-notice {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    height: 100%;
    padding: 28px;
    background:
        radial-gradient(circle at 22% 26%, rgba(255, 190, 92, .14), transparent 36%),
        linear-gradient(145deg, rgba(10, 15, 23, .96), rgba(5, 8, 13, .98));
}

.player-notice .eyebrow {
    color: var(--warn);
}

.player-notice > div {
    min-width: 0;
}

.player-notice h2 {
    margin: 8px 0;
    color: var(--text);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.player-notice p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.player-notice-icon {
    position: relative;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 190, 92, .42);
    border-radius: 50%;
    background: rgba(255, 190, 92, .1);
}

.player-notice-icon::before,
.player-notice-icon::after {
    content: "";
    position: absolute;
    background: var(--warn);
}

.player-notice-icon::before {
    top: 18px;
    left: 35px;
    width: 6px;
    height: 28px;
    border-radius: 999px;
}

.player-notice-icon::after {
    left: 35px;
    bottom: 19px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.player-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.player-notice-actions a {
    min-width: 0;
    text-align: center;
}

.source-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
}

.player-share-actions {
    padding: 12px;
}

.match-side {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 18px;
    background:
        linear-gradient(145deg, rgba(55, 214, 122, .055), transparent 44%),
        var(--panel);
}

.match-side h1 {
    margin: 12px 0 0;
    font-size: 30px;
    line-height: 1.05;
}

.match-side-head {
    display: grid;
    gap: 6px;
    justify-items: start;
}

.fact-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.fact-list div {
    display: grid;
    gap: 2px;
}

.fact-list dt {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.fact-list dd {
    margin: 0;
}

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

.match-facts div {
    padding: 12px;
    border: 1px solid rgba(37, 49, 66, .82);
    border-radius: 8px;
    background: rgba(13, 18, 26, .58);
}

.match-facts dt {
    margin-bottom: 5px;
    letter-spacing: .02em;
}

.match-facts dd {
    color: var(--text);
    font-weight: 800;
    line-height: 1.25;
}

.match-facts a {
    color: var(--text);
}

.match-facts a:hover {
    color: var(--accent);
}

.report-box,
.form-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

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

.form-grid.single {
    grid-template-columns: 1fr;
}

.form-grid .wide,
.form-grid button {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #090d14;
    color: var(--text);
    padding: 10px 11px;
}

textarea {
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox input {
    width: auto;
}

.notice {
    margin: 14px 0;
    padding: 12px;
    border: 1px solid rgba(55, 214, 122, .28);
    border-radius: var(--radius);
    background: rgba(55, 214, 122, .1);
}

.notice.error {
    border-color: rgba(245, 185, 66, .35);
    background: rgba(245, 185, 66, .1);
}

.empty-card {
    grid-column: 1 / -1;
    padding: 18px;
    color: var(--muted);
}

.hero-stat {
    display: grid;
    gap: 4px;
    min-width: 180px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.hero-stat strong {
    font-size: 48px;
    line-height: 1;
}

.tournament-title-block {
    display: grid;
    grid-template-columns: var(--hero-logo-column, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.tournament-title-block.has-logo {
    --hero-logo-column: 78px minmax(0, 1fr);
}

.hero-logo {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .25);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-hero {
    border-bottom-color: var(--showcase-accent, var(--accent));
}

.showcase-title-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.showcase-title-block.has-logo {
    grid-template-columns: 88px minmax(0, 1fr);
}

.showcase-logo {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border: 2px solid var(--showcase-accent, var(--accent));
    border-radius: 50%;
    background: var(--panel);
}

.showcase-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-hero .eyebrow {
    color: var(--showcase-accent, var(--accent));
}

.showcase-hero .primary-button {
    background: var(--showcase-accent, var(--accent));
}

.showcase-content {
    margin-top: 4px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    min-width: 0;
}

.admin-menu {
    display: grid;
    gap: 6px;
    position: sticky;
    top: 96px;
    padding: 12px;
}

.admin-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 700;
}

.admin-menu a.active,
.admin-menu a:hover {
    background: var(--panel-2);
    color: var(--text);
}

.admin-menu-title {
    margin: 4px 12px 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-menu small {
    min-width: 25px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #0b1119;
    color: var(--muted);
    text-align: center;
}

.admin-menu a.active small {
    color: var(--accent);
}

.admin-menu-status {
    display: grid;
    gap: 2px;
    margin-top: 16px;
    padding: 14px 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.admin-menu-status strong {
    color: var(--accent);
    font-size: 28px;
    line-height: 1;
}

.admin-content {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.admin-page,
.admin-page .shell,
.admin-page .topbar,
.admin-layout,
.admin-content,
.admin-panel,
.admin-records,
.admin-table,
.admin-table > article {
    max-width: 100%;
}

.login-panel {
    max-width: 460px;
    margin: 60px auto;
    padding: 28px;
}

.login-panel h1 {
    margin: 0 0 8px;
}

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

.admin-heading h1 {
    margin: 5px 0 0;
    font-size: 38px;
    line-height: 1;
}

.admin-heading > span {
    color: var(--muted);
    white-space: nowrap;
}

.admin-heading-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    white-space: nowrap;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.dashboard-cards div {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-2);
}

.dashboard-cards strong {
    font-size: 36px;
}

.dashboard-cards .live strong {
    color: var(--accent);
}

.dashboard-cards span,
.admin-table span {
    color: var(--muted);
}

.admin-table .status-live {
    color: var(--accent);
}

.admin-table .status-upcoming {
    color: var(--accent-2);
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
    gap: 14px;
    margin-top: 20px;
}

.admin-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.admin-panel-head h2 {
    margin: 0;
    font-size: 20px;
}

.admin-panel-head a {
    color: var(--accent);
    font-weight: 700;
}

.module-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
}

.module-panel h2 {
    margin: 4px 0 8px;
    font-size: 22px;
}

.module-panel p {
    margin: 0;
    max-width: 680px;
    color: var(--muted);
}

.module-toggle-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.module-toggle-form button {
    width: 150px;
    flex: 0 0 150px;
    white-space: nowrap;
}

.switch-control {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(88px, 1fr);
    align-items: center;
    gap: 10px;
    width: 160px;
    flex: 0 0 160px;
    min-height: 42px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0c1119;
    cursor: pointer;
}

.switch-control input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.switch-control span {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: rgba(141, 154, 174, .18);
    box-shadow: inset 0 0 0 1px rgba(141, 154, 174, .22);
}

.switch-control span::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--muted);
    transition: transform .16s ease, background .16s ease;
}

.switch-control input:checked + span {
    background: rgba(55, 214, 122, .2);
    box-shadow: inset 0 0 0 1px rgba(55, 214, 122, .42);
}

.switch-control input:checked + span::before {
    transform: translateX(18px);
    background: var(--accent);
}

.switch-control strong {
    color: var(--text);
    text-align: left;
    white-space: nowrap;
}

.dashboard-broadcasts {
    margin-top: 20px;
}

.dashboard-stream-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 10px;
}

.dashboard-stream-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0c1119;
}

.dashboard-stream-thumb {
    display: block;
    width: 150px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--panel-2);
}

.dashboard-stream-thumb.is-empty {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 11px;
}

.dashboard-stream-info {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}

.dashboard-stream-info > span {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-stream-info strong {
    overflow: hidden;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.dashboard-stream-info .admin-actions {
    grid-row: auto;
    grid-column: auto;
}

.quick-actions {
    display: grid;
    gap: 8px;
}

.quick-actions a {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0c1119;
    font-weight: 700;
}

.quick-actions a:hover {
    border-color: rgba(55, 214, 122, .42);
    color: var(--accent);
}

.dashboard-events {
    display: grid;
}

.dashboard-events a {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.dashboard-events a:last-child {
    border-bottom: 0;
}

.dashboard-events time {
    color: var(--muted);
}

.admin-workspace {
    display: grid;
    grid-template-columns: minmax(330px, 424px) minmax(420px, 1fr);
    gap: 14px;
    align-items: start;
}

.admin-editor {
    position: sticky;
    top: 96px;
}

.admin-editor .form-grid {
    margin-top: 0;
}

.admin-editor label small {
    color: var(--muted);
    font-weight: 400;
}

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.admin-filters label {
    flex: 1 1 190px;
    max-width: 270px;
    font-size: 12px;
}

.admin-filters select,
.admin-filters input {
    min-height: 44px;
    margin-top: 5px;
    background: var(--panel);
}

.admin-filter-search {
    flex-basis: 280px !important;
    max-width: 360px !important;
}

.admin-table {
    display: grid;
    gap: 8px;
}

.admin-table > article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    min-width: 0;
    max-width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0c1119;
}

.admin-table > article[hidden] {
    display: none;
}

.admin-table article > span:not(.admin-actions) {
    grid-column: 1;
}

.admin-match-media {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-match-card {
    grid-template-columns: 1fr;
}

.admin-match-card .admin-actions {
    grid-row: auto;
    grid-column: 1;
    justify-content: flex-end;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.admin-match-thumb {
    flex: 0 0 124px;
    width: 124px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--panel-2);
}

.admin-match-thumb.is-empty {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 11px;
}

.admin-match-info {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.admin-match-info strong {
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.admin-match-info > span {
    color: var(--muted);
}

.admin-match-channel {
    overflow: hidden;
    color: var(--accent-2);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-table a {
    color: var(--accent);
    font-weight: 800;
}

.admin-table a.primary-button,
.admin-table .primary-button {
    color: #07120b;
}

.action-link {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 800;
}

.action-link:hover {
    color: #7fe7ad;
    background: transparent;
}

.admin-actions {
    grid-row: 1 / span 4;
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-actions form {
    margin: 0;
}

.danger-button {
    min-height: 34px;
    padding: 7px 10px;
    background: rgba(245, 185, 66, .13);
    border-color: rgba(245, 185, 66, .32);
    color: #ffd27a;
}

.stop-button {
    min-height: 34px;
    padding: 7px 10px;
    border-color: rgba(255, 180, 74, .34);
    background: rgba(255, 180, 74, .12);
    color: #ffc36a;
}

.stop-button:hover {
    border-color: rgba(255, 180, 74, .62);
    background: rgba(255, 180, 74, .2);
}

.channel-name {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.channel-name img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--line);
}

.showcase-admin-logo {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 1px solid var(--showcase-accent, var(--accent));
    border-radius: 50%;
    background: var(--panel-2);
    color: var(--showcase-accent, var(--accent));
    font-weight: 900;
}

.showcase-admin-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-channel-picker {
    display: grid;
    gap: 8px;
    max-height: 265px;
    overflow-y: auto;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.showcase-channel-picker legend {
    padding: 0 6px;
    color: var(--muted);
    font-weight: 700;
}

.showcase-channel-picker .checkbox {
    min-height: 35px;
    padding: 4px 0;
}

.showcase-channel-picker small {
    color: var(--muted);
}

html.telegram-app body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

html.telegram-app .topbar {
    position: static;
    padding-top: max(10px, env(safe-area-inset-top, 10px));
}

html.telegram-app .shell {
    padding-bottom: max(28px, env(safe-area-inset-bottom, 28px));
}

html.telegram-app .footer {
    padding-bottom: max(22px, env(safe-area-inset-bottom, 22px));
}

.channel-name div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.channel-title-block strong {
    line-height: 1.2;
}

.channel-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
    line-height: 18px;
}

.admin-table .channel-meta .sport-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 18px;
    min-width: 0;
    line-height: 18px;
}

.admin-table .channel-meta .sport-icon {
    display: block;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    transform: translateY(-1px);
}

.admin-table .channel-meta .sport-label > span:last-child,
.channel-source-tag {
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-table .channel-meta .sport-label > span:last-child,
.channel-meta-separator,
.channel-source-tag {
    display: inline-flex;
    align-items: center;
    height: 18px;
    line-height: 18px;
}

.channel-meta-separator {
    color: rgba(141, 154, 174, .58);
}

.channel-state {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(141, 154, 174, .12);
    font-size: 12px;
    font-weight: 700;
}

.channel-state.active {
    background: rgba(55, 214, 122, .12);
    color: var(--accent);
}

.channel-url {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.parse-result {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(55, 214, 122, .32);
    border-radius: var(--radius);
    background: rgba(55, 214, 122, .07);
}

.parse-result.is-error {
    border-color: rgba(245, 185, 66, .36);
    background: rgba(245, 185, 66, .08);
}

.parse-result-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    min-width: 0;
}

.parse-result-head > div {
    min-width: 0;
}

.parse-result h2 {
    overflow-wrap: anywhere;
    margin: 3px 0 2px;
}

.parse-result-head span {
    color: var(--muted);
}

.parse-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 140px));
    gap: 8px;
}

.parse-stats div {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid rgba(55, 214, 122, .22);
    border-radius: var(--radius);
    background: #0b1213;
}

.parse-stats strong {
    font-size: 28px;
    color: var(--accent);
}

.parse-stats span {
    color: var(--muted);
}

.parse-details summary {
    cursor: pointer;
    color: var(--muted);
    font-weight: 700;
}

.parse-details {
    min-width: 0;
    max-width: 100%;
}

.parse-details pre {
    max-width: 100%;
    margin: 12px 0 0;
    padding: 12px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #080c12;
    color: var(--muted);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.parse-button {
    min-height: 34px;
    padding: 7px 12px;
    border-color: rgba(55, 214, 122, .46);
    background: linear-gradient(180deg, #42df82, #2ab966);
    color: #06120b;
    box-shadow: 0 10px 20px rgba(55, 214, 122, .16);
}

.parse-button:hover,
.parse-button:focus-visible {
    border-color: rgba(85, 236, 139, .68);
    background: linear-gradient(180deg, #55ec8b, #31c970);
    color: #06120b;
}

.admin-table .parse-button span {
    color: inherit;
}

.parse-button [data-loading] {
    display: none;
}

.parse-button.is-loading {
    pointer-events: none;
    opacity: .85;
    color: #06120b;
}

.parse-button.is-loading [data-idle] {
    display: none;
}

.parse-button.is-loading [data-loading] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.parse-button.is-loading [data-loading]::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid rgba(7, 18, 11, .26);
    border-top-color: #07120b;
    border-radius: 50%;
    animation: admin-spin .7s linear infinite;
}

.admin-dialog {
    width: min(620px, calc(100% - 28px));
    max-height: calc(100vh - 36px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--text);
}

.admin-dialog::backdrop {
    background: rgba(2, 5, 10, .78);
    backdrop-filter: blur(3px);
}

.dialog-card {
    margin: 0;
    padding: 20px;
}

.dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
    margin-bottom: 2px;
}

.dialog-head h2 {
    margin: 4px 0 0;
    color: var(--text);
}

.dialog-close {
    display: grid;
    place-items: center;
    width: 38px;
    min-height: 38px;
    padding: 0;
    background: transparent;
    border-color: var(--line);
    color: var(--muted);
    font-size: 25px;
    line-height: 1;
}

.dialog-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0c1119;
}

.dialog-preview img {
    flex: 0 0 160px;
    width: 160px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

.dialog-preview div {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.dialog-preview strong {
    line-height: 1.3;
}

.dialog-preview span,
.dialog-card label small {
    color: var(--muted);
    font-weight: 400;
}

.admin-team-picker {
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0c1119;
}

.admin-team-picker legend {
    padding: 0 6px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.admin-team-picker > input {
    min-height: 40px;
}

.admin-team-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-height: 170px;
    margin-top: 9px;
    padding-right: 4px;
    overflow: auto;
}

.admin-team-options .checkbox {
    width: auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel-2);
    cursor: pointer;
}

.admin-team-options .checkbox:has(input:checked) {
    border-color: rgba(55, 214, 122, .55);
    background: rgba(55, 214, 122, .12);
    color: #b8f6cf;
}

.admin-team-options [data-team-option][hidden] {
    display: none;
}

.admin-team-options small {
    margin-left: 4px;
}

.admin-team-new {
    display: grid;
    gap: 5px;
    margin-top: 12px;
}

.admin-team-empty {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.dialog-actions button {
    grid-column: auto;
}

body.has-modal {
    overflow: hidden;
}

.admin-empty {
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}

@keyframes admin-spin {
    to {
        transform: rotate(360deg);
    }
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.footer a {
    color: var(--accent);
    font-weight: 400;
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent-2);
}

code {
    color: var(--accent);
}

@media (max-width: 1240px) {
    .topbar {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .primary-nav {
        order: 3;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        overflow: visible;
    }

    .primary-nav a {
        justify-content: center;
    }

    .sport-nav {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        margin-left: auto;
    }

    .sport-menu {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    .sport-nav > .sport-all-link,
    .sport-nav > .sport-quick-link {
        display: none;
    }

    .sport-menu-desktop-label {
        display: none;
    }

    .sport-menu-mobile-label {
        display: inline-flex;
        flex: 1 1 auto;
        max-width: 100%;
        overflow: hidden;
    }

    .sport-menu-toggle {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 40px;
    }

    .sport-menu-mobile-label .sport-icon,
    .sport-menu-chevron {
        flex: 0 0 auto;
    }

    .sport-menu-toggle.has-selection {
        border-color: rgba(55, 214, 122, .48);
        background: rgba(55, 214, 122, .08);
        color: var(--text);
    }

    .sport-menu-layer {
        position: fixed;
        z-index: 100;
        inset: 0;
        display: flex;
        align-items: flex-end;
        width: auto;
        padding: 10px;
    }

    .sport-menu-backdrop {
        background: rgba(3, 7, 12, .76);
        backdrop-filter: blur(4px);
    }

    .sport-menu-panel {
        width: 100%;
        max-height: min(78vh, 680px);
        border-radius: 16px;
    }

    .sport-menu-close {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
    }

    body.has-sport-menu {
        overflow: hidden;
    }

    body.has-sport-menu .topbar {
        backdrop-filter: none;
    }
}

@media (max-width: 920px) {
    .admin-link {
        margin-left: 0;
    }

    .hero,
    .dashboard-shell,
    .content-grid,
    .watch-grid,
    .admin-layout,
    .module-panel {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        display: block;
        width: 100%;
        overflow-x: hidden;
    }

    .dashboard-sidebar {
        position: static;
    }

    .dashboard-audience-panel {
        display: none;
    }

    .ghost-button.dashboard-filter-toggle {
        display: inline-flex;
    }

    .admin-page {
        overflow-x: hidden;
    }

    .admin-page .shell {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        overflow-x: hidden;
    }

    .admin-page .topbar {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .admin-page .sport-nav {
        min-width: 0;
        max-width: 100%;
    }

    .admin-heading-actions {
        max-width: 100%;
        white-space: normal;
    }

    .admin-heading h1 {
        overflow-wrap: anywhere;
    }

    .admin-menu {
        max-width: 100%;
        overflow: hidden;
    }

    .admin-menu a {
        min-width: 0;
    }

    .admin-menu a span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-actions {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .admin-actions a,
    .admin-actions button {
        min-width: 0;
    }

    .admin-filters label {
        min-width: 0;
    }

    .admin-table,
    .admin-table > article,
    .admin-match-card,
    .dashboard-stream-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .dashboard-stream-info > span,
    .dashboard-stream-info strong,
    .admin-match-channel,
    .channel-url {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .dashboard-channel-panel {
        overflow: hidden;
    }

    .dashboard-channel-panel:not(.is-expanded):not(.is-searching) .dashboard-channel-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 0 2px 4px;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .dashboard-channel-panel:not(.is-expanded):not(.is-searching) .dashboard-channel-list::-webkit-scrollbar {
        display: none;
    }

    .dashboard-channel-panel:not(.is-expanded):not(.is-searching) .dashboard-channel-shell {
        flex: 0 0 218px;
        scroll-snap-align: start;
    }

    .dashboard-channel-panel.is-expanded .dashboard-channel-list,
    .dashboard-channel-panel.is-searching .dashboard-channel-list {
        display: grid;
        max-height: min(62vh, 620px);
        overflow-y: auto;
        padding-right: 4px;
    }

    .dashboard-channel-shell + .dashboard-channel-shell {
        border-top: 0;
    }

    .dashboard-channel-panel.is-expanded .dashboard-channel-shell + .dashboard-channel-shell,
    .dashboard-channel-panel.is-searching .dashboard-channel-shell + .dashboard-channel-shell {
        border-top: 1px solid rgba(37, 49, 66, .42);
    }

    .dashboard-channel-item {
        min-height: 106px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background:
            linear-gradient(145deg, rgba(55, 214, 122, .045), transparent 54%),
            rgba(13, 18, 26, .88);
    }

    .dashboard-channel-panel.is-expanded .dashboard-channel-item,
    .dashboard-channel-panel.is-searching .dashboard-channel-item {
        min-height: 70px;
        padding: 10px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .dashboard-channel-summary {
        grid-column: 1 / -1;
        padding-top: 7px;
    }

    .dashboard-channel-panel.is-expanded .dashboard-channel-summary,
    .dashboard-channel-panel.is-searching .dashboard-channel-summary {
        grid-column: 2;
        padding-top: 0;
    }

    .module-toggle-form {
        align-items: stretch;
        flex-direction: column;
    }

    .module-toggle-form button,
    .switch-control {
        width: 100%;
        flex-basis: auto;
    }

    .admin-menu,
    .admin-editor {
        position: static;
    }

    .admin-menu {
        display: flex;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
        overflow-x: auto;
        padding: 8px;
        scrollbar-width: none;
    }

    .admin-menu::-webkit-scrollbar {
        display: none;
    }

    .admin-menu-title,
    .admin-menu-status {
        display: none;
    }

    .admin-menu a {
        flex: 0 0 auto;
        min-width: auto;
        min-height: 38px;
        padding: 8px 10px;
        white-space: nowrap;
    }

    .admin-menu a span {
        overflow: visible;
        text-overflow: clip;
    }

    .admin-content {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .admin-workspace,
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stream-grid {
        grid-template-columns: 1fr;
    }

    .match-list {
        grid-template-columns: minmax(0, 420px);
    }

    .match-list.archive-results {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        justify-content: stretch;
    }

    .form-grid,
    .dashboard-cards {
        grid-template-columns: 1fr;
    }

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

    .channels-hero,
    .channel-filters {
        grid-template-columns: 1fr;
    }

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

    .channel-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .archive-search {
        grid-column: 1 / -1;
    }

    .footer {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .admin-page {
        overflow-x: hidden;
    }

    .shell {
        width: min(100% - 20px, 1320px);
        padding-top: 14px;
    }

    .archive-team-hero {
        gap: 16px;
        padding: 26px 0 22px;
    }

    .archive-team-hero h1 {
        font-size: 36px;
    }

    .archive-team-hero .hero-stat {
        display: flex;
        align-items: baseline;
        gap: 8px;
        min-width: 0;
        padding: 13px 16px;
    }

    .archive-team-hero .hero-stat strong {
        font-size: 32px;
    }

    .admin-page .shell {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        overflow-x: hidden;
    }

    .topbar {
        padding: 10px;
    }

    .admin-page .topbar {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .primary-nav {
        gap: 0;
    }

    .primary-nav a {
        justify-content: center;
        min-height: 36px;
        padding: 0 6px;
        font-size: 13px;
    }

    .sport-nav {
        max-width: none;
    }

    .brand-mark {
        width: 160px;
        height: 42px;
    }

    .dashboard-section-head,
    .dashboard-panel-head,
    .showcase-dashboard-hero {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-live-section .dashboard-section-head {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .dashboard-live-kicker {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .dashboard-live-section .dashboard-section-head h1 {
        font-size: 27px;
        line-height: 1.02;
    }

    .dashboard-live-section .desktop-title {
        display: none;
    }

    .dashboard-live-section .mobile-title {
        display: inline;
    }

    .dashboard-head-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 132px;
    }

    .dashboard-live-section .dashboard-section-note {
        display: none;
    }

    .dashboard-live-section .active-audience-chips {
        display: none;
    }

    .showcase-dashboard-hero {
        padding: 14px;
    }

    .showcase-dashboard-hero .showcase-title-block.has-logo {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
    }

    .showcase-dashboard-hero .showcase-logo {
        width: 54px;
        height: 54px;
    }

    .showcase-dashboard-hero h1 {
        margin-bottom: 6px;
        font-size: 28px;
    }

    .showcase-dashboard-hero .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dashboard-live-section {
        padding: 12px;
    }

    .dashboard-live-section.is-empty {
        padding: 14px;
    }

    .dashboard-live-section.is-empty .dashboard-section-head {
        margin-bottom: 0;
    }

    .dashboard-live-section.is-empty .dashboard-live-kicker,
    .dashboard-live-section.is-empty .dashboard-total,
    .dashboard-live-section.is-empty .dashboard-empty-live {
        display: none;
    }

    .dashboard-live-section .dashboard-filter-toggle {
        display: inline-flex;
    }

    .mobile-feed-toolbar {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .showcase-dashboard .audience-filters.is-showcase-inline {
        display: none;
    }

    .mobile-showcase-filterbar {
        display: grid;
        gap: 8px;
        margin-top: -12px;
    }

    .mobile-showcase-filterbar .mobile-filter-button {
        width: 100%;
    }

    .mobile-showcase-filterbar .active-audience-chips {
        flex-wrap: nowrap;
        margin: 0;
        padding-bottom: 2px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .mobile-showcase-filterbar .active-audience-chips::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 9px 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #0d121a;
        color: var(--text);
        font-size: 13px;
        font-weight: 900;
        line-height: 1.1;
    }

    .mobile-filter-button.is-active {
        border-color: rgba(55, 214, 122, .48);
        background: rgba(55, 214, 122, .1);
        color: var(--accent);
    }

    #feed > .active-audience-chips {
        margin: 0 0 10px;
    }

    .active-audience-chips.is-removable .audience-filter-chip {
        text-decoration: none;
    }

    .active-audience-chips.is-removable .audience-filter-chip span {
        margin-left: 4px;
        color: currentColor;
        opacity: .8;
    }

    .dashboard-empty-live {
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-areas:
            "icon text"
            "button button";
        align-items: center;
        gap: 10px 12px;
        min-height: 0;
        padding: 10px 0 0;
    }

    .dashboard-empty-live .dashboard-empty-icon {
        grid-area: icon;
        width: 42px;
        height: 42px;
    }

    .dashboard-empty-live .dashboard-empty-icon::before {
        margin-left: 3px;
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 13px;
    }

    .dashboard-empty-live > div {
        grid-area: text;
        gap: 3px;
    }

    .dashboard-empty-live strong {
        font-size: 17px;
    }

    .dashboard-empty-live > div span {
        display: -webkit-box;
        overflow: hidden;
        font-size: 13px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .dashboard-empty-live .ghost-button {
        grid-area: button;
        width: 100%;
        min-height: 36px;
    }

    .match-card-mobile-schedule {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    .match-card-status-desktop,
    .match-card-link > .time-chip {
        display: none;
    }

    .match-card-mobile-schedule .badge {
        min-height: 24px;
        padding: 0 8px;
        font-size: 9px;
        line-height: 1;
    }

    .match-card-mobile-schedule .time-chip {
        display: inline-flex;
        align-items: stretch;
        width: fit-content;
        height: 24px;
        min-height: 24px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border-radius: 7px;
        box-shadow: none;
    }

    .match-card-mobile-schedule .time-chip strong,
    .match-card-mobile-schedule .time-chip small {
        display: inline-flex;
        align-items: center;
        height: 24px;
        min-height: 24px;
        line-height: 1;
    }

    .match-card-mobile-schedule .time-chip strong {
        padding: 0 8px;
        font-size: 9px;
    }

    .match-card-mobile-schedule .time-chip small {
        gap: 5px;
        padding: 0 8px;
        font-size: 10px;
    }

    .match-card-mobile-schedule .time-chip small span,
    .match-card-mobile-schedule .time-chip small b {
        display: inline-flex;
        align-items: center;
        height: 24px;
        line-height: 1;
    }

    .match-card-mobile-schedule .time-chip small b {
        font-size: 13px;
    }

    .dashboard-live-row {
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        min-height: 0;
        padding: 10px;
    }

    .dashboard-live-more {
        min-height: 50px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .dashboard-feed {
        gap: 10px;
        padding: 10px;
    }

    .dashboard-feed-day {
        display: block;
        min-height: 58px;
        margin-top: 8px;
        padding: 11px 13px;
        border: 1px solid rgba(66, 165, 255, .32);
        border-left-width: 3px;
        border-radius: 8px;
        background:
            linear-gradient(90deg, rgba(66, 165, 255, .19), transparent 78%),
            rgba(13, 20, 30, .94);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
    }

    .dashboard-feed-day:first-child {
        margin-top: 0;
    }

    .dashboard-feed-day::before,
    .dashboard-feed-day-rule,
    .dashboard-feed-day-key i {
        display: none;
    }

    .dashboard-feed-day-key {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "eyebrow weekday"
            "date weekday";
        align-items: center;
        justify-items: start;
        gap: 3px 10px;
        padding: 0;
        text-align: left;
    }

    .dashboard-feed-day-key b {
        grid-area: eyebrow;
        font-size: 10px;
    }

    .dashboard-feed-day-key strong {
        grid-area: date;
        font-size: 19px;
        line-height: 1;
    }

    .dashboard-feed-day-key small {
        display: inline-flex;
        grid-area: weekday;
        align-items: center;
        justify-self: end;
        min-height: 25px;
        padding: 0 8px;
        border: 1px solid rgba(66, 165, 255, .25);
        border-radius: 999px;
        background: rgba(66, 165, 255, .08);
        font-size: 10px;
    }

    .dashboard-feed-day.is-live,
    .dashboard-feed-day.is-today {
        border-color: rgba(55, 214, 122, .38);
        background:
            linear-gradient(90deg, rgba(55, 214, 122, .21), transparent 78%),
            rgba(13, 22, 28, .94);
    }

    .dashboard-feed-day.is-live .dashboard-feed-day-key small,
    .dashboard-feed-day.is-today .dashboard-feed-day-key small {
        border-color: rgba(55, 214, 122, .28);
        background: rgba(55, 214, 122, .09);
        color: #b8f6cf;
    }

    .dashboard-feed-row,
    .dashboard-feed-row.is-context-feed {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .dashboard-feed-timeline {
        display: none;
    }

    .dashboard-feed-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "thumb"
            "actions"
            "title"
            "teams";
        align-items: start;
        gap: 0;
        min-height: 0;
        padding: 0;
        border-radius: 10px;
    }

    .dashboard-feed-mobile-time {
        display: inline-flex;
    }

    .dashboard-feed-row.has-teams .dashboard-feed-card,
    .dashboard-feed-row.is-context-feed.has-teams .dashboard-feed-card {
        grid-template-areas:
            "thumb"
            "actions"
            "title"
            "teams";
    }

    .dashboard-feed-time {
        grid-area: time;
    }

    .dashboard-feed-media {
        align-self: start;
        grid-area: thumb;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 0;
    }

    .dashboard-feed-row.is-context-feed .dashboard-feed-media {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        justify-self: start;
    }

    .dashboard-feed-row.is-context-feed .dashboard-feed-thumb {
        width: 100%;
        max-width: none;
    }

    .dashboard-feed-channel {
        display: none;
    }

    .dashboard-feed-title-channel {
        display: flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
        color: var(--muted);
        font-size: 10px;
        font-weight: 900;
        line-height: 1.15;
    }

    .dashboard-feed-title-channel > span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .dashboard-feed-thumb {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        border: 0;
        border-bottom: 1px solid rgba(49, 66, 88, .82);
        border-radius: 0;
    }

    .dashboard-feed-title {
        grid-area: title;
        align-self: start;
        padding: 11px 11px 0;
    }

    .dashboard-feed-status {
        align-self: start;
        justify-self: start;
    }

    .dashboard-feed-status-stack {
        grid-area: status;
        align-self: start;
        justify-items: start;
        gap: 5px;
    }

    .dashboard-feed-row.is-live .dashboard-feed-status {
        display: none;
    }

    .dashboard-feed-time .time-chip,
    .dashboard-feed-actions .time-chip {
        align-self: start;
        width: fit-content;
        height: 24px;
        min-height: 24px;
        padding: 0;
        border-radius: 7px;
        box-shadow: none;
    }

    .dashboard-feed-time {
        justify-items: start;
        gap: 5px;
    }

    .dashboard-feed-actions {
        position: static;
        display: grid;
        grid-area: actions;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-height: 48px;
        margin-top: 0;
        padding: 7px 10px;
        border-bottom: 1px solid rgba(49, 66, 88, .82);
        background:
            linear-gradient(90deg, rgba(66, 165, 255, .14), transparent 72%),
            rgba(11, 18, 27, .96);
    }

    .dashboard-feed-row.is-live .dashboard-feed-actions {
        background:
            linear-gradient(90deg, rgba(55, 214, 122, .17), transparent 72%),
            rgba(11, 21, 26, .96);
    }

    .dashboard-feed-footer {
        display: contents;
    }

    .dashboard-feed-teams {
        grid-area: teams;
        align-self: start;
        width: 100%;
        margin-top: 0;
        padding: 8px 11px 11px;
    }

    .dashboard-feed-teams .match-team-list {
        width: 100%;
    }

    .dashboard-feed-time .viewer-count-badge,
    .dashboard-feed-actions .viewer-count-badge {
        max-width: 70px;
        min-height: 21px;
        padding: 0 6px;
        border-color: rgba(55, 214, 122, .34);
        background: rgba(55, 214, 122, .09);
        font-size: 10px;
        box-shadow: none;
    }

    .dashboard-feed-time .time-chip strong,
    .dashboard-feed-actions .time-chip strong {
        height: 24px;
        min-height: 24px;
        margin-bottom: 0;
        padding: 0 8px;
        background: rgba(66, 165, 255, .18);
        font-size: 9px;
    }

    .dashboard-feed-time .time-chip small,
    .dashboard-feed-actions .time-chip small {
        height: 24px;
        min-height: 24px;
        padding: 0 8px;
    }

    .dashboard-feed-time .time-chip small b,
    .dashboard-feed-actions .time-chip small b {
        font-size: 16px;
    }

    .dashboard-feed-time .time-chip small span,
    .dashboard-feed-actions .time-chip small span {
        font-size: 10px;
    }

    .dashboard-feed-title {
        gap: 3px;
    }

    .dashboard-feed-title strong {
        display: block;
        font-size: 14px;
        line-height: 1.22;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .dashboard-feed-title small {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.25;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .dashboard-feed-mobile-time {
        display: block;
        min-width: 0;
    }

    .dashboard-feed-mobile-time .time-chip {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 34px;
        min-height: 34px;
        border: 0;
        background: transparent;
    }

    .dashboard-feed-mobile-time .time-chip strong,
    .dashboard-feed-mobile-time .time-chip small {
        height: 34px;
        min-height: 34px;
    }

    .dashboard-feed-mobile-time .time-chip strong {
        padding: 0 8px;
        border-radius: 6px;
        font-size: 10px;
        letter-spacing: .05em;
    }

    .dashboard-feed-mobile-time .time-chip small {
        margin-left: auto;
        padding: 0 7px 0 12px;
    }

    .dashboard-feed-mobile-time .time-chip small b {
        color: #f2f8ff;
        font-size: 21px;
        letter-spacing: -.02em;
    }

    .dashboard-feed-viewers {
        display: none;
    }

    .dashboard-feed-channel-logo {
        width: 20px;
        height: 20px;
    }

    .dashboard-feed-status {
        min-height: 24px;
        padding: 0 7px;
        font-size: 10px;
    }

    .viewer-count-badge.is-compact {
        min-height: 21px;
        padding: 0 6px;
        font-size: 10px;
    }

    .dashboard-live-thumb {
        align-self: start;
        width: 100%;
        border-radius: 8px;
    }

    .dashboard-live-info {
        align-content: start;
        gap: 5px;
    }

    .dashboard-live-info strong {
        display: block;
        font-size: 15px;
        line-height: 1.2;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .dashboard-live-info > span:not(.dashboard-live-meta):not(.audience-badges):not(.dashboard-live-actions):not(.time-chip):not(.match-team-list) {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .dashboard-live-info .match-team-list,
    .dashboard-feed-teams .match-team-list {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        width: 100%;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    .dashboard-live-info .match-team-chip,
    .dashboard-feed-teams .match-team-chip {
        min-height: 24px;
        padding: 4px 8px;
        border-color: rgba(80, 201, 135, .32);
        background: rgba(55, 214, 122, .09);
        color: #a9f2c5;
        font-size: 11px;
        line-height: 1.1;
    }

    .dashboard-live-info .dashboard-live-meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    .dashboard-live-info .dashboard-live-meta > span:first-child {
        display: block;
        flex: 1 1 100%;
        overflow: hidden;
        color: var(--muted);
        font-size: 11px;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-live-info .audience-badges {
        display: none;
    }

    .dashboard-live-info .dashboard-live-actions {
        display: none;
    }

    .dashboard-live-mobile-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-height: 48px;
        padding: 7px 10px;
        border: 1px solid rgba(55, 214, 122, .24);
        border-radius: 8px;
        background:
            linear-gradient(90deg, rgba(55, 214, 122, .17), transparent 72%),
            rgba(11, 21, 26, .96);
    }

    .dashboard-live-mobile-actions .viewer-count-badge {
        display: inline-flex;
        overflow: visible;
        min-height: 20px;
        padding: 0 6px;
        font-size: 10px;
        -webkit-line-clamp: unset;
    }

    .dashboard-live-mobile-actions .viewer-count-badge.is-live-chip {
        height: 22px;
        min-height: 22px;
        margin-top: 0;
        padding: 0 8px;
        border-color: rgba(55, 214, 122, .34);
        border-radius: 999px;
        background: rgba(55, 214, 122, .09);
        color: #dfffe9;
        font-size: 10px;
        line-height: 1;
        box-shadow: none;
    }

    .dashboard-live-mobile-actions .time-chip {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        width: 100%;
        height: 34px;
        min-height: 34px;
        padding: 0;
        overflow: hidden;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .dashboard-live-mobile-actions .time-chip strong,
    .dashboard-live-mobile-actions .time-chip small {
        display: inline-flex;
        height: 34px;
        min-height: 34px;
        align-items: center;
        line-height: 1;
    }

    .dashboard-live-mobile-actions .time-chip strong {
        height: 34px;
        min-height: 34px;
        padding: 0 8px;
        border-radius: 6px;
        background: rgba(55, 214, 122, .2);
        font-size: 10px;
        letter-spacing: .05em;
    }

    .dashboard-live-mobile-actions .time-chip small {
        gap: 5px;
        margin-left: auto;
        padding: 0 7px 0 12px;
        font-size: 10px;
    }

    .dashboard-live-mobile-actions .time-chip small span,
    .dashboard-live-mobile-actions .time-chip small b {
        display: inline-flex;
        align-items: center;
        height: 34px;
        line-height: 1;
    }

    .dashboard-live-mobile-actions .time-chip small b {
        color: #f2f8ff;
        font-size: 21px;
        letter-spacing: -.02em;
    }

    .dashboard-live-badge {
        display: none;
        top: 7px;
        left: 7px;
        min-height: 22px;
        padding: 0 6px;
        border-radius: 6px;
        font-size: 10px;
    }

    .dashboard-play-button {
        display: none;
    }

    .dashboard-play-button::before {
        margin-left: 2px;
        border-top-width: 7px;
        border-bottom-width: 7px;
        border-left-width: 11px;
    }

    .dashboard-channel-search input {
        min-height: 42px;
    }

    .dashboard-channel-panel:not(.is-expanded):not(.is-searching) .dashboard-channel-shell {
        flex-basis: 76%;
        max-width: 260px;
    }

    .dashboard-channel-more {
        min-height: 42px;
    }

    .dashboard-feed-status {
        justify-self: start;
    }

    .dashboard-feed-title strong {
        display: block;
        text-overflow: initial;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .player-notice {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 16px;
        padding: 20px;
    }

    .player-notice-icon {
        width: 54px;
        height: 54px;
    }

    .player-notice-icon::before {
        top: 12px;
        left: 24px;
        height: 21px;
    }

    .player-notice-icon::after {
        left: 24px;
        bottom: 12px;
    }

    .player-notice-actions {
        display: grid;
    }

    .showcase-title-block.has-logo {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
    }

    .showcase-logo {
        width: 62px;
        height: 62px;
    }

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

    .finished-head-tools {
        width: auto;
        justify-content: flex-start;
    }

    .archive-filters {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .archive-filter-panel {
        margin: 18px 0 14px;
        border-color: rgba(45, 145, 255, .42);
        box-shadow: inset 3px 0 0 rgba(45, 145, 255, .78);
    }

    .archive-filter-toggle {
        min-height: 64px;
        padding: 13px 14px;
        background: linear-gradient(90deg, rgba(45, 145, 255, .09), rgba(55, 214, 122, .035));
    }

    .archive-filter-toggle-copy > span {
        max-width: 180px;
    }

    .archive-filter-toggle-state {
        gap: 7px;
    }

    .archive-filter-toggle-action {
        display: inline-flex;
        min-height: 30px;
        align-items: center;
        padding: 0 10px;
        border: 1px solid rgba(45, 145, 255, .48);
        border-radius: 7px;
        color: #9dccff;
        background: rgba(45, 145, 255, .12);
        font-size: 11px;
        font-weight: 900;
    }

    .archive-filter-chevron {
        display: none;
    }

    .archive-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .archive-filter-actions .primary-button,
    .archive-filter-actions .ghost-button {
        width: 100%;
    }

    .channels-hero {
        padding: 16px;
    }

    .channels-hero h1 {
        font-size: 38px;
    }

    .channels-hero p {
        font-size: 15px;
    }

    .channels-total-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }

    .channels-total-grid span {
        align-content: center;
        min-height: 50px;
        padding: 7px 6px;
        font-size: 10px;
        line-height: 1.05;
    }

    .channels-total-grid b {
        font-size: 20px;
    }

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

    .channel-filters {
        padding: 12px;
    }

    .channel-filter-panel {
        margin: 0 0 16px;
        overflow: hidden;
        border: 1px solid rgba(45, 145, 255, .38);
        border-radius: var(--radius);
        background: var(--panel);
        box-shadow: inset 3px 0 0 rgba(45, 145, 255, .72);
    }

    .channel-filter-summary {
        display: flex;
        width: 100%;
        min-height: 62px;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 11px 12px 11px 14px;
        cursor: pointer;
        border: 0;
        color: var(--text);
        background: linear-gradient(90deg, rgba(45, 145, 255, .09), rgba(55, 214, 122, .03));
        font: inherit;
        text-align: left;
    }

    .channel-filter-summary-copy {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    .channel-filter-summary-copy strong {
        font-size: 15px;
    }

    .channel-filter-summary-copy > span {
        overflow: hidden;
        color: var(--muted);
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .channel-filter-summary-state {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        flex: 0 0 auto;
    }

    .channel-filter-summary-state b {
        display: grid;
        min-width: 25px;
        height: 25px;
        padding: 0 7px;
        place-items: center;
        border: 1px solid rgba(55, 214, 122, .35);
        border-radius: 999px;
        color: var(--green);
        background: rgba(55, 214, 122, .1);
        font-size: 11px;
    }

    .channel-filter-summary-action {
        min-height: 30px;
        display: inline-flex;
        align-items: center;
        padding: 0 10px;
        border: 1px solid rgba(45, 145, 255, .48);
        border-radius: 7px;
        color: #9dccff;
        background: rgba(45, 145, 255, .12);
        font-size: 11px;
        font-weight: 900;
    }

    .channel-filter-summary-action .is-open {
        display: none;
    }

    .channel-filter-panel.is-open .channel-filter-summary-action .is-closed {
        display: none;
    }

    .channel-filter-panel.is-open .channel-filter-summary-action .is-open {
        display: inline;
    }

    .channel-filter-panel:not(.is-open) > .channel-filters {
        display: none;
    }

    .channel-filter-panel.is-open .channel-filter-summary {
        border-bottom: 1px solid var(--line);
    }

    .channel-filter-panel .channel-filters {
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .channel-audience-mobile {
        display: grid;
        gap: 8px;
        margin: -4px 0 16px;
    }

    .channel-audience-mobile .mobile-filter-button {
        width: 100%;
    }

    .channel-audience-mobile .active-audience-chips {
        margin-top: 0;
    }

    .audience-filters.is-channel-inline {
        display: none;
    }

    .channel-card-link {
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 0;
        padding: 13px;
    }

    .channel-card-logo {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .channel-card-body strong {
        font-size: 18px;
    }

    .channel-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .match-list.archive-results {
        grid-template-columns: 1fr;
    }

    .admin-heading,
    .parse-result-head {
        align-items: start;
        flex-direction: column;
    }

    .admin-heading-actions {
        align-items: start;
        flex-direction: column;
        max-width: 100%;
        white-space: normal;
    }

    .admin-heading h1 {
        font-size: 32px;
        overflow-wrap: anywhere;
    }

    .admin-menu {
        display: flex;
        grid-template-columns: none;
        max-width: 100%;
        overflow-x: auto;
    }

    .admin-menu a {
        flex: 0 0 auto;
        min-width: auto;
    }

    .admin-menu a span {
        overflow: visible;
        text-overflow: clip;
    }

    .admin-actions {
        grid-column: 1;
        grid-row: auto;
        flex-wrap: wrap;
        max-width: 100%;
        margin-top: 4px;
    }

    .admin-actions a,
    .admin-actions button {
        min-width: 0;
    }

    .admin-filters label {
        flex-basis: 100%;
        max-width: none;
        min-width: 0;
    }

    .admin-table,
    .admin-table > article,
    .admin-match-card,
    .dashboard-stream-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .admin-match-media {
        align-items: start;
        flex-direction: column;
        width: 100%;
    }

    .admin-match-thumb {
        flex-basis: auto;
        width: min(100%, 220px);
    }

    .dashboard-stream-card {
        grid-template-columns: 1fr;
    }

    .dashboard-stream-thumb {
        width: min(100%, 240px);
    }

    .dashboard-stream-info > span,
    .dashboard-stream-info strong,
    .admin-match-channel,
    .channel-url {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .dialog-preview {
        align-items: start;
        flex-direction: column;
    }

    .dialog-preview img {
        flex-basis: auto;
        width: min(100%, 220px);
    }

    .dialog-actions {
        flex-direction: column-reverse;
    }

    .dialog-actions button {
        width: 100%;
    }

    .timeline-body strong {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .parse-stats {
        grid-template-columns: 1fr;
    }
}

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