:root {
  --crimson: #e10f2d; --crimson-dark: #a80b21; --crimson-light: #ff3550; --gold: #ffc72c;
  --bg: #1a1d23; --panel: #232730; --line: #343945; --text: #f2f4f7; --muted: #a0a7b3;
  --font: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text); font: 500 17px/1.4 var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--crimson-light); color: #fff; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px max(20px, calc((100% - 1160px) / 2)); min-height: 60px; box-sizing: border-box; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.bar > nav { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.brand:hover { color: var(--text); }
.brand img { height: 36px; width: 36px; display: block; }
.brand span { font-size: 26px; font-weight: 300; line-height: 1; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.brand span b { font-weight: 800; color: var(--text); }
nav { display: flex; align-items: center; gap: 22px; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
nav a { color: #c9cdd6; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1420px) {
  .bar { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  nav { width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 4px; scrollbar-width: thin; }
  nav .steam { margin-left: auto; }
}
nav a:hover { color: #fff; }
nav a { padding: 3px 0 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
nav a.on { color: #fff; border-bottom-color: var(--gold); }
nav .steam { background: var(--crimson); color: #fff; padding: 7px 16px; border-radius: 0; font-weight: 600; transition: background .15s; }
nav .steam:hover { background: var(--crimson-light); }
main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 20px 20px 36px; }
.hero { margin-bottom: 16px; padding: 14px 18px; background: var(--panel); border-left: 4px solid var(--crimson); border-radius: 0; }
.hero h1 { margin: 0; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; font-weight: 800; }
.hero p { margin: 4px 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.hero p a { color: var(--gold); }
.hero.profile { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.hero.profile h1 { overflow-wrap: anywhere; }
.grid, .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; align-items: start; }
.family { margin-bottom: 20px; min-width: 0; }
.families { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); column-gap: 14px; }
.family.wide { grid-column: 1 / -1; }
.family > h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--crimson-dark); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.family > h2 small { font-size: 14px; font-weight: 500; letter-spacing: .15em; color: var(--muted); white-space: nowrap; }
.family > h2 small b { color: var(--gold); font-size: 20px; letter-spacing: .02em; margin-right: 6px; }
.game { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tile { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 0; background: var(--crimson); transition: transform .15s, box-shadow .15s; }
.tile:hover { background: var(--crimson-light); color: #fff; }
.tile b { display: block; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.tile i { display: block; font-style: normal; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; opacity: .75; }
.tile em { font-style: normal; font-size: 26px; line-height: 1; opacity: .85; }
.panel { background: var(--panel); border-top: 2px solid var(--crimson); border-radius: 0; padding: 10px 14px 4px; overflow-x: auto; }
.panel.wide { grid-column: 1 / -1; }
.panel h2 { margin: 0 0 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.panel h2 small { font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.empty { color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; padding: 10px 0; }
.ranks { width: 100%; border-collapse: collapse; }
.ranks th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); padding: 4px 8px; border-bottom: 1px solid var(--line); }
.ranks td { padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.25; }
.ranks tr:last-child td { border-bottom: 0; }
.ranks .r { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ranks .car { color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.ranks .d { text-align: right; color: var(--muted); font-size: 13px; white-space: nowrap; }
.ranks .pos { width: 40px; font-weight: 700; color: var(--crimson-light); }
.ranks .podium .pos { color: var(--gold); }
.ranks tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding: 14px max(20px, calc((100% - 1160px) / 2)) 18px; background: var(--bg); border-top: 1px solid var(--line); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot a:hover { color: var(--gold); }
.foot .author { color: inherit; text-decoration: none; }
.foot .author:hover { color: var(--gold); }
.foot .legal { flex-basis: 100%; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; letter-spacing: .02em; text-transform: none; }
.foot .legal a { color: #c9cdd6; text-decoration: underline; }
@media (max-width: 560px) {
  nav { gap: 14px; font-size: 14px; }
  .brand span { font-size: 22px; }
}
.place { margin-top: 22px; }
.place > h2 { margin: 0 0 10px; display: flex; align-items: baseline; gap: 14px; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.place > h2 small { font-size: 13px; font-weight: 500; letter-spacing: .15em; color: var(--muted); }
.events { background: var(--panel); border-top: 2px solid var(--crimson); border-radius: 0; }
.event { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 56px; align-items: center; gap: 16px; padding: 8px 16px; border-bottom: 1px solid var(--line); transition: background .12s; }
.event:last-child { border-bottom: 0; }
.event:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.event b { display: block; font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.event i { display: block; font-style: normal; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.event .what i em { font-style: normal; white-space: nowrap; display: inline-block; margin-left: 10px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 0; font-size: 12px; color: #b9bfcc; }
.event .best { text-align: right; }
.event .best b { color: var(--gold); font-variant-numeric: tabular-nums; }
.event .none { color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.event .count { text-align: right; color: var(--muted); font-size: 14px; }
.event.idle .what b { color: #9aa1b0; }
.event .count::after { content: " ›"; color: var(--crimson-light); }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tabs a:hover { color: #fff; border-color: var(--crimson-light); }
.tabs a.on { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.note { margin-top: 14px; color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 700px) {
  .event { grid-template-columns: 1fr auto; row-gap: 4px; }
  .event .best { grid-column: 1; text-align: left; }
  .event .count { grid-row: 1; grid-column: 2; }
}
.posts { display: grid; gap: 16px; }
.post { background: var(--panel); border-top: 2px solid var(--crimson); padding: 14px 18px; }
.post h2 { margin: 0; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.post time { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.post p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: #d5d9e2; white-space: pre-line; }
.eventhead { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 6px 0 14px; }
.eventhead b { display: block; font-size: 30px; line-height: 1.1; text-transform: uppercase; letter-spacing: .03em; }
.eventhead i { display: block; margin-top: 4px; font-style: normal; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eventhead em { font-style: normal; white-space: nowrap; display: inline-block; margin-left: 10px; padding: 1px 8px; border: 1px solid var(--line); font-size: 12px; color: #b9bfcc; }
.eventhead .when { text-align: right; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eventhead .when span { display: block; }
.eventhead .when span:first-child { color: var(--gold); }
.note a { color: var(--gold); }
h3.past { margin: 26px 0 10px; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 26px 0 4px; }
.pager a, .pager span { min-width: 42px; padding: 8px 14px; text-align: center; border: 1px solid var(--line); background: var(--panel); font-size: 18px; letter-spacing: .04em; color: #c9cdd6; }
.pager a:hover { border-color: var(--crimson-light); color: #fff; }
.pager .on { background: var(--crimson); border-color: var(--crimson); color: #fff; font-weight: 700; }
.pager .gap { border-color: transparent; background: none; color: var(--muted); }
.ranks small.sub { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.badge { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.badge.open { border-color: var(--gold); color: var(--gold); }
.badge.won, .badge.lost { border-color: var(--crimson-light); color: #fff; background: var(--crimson-dark); }
.badge.expired { color: var(--muted); }
.hero.welcome h1 { font-size: clamp(24px, 3.6vw, 34px); }
.hero.welcome p { font-size: 14px; letter-spacing: .12em; }
.stats { margin: 0 0 18px; padding: 10px 0 0; background: var(--panel); border-top: 2px solid var(--crimson); }
.stats h2 { margin: 0 18px 4px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.figures div { display: flex; flex-direction: column; justify-content: flex-start; padding: 8px 18px 12px; border-left: 1px solid var(--line); }
.figures div:first-child { border-left: 0; }
.figures b { display: block; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures div { border-left: 0; border-top: 1px solid var(--line); }
}
h2.section { margin: 0 0 14px; font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-bottom: 28px; }
.video { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border-top: 2px solid var(--crimson); }
.video .about { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 14px 18px 16px; }
.video .about .button { margin-top: auto; }
.video .meta { margin-bottom: 14px; }
.video h3 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.video .by { margin: 4px 0 0; color: var(--muted); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.video .by a { color: var(--gold); }
.video .tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.video .tags li { padding: 2px 8px; background: #22252d; border-left: 2px solid var(--crimson); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.video .text { margin: 10px 0 0; color: #d5d9e2; overflow-wrap: anywhere; }
.video .meta { margin: 10px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.button { display: inline-block; padding: 10px 22px; background: var(--crimson); color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border-radius: 0; }
.button:hover { background: var(--crimson-light); color: #fff; }
.post a:not(.button) { color: var(--gold); }
.wrap, .hero h1, .post h2, .video h3 { overflow-wrap: anywhere; }
.center { text-align: center; margin: 24px 0; }
.scroll { overflow-x: auto; }
.mono { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cut { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marks { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.mark { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.marks .mark { margin-left: 0; }
.mark-staff { background: var(--crimson); color: #fff; }
.mark-beta { background: var(--gold); color: #111; }
.hero.profile + .tabs, .tabs + .comments { margin-top: 16px; }
.comments { margin: 24px 0; max-width: 100%; }
.comments h2 small { color: var(--muted); font-size: 18px; margin-left: 6px; }
.say { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.say textarea, .admin input, .admin select { width: 100%; max-width: 100%; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 0; padding: 8px 10px; font: 500 16px/1.4 var(--font); resize: vertical; }
.say textarea:focus, .admin input:focus, .admin select:focus { outline: none; border-color: var(--crimson-light); }
.say .button, .admin .button { align-self: flex-start; border: 0; cursor: pointer; font-family: var(--font); font-size: 15px; }
.comment { background: var(--panel); border-left: 2px solid var(--crimson); padding: 10px 14px; margin-bottom: 10px; min-width: 0; }
.comment header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; }
.comment .who { font-weight: 700; overflow-wrap: anywhere; }
.comment time, .comment .thread { color: var(--muted); font-size: 14px; }
.comment .thread { overflow-wrap: anywhere; }
.comment p { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; color: #d5d9e2; }
.comment .del, .acts form { display: inline; margin: 0; }
.comment .del { margin-left: auto; }
.comment .del button, .acts button { background: none; border: 1px solid var(--line); color: var(--muted); font: 600 13px var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; cursor: pointer; }
.comment .del button:hover, .acts button:hover { color: #fff; border-color: var(--crimson-light); }
.acts { white-space: nowrap; }
.acts button + button { margin-left: 4px; }
.post .more { display: inline-block; margin-top: 8px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.admin { display: grid; gap: 18px; }
.admin .panel { padding-bottom: 12px; }
.admin .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 12px; }
.admin .row input { flex: 1 1 200px; width: auto; }
.admin .row select { flex: 0 1 160px; width: auto; }
.admin .check { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.admin .check input { width: auto; }
.hero b.on { color: var(--gold); }
.video-one { padding: 14px; }
.video .shot { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video .shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.video .shot:hover img { opacity: .8; }
.video .shot.playable::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--crimson) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat; transition: background-color .15s; }
.video .shot.playable:hover::after { background-color: var(--crimson-light); }
.player { position: relative; margin-bottom: 16px; background: #000; border-top: 2px solid var(--crimson); outline: none; user-select: none; }
.player video { display: block; width: 100%; max-height: 72vh; background: #000; }
.player.full { border: 0; display: flex; align-items: center; }
.player.full video { max-height: none; height: 100%; }
.player:focus-visible { box-shadow: 0 0 0 2px var(--crimson-light); }
.player button { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 0; color: #fff; background: none; cursor: pointer; }
.player svg { width: 22px; height: 22px; fill: currentColor; }
.player .big { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--crimson); transition: background .15s, opacity .15s; }
.player .big svg { width: 38px; height: 38px; }
.player .big:hover { background: var(--crimson-light); }
.player.playing .big { opacity: 0; pointer-events: none; }
.player .controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); transition: opacity .2s; }
.player.idle .controls { opacity: 0; }
.player.idle { cursor: none; }
.player .ctl { width: 34px; height: 34px; flex: none; }
.player .ctl:hover { color: var(--crimson-light); }
.player .seek, .player .volume { position: relative; height: 6px; background: rgba(255, 255, 255, .22); cursor: pointer; touch-action: none; }
.player .seek { flex: 1; }
.player .volume { width: 70px; flex: none; }
.player .seek::before, .player .volume::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.player .loaded { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, .3); }
.player .done { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--crimson); }
.player .seek:hover .done, .player .volume:hover .done { background: var(--crimson-light); }
.player .time { flex: none; min-width: 84px; font-size: 13px; letter-spacing: .08em; color: #fff; font-variant-numeric: tabular-nums; text-align: center; }
@media (max-width: 560px) { .player .volume { display: none; } .player .time { min-width: 0; } .player .controls { gap: 6px; } }
.video-one .tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 10px; }
.video-one .text { overflow-wrap: anywhere; color: #d5d9e2; }
.video-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.video-actions form { margin: 0; }
@media (max-width: 560px) { .cut { max-width: 120px; } .comment .del { margin-left: 0; } }
.wallets { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 18px; align-items: center; margin: 14px 0 6px; }
.wallets dt { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.wallets dt small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.wallets dd { margin: 0; min-width: 0; }
.wallets code { display: block; padding: 8px 10px; background: #0d0f13; border: 1px solid var(--line); font: 500 15px/1.35 Consolas, "Courier New", monospace; color: #e8ebf1; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 560px) { .wallets { grid-template-columns: 1fr; gap: 4px; } .wallets dd { margin-bottom: 10px; } }
.eventart { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 12px; margin: 4px -14px 0; padding: 14px 18px; background: radial-gradient(ellipse at 50% 60%, rgba(var(--glow, 255, 140, 60), .24), transparent 70%), linear-gradient(180deg, #23262e, #121418); }
.eventart span { display: flex; justify-content: center; min-width: 0; }
.eventart img { max-width: 100%; height: auto; max-height: 150px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.eventart .car img { max-height: 190px; }
.bests { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -14px 8px; border-bottom: 1px solid var(--line); }
.bests div { display: flex; flex-direction: column; align-items: center; padding: 10px 8px; text-align: center; }
.bests div + div { border-left: 1px solid var(--line); }
.bests i { font-style: normal; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.bests b { font-size: clamp(24px, 3.6vw, 40px); line-height: 1.05; font-weight: 700; font-variant-numeric: tabular-nums; color: #c9cdd6; }
.bests span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.bests .mine b { color: var(--crimson-light); }
@media (max-width: 560px) {
  .eventart { grid-template-columns: 1fr 1fr; }
  .eventart .car { grid-column: 1 / -1; order: -1; }
  .bests b { font-size: 22px; }
}
.theme-showdown { --crimson: #e2560e; --crimson-dark: #a83f08; --crimson-light: #ff7a1f; --gold: #ffd21f; --glow: 255, 110, 20; }
.theme-grid { --glow: 210, 20, 45; }
.theme-grid2 { --crimson: #a5150b; --crimson-dark: #780d06; --crimson-light: #d22a1b; --glow: 165, 21, 11; }
body { --glow: 225, 15, 45; background: var(--bg); }
.theme-showdown .hero { border-left-color: var(--gold); box-shadow: inset 0 -2px 0 var(--crimson); }
.place.theme-showdown .today, .place.theme-grid .today, .place.theme-grid2 .today { box-shadow: 0 6px 18px rgba(0, 0, 0, .25), 0 -1px 0 var(--crimson-light); }
.eventart.route .map img { width: min(100%, 200px); max-height: none; padding: 8px; background: rgba(0, 0, 0, .55); border: 3px solid rgba(255, 255, 255, .85); filter: none; }
.eventart.route .mode { flex-direction: column; align-items: center; gap: 10px; }
.eventart .flag { width: 96px; max-height: none; border: 2px solid rgba(255, 255, 255, .18); filter: none; }
.eventart .modename { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.05; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-align: center; color: #fff; text-shadow: 0 3px 10px rgba(0, 0, 0, .6); }
.tabs.versions { margin: -6px 0 16px; padding-left: 14px; border-left: 2px solid var(--crimson); }
.tabs.versions a { padding: 5px 12px; font-size: 14px; }
.tabs.versions small { margin-left: 4px; font-size: 11px; letter-spacing: .12em; opacity: .7; }
.stats .records-title { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.figures.records div { border-left-color: var(--line); }
.figures.records b { color: var(--gold); }
.figures.records a { margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }
.figures.records a:hover { color: var(--gold); }
.figures.records i { font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ranks th.by { color: #fff; }
.leaders .t { white-space: nowrap; }
.foot .line { flex-basis: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 4px 20px; text-transform: none; letter-spacing: .04em; }
.foot .links a { color: #c9cdd6; }
.hero.banned { border-left-color: var(--gold); }
.hero-side { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.acts-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acts-row form { margin: 0; }
.button.quiet { background: transparent; border: 1px solid var(--line); color: #c9cdd6; cursor: pointer; font-family: var(--font); font-size: 15px; }
.button.quiet:hover { border-color: var(--crimson-light); color: #fff; }
form .button { border: 0; cursor: pointer; font-family: var(--font); font-size: 15px; }
form .button.quiet { border: 1px solid var(--line); }
.tier { width: 144px; height: 90px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; color: #0f1015; background: var(--gold); }
.tier span { font-size: 13px; font-weight: 700; letter-spacing: .25em; }
.tier b { font-size: 26px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.tier-rookie { background: #f2f4f7; }
.tier-amateur { background: #8a909c; }
.tier-clubman { background: #2c313b; color: #f2f4f7; }
.tier-professional { background: var(--crimson); color: #fff; }
.tier-legend { background: var(--gold); }
.tag { font-style: normal; font-weight: 800; color: var(--gold); letter-spacing: .04em; }
.tag.big { font-size: .8em; }
a.tag:hover { color: #fff; }
.pinned { border-top-color: var(--gold); }
.pin, .kind { display: inline-block; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.kind { color: var(--muted); }
.feed { display: grid; gap: 12px; margin-top: 16px; }
.composer { margin: 16px 0 4px; }
.post { position: relative; }
.post .who { margin: 0; font-size: 19px; font-weight: 700; color: var(--text); }
.post .who a:not(.button) { color: var(--text); }
.post .who a:hover { color: var(--gold); }
.post .who .game { color: var(--muted); font-weight: 500; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.post.record { border-top-color: var(--gold); }
.post.record .result { margin: 6px 0 0; font-size: 26px; color: var(--gold); }
.post.record .result span { font-size: 15px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.post > .del { position: absolute; top: 12px; right: 14px; margin: 0; }
.post > .del button { background: none; border: 1px solid var(--line); color: var(--muted); font: 600 13px var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; cursor: pointer; }
.post > .del button:hover { color: #fff; border-color: var(--crimson-light); }
.legal-page ul { margin: 10px 0 0; padding-left: 20px; font-size: 17px; line-height: 1.5; color: #d5d9e2; }
.legal-page li { margin-bottom: 6px; }
.legal-page .post p { white-space: normal; }
.collector .rule { margin: 0 0 14px; padding: 10px 14px; background: var(--panel); border-left: 4px solid var(--gold); font-size: 18px; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.game-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); background: var(--panel); }
.game-card b { font-size: 21px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.game-card span { font-size: 14px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.game-card i { font-style: normal; font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.game-card.have { border-color: var(--gold); background: rgba(255, 199, 44, .1); }
.game-card.have span { color: var(--gold); }
.game-card.miss { border-color: var(--crimson); background: rgba(225, 15, 45, .1); }
.game-card.miss span { color: var(--crimson-light); }
.collector .count { margin: 14px 0 0; font-size: 20px; }
.collector .count b { font-size: 34px; color: var(--gold); }
.note.warn { color: var(--gold); }
.collector form { margin: 12px 0 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.panel form.say { margin: 8px 0; }
.panel input, .say input { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 0; padding: 8px 10px; font: 500 16px/1.4 var(--font); max-width: 100%; }
.say input { width: 100%; }
.panel input:focus, .say input:focus { outline: none; border-color: var(--crimson-light); }
.acts form { display: inline; }
.mark-collector { background: #e2560e; color: #fff; }
.mark-reloaded { background: #e8338a; color: #fff; }
.group-plaque { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 10px 18px; background: var(--panel); border-left: 4px solid #e8338a; color: var(--text); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.group-plaque .mark { margin-left: 0; flex: none; }
.group-plaque span:not(.mark) { flex: 1; min-width: 0; }
.group-plaque em { font-style: normal; font-size: 22px; line-height: 1; color: #e8338a; }
.group-plaque:hover { border-left-color: #fff; }
.plaque-discord { border-left-color: #2ecc71; }
.plaque-discord em { color: #2ecc71; }
.mark-discord { background: #2ecc71; color: #0b1a12; }
.plaque-discord:hover { border-left-color: #fff; }
.chrows { background: var(--panel); border-top: 2px solid var(--crimson); min-width: 0; }
.chrow { display: grid; grid-template-columns: 96px minmax(0, 1.5fr) minmax(0, 1.2fr) 104px minmax(0, 1fr); align-items: center; gap: 14px; padding: 6px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.chrow:last-child { border-bottom: 0; }
.chrow:hover { background: rgba(255, 255, 255, .04); }
.chrow.open { border-left-color: var(--gold); }
.chrow.expired { opacity: .75; }
.chrow .badge { justify-self: start; font-size: 12px; padding: 1px 8px; white-space: nowrap; }
.chrow .what b { display: block; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.chrow .what i { display: block; font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chrow .what em { font-style: normal; white-space: nowrap; display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid var(--line); font-size: 11px; color: #b9bfcc; }
.chrow .vs { font-size: 15px; font-weight: 700; }
.chrow .vs u { text-decoration: none; margin: 0 4px; color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.chrow .beat { text-align: right; }
.chrow .beat i { display: block; font-style: normal; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.chrow .beat b { font-size: 18px; color: var(--gold); font-variant-numeric: tabular-nums; }
.chrow .when { font-size: 13px; color: var(--muted); text-align: right; }
.chrow .when i { display: block; font-style: normal; font-size: 12px; }
.chrow .what, .chrow .vs { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 760px) {
  .chrow { grid-template-columns: auto 1fr auto; row-gap: 3px; }
  .chrow .what { grid-column: 1 / -1; }
  .chrow .vs { grid-column: 1 / 3; }
  .chrow .beat { grid-column: 3; grid-row: 2; }
  .chrow .when { grid-column: 1 / -1; text-align: left; }
}
body { overflow-wrap: break-word; }
nav .me { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.post p, .post .who, .post h2, .comment p, .comment .who, .game-card b, .hero p, .post.record .result,
.club-name, .note { overflow-wrap: anywhere; min-width: 0; }
.post .who { padding-right: 84px; }
.post.record .who { padding-right: 84px; }
.figures div, .bests div { min-width: 0; overflow: hidden; }
.figures b, .bests b, .collector .count b { max-width: 100%; overflow-wrap: anywhere; }
.figures b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier b { font-size: 22px; white-space: nowrap; }
.ranks td { overflow-wrap: anywhere; }
.ranks td.r, .ranks td.pos, .ranks td.d { overflow-wrap: normal; white-space: nowrap; }
.shelf, .feed, .grid, .videos-grid { min-width: 0; }
img { max-width: 100%; }
.launcher { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.shot { margin: 0; background: var(--panel); border-top: 2px solid var(--crimson); padding: 10px; }
.shot img { display: block; width: 100%; height: auto; }
.shot.wide { margin-top: 16px; }
.get { background: var(--panel); border-top: 2px solid var(--crimson); padding: 14px 18px 16px; }
.get h2 { margin: 0; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.get > p { margin: 2px 0 14px; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.button.big { display: block; text-align: center; padding: 14px 22px; font-size: 20px; letter-spacing: .08em; }
.steps { list-style: none; counter-reset: step; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; color: #d5d9e2; font-size: 16px; line-height: 1.3; }
.steps li::before { content: counter(step); display: grid; place-items: center; height: 30px; border: 1px solid var(--line); color: var(--gold); font-weight: 800; font-size: 17px; }
.steps b { color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.get .fine { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.get .fine a { color: var(--gold); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.features div { padding: 12px 16px; background: var(--panel); border-left: 3px solid var(--crimson); min-width: 0; }
.features b { display: block; font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.features span { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; line-height: 1.35; }
@media (max-width: 860px) { .launcher { grid-template-columns: 1fr; } .get { order: -1; } .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.yt { position: relative; display: block; margin-top: 12px; max-width: 720px; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 0; border-left: 4px solid var(--crimson); }
.yt img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s, filter .2s; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 52px; transform: translate(-50%, -50%); background: var(--crimson); transition: background .15s; }
.yt-play::after { content: ""; position: absolute; left: 31px; top: 15px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.yt-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.yt:hover img { transform: scale(1.02); filter: brightness(1.08); }
.yt:hover .yt-play { background: var(--crimson-light); }
.event .card { display: block; width: 150px; max-width: 100%; height: auto; margin-bottom: 4px; }
.events.gc .event { padding: 5px 16px; }
.events.gc .what { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.events.gc .what .card { grid-row: span 2; width: 84px; margin: 0; }
.events.gc .event b { font-size: 15px; }
.events.gc .event i { font-size: 13px; }
.gcdays { background: var(--panel); border-top: 2px solid var(--crimson); }
.gcday { border-bottom: 1px solid var(--line); }
.gcday:last-child { border-bottom: 0; }
.gcday summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; gap: 16px; align-items: center; padding: 8px 16px; cursor: pointer; list-style: none; }
.gcday summary::-webkit-details-marker { display: none; }
.gcday summary:hover { background: rgba(255, 255, 255, .04); }
.gcday summary b { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.gcday summary i { font-style: normal; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gcday summary .count { text-align: right; color: var(--muted); font-size: 14px; }
.gcday summary .count::after { content: " \25BE"; color: var(--crimson-light); }
.gcday[open] summary .count::after { content: " \25B4"; }
.gcday .events { border-top: 1px solid var(--line); background: rgba(0, 0, 0, .12); }
.hero .art { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.hero .art img { display: block; max-width: 100%; height: auto; }
.hero .art .card { width: 300px; }
.rivals td.ahead { color: var(--crimson-light); font-weight: 700; }
.stats h2 small { margin-left: 8px; font-weight: 500; letter-spacing: .08em; opacity: .7; }
.stats.extras .figures b { font-size: clamp(22px, 2.6vw, 30px); }
.grid.career, .career-modes { margin-bottom: 20px; }
.hero.profile + .tabs { margin-bottom: 18px; }
.hero.profile + .tabs + .tabs.versions { margin-top: 0; margin-bottom: 18px; }
h2.section small.count { margin-left: 10px; font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 2px; }
.bar-row { display: grid; grid-template-columns: minmax(160px, 34%) 1fr 54px; gap: 10px; align-items: center; }
.bar-name { display: flex; align-items: center; gap: 8px; min-width: 0; text-transform: uppercase; letter-spacing: .03em; }
.bar-name .icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 20px; flex-shrink: 0; }
.bar-name img { width: 40px; height: 20px; }
.bar-name b { font-size: 15px; font-weight: 600; line-height: 1.1; overflow-wrap: break-word; min-width: 0; }
.bar-name i { font-style: normal; font-size: 11px; letter-spacing: .15em; color: var(--muted); }
.bar-lines { display: block; width: calc(100% - 34px); height: 28px; overflow: visible; }
.bar-lines text { font: 600 11px var(--font); fill: var(--muted); }
.bar-lines .rounds { fill: #5a6170; }
.bar-lines .podiums { fill: var(--crimson); }
.bar-lines .wins { fill: var(--gold); }
.bar-key .rounds { background: #5a6170; }
.bar-key .podiums { background: var(--crimson); }
.bar-key .wins { background: var(--gold); }
.bar-pct { text-align: right; }
.bar-pct b { display: block; font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; }
.bar-pct span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.bar-key { margin: 8px 0 6px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.bar-key span { display: inline-block; width: 10px; height: 8px; margin: 0 4px 0 10px; }
.bar-key span:first-child { margin-left: 0; }
.ranks.rounds .mode { white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.ranks.rounds .mode img { width: 36px; height: 18px; }
.ranks.rounds img { height: 22px; width: auto;vertical-align: middle; margin-right: 8px; }
.ranks.rounds img.place { height: 24px; }
.ranks.rounds td.where { white-space: nowrap; }
.ranks.rounds td.where > span { display: inline-block; vertical-align: middle; white-space: normal; }
.ranks small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.favourites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-bottom: 24px; }
.fav { display: flex; flex-direction: column; background: var(--panel); border-top: 2px solid var(--crimson); }
.fav-family { display: flex; align-items: center; justify-content: center; height: 64px; padding: 10px; border-bottom: 1px solid var(--line); }
.fav-family img { max-height: 44px; max-width: 70%; }
.fav-family b { font-size: 24px; text-transform: uppercase; }
.fav-car { position: relative; padding: 6px 14px 10px; }
.fav-car img { display: block; width: 100%; height: auto; aspect-ratio: 738 / 376; object-fit: contain; }
.fav-car p { margin: 0; }
.fav-car p b { display: block; font-size: 20px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.fav-car p span, .fav-community span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.fav-community { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: auto 0 0; padding: 8px 14px 10px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.fav-community i { flex-basis: 100%; font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fav-community b { font-size: 15px; text-transform: uppercase; }
.garage { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-bottom: 24px; }
.garage-car { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 10px; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.garage-car img { width: 100%; height: auto; aspect-ratio: 738 / 376; object-fit: contain; }
.garage-car b { font-size: 16px; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.garage-car span { font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.garage-car p { margin: 2px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.garage-car p em { font-style: normal; font-weight: 700; color: var(--text); }
.garage-car.locked { border-top-color: var(--line); }
.garage-car.locked img { filter: grayscale(1) brightness(.45); }
.garage-car.locked span { color: var(--muted); }
.joyride { margin-bottom: 24px; }
.joy-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 12px; padding: 10px 16px; background: var(--panel); border-left: 4px solid var(--crimson); }
.joy-head img { height: 48px; width: auto; }
.joy-head h2 { margin: 0; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.joy-progress { position: relative; display: flex; align-items: baseline; gap: 10px; margin-left: auto; padding-bottom: 8px; min-width: min(100%, 260px); }
.joy-progress b { font-size: 32px; line-height: 1; color: var(--gold); }
.joy-progress span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.joy-progress svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; }
.joy-progress .all { fill: var(--line); }
.joy-progress .done { fill: var(--crimson); }
.joy-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.joy-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.joy-kinds span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px;border: 1px solid var(--line); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.joy-kinds img { width: 16px; height: 16px; opacity: .55; }
.joy-kinds span.full img { opacity: 1; }
.joy-kinds span b {color: var(--text); font-variant-numeric: tabular-nums; }
.joy-kinds span.full { border-color: var(--gold); color: var(--gold); }
.joy-missions { list-style: none; margin: 0 0 8px; padding: 0; columns: 2 120px; column-gap: 12px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.joy-missions li { position: relative; padding: 2px 0 2px 14px; break-inside: avoid; }
.joy-missions li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border: 1px solid var(--line); }
.joy-missions li.done { color: var(--text); }
.joy-missions li.done::before { background: var(--crimson); border-color: var(--crimson); }
.versus-chart { margin-bottom: 20px; }
.versus-chart .track { display: block; width: 100%; height: 160px; margin: 8px 0 10px; }
.versus-chart .track line { stroke: var(--line); stroke-width: 1; }
.versus-chart .track .up, .ranks .tally .up { fill: var(--crimson); }
.versus-chart .track .down, .ranks .tally .down { fill: var(--gold); }
.ranks .tally { width: 40%; }
.ranks .tally svg { display: block; width: 100%; height: 8px; }
@media (max-width: 560px) {
  .bar-row { grid-template-columns: 1fr 44px; }
  .bar-lines { grid-column: 1 / -1; grid-row: 2; }
}
.friend-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 16px; }
.friend-pick label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.friend-pick select { min-width: 0; max-width: 100%; padding: 7px 10px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 0; font: 500 16px var(--font); }
.friend-pick select:focus { outline: none; border-color: var(--crimson-light); }
.friend-pick .button { padding: 6px 16px; }
.panel .friend-pick { margin: 8px 0 12px; }
.tour-tier { margin-bottom: 26px; }
.tour-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 12px; padding: 10px 16px; background: var(--panel); border-left: 4px solid var(--crimson); }
.tour-tier.current .tour-head { border-left-color: var(--gold); }
.tour-tier.locked .tour-head { border-left-color: var(--line); }
.tour-tier.locked .tour-event { opacity: .55; }
.tier-logo { height: 40px; width: auto; }
.tier-name { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tier-name i { margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--gold); }
.tour-tier.locked .tier-name i { color: var(--muted); }
.tier-sponsor { height: 40px; width: 40px; }
.tour-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.tour-event { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border-top: 2px solid var(--line); }
.tour-event.done { border-top-color: var(--crimson); }
.tour-event.podium { border-top-color: var(--gold); }
.tour-event header { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.tour-n { flex-shrink: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.tour-mode { flex-shrink: 0; width: 40px; height: 20px; }
.tour-title { flex: 1; min-width: 0; }
.tour-title b { display: block; font-size: 16px; line-height: 1.15; text-transform: uppercase; overflow-wrap: break-word; }
.tour-title i { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tour-place { flex-shrink: 0; min-width: 48px; text-align: right; }
.tour-place img { width: 48px; height: 24px; }
.tour-place b { font-size: 18px; color: var(--muted); }
.tour-event.done .tour-place b { color: var(--text); }
.tour-rounds { width: 100%; border-collapse: collapse; font-size: 14px; }
.tour-rounds th { padding: 6px 12px 2px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; }
.tour-rounds td { padding: 4px 12px 6px; border-top: 1px solid var(--line); text-transform: uppercase; vertical-align: top; }
.tour-rounds .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tour-rounds td.top { color: var(--gold); font-weight: 700; }
.tour-rounds small { display: block; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.tour-rounds small a:hover { color: var(--gold); }
.tour-event footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: auto; padding: 6px 12px 8px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tour-event footer .won { color: var(--gold); font-weight: 600; }
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.award { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--line); }
.award img { flex-shrink: 0; width: 32px; height: 32px; opacity: .35; }
.award > div { flex: 1; min-width: 0; }
.award b { display: block; font-size: 16px; line-height: 1.15; text-transform: uppercase; overflow-wrap: break-word; color: var(--muted); }
.award p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.award.done { border-top-color: var(--gold); }
.award.done img { opacity: 1; }
.award.done b { color: var(--text); }
.award-progress { position: relative; display: flex; justify-content: flex-end; margin-top: 6px; padding-bottom: 6px; }
.award-progress span { font-size: 12px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.award-progress svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; }
.award-progress .all { fill: var(--line); }
.award-progress .done { fill: var(--crimson); }
.award.done .award-progress .done, .objective.done .award-progress .done { fill: var(--gold); }
.compare { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 2px; }
.cmp-row { display: grid; grid-template-columns: minmax(150px, 28%) 1fr; gap: 10px; align-items: center; }
.cmp-name { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.cmp-bars { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-bars div { display: grid; grid-template-columns: 1fr minmax(84px, auto); gap: 8px; align-items: center; }
.cmp-bars svg { display: block; width: 100%; height: 8px; }
.cmp-bars span { font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; color: var(--muted); }
.cmp-bars .me, .bar-key .me { fill: var(--crimson); background: var(--crimson); }
.cmp-bars .friend, .bar-key .friend { fill: var(--gold); background: var(--gold); }
.cmp-bars .avg, .bar-key .avg { fill: #5a6170; background: #5a6170; }
.bar-key .them { background: var(--gold); }
.dh-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.dh-car, .dh-vs { background: var(--panel); border-top: 2px solid var(--crimson); padding: 10px 14px; }
.dh-car { display: flex; align-items: center; gap: 14px; }
.dh-car img { width: min(45%, 220px); height: auto; aspect-ratio: 414 / 239; object-fit: cover; }
.dh-car p, .dh-vs p { margin: 0 0 6px; }
.dh-car i, .dh-vs i { display: block; font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dh-car b, .dh-vs b { font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.dh-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.dh-row { padding: 6px 0 8px; border-top: 1px solid var(--line); }
.dh-row:first-of-type { border-top: 0; }
.dh-row b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dh-split { display: grid; grid-template-columns: minmax(48px, auto) 1fr minmax(48px, auto); gap: 8px; align-items: center; }
.dh-split svg { display: block; width: 100%; height: 8px; }
.dh-split .me { fill: var(--crimson); color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.dh-split .them { fill: var(--gold); color: var(--gold); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.objectives { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.objective { display: flex; flex-direction: column; background: var(--panel); border-top: 2px solid var(--line); }
.objective.done { border-top-color: var(--gold); }
.objective img { display: block; width: 100%; height: auto; aspect-ratio: 525 / 250; object-fit: cover; }
.objective:not(.done) img { filter: grayscale(.85) brightness(.6); }
.objective > div { padding: 8px 12px 10px; }
.objective b { display: block; font-size: 18px; line-height: 1.1; text-transform: uppercase; }
.objective p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.objective .why { margin-top: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.objective.unknown { opacity: .7; }
.ranks .pos.down { color: var(--muted); }
.hero.profile + .tabs.club-sort { margin-bottom: 18px; }
.career-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; margin-bottom: 20px; }
.career-card { display: block; background: var(--panel); border-top: 2px solid var(--crimson); padding-top: 8px; }
.career-card:hover { color: inherit; border-top-color: var(--gold); }
.career-card header { display: flex; align-items: center; gap: 12px; margin: 0 18px 4px; }
.career-card header img { height: 26px; width: auto; }
.career-card header b { flex: 1; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.career-card header span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.career-card header b small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--muted); opacity: .75; }
.club-games .career-card header b { color: #fff; }
.career-games { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.career-games a { flex: 0 1 220px; min-width: 0; padding: 9px 16px 8px; background: var(--panel); border: 1px solid var(--line); border-bottom: 2px solid var(--line); color: var(--muted); }
.career-games a:hover { color: #fff; border-color: var(--crimson-light); }
.career-games a.on { border-color: var(--crimson); border-bottom-color: var(--crimson); color: #fff; }
.career-games b { display: block; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: break-word; }
.career-games span { display: block; margin-top: 1px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.career-games a.on span { color: var(--gold); opacity: 1; }
.ranks td.careers span { display: block; white-space: nowrap; }
.ranks td.careers i { font-style: normal; color: var(--muted); }
.ranks td.role { white-space: nowrap; overflow-wrap: normal; }
.ranks th small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.ranks td.medal { white-space: nowrap; }
.ranks td.medal img { width: 24px; height: 20px; vertical-align: middle; margin-right: 6px; image-rendering: pixelated; }
.ranks td.medal small { display: inline; text-transform: uppercase; }
@media (max-width: 560px) {
  .career-games a { flex: 1 1 140px; }
  .cmp-row { grid-template-columns: 1fr; gap: 4px; }
  .dh-head { grid-template-columns: 1fr; }
  .tour-rounds th:nth-child(3), .tour-rounds td:nth-child(3) { display: none; }
}
