﻿body {
    background: #f4f7fb;
    color: #172033;
}

.content-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.08);
}

.compact-card {
    padding: 1rem 1.25rem;
}

.home-hero {
    margin-top: 0.75rem;
    padding: 2rem;
    color: #fff;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.home-hero__title {
    margin: 0 0 0.5rem;
}

.home-hero__subtitle {
    margin: 0;
    color: #dbeafe;
}

.home-hero__season {
    margin-top: 0.75rem;
}

.home-hero__actions {
    margin-top: 1.125rem;
}

.home-hero__button {
    display: inline-block;
    padding: 0.625rem 1rem;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero__button:hover,
.home-hero__button:focus {
    color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.15);
}

.division-tabs {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.betting-hero {
    box-shadow: 0 0.9rem 2rem rgba(29, 78, 216, 0.18);
}

.betting-hero--compact {
    padding: 1.5rem 2rem;
}

.betting-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.betting-balance-card {
    min-width: 220px;
    padding: 1rem 1.125rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.betting-balance-card__label {
    display: block;
    color: #bfdbfe;
    font-size: 0.9rem;
}

.betting-balance-card__value {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.6rem;
    line-height: 1.1;
}

.betting-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.betting-nav__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.betting-nav__button:hover,
.betting-nav__button:focus {
    transform: translateY(-1px);
}

.betting-nav__button--light {
    color: #eff6ff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.betting-nav__button--light:hover,
.betting-nav__button--light:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0.6rem 1.4rem rgba(15, 23, 42, 0.14);
}

.betting-nav__button--active,
.betting-nav__button--active:hover,
.betting-nav__button--active:focus {
    color: #172033;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.16);
}

.betting-market-list {
    display: grid;
    gap: 1rem;
}

.betting-market-card {
    padding: 1.1rem 1.15rem;
    border: 1px solid #e5eefc;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.betting-market-card--active {
    border-color: #fb923c;
    box-shadow: 0 1rem 2rem rgba(194, 65, 12, 0.12);
}

.betting-market-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.92rem;
}

.betting-market-card__badge {
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    color: #1d4ed8;
    background: #dbeafe;
    font-weight: 700;
}

.betting-market-card__title {
    margin: 0;
    font-size: 1.2rem;
}

.betting-market-card__actions {
    margin-top: 1rem;
}

.betting-market-card--match {
    display: grid;
    gap: 0.9rem;
}

.betting-market-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.betting-market-tags__item {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #fff4e6;
    color: #c2410c;
    font-size: 0.88rem;
    font-weight: 700;
}

.betting-market-selector {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.betting-market-selector__item {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid #fde0c7;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff8ef, #fff1e4);
    color: #9a3412;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.betting-market-selector__item:hover,
.betting-market-selector__item:focus {
    color: #7c2d12;
    border-color: #fdba74;
    box-shadow: 0 0.9rem 1.8rem rgba(194, 65, 12, 0.12);
    transform: translateY(-2px);
}

.betting-market-selector__item--active {
    border-color: #ea580c;
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    color: #7c2d12;
}

.betting-market-panel {
    margin-top: 1rem;
}

.betting-odds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

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

.betting-odds__item {
    padding: 0.85rem 0.75rem;
    text-align: center;
    border-radius: 14px;
    background: #eef5ff;
    border: 1px solid #dbeafe;
}

.betting-odds__item--link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.betting-odds__item--link:hover,
.betting-odds__item--link:focus {
    color: inherit;
    background: #dbeafe;
    box-shadow: 0 0.75rem 1.5rem rgba(29, 78, 216, 0.16);
    transform: translateY(-2px);
}

.betting-odds__label {
    display: block;
    margin-bottom: 0.25rem;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.player-hero {
    background: linear-gradient(135deg, #7c2d12, #c2410c 45%, #dc2626 100%);
    box-shadow: 0 1rem 2.2rem rgba(185, 28, 28, 0.2);
}

.player-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.player-hero__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.player-hero__photo-wrap {
    flex: 0 0 auto;
}

.player-hero__photo {
    width: 162px;
    height: 162px;
    object-fit: cover;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.18);
}

.player-hero__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecfdf5;
    font-size: 2rem;
    font-weight: 800;
}

.player-hero__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #dcfce7;
}

.player-hero__meta {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.player-hero__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: #f0fdf4;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

.player-hero__chip--accent {
    background: rgba(254, 240, 138, 0.18);
    border-color: rgba(254, 240, 138, 0.35);
    color: #fef9c3;
}

.player-hero__link {
    color: #f0fdf4;
    font-weight: 700;
}

.player-hero__link:hover,
.player-hero__link:focus {
    color: #dcfce7;
}

.player-stats-card__header {
    margin-bottom: 1.25rem;
}

.player-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.player-stat-tile {
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f3f8f4);
    border: 1px solid #d8f0dc;
}

.player-stat-tile__label {
    display: block;
    color: #64748b;
    font-size: 0.92rem;
}

.player-stat-tile__value {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.6rem;
    line-height: 1;
    color: #14532d;
}

.player-stat-note {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: #eff6ff;
    color: #1e3a8a;
}

.player-stat-note span {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
}

.player-stat-note strong {
    display: block;
    margin-top: 0.2rem;
}

.player-stat-note--soft {
    background: #f8fafc;
}

.player-history-list {
    display: grid;
    gap: 1rem;
}

.player-history-entry {
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.player-history-entry--cup {
    border-color: #d8f0dc;
    background: linear-gradient(180deg, #ffffff, #f2fbf4);
}

.player-history-entry__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.player-history-entry__meta,
.player-history-entry__stats,
.player-history-entry__note {
    margin: 0.25rem 0 0;
}

.player-history-entry__meta {
    color: #64748b;
}

.player-history-entry__stats {
    font-weight: 700;
    color: #172033;
}

.player-history-entry__note {
    color: #475569;
}

.player-match-list {
    display: grid;
    gap: 0.9rem;
}

.player-match-card {
    display: block;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid #e5eefc;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #172033;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.player-match-card:hover,
.player-match-card:focus {
    color: #172033;
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 0.85rem 1.8rem rgba(29, 78, 216, 0.12);
}

.player-match-card__date {
    display: block;
    color: #64748b;
    font-size: 0.92rem;
}

.player-match-card__teams {
    display: block;
    margin-top: 0.3rem;
}

.profile-player-photo {
    margin-top: 1rem;
}

.profile-player-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 0.7rem 1.6rem rgba(15, 23, 42, 0.1);
}

.team-hero {
    background: linear-gradient(135deg, #312e81, #1d4ed8 45%, #0891b2 100%);
    box-shadow: 0 1rem 2.2rem rgba(29, 78, 216, 0.18);
}

.team-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-hero__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-hero__logo-wrap {
    flex: 0 0 auto;
}

.team-hero__logo {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.16);
}

.team-hero__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eff6ff;
    font-size: 2.2rem;
    font-weight: 800;
}

.team-hero__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #dbeafe;
}

.team-hero__description {
    max-width: 720px;
    margin: 0.85rem 0 0;
    color: #e0f2fe;
}

.team-hero__chips {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.team-hero__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: #eff6ff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

.team-stat-grid,
.team-tournament-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.team-stat-tile,
.team-tournament-overview__item {
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f5f9ff);
    border: 1px solid #dbeafe;
}

.team-stat-tile__label,
.team-tournament-overview__item span {
    display: block;
    color: #64748b;
    font-size: 0.92rem;
}

.team-stat-tile__value,
.team-tournament-overview__item strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.6rem;
    line-height: 1;
    color: #1d4ed8;
}

.team-tournament-card {
    display: block;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #172033;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.team-tournament-card:hover,
.team-tournament-card:focus {
    color: #172033;
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 0.85rem 1.8rem rgba(29, 78, 216, 0.12);
}

.team-tournament-card--selected {
    border-color: #2563eb;
    box-shadow: 0 0.9rem 1.9rem rgba(37, 99, 235, 0.16);
}

.team-tournament-card--active {
    border-color: #38bdf8;
    background: linear-gradient(180deg, #ffffff, #eff8ff);
}

.team-tournament-card--cup {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #ffffff, #f7f7ff);
}

.team-tournament-card__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-tournament-card__meta,
.team-tournament-card__stats {
    margin: 0.35rem 0 0;
}

.team-tournament-card__meta,
.team-upcoming-card__tournament,
.team-match-card__date,
.team-match-card__status,
.team-squad-item__meta {
    color: #64748b;
}

.team-tournament-card__stats {
    font-weight: 700;
}

.team-history-list,
.team-upcoming-list,
.team-match-list,
.team-squad-list {
    display: grid;
    gap: 0.9rem;
}

.team-upcoming-card,
.team-match-card,
.team-squad-item {
    display: block;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #172033;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.team-upcoming-card:hover,
.team-upcoming-card:focus,
.team-match-card:hover,
.team-match-card:focus,
.team-squad-item:hover,
.team-squad-item:focus {
    color: #172033;
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 0.85rem 1.8rem rgba(29, 78, 216, 0.12);
}

.team-upcoming-card__date,
.team-upcoming-card__tournament,
.team-match-card__date,
.team-match-card__status,
.team-squad-item__meta {
    display: block;
}

.team-upcoming-card strong,
.team-match-card strong,
.team-squad-item__name {
    display: block;
    margin: 0.25rem 0;
}

.referees-hero {
    background: linear-gradient(135deg, #10213f, #1d4f9f 48%, #2b6fc9 100%);
    box-shadow: 0 1rem 2.2rem rgba(29, 79, 159, 0.18);
}

.referees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.referee-card {
    padding: 1.15rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
}

.referee-card__top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.referee-card__photo {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #dbeafe;
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    box-shadow: 0 0.7rem 1.3rem rgba(15, 23, 42, 0.08);
}

.referee-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.referee-card__photo span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #1e3a8a;
    font-size: 1.3rem;
    font-weight: 900;
}

.referee-card__identity {
    min-width: 0;
}

.referee-card__name {
    margin: 0;
    font-size: 1.1rem;
    color: #172033;
}

.referee-card__birth {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.referee-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.referee-card__stats--single {
    grid-template-columns: minmax(0, 220px);
    justify-content: start;
}

.referee-card__stat {
    padding: 0.8rem 0.75rem;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    text-align: center;
}

.referee-card__stat span {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.referee-card__stat strong {
    display: block;
    margin-top: 0.25rem;
    color: #1d4ed8;
    font-size: 1.4rem;
    line-height: 1;
}

.protocol-hero {
    background: linear-gradient(135deg, #111827, #1f2937 45%, #374151 100%);
    box-shadow: 0 1rem 2.2rem rgba(17, 24, 39, 0.18);
}

.protocol-hero__top {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 180px 110px;
    align-items: start;
    gap: 1rem;
}

.match-hero__teams {
    display: flex;
    align-items: center;
    justify-self: start;
    width: 110px;
    min-width: 110px;
}

.match-hero__teams--away {
    justify-content: flex-end;
    justify-self: end;
}

.match-hero__team-card {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    width: 110px;
    min-width: 110px;
    text-align: center;
}

.match-hero__team-card strong {
    display: block;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.match-hero__team-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    min-width: 74px;
    min-height: 74px;
    max-width: 74px;
    max-height: 74px;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    flex: 0 0 74px;
}

.match-hero__team-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    max-width: 74px;
    max-height: 74px;
    border-radius: 20px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.16);
}

.match-hero__team-logo-wrap img.match-hero__team-logo {
    display: block !important;
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    min-height: 74px !important;
    max-width: 74px !important;
    max-height: 74px !important;
    object-fit: cover !important;
    flex: 0 0 74px !important;
}

.match-hero__team-logo--placeholder {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}

.protocol-hero__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d1d5db;
}

.protocol-hero__meta {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    color: #d1d5db;
    font-size: 0.95rem;
}

.protocol-hero__score {
    min-width: 180px;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.protocol-hero__score-label {
    display: block;
    color: #d1d5db;
    font-size: 0.9rem;
}

.protocol-hero__score strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 2rem;
    line-height: 1;
}

.protocol-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.match-hero__best-player-card {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.match-hero__best-player-photo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-hero__best-player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-hero__best-player-photo span {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.match-hero__best-player-label {
    display: block;
    color: #bfdbfe;
    font-size: 0.85rem;
}

.match-hero__best-player-name {
    display: block;
    margin-top: 0.15rem;
    font-size: 1rem;
}

.protocol-panel__title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.protocol-tabs {
    border-bottom: 1px solid #dbe3f0;
    gap: 0.35rem;
}

.protocol-tabs .nav-link {
    border: 0;
    border-radius: 12px 12px 0 0;
    color: #52627a;
    font-weight: 700;
    padding: 0.75rem 1rem;
}

.protocol-tabs .nav-link.active {
    color: #111827;
    background: #f8fbff;
    box-shadow: inset 0 -2px 0 #1d4ed8;
}

.protocol-panel {
    padding: 1.1rem 1.15rem;
    border-radius: 16px;
    border: 1px solid #e5eefc;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.protocol-panel__title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.protocol-form-grid .mb-3 {
    margin-bottom: 0.7rem !important;
}

.protocol-form-grid .row {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0;
}

.protocol-form-grid .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
}

.protocol-form-grid input,
.protocol-form-grid select,
.protocol-form-grid textarea {
    min-height: 42px;
}

.protocol-form-grid--stats input,
.protocol-form-grid--stats select {
    text-align: center;
}

.protocol-subtitle {
    margin-bottom: 0.85rem;
    font-size: 1rem;
}

.protocol-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.protocol-summary-tile {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbeafe;
}

.protocol-summary-tile span {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
}

.protocol-summary-tile strong {
    display: block;
    margin-top: 0.25rem;
    color: #111827;
}

.protocol-list {
    display: grid;
    gap: 0.75rem;
}

.protocol-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5eefc;
}

.protocol-events-board {
    margin-top: 1rem;
}

.protocol-events-board__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    border: 1px solid #dbeafe;
}

.protocol-events-board__title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.protocol-events-team {
    display: grid;
    gap: 0.2rem;
}

.protocol-events-team--away {
    text-align: right;
}

.protocol-events-team span {
    color: #64748b;
    font-size: 0.88rem;
}

.protocol-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.protocol-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, #bfdbfe, #93c5fd, #bfdbfe);
    transform: translateX(-50%);
}

.protocol-timeline__row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.protocol-timeline__side {
    min-width: 0;
}

.protocol-timeline__center {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
}

.protocol-timeline__minute {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.protocol-timeline__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px #dbeafe;
    background: #60a5fa;
}

.protocol-timeline__dot--goal {
    background: #2563eb;
}

.protocol-timeline__dot--yellow {
    background: #f59e0b;
}

.protocol-timeline__dot--red {
    background: #dc2626;
}

.protocol-timeline__dot--neutral {
    background: #64748b;
}

.protocol-event-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid #e5eefc;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 0.8rem 1.8rem rgba(148, 163, 184, 0.12);
}

.protocol-event-card--home {
    margin-right: 0.75rem;
}

.protocol-event-card--away {
    margin-left: 0.75rem;
}

.protocol-event-card__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.45rem;
}

.protocol-event-card__type {
    display: inline-flex;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #e0ecff;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 800;
}

.protocol-event-card__team,
.protocol-event-card__detail {
    color: #64748b;
    font-size: 0.88rem;
}

.protocol-event-card__player {
    display: block;
    margin-bottom: 0.3rem;
    color: #0f172a;
}

.protocol-event-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

@media (max-width: 991.98px) {
    .protocol-events-board__teams {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .protocol-events-team--away {
        text-align: center;
    }

    .protocol-timeline::before {
        left: 28px;
        transform: none;
    }

    .protocol-timeline__row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 0.9rem;
    }

    .protocol-timeline__center {
        grid-column: 1;
    }

    .protocol-timeline__side {
        grid-column: 2;
    }

    .protocol-timeline__side--home:empty,
    .protocol-timeline__side--away:empty {
        display: none;
    }

    .protocol-event-card--home,
    .protocol-event-card--away {
        margin: 0;
    }
}

.lineup-hero {
    background: linear-gradient(135deg, #0f172a, #1e3a8a 45%, #2563eb 100%);
    box-shadow: 0 1rem 2.2rem rgba(30, 64, 175, 0.18);
}

.lineup-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.lineup-hero__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #dbeafe;
}

.lineup-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lineup-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lineup-card__header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.lineup-card__count {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.9rem;
}

.lineup-list {
    display: grid;
    gap: 0.85rem;
}

.lineup-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e5eefc;
}

.lineup-item__name {
    display: block;
}

.lineup-item__meta {
    display: block;
    margin-top: 0.2rem;
    color: #64748b;
}

.lineup-item__badges {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.lineup-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.82rem;
    font-weight: 700;
}

.lineup-badge--start {
    background: #dcfce7;
    color: #166534;
}

.match-hero {
    background: linear-gradient(135deg, #1f2937, #374151 45%, #4b5563 100%);
    box-shadow: 0 1rem 2.2rem rgba(31, 41, 55, 0.18);
}

.match-hero__top {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 180px 110px;
    align-items: start;
    gap: 1rem;
}

.match-hero__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d1d5db;
}

.match-hero__meta {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    color: #d1d5db;
}

.match-hero__link {
    color: #f9fafb;
    text-decoration: none;
}

.match-hero__link:hover,
.match-hero__link:focus {
    color: #e5e7eb;
}

.match-hero__best {
    margin: 0.85rem 0 0;
    color: #e5e7eb;
}

.match-hero__scorebox {
    width: 180px;
    min-width: 180px;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.match-hero__score-label {
    display: block;
    color: #d1d5db;
    font-size: 0.9rem;
}

.match-hero__scorebox strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
}

.protocol-hero__score,
.match-hero__scorebox {
    justify-self: center;
}

.protocol-hero__score {
    width: 180px;
    min-width: 180px;
}

.match-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.match-hero__actions--below {
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.match-lineup-list,
.match-event-list {
    display: grid;
    gap: 0.85rem;
}

.match-stage-hero .protocol-hero__top,
.match-stage-hero .match-hero__top,
.match-stage-hero .match-hero__best-player-card,
.match-stage-hero .match-hero__best {
    display: none;
}

.match-stage-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(196, 181, 253, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(167, 139, 250, 0.18), transparent 30%),
        linear-gradient(135deg, #312e81, #4c1d95 55%, #581c87);
    box-shadow: 0 1.2rem 2.6rem rgba(76, 29, 149, 0.18);
}

.match-stage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(255, 255, 255, 0.22) 59px 61px, transparent 62px),
        linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) center / 2px 100% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) center / 100% 2px no-repeat,
        radial-gradient(circle at 0 50%, transparent 0 82px, rgba(255, 255, 255, 0.18) 83px 85px, transparent 86px),
        radial-gradient(circle at 100% 50%, transparent 0 82px, rgba(255, 255, 255, 0.18) 83px 85px, transparent 86px),
        linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)) left 52px center / 2px 44% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)) right 52px center / 2px 44% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)) left center / 104px 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)) right center / 104px 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) top / 100% 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) bottom / 100% 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) left / 2px 100% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) right / 2px 100% no-repeat;
}

.match-stage-hero > * {
    position: relative;
    z-index: 1;
}

.match-stage-hero__meta {
    text-align: center;
}

.match-stage-hero__board {
    display: grid;
    grid-template-columns: 170px auto 170px;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: min(100%, 720px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.25rem;
}

.match-stage-hero__team {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    width: 170px;
    min-width: 0;
}

.match-stage-hero__team:last-child {
    justify-items: center;
}

.match-stage-hero__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.2);
}

.match-stage-hero__logo {
    display: block;
    width: 112px;
    height: 112px;
    min-width: 112px;
    min-height: 112px;
    max-width: 112px;
    max-height: 112px;
    object-fit: cover;
}

.match-stage-hero__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(14, 165, 233, 0.25));
}

.match-stage-hero__team-name {
    display: block;
    max-width: 170px;
    font-size: 1.45rem;
    line-height: 1.08;
    text-align: center;
    overflow-wrap: anywhere;
}

.match-stage-hero__center {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    text-align: center;
}

.match-stage-hero__score {
    padding: 0.55rem 1.45rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.16);
    color: #fff;
    font-size: 3.9rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.match-stage-hero__title {
    font-size: 1rem;
    color: #f3f4f6;
}

.match-stage-hero__tournament {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.match-stage-hero__mvp {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.match-stage-hero__mvp-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.match-stage-hero__mvp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-stage-hero__mvp-photo span {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.match-stage-hero__mvp-label {
    display: block;
    color: #bfdbfe;
    font-size: 0.95rem;
}

.match-stage-hero__mvp-name {
    display: block;
    margin-top: 0.15rem;
    font-size: 1.35rem;
}

.match-stage-hero__actions {
    justify-content: center;
}

.match-stage-hero__details {
    display: grid;
    grid-template-columns: minmax(320px, 1fr);
    gap: 1rem;
    align-items: stretch;
    width: min(100%, 720px);
    margin-top: 0.9rem;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.match-stage-hero__info-card,
.match-stage-hero__mvp-card {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.14);
}

.match-stage-hero__card-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.match-stage-hero__summary-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    color: #e5e7eb;
    font-size: 0.95rem;
    text-align: center;
}

.match-stage-hero__summary-line strong {
    color: #fff;
    font-size: 0.98rem;
}

.match-stage-hero__summary-line span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #e5e7eb;
}

.match-stage-hero__summary-line--center {
    margin-top: 0.15rem;
    font-size: 0.92rem;
}

.match-stage-hero__info-list {
    display: none;
}

.match-stage-hero__info-item {
    display: grid;
    gap: 0.15rem;
}

.match-stage-hero__info-item span {
    color: #cbd5e1;
    font-size: 0.88rem;
}

.match-stage-hero__info-item strong {
    color: #fff;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.match-stage-hero__mvp-card {
    display: grid;
    gap: 0.9rem;
    width: 100%;
    max-width: none;
    justify-self: center;
    padding: 1.15rem 1.25rem;
}

.match-stage-hero__mvp-card--export-only {
    display: none;
}

.match-share-export-clone .match-stage-hero__mvp-card--export-only {
    display: grid;
}

.match-stage-hero__mvp-card .match-stage-hero__mvp-photo {
    width: 92px;
    height: 92px;
}

.match-stage-hero__mvp-card .match-stage-hero__mvp-label {
    font-size: 0.95rem;
}

.match-stage-hero__mvp-card .match-stage-hero__mvp-name {
    font-size: 1.8rem;
    line-height: 1.05;
}

.overview-mvp-card {
    margin-bottom: 1.1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #1a4588, #2a63b8 58%, #3a7ad1);
    border: 1px solid rgba(219, 234, 254, 0.34);
    box-shadow: 0 1rem 2rem rgba(29, 78, 216, 0.16);
}

.overview-mvp-card .match-stage-hero__mvp {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.overview-mvp-card .match-stage-hero__mvp-label {
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.overview-mvp-card .match-stage-hero__mvp-name {
    margin-top: 0.2rem;
    font-size: 1.2rem;
    line-height: 1.15;
}

.overview-mvp-card .match-stage-hero__mvp-photo {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 2px solid rgba(219, 234, 254, 0.85);
    box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.2);
}

.overview-mvp-card .match-stage-hero__mvp-stats {
    gap: 0.5rem;
}

.overview-mvp-card .match-stage-hero__mvp-stats span {
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(191, 219, 254, 0.22);
    color: #dbeafe;
    font-size: 0.82rem;
}

.overview-mvp-card .match-stage-hero__mvp-stats strong {
    color: #ffffff;
}

.overview-mvp-card__link {
    color: #ffffff;
    text-decoration: none;
}

.overview-mvp-card__link:hover,
.overview-mvp-card__link:focus {
    color: #dbeafe;
}

.match-stage-hero__info-card {
    text-align: center;
}

.match-stage-hero__info-card,
.match-stage-hero__actions {
    display: none;
}

.protocol-hero .protocol-hero__actions {
    display: none;
}

.match-stage-hero__mvp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.match-stage-hero__mvp-stats--legacy {
    display: none;
}

.match-stage-hero__mvp-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: #e5e7eb;
    font-size: 1rem;
}

.match-stage-hero__mvp-stats strong {
    color: #fff;
}

.social-export-panel {
    border: 1px solid #dbeafe;
}

.sponsor-logo-preview {
    display: flex;
    align-items: center;
    min-height: 56px;
    margin-top: 0.55rem;
}

.sponsor-logo-preview img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbeafe;
    padding: 0.35rem;
}

.match-card-preview-panel {
    margin-top: 1.5rem;
}

.match-card-preview-wrap {
    padding: 1rem;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    overflow: auto;
}

.match-card-preview__card {
    margin: 0 auto;
}

.match-card-preview__toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.match-card-preview__meta {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

.match-card-preview__stage {
    min-height: 220px;
}

.export-preview-root {
    position: relative;
}

.export-sponsor-layer {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.export-sponsor-layer--interactive {
    pointer-events: auto;
}

.export-sponsor-item {
    position: absolute;
    width: 170px;
    padding: 0.7rem;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.18);
    cursor: grab;
    user-select: none;
}

.export-sponsor-layer--interactive .export-sponsor-item:active {
    cursor: grabbing;
}

.export-sponsor-item__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 82px;
    margin-bottom: 0.5rem;
    padding: 0.4rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.export-sponsor-item__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.export-sponsor-item__name {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
    overflow-wrap: anywhere;
}

.match-share-sponsors {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.match-share-sponsors__label {
    margin-bottom: 0.7rem;
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.match-share-sponsors__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: center;
}

.match-share-sponsors__logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.match-share-sponsors__logos .match-share-sponsors__logo:first-child,
.match-share-sponsors__list .match-share-sponsors__item:first-child {
    justify-self: start;
}

.match-share-sponsors__logos .match-share-sponsors__logo:last-child,
.match-share-sponsors__list .match-share-sponsors__item:last-child {
    justify-self: end;
}

.match-share-sponsors__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    padding: 0.45rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.match-share-sponsors__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.match-share-sponsors__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.match-share-export-clone .match-stage-hero__details {
    width: min(100%, 980px);
    gap: 1rem;
}

.match-share-sponsor-row {
    display: grid;
    width: 100%;
}

.match-share-sponsor {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
}

.match-share-export-clone .match-share-sponsor-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: center;
    margin-top: 0.15rem;
}

.match-share-export-clone .match-share-sponsor-row--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.match-share-sponsor__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 192px;
    height: 192px;
    padding: 0.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.match-share-sponsor__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.match-share-export-clone .match-share-sponsor__logo {
    width: 132px;
    height: 132px;
}

.match-share-sponsor__name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}

.match-share-export-clone .match-share-sponsor-row .match-stage-hero__mvp-card {
    width: 100%;
    max-width: none;
    min-height: 0;
}

.match-share-export-clone .match-stage-hero__details > .match-stage-hero__mvp-card {
    width: 100%;
    max-width: none;
    padding: 1.45rem 1.6rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.24), rgba(91, 33, 182, 0.18));
    border-color: rgba(196, 181, 253, 0.28);
    box-shadow: 0 1.4rem 2.8rem rgba(76, 29, 149, 0.28);
    transform: translateY(-4px);
}

.match-share-export-clone .match-stage-hero__details > .match-stage-hero__mvp-card .match-stage-hero__mvp {
    gap: 1rem;
    align-items: center;
}

.match-share-export-clone .match-stage-hero__details > .match-stage-hero__mvp-card .match-stage-hero__mvp-photo {
    width: 116px;
    height: 116px;
    border-radius: 26px;
}

.cup-page {
    padding: 1.5rem 0 2.5rem;
}

.cup-hero {
    position: relative;
    overflow: hidden;
    margin-top: 0.75rem;
    padding: 2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.32), transparent 28%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.22), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #112b63 50%, #0b3b66 100%);
    color: #fff;
    box-shadow: 0 1.5rem 3.5rem rgba(15, 23, 42, 0.18);
}

.cup-hero__content {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cup-hero__eyebrow {
    margin: 0 0 0.45rem;
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cup-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
    font-weight: 900;
}

.cup-hero__subtitle {
    max-width: 44rem;
    margin: 0.75rem 0 0;
    color: #dbeafe;
    font-size: 1rem;
}

.cup-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
    min-width: min(100%, 420px);
    flex: 1 1 360px;
}

.cup-hero__stat {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.cup-hero__stat-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #bfdbfe;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cup-hero__stat strong {
    font-size: 1.3rem;
    font-weight: 900;
}

.cup-hero__teams {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cup-hero__team-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    color: #eff6ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.15s ease, background 0.15s ease;
}

.cup-hero__team-link:hover {
    color: #fff;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.13);
}

.cup-hero__team-link img,
.cup-hero__team-link span:first-child {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.cup-board-section {
    margin-top: 1.5rem;
}

.cup-bracket-board {
    position: relative;
    overflow-x: auto;
    padding: 0.25rem 0 1rem;
}

.cup-bracket-board__stage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.25rem;
    min-width: max-content;
    align-items: start;
}

.cup-bracket-board__paths {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.cup-bracket-board__path {
    fill: none;
    stroke: rgba(59, 130, 246, 0.45);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 14px rgba(59, 130, 246, 0.15));
}

.cup-bracket-board__dot {
    fill: #fff;
    stroke: #2563eb;
    stroke-width: 2;
}

.cup-round-column {
    width: 320px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

.cup-round-column--2 {
    padding-top: 4.5rem;
}

.cup-round-column--3 {
    padding-top: 10rem;
}

.cup-round-column--4,
.cup-round-column--5,
.cup-round-column--6 {
    padding-top: 16rem;
}

.cup-round-column__header {
    position: sticky;
    top: 0.5rem;
    z-index: 2;
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.95rem;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.95));
    box-shadow: 0 0.8rem 2rem rgba(37, 99, 235, 0.08);
}

.cup-round-column__eyebrow {
    margin: 0 0 0.35rem;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cup-round-column__title {
    margin: 0;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 900;
}

.cup-round-column__meta {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.92rem;
}

.cup-round-column__matches {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cup-round-column--2 .cup-round-column__matches {
    gap: 4rem;
}

.cup-round-column--3 .cup-round-column__matches {
    gap: 9rem;
}

.cup-round-column--4 .cup-round-column__matches,
.cup-round-column--5 .cup-round-column__matches,
.cup-round-column--6 .cup-round-column__matches {
    gap: 0;
}

.cup-round-column__empty {
    padding: 1rem;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    background: #fff;
}

.cup-match-card {
    position: relative;
    display: block;
    padding: 0.95rem;
    border-radius: 22px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.08);
}

.cup-match-card--empty {
    border-style: dashed;
    opacity: 0.88;
}

.cup-match-card__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.cup-match-card__slot {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cup-match-card__status {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.cup-match-card__status--scheduled {
    background: #dbeafe;
    color: #1d4ed8;
}

.cup-match-card__status--finished {
    background: #dcfce7;
    color: #15803d;
}

.cup-match-card__status--live {
    background: #fee2e2;
    color: #dc2626;
}

.cup-match-card__status--pending {
    background: #e2e8f0;
    color: #475569;
}

.cup-match-card__status--bye {
    background: #fef3c7;
    color: #92400e;
}

.cup-match-card__teams {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.cup-match-team {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid #eef2ff;
}

.cup-match-team:last-child {
    border-bottom: 0;
}

.cup-match-team--winner {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.02));
}

.cup-match-team__identity {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.cup-match-team__logo {
    width: 42px;
    height: 30px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #dbeafe;
    background: #fff;
}

.cup-match-team__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-weight: 800;
    background: #eff6ff;
}

.cup-match-team__name {
    min-width: 0;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.cup-match-team__name--empty {
    color: #94a3b8;
}

.cup-match-team__score {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 900;
}

.cup-match-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.85rem;
    color: #64748b;
    font-size: 0.88rem;
}

.cup-match-card__penalties {
    margin-top: 0.85rem;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 800;
}


.cup-match-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.95rem;
}

.cup-match-card__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.8rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 0.88rem;
    font-weight: 800;
}

.cup-match-card__actions a:hover {
    background: #dbeafe;
}

.social-export-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-export-toolbar .btn {
    white-space: nowrap;
}

.social-export-gallery {
    position: absolute;
    left: -10000px;
    top: 0;
    width: 1400px;
    pointer-events: none;
    opacity: 0;
}

.social-card {
    width: 1400px;
    padding: 2rem;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.26), transparent 28%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.22), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #153f75 55%, #0a294d 100%);
    box-shadow: 0 1.75rem 4rem rgba(15, 23, 42, 0.22);
}

.social-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.social-card__eyebrow {
    margin: 0 0 0.35rem;
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.social-card__title {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.05;
}

.social-card__subtitle {
    margin: 0.4rem 0 0;
    color: #dbeafe;
    font-size: 1rem;
}

.social-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #e0f2fe;
    font-weight: 800;
}

.social-card__panel {
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.social-ranking {
    display: grid;
    gap: 0.75rem;
}

.social-ranking__item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.social-ranking__place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.social-ranking__name {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.social-ranking__name strong {
    font-size: 1.1rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.social-ranking__meta {
    color: #bfdbfe;
    font-size: 0.92rem;
}

.social-ranking__value {
    font-size: 1.35rem;
    font-weight: 900;
}

.social-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.55rem;
}

.social-table th {
    padding: 0 0.7rem 0.35rem;
    color: #bfdbfe;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.social-table td {
    padding: 0.95rem 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

.social-table tbody tr td:first-child {
    border-radius: 16px 0 0 16px;
}

.social-table tbody tr td:last-child {
    border-radius: 0 16px 16px 0;
}

.social-best-player {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.social-best-player__hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.22), rgba(59, 130, 246, 0.1));
    text-align: center;
}

.social-best-player__photo {
    width: 170px;
    height: 170px;
    margin-bottom: 1rem;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.social-best-player__photo img,
.social-best-player__photo span {
    width: 100%;
    height: 100%;
}

.social-best-player__photo img {
    object-fit: cover;
}

.social-best-player__photo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
}

.social-best-player__name {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
}

.social-best-player__team {
    margin-top: 0.35rem;
    color: #bfdbfe;
}

.social-best-player__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.social-best-player__stat {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.social-best-player__stat-label {
    display: block;
    color: #bfdbfe;
    font-size: 0.86rem;
}

.social-best-player__stat strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.45rem;
    font-weight: 900;
}

.social-card--lineups {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.22), transparent 28%),
        radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.18), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #12325e 52%, #081c38 100%);
}

.social-lineups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.social-lineups__hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.social-lineups__hero-team {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.social-lineups__hero-team--away {
    justify-content: flex-end;
    text-align: right;
}

.social-lineups__hero-team strong {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.social-lineups__hero-logo {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-lineups__hero-logo img,
.social-lineups__hero-logo span {
    width: 100%;
    height: 100%;
}

.social-lineups__hero-logo img {
    object-fit: cover;
}

.social-lineups__hero-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
}

.social-lineups__hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.social-lineups__hero-label {
    color: #bae6fd;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.social-lineups__hero-score {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.social-lineups__team {
    min-width: 0;
}

.social-lineups__team-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.95rem;
}

.social-lineups__team-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.social-lineups__logo {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-lineups__logo img,
.social-lineups__logo span {
    width: 100%;
    height: 100%;
}

.social-lineups__logo img {
    object-fit: cover;
}

.social-lineups__logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    font-weight: 900;
}

.social-lineups__label {
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.social-lineups__team-name {
    margin: 0.15rem 0 0;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
}

.social-lineups__count {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.social-lineups__panel {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.social-lineups__table {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.social-lineups__table--head {
    margin-bottom: 0.75rem;
    padding: 0 0.8rem;
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.social-lineups__list {
    display: grid;
    gap: 0.6rem;
}

.social-lineups__row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.social-lineups__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.18);
    color: #e0f2fe;
    font-size: 1.05rem;
    font-weight: 900;
}

.social-lineups__player {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.social-lineups__empty {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: #bfdbfe;
    text-align: center;
    font-weight: 700;
}

.social-cup-board {
    position: relative;
    overflow: visible;
    padding: 0.25rem 0 0;
}

.social-card--cup {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.22), transparent 20%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.24), transparent 24%),
        linear-gradient(135deg, #0f1d7a 0%, #1126c6 55%, #071a7a 100%);
}

.social-card--cup::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 50%, rgba(255, 255, 255, 0.06), transparent 18%),
        url("../img/site-logo.5fce955ff60d.png") no-repeat 74% 50% / 440px auto;
    opacity: 0.18;
    pointer-events: none;
}

.social-card--cup > * {
    position: relative;
    z-index: 1;
}

.social-cup-board__inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    gap: 42px;
    min-width: max-content;
    align-items: start;
}

.social-cup-board__paths {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}

.social-cup-board__path {
    fill: none;
    stroke: rgba(191, 219, 254, 0.95);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-cup-board__dot {
    fill: #dbeafe;
    stroke: rgba(30, 64, 175, 0.95);
    stroke-width: 2;
}

.social-cup-column {
    display: grid;
    gap: 0.9rem;
    position: relative;
    z-index: 1;
}

.social-cup-column--final {
    padding-top: 10.5rem;
}

.social-cup-column--2 {
    padding-top: 64px;
}

.social-cup-column--3 {
    padding-top: 150px;
}

.social-cup-column--4,
.social-cup-column--5,
.social-cup-column--6 {
    padding-top: 240px;
}

.social-cup-column__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    color: #f8fbff;
    background: rgba(12, 21, 96, 0.7);
    border: 1px solid rgba(147, 197, 253, 0.25);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.social-cup-column__final-hero {
    position: absolute;
    top: 0.5rem;
    right: 0;
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    width: 100%;
}

.social-cup-column__trophy {
    width: 120px;
    height: 160px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.social-cup-column__winner-logo {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.82);
}

.social-cup-column__winner-result {
    display: grid;
    gap: 0.2rem;
    text-align: center;
}

.social-cup-column__winner-name {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
}

.social-cup-column__winner-label {
    color: #dbeafe;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.social-cup-column__matches {
    display: grid;
    gap: 0.85rem;
}

.social-cup-column--2 .social-cup-column__matches {
    gap: 3.2rem;
}

.social-cup-column--3 .social-cup-column__matches {
    gap: 7.5rem;
}

.social-cup-column--4 .social-cup-column__matches,
.social-cup-column--5 .social-cup-column__matches,
.social-cup-column--6 .social-cup-column__matches {
    gap: 12rem;
}

.social-cup-match {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 24, 107, 0.95), rgba(13, 20, 86, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.social-cup-match--placeholder {
    background: linear-gradient(180deg, rgba(28, 35, 130, 0.75), rgba(19, 25, 98, 0.78));
}

.social-cup-team {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.8rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.social-cup-team:last-child {
    border-bottom: 0;
}

.social-cup-team--winner {
    background: rgba(255, 255, 255, 0.04);
}

.social-cup-team__logo {
    width: 34px;
    height: 24px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.social-cup-team__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.social-cup-team__name {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.social-cup-team__score {
    color: #fff;
    font-weight: 900;
}

.social-cup-match__penalties {
    padding: 0.5rem 0.85rem 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #dbeafe;
    font-size: 0.76rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .cup-hero {
        padding: 1.5rem;
    }

    .social-lineups {
        grid-template-columns: 1fr;
    }

    .social-lineups__hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .social-lineups__hero-team,
    .social-lineups__hero-team--away {
        justify-content: center;
        text-align: center;
    }

    .social-best-player {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767.98px) {
    .cup-round-column,
    .cup-round-column--2,
    .cup-round-column--3,
    .cup-round-column--4,
    .cup-round-column--5,
    .cup-round-column--6 {
        width: 290px;
        min-width: 290px;
        padding-top: 0;
    }

    .cup-round-column__matches,
    .cup-round-column--2 .cup-round-column__matches,
    .cup-round-column--3 .cup-round-column__matches,
    .cup-round-column--4 .cup-round-column__matches,
    .cup-round-column--5 .cup-round-column__matches,
    .cup-round-column--6 .cup-round-column__matches {
        gap: 1rem;
    }
}

.match-share-export-clone .match-stage-hero__details > .match-stage-hero__mvp-card .match-stage-hero__mvp-label {
    font-size: 1rem;
}

.match-share-export-clone .match-stage-hero__details > .match-stage-hero__mvp-card .match-stage-hero__mvp-name {
    font-size: 2.15rem;
    line-height: 1.02;
}

.match-share-export-clone .match-stage-hero__details > .match-stage-hero__mvp-card .match-stage-hero__mvp-stats {
    gap: 0.7rem;
}

.match-share-export-clone .match-stage-hero__details > .match-stage-hero__mvp-card .match-stage-hero__mvp-stats span {
    padding: 0.72rem 1.05rem;
    font-size: 1.08rem;
}

.match-share-export-clone .match-share-sponsor {
    padding: 0.9rem 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.16), rgba(76, 29, 149, 0.12));
    border: 1px solid rgba(196, 181, 253, 0.22);
    min-height: 186px;
}

.protocol-mvp-inline-duplicate-title,
.protocol-mvp-inline-duplicate {
    display: none;
}

@media (max-width: 991.98px) {
    .protocol-hero__top,
    .match-hero__top {
        grid-template-columns: 1fr;
    }

    .match-hero__teams,
    .match-hero__teams--away {
        width: 100%;
        justify-content: center;
    }

    .match-hero__best-player-card {
        width: 100%;
    }

    .match-stage-hero__board {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .match-stage-hero__details {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .match-stage-hero__score {
        font-size: 2.6rem;
    }

    .match-stage-hero__team-name {
        max-width: 260px;
        font-size: 1.6rem;
    }

    .match-stage-hero__mvp {
        width: 100%;
        justify-content: flex-start;
    }

    .match-share-export-clone .match-share-sponsor-row {
        grid-template-columns: 1fr;
    }

    .match-share-export-clone .match-share-sponsor {
        min-height: 0;
    }
}

.match-lineup-item,
.match-event-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e5eefc;
}

.match-lineup-item__player,
.match-lineup-item__meta {
    margin-top: 0.2rem;
}

.match-lineup-item__meta {
    display: block;
    color: #64748b;
}

.match-lineup-item__badges {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.match-event-card__minute {
    min-width: 58px;
    font-weight: 800;
    color: #1d4ed8;
}

.match-event-card__body strong {
    display: block;
    margin-bottom: 0.2rem;
}

.match-event-card__body strong span {
    color: #64748b;
    font-weight: 600;
}

.match-event-card--goal {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff, #eff6ff);
}

.match-event-card--card {
    border-color: #fde68a;
    background: linear-gradient(180deg, #ffffff, #fff9db);
}

.betting-leaderboard {
    display: grid;
    gap: 0.75rem;
}

.betting-leaderboard__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #e5eefc;
}

.betting-leaderboard__user {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.betting-leaderboard__place {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 800;
}

.betting-match-caption {
    margin-bottom: 0.4rem;
    color: #64748b;
}

.betting-form p {
    margin-bottom: 1rem;
}

.betting-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.betting-form input,
.betting-form select,
.betting-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #d6e2f3;
    border-radius: 12px;
    background: #fbfdff;
}

.betting-form__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.table-modern thead th {
    color: #52627a;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom-width: 1px;
}

.table-modern tbody tr:hover {
    background: #f8fbff;
}

.cup-registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.registration-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.registration-toolbar__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cup-registration-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e5eefc;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #172033;
    font-weight: 600;
}

.cup-registration-option input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #ea580c;
}

@media (max-width: 767.98px) {
    .home-hero,
    .content-card {
        padding: 1.25rem;
    }

    .betting-hero--compact {
        padding: 1.25rem;
    }

    .betting-odds {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .betting-hero__top {
        flex-direction: column;
    }

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

.match-overview-form {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    border: 1px solid #dbeafe;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.match-overview-form__eyebrow {
    margin-bottom: 0.8rem;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.match-video-embed {
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
}

.match-video-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.match-video-empty,
.match-video-fallback {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px dashed #bfdbfe;
}

.overview-team-stack {
    display: grid;
    gap: 1.25rem;
}

.overview-team-card {
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
}

.overview-team-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.overview-team-card .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
}

.overview-team-layout {
    display: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1rem;
    align-items: stretch;
}

.overview-board-stage {
    display: grid;
    gap: 0.8rem;
}

.overview-board-stage__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.58rem 1.15rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f3f86, #1d4ed8);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0.8rem 1.6rem rgba(29, 78, 216, 0.16);
}

.match-tactic-board-wrap {
    margin-top: 1.5rem;
}

.match-tactic-board {
    border-radius: 28px;
    padding: 1.1rem;
    background: linear-gradient(180deg, #0f5fbe, #0a4ea1);
    box-shadow: 0 1.2rem 2.8rem rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.match-tactic-board__surface {
    position: relative;
    width: 100%;
    min-height: min(520px, 62vw);
    aspect-ratio: 3 / 2;
    border-radius: 22px;
    overflow: hidden;
    background:
        url("/static/img/futsal-board.png.4174adcbdab9.png") center / contain no-repeat,
        linear-gradient(180deg, #0c63c7, #0b57b0 55%, #0a4ea1);
}

.match-tactic-board__surface::before,
.match-tactic-board__surface::after {
    content: none;
    position: absolute;
    left: 50%;
    width: 34%;
    height: 20%;
    transform: translateX(-50%);
    border: 3px solid rgba(255,255,255,0.65);
}

.match-tactic-board__surface::before {
    top: 0;
    border-top: 0;
    border-radius: 0 0 42px 42px;
}

.match-tactic-board__surface::after {
    bottom: 0;
    border-bottom: 0;
    border-radius: 42px 42px 0 0;
}

.match-tactic-player {
    position: absolute;
    z-index: 2;
    width: 152px;
    transform: translate(-50%, -50%);
    text-align: center;
}

.match-tactic-player__photo {
    width: 68px;
    height: 68px;
    margin: 0 auto 0.45rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.92);
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    box-shadow: 0 0.9rem 1.5rem rgba(15, 23, 42, 0.24);
}

.match-tactic-player__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-tactic-player__photo span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1e3a8a;
}

.match-tactic-player__name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.35);
}

.match-tactic-player--home-gk { top: 53%; left: 13%; }
.match-tactic-player--home-1 { top: 34%; left: 25%; }
.match-tactic-player--home-2 { top: 26%; left: 40%; }
.match-tactic-player--home-3 { top: 67%; left: 24%; }
.match-tactic-player--home-4 { top: 75%; left: 39%; }

.match-tactic-player--away-gk { top: 53%; left: 87%; }
.match-tactic-player--away-1 { top: 26%; left: 60%; }
.match-tactic-player--away-2 { top: 34%; left: 75%; }
.match-tactic-player--away-3 { top: 75%; left: 61%; }
.match-tactic-player--away-4 { top: 67%; left: 76%; }

.match-tactic-board__team-label {
    position: absolute;
    bottom: 20px;
    z-index: 2;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(10, 31, 61, 0.52);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.match-tactic-board__team-label--home {
    left: 20px;
}

.match-tactic-board__team-label--away {
    right: 20px;
}

.match-tactic-bench-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.match-tactic-bench-intro {
    margin-top: 1.2rem;
    padding: 0.95rem 1rem 0;
}

.match-tactic-bench-intro__title {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #172033;
}

.match-tactic-bench-intro__text {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.match-tactic-bench-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f4fbff, #d8efff);
    border: 1px solid #93c5fd;
    box-shadow: 0 0.9rem 1.8rem rgba(96, 165, 250, 0.12);
}

.match-tactic-bench-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.match-tactic-bench-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #172033;
}

.match-tactic-bench-card__list {
    display: grid;
    gap: 0.55rem;
}

.match-tactic-bench-card__item {
    display: block;
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #bfdbfe;
}

.match-tactic-bench-card__player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.match-tactic-bench-card__photo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.12);
}

.match-tactic-bench-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-tactic-bench-card__photo span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    font-weight: 900;
    color: #1e3a8a;
}

.match-tactic-bench-card__meta {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.match-tactic-bench-card__meta strong {
    color: #172033;
    font-size: 0.93rem;
}

.match-tactic-bench-card__meta span {
    color: #64748b;
    font-size: 0.82rem;
}

.division-panel {
    display: grid;
    gap: 1rem;
}

.division-panel__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.25rem 0 0.5rem;
    border-bottom: 1px solid #dbeafe;
}

.division-panel__nav {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.division-panel__nav .btn {
    border-radius: 999px;
    padding: 0.48rem 0.9rem;
    font-weight: 700;
}

.division-section__placeholder {
    padding: 1.2rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    border: 1px solid #dbeafe;
}

.division-section__placeholder h4 {
    margin: 0 0 0.45rem;
    color: #172033;
    font-weight: 800;
}

.division-section__placeholder p {
    color: #64748b;
}

.division-table-shell {
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 1.1rem 2.2rem rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.division-table {
    margin: 0;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(239, 246, 255, 0.5);
    --bs-table-hover-bg: rgba(219, 234, 254, 0.55);
    --bs-table-border-color: #dbeafe;
}

.division-table thead th {
    padding: 0.95rem 0.8rem;
    background: linear-gradient(180deg, #172033, #24324a);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 0;
    white-space: nowrap;
}

.division-table tbody td {
    padding: 0.9rem 0.8rem;
    vertical-align: middle;
    color: #172033;
    font-weight: 600;
}

.division-table tbody tr:last-child td {
    border-bottom: 0;
}

.division-table__place {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    font-weight: 900;
}

.division-table__team-link {
    color: #172033;
    font-weight: 800;
    text-decoration: none;
}

.division-table__team-link:hover {
    color: #2563eb;
}

.division-table__points {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 36px;
    padding: 0 0.7rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #dbeafe, #bfdbfe);
    color: #1e3a8a;
    font-weight: 900;
}

.division-table__diff {
    font-weight: 800;
}

.division-table__diff--positive {
    color: #15803d;
}

.division-table__diff--negative {
    color: #dc2626;
}

.chessboard-shell {
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 1.1rem 2.2rem rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.chessboard-table {
    margin: 0;
    --bs-table-bg: transparent;
    --bs-table-border-color: #dbeafe;
}

.chessboard-table thead th {
    padding: 0.9rem 0.75rem;
    background: linear-gradient(180deg, #172033, #24324a);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 800;
    border: 0;
    white-space: nowrap;
}

.chessboard-table__corner,
.chessboard-table__row-head {
    min-width: 170px;
}

.chessboard-table__row-head {
    padding: 0.85rem 0.75rem;
    background: #f8fbff;
    color: #172033;
    font-weight: 800;
    position: sticky;
    left: 0;
    z-index: 1;
}

.chessboard-table__team-head {
    min-width: 92px;
    text-align: center;
}

.chessboard-table__cell {
    min-width: 92px;
    padding: 0.6rem 0.45rem;
    text-align: center;
    vertical-align: middle;
    background: #ffffff;
}

.chessboard-table__cell--self {
    background: #eef6ff;
}

.chessboard-table__matches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.chessboard-table__match {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    padding: 0 0.6rem;
    border-radius: 10px;
    background: #eef6ff;
    color: #1e3a8a;
    font-weight: 800;
    text-decoration: none;
}

.chessboard-table__match:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.chessboard-table__match--played {
    background: linear-gradient(180deg, #dbeafe, #bfdbfe);
}

.chessboard-table__self,
.chessboard-table__empty {
    color: #94a3b8;
    font-weight: 700;
}

.progress-shell {
    display: grid;
    gap: 1rem;
}

.progress-chart-wrap {
    border-radius: 22px;
    background: linear-gradient(180deg, #172033, #24324a);
    border: 1px solid #243b5a;
    box-shadow: 0 1.1rem 2.2rem rgba(15, 23, 42, 0.12);
    overflow: auto;
}

.progress-chart {
    display: block;
    min-width: 100%;
}

.progress-chart__grid {
    stroke: rgba(191, 219, 254, 0.16);
    stroke-width: 1;
    stroke-dasharray: 4 8;
}

.progress-chart__place,
.progress-chart__label {
    fill: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
}

.progress-chart__line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.progress-chart__dot {
    stroke: rgba(15, 23, 42, 0.45);
    stroke-width: 2;
}

.progress-chart__team-label {
    font-size: 12px;
    font-weight: 800;
}

.progress-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.progress-legend__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
}

.progress-legend__swatch {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    flex-shrink: 0;
}

.progress-legend__name {
    color: #172033;
    font-weight: 800;
}

.progress-legend__place {
    margin-left: auto;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.site-brand__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem;
}

.site-brand__text {
    letter-spacing: 0.02em;
}

@media (max-width: 767.98px) {
    .division-panel__header {
        align-items: flex-start;
    }

    .division-table thead th,
    .division-table tbody td {
        padding: 0.75rem 0.55rem;
        font-size: 0.82rem;
    }

    .chessboard-table thead th,
    .chessboard-table__row-head,
    .chessboard-table__cell {
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
    }

    .site-brand__logo {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

.futsal-board {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 54px, rgba(255,255,255,0.65) 55px 58px, transparent 59px),
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)) center / 2px 100% no-repeat,
        linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)) top / 100% 2px no-repeat,
        linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)) bottom / 100% 2px no-repeat,
        linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)) left / 2px 100% no-repeat,
        linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)) right / 2px 100% no-repeat,
        linear-gradient(180deg, #156f46, #23965f);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 1rem 2rem rgba(15, 23, 42, 0.14);
}

.futsal-board__half {
    position: relative;
    min-height: 160px;
}

.futsal-board__half--top {
    border-bottom: 2px solid rgba(255,255,255,0.45);
}

.futsal-board__half--top::before,
.futsal-board__half--bottom::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 44%;
    height: 38%;
    transform: translateX(-50%);
    border: 2px solid rgba(255,255,255,0.45);
    border-top: 0;
    border-radius: 0 0 26px 26px;
}

.futsal-board__half--top::before {
    top: 0;
}

.futsal-board__half--bottom::before {
    bottom: 0;
    border-top: 2px solid rgba(255,255,255,0.45);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
}

.futsal-player {
    position: absolute;
    display: grid;
    gap: 0.22rem;
    min-width: 96px;
    max-width: 118px;
    padding: 0.5rem 0.65rem 0.6rem;
    border-radius: 20px;
    background: rgba(10, 31, 61, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0.9rem 1.5rem rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(2px);
    text-align: center;
}

.futsal-player::before {
    display: none;
}

.futsal-player__photo {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.78);
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    box-shadow: 0 0.65rem 1.2rem rgba(15, 23, 42, 0.18);
}

.futsal-player__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.futsal-player__photo span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.15rem;
    font-weight: 900;
    color: #1e3a8a;
}

.futsal-player__name {
    margin-top: 0.1rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

.futsal-player__meta,
.futsal-player__role {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.84);
}

.futsal-board__team-tag {
    position: absolute;
    bottom: 12px;
    z-index: 2;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(10, 31, 61, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.futsal-board__team-tag--home {
    left: 12px;
}

.futsal-board__team-tag--away {
    right: 12px;
}

.futsal-player--top-gk {
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
}

.futsal-player--bottom-gk {
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
}

.futsal-player--slot-1 {
    top: 68px;
    left: 16%;
}

.futsal-player--slot-2 {
    top: 68px;
    right: 16%;
}

.futsal-player--slot-3 {
    top: 108px;
    left: 28%;
}

.futsal-player--slot-4 {
    top: 108px;
    right: 28%;
}

.futsal-player--bottom.futsal-player--slot-1,
.futsal-player--bottom.futsal-player--slot-2,
.futsal-player--bottom.futsal-player--slot-3,
.futsal-player--bottom.futsal-player--slot-4 {
    top: auto;
}

.futsal-player--bottom.futsal-player--slot-1 {
    bottom: 108px;
    left: 16%;
}

.futsal-player--bottom.futsal-player--slot-2 {
    bottom: 108px;
    right: 16%;
}

.futsal-player--bottom.futsal-player--slot-3 {
    bottom: 68px;
    left: 28%;
}

.futsal-player--bottom.futsal-player--slot-4 {
    bottom: 68px;
    right: 28%;
}

.overview-team-bench {
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    border: 1px solid #dbeafe;
}

.overview-team-bench__title {
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: #172033;
}

.overview-team-bench__list {
    display: grid;
    gap: 0.6rem;
}

.overview-team-bench__item {
    display: grid;
    gap: 0.15rem;
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e5eefc;
}

.overview-team-bench__item:last-child {
    margin-bottom: 0;
}

.overview-team-bench__item strong {
    color: #172033;
    font-size: 0.92rem;
}

.overview-team-bench__item span {
    color: #64748b;
    font-size: 0.82rem;
}

.overview-staff-card {
    margin-top: 1.35rem;
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
}

.overview-staff-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.overview-staff-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #172033;
}

.overview-staff-card__hint {
    color: #64748b;
    font-size: 0.82rem;
}

.overview-staff-groups {
    display: grid;
    gap: 1rem;
}

.overview-staff-group {
    display: grid;
    gap: 0.75rem;
}

.overview-staff-group__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
}

.overview-staff-group__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.overview-staff-person {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    border: 1px solid #dbeafe;
}

.overview-staff-person__photo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #dbeafe;
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    box-shadow: 0 0.6rem 1.2rem rgba(15, 23, 42, 0.08);
}

.overview-staff-person__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-staff-person__photo span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 900;
}

.overview-staff-person__meta {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.overview-staff-person__meta strong {
    color: #172033;
    font-size: 0.95rem;
}

.overview-staff-person__meta span {
    color: #64748b;
    font-size: 0.82rem;
}

@media (max-width: 991.98px) {
    .overview-team-layout {
        grid-template-columns: 1fr;
    }

    .futsal-player {
        min-width: 88px;
        max-width: 104px;
        padding: 0.55rem 0.6rem;
    }

    .futsal-player__photo {
        width: 50px;
        height: 50px;
    }

    .match-tactic-board__surface {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .match-tactic-player {
        width: clamp(96px, 14vw, 132px);
    }

    .match-tactic-player__photo {
        width: clamp(48px, 7vw, 64px);
        height: clamp(48px, 7vw, 64px);
    }

    .match-tactic-player__name {
        font-size: clamp(0.72rem, 1.5vw, 0.86rem);
    }

    .match-tactic-bench-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .match-tactic-board {
        padding: 0.7rem;
        border-radius: 22px;
    }

    .match-tactic-board__surface {
        aspect-ratio: 3 / 2.1;
        border-radius: 16px;
    }

    .match-tactic-player {
        width: 82px;
    }

    .match-tactic-player__photo {
        width: 42px;
        height: 42px;
        margin-bottom: 0.28rem;
        border-width: 2px;
    }

    .match-tactic-player__name {
        font-size: 0.62rem;
        line-height: 1.05;
    }

    .match-tactic-board__team-label {
        bottom: 12px;
        padding: 0.4rem 0.65rem;
        font-size: 0.68rem;
    }

    .match-tactic-board__team-label--home {
        left: 12px;
    }

    .match-tactic-board__team-label--away {
        right: 12px;
    }
}

#overview-pane .protocol-summary-grid .match-tactic-bench-grid {
    display: none;
}

#overview-pane .match-tactic-bench-grid--overview {
    margin-top: 1.35rem;
}

#overview-pane .match-tactic-bench-grid--overview .match-tactic-bench-card {
    min-height: 100%;
}

.match-video-links {
    display: grid;
    gap: 1rem;
}

.match-video-link-card {
    padding: 1.1rem 1.1rem 1.15rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
}

.match-video-link-card__eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
}

.match-video-link-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: #172033;
}

.match-video-link-card p {
    margin: 0 0 0.9rem;
    color: #64748b;
}

.match-leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.7rem;
}

.match-leader-card {
    padding: 0.65rem 0.7rem;
    border-radius: 16px;
    border: 1px solid #c7dcfb;
    background: linear-gradient(180deg, #f3f8ff, #e7f0ff);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.match-leader-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.1rem;
}

.match-leader-card__eyebrow {
    display: block;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
    line-height: 1.1;
    max-width: 62%;
}

.match-leader-card__value {
    color: #172033;
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 0.8;
    white-space: nowrap;
    text-align: right;
    flex: 0 0 auto;
}

.match-leader-card__players {
    display: grid;
    gap: 0.2rem;
}

.match-leader-card__player {
    padding-top: 0.15rem;
    border-top: 0;
}

.match-leader-card__player:first-child {
    padding-top: 0;
    border-top: 0;
}

.match-leader-card__player-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.match-leader-card__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.match-leader-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-leader-card__meta {
    display: grid;
    gap: 0.02rem;
    min-width: 0;
}

.match-leader-card__meta strong {
    color: #172033;
    font-size: 0.94rem;
    line-height: 1.05;
}

.match-leader-card__meta span {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.05;
}

.profile-page {
    display: grid;
    gap: 1.5rem;
}

.profile-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(147, 197, 253, 0.18);
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.2), transparent 22%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.22), transparent 26%),
        linear-gradient(135deg, #0f1d7a 0%, #1126c6 55%, #071a7a 100%);
    box-shadow: 0 1.6rem 3.2rem rgba(15, 23, 42, 0.22);
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 34%, rgba(255, 255, 255, 0.08), transparent 18%),
        radial-gradient(circle at 18% 84%, rgba(255, 255, 255, 0.05), transparent 16%);
    pointer-events: none;
}

.profile-card__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: #bfdbfe;
}

.profile-card__title {
    margin: 0;
    color: #ffffff;
}

.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #1e293b;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 0.65rem 1.4rem rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-tab:hover {
    transform: translateY(-1px);
    color: #1d4ed8;
    border-color: #93c5fd;
    box-shadow: 0 0.85rem 1.6rem rgba(59, 130, 246, 0.12);
}

.profile-tab--active {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    border-color: rgba(37, 99, 235, 0.35);
    color: #ffffff;
    box-shadow: 0 1rem 1.9rem rgba(29, 78, 216, 0.18);
}

.profile-tab__badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

.profile-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.profile-overview-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 0.85rem 1.6rem rgba(15, 23, 42, 0.05);
}

.profile-overview-card__label {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
}

.profile-overview-card strong {
    color: #172033;
    font-size: 1.15rem;
}

.profile-overview-card small {
    color: #64748b;
    font-size: 0.88rem;
}

.profile-role-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.profile-role-access-card {
    display: grid;
    gap: 0.28rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid #dbe5f2;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-role-access-card:hover {
    transform: translateY(-2px);
    color: #0f172a;
    border-color: #93c5fd;
    box-shadow: 0 1rem 1.8rem rgba(59, 130, 246, 0.12);
}

.profile-role-access-card__eyebrow {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-role-access-card strong {
    font-size: 1rem;
}

.profile-role-access-card small {
    color: #64748b;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
    gap: 1.25rem;
}

.profile-grid__main,
.profile-grid__side {
    min-width: 0;
}

.profile-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
}

.profile-info-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem 1rem;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.profile-info-item span {
    color: #64748b;
    font-size: 0.82rem;
}

.profile-info-item strong {
    color: #172033;
}

.profile-linked-player,
.team-manager-card,
.profile-empty-state {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid #dbe5f2;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.profile-linked-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-linked-player__label {
    margin: 0 0 0.35rem;
    color: #64748b;
    font-size: 0.82rem;
}

.profile-linked-player__name {
    color: #172033;
    font-weight: 800;
    text-decoration: none;
}

.profile-player-photo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #dbeafe;
}

.profile-player-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-manager-card h2 {
    margin: 0 0 0.45rem;
    color: #172033;
}

.team-manager-card p {
    margin: 0 0 1rem;
    color: #64748b;
}

.team-lineup-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.22), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 60%, #1e3a8a 100%);
    color: #fff;
    box-shadow: 0 1.25rem 2.8rem rgba(15, 23, 42, 0.16);
}

.team-lineup-hero__eyebrow {
    margin: 0 0 0.4rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.team-lineup-hero__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 900;
    line-height: 1.02;
}

.team-lineup-hero__subtitle {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.team-lineup-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.manager-match-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.manager-match-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid #dbe5f2;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.05);
}

.manager-match-card--muted {
    opacity: 0.92;
}

.manager-match-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
    color: #64748b;
    font-size: 0.82rem;
}

.manager-match-card h3 {
    margin: 0 0 0.35rem;
    color: #172033;
    font-size: 1rem;
}

.manager-match-card__subtitle {
    margin: 0 0 0.9rem;
    color: #64748b;
}

.manager-lineup-form {
    display: grid;
    gap: 1rem;
}

.team-lineup-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.team-lineup-toolbar__hint {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
}

.team-lineup-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.team-lineup-toolbar__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.protocol-lineup-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.protocol-lineup-toolbar__hint {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.protocol-lineup-table-wrap {
    overflow-x: auto;
    padding-bottom: 0.15rem;
}

.manager-lineup-table {
    display: grid;
    gap: 0.75rem;
}

.manager-lineup-table__head,
.manager-lineup-row {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(7, minmax(90px, 1fr));
    gap: 0.75rem;
    align-items: center;
}

.manager-lineup-table__head {
    padding: 0 0.35rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
}

.manager-lineup-row {
    padding: 0.9rem;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    background: #fff;
}

.manager-lineup-row label {
    margin: 0;
}

.manager-lineup-row input[type="text"],
.manager-lineup-row input[type="number"],
.manager-lineup-row select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    border: 1px solid #cfd9e7;
    background: #fff;
}

.manager-lineup-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.manager-lineup-row__player {
    display: grid;
    gap: 0.2rem;
}

.manager-lineup-row__player strong {
    color: #172033;
}

.manager-lineup-row__player span {
    color: #64748b;
    font-size: 0.82rem;
}

.manager-lineup-row__field {
    display: grid;
    gap: 0.3rem;
}

.manager-lineup-row__field > span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.manager-lineup-row__field--check {
    justify-items: center;
}

.manager-lineup-row__errors {
    display: grid;
    gap: 0.15rem;
    margin-top: 0.15rem;
}

.manager-lineup-row__errors span {
    color: #dc2626;
    font-size: 0.78rem;
}

.manager-lineup-form__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.manager-current-lineup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
}

.manager-current-lineup__item {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid #dbe5f2;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.manager-current-lineup__item strong {
    color: #172033;
}

.manager-current-lineup__item span {
    color: #64748b;
    font-size: 0.83rem;
}

.nav-link--notifications {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.notification-list {
    display: grid;
    gap: 0.9rem;
}

.notification-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid #dbe5f2;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.05);
}

.notification-card--read {
    opacity: 0.78;
}

.notification-card--best_player {
    border-color: #f5d66f;
    background: linear-gradient(180deg, #fffaf0, #fff7db);
}

.notification-card--leader_goals,
.notification-card--leader_assists,
.notification-card--leader_shots,
.notification-card--leader_shots_on_target {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #f8faff, #eef2ff);
}

.notification-card--leader_passes,
.notification-card--leader_accurate_passes {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #f6fbff, #eaf4ff);
}

.notification-card--leader_tackles,
.notification-card--leader_interceptions,
.notification-card--leader_saves {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f6fff8, #e8fcee);
}

.notification-card--manual {
    border-color: #e9d5ff;
    background: linear-gradient(180deg, #fcf8ff, #f6efff);
}

.notification-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.notification-card__type {
    display: inline-block;
    margin-bottom: 0.3rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.notification-card__title {
    display: block;
    color: #172033;
    font-size: 1rem;
}

.notification-card__message {
    margin: 0 0 0.7rem;
    color: #334155;
}

.notification-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.82rem;
}

.notification-card__meta a {
    color: #2563eb;
    text-decoration: none;
}

.notification-card__read-label {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-hero {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.profile-hero__photo {
    width: 132px;
    height: 132px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1d4ed8;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 40px rgba(3, 7, 18, 0.28);
}

.profile-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero__eyebrow {
    margin: 0 0 0.35rem;
    color: #c7d2fe;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 800;
}

.profile-hero__name {
    margin: 0 0 0.65rem;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.05;
    color: #ffffff;
}

.profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.profile-hero__meta span {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(191, 219, 254, 0.14);
    color: #e2e8f0;
    font-size: 0.92rem;
}

.profile-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.profile-hero__links .btn-outline-dark,
.profile-hero__links .btn-dark,
.profile-hero__links .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.22);
}

.profile-hero__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.9rem;
}

.profile-action-card {
    display: grid;
    gap: 0.28rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(191, 219, 254, 0.14);
    background: rgba(7, 18, 77, 0.34);
    color: #ffffff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.profile-action-card:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: rgba(11, 29, 118, 0.48);
    border-color: rgba(191, 219, 254, 0.24);
}

.profile-action-card__label {
    color: #c7d2fe;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-action-card strong {
    font-size: 1rem;
}

.profile-action-card small {
    color: #dbeafe;
}

.profile-footnote {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    color: #64748b;
    font-size: 0.82rem;
}

.profile-footnote a {
    color: #475569;
}

@media (max-width: 991.98px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-hero {
        grid-template-columns: 1fr;
    }

    .team-lineup-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-lineup-hero__actions {
        width: 100%;
    }

    .manager-lineup-table__head {
        display: none;
    }

    .manager-lineup-row {
        grid-template-columns: 1fr;
    }

    .team-lineup-toolbar,
    .protocol-lineup-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .team-lineup-hero {
        padding: 1.1rem 1rem;
        gap: 1rem;
        border-radius: 22px;
    }

    .team-lineup-hero__title {
        font-size: 1.7rem;
    }

    .team-lineup-hero__subtitle {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .team-lineup-hero__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .team-lineup-hero__actions .btn {
        width: 100%;
    }

    .profile-info-list {
        grid-template-columns: 1fr;
    }

    .profile-team-manager-grid {
        grid-template-columns: 1fr;
    }

    .profile-role-access-grid {
        grid-template-columns: 1fr;
    }

    .profile-team-panel {
        padding: 0.95rem;
        border-radius: 18px;
    }

    .match-kit-preview {
        gap: 0.65rem;
        align-items: flex-start;
    }

    .team-lineup-toolbar__hint,
    .protocol-lineup-toolbar__hint {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .team-lineup-toolbar__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .manager-lineup-form {
        gap: 0.85rem;
    }

    .manager-lineup-table {
        gap: 0.6rem;
    }

    .manager-lineup-row {
        padding: 0.8rem;
        gap: 0.55rem;
        border-radius: 16px;
    }

    .manager-lineup-row__player strong {
        font-size: 0.96rem;
    }

    .manager-lineup-row__player span {
        font-size: 0.76rem;
    }

    .manager-lineup-row__field {
        gap: 0.22rem;
    }

    .manager-lineup-row__field > span {
        font-size: 0.67rem;
    }

    .manager-lineup-row input[type="text"],
    .manager-lineup-row input[type="number"],
    .manager-lineup-row select {
        min-height: 42px;
        padding: 0.55rem 0.65rem;
        font-size: 0.95rem;
    }

    .manager-lineup-row input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .manager-lineup-form__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .manager-lineup-form__actions .btn {
        width: 100%;
    }

    .manager-current-lineup {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 430px) {
    .team-lineup-hero {
        padding: 0.95rem 0.9rem;
        border-radius: 18px;
    }

    .team-lineup-hero__eyebrow {
        font-size: 0.68rem;
    }

    .team-lineup-hero__title {
        font-size: 1.45rem;
    }

    .team-lineup-hero__subtitle {
        font-size: 0.86rem;
    }

    .content-card {
        border-radius: 18px;
    }

    .profile-info-item {
        padding: 0.8rem 0.85rem;
        border-radius: 16px;
    }

    .kit-preset-grid {
        gap: 0.35rem;
    }

    .kit-preset {
        width: 26px;
        height: 26px;
    }

    .manager-lineup-row {
        padding: 0.72rem;
    }

    .manager-lineup-row__player strong {
        font-size: 0.92rem;
    }

    .manager-lineup-row__player span {
        font-size: 0.72rem;
    }

    .manager-lineup-row__errors span {
        font-size: 0.72rem;
    }

    .manager-current-lineup__item {
        padding: 0.8rem 0.85rem;
    }
}

.venue-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.28), transparent 36%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #1e40af 100%);
    color: #fff;
}

.venue-hero__eyebrow {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
}

.venue-hero h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.venue-hero p {
    margin: 0;
    max-width: 52rem;
    color: rgba(255, 255, 255, 0.82);
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.venue-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.9rem;
}

.venue-switcher__item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.venue-switcher__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

.venue-switcher__item--available {
    background: linear-gradient(135deg, #15803d, #22c55e);
}

.venue-switcher__item--idle {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.venue-switcher__name {
    font-size: 1.02rem;
    font-weight: 800;
}

.venue-switcher__meta {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
}

.venue-card {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.venue-card__media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 220px;
}

.venue-card__media--compact {
    min-height: 128px;
    gap: 0.75rem;
    margin: 1rem 0 1.1rem;
}

.venue-card__media--sidebar {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0.7rem;
    margin: 0;
}

.venue-card__image {
    background: #dbeafe;
    min-height: 220px;
}

.venue-card__image--compact {
    min-height: 128px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.venue-card__image--mini {
    min-height: 88px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}

.venue-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    color: #1d4ed8;
    font-weight: 700;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.venue-card__body {
    padding: 1.4rem;
    background:
        radial-gradient(circle at top right, rgba(191, 219, 254, 0.5), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.venue-card__layout {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.venue-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.venue-card__top h2 {
    margin: 0 0 0.2rem;
    font-size: 1.45rem;
}

.venue-card__address,
.venue-card__description,
.venue-card__meta,
.venue-card__empty {
    color: #475569;
}

.venue-card__slots {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.venue-calendar {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.venue-calendar--showcase {
    margin-top: 0;
    padding: 1.1rem 1.1rem 1rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 34%),
        linear-gradient(180deg, #ffffff, #eff6ff);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 16px 40px rgba(37, 99, 235, 0.08);
}

.venue-calendar__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.venue-calendar__head h3 {
    margin: 0;
    font-size: 1rem;
}

.venue-calendar__eyebrow {
    margin: 0 0 0.24rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
}

.venue-calendar__legend {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #475569;
}

.venue-calendar__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 0.4rem;
}

.venue-calendar__dot--green {
    background: #16a34a;
}

.venue-calendar__dot--yellow {
    background: #eab308;
}

.venue-calendar__weekdays,
.venue-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.42rem;
}

.venue-calendar__weekdays {
    margin-bottom: 0.42rem;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

.venue-calendar__day {
    position: relative;
    min-height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    font-weight: 800;
    color: #0f172a;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.venue-calendar__day--muted {
    opacity: 0.28;
}

.venue-calendar__day--green {
    background: linear-gradient(180deg, #dcfce7, #f0fdf4);
    border-color: rgba(22, 163, 74, 0.38);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.14);
}

.venue-calendar__day--yellow {
    background: linear-gradient(180deg, #fef9c3, #fffbea);
    border-color: rgba(234, 179, 8, 0.32);
}

.venue-calendar__day--mixed {
    background: linear-gradient(135deg, #fef08a 0%, #fef08a 50%, #86efac 50%, #86efac 100%);
    border-color: rgba(132, 204, 22, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.venue-calendar__day--green::after,
.venue-calendar__day--yellow::after,
.venue-calendar__day--mixed::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.88);
}

.venue-calendar__day--green::after {
    background: #16a34a;
}

.venue-calendar__day--yellow::after {
    background: #eab308;
}

.venue-calendar__day--mixed::after {
    background: linear-gradient(135deg, #eab308 0%, #eab308 50%, #16a34a 50%, #16a34a 100%);
}

.venue-calendar__tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    display: none;
    min-width: 170px;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.26);
    z-index: 10;
}

.venue-calendar__tooltip strong,
.venue-calendar__tooltip span {
    display: block;
}

.venue-calendar__tooltip span + span {
    margin-top: 0.25rem;
}

.venue-calendar__day:hover .venue-calendar__tooltip,
.venue-calendar__day:focus-within .venue-calendar__tooltip {
    display: block;
}

.venue-calendar__day--button {
    width: 100%;
    cursor: pointer;
    text-align: center;
}

.venue-calendar__day--button:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.venue-calendar__day--interactive {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.venue-calendar__day--interactive:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
}

.venue-card__slots-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.venue-card__slots-head h3 {
    margin: 0;
    font-size: 1.02rem;
}

.venue-slot,
.venue-staff-slot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.venue-slot + .venue-slot,
.venue-staff-slot + .venue-staff-slot {
    margin-top: 0.75rem;
}

.venue-slot span {
    display: block;
    color: #475569;
}

.venue-slot__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
}

.venue-slot__price {
    font-weight: 800;
    color: #1d4ed8;
    white-space: nowrap;
}

.venue-slot__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.venue-staff-page .content-card,
.venue-page .content-card {
    border-radius: 24px;
}

.venue-manager-inline {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.venue-manager-inline__form .form-control {
    min-height: 46px;
}

.venue-staff-form .form-control {
    min-height: 48px;
}

.venue-staff-slots {
    display: grid;
    gap: 0.95rem;
}

.venue-staff-slot__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.venue-staff-slot--available {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

.venue-staff-slot--booked {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.venue-staff-slot--cancelled {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

@media (max-width: 767.98px) {
    .venue-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .venue-card__layout {
        grid-template-columns: 1fr;
    }

    .venue-card__media,
    .venue-card__media--sidebar {
        grid-template-columns: 1fr 1fr;
    }

    .venue-card__top,
    .venue-slot,
    .venue-staff-slot {
        flex-direction: column;
        align-items: flex-start;
    }

    .venue-slot__side,
    .venue-slot__actions {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .venue-calendar__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .venue-calendar__grid,
    .venue-calendar__weekdays {
        gap: 0.3rem;
    }

    .venue-staff-slot__actions {
        justify-content: flex-start;
    }
}

.profile-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.profile-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.profile-chip:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.profile-chip--active {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
}

.profile-team-manager-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.profile-team-panel {
    padding: 1.15rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff, #eef4ff);
    border: 1px solid rgba(59, 130, 246, 0.14);
}

.profile-team-panel h3 {
    margin: 0 0 0.35rem;
}

.profile-manage-links {
    display: grid;
    gap: 0.7rem;
}

.profile-manage-link {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.profile-manage-link:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.profile-request-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: #64748b;
    font-size: 0.95rem;
}

.match-kit-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.match-kit-preview--stacked {
    flex-direction: column;
    align-items: flex-start;
}

.match-kit-preview span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    font-weight: 600;
}

.match-kit-swatch {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.12);
    display: inline-block;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.kit-preset-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.kit-preset {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.16);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
    cursor: pointer;
}

.chat-kit-card {
    display: grid;
    gap: 0.4rem;
    padding: 0.65rem 0.72rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.chat-kit-card__title {
    display: block;
    color: #0f172a;
    font-size: 0.84rem;
    line-height: 1.35;
}

.chat-kit-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.78rem;
}

.chat-kit-card__row + .chat-kit-card__row {
    margin-top: 0;
}

.chat-kit-card__value {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-weight: 800;
    color: #334155;
    font-size: 0.78rem;
}
