.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(11,21,36,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.bar-title { flex: 1; min-width: 0; }
.bar-team { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-sub { font-size: 12px; color: var(--text-dim); }
.conn { font-size: 12px; font-weight: 600; color: var(--text-dim); padding: 4px 10px 4px 22px; border-radius: 999px; background: var(--surface); position: relative; white-space: nowrap; }
.conn::before { content: ''; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--text-dim); }
.conn.on::before { background: var(--good); box-shadow: 0 0 0 3px rgba(35,194,111,.2); }
.conn.wait::before { background: var(--warn); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.layout { max-width: 1080px; margin: 0 auto; padding: 14px 12px 40px; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; padding: 20px; }
  .col { display: grid; gap: 14px; }
}
.col { display: grid; gap: 14px; min-width: 0; }
.skeleton, .gate { text-align: center; color: var(--text-dim); padding: 60px 20px; }
.gate h1 { color: var(--text); font-size: 20px; }

.card { background: var(--surface); border-radius: var(--radius); padding: 16px; min-width: 0; }
.card h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin: 0 0 12px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h3 { font-size: 13px; color: var(--text-dim); margin: 18px 0 8px; font-weight: 600; }

/* --- матч (герой) */
.hero { position: relative; overflow: hidden; }
.hero.live { box-shadow: inset 0 0 0 1px rgba(255,90,95,.45); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-dim); }
.badge.live { background: rgba(255,90,95,.15); color: #ff8a8d; }
.badge.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); animation: blink 1.2s infinite; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.hero-nav { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 6px 0 4px; }
.score .team { font-weight: 700; font-size: 15px; line-height: 1.2; }
.score .team.us { text-align: right; }
.score .team .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 6px; vertical-align: 0; }
.score .nums { font-size: 48px; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.score .nums .sep { color: var(--text-dim); margin: 0 6px; font-weight: 600; }
.score .nums .bump { animation: bump .6s ease; display: inline-block; }
@keyframes bump { 0% { transform: scale(1.35); color: var(--accent); } 100% { transform: scale(1); } }
.hero-meta { text-align: center; color: var(--text-dim); font-size: 13px; margin-bottom: 14px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.tile .k { font-size: 12px; color: var(--text-dim); }
.tile .v { font-size: 22px; font-weight: 800; margin-top: 2px; white-space: nowrap; }
.tile .v small { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.tile .s { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* --- график */
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-dim); margin: 2px 0 6px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { fill: var(--text-dim); font-size: 11px; }
.chart .baseline { stroke: #3a5181; stroke-width: 1; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .hit:hover, .chart .hit.active { fill: rgba(255,255,255,.05); }
.tooltip { position: fixed; z-index: 50; pointer-events: none; background: #0e1a2e; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.45); max-width: 240px; }
.tooltip .t { font-weight: 700; margin-bottom: 4px; }
.tooltip .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tooltip .row i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }

.seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-dim); text-transform: none; letter-spacing: 0; }
.seg button.on { background: var(--bg); color: var(--text); }

/* --- таблица по периодам */
table.pt { width: 100%; border-collapse: collapse; font-size: 14px; }
table.pt th { font-weight: 600; color: var(--text-dim); font-size: 12px; text-align: center; padding: 6px 4px; }
table.pt th:first-child, table.pt td:first-child { text-align: left; }
table.pt td { text-align: center; padding: 8px 4px; border-top: 1px solid var(--line); white-space: nowrap; }
table.pt td.tot { font-weight: 800; }
table.pt .dim { color: var(--text-dim); }

/* --- голы */
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed li { display: flex; align-items: center; gap: 10px; font-size: 14px; background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.feed .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.feed .p { color: var(--text-dim); font-size: 12px; margin-left: auto; white-space: nowrap; }
.feed .sc { font-weight: 800; min-width: 38px; }

.updated { font-size: 12px; color: var(--text-dim); text-align: right; margin-top: 12px; }
.note { font-size: 12px; color: var(--text-dim); margin-top: 10px; }

/* --- ближайшая игра */
.next { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.cal { width: 64px; text-align: center; background: var(--surface-2); border-radius: 12px; padding: 8px 0; }
.cal .d { font-size: 26px; font-weight: 800; line-height: 1; }
.cal .m { font-size: 12px; color: var(--text-dim); text-transform: uppercase; margin-top: 4px; }
.next .opp { font-weight: 800; font-size: 18px; }
.next .info { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.next .cd { color: var(--accent); font-size: 13px; font-weight: 700; margin-top: 6px; }

/* --- сезон */
.record { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.record .big { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.record .lbl { color: var(--text-dim); font-size: 13px; }
.form { display: flex; gap: 4px; flex-wrap: wrap; margin: 6px 0 4px; }
.form a { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; text-decoration: none; color: var(--text); background: var(--surface-2); border-bottom: 3px solid transparent; }
.form a.w { border-bottom-color: var(--good); }
.form a.l { border-bottom-color: var(--bad); }
.form a.d { border-bottom-color: var(--text-dim); }

.games { list-style: none; margin: 0; padding: 0; }
.games li a { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.games li:first-child a { border-top: 0; }
.games li a:hover, .games li a.cur { background: rgba(255,255,255,.03); }
.games .dt { color: var(--text-dim); font-size: 13px; }
.games .op { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.games .op small { display: block; color: var(--text-dim); font-weight: 400; font-size: 12px; }
.games .res { font-weight: 800; text-align: right; white-space: nowrap; }
.games .res .wl { display: inline-block; width: 18px; font-size: 11px; font-weight: 800; border-radius: 4px; text-align: center; margin-left: 6px; padding: 1px 0; }
.games .res .wl.w { background: rgba(35,194,111,.18); color: var(--good); }
.games .res .wl.l { background: rgba(255,90,95,.18); color: #ff8a8d; }
.games .res .wl.d { background: var(--surface-2); color: var(--text-dim); }
.games .live-tag { color: #ff8a8d; font-size: 11px; font-weight: 700; }

.owner-link { display: block; text-align: center; margin-top: 4px; }

/* ================================================================ живой матч */
.score .team { overflow-wrap: anywhere; }
@media (max-width: 420px) { .score .team { font-size: 13px; } .score .nums { font-size: 42px; } }
.hero.live { box-shadow: inset 0 0 0 1px rgba(255,90,95,.45), 0 0 40px rgba(255,90,95,.08); }
.hero.is-replay { box-shadow: inset 0 0 0 1px rgba(255,210,58,.4); }
.badge.replay { background: rgba(255,210,58,.14); color: var(--accent); }
.period-chip { font-size: 12px; font-weight: 700; color: var(--text); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; margin-right: auto; }
.elapsed { color: var(--text-dim); }
.replay-ctl { display: flex; gap: 6px; }
.chip-btn { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text); text-transform: none; letter-spacing: 0; }
.replay-btn { display: block; width: 100%; margin: 0 0 14px; background: linear-gradient(90deg, #d28e05, #ffd23a); color: #1a1200; font-weight: 800; }
.score .nums .bump { animation: bump .9s cubic-bezier(.2,.9,.3,1.4); display: inline-block; }
@keyframes bump { 0% { transform: scale(1.8); color: var(--accent); text-shadow: 0 0 24px rgba(255,210,58,.8); } 100% { transform: scale(1); } }

.rink-wrap { position: relative; margin: 4px 0 12px; }
.rink { display: block; width: 100%; height: auto; }
.rink-lbl { fill: #6f86b5; font-size: 5px; letter-spacing: .04em; }
.rink #puck { filter: drop-shadow(0 0 2px rgba(232,238,252,.9)); }
.rink #heatR, .rink #heatL { transition: opacity 1s ease; }
.rink .trail { stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: trail 1.3s ease forwards; }
.rink .trail.us { stroke: var(--series-us); }
.rink .trail.them { stroke: var(--series-them); }
@keyframes trail { 25% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.rink .net.hit { animation: nethit .5s ease; }
.rink .net.scored { animation: netgoal 1.6s ease; }
@keyframes nethit { 40% { stroke-width: 3; } }
@keyframes netgoal { 0%, 30%, 60% { fill: rgba(255,90,95,.8); stroke-width: 3; } 15%, 45% { fill: rgba(255,90,95,.2); } }
.rink .ring { fill: none; stroke-width: 1.5; animation: ring 1.1s ease-out forwards; }
.rink .ring.us { stroke: var(--accent); } .rink .ring.them { stroke: #ff8a8d; } .rink .ring.small { stroke: #e8eefc; }
@keyframes ring { to { r: 26; opacity: 0; stroke-width: .2; } }
.rink-pop { position: absolute; top: 10%; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(11,21,36,.85); border: 1px solid var(--line); opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; max-width: 70%; overflow: hidden; text-overflow: ellipsis; }
.rink-pop.r { right: 8%; color: var(--accent); }
.rink-pop.l { left: 8%; color: #9cc8ff; }
.rink-pop.save { color: #9cc8ff; }
.rink-pop.pen { color: #ffb36b; border-color: rgba(255,179,107,.5); }
.rink-pop.show { opacity: 1; transform: none; }
.hero.pen-flash { animation: penflash 1.2s ease; }
@keyframes penflash { 0%, 50% { box-shadow: inset 0 0 0 2px #ffb36b, 0 0 30px rgba(255,179,107,.25); } }

.pressure { margin: 0 0 12px; }
.pressure-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
.pressure-head b { font-size: 13px; color: var(--text); transition: color .4s; }
.pressure-track { position: relative; height: 12px; border-radius: 999px; background: var(--series-them); overflow: hidden; }
.pressure-us { position: absolute; inset: 0 auto 0 0; background: var(--series-us); width: 50%; transition: width 1s cubic-bezier(.3,.8,.3,1); }
.pressure-us::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); background-size: 60px 100%; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { from { background-position: -60px 0; } to { background-position: 400px 0; } }
.pressure-marker { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: #fff; border-radius: 2px; box-shadow: 0 0 8px rgba(255,255,255,.7); transition: left 1s cubic-bezier(.3,.8,.3,1); }
.pressure-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.c-us { color: var(--accent) !important; } .c-them { color: #9cc8ff !important; }
.c-good { color: var(--good) !important; } .c-bad { color: #ff8a8d !important; }
.dim { color: var(--text-dim); }

.tile.tickup { animation: tileflash .7s ease; }
@keyframes tileflash { 0% { background: rgba(255,210,58,.22); } 100% { background: var(--surface-2); } }

.hot { min-height: 40px; margin: 10px 0 0; }
.hot-in { display: flex; align-items: center; gap: 10px; background: linear-gradient(90deg, rgba(255,210,58,.12), rgba(255,210,58,.02)); border: 1px solid rgba(255,210,58,.25); border-radius: 12px; padding: 9px 12px; font-size: 14px; font-weight: 600; animation: hotin .5s ease; }
.hot-in > span:nth-child(2) { flex: 1; min-width: 0; }
.hot-dots { display: flex; gap: 3px; } .hot-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); } .hot-dots i.on { background: var(--accent); }
@keyframes hotin { from { opacity: 0; transform: translateY(6px); } }

.two { display: grid; gap: 0 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .two { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.gk-card { display: flex; gap: 12px; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 10px; }
.gk-card.flash.save { animation: gkflash .9s ease; } .gk-card.flash.ga { animation: gkbad .9s ease; }
@keyframes gkflash { 0% { box-shadow: 0 0 0 2px #9cc8ff, 0 0 24px rgba(51,140,237,.5); } }
@keyframes gkbad { 0% { box-shadow: 0 0 0 2px #ff5a5f; } }
.gk-ring { width: 64px; height: 64px; flex: none; transform: rotate(-90deg); }
.gk-ring .gk-pct { transform: rotate(90deg); transform-origin: 36px 36px; fill: var(--text); font-size: 15px; font-weight: 800; }
.gk-bg { fill: none; stroke: var(--line); stroke-width: 7; }
.gk-fg { fill: none; stroke: var(--series-us); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.gk-name { font-weight: 800; }
.gk-nums { font-size: 13px; color: var(--text-dim); margin-top: 2px; } .gk-nums b { color: var(--text); }
.gk-streak { font-size: 12px; color: var(--text-dim); margin-top: 3px; } .gk-streak.hot { color: var(--accent); font-weight: 700; }
.gk-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; background: var(--surface-2); border-radius: 10px; padding: 8px 10px; margin-top: 6px; }
.gk-line-v { margin-left: auto; font-size: 13px; color: var(--text-dim); } .gk-line-v b { color: var(--text); }

.lines { display: grid; gap: 6px; }
.ln { background: var(--surface-2); border-radius: 10px; padding: 7px 10px; transition: box-shadow .4s, background .4s; }
.ln.on { box-shadow: inset 0 0 0 1px var(--series-us); background: rgba(210,142,5,.1); }
.ln-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ln-h b { width: 20px; height: 20px; border-radius: 6px; background: var(--bg); display: grid; place-items: center; font-size: 12px; }
.ln-h span:nth-child(2) { color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ln.on .ln-h span:nth-child(2)::before { content: '● '; animation: blink 1s infinite; }
.ln-v { margin-left: auto; font-weight: 800; } .ln-v em { font-style: normal; color: var(--accent); font-weight: 700; font-size: 12px; }
.ln-bar { height: 4px; background: var(--bg); border-radius: 2px; margin: 5px 0 4px; overflow: hidden; }
.ln-bar i { display: block; height: 100%; background: var(--series-us); border-radius: 2px; transition: width .6s ease; }
.ln-p { font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.board li { display: grid; grid-template-columns: 28px minmax(0, 7.5em) 1fr 34px; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; background: var(--surface-2); font-size: 14px; position: relative; }
.board li.idle { opacity: .55; }
.board li.empty { display: block; color: var(--text-dim); }
.board li.flash.shot { animation: rowflash 1.1s ease; }
.board li.flash.goal { animation: rowgoal 2.2s ease; }
.board li.flash.penalty { animation: rowpen 1.4s ease; }
@keyframes rowflash { 0% { background: rgba(210,142,5,.45); } }
@keyframes rowgoal { 0%, 40% { background: rgba(255,210,58,.6); box-shadow: 0 0 20px rgba(255,210,58,.5); } }
@keyframes rowpen { 0% { background: rgba(255,179,107,.45); } }
.bn { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 4px; border-radius: 6px; background: var(--bg); font-size: 12px; font-weight: 800; color: var(--accent); margin-right: 6px; }
.board .bn { margin: 0; }
.bname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.bname small { display: block; color: var(--text-dim); font-weight: 400; font-size: 11px; }
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,210,58,.7); } 70% { box-shadow: 0 0 0 7px rgba(255,210,58,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,58,0); } }
.bbar { position: relative; height: 10px; background: var(--bg); border-radius: 5px; display: flex; align-items: center; justify-content: flex-end; gap: 3px; padding-right: 3px; }
.bbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--series-us); border-radius: 5px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.gdot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.bval { text-align: right; font-weight: 800; white-space: nowrap; }
.bpen { color: #ffb36b; font-size: 11px; margin-left: 3px; }
.legend-goal { color: var(--text); }

.leaders { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.leaders li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr) 70px 24px; gap: 8px; align-items: center; padding: 6px 4px; border-top: 1px solid var(--line); }
.leaders li:first-child { border-top: 0; }
.leaders li.gone { opacity: .7; }
.leaders .lr { color: var(--text-dim); font-size: 12px; text-align: right; }
.leaders .bn { margin: 0; }
.lbar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; } .lbar i { display: block; height: 100%; background: var(--series-us); border-radius: 4px; animation: grow .8s ease; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.lead-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; font-size: 13px; }
.lead-foot .k { font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }

/* лента */
.ticker { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.ticker li { display: flex; align-items: center; gap: 10px; font-size: 14px; background: var(--surface-2); border-radius: 10px; padding: 7px 10px; border-left: 3px solid transparent; }
.ticker li.for { border-left-color: var(--series-us); } .ticker li.against { border-left-color: var(--series-them); }
.ticker li.big { font-weight: 700; background: linear-gradient(90deg, rgba(255,210,58,.14), var(--surface-2)); }
.ticker li.ga.big { background: linear-gradient(90deg, rgba(51,140,237,.16), var(--surface-2)); }
.ticker li.penalty, .ticker li.opp_penalty { border-left-color: #ffb36b; }
.ticker li.empty { color: var(--text-dim); justify-content: center; }
.ticker li.fresh { animation: slidein .6s cubic-bezier(.2,.9,.3,1.2); }
@keyframes slidein { from { opacity: 0; transform: translateX(-30px) scale(.96); background: rgba(255,210,58,.3); } }
.tk-ico { width: 22px; text-align: center; flex: none; }
.tk-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tk-meta { color: var(--text-dim); font-size: 12px; white-space: nowrap; font-weight: 400; }

.chart .race { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.chart .race.us { stroke: var(--series-us); } .chart .race.them { stroke: var(--series-them); }
.chart .race-goal { stroke: #fff; stroke-width: 2; } .chart .race-goal.us { fill: var(--series-us); } .chart .race-goal.them { fill: var(--series-them); }
.chart .race-head { animation: headpulse 1.6s infinite; } .chart .race-head.us { fill: var(--series-us); } .chart .race-head.them { fill: var(--series-them); }
@keyframes headpulse { 50% { r: 6; opacity: .6; } }
.chart .race-lbl { font-size: 12px; font-weight: 800; } .chart .race-lbl.us { fill: var(--accent); } .chart .race-lbl.them { fill: #9cc8ff; }
.chart .psep { stroke: var(--line); stroke-dasharray: 3 3; }
.chart .xhair { stroke: var(--text-dim); stroke-width: 1; }
.chart .hit-area { fill: transparent; cursor: crosshair; }
.chart .bar { animation: barup .6s cubic-bezier(.2,.8,.2,1) both; transform-box: fill-box; transform-origin: bottom; }
@keyframes barup { from { transform: scaleY(0); } }
.tip-hint { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.h3-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.result { font-weight: 800; margin-right: 8px; } .result.w { color: var(--good); } .result.l { color: #ff8a8d; }
details.more { margin-top: 14px; } details.more summary { cursor: pointer; color: var(--text-dim); font-size: 13px; font-weight: 600; }

/* гол на весь экран */
.goal-banner { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(210,142,5,.55), rgba(11,21,36,.92) 65%); animation: gbin .35s ease; cursor: pointer; }
.goal-banner.them { background: radial-gradient(circle at 50% 45%, rgba(51,140,237,.45), rgba(11,21,36,.92) 65%); }
.goal-banner.out { animation: gbout .55s ease forwards; }
@keyframes gbin { from { opacity: 0; } }
@keyframes gbout { to { opacity: 0; transform: scale(1.06); } }
.gb-inner { text-align: center; animation: gbpop .6s cubic-bezier(.2,1.4,.4,1); }
@keyframes gbpop { from { transform: scale(.4); } }
.gb-word { font-size: clamp(72px, 22vw, 180px); font-weight: 900; letter-spacing: -.03em; line-height: .9; color: #fff; text-shadow: 0 0 40px rgba(255,210,58,.8), 0 6px 0 rgba(0,0,0,.3); animation: gbshake .5s ease .2s; }
.goal-banner.them .gb-word { text-shadow: 0 0 40px rgba(51,140,237,.8); }
@keyframes gbshake { 20% { transform: rotate(-4deg) scale(1.05); } 40% { transform: rotate(3deg); } 60% { transform: rotate(-2deg); } 80% { transform: none; } }
.gb-team { font-size: 20px; font-weight: 700; color: var(--text-dim); margin-top: 6px; }
.gb-player { font-size: clamp(26px, 7vw, 44px); font-weight: 900; color: var(--accent); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.gb-num { background: var(--accent); color: #1a1200; border-radius: 10px; padding: 2px 10px; font-size: .8em; }
.gb-score { font-size: 56px; font-weight: 900; margin-top: 10px; color: #fff; }
.gb-score .hl { color: var(--accent); display: inline-block; animation: bump 1s ease .3s both; }
.goal-banner.them .gb-score .hl { color: #9cc8ff; }
.gb-sub { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.cf { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: cf linear forwards; }
@keyframes cf { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.two > div { min-width: 0; }
.lines { grid-template-columns: minmax(0, 1fr); } .ln { min-width: 0; }
