/* Tennison Aug1 hub — клей между msk-minsk и p10-events */

/* Заголовок события = ссылка на хаб /tennison-aug1/ */
.msk-minsk-page .aug1-event-home-link {
    color: inherit;
    text-decoration: none;
}
.msk-minsk-page .aug1-event-home-link:hover,
.msk-minsk-page .aug1-event-home-link:focus {
    text-decoration: underline;
    outline: none;
}

.msk-minsk-page.p10-events-page .msk-minsk-wrap.p10-events-inner {
    max-width: 920px;
}

.msk-minsk-page.p10-events-page .msk-minsk-sub {
    margin-bottom: 16px;
}

/* Без kicker — статус справа */
.msk-minsk-page.p10-events-page .p10-events-card__top {
    justify-content: flex-end;
}

.msk-minsk-page.p10-events-page details.msk-card > summary {
    outline: none;
    cursor: pointer;
}

.msk-minsk-page.p10-events-page details.msk-card[open] > summary {
    margin-bottom: 8px;
}

/* Live 1:1 с Минском, но без командных цветов — нейтральные имена */
.msk-minsk-page.p10-events-page .msk-live__player--mns .msk-live__name,
.msk-minsk-page.p10-events-page .msk-live__player--msk .msk-live__name {
    color: var(--ink, #15181a);
}

.msk-minsk-page.p10-events-page .msk-live__city {
    color: var(--sec, #6b7370);
    font-size: 11px;
    font-weight: 600;
}

.msk-minsk-page.p10-events-page .msk-live__city .mc-showdown-flag {
    display: none;
}

/* Поиск на вкладке Матчи */
.msk-minsk-matches-page .msk-matches-search-row form.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.msk-minsk-matches-page .msk-matches-search-row form.search-box input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    outline: none;
}

/* Ссылка на хаб события в шапке турнира */
.tournament-top__name a.tournament-series_detail,
.tournament-top__series-link a.tournament-series_detail {
    color: #2f9e44;
    text-decoration: none;
    font-weight: 700;
}
.tournament-top__name a.tournament-series_detail:hover,
.tournament-top__series-link a.tournament-series_detail:hover {
    text-decoration: underline;
}

/* Расписание по кортам */
.aug1-schedule-page .msk-minsk-wrap.p10-events-inner {
    max-width: 1100px;
}

.aug1-schedule__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.aug1-schedule__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #333;
}

.aug1-schedule__swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #ccc;
}

.aug1-schedule__legend-item--green .aug1-schedule__swatch { background: #7cb342; }
.aug1-schedule__legend-item--yellow .aug1-schedule__swatch { background: #f0c040; }
.aug1-schedule__legend-item--red .aug1-schedule__swatch { background: #e57373; }
.aug1-schedule__legend-item--blue .aug1-schedule__swatch { background: #64b5f6; }
.aug1-schedule__legend-item--gray .aug1-schedule__swatch { background: #b0b6b3; }

.aug1-schedule__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e4e7e5;
    border-radius: 12px;
    background: #fff;
}

.aug1-schedule__table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.aug1-schedule__table th,
.aug1-schedule__table td {
    border: 1px solid #e8ebe9;
    padding: 8px;
    vertical-align: top;
}

.aug1-schedule__table thead th {
    background: #f4f6f5;
    font-weight: 700;
    text-align: center;
}

.aug1-schedule__table tbody th {
    width: 88px;
    background: #fafbfa;
    text-align: left;
}

.aug1-schedule__time {
    display: block;
    font-weight: 800;
    font-size: 14px;
}

.aug1-schedule__slot {
    display: block;
    color: #7a8280;
    font-size: 11px;
    margin-top: 2px;
}

.aug1-schedule__cell--empty {
    background: #f7f8f7;
}

.aug1-schedule__cell--green { background: #e8f5d8; }
.aug1-schedule__cell--yellow { background: #fff6cc; }
.aug1-schedule__cell--red { background: #fde0e0; }
.aug1-schedule__cell--blue { background: #e3f2fd; }
.aug1-schedule__cell--gray { background: #eceeed; color: #6b7370; text-align: center; }
.aug1-schedule__cell--free { background: #fff; color: #8a9290; text-align: center; }

.aug1-schedule__cell.is-done {
    opacity: 0.72;
}

.aug1-schedule__cell--ph {
    opacity: 0.92;
}

.aug1-schedule__link {
    display: block;
    color: inherit;
    text-decoration: none;
    min-height: 52px;
}

a.aug1-schedule__link:hover {
    text-decoration: none;
    filter: brightness(0.97);
}

.aug1-schedule__kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #55605c;
    margin-bottom: 4px;
}

.aug1-schedule__vs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 600;
    line-height: 1.25;
}

.aug1-schedule__dash {
    color: #9aa3a0;
    font-weight: 500;
}

.aug1-schedule__label {
    display: block;
    font-weight: 650;
    line-height: 1.3;
}

.aug1-schedule__blocked {
    display: block;
    padding: 12px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Регламент — сканируемая иерархия: чипы → счёт → тайминг → сигнал → «почему» */
.aug1-regulations-page .aug1-regulations {
    max-width: 40rem;
}

.aug1-regulations__lead {
    margin: -4px 0 16px;
    color: var(--sec, #6b7370);
    font-size: 14px;
    line-height: 1.45;
}

.aug1-regulations__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 18px;
}

.aug1-regulations__chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eef6ef;
    border: 1px solid #d5e8d8;
}

.aug1-regulations__chip-k {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3d6b45;
}

.aug1-regulations__chip-v {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink, #15181a);
    line-height: 1.25;
}

.aug1-regulations__block {
    margin: 0 0 14px;
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: #f7f8f8;
    border: 1px solid #e6e9e8;
}

.aug1-regulations__block--focus {
    background: #f3faf4;
    border-color: #cfe6d3;
}

.aug1-regulations__block--warn {
    background: #fff8ef;
    border-color: #f0dfc2;
}

.aug1-regulations__h {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink, #15181a);
}

.aug1-regulations__p {
    margin: 0 0 0.7rem;
    color: var(--sec, #3d4441);
    line-height: 1.55;
    font-size: 15px;
}

.aug1-regulations__p:last-child {
    margin-bottom: 0;
}

.aug1-regulations__p--lg {
    color: var(--ink, #15181a);
    font-size: 16px;
    line-height: 1.45;
}

.aug1-regulations__p strong {
    color: var(--ink, #15181a);
    font-weight: 800;
}

.aug1-regulations__timeline {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aug1-regulations__step {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e6e9e8;
}

.aug1-regulations__step--main {
    border-color: #b9d9bf;
    background: #f3faf4;
}

.aug1-regulations__step-time {
    font-size: 13px;
    font-weight: 800;
    color: #2f7a3c;
    white-space: nowrap;
}

.aug1-regulations__step-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink, #15181a);
    line-height: 1.35;
}

.aug1-regulations__notes,
.aug1-regulations__rules {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--sec, #3d4441);
    font-size: 14px;
    line-height: 1.5;
}

.aug1-regulations__notes li + li,
.aug1-regulations__rules li + li {
    margin-top: 0.4rem;
}

.aug1-regulations__rules {
    color: var(--ink, #15181a);
    font-size: 15px;
}

.aug1-regulations__rules strong {
    font-weight: 800;
}

.aug1-regulations__why {
    margin-top: 4px;
    background: #fff;
}

.aug1-regulations__why .aug1-regulations__p {
    font-size: 14px;
}

@media (max-width: 520px) {
    .aug1-regulations__chips {
        grid-template-columns: 1fr;
    }

    .aug1-regulations__step {
        grid-template-columns: 4.75rem 1fr;
        gap: 8px;
    }
}

/* Партнёры дня — полоса внизу всех вкладок хаба (как Kinash: без чёрных плашек) */
.aug1-partners {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(21, 24, 26, 0.1);
}

.aug1-partners__label {
    margin: 0 0 16px;
    color: var(--sec, #6b7370);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aug1-partners__list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aug1-partners__item {
    margin: 0;
    flex: 1 1 140px;
    max-width: 200px;
}

.aug1-partners__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
    border-radius: 12px;
    background: transparent;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.aug1-partners__link:hover,
.aug1-partners__link:focus {
    background: rgba(21, 24, 26, 0.04);
    transform: translateY(-1px);
    outline: none;
}

.aug1-partners__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
}

.aug1-partners__logo {
    display: block;
    max-height: 48px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.aug1-partners__caption {
    display: block;
    max-width: 11em;
    color: var(--sec, #6b7370);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 520px) {
    .aug1-partners__item {
        flex: 1 1 calc(50% - 8px);
        max-width: none;
    }
}
