/* Live game viewers (Twitch + Kick). Loaded after live-charts.css, which carries the layout,
   cards, tables and chart styles; this file only adds what those pages don't have. */
:root{--accent:#6d3fd6;--accent-dark:#5530ad;--soft:#f0ebfc;--accent-text:#4b2a99;--link:#5530ad;--tw:#9146ff;--kk:#2fb30b;--kk-bright:#53fc18}
[data-theme="dark"]{--soft:#2a2340;--accent-text:#c9b6ff;--link:#b89cff;--kk:#53fc18}
.lgv-hero{text-align:center}
.lgv-kicker{margin:0;font-weight:600;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.lgv-big{margin:4px 0 0;font-size:clamp(2.4rem,9vw,4rem);font-weight:700;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.lgv-sub{margin:4px 0 0;color:var(--muted)}
.lgv-at{margin:8px 0 0;font-size:.85rem;color:var(--muted)}
.lgv-split{display:flex;height:10px;border-radius:999px;overflow:hidden;margin:16px auto 6px;max-width:560px;background:var(--line)}
.lgv-split .sp-tw{background:var(--tw);transition:width .6s ease}
.lgv-split .sp-kk{background:var(--kk);transition:width .6s ease}
.lgv-split-legend{display:flex;justify-content:space-between;max-width:560px;margin:0 auto;font-size:.85rem;font-weight:600;font-variant-numeric:tabular-nums}
.lgv-split-legend .tw{color:var(--tw)}
.lgv-split-legend .kk{color:var(--kk)}
.lgv-plat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 0}
.lgv-plat > div{border:1px solid var(--line);border-radius:12px;padding:12px 14px;text-align:left}
.lgv-plat .pl-name{margin:0;font-size:.85rem;font-weight:600;display:flex;align-items:center;gap:6px}
.lgv-plat .pl-name i{display:inline-block;width:10px;height:10px;border-radius:3px}
.lgv-plat .pl-tw i{background:var(--tw)}
.lgv-plat .pl-kk i{background:var(--kk)}
.lgv-plat .pl-v{margin:4px 0 0;font-size:1.6rem;font-weight:700;font-variant-numeric:tabular-nums}
.lgv-plat .pl-ch{margin:2px 0 0;font-size:.85rem;color:var(--muted)}
.lgv-tag{display:inline-block;margin-inline-start:6px;padding:1px 8px;border-radius:999px;background:var(--soft);color:var(--accent-text);font-size:.72rem;font-weight:600;vertical-align:middle;white-space:nowrap}
.lgv-focus{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center}
.lgv-focus img{width:96px;height:128px;border-radius:8px;object-fit:cover;background:var(--line)}
.lgv-focus h2{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.lgv-focus .lgv-big{font-size:clamp(2rem,7vw,3rem);margin:2px 0 0}
.lgv-focus .lgv-split,.lgv-focus .lgv-split-legend{margin-left:0;margin-right:0;max-width:none}
.lgv-focus-meta{margin:6px 0 0;font-size:.88rem;color:var(--muted)}
.lgv-focus .spark{width:100%;height:34px;margin-top:8px}
.lgv-focus .spark polyline{stroke:var(--accent)}
.lgv-cta{margin:10px 0 0}
.rank-table .c-tw,.rank-table .c-kk,.rank-table .c-ch,.rank-table .c-steam{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.rank-table .c-steam a{color:inherit}
.rank-table .c-tw{color:var(--tw)}
.rank-table .c-kk{color:var(--kk)}
.rank-table .c-item img{width:30px;height:40px;object-fit:cover;border-radius:4px;flex:none}
.lgv-nobox{display:inline-block;width:30px;height:40px;border-radius:4px;background:var(--line);flex:none}
[data-platform="twitch"] .rank-table .c-kk,[data-platform="kick"] .rank-table .c-tw,[data-platform="kick"] .rank-table .c-ch{opacity:.45}
.lgv-tabs{display:flex;gap:6px;flex-wrap:wrap}
.lgv-tops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lgv-tops h3{margin:0 0 6px;font-size:1rem;display:flex;align-items:center;gap:6px}
.lgv-tops h3 i{display:inline-block;width:10px;height:10px;border-radius:3px}
.lgv-tops .tw i{background:var(--tw)}
.lgv-tops .kk i{background:var(--kk)}
.lgv-tops ol{margin:0;padding:0;list-style:none;counter-reset:s}
.lgv-tops li{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--line);counter-increment:s}
.lgv-tops li::before{content:counter(s);width:1.4em;color:var(--muted);font-size:.85rem;text-align:right}
.lgv-tops li.lgv-none::before{content:none}
.lgv-tops li a:first-of-type{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lgv-tops .lgv-v{font-variant-numeric:tabular-nums;font-weight:600}
.lgv-tops .lgv-out{text-decoration:none;color:var(--muted);padding:0 4px}
.lgv-none{color:var(--muted);font-size:.9rem}
.lgv-line-tw{fill:none;stroke:var(--tw);stroke-width:1.5}
.lgv-line-kk{fill:none;stroke:var(--kk);stroke-width:1.5}
.lgv-legend{display:flex;gap:16px;flex-wrap:wrap;margin:8px 0 0;font-size:.8rem;color:var(--muted)}
.lgv-legend i{display:inline-block;width:18px;margin-right:6px;vertical-align:middle;border-top:2px solid var(--accent)}
.lgv-legend i.tw{border-color:var(--tw)}
.lgv-legend i.kk{border-color:var(--kk)}
.lgv-count{font-weight:700;font-variant-numeric:tabular-nums}
.lgv-status{margin:8px 0 0;font-size:.88rem}
.lgv-status.is-error{color:var(--bad)}
.days-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.days-table th,.days-table td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:right}
.days-table th:first-child{text-align:left;font-weight:500}
.days-table thead th{font-size:.8rem;color:var(--muted);font-weight:600}
.table-scroll{overflow-x:auto}
.lgv-vs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lgv-vs > div{border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.lgv-vs dt{font-size:.85rem;color:var(--muted);font-weight:600}
.lgv-vs dd{margin:4px 0 0;font-size:1.4rem;font-weight:700;font-variant-numeric:tabular-nums}
[dir="rtl"] .rank-table .c-steam,[dir="rtl"] .rank-table .c-tw,[dir="rtl"] .rank-table .c-kk,[dir="rtl"] .rank-table .c-ch,[dir="rtl"] .days-table th,[dir="rtl"] .days-table td{text-align:left}
[dir="rtl"] .lgv-plat > div{text-align:right}
@media (max-width:1100px){.rank-table .c-steam{display:none}}
@media (max-width:720px){
  .rank-table .c-ch,.rank-table .c-peak{display:none}
  .lgv-tops{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:480px){
  .lgv-focus{grid-template-columns:64px minmax(0,1fr);gap:12px}
  .lgv-focus img{width:64px;height:85px}
  .lgv-plat{grid-template-columns:minmax(0,1fr)}
  .rank-table .c-item img{display:none}
}
.lgv-hero .peak-grid{margin:16px 0 0;grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:640px){.lgv-hero .peak-grid{grid-template-columns:minmax(0,1fr)}}
