/* ===== Палитра ===== */
:root {
    --bg:          #0A0A0E;
    --surface:     #121117;
    --surface-2:   #1A1921;
    --row:         #17161D;
    --row-hover:   #211F29;
    --border:      rgba(255, 255, 255, 0.06);
    --border-2:    rgba(255, 255, 255, 0.1);
    --text:        #FFFFFF;
    --text-2:      rgba(255, 255, 255, 0.55);
    --text-3:      rgba(255, 255, 255, 0.32);
    --accent:      #E3FF63;
    --accent-soft: rgba(227, 255, 99, 0.16);
    --on-accent:   #0A0A0E;
    --red:         #D63030;
}

* {
    box-sizing: border-box;
}

/* Фильтр прячет матчи через hidden — нужен приоритет над display у .game_item и др. */
[hidden] {
    display: none !important;
}

body {
    font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    margin: 0;
    padding: 0 0 60px;
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    font-weight: 400;
}

/* ===== Шапка ===== */
.site-header {
    background: #0C0B10;
    border-bottom: 1px solid var(--border);
}

.header_inner {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.logo_badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 4px 18px rgba(227, 255, 99, 0.16);
    flex-shrink: 0;
}

.logo_badge svg {
    width: 24px;
    height: 24px;
    color: var(--on-accent);
}

.logo_text {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.main_nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

.nav_link {
    color: var(--text-2);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.18s ease;
}

.nav_link:hover {
    color: var(--text);
}

.nav_link.is-active {
    color: var(--text);
    font-weight: 500;
}

.header_actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.icon_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-2);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.icon_btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-2);
    color: var(--text);
}

.icon_btn svg {
    width: 19px;
    height: 19px;
}

/* ===== Контент ===== */
.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px 0;
}

/* Заголовок главной */
.home-title {
    max-width: 740px;
    margin: 0 auto 18px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

/* ===== Переключатель видов ===== */
.view-tabs {
    max-width: 740px;
    margin: 0 auto 18px;
}

.view-tabs-nav {
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.view-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.view-tab svg {
    width: 19px;
    height: 19px;
}

.view-tab:hover {
    color: var(--text);
}

.view-tab.active {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 4px 16px rgba(227, 255, 99, 0.12);
}

/* ===== Фильтры по статусу ===== */
.status_filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 740px;
    margin: 0 auto 30px;
}

.status_filter {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
    color: var(--text-2);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.status_filter svg {
    width: 17px;
    height: 17px;
}

.status_filter:hover {
    background: var(--surface-2);
    color: var(--text);
}

.status_filter.is-active {
    background: var(--accent);
    border-color: transparent;
    color: var(--on-accent);
    box-shadow: 0 4px 16px rgba(227, 255, 99, 0.12);
}

.filter_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.status_filter.is-active .filter_dot {
    background: var(--on-accent);
}

.filter_empty {
    margin: 40px 0;
    color: var(--text-3);
    font-size: 15px;
    text-align: center;
}

/* ===== Контейнеры видов ===== */
.view-container {
    display: none;
}

.view-container.active {
    display: block;
}

/* ===== День ===== */
.match_day {
    margin-bottom: 34px;
}

.match_day_toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 0 4px;
    cursor: pointer;
    user-select: none;
}

.day_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(227, 255, 99, 0.12);
    flex-shrink: 0;
}

.day_icon svg {
    width: 20px;
    height: 20px;
    color: var(--on-accent);
}

.day_titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.day_name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.day_name::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.6px solid var(--text-3);
    border-bottom: 1.6px solid var(--text-3);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s ease;
}

.match_day.collapsed .day_name::after {
    transform: rotate(-45deg) translate(0, 0);
}

.day_date {
    color: var(--text-3);
    font-size: 13px;
}

.day_count {
    margin-left: auto;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text-2);
    font-size: 13px;
    white-space: nowrap;
}

.match_day.collapsed .day_body {
    display: none;
}

/* Плашка дня без матчей */
.day_empty {
    margin: 0 0 12px;
    padding: 30px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text-3);
    font-size: 15px;
    text-align: center;
}

/* ===== Турнир ===== */
.tournament {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

.tournament_name {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

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

.tournament_name a:hover {
    color: var(--text-2);
}

.tournament_count {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-3);
    font-size: 12px;
    white-space: nowrap;
}

.comp_flag {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Буквенная пометка поверх флага: «К» — кубок, «СК» — суперкубок */
.comp_flag_wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.comp_flag_badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.3px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

.comp_flag_wrap--time .comp_flag_badge {
    font-size: 9px;
}

/* ===== Строка матча ===== */
.game_item {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) 104px minmax(0, 1fr) 112px;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    padding: 13px 16px;
    border-radius: 14px;
    background: var(--row);
    cursor: pointer;
    transition: background 0.18s ease;
}

.game_item:last-child {
    margin-bottom: 0;
}

.game_item:hover {
    background: var(--row-hover);
}

.game_time {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-2);
    font-size: 14px;
}

.game_time_icon {
    display: flex;
    color: var(--text-3);
    flex-shrink: 0;
}

.game_time_icon svg {
    width: 16px;
    height: 16px;
}

.comp_flag_time {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.game_time_digits {
    position: relative;
    flex-shrink: 0;
}

.time-next-day {
    position: absolute;
    top: -2px;
    right: -8px;
    font-size: 6px;
    line-height: 1;
    rotate: -42deg;
}

.live_minute {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

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

.team_logo_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 22px;
    flex-shrink: 0;
}

.team_logo {
    max-width: 30px;
    max-height: 22px;
    object-fit: contain;
    border-radius: 3px;
}

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

/* Звёздочка у отслеживаемых клубов — МЮ и Спартак */
.team_star {
    margin-left: 5px;
    color: #F5B942;
    font-size: 11px;
    vertical-align: 2px;
}

.game_score {
    padding: 7px 0;
    border: 1px solid rgba(227, 255, 99, 0.3);
    border-radius: 10px;
    background: rgba(227, 255, 99, 0.07);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.game_item.pre .game_score {
    border-color: var(--border-2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-3);
}

.game_state {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--text-3);
    font-size: 13px;
}

.game_state_dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

.game_item.pre .game_state_dot {
    background: rgba(255, 255, 255, 0.25);
}

.game_item.live .game_state_text {
    color: var(--accent);
    font-weight: 600;
}

.game_item.live .game_state_dot {
    background: var(--accent);
    animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(227, 255, 99, 0.6); }
    70%  { box-shadow: 0 0 0 7px rgba(227, 255, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 255, 99, 0); }
}

/* Мигание при голе */
@keyframes score-flash {
    0%   { background: rgba(63, 191, 95, 0.45); }
    40%  { background: rgba(63, 191, 95, 0.28); }
    100% { background: var(--row); }
}

.game_item.score-flash {
    animation: score-flash 1.2s ease-out;
}

/* ===== Панель событий матча ===== */
.match-events {
    display: none;
    margin: -2px 0 8px;
    padding: 4px;
}

.match-events.open {
    display: block;
}

.match-events-list {
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.match-event {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    color: var(--text-2);
    font-size: 13px;
}

.ev-team-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.ev-team-logo-empty {
    display: inline-block;
    width: 18px;
    flex-shrink: 0;
}

.match-event-time {
    min-width: 38px;
    color: var(--text-3);
    font-size: 12px;
    flex-shrink: 0;
}

.match-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.ev-goal-icon {
    display: block;
    width: 18px;
    height: 13px;
    color: var(--text-2);
}

.ev-player {
    flex: 1;
}

.ev-sup {
    margin-left: 2px;
}

.ev-score {
    min-width: 36px;
    padding: 1px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-2);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-align: center;
    flex-shrink: 0;
}

.ev-score-empty {
    min-width: 36px;
    flex-shrink: 0;
}

.ev-card {
    display: inline-block;
    width: 9px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.ev-card--yellow    { background: #E8C32A; }
.ev-card--red       { background: #D63030; }
.ev-card--yellowred { background: #E8C32A; border-right: 4.5px solid #D63030; }

.match-events-loading {
    padding: 4px 0;
    color: var(--text-3);
    font-size: 13px;
}

/* ===== Вкладки панели матча ===== */
.met-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.met-tab {
    flex-shrink: 0;
    padding: 5px 14px;
    border: 1px solid var(--border-2);
    border-radius: 14px;
    background: transparent;
    color: var(--text-3);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.met-tab:hover {
    color: var(--text-2);
}

.met-tab.active {
    border-color: transparent;
    background: var(--accent);
    color: var(--on-accent);
}

/* ===== Составы ===== */
.lu-grid {
    display: flex;
    gap: 12px;
    font-size: 12px;
}

.lu-col {
    flex: 1;
    min-width: 0;
}

.lu-formation {
    margin-bottom: 4px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
}

.lu-coach {
    margin-bottom: 6px;
    color: var(--text-3);
    font-size: 11px;
}

.lu-player {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
}

.lu-num {
    width: 18px;
    color: var(--text-3);
    font-size: 11px;
    text-align: right;
    flex-shrink: 0;
}

.lu-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lu-icons {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-left: auto;
    flex-shrink: 0;
}

.lu-icons .match-event-icon {
    width: auto;
    font-size: 10px;
}

.lu-icons .ev-card {
    width: 7px;
    height: 10px;
}

.lu-subs-label {
    margin: 6px 0 2px;
    color: var(--text-3);
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== Статистика ===== */
.stat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: 12px;
}

.stat-val {
    width: 36px;
    font-weight: 600;
    flex-shrink: 0;
}

.stat-val--home { text-align: right; }
.stat-val--away { text-align: left; }

.stat-label {
    flex: 1;
    color: var(--text-3);
    font-size: 11px;
    text-align: center;
}

.stat-bar {
    display: flex;
    height: 3px;
    margin-bottom: 2px;
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar-h { background: var(--accent); }
.stat-bar-a { background: rgba(255, 255, 255, 0.14); }

/* ===== Прогноз (Glicko + Odds) ===== */
.forecast-block {
    margin-bottom: 14px;
}

.forecast-title {
    margin-bottom: 8px;
    color: var(--text-3);
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.forecast-probs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.forecast-prob {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.fp-label {
    color: var(--text-3);
    font-size: 11px;
}

.fp-val {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.forecast-bar {
    display: flex;
    height: 4px;
    margin-bottom: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.fb-h { background: var(--accent); }
.fb-d { background: rgba(255, 255, 255, 0.2); }
.fb-a { background: #4A6A8A; }

.forecast-xg,
.forecast-rating {
    margin-bottom: 3px;
    color: var(--text-3);
    font-size: 12px;
}

.forecast-xg b,
.forecast-rating b {
    color: var(--text-2);
}

.forecast-odds {
    display: flex;
    gap: 8px;
}

.fo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
    padding: 6px 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.fo-label {
    color: var(--text-3);
    font-size: 11px;
}

.fo-val {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

/* ===== Форма ===== */
.form-block {
    font-size: 12px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
}

.form-row-label {
    width: 60px;
    color: var(--text-3);
    font-size: 11px;
    flex-shrink: 0;
}

.form-row-dots {
    display: flex;
    gap: 3px;
    flex: 1;
}

.form-row-avg {
    color: var(--text-3);
    font-size: 11px;
    flex-shrink: 0;
}

.f-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
}

.f-w { background: #25821A; color: #fff; }
.f-d { background: rgba(255, 255, 255, 0.16); color: var(--text-2); }
.f-l { background: #6A1A1A; color: var(--text-2); }

/* ===== О сервисе ===== */
.about-section {
    max-width: 1120px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.about-inner {
    padding: 32px 34px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

.about-title {
    margin: 0 0 24px;
    color: var(--text-3);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-lead {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.about-text {
    margin: 0 0 14px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.75;
}

.about-text strong {
    color: var(--text);
    font-weight: 600;
}

.about-highlight {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    background: var(--accent-soft);
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.75;
}

.about-highlight strong {
    color: var(--text);
    font-weight: 600;
}

.about-motto {
    margin: 0;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.75;
}

.about-motto strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== Страница «Команды» ===== */
.page-head {
    margin-bottom: 28px;
}

.page-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.page-sub {
    margin: 0;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.6;
}

.teams-league {
    margin-bottom: 30px;
}

.teams-league_head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 0 2px;
}

.teams-league_icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.teams-league_name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.teams-league_count {
    margin-left: auto;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text-2);
    font-size: 13px;
    white-space: nowrap;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.team-card:hover {
    background: var(--surface-2);
    border-color: var(--border-2);
    transform: translateY(-2px);
}

.team-card_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.team-card_logo img {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.team-card_name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    word-break: keep-all;
    hyphens: none;
}

/* ===== Планшет ===== */
@media screen and (max-width: 900px) {
    .main_nav {
        display: none;
    }

    .header_inner {
        justify-content: space-between;
        gap: 16px;
    }
}

/* ===== Мобильные ===== */
@media screen and (max-width: 760px) {
    .home-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    body {
        font-size: 14px;
    }

    .header_inner {
        gap: 10px;
        padding: 12px 14px;
    }

    /* Логотип уступает место кнопкам, чтобы шапка не распирала страницу */
    .logo {
        min-width: 0;
        gap: 9px;
        flex-shrink: 1;
    }

    .logo_badge {
        width: 34px;
        height: 34px;
    }

    .logo_badge svg {
        width: 20px;
        height: 20px;
    }

    .logo_text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
    }

    .header_actions {
        gap: 6px;
    }

    .icon_btn {
        width: 34px;
        height: 34px;
    }

    .icon_btn svg {
        width: 17px;
        height: 17px;
    }

    .page {
        padding: 18px 14px 0;
    }

    .view-tab {
        gap: 7px;
        padding: 11px 8px;
        font-size: 13px;
    }

    .view-tab span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .status_filters {
        gap: 8px;
        margin-bottom: 22px;
    }

    .status_filter {
        padding: 9px 14px;
        font-size: 13px;
    }

    .day_name {
        font-size: 18px;
    }

    .day_icon {
        width: 38px;
        height: 38px;
    }

    .tournament {
        padding: 8px;
        border-radius: 14px;
    }

    .game_item {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            "time  time  state"
            "home  score away";
        row-gap: 12px;
        column-gap: 10px;
        padding: 12px;
    }

    .game_time  { grid-area: time; }
    .team_home  { grid-area: home; }
    .game_score { grid-area: score; min-width: 84px; }
    .team_away  { grid-area: away; }
    .game_state { grid-area: state; }

    .team {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .team_name {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .about-section {
        padding: 0 14px;
    }

    .about-inner {
        padding: 24px 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .teams-league_name {
        font-size: 18px;
    }

    .teams-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .team-card {
        gap: 11px;
        padding: 13px 14px;
    }

    .team-card_logo {
        width: 38px;
        height: 38px;
    }

    .team-card_name {
        font-size: 14px;
    }
}
