/* Team detail page styles (tym.html) */

/* ═══════════════════════════════════════════════
   TEAM NAV TABS (sticky)
   ═══════════════════════════════════════════════ */

.team-nav {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.team-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    padding: 8px 40px;
    overflow-x: auto;
}
.team-nav__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px; font-weight: 600;
    color: var(--gray-600);
    background: none;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.team-nav__tab:hover { color: var(--gray-800); background: var(--gray-100); }
.team-nav__tab.active { color: var(--white); background: var(--red); }
.team-nav__tab i { font-size: 16px; }


/* ═══════════════════════════════════════════════
   ROSTER GRID (soupiska)
   ═══════════════════════════════════════════════ */

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.roster-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.roster-card__avatar {
    position: relative;
    width: 100px; height: 100px;
    margin: 0 auto 14px;
}
.roster-card__avatar img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-100);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.roster-card__initials {
    display: flex;
    align-items: center; justify-content: center;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 26px; font-weight: 700;
    color: var(--gray-400);
}
.roster-card__number {
    position: absolute;
    bottom: -2px; right: -2px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: var(--red);
    color: var(--white);
    font-size: 13px; font-weight: 700;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(196,30,58,0.3);
}
.roster-card__info strong {
    display: block;
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
}
.roster-card__pos {
    display: block;
    font-size: 12px; font-weight: 500;
    color: var(--red);
}
.roster-card__height {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
}


/* ═══════════════════════════════════════════════
   STAFF GRID (realizační tým)
   ═══════════════════════════════════════════════ */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.staff-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.staff-card__avatar {
    width: 64px; height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-100);
}
.staff-card__avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.staff-card__initials {
    display: flex;
    align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 20px; font-weight: 700;
    color: var(--gray-400);
}
.staff-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.staff-card__name {
    font-size: 15px; font-weight: 700;
    color: var(--gray-800);
}
.staff-card__role {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px; font-weight: 500;
    color: var(--red);
}
.staff-card__role i { font-size: 15px; }
.staff-card__license {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px; font-weight: 600;
    color: var(--lic-color, var(--gray-400));
    margin-top: 2px;
}
.staff-card__contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    font-size: 12px;
}
.staff-card__contact a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition);
}
.staff-card__contact i { font-size: 14px; }

/* ── Rich staff card (show_on_web enhanced) ── */
.staff-card--rich {
    flex-direction: column;
    gap: 0;
}
.staff-card--rich .staff-card__top {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}
.staff-card--rich .staff-card__header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.staff-card__philosophy {
    font-size: 13px;
    font-style: italic;
    color: var(--gray-500);
    padding: 8px 12px;
    background: var(--gray-50, #F9FAFB);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.4;
}
.staff-card__philosophy i {
    color: var(--red);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    font-style: normal;
}
.staff-card__bio {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 8px;
}
.staff-card__career {
    margin-bottom: 8px;
}
.staff-card__career-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.staff-card__career-label i { font-size: 13px; }
.staff-card__career-text {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    white-space: pre-line;
}
.staff-card__comps {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.staff-card__comp-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    background: var(--gray-100, #F3F4F6);
    color: var(--gray-600);
    font-weight: 500;
}
.staff-card--rich .staff-card__contact {
    padding-top: 10px;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}


/* ═══════════════════════════════════════════════
   MATCH ROWS (team detail — list format)
   ═══════════════════════════════════════════════ */

.team-matches-list { display: flex; flex-direction: column; gap: 6px; }
.match-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.match-row--win { border-left: 3px solid #059669; }
.match-row--loss { border-left: 3px solid var(--red); }

.match-row__date {
    min-width: 90px;
    font-size: 13px;
    color: var(--gray-600);
    flex-shrink: 0;
}
.match-row__time {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
}
.match-row__teams {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    min-width: 0;
}
.match-row__us { font-weight: 700; color: var(--gray-800); }
.match-row__score {
    font-size: 18px; font-weight: 800;
    font-variant-numeric: tabular-nums;
    min-width: 48px;
    text-align: center;
}
.match-row--win .match-row__score { color: #059669; }
.match-row--loss .match-row__score { color: var(--red); }
.match-row__vs { font-size: 12px; color: var(--gray-400); }
.match-row__meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-400);
    flex-shrink: 0;
}
.match-row__sets { font-weight: 500; color: var(--gray-600); }

/* News grid small (for team detail) */
.news-grid-sm {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}



/* ═══════════════════════════════════════════════
   PUBLIC GALLERY (fotogalerie v team detail)
   ═══════════════════════════════════════════════ */

.pub-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.pub-gallery-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.pub-gallery-card__cover {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--gray-100);
    overflow: hidden;
}
.pub-gallery-card__cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.pub-gallery-card__placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: var(--gray-400); font-size: 32px;
}
.pub-gallery-card__overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 6px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    display: flex; align-items: center;
    font-size: 12px; font-weight: 600; color: #fff;
}
.pub-gallery-card__overlay i { margin-right: 4px; }
.pub-gallery-card__body { padding: 12px 14px; }
.pub-gallery-card__body h4 {
    font-size: 14px; font-weight: 700;
    color: var(--gray-800); margin: 0 0 4px;
}
.pub-gallery-card__match {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: var(--gray-400);
}

/* ═══════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════ */

.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
}
.lightbox__close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%;
    color: #fff; font-size: 22px;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }

.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border: none; border-radius: 50%;
    color: #fff; font-size: 24px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__img-wrap {
    max-width: 90vw; max-height: 80vh;
    display: flex; flex-direction: column;
    align-items: center;
}
.lightbox__img-wrap img {
    max-width: 90vw; max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox__caption {
    margin-top: 12px;
    font-size: 14px; color: rgba(255,255,255,0.7);
    text-align: center;
    max-width: 600px;
}
.lightbox__counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 480px) {
    .lightbox__nav { width: 36px; height: 36px; font-size: 20px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .pub-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .team-nav__tab { padding: 8px 14px; font-size: 13px; gap: 4px; }
    .team-nav__tab i { font-size: 14px; }
    .roster-card { padding: 14px; }
    .roster-card__name { font-size: 14px; }
    .roster-card__avatar { width: 80px; height: 80px; margin-bottom: 10px; }
    .roster-card__initials { font-size: 22px; }
    .roster-card__number { width: 26px; height: 26px; font-size: 11px; }
    /* Season pass banner on team page */
    .season-pass-banner { padding: 14px 16px; }
    .season-pass-banner__content { flex-direction: column; text-align: center; font-size: 18px; }
    .season-pass-banner__actions { justify-content: center; }
}


@media (max-width: 768px) {
    .team-nav__inner { padding: 8px 16px; }
    .roster-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
    .staff-grid { grid-template-columns: 1fr; }
    .match-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .match-row__meta { flex-wrap: wrap; }
}

@media (max-width: 380px) {
    .roster-grid { grid-template-columns: 1fr; }
    .pub-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
/* =============================================
   PUBLIC TEAM CALENDAR (tc- prefix)
   ============================================= */

/* Toolbar */
.tc-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.tc-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    background: var(--bg, #fff);
    color: var(--text, #1f2937);
    cursor: pointer;
    transition: all 0.15s;
    font-size: 18px;
}
.tc-nav-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.tc-month-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text, #1f2937);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 180px;
    justify-content: center;
}
.tc-month-label i { opacity: 0.4; font-size: 20px; }
.tc-today-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    background: var(--bg, #fff);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.tc-today-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Legend */
.tc-legend {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-secondary, #6b7280);
    flex-wrap: wrap;
}
.tc-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.tc-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}
.tc-dot-training { background: #2563eb; }
.tc-dot-match { background: #C41E3A; }
.tc-dot-conditioning { background: #059669; }

/* Grid */
.tc-grid {
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg, #fff);
}
.tc-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--bg-alt, #f9fafb);
    border-bottom: 1px solid var(--border, #e5e7eb);
}
.tc-hcell {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #6b7280);
}
.tc-hcell.tc-weekend { color: #9333ea; }
.tc-hcell.tc-weekend:last-child { color: #C41E3A; }

.tc-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid var(--border, #e5e7eb);
}
.tc-week:last-child { border-bottom: none; }

.tc-cell {
    min-height: 80px;
    padding: 4px;
    border-right: 1px solid var(--border, #e5e7eb);
    position: relative;
    transition: background 0.15s;
}
.tc-cell:last-child { border-right: none; }
.tc-cell:nth-child(6) { background: rgba(147, 51, 234, 0.02); }
.tc-cell:nth-child(7) { background: rgba(196, 30, 58, 0.02); }

.tc-cell.tc-other { opacity: 0.35; }
.tc-cell.tc-past:not(.tc-today) { opacity: 0.5; }

.tc-cell.tc-today {
    background: rgba(37, 99, 235, 0.06);
}

.tc-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text, #1f2937);
    margin-bottom: 2px;
}
.tc-day-today {
    background: var(--accent, #2563eb);
    color: #fff !important;
    border-radius: 50%;
}

/* Events inside cells */
.tc-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tc-ev {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.3;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
    overflow: hidden;
}
.tc-ev-training {
    background: rgba(37, 99, 235, 0.12);
    color: #1e40af;
}
.tc-ev-match {
    background: rgba(196, 30, 58, 0.12);
    color: #991b1b;
    font-weight: 600;
}
.tc-ev-conditioning {
    background: rgba(5, 150, 105, 0.12);
    color: #065f46;
}
.tc-ev i { font-size: 12px; flex-shrink: 0; }
.tc-ev-text { overflow: hidden; text-overflow: ellipsis; }
.tc-ev-time { margin-left: auto; opacity: 0.7; font-size: 10px; }

.tc-ev-ha {
    font-size: 9px;
    font-weight: 800;
    padding: 0 3px;
    border-radius: 3px;
    flex-shrink: 0;
}
.tc-ev-home { background: #dcfce7; color: #166534; }
.tc-ev-away { background: #fef3c7; color: #92400e; }

/* Day detail panel */
.tc-day-detail {
    margin-top: 16px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 10px;
    background: var(--bg, #fff);
    overflow: hidden;
    animation: tcSlideIn 0.2s ease-out;
}
@keyframes tcSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.tc-dd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bg-alt, #f9fafb);
    border-bottom: 1px solid var(--border, #e5e7eb);
}
.tc-dd-header strong {
    font-size: 15px;
    text-transform: capitalize;
}
.tc-dd-header span {
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
    margin-left: 8px;
}
.tc-dd-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.15s;
}
.tc-dd-close:hover { background: var(--border, #e5e7eb); color: var(--text, #1f2937); }

.tc-dd-list { padding: 8px; }

.tc-dd-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
    transition: background 0.15s;
}
.tc-dd-item + .tc-dd-item { border-top: 1px solid var(--border, #e5e7eb); }

.tc-dd-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.tc-dd-match .tc-dd-icon { background: rgba(196, 30, 58, 0.1); color: #C41E3A; }
.tc-dd-slot .tc-dd-icon { background: rgba(37, 99, 235, 0.1); color: #2563eb; }

.tc-dd-info { flex: 1; min-width: 0; }
.tc-dd-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.tc-dd-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
    flex-wrap: wrap;
}
.tc-dd-meta i { font-size: 14px; opacity: 0.5; }
.tc-dd-venue {
    font-size: 12px;
    color: var(--text-secondary, #6b7280);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tc-dd-venue i { font-size: 14px; opacity: 0.5; }
.tc-dd-note {
    font-size: 12px;
    color: var(--text-secondary, #6b7280);
    margin-top: 4px;
    font-style: italic;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}
.tc-dd-note i { font-size: 14px; opacity: 0.5; margin-top: 1px; }

.tc-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 99px;
}
.tc-badge-home { background: #dcfce7; color: #166534; }
.tc-badge-away { background: #fef3c7; color: #92400e; }

/* ── MOBILE ── */
@media (max-width: 768px) {
    .tc-cell { min-height: 56px; padding: 2px; }
    .tc-day { width: 20px; height: 20px; font-size: 11px; }
    .tc-ev { font-size: 10px; padding: 1px 2px; gap: 2px; }
    .tc-ev i { font-size: 10px; }
    .tc-ev-text { display: none; }
    .tc-ev-time { font-size: 9px; }
    .tc-ev-ha { font-size: 8px; padding: 0 2px; }
    .tc-month-label { font-size: 15px; min-width: 140px; }
    .tc-toolbar { gap: 4px; }
    .tc-dd-item { padding: 10px; gap: 10px; }
    .tc-dd-icon { width: 34px; height: 34px; font-size: 16px; }
}

/* ═══════════════════════════════════════════════
   PLAYER DETAIL MODAL
   ═══════════════════════════════════════════════ */

.pub-modal__card--player {
    max-width: 820px;
    padding: 0;
    overflow: hidden;
}

.player-detail {
    display: flex;
    min-height: 420px;
}

.player-detail__photo {
    flex: 0 0 340px;
    background: linear-gradient(160deg, var(--gray-100), var(--gray-50));
    position: relative;
    overflow: hidden;
}
.player-detail__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.player-detail__no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.player-detail__no-photo span {
    font-size: 72px;
    font-weight: 700;
    color: var(--gray-300);
}

.player-detail__info {
    flex: 1;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    max-height: 80vh;
}

.player-detail__header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.player-detail__jersey {
    font-size: 32px;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}
.player-detail__name {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.2;
}
.player-detail__captain {
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
}

.player-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.player-detail__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
}
.player-detail__badge i { font-size: 14px; color: var(--red); }

.player-detail__socials {
    display: flex;
    gap: 10px;
}
.player-detail__social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 18px;
    transition: all var(--transition);
    text-decoration: none;
}
.player-detail__social:hover {
    background: var(--red);
    color: var(--white);
}

.player-detail__qa {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--gray-100);
    padding-top: 18px;
}
.player-detail__qa-item {}
.player-detail__question {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-400);
    margin-bottom: 3px;
}
.player-detail__answer {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ── Player detail responsive ── */
@media (max-width: 640px) {
    .pub-modal__card--player {
        max-width: 100vw;
    }
    .player-detail {
        flex-direction: column;
    }
    .player-detail__photo {
        flex: 0 0 auto;
        height: 320px;
    }
    .player-detail__info {
        padding: 24px 20px;
        max-height: none;
    }
    .player-detail__name {
        font-size: 20px;
    }
    .player-detail__jersey {
        font-size: 24px;
    }
}


/* ── Hover (pointer devices only) ── */
@media (hover: hover) {
    .roster-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .staff-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .staff-card__contact a:hover { color: var(--red); }
    .match-row:hover { background: var(--gray-50); }
    .pub-gallery-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .pub-gallery-card:hover .pub-gallery-card__cover img { transform: scale(1.05); }
    .tc-cell:hover { background: rgba(37, 99, 235, 0.03); cursor: default; }
    .tc-ev:hover { opacity: 0.8; }
    .tc-dd-item:hover { background: var(--bg-alt, #f9fafb); }
}