:root {
  --ink: #0d0a0c; --panel: #171217; --panel2: #1f171d; --line: #3a2a31;
  --text: #efe6d6; --muted: #bdb5ae; --gold: #c9a24b; --gold2: #e3c77a; --red: #a3262a;
  /* przyciemnienie tła (data/media/bg.jpg): boki lżej (widać postacie), środek mocniej (tam jest treść). Zakres 0-1. */
  --dim-side: .25; --dim-mid: .6;
  --head: "Marcellus", Georgia, serif; --body: "Noto Sans", system-ui, sans-serif;
  /* motyw fal (seigaiha) - własna grafika, bez zasobów gry */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-opacity='.11' stroke-width='1.2'%3E%3Ccircle cx='0' cy='40' r='20'/%3E%3Ccircle cx='0' cy='40' r='14'/%3E%3Ccircle cx='0' cy='40' r='8'/%3E%3Ccircle cx='80' cy='40' r='20'/%3E%3Ccircle cx='80' cy='40' r='14'/%3E%3Ccircle cx='80' cy='40' r='8'/%3E%3Ccircle cx='40' cy='20' r='20'/%3E%3Ccircle cx='40' cy='20' r='14'/%3E%3Ccircle cx='40' cy='20' r='8'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--ink); font: 400 16px/1.55 var(--body); font-variant-numeric: tabular-nums; }
/* Tło: jeśli wgrasz data/media/bg.jpg, pojawi się pod przyciemnieniem; bez pliku zostaje gradient + fale */
.bg { position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,10,12,var(--dim-side)) 0%, rgba(13,10,12,var(--dim-mid)) 28%, rgba(13,10,12,var(--dim-mid)) 72%, rgba(13,10,12,var(--dim-side)) 100%),
    linear-gradient(rgba(13,10,12,.2), rgba(13,10,12,.6)),
    url("/media/bg.jpg") center / cover no-repeat,
    var(--wave),
    radial-gradient(ellipse at 50% -10%, #5a1519 0%, transparent 60%),
    var(--ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.05; color: var(--gold2); text-shadow: 0 2px 18px rgba(163,38,42,.55); }
h2 { font-size: 1.7rem; color: var(--gold2); margin-bottom: .3rem; }
h3 { font-size: 1.2rem; }
a { color: inherit; }
.muted { color: var(--muted); }
.hint { margin: 0 0 1rem; font-size: .9rem; }
.empty { color: var(--muted); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.hero { border-bottom: 1px solid var(--gold); }
.hero-in, main, .tabs { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.hero-in { padding: 3rem 0 1.2rem; }
.tabs { display: flex; gap: .25rem; overflow-x: auto; overflow-y: hidden; }
.tabs a { padding: .7rem 1.1rem; text-decoration: none; color: var(--muted); border: 1px solid transparent; border-bottom: 0; font-family: var(--head); font-size: 1.1rem; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--gold2); background: rgba(13,10,12,.92); border-color: var(--gold); }
main { padding: 1.5rem 0 4rem; }
main section { margin: 2.2rem 0; }

.frame { background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(201,162,75,.35); }

/* wyścig */
.race { display: grid; gap: .9rem; }
.team { display: grid; grid-template-columns: 4.5rem 11rem 1fr 8rem; gap: 1rem; align-items: center; text-decoration: none; }
.team .name { font: 400 1.35rem var(--head); }
.team .name small { display: block; font: 400 .8rem var(--body); color: var(--muted); }
.bar { height: 2.2rem; background: var(--panel); border: 1px solid var(--line); position: relative; }
.bar > i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); transition: width .8s ease; }
.bar > b { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); font: 600 1.05rem var(--body); color: #fff; text-shadow: 0 1px 3px #000; }
.team .score { text-align: right; font: 600 1.5rem var(--body); }
.team .score small { display: block; font: 400 .8rem var(--body); color: var(--muted); }
.team.lead .name::after { content: "prowadzi"; margin-left: .5rem; font: 600 .75rem var(--body); color: var(--gold); }
.team:hover .name { color: var(--gold2); }

.emblem, .logo { width: 4rem; height: 4rem; display: grid; place-items: center; border: 2px solid var(--c, var(--gold)); background: #120d11; overflow: hidden; }
.emblem { font: 400 1.9rem var(--head); color: var(--c); }
.logo { object-fit: contain; padding: .2rem; }
.cols { display: grid; grid-template-columns: 3fr 2fr; gap: 2rem; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .5rem .6rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 .85rem var(--body); color: var(--muted); }
td.n, th.n { text-align: right; }
.av { --c: var(--gold); width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--c); background: #120d11;
  display: inline-grid; place-items: center; vertical-align: middle; margin-right: .55rem; font: 600 .85rem var(--body); color: var(--c); flex: none; }
.av.lg { width: 3.8rem; height: 3.8rem; font-size: 1.5rem; margin-right: 0; }
.mh { display: flex; gap: .8rem; align-items: center; }
.dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c); margin-right: .5rem; }
.stream-status { display: inline-block; width: .62rem; height: .62rem; border-radius: 50%; margin: 0 .45rem 0 .05rem; vertical-align: .04em; background: #777; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.stream-status.live { background: #ed3650; box-shadow: 0 0 .55rem rgba(237,54,80,.65); }
.stream-status.offline { background: #777; }
.stream-status.unknown { background: #d39d35; }
.top1 td:first-child { color: var(--gold); font-weight: 600; }


/* zakładka Drużyny */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border: 1px solid var(--line); text-decoration: none; background: var(--panel); font-family: var(--head); font-size: 1.05rem; }
.chip[aria-current="true"] { border-color: var(--c); box-shadow: 0 0 0 1px var(--c); color: var(--gold2); }
.thead { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; padding: 1.2rem; border-top: 4px solid var(--c); }
.thead .logo, .thead .emblem { width: 5.5rem; height: 5.5rem; }
.stats { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-left: auto; }
.stat b { display: block; font: 600 1.8rem/1.1 var(--body); color: var(--gold2); }
.stat span { font-size: .85rem; color: var(--muted); }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .9rem; }
.member { padding: .8rem 1rem; border-left: 4px solid var(--c); }
.member .nick { font: 400 1.2rem var(--head); }
.member .lvl { font: 600 1.6rem var(--body); color: var(--gold2); }
.member p { margin: .1rem 0; font-size: .85rem; color: var(--muted); }
.tag { color: var(--gold); font-size: .75rem; font-weight: 600; margin-left: .4rem; }



.prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.2rem; }
.prize { padding: 1.2rem 1.3rem; display: grid; gap: .55rem; align-content: start; }
.prize.done { border-color: var(--gold); }
.prize .reward { font: 400 1.6rem/1.2 var(--head); color: var(--gold2); }
.prize .reward.muted { font-size: 1.1rem; color: var(--muted); }
.prize h3 { font-size: 1.3rem; }
.prize p { margin: 0; }
.winner { border: 1px solid var(--gold); padding: .5rem .8rem; color: var(--gold2); }
.standing { list-style: none; margin: .2rem 0; padding: 0; }
.standing li { display: flex; align-items: center; gap: .3rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.standing li.lead { color: var(--gold2); font-weight: 600; }
.standing b { margin-left: auto; font-weight: 600; }
.parts { display: grid; gap: .5rem; }
.pteam { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; border-left: 3px solid var(--c); padding-left: .7rem; }
.pteam > span { display: inline-flex; align-items: center; }
.rules-lite p, .rules-lite li { margin: .25rem 0; font-size: .92rem; color: var(--muted); }
.rules-lite ul, .rules-lite ol { padding-left: 1.3rem; margin: .3rem 0; }
.rules-lite h2, .rules-lite h3, .rules-lite h4 { font-size: 1rem; color: var(--text); margin: .6rem 0 .2rem; }
.rules { padding: 1.4rem 1.8rem; max-width: 48rem; }
.rules h2, .rules h3, .rules h4 { margin: 1.4rem 0 .4rem; color: var(--gold2); }
.rules h2:first-child, .rules h3:first-child, .rules h4:first-child { margin-top: 0; }
.rules p, .rules li { margin: .4rem 0; }
.rules ul, .rules ol { padding-left: 1.4rem; margin: .4rem 0; }
.rules a { color: var(--gold2); }
.events { display: grid; gap: 1.2rem; }
.event { padding: 1.2rem 1.4rem; display: grid; gap: .6rem; border-left: 4px solid var(--line); }
.event.live { border-left-color: #4cc38a; }
.event.planned { border-left-color: var(--gold); }
.event.finished { opacity: .85; }
.event .eh { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.event .when { color: var(--muted); font-size: .92rem; }
.event h3 { font-size: 1.4rem; }
.event .reward { font: 400 1.25rem var(--head); color: var(--gold2); }
.event .desc p, .event .desc li { color: var(--text); font-size: 1rem; }
.event details { border-top: 1px solid var(--line); padding-top: .6rem; }
.event summary { cursor: pointer; color: var(--gold2); font-family: var(--head); font-size: 1.05rem; }
.badge { font: 600 .75rem var(--body); padding: .15rem .6rem; border: 1px solid currentColor; }
.badge.live { color: #4cc38a; } .badge.planned { color: var(--gold2); } .badge.finished { color: var(--muted); }
.chart svg { width: 100%; height: auto; display: block; background: var(--panel); border: 1px solid var(--line); }
.chart-legend { display: flex; flex-wrap: wrap; gap: .35rem .85rem; margin: .8rem 0 0; }
.chart-player { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--muted); }
.chart-player i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--player-color); }
.hype { position: relative; overflow: hidden; padding: clamp(1.4rem, 4vw, 2.8rem); text-align: center; border-color: var(--gold); background: linear-gradient(135deg, rgba(90,21,25,.88), rgba(23,18,23,.96) 58%, rgba(31,23,29,.96)); }
.hype::before, .hype::after { content: ""; position: absolute; width: 13rem; height: 13rem; border: 1px solid rgba(227,199,122,.18); border-radius: 50%; pointer-events: none; }
.hype::before { top: -8rem; left: -5rem; box-shadow: 0 0 0 1rem rgba(227,199,122,.035), 0 0 0 2rem rgba(227,199,122,.025); }
.hype::after { right: -6rem; bottom: -9rem; box-shadow: 0 0 0 1rem rgba(227,199,122,.035), 0 0 0 2rem rgba(227,199,122,.025); }
.hype > * { position: relative; }
.hype-kicker { margin: 0 0 .45rem; color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.hype h2 { margin: 0; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.1; }
.hype-lead { margin: .8rem 0 .4rem; color: var(--gold2); font: 400 clamp(1.1rem, 3vw, 1.5rem) var(--head); }
.hype-question { margin: 1rem 0 .4rem; font-size: clamp(1rem, 2.7vw, 1.35rem); font-weight: 700; letter-spacing: .04em; }
.hype-start { display: inline-block; margin: .6rem 0 0; padding: .45rem 1rem; border: 1px solid var(--gold); color: var(--gold2); font: 400 1.2rem var(--head); }

@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr; }
  .team { grid-template-columns: 3.5rem 1fr auto; }
  .team .emblem, .team .logo { width: 3.2rem; height: 3.2rem; font-size: 1.4rem; }
  .team .bar { grid-column: 1 / -1; grid-row: 2; }
  .stats { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .bar > i { transition: none; } html { scroll-behavior: auto; } }

/* MMO event identity: stone, iron and warm gold; faction colors stay on the team cards. */
:root { --panel: #141116; --panel2: #1d1820; --line: rgba(220,195,145,.19); --gold: #c7a052; --gold2: #f0d48b; }
.hero { min-height: 0; position: relative; overflow: hidden; isolation: isolate; background: transparent; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 21rem; height: 21rem; right: 7%; top: -12rem; border: 1px solid rgba(227,199,122,.14); transform: rotate(45deg); box-shadow: 0 0 0 1.5rem rgba(227,199,122,.025), 0 0 0 3rem rgba(227,199,122,.018); }
.hero-in { position: relative; z-index: 2; padding: 1.7rem 0 1.1rem; }
.hero-cast { position: absolute; z-index: 1; right: max(1rem, calc((100vw - 1160px) / 2)); bottom: 3.15rem; display: flex; align-items: center; justify-content: flex-end; width: min(820px, 68vw); height: 78px; padding: 0 1rem 0 8px; pointer-events: none; }
.cast-avatar { display: grid; place-items: center; flex: 0 0 62px; width: 62px; height: 62px; overflow: hidden; margin-left: -18px; border: 1px solid rgba(239,211,151,.68); border-radius: 50%; background: linear-gradient(145deg, #44303a, #171217); box-shadow: 0 4px 16px rgba(0,0,0,.5), inset 0 0 0 3px rgba(12,10,13,.62); filter: grayscale(.28) brightness(.92); opacity: .97; transform: translateY(var(--cast-y, 0)) scale(var(--cast-scale, 1)); }
.cast-avatar:first-child { margin-left: 0; }
.cast-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cast-avatar > span { color: var(--gold2); font: 400 1.65rem var(--head); }
.cast-1 { --cast-y: -8px; --cast-scale: .92; }
.cast-2 { --cast-y: 5px; --cast-scale: 1.04; }
.cast-3 { --cast-y: -4px; --cast-scale: .96; }
.brand-kicker, .eyebrow { color: var(--gold); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.brand-kicker { display: flex; align-items: center; gap: .55rem; margin: 0 0 .65rem; }
.brand-kicker span { width: .42rem; height: .42rem; background: var(--gold2); transform: rotate(45deg); box-shadow: 0 0 .6rem rgba(240,212,139,.65); }
.hero h1 { max-width: min(560px, 56%); font-size: clamp(1.8rem, 4.5vw, 3.4rem); letter-spacing: .025em; text-wrap: balance; }
.load-error { padding: 1rem 1.2rem; color: #f1c0bd; }
.tabs { position: sticky; z-index: 10; bottom: 0; padding: .45rem .55rem 0; border: 1px solid rgba(227,199,122,.18); border-bottom: 0; background: rgba(14,11,14,.94); backdrop-filter: blur(12px); }
.tabs a { position: relative; padding: .65rem .95rem .75rem; font-size: 1rem; transition: color .18s ease, background .18s ease; }
.tabs a[aria-current="page"] { border-color: transparent; background: transparent; }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; right: .8rem; bottom: 0; left: .8rem; height: 2px; background: var(--gold2); box-shadow: 0 0 9px rgba(240,212,139,.55); }
main { width: min(1160px, 100% - 2rem); padding-top: 1.2rem; }
main section { margin: 2.6rem 0; }
main section > h2, .section-heading h2 { margin-bottom: .35rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.overview-section { padding: 1.35rem; border: 1px solid rgba(220,195,145,.15); background: linear-gradient(145deg, rgba(22,18,24,.94), rgba(15,12,16,.94)); box-shadow: 0 16px 44px rgba(0,0,0,.22); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .25rem; }
.section-heading .eyebrow { margin: 0 0 .2rem; }
.section-heading h2 { margin: 0; }
.section-link { color: var(--gold2); font-size: .84rem; text-decoration: none; white-space: nowrap; }
.section-link:hover { color: #fff1c7; }
.overview-section > .hint { margin: .3rem 0 1rem; }

.hype { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 1.2rem; align-items: center; min-height: 330px; padding: clamp(1.5rem, 4.5vw, 3.25rem); border: 1px solid rgba(231,197,121,.48);
  background:
    linear-gradient(90deg, rgba(13,10,13,.98) 0%, rgba(17,13,16,.91) 43%, rgba(17,13,16,.48) 100%),
    linear-gradient(0deg, rgba(13,10,12,.48), rgba(13,10,12,.1)),
    url("/media/hero2.jpg") 50% 55% / cover no-repeat,
    #171217;
  box-shadow: 0 22px 70px rgba(0,0,0,.42), inset 0 0 0 4px rgba(201,162,75,.055); }
.hype::before { top: -9rem; left: -8rem; width: 23rem; height: 23rem; opacity: .65; }
.hype::after { right: -9rem; bottom: -12rem; width: 23rem; height: 23rem; opacity: .55; }
.hype-content { max-width: 760px; }
.hype-kicker { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem; color: var(--gold2); font-size: .72rem; letter-spacing: .16em; }
.hype-sigil { font-size: 1rem; }
.hype h2 { max-width: 730px; font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.025em; text-shadow: 0 3px 28px rgba(0,0,0,.75); }
.hype h2 em { color: #f3d891; font-style: normal; }
.hype-lead { margin: .8rem 0 .45rem; color: #fff1cf; font: 400 clamp(1rem, 2.5vw, 1.35rem) var(--head); }
.hype-copy { max-width: 650px; margin: 0; color: #c8c0b7; font-size: .94rem; }
.hype-facts { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.2rem; }
.hype-facts > span { display: grid; gap: .04rem; }
.hype-facts b { color: #f2d991; font: 400 1.55rem/1.15 var(--head); }
.hype-facts small { color: #bcb1a4; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.hype-facts > i { width: 1px; height: 2rem; background: rgba(231,197,121,.27); }
.hype-facts .live-fact b { color: #ff6874; }
.hype-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; margin-top: 1.25rem; }
.hype-start { display: grid; gap: .1rem; margin: 0; padding: .2rem 0 .2rem .75rem; border: 0; border-left: 2px solid var(--gold); color: var(--text); text-align: left; }
.hype-start small { color: var(--gold); font: 600 .63rem var(--body); letter-spacing: .12em; }
.hype-start strong { font: 400 1.13rem var(--head); }
.hype-cta { display: inline-flex; align-items: center; gap: .55rem; padding: .62rem .9rem; border: 1px solid rgba(231,197,121,.6); background: rgba(201,162,75,.12); color: #f5dda2; font-size: .82rem; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.hype-cta:hover { transform: translateY(-2px); background: rgba(201,162,75,.22); }
.hype-seal { display: grid; align-content: center; justify-items: center; justify-self: center; width: 126px; height: 150px; border: 1px solid rgba(231,197,121,.5); outline: 1px solid rgba(231,197,121,.18); outline-offset: 6px; background: linear-gradient(145deg, rgba(13,10,13,.84), rgba(93,32,29,.52)); clip-path: polygon(50% 0, 91% 15%, 91% 70%, 50% 100%, 9% 70%, 9% 15%); color: #f1d58f; text-align: center; }
.hype-seal span { font: 400 2.3rem var(--head); }
.hype-seal small { margin-top: .2rem; font-size: .62rem; line-height: 1.35; letter-spacing: .16em; }

.race { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.team-card { --c: #888; position: relative; display: grid; gap: .75rem; min-width: 0; padding: .9rem 1rem .85rem; overflow: hidden; border: 1px solid rgba(220,195,145,.16); border-left: 3px solid var(--c); background: linear-gradient(115deg, color-mix(in srgb, var(--c) 12%, #171319), rgba(19,16,20,.97) 52%); text-decoration: none; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.team-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 55%, #d8bd7c); background: linear-gradient(115deg, color-mix(in srgb, var(--c) 18%, #171319), rgba(19,16,20,.97) 65%); }
.team-card.lead { border-color: rgba(229,196,116,.62); border-left-color: var(--gold2); box-shadow: inset 0 0 22px rgba(201,162,75,.06); }
.team-card-top, .team-card-main { display: flex; align-items: center; }
.team-card-top { justify-content: space-between; gap: .5rem; }
.team-rank { color: rgba(239,230,214,.45); font: 400 1rem var(--head); letter-spacing: .08em; }
.team-card.lead .team-rank, .team-state { color: var(--gold2); }
.team-state { font-size: .68rem; }
.team-card-main { gap: .75rem; }
.team-card .emblem, .team-card .logo { width: 3.7rem; height: 3.7rem; flex: none; }
.team-card-name { display: grid; min-width: 0; }
.team-card-name .eyebrow { margin: 0; font-size: .58rem; }
.team-card-name strong { overflow: hidden; color: var(--text); font: 400 1.25rem var(--head); text-overflow: ellipsis; white-space: nowrap; }
.team-card-name small { color: var(--muted); font-size: .72rem; }
.team-score { display: flex; align-items: baseline; gap: .48rem; }
.team-score > strong { color: #fff1d0; font: 400 1.65rem/1 var(--head); }
.team-score > span { color: var(--muted); font-size: .68rem; }
.team-score > b { margin-left: auto; color: var(--gold2); font-size: .9rem; }
.team-score > b small { color: var(--muted); font-size: .66rem; font-weight: 400; }
.team-card .bar { height: .45rem; border-color: rgba(255,255,255,.08); background: rgba(0,0,0,.38); }
.team-card .bar > i { background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 64%, #f5d992)); }

.player-list { display: grid; gap: .45rem; }
.player-card { --c: #c9a24b; display: grid; grid-template-columns: 2rem 2.7rem minmax(0, 1fr) auto minmax(8rem, .55fr); gap: .75rem; align-items: center; min-width: 0; padding: .55rem .8rem; border: 1px solid rgba(220,195,145,.12); border-left: 2px solid color-mix(in srgb, var(--c) 70%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 7%, #161319), rgba(18,15,19,.95) 40%); transition: background .18s ease, border-color .18s ease; }
.player-card:hover { border-color: rgba(220,195,145,.35); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 12%, #1a161c), rgba(18,15,19,.98) 55%); }
.player-rank { color: rgba(239,230,214,.44); font: 400 .85rem var(--head); text-align: center; }
.player-avatar { width: 2.7rem; height: 2.7rem; margin: 0; }
.player-main { display: grid; min-width: 0; }
.player-name { overflow: hidden; font: 400 1.02rem var(--head); text-overflow: ellipsis; white-space: nowrap; }
.player-name a { text-decoration: none; }
.player-name a:hover, .player-team:hover { color: var(--gold2); }
.player-team { width: fit-content; color: var(--c); font-size: .7rem; text-decoration: none; }
.player-level { display: grid; justify-items: end; min-width: 4.5rem; }
.player-level strong { color: var(--gold2); font: 400 1.45rem/1 var(--head); }
.player-level span { color: var(--muted); font-size: .62rem; }
.player-exp { display: grid; justify-items: end; }
.player-exp span { color: var(--muted); font-size: .62rem; }
.player-exp strong { color: #d8d0c5; font-size: .72rem; font-weight: 400; }
.stream-status { width: .56rem; height: .56rem; margin-right: .4rem; }
.stream-status.live { animation: live-glow 2s ease-in-out infinite; }
@keyframes live-glow { 50% { box-shadow: 0 0 .8rem rgba(237,54,80,.95); } }
.top1 { border-left-color: var(--gold2); }
.chart svg { border-color: rgba(220,195,145,.16); background: rgba(13,10,12,.64); }

@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-in { padding: 1.45rem 0 .95rem; }
  .hero h1 { max-width: 100%; font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-cast { right: .15rem; bottom: 2.9rem; width: 78vw; height: 48px; padding: 0 .2rem 0 4px; }
  .cast-avatar { flex-basis: 39px; width: 39px; height: 39px; margin-left: -12px; }
  .cast-avatar > span { font-size: 1.1rem; }
  .tabs { width: 100%; gap: 0; padding-inline: .35rem; }
  .tabs a { padding: .65rem .72rem .7rem; font-size: .91rem; }
  main { width: min(100% - 1.1rem, 600px); padding-top: .65rem; }
  main section { margin: 1.6rem 0; }
  .hype { grid-template-columns: minmax(0, 1fr) 74px; gap: .4rem; min-height: 0; padding: 1.2rem .9rem; background-position: 56% 42%; }
  .hype h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hype-kicker { font-size: .58rem; letter-spacing: .1em; }
  .hype-copy { font-size: .82rem; }
  .hype-seal { width: 66px; height: 82px; outline-offset: 3px; }
  .hype-seal span { font-size: 1.45rem; }
  .hype-seal small { font-size: .44rem; }
  .hype-facts { gap: .65rem; margin-top: .9rem; }
  .hype-facts b { font-size: 1.25rem; }
  .hype-facts small { font-size: .56rem; }
  .hype-footer { gap: .65rem; margin-top: .9rem; }
  .hype-start strong { font-size: .95rem; }
  .hype-cta { padding: .5rem .65rem; font-size: .72rem; }
  .overview-section { padding: .85rem .7rem; }
  .section-heading { align-items: center; }
  .section-link { font-size: .72rem; }
  .race { grid-template-columns: 1fr; gap: .55rem; }
  .team-card { grid-template-columns: minmax(0, 1fr) auto; gap: .55rem .7rem; padding: .7rem .75rem; }
  .team-card-top { grid-column: 1 / -1; }
  .team-card-main { grid-column: 1; grid-row: 2; }
  .team-card .emblem, .team-card .logo { width: 3.1rem; height: 3.1rem; }
  .team-card-name strong { max-width: 45vw; font-size: 1.1rem; }
  .team-score { grid-column: 2; grid-row: 2; align-self: center; display: grid; justify-items: end; gap: .08rem; }
  .team-score > strong { font-size: 1.45rem; }
  .team-score > b { margin-left: 0; }
  .team-card .bar { grid-column: 1 / -1; grid-row: 3; }
  .player-card { grid-template-columns: 1.5rem 2.5rem minmax(0, 1fr) auto; gap: .45rem; padding: .55rem .48rem; }
  .player-avatar { width: 2.4rem; height: 2.4rem; }
  .player-name { font-size: .9rem; }
  .player-rank { font-size: .73rem; }
  .player-level { min-width: 3rem; }
  .player-level strong { font-size: 1.2rem; }
  .player-exp { display: none; }
  .chart-legend { gap: .35rem .6rem; }
  .chart-player { font-size: .72rem; }
}
@media (max-width: 390px) {
  .brand-kicker { font-size: .56rem; }
  .hype { grid-template-columns: 1fr; }
  .hype-seal { display: none; }
  .hype-question { font-size: .94rem; }
  .tabs a { padding-inline: .58rem; font-size: .84rem; }
  .player-team { font-size: .62rem; }
  .hero-cast { width: 82vw; bottom: 2.75rem; }
  .cast-avatar { flex-basis: 34px; width: 34px; height: 34px; margin-left: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-card, .player-card, .hype-cta { transition: none; }
  .stream-status.live { animation: none; }
}
