*{box-sizing:border-box;font-family:Inter,Arial,sans-serif}

/* Лёгкие акценты (фон остаётся белым) */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e7eef7;
  --card:#ffffff;
  --accent:#2563eb;
  --accent-soft:#eff6ff;
}

body{margin:0;background:var(--bg);color:var(--text)}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:16px}
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.header-row{flex-wrap:nowrap}
.burger{flex:0 0 auto}
.brand{flex:1 1 auto;min-width:0}
.brand-title{min-width:0}
.brand-title{font-weight:800;font-size:18px;line-height:1.1}
.brand-sub{font-size:12px;color:#7a7a85;margin-top:2px}
.nav{display:flex;gap:14px;flex-wrap:wrap}
.nav a{text-decoration:none;font-weight:600;font-size:14px;color:#2a2a33;padding:8px 10px;border-radius:10px}
.nav a:hover{background:var(--accent-soft)}
.nav .nav-muted{color:#6e6e78;font-weight:600}
h2{margin:18px 0 12px 0;font-size:18px}
.section{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px}
.section + .section{margin-top:14px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}
.section-title{font-weight:800}
.section-title{display:flex;align-items:center;gap:10px}
.section-title:before{content:"";width:10px;height:10px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.section-note{font-size:12px;color:#7a7a85}

.matches{display:grid;gap:10px}
.match{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 12px 10px;transition:transform .08s ease, box-shadow .08s ease}
.match:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(20,20,30,.06)}
.match-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}
.badge{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.badge-dot{width:6px;height:6px;border-radius:10px;background:rgba(37,99,235,.55);display:inline-block;box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.meta{font-size:12px;color:var(--muted)}

.teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
.team{display:flex;align-items:center;gap:10px;min-width:0}
.team.right{justify-content:flex-end}
.team .txt{min-width:0}
.team .name{font-weight:800;font-size:clamp(14px,1.9vw,17px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.team .village{font-size:clamp(12px,1.6vw,14px);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.team-logo{width:clamp(44px,6vw,60px);height:clamp(44px,6vw,60px);border-radius:14px;background:#f1f2f5;display:flex;align-items:center;justify-content:center;font-weight:900;color:#222;overflow:hidden;flex:0 0 clamp(44px,6vw,60px)}
.team-logo img{width:100%;height:100%;object-fit:cover;display:block}
.score{font-size:clamp(24px,3.2vw,34px);font-weight:900;letter-spacing:.3px;min-width:62px;text-align:center}
.score.muted{color:#9b9baa;font-weight:800}

.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tab{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:#f2f3f6;border:1px solid #e6e7ee;text-decoration:none;font-weight:800;font-size:13px;color:#333}
.tab:hover{background:#edf0f6}
.tab.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.tab .pill{background:rgba(255,255,255,.18);padding:2px 8px;border-radius:999px;font-size:12px;font-weight:900}

.table{width:100%;background:#fff;border-collapse:collapse;border:1px solid #ececf0;border-radius:14px;overflow:hidden}
.table th,.table td{padding:10px 12px;border-bottom:1px solid #f0f0f5;font-size:14px}
.table th{font-size:12px;color:#7a7a85;text-transform:uppercase;letter-spacing:.08em;background:#fafafe}
.table tr:last-child td{border-bottom:none}
.table .teamcell{display:flex;align-items:center;gap:10px;min-width:0}
.table .teamcell .ttext{min-width:0}
.table .teamcell .tname{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.table .teamcell .tvillage{font-size:12px;color:#7a7a85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.small{max-width:420px}
input,select,button{width:100%;padding:10px 12px;margin:0 0 10px 0;border-radius:12px;border:1px solid #e6e7ee;background:#fff;font-size:14px}
button{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:900;cursor:pointer}
button:hover{filter:brightness(.98)}
.btnrow{display:flex;gap:10px}
.btnrow > *{flex:1}
.card{background:#fff;border:1px solid #ececf0;border-radius:14px;padding:14px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:720px){
  .header-row{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}
  .teams{grid-template-columns:1fr auto 1fr}
  .team-logo{width:38px;height:38px;border-radius:10px}
  .score{min-width:50px;font-size:clamp(22px,6vw,26px)}
  .grid2{grid-template-columns:1fr}
}

/* Лидеры: 2 колонки на десктопе */
.leaders-grid{display:grid;gap:10px}
@media (min-width:900px){.leaders-grid{grid-template-columns:1fr 1fr}}

/* Печатная версия протокола */
@media print{
  .header{position:static}
  .nav, .tabs, .no-print{display:none !important}
  body{background:#fff}
  .container{max-width:none;padding:0}
  .section,.card{border:none}
  @page{size:A4;margin:12mm}
}


/* Таблица турнира */
.table th.num, .table td.num { text-align: right; white-space: nowrap; }
.table td .team-sub { display:block; font-size:12px; color:#7a7a7a; margin-top:2px; }


/* Кликабельные карточки матчей */
a.match{display:block;text-decoration:none}
a.match:focus{outline:2px solid #d7d7de;outline-offset:2px;border-radius:12px}

/* Игроки в составе с фото */
.player-row{display:flex;align-items:center;gap:10px}
.avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e2e4ea;background:#f2f3f5}
.avatar-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.avatar-fallback{font-weight:800;color:#5b5b66}
.player-text{min-width:0}
.player-name{font-weight:700;line-height:1.1}
.player-meta{font-size:12px;color:#7a7a85;margin-top:2px}


.avatar.avatar-lg{width:56px;height:56px}


/* Новости */
.news-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.news-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid #ececf0;border-radius:14px;overflow:hidden;transition:transform .08s ease, box-shadow .08s ease}
.news-card:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(20,20,30,.06)}
.news-thumb{width:100%;height:170px;background:#f0f1f4;border-bottom:1px solid #ececf0;overflow:hidden}
.news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.news-body{padding:12px}
.news-title{font-weight:900;line-height:1.2}
.news-excerpt{margin-top:8px;line-height:1.35;color:#555}
.news-meta{margin-top:8px;font-size:12px;color:#6f6f7a}
@media (max-width:720px){.news-grid{grid-template-columns:1fr}.news-thumb{height:160px}}

.news-grid.news3{grid-template-columns:repeat(3,1fr)}
@media (max-width:960px){.news-grid.news3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.news-grid.news3{grid-template-columns:1fr}}


/* === Micro UX fixes for protocol links (non-intrusive) === */

/* Protocol page link behavior */
.protocol a {
    color: inherit;
    text-decoration: none;
}
.protocol a:hover {
    text-decoration: underline;
}

/* Clickable player rows */
.protocol .player-row {
    cursor: pointer;
}
.protocol .player-row:hover {
    background: rgba(0,0,0,0.03);
}

/* Goal scorer emphasis */
.protocol .goal-scorer {
    font-weight: 600;
}

/* Assist links softer */
.protocol .assist a {
    opacity: 0.8;
}

/* Mobile tap comfort */
@media (max-width: 768px) {
    .protocol .player-row {
        min-height: 44px;
    }
}


/* === Team/Player cards (light, non-breaking) === */

.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:960px){.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.cards-grid{grid-template-columns:1fr}}

.entity-card{display:flex;gap:12px;align-items:center}
.entity-card .avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e2e4ea;background:#f2f3f5}
.entity-card .avatar img{width:100%;height:100%;object-fit:cover;display:block}
.entity-card .body{min-width:200px;flex:1 1 260px}
.entity-card .title{font-weight:900;line-height:1.15;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.entity-card .sub{color:var(--muted);font-size:12px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:2px}
.entity-card .right{flex:0 0 auto;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}

.stat-chip{display:inline-flex;align-items:baseline;gap:6px;padding:6px 8px;border-radius:12px;border:1px solid #ececf0;background:#fafbff;font-size:12px;line-height:1}
.stat-chip b{font-weight:900}

@media (max-width:720px){
  .entity-card{align-items:flex-start}
  .entity-card .avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e2e4ea;background:#f2f3f5}
  .entity-card .right{justify-content:flex-start;margin-top:8px}
  .entity-card{flex-wrap:wrap}
  .entity-card .body{flex:1 1 100%}
}


/* entity-card responsive */
@media (max-width: 640px){
  .entity-card{flex-wrap:wrap;align-items:flex-start}
  .entity-card .right{width:100%;justify-content:flex-start;margin-left:66px}
}

/* === Team roster grid: 2 columns on desktop, 1 on mobile === */
.cards-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
@media (max-width: 900px){
  .cards-grid.cols-2{grid-template-columns:1fr;}
}



/* === Protocol page: etalon polishing (compact + readable) === */
.protocol .card{padding:16px}
.protocol .section-title{margin:0 0 10px 0}

.protocol .meta{line-height:1.35}

.protocol a{color:inherit;text-decoration:none}
.protocol a:hover{text-decoration:underline}

/* Player rows in lineups */
.protocol .player-link{display:block}
.protocol .player-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px}
.protocol .player-link:hover .player-row{background:rgba(0,0,0,.03)}
.protocol .player-text{min-width:0}
.protocol .player-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.protocol .player-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Goals / penalties list */
.protocol .event-row{display:grid;grid-template-columns:68px 1fr;gap:10px;align-items:start;padding:8px 0;border-top:1px solid var(--line)}
.protocol .event-row:first-child{border-top:none}
.protocol .event-time{font-size:12px;color:#7a7a85;line-height:1.2;padding-top:2px}
.protocol .event-top{display:flex;align-items:center;gap:8px;justify-content:space-between}
.protocol .event-team{font-size:12px;color:#7a7a85}
.protocol .event-badge{font-size:12px;color:#111827;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:2px 8px;white-space:nowrap}
.protocol .event-main{font-weight:700}
.protocol .event-sub{margin-top:2px;font-weight:600;color:#4b5563;font-size:13px}
.protocol .goal-scorer{font-weight:800}
.protocol .assist{opacity:.85;font-weight:600}

@media (max-width:720px){
  .protocol .card{padding:14px}
  .protocol .event-row{grid-template-columns:56px 1fr;gap:8px}
  .protocol .player-row{padding:8px 8px}
  .protocol .player-name{white-space:normal}
  .protocol .player-meta{white-space:normal}
}


/* === Protocol header polish (KHL-like, minimal) === */

.match-top-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.meta-venue{max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scorebox{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:84px}
.score-sub{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}
.rt-badge,.st-badge{font-size:12px;line-height:1;padding:6px 10px;border-radius:999px;border:1px solid #e6e7ee;background:#f6f7fb;color:#111827;font-weight:800}
.rt-badge{background:#eef2ff;border-color:#dde3ff}
.st-badge{background:#f3f4f6;border-color:#e5e7eb;color:#374151}
@media (max-width:768px){
  .meta-venue{max-width:220px}
  .scorebox{min-width:70px}
}


/* === Team page mobile fixes === */

@media (max-width: 720px){
  .cards-grid.cols-2{grid-template-columns: 1fr}
  .entity-card{flex-wrap:wrap}
  .entity-card .right{width:100%;justify-content:flex-start;gap:8px;margin-top:10px}
  .entity-card .body{min-width:0}
}


/* === Admin news list polish === */

.admin .list .row{padding:10px 12px;border-radius:14px;border:1px solid #eef0f5;background:#fff}
.admin .list{display:flex;flex-direction:column;gap:10px}
.admin .list .row .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin .list .row a.btn{padding:8px 10px}
@media (max-width: 720px){
  .admin .list .row{flex-wrap:wrap}
  .admin .list .row > div:last-child{width:100%;justify-content:flex-start}
}


/* === Player cards (team roster) layout === */

.player-card .chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media (max-width: 720px){
  .player-card{align-items:flex-start}
  .player-card .avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e2e4ea;background:#f2f3f5}
  .player-card .body{min-width:0}
  .player-card .title{font-size:18px}
  .player-card .chips{margin-top:12px}
}


/* === Team header chips mobile === */

@media (max-width: 720px){
  .entity-card:not(.player-card) .right{justify-content:flex-start}
  .entity-card:not(.player-card){padding-bottom:14px}
}


/* === Admin news page (responsive list) === */

.admin-news-list{display:flex;flex-direction:column;gap:12px}
.admin-news-item{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid #eef0f5;border-radius:16px;background:#fff}
.admin-news-thumb{width:86px;height:58px;flex:0 0 86px;border-radius:12px;overflow:hidden;background:#f0f1f4;border:1px solid #e7e7ee}
.admin-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.admin-news-main{flex:1;min-width:0}
.admin-news-title{font-weight:900;line-height:1.15}
.admin-news-meta{margin-top:4px}
.admin-news-excerpt{margin-top:8px;color:#4b5563;font-size:14px;line-height:1.35}
.admin-news-actions{display:flex;gap:8px;align-items:center;flex:0 0 auto}
@media (max-width: 720px){
  .admin-news-item{flex-wrap:wrap}
  .admin-news-thumb{width:100%;height:160px;flex:1 1 100%}
  .admin-news-actions{width:100%;justify-content:flex-start}
}


/* === Crop modal (player photo 1x1) === */

.no-scroll{overflow:hidden}
.crop-modal{position:fixed;inset:0;display:none;z-index:9999}
.crop-modal.open{display:block}
.crop-backdrop{position:absolute;inset:0;background:rgba(17,24,39,0.35)}
.crop-sheet{position:relative;max-width:860px;margin:26px auto;background:#fff;border-radius:18px;border:1px solid #eef0f5;box-shadow:0 24px 60px rgba(0,0,0,0.18);overflow:hidden}
.crop-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:14px 14px 10px}
.crop-title{font-weight:900;font-size:18px;line-height:1.1}
.crop-sub{margin-top:4px;color:#6b7280;font-size:13px}
.crop-x{white-space:nowrap}
.crop-body{display:grid;grid-template-columns:1fr 260px;gap:14px;padding:0 14px 14px}
.crop-stage{border:1px solid #eef0f5;border-radius:16px;overflow:hidden;background:#f6f7fb}
.crop-stage canvas{width:100%;height:auto;display:block;touch-action:none}
.crop-controls{display:flex;flex-direction:column;gap:12px}
.crop-row input[type="range"]{width:100%}
.crop-actions{display:flex;gap:10px;flex-wrap:wrap}
.crop-note{margin-top:2px}
@media (max-width: 900px){
  .crop-sheet{margin:12px}
  .crop-body{grid-template-columns:1fr;gap:12px}
}


/* === Admin match layout === */

.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
@media (max-width: 980px){.grid3{grid-template-columns:1fr}}


/* === Score note (OT/SO) under score in match cards === */

.score-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:64px}
.score-note{font-size:12px;line-height:1;color:#6b7280;font-weight:800}


/* team/player pages */
.center{text-align:center}

@media (max-width:520px){.avatar-lg{width:56px;height:56px}}

.stack{display:flex;flex-direction:column;gap:14px}
.roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (max-width:820px){.roster{grid-template-columns:1fr}}
.roster-item{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #ececf0;border-radius:14px;text-decoration:none;color:inherit;background:#fff}
.roster-item:hover{border-color:rgba(0,0,0,.12)}
.roster-item .avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e2e4ea;background:#f2f3f5}
.roster-item .name{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* hero photo */
img.avatar-hero{width:120px;height:120px;border-radius:999px!important;object-fit:cover;display:block;margin:0 auto;background:#f2f3f5}
@media (max-width:520px){img.avatar-hero{width:96px;height:96px}}

/* Protocol roster compact */
.protocol .protocol-rosters .grid2{gap:10px}
.protocol .player-row{padding:6px 8px;border-radius:12px}
.protocol .player-row:hover{background:rgba(0,0,0,0.03)}
.protocol .avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e2e4ea;background:#f2f3f5}
.protocol .player-name{font-weight:700;font-size:14px}
.protocol .player-meta{font-size:11px}
@media (max-width:720px){
  .protocol .avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e2e4ea;background:#f2f3f5}
  .protocol .player-name{font-size:15px}
}
/* Leaders clickable */
.leader-card{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #ececf0;border-radius:14px;padding:10px 12px;text-decoration:none;color:inherit;background:#fff}
.leader-card:hover{border-color:rgba(0,0,0,.12)}

.badge.interview{padding:2px 8px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:600}


/* ===== Шапка 2.0 (логотип PNG + бургер) ===== */
.nav-toggle{display:none}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;min-width:0;flex:1}
.brand-logo{width:52px;height:52px;border-radius:999px;overflow:hidden;flex:0 0 52px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center}
.brand-logo img{width:100%;height:100%;object-fit:contain;display:block}
.brand-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.brand-title{font-weight:900;font-size:18px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-sub{display:none}

.burger{display:none;width:46px;height:46px;border-radius:14px;border:1px solid var(--line);background:#fff;align-items:center;justify-content:center;cursor:pointer;user-select:none}
.burger span{width:20px;height:2px;background:var(--text);position:relative;display:block;border-radius:2px}
.burger span:before,.burger span:after{content:'';position:absolute;left:0;right:0;height:2px;background:var(--text);border-radius:2px}
.burger span:before{top:-6px}
.burger span:after{top:6px}

.nav-desktop{display:flex}
.nav-mobile{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.nav-mobile a{padding:12px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:800}
.nav-mobile a:hover{background:var(--accent-soft)}

.nav-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.25);z-index:30}
.nav-drawer{position:fixed;top:0;left:0;height:100vh;width:min(86vw,360px);background:#fff;border-right:1px solid var(--line);z-index:40;transform:translateX(-105%);transition:.22s ease;padding:14px}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line)}
.drawer-brand{display:flex;align-items:center;gap:12px}
.drawer-title{font-weight:900}
.drawer-close{width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:#fff;cursor:pointer;position:relative}
.drawer-close:before,.drawer-close:after{content:'';position:absolute;left:50%;top:50%;width:18px;height:2px;background:var(--text);transform-origin:center}
.drawer-close:before{transform:translate(-50%,-50%) rotate(45deg)}
.drawer-close:after{transform:translate(-50%,-50%) rotate(-45deg)}

.nav-toggle:checked ~ .nav-overlay{display:block}
.nav-toggle:checked ~ .nav-drawer{transform:translateX(0)}

@media (max-width: 860px){
  /* фикс: на мобилке логотип не должен уезжать на 2 строку */
  .header-row{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:flex-start !important;gap:12px !important;flex-wrap:nowrap !important}
  .burger{display:flex}
  .nav-desktop{display:none}
  .brand{display:flex !important;align-items:center !important;flex:1 1 auto !important;min-width:0 !important}
  .brand-logo{width:44px;height:44px;flex:0 0 44px}
  .brand-title{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .header .container{padding:10px 16px}
}



/* ===== Команды: блоками по активным турнирам ===== */
.teams-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width: 980px){.teams-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.teams-grid{grid-template-columns:1fr}}

.team-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 42px 14px 14px; /* справа место под стрелку */
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  text-decoration:none;
  min-height:76px;
  position:relative;
  overflow:hidden;
}
.team-card:after{content:'›';position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:22px;font-weight:800;opacity:.7}
.team-card:before{
  content:'';
  position:absolute;
  left:0;top:12px;bottom:12px;
  width:3px;
  background:rgba(37,99,235,.22);
  border-radius:3px;
}
.team-name{font-weight:900;font-size:18px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.team-village{font-size:13px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.team-logo{
  width:48px;height:48px;border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;flex:0 0 48px;
  font-weight:900;color:var(--text);
}
.team-logo img{width:100%;height:100%;object-fit:contain;display:block}

.team-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:999px;
  border:1px solid var(--line);
  background:#f8fafc;
  font-weight:800;
  font-size:13px;
  color:var(--text);
}
.pill b{font-weight:900}


/* player matches list */
.match-list{display:flex;flex-direction:column;gap:10px}
.match-row{display:grid;grid-template-columns:92px 1fr 110px;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e9ecf2;border-radius:14px;text-decoration:none;color:inherit;background:#fff}
.match-row:hover{box-shadow:0 10px 24px rgba(0,0,0,.06);transform:translateY(-1px)}
.match-date{font-weight:800;color:#222;font-size:13px}
.match-main{min-width:0}
.match-teams{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.match-teams .team{font-weight:900}
.match-teams .vs{opacity:.5;font-weight:700}
.match-teams .star{margin-left:4px}
.match-meta{margin-top:6px}
.match-points{justify-self:end;font-weight:1000}
.match-points.zero{opacity:.55;font-weight:900}
.match-points.good{color:#0a7a2f}
@media (max-width:640px){
  .match-row{grid-template-columns:80px 1fr 90px}
}

.player-hero{display:flex;gap:16px;align-items:center}
.player-hero-body{flex:1;min-width:220px}
.player-title{margin:0 0 4px;font-weight:1000;letter-spacing:-.2px}
@media (max-width:640px){.player-hero{flex-direction:column;text-align:center}.player-hero-body{min-width:0}}


/* avatar circle fix */
.team-card .avatar{
  width:54px;
  height:54px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}
@media (max-width:640px){
  .team-card .avatar{width:50px;height:50px}
}


/* team-card chips on one line (mobile) */
@media (max-width:640px){
  .team-card .chips{
    flex-wrap:nowrap;
    gap:6px;
  }
  .team-card .stat-chip{
    padding:6px 8px;
    border-radius:999px;
    font-size:12px;
    line-height:1;
  }
  .team-card .stat-chip b{font-size:12px}
}


/* match list compact */
.match-row{
  padding:8px 10px;
  border-radius:12px;
}
.match-date{font-size:12px}
.match-points{font-size:13px}
.match-meta .pill{padding:6px 10px}
@media (max-width:640px){
  .match-row{grid-template-columns:74px 1fr 74px;gap:8px}
  .match-meta .pill{padding:6px 9px}
}


/* tables: left align numeric columns when needed */
.table-left th,
.table-left td{
  text-align:left;
}
.table-left th:nth-child(2),
.table-left td:nth-child(2),
.table-left th:nth-child(3),
.table-left td:nth-child(3){
  text-align:left;
}


/* new header/footer and tournament pages */
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-logo{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eff6ff;flex:0 0 52px}
.brand-logo img{width:100%;height:100%;object-fit:cover;display:block}
.brand-text{display:flex;flex-direction:column;min-width:0}
.nav-toggle{display:none}
.nav-desktop{display:flex}
.nav-overlay{display:none}
.nav-drawer{position:fixed;top:0;left:-320px;width:290px;height:100vh;background:#fff;z-index:30;padding:18px;border-right:1px solid var(--line);transition:left .2s ease;box-shadow:0 18px 40px rgba(15,23,42,.12)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.drawer-brand{display:flex;align-items:center;gap:12px}
.drawer-logo{width:44px;height:44px;flex-basis:44px}
.drawer-title{font-weight:900}
.drawer-sub{font-size:12px;color:var(--muted)}
.drawer-close{width:34px;height:34px;border-radius:10px;background:#f1f5f9;display:block;position:relative;cursor:pointer}
.drawer-close:before,.drawer-close:after{content:"";position:absolute;left:9px;right:9px;top:16px;height:2px;background:#334155}.drawer-close:before{transform:rotate(45deg)}.drawer-close:after{transform:rotate(-45deg)}
.hero-block{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;padding:22px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#eff6ff,#ffffff)}
.hero-tight{margin-bottom:14px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#2563eb;margin-bottom:8px}
.hero-title{margin:0;font-size:clamp(28px,4vw,42px);line-height:1.02}
.hero-text{margin:10px 0 0;color:var(--muted);max-width:720px;line-height:1.45}
.hero-statlist{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.hero-stat{min-width:120px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid var(--line);text-align:center}.hero-stat strong{display:block;font-size:28px}.hero-stat span{font-size:12px;color:var(--muted)}
.hero-actions,.hero-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.empty-box{padding:18px;border:1px dashed var(--line);border-radius:16px;color:var(--muted);background:#fff}
.tour-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tour-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.tour-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}
.tour-card.compact{padding:16px}
.tour-card h3{margin:10px 0 8px;font-size:22px}.tour-card p{margin:0;color:var(--muted);line-height:1.45}
.tour-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}
.tour-status,.tour-season{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid var(--line);background:#f8fafc}
.tour-status.is-live{background:#dbeafe;border-color:#bfdbfe;color:#1d4ed8}
.tour-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.table-wrap{overflow:auto}
.site-footer{margin-top:26px;padding:26px 0;border-top:1px solid var(--line);background:#fff}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:16px;align-items:start}
.footer-brand{display:flex;gap:12px;align-items:center}.footer-brand img{width:48px;height:48px;border-radius:14px}
.footer-title{font-weight:900;font-size:18px}.footer-meta,.footer-copy,.footer-dev{color:var(--muted);font-size:14px;line-height:1.4}.footer-copy{margin-top:14px}
.footer-links{display:grid;gap:10px}.footer-links a{text-decoration:none;font-weight:700}.footer-links a:hover{text-decoration:underline}
.footer-side{display:grid;gap:10px}
.burger{display:none;width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:#fff;cursor:pointer;align-items:center;justify-content:center}
.burger span,.burger span:before,.burger span:after{display:block;content:"";width:18px;height:2px;background:#0f172a;border-radius:2px;position:relative}.burger span:before{position:absolute;top:-6px}.burger span:after{position:absolute;top:6px}
@media (max-width: 900px){
  .nav-desktop{display:none}
  .burger{display:flex}
  .nav-toggle:checked ~ .nav-overlay{display:block;position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:20}
  .nav-toggle:checked ~ .nav-drawer{left:0}
  .hero-block,.footer-grid,.tour-grid,.tour-grid.compact{grid-template-columns:1fr;display:grid;align-items:start}
  .hero-statlist{justify-content:flex-start}
}
@media (max-width: 720px){
  .header-row{gap:10px}
  .brand-logo{width:44px;height:44px;flex-basis:44px}
  .brand-title{font-size:16px}
  .brand-sub{display:none}
}



/* protocol goals redesign */
.protocol-goals-board{display:grid;gap:14px}
.protocol-period-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.protocol-period-head{padding:12px 16px;background:#f8fafc;border-bottom:1px solid var(--line);font-weight:900;text-align:center}
.protocol-period-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.protocol-goal-col{padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.protocol-goal-col + .protocol-goal-col{border-left:1px solid var(--line)}
.protocol-team-head{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-bottom:10px;border-bottom:1px solid var(--line);text-align:center}
.protocol-goal-item{padding:10px 0;border-top:1px solid var(--line);display:flex}
.protocol-goal-item:first-of-type{border-top:none}
.protocol-goal-main{width:100%;max-width:100%;text-align:center}
.protocol-goal-item-left{justify-content:flex-end}
.protocol-goal-item-right{justify-content:flex-start}
.protocol-goal-item-left .protocol-goal-main{text-align:right;padding-left:24px}
.protocol-goal-item-right .protocol-goal-main{text-align:left;padding-right:24px}
.protocol-goal-assists{margin-top:4px;font-size:13px;color:#667085;font-weight:600;line-height:1.4}
.protocol-goal-empty{padding:18px 10px;border:1px dashed var(--line);border-radius:14px;text-align:center;color:var(--muted);background:#fbfdff}
.goal-scorer{font-weight:900;font-size:18px;line-height:1.2;display:block}
.protocol-goal-assists .assist{font-weight:700}
@media (max-width: 760px){
  .protocol-period-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .protocol-goal-col{padding:12px 10px}
  .protocol-goal-item-left .protocol-goal-main{text-align:right;padding-left:8px}
  .protocol-goal-item-right .protocol-goal-main{text-align:left;padding-right:8px}
  .goal-scorer{font-size:16px}
  .protocol-goal-assists{font-size:12px}
}


/* === Birthday cards on home === */
.birthday-section{overflow:hidden}
.birthday-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.birthday-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e8ebf3;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);box-shadow:0 10px 30px rgba(15,23,42,.04)}
.birthday-card.is-jubilee{background:linear-gradient(180deg,#fffaf2 0%,#fff5dc 100%);border-color:#f2deb1}
.birthday-main{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:inherit}
.birthday-photo{position:relative;width:78px;height:92px;flex:0 0 78px;border-radius:20px;overflow:hidden;background:linear-gradient(180deg,#e9eef8 0%,#f5f7fb 100%);border:1px solid #e7ebf2}
.birthday-photo img{width:100%;height:100%;object-fit:cover;display:block}
.birthday-jubilee-badge{position:absolute;right:6px;top:6px;min-width:34px;height:34px;border-radius:999px;background:linear-gradient(180deg,#ffb84d 0%,#ff8f2d 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:13px;box-shadow:0 8px 16px rgba(255,143,45,.35)}
.birthday-body{min-width:0;display:flex;flex-direction:column;gap:5px;flex:1}
.birthday-kicker{font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#2563eb}
.birthday-card.is-jubilee .birthday-kicker{color:#c47a13}
.birthday-name{font-size:16px;font-weight:900;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.birthday-meta{display:flex;flex-wrap:wrap;gap:6px;color:#64748b;font-size:12px;font-weight:700}
.birthday-meta span{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#edf3ff;color:#315ea8}
.birthday-card.is-jubilee .birthday-meta span{background:#fff0cf;color:#9c6613}
.birthday-teams{font-size:13px;line-height:1.35;color:#334155;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.birthday-points{display:inline-flex;align-items:center;gap:8px;margin-top:2px;flex-wrap:wrap}
.birthday-points-label{font-size:12px;color:#64748b}
.birthday-points b{font-size:20px;line-height:1;font-weight:900;color:#0f172a}
.birthday-team-logos{display:flex;align-items:center;gap:6px;margin-top:2px}
.birthday-team-logo{width:26px;height:26px;border-radius:999px;background:#fff;border:1px solid #d9e5fb;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 4px 10px rgba(15,23,42,.06)}
.birthday-team-logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.birthday-points-extended{gap:6px}
.birthday-points-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#eef4ff;color:#315ea8;font-weight:800}
.birthday-points-chip small{font-size:10px;letter-spacing:.04em}
.birthday-points-chip b{font-size:16px;color:#0f172a}
.birthday-actions{display:flex;justify-content:flex-end}
.birthday-action-btn{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 12px;border-radius:999px;background:#0f172a;color:#fff;text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.02em}
.birthday-action-btn:hover{opacity:.92}
@media (max-width:900px){
  .birthday-grid{grid-template-columns:1fr}
}
@media (max-width:520px){
  .birthday-card{padding:10px;border-radius:16px}
  .birthday-main{gap:10px;align-items:flex-start}
  .birthday-photo{width:68px;height:84px;flex-basis:68px;border-radius:16px}
  .birthday-jubilee-badge{min-width:30px;height:30px;font-size:12px}
  .birthday-name{font-size:14px}
  .birthday-kicker{font-size:10px}
  .birthday-meta{font-size:11px}
  .birthday-meta span{padding:3px 7px}
  .birthday-teams{font-size:12px}
  .birthday-points b{font-size:18px}
  .birthday-team-logo{width:24px;height:24px}
  .birthday-points-chip{padding:5px 8px;gap:5px}
  .birthday-points-chip b{font-size:15px}
  .birthday-action-btn{height:32px;font-size:11px;padding:0 11px}
}


/* === Match protocol refined === */
.protocol .teams{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:22px;align-items:flex-start}
.protocol .team-stack{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px}
.protocol .team-stack.right{justify-content:flex-start}
.protocol .team-center{text-align:center!important;width:100%}
.protocol .team-center .name,.protocol .team-center .village{white-space:normal;overflow:visible;text-overflow:clip;text-align:center}
.protocol .team-center .name{font-size:clamp(19px,2.1vw,24px);line-height:1.1}
.protocol .team-center .village{font-size:clamp(14px,1.7vw,17px);margin-top:4px}
.protocol .team-logo-lg{width:clamp(92px,11vw,132px);height:clamp(92px,11vw,132px);flex-basis:clamp(92px,11vw,132px);border-radius:24px;box-shadow:inset 0 0 0 1px #dde7f5;background:#f7faff}
.protocol .team-logo-lg img{object-fit:contain;padding:8px}
.protocol .scorebox{min-width:170px;padding-top:28px}
.protocol .scorebox .score{font-size:clamp(36px,4.4vw,54px);min-width:auto;padding:20px 30px;border:1px solid #dfe7f6;border-radius:26px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}

.period-score-card .section-title{margin-bottom:16px}
.period-score-table{display:grid;grid-template-columns:minmax(152px,1.6fr) repeat(6,minmax(48px,.66fr));gap:8px 12px;align-items:center}
.period-score-head{font-size:13px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.08em;text-align:center}
.period-score-head.team-name{text-align:left}
.period-score-row{min-height:72px;border:1px solid #dbe6f5;border-radius:24px;background:linear-gradient(180deg,#fbfdff 0%,#f5f9ff 100%);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;color:#0f172a;text-align:center;padding:0 10px}
.period-score-row.team-name{justify-content:flex-start;font-size:20px;padding:0 22px}
.period-score-total{color:#2563eb}

.protocol-rosters{overflow:hidden}
.protocol-rosters-grid{grid-template-columns:1fr 1fr!important;gap:0!important;align-items:start}
.protocol-roster-col{padding:0 18px}
.protocol-roster-home{border-right:1px solid var(--line)}
.protocol-roster-head{font-size:18px;font-weight:900;text-align:center;margin:4px 0 14px}
.protocol-roster-head a{text-decoration:none}
.protocol .player-link{display:block}
.protocol .player-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-radius:0}
.protocol .player-row.is-home{justify-content:flex-end;text-align:right}
.protocol .player-row.is-away{justify-content:flex-start;text-align:left}
.protocol .player-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.protocol .player-text.is-home{align-items:flex-end;text-align:right}
.protocol .player-text.is-away{align-items:flex-start;text-align:left}
.protocol .player-name{font-size:14px;font-weight:800;white-space:normal;line-height:1.18}
.protocol .player-meta{font-size:11px;color:#64748b;white-space:normal}
.protocol .avatar{width:42px;height:42px;flex:0 0 42px;border-radius:999px;overflow:hidden;border:1px solid #dde3ef;background:#f4f6fb;display:flex;align-items:center;justify-content:center}
.protocol .avatar-img{width:100%;height:100%;object-fit:cover;display:block}
.protocol .avatar-fallback{font-weight:900;color:#64748b}

@media (max-width:720px){
  .protocol .teams{gap:14px}
  .protocol .team-logo-lg{width:88px;height:88px;flex-basis:88px;border-radius:22px}
  .protocol .team-center .name{font-size:18px}
  .protocol .team-center .village{font-size:14px}
  .protocol .scorebox{min-width:116px;padding-top:22px}
  .protocol .scorebox .score{font-size:32px;padding:14px 22px;border-radius:22px}
  .period-score-table{grid-template-columns:minmax(110px,1.3fr) repeat(6,minmax(30px,.56fr));gap:8px}
  .period-score-head{font-size:11px}
  .period-score-row{min-height:62px;font-size:18px;border-radius:20px;padding:0 8px}
  .period-score-row.team-name{font-size:17px;padding:0 14px}
  .protocol-rosters-grid{grid-template-columns:1fr 1fr!important}
  .protocol-roster-col{padding:0 10px}
  .protocol-roster-head{font-size:17px;margin-bottom:12px}
  .protocol .avatar{width:38px;height:38px;flex-basis:38px}
  .protocol .player-name{font-size:12px}
  .protocol .player-meta{font-size:10px}
}


/* === Final compact tweaks === */
.leader-card.compact{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px}
.leader-card.compact .leader-main{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
.leader-card.compact .avatar{width:64px;height:64px;flex:0 0 64px}
.leader-card.compact .leader-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.leader-card.compact .leader-name{font-size:15px;line-height:1.15}
.leader-mini-meta{display:flex;flex-wrap:wrap;gap:5px;font-size:11px;color:#64748b;font-weight:700}
.leader-mini-meta span{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:#eef4ff;color:#315ea8}
.leader-team{font-size:11px;line-height:1.2;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.leader-stats{font-size:11px;color:#64748b;font-weight:700}
.leader-points{display:flex;flex-direction:column;align-items:flex-end;gap:1px;line-height:1}.leader-points.inline{flex-direction:row;align-items:baseline;gap:6px;white-space:nowrap;flex:0 0 auto}
.leader-points b{font-size:18px;font-weight:900;color:#0f172a}
.leader-points span{font-size:10px;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.leader-points.inline span{font-size:11px}.leader-points.inline b{font-size:20px}
@media (max-width:720px){
  .leader-card.compact{padding:9px 10px}
  .leader-card.compact .leader-name{font-size:13px}
  .leader-team,.leader-stats,.leader-mini-meta{font-size:10px}
  .leader-card.compact .avatar{width:54px;height:54px;flex-basis:54px}
  .leader-points.inline b{font-size:18px}
  .leader-points.inline span{font-size:10px}
}

.protocol .team-logo-lg{background:#fff;border:1px solid #dfe7f5;box-shadow:0 10px 22px rgba(15,23,42,.04), inset 0 0 0 1px #eef4fb}
.protocol .team-logo-lg img{object-fit:contain;padding:12px}
.protocol .team-center .name{font-size:clamp(20px,2.2vw,26px)}
.protocol .team-center .village{font-size:clamp(15px,1.8vw,18px)}

.period-score-table{grid-template-columns:minmax(130px,1.5fr) repeat(6,minmax(42px,.58fr));gap:7px 10px}
.period-score-head{font-size:12px}
.period-score-head.team-name{text-align:center}
.period-score-row{min-height:64px;font-size:21px;border-radius:21px}
.period-score-row.team-name{justify-content:center;text-align:center;font-size:17px;padding:0 12px}
@media (max-width:720px){
  .period-score-table{grid-template-columns:minmax(92px,1.18fr) repeat(6,minmax(24px,.48fr));gap:6px}
  .period-score-head{font-size:10px}
  .period-score-row{min-height:54px;font-size:17px;border-radius:18px;padding:0 6px}
  .period-score-row.team-name{font-size:15px;padding:0 8px}
}

.protocol-rosters-grid{position:relative}
.protocol-rosters-grid::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--line);transform:translateX(-.5px)}
.protocol-roster-home{border-right:none}
.protocol .player-row{display:flex;align-items:center;gap:10px;padding:7px 0;border-radius:0}
.protocol .player-row.is-home{justify-content:flex-end;text-align:right}
.protocol .player-row.is-away{justify-content:flex-start;text-align:left}
.protocol .player-text{display:flex;flex-direction:column;gap:2px;min-width:0;max-width:calc(100% - 52px)}
.protocol .player-text.is-home{align-items:flex-end;text-align:right}
.protocol .player-text.is-away{align-items:flex-start;text-align:left}
.protocol .player-link{display:block;width:100%}
.protocol .player-name{font-size:13px;line-height:1.18;white-space:normal;overflow:visible;text-overflow:clip}
.protocol .player-meta{font-size:10px}
.protocol .avatar{width:40px;height:40px;flex:0 0 40px}
@media (max-width:720px){
  .protocol-roster-col{padding:0 8px}
  .protocol .avatar{width:34px;height:34px;flex-basis:34px}
  .protocol .player-text{max-width:calc(100% - 42px)}
  .protocol .player-name{font-size:11px}
}

.protocol-goal-assists{margin-top:4px;font-size:12px;line-height:1.45;color:#667085;font-weight:700}
.protocol-goal-assists .assist-line{display:block}

@media (max-width:700px){
  .leader-card.compact .avatar{width:58px;height:58px;flex-basis:58px}
  .leader-card.compact .leader-name{font-size:14px}
}
