.period-badge { display: inline-block; padding: 4px 12px; font-size: .82em; font-weight: 600; background: #fef3c7; color: #92400e; border-radius: 20px; margin-left: 8px; vertical-align: middle; }

    .players-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
    .pl-tab-btn { padding: 7px 16px; font-size: .9em; font-weight: 600; border: 1px solid var(--border); border-radius: 20px; background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
    .pl-tab-btn:hover { border-color: var(--primary-blue); color: var(--primary-blue); }
    .pl-tab-btn.active { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }

    .pl-tab-content { display: none; }
    .pl-tab-content.active { display: block; }

    .pl-table { width: 100%; border-collapse: collapse; table-layout: auto; }
    .pl-table th { padding: 8px 6px; font-size: .8em; text-align: center; background: var(--bg-blue); color: var(--primary-blue); text-transform: uppercase; position: sticky; top: 0; z-index: 2; }
    .pl-table td { padding: 9px 6px; font-size: .95em; text-align: center; border-bottom: 1px solid var(--border); }
    .pl-table tr:hover { background: #f0f7ff; }

    .pl-table .c-spacer { display: none; }
.pl-table .c-rank { width: 40px; font-weight: 700; color: var(--text-light); }
    .pl-table .c-name { text-align: left; width: 100%; }
    .pl-table .c-team { text-align: left; width: 150px; }
    .pl-table .c-pos { width: 40px; font-size: .8em; color: var(--text-light); }
    .pl-table .c-stat { width: 46px; }
    .pl-table .c-min { width: 60px; font-size: .85em; color: var(--text-light); }
    .pl-table .c-seasons { width: 40px; font-size: .85em; color: var(--text-light); }
    .pl-table .c-highlight { font-weight: 700; }
    .pl-table .c-goals { color: #16a34a; }
    .pl-table .c-assists { color: #2563eb; }

    .player-name { font-weight: 600; }
    .player-nat { font-size: .7em; color: var(--text-light); margin-left: 4px; vertical-align: middle; }
    .player-teams { font-size: .75em; color: var(--text-light); margin-top: 2px; }
    .player-teams a { color: var(--text-light); text-decoration: none; }
    .player-teams a:hover { color: var(--primary-blue); }

    .top-rank-1 { background: #fefce8; }
    .top-rank-1:hover { background: #fef9c3; }
    .top-rank-1 .c-rank { color: #ca8a04; font-size: 1.1em; }
    .top-rank-2 { background: #f0f9ff; }
    .top-rank-2:hover { background: #e0f2fe; }
    .top-rank-2 .c-rank { color: #6b7280; }
    .top-rank-3 { background: #fdf4ff; }
    .top-rank-3:hover { background: #fae8ff; }
    .top-rank-3 .c-rank { color: #b45309; }

    .seasons-avail { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
    .seasons-avail-title { font-size: .85em; color: var(--text-light); margin-right: 8px; align-self: center; font-weight: 600; }
    .seasons-avail a { padding: 3px 10px; font-size: .8em; background: var(--bg-blue); border: 1px solid var(--border); border-radius: 4px; color: var(--primary-blue); text-decoration: none; font-weight: 600; }
    .seasons-avail a:hover { background: var(--primary-blue); color: #fff; }

    @media (max-width: 768px) {
        .pl-table { table-layout: auto; }
        .pl-table .c-team { width: auto; }
        .pl-table .c-pos, .pl-table .c-min, .pl-table .c-seasons { display: none; }
        .pl-table .player-nat { display: none; }
        .pl-table .player-teams { display: none; }
        .pl-table td, .pl-table th { padding: 6px 3px; font-size: .82em; }
        .pl-table .c-stat { width: 32px; }
        .pl-table .c-rank { width: 28px; }
    }

/* всплывашка карьеры игрока (/germany/players/) */
.pl-career { cursor: pointer; border-bottom: 1px dashed #cbd5e1; }
.pl-career:hover { color: var(--primary-blue, #2563eb); }
.pl-modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: flex; align-items: flex-start; justify-content: center; z-index: 1000; padding: 8vh 16px 16px; }
.pl-modal-backdrop[hidden] { display: none; }
.pl-modal { background: #fff; border-radius: 12px; max-width: 560px; width: 100%; max-height: 70vh; overflow: auto; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.pl-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e2e8f0; }
.pl-modal-close { border: none; background: none; font-size: 18px; cursor: pointer; color: #64748b; }
.pl-modal-body { padding: 8px 16px 16px; }
.pl-modal-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.pl-modal-table th, .pl-modal-table td { padding: 6px 8px; border-bottom: 1px solid #eef2f7; text-align: center; }
.pl-modal-table th { color: var(--primary-blue, #2563eb); font-size: .82em; text-transform: uppercase; }
.pl-modal-table td:first-child { white-space: nowrap; }
.pl-modal-table tfoot td { border-top: 2px solid #cbd5e1; border-bottom: none; background: #f8fafc; font-size: .92em; }
