
:root {
  color-scheme: dark;
  --bg: #100d0e;
  --bg-soft: #151112;
  --panel: #1a1415;
  --panel-light: #211718;
  --line: rgba(230, 239, 220, .13);
  --text: #f0f3eb;
  --muted: #a1a99a;
  --acid: #ef443d;
  --acid-dark: #af282f;
  --heading: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--bg); background: var(--acid); }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-150%); color: var(--bg); background: var(--acid); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 88px; padding: 0 5.8vw; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 37px; height: 37px; object-fit: cover; border-radius: 2px; }
.brand-name { display: grid; gap: 1px; font-family: var(--heading); font-size: 20px; font-weight: 800; letter-spacing: .06em; line-height: .9; }
.brand-name span { color: var(--muted); font-family: var(--body); font-size: 8px; font-weight: 700; letter-spacing: .28em; }
.main-nav { display: flex; gap: 38px; align-items: center; margin-left: auto; margin-right: 48px; }
.main-nav a { color: #c0c6b9; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--acid); }
.main-nav a span { margin-left: 4px; color: var(--acid); font-size: 9px; }
.header-cta { display: inline-flex; align-items: center; gap: 15px; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.header-cta span { color: var(--acid); font-size: 16px; }

.hero { position: relative; display: flex; min-height: 720px; height: min(850px, 100svh); max-height: 1000px; overflow: hidden; align-items: center; padding: 112px 11vw 92px; background: radial-gradient(ellipse at 76% 52%, rgba(134, 30, 33, .13), transparent 37%), linear-gradient(118deg, #100d0e 9%, #130f10 55%, #1b1012 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .29; pointer-events: none; background-image: linear-gradient(rgba(216, 235, 191, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(216, 235, 191, .075) 1px, transparent 1px); background-size: 66px 66px; mask-image: linear-gradient(90deg, transparent, #000 46%, #000 100%); }
.hero-copy { position: relative; z-index: 2; width: min(640px, 57%); padding-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--acid); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 13px var(--acid); }
.eyebrow-line { display: inline-block; width: 42px; height: 1px; background: rgba(239, 68, 61, .55); }
.hero h1 { margin: 30px 0 14px; font-family: var(--heading); font-size: clamp(82px, 11.6vw, 160px); font-weight: 800; letter-spacing: -.035em; line-height: .77; }
.hero h1 span:not(.period) { color: var(--acid); }
.period { color: var(--acid); }
.hero-subtitle { margin: 30px 0 28px; color: #edf1e7; font-family: var(--heading); font-size: 27px; font-weight: 600; letter-spacing: .03em; line-height: 1.08; }
.hero-subtitle span { color: #abb3a5; font-family: var(--body); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.primary-button { display: inline-flex; align-items: center; gap: 28px; min-height: 49px; padding: 0 18px; color: var(--bg); background: var(--acid); font-size: 10px; font-weight: 800; letter-spacing: .11em; transition: background .2s, transform .2s; }
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); background: #ff7068; }
.primary-button span { font-size: 17px; }
.hero-art { position: absolute; top: 50%; right: 8.8%; width: min(37vw, 510px); aspect-ratio: 1; transform: translateY(-49%); }
.hero-art::before { position: absolute; inset: 11%; border: 1px solid rgba(239, 68, 61, .22); content: ''; transform: rotate(45deg); }
.hero-art::after { position: absolute; inset: 19%; border: 1px solid rgba(239, 68, 61, .11); border-radius: 50%; content: ''; }
.art-orbit { position: absolute; inset: 9%; border: 1px dashed rgba(229, 239, 216, .17); border-radius: 50%; }
.orbit-one { transform: rotate(-27deg) scaleY(.7); }
.orbit-two { inset: 3% 21%; transform: rotate(52deg); }
.art-reticle { position: absolute; z-index: 1; inset: 23%; display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 8px; }
.art-reticle i { border-color: rgba(239, 68, 61, .72); border-style: solid; }
.art-reticle i:nth-child(1) { border-width: 1px 0 0 1px; }
.art-reticle i:nth-child(2) { border-width: 1px 1px 0 0; }
.art-reticle i:nth-child(3) { border-width: 0 0 1px 1px; }
.art-reticle i:nth-child(4) { border-width: 0 1px 1px 0; }
.art-team-logo { position: absolute; z-index: 2; top: 50%; left: 50%; width: 48%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(255, 255, 255, .22); background: #0d090a; box-shadow: 0 0 42px rgba(239, 68, 61, .24); transform: translate(-50%, -50%); }
.art-monogram { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--acid); font-family: var(--heading); font-size: clamp(150px, 25vw, 290px); font-weight: 900; letter-spacing: -.1em; line-height: .7; text-shadow: 0 0 55px rgba(239, 68, 61, .15); }
.art-monogram span { color: rgba(240, 243, 235, .78); transform: translate(-.13em, .12em); }
.art-label { position: absolute; z-index: 3; color: #edf1e7; font-size: 9px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; }
.art-label span:not(.label-mark) { color: var(--acid); }
.label-top { top: 10%; right: 2%; text-align: right; }
.label-bottom { bottom: 10%; left: 1%; }
.label-mark { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--acid); }
.hero-bottomline { position: absolute; right: 5.8vw; bottom: 27px; left: 5.8vw; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); color: #879080; font-size: 8px; font-weight: 600; letter-spacing: .15em; }
.hero-bottomline a { color: var(--acid); }
.hero-bottomline a span { margin-left: 5px; font-size: 13px; }

.section-wrap { width: min(1400px, 84vw); margin-right: auto; margin-left: auto; }
.roster { padding-top: 132px; padding-bottom: 112px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 47px; }
.section-kicker { margin-bottom: 14px; }
.section-heading h2, .team-copy h2 { margin: 0; font-family: var(--heading); font-size: clamp(58px, 8vw, 102px); font-weight: 800; letter-spacing: -.025em; line-height: .8; }
.section-heading h2 span { color: var(--acid); }
.section-note { margin: 0 1px 4px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.roster-meta { display: flex; gap: 26px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #899184; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.roster-meta b { margin-left: 7px; color: var(--acid); font-size: 10px; }
.roster-meta-right { margin-left: auto; }
.roster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding-top: 17px; }
.roster-grid .player-card-talent { grid-column: 3; }
.player-card { position: relative; display: flex; min-width: 0; min-height: 323px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 17px 15px 19px; border: 1px solid rgba(231, 238, 220, .1); background: linear-gradient(156deg, #1c201a, #151112 72%); transition: border-color .28s, background .28s, transform .28s; }
.player-card::after { position: absolute; top: 44px; right: -30%; width: 90%; height: 1px; background: rgba(239, 68, 61, .17); content: ''; transform: rotate(-40deg); }
.player-card:hover, .player-card:focus-within { transform: translateY(-5px); border-color: rgba(239, 68, 61, .6); background: linear-gradient(156deg, #242a1d, #171a14 72%); }
.card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: #a2ab98; font-family: monospace; font-size: 9px; letter-spacing: .1em; }
.player-number { color: var(--acid); font-size: 12px; }
.player-type { font-family: var(--body); font-size: 7px; font-weight: 700; letter-spacing: .13em; }
.player-glyph { position: absolute; top: 67px; right: 0; left: 0; display: grid; height: 158px; place-items: center; color: var(--acid); font-family: var(--heading); font-weight: 800; }
.player-glyph::before { position: absolute; width: 112px; height: 112px; border: 1px solid rgba(239, 68, 61, .26); border-radius: 50%; content: ''; }
.player-glyph::after { position: absolute; width: 141px; height: 141px; border: 1px dashed rgba(239, 68, 61, .16); border-radius: 50%; content: ''; }
.player-glyph span { position: relative; z-index: 1; }
.glyph-scope span { width: 25px; height: 25px; border: 1px solid var(--acid); border-radius: 50%; box-shadow: 0 0 0 10px rgba(239, 68, 61, .06), 0 0 28px rgba(239, 68, 61, .36); }
.glyph-scope span::before, .glyph-scope span::after { position: absolute; top: 11px; left: -34px; width: 92px; height: 1px; background: var(--acid); content: ''; }
.glyph-scope span::after { transform: rotate(90deg); }
.glyph-scope i { position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
.glyph-command span { font-size: 39px; letter-spacing: -.08em; }
.glyph-command i { position: absolute; right: 22%; bottom: 27px; width: 34px; height: 34px; border: 1px solid rgba(239, 68, 61, .56); transform: rotate(45deg); }
.glyph-strike span { font-size: 38px; letter-spacing: .04em; }
.glyph-strike i { position: absolute; top: 27px; left: 18%; width: 70px; height: 70px; border: 1px solid rgba(239, 68, 61, .56); transform: rotate(45deg); }
.glyph-revolver span, .glyph-frag span { display: grid; width: 66px; height: 66px; place-items: center; border: 1px solid rgba(239, 68, 61, .65); border-radius: 50%; font-size: 42px; }
.glyph-revolver i { position: absolute; width: 112px; height: 112px; border: 1px solid rgba(239, 68, 61, .3); transform: rotate(45deg) scaleY(.57); }
.glyph-frag span { border-radius: 7px; transform: rotate(45deg); }
.glyph-frag span::first-letter { transform: rotate(-45deg); }
.glyph-frag i { position: absolute; width: 130px; height: 1px; background: rgba(239, 68, 61, .45); transform: rotate(-45deg); }
.card-bottom { position: relative; z-index: 1; padding-top: 15px; border-top: 1px solid var(--line); }
.player-role { margin: 0 0 6px; color: var(--acid); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.player-card h3 { margin: 0; overflow-wrap: anywhere; font-family: var(--heading); font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.card-arrow { position: absolute; right: 0; bottom: 1px; color: #9ba48f; font-size: 16px; transition: color .2s, transform .2s; }
.player-card:hover .card-arrow { transform: translate(2px, -2px); color: var(--acid); }
.roster-footer { display: flex; align-items: center; gap: 17px; margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line); }
.footer-cross { color: var(--acid); font-size: 27px; }
.roster-footer p { margin: 0; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .08em; line-height: 1.8; }
.roster-footer p strong { color: var(--text); }
.copy-button { display: inline-flex; align-items: center; gap: 16px; margin-left: auto; padding: 12px 14px; border: 1px solid var(--line); color: var(--text); background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; letter-spacing: .1em; transition: border-color .2s, color .2s; }
.copy-button:hover, .copy-button:focus-visible { border-color: var(--acid); color: var(--acid); }
.copy-button span { color: var(--acid); font-size: 14px; }

.team-section { position: relative; overflow: hidden; padding: 94px 0 102px; background: #1c1314; }
.team-section::before { position: absolute; top: -220px; right: -120px; width: 630px; height: 630px; border: 1px solid rgba(239, 68, 61, .1); border-radius: 50%; box-shadow: 0 0 0 46px rgba(239, 68, 61, .018), 0 0 0 94px rgba(239, 68, 61, .014); content: ''; }
.team-inner { position: relative; display: grid; grid-template-columns: 1fr 2.4fr 1fr; align-items: start; gap: 28px; }
.team-index { display: flex; align-items: center; gap: 12px; color: var(--acid); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.team-index span { width: 35px; height: 1px; background: rgba(239, 68, 61, .5); }
.team-copy h2 { font-size: clamp(60px, 8vw, 98px); }
.team-copy h2 span { color: var(--acid); }
.team-copy p { max-width: 390px; margin: 24px 0 0; color: #aab2a2; font-size: 13px; line-height: 1.9; }
.team-stamp { display: grid; justify-items: center; gap: 12px; margin-top: 3px; color: #899184; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.team-stamp img { filter: drop-shadow(0 0 22px rgba(239, 68, 61, .14)); }
.site-footer { display: flex; align-items: center; gap: 25px; min-height: 100px; padding: 20px 5.8vw; border-top: 1px solid var(--line); color: #879080; font-size: 8px; font-weight: 600; letter-spacing: .13em; }
.footer-brand { color: var(--text); font-family: var(--heading); font-size: 18px; font-weight: 800; letter-spacing: .05em; }
.footer-brand span { color: var(--acid); }
.site-footer p { margin: 0; }
.back-to-top { margin-left: auto; color: var(--acid); }
.copyright { margin-left: 17px; }
.toast { position: fixed; z-index: 9; right: 24px; bottom: 24px; padding: 14px 18px; border: 1px solid rgba(239, 68, 61, .4); background: #1b2117; color: var(--text); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 1; transform: translateY(0); }
.has-js .reveal { opacity: 0; transform: translateY(15px); transition: opacity .65s ease, transform .65s ease; transition-delay: calc(var(--card-index, 0) * 65ms); }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

@media (max-width: 1050px) {
  .hero { min-height: 670px; padding-left: 8vw; }
  .hero-art { right: 4%; width: 43vw; }
  .hero h1 { font-size: clamp(75px, 12vw, 130px); }
  .section-wrap { width: 88vw; }
  .roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roster-grid .player-card-talent { grid-column: 2; }
  .player-card { min-height: 305px; }
  .player-card h3 { font-size: 27px; }
  .team-inner { grid-template-columns: .8fr 2fr .7fr; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 68px; }
  .site-header { height: 68px; padding: 0 6vw; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 18px; }
  .main-nav { gap: 17px; margin-right: 0; }
  .main-nav a { font-size: 9px; }
  .header-cta { display: none; }
  .hero { min-height: 720px; height: 92svh; max-height: 850px; align-items: flex-start; padding: 140px 7vw 95px; }
  .hero-copy { width: 100%; padding: 0; }
  .hero h1 { margin-top: 29px; font-size: clamp(83px, 18vw, 125px); }
  .hero-subtitle { margin-top: 22px; font-size: 24px; }
  .hero-art { top: auto; right: -5%; bottom: 69px; width: 57vw; opacity: .48; transform: none; }
  .hero-art::before { inset: 13%; }
  .art-label { display: none; }
  .art-monogram { font-size: 48vw; }
  .hero-bottomline { right: 7vw; bottom: 20px; left: 7vw; font-size: 7px; }
  .hero-bottomline span:nth-child(2) { display: none; }
  .section-wrap { width: 86vw; }
  .roster { padding-top: 85px; padding-bottom: 77px; }
  .section-heading { align-items: flex-start; gap: 22px; flex-direction: column; margin-bottom: 31px; }
  .section-heading h2 { font-size: 72px; }
  .section-note { font-size: 11px; }
  .roster-meta { gap: 14px; font-size: 7px; }
  .roster-meta-right { font-size: 7px; }
  .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 11px; }
  .roster-grid .player-card-talent { grid-column: 1 / -1; }
  .player-card { min-height: 275px; padding: 14px 12px; }
  .roster-grid .player-card-talent { min-height: 154px; flex-direction: row; align-items: center; justify-content: flex-start; padding: 18px 22px; }
  .player-card-talent .card-top { position: absolute; top: 16px; right: 18px; left: 18px; }
  .player-card-talent .player-glyph { position: relative; top: auto; right: auto; left: auto; width: 96px; height: 108px; flex: 0 0 96px; margin: 21px 22px 0 4px; }
  .player-card-talent .player-glyph::before { width: 78px; height: 78px; }
  .player-card-talent .player-glyph::after { width: 98px; height: 98px; }
  .player-card-talent .player-glyph span { width: 54px; height: 54px; font-size: 31px; }
  .player-card-talent .player-glyph i { width: 112px; }
  .player-card-talent .card-bottom { flex: 1; margin-top: 22px; }
  .player-glyph { top: 54px; height: 142px; }
  .player-glyph::before { width: 93px; height: 93px; }
  .player-glyph::after { width: 119px; height: 119px; }
  .player-card h3 { font-size: clamp(20px, 6vw, 27px); }
  .player-type { font-size: 6px; }
  .roster-footer { flex-wrap: wrap; gap: 11px; }
  .roster-footer p { font-size: 8px; }
  .copy-button { padding: 11px 10px; font-size: 8px; }
  .team-section { padding: 72px 0 79px; }
  .team-inner { grid-template-columns: 1fr auto; gap: 29px 16px; }
  .team-index { grid-column: 1 / -1; }
  .team-copy h2 { font-size: clamp(57px, 14vw, 82px); }
  .team-copy p { max-width: 290px; font-size: 12px; }
  .team-stamp { align-self: center; }
  .team-stamp img { width: 66px; height: 66px; object-fit: cover; border-radius: 2px; }
  .site-footer { flex-wrap: wrap; gap: 12px 18px; padding: 22px 7vw; }
  .site-footer p { order: 3; width: 100%; }
  .back-to-top { margin-left: auto; }
  .copyright { display: none; }
}
@media (max-width: 410px) {
  .brand { gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 16px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 8px; }
  .hero h1 { font-size: 21vw; }
  .player-card { min-height: 248px; padding: 12px 10px; }
  .player-number { font-size: 10px; }
  .player-card h3 { font-size: 20px; }
  .player-role { font-size: 7px; }
  .player-type { letter-spacing: .06em; }
  .roster-meta { gap: 9px; letter-spacing: .08em; }
  .copy-button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
}


/* Roster extension and game clip galleries */
.player-card-talent { background: linear-gradient(156deg, #261718, #151112 72%); }
.player-card-talent:hover { background: linear-gradient(156deg, #311b1b, #171112 72%); }
.glyph-talent::before { border-color: rgba(239, 68, 61, .46); box-shadow: inset 0 0 32px rgba(239, 68, 61, .08); }
.glyph-talent::after { border-radius: 22px; border-color: rgba(239, 68, 61, .33); transform: rotate(45deg) scale(.78); }
.glyph-talent span { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid var(--acid); border-radius: 50%; color: var(--text); font-size: 40px; text-shadow: 0 0 20px rgba(239, 68, 61, .42); }
.glyph-talent i { position: absolute; width: 152px; height: 1px; background: rgba(239, 68, 61, .45); transform: rotate(-32deg); }
.roster-grid .player-card h3 { font-size: clamp(18px, 2.1vw, 25px); }

.player-portrait { position: absolute; inset: 58px 12px 76px; overflow: hidden; border: 1px solid rgba(239, 68, 61, .48); background: #100d0e; box-shadow: 0 0 24px rgba(239, 68, 61, .1); }
.player-portrait::before { position: absolute; z-index: 1; inset: 6px; border: 1px solid rgba(240, 243, 235, .26); content: ''; pointer-events: none; }
.player-portrait::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 13, 14, .02) 46%, rgba(16, 13, 14, .82) 100%); content: ''; pointer-events: none; }
.player-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(.9) contrast(1.03); }

.clips-section { padding-top: 120px; padding-bottom: 122px; }
.clips-heading { margin-bottom: 29px; }
.clips-notice { margin: 0 0 21px; padding: 12px 15px; border-left: 2px solid var(--acid); color: #b7b1ad; background: rgba(255, 255, 255, .025); font-size: 11px; line-height: 1.7; }
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.game-panel { min-width: 0; padding: 22px; border: 1px solid rgba(231, 238, 220, .12); background: linear-gradient(156deg, #1c1718, #141112 74%); }
.game-panel-head { display: flex; min-height: 116px; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.game-index { color: var(--acid); font-family: monospace; font-size: 8px; letter-spacing: .13em; }
.game-heading h3 { margin: 10px 0 2px; font-family: var(--heading); font-size: clamp(36px, 4.3vw, 54px); font-weight: 800; letter-spacing: -.015em; line-height: .86; }
.game-heading p { margin: 7px 0 0; color: #9e9692; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.add-clip-button { flex: 0 0 auto; margin-top: 4px; padding: 11px 12px; border: 1px solid rgba(239, 68, 61, .45); color: var(--text); background: transparent; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .09em; transition: border-color .2s, color .2s, background .2s; }
.add-clip-button:hover, .add-clip-button:focus-visible { border-color: var(--acid); color: var(--acid); background: rgba(239, 68, 61, .08); }
.clip-list { display: grid; grid-template-columns: 1fr; gap: 12px; padding-top: 14px; }
.clip-card { min-width: 0; border: 1px solid rgba(231, 238, 220, .1); background: #100d0e; }
.clip-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #080708; }
.clip-media iframe, .clip-media video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.clip-details { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px; }
.clip-details h4 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-family: var(--heading); font-size: 18px; font-weight: 700; }
.clip-details a, .remove-clip-button { color: #b9b0ad; font-size: 8px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.clip-details a:hover, .remove-clip-button:hover { color: var(--acid); }
.remove-clip-button { padding: 6px 0 6px 7px; border: 0; background: transparent; cursor: pointer; }
.empty-clip { display: grid; min-height: 190px; align-content: center; justify-items: center; gap: 12px; margin-top: 14px; border: 1px dashed rgba(231, 238, 220, .16); color: #aaa29e; text-align: center; }
.empty-clip[hidden] { display: none; }
.empty-clip-mark { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(239, 68, 61, .4); border-radius: 50%; color: var(--acid); font-size: 18px; }
.empty-clip p { margin: 0; font-size: 10px; line-height: 1.9; }
.clip-format-note { margin: 16px 0 0; color: #928b87; font-size: 9px; line-height: 1.7; }

.clip-dialog { width: min(540px, calc(100vw - 30px)); max-width: none; max-height: min(92vh, 760px); padding: 0; overflow: auto; border: 1px solid rgba(239, 68, 61, .4); color: var(--text); background: #151112; box-shadow: 0 24px 100px rgba(0, 0, 0, .55); }
.clip-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(4px); }
.clip-form { padding: 27px; }
.dialog-topline { display: flex; align-items: center; justify-content: space-between; }
.dialog-topline .eyebrow { font-size: 8px; }
.dialog-close { width: 33px; height: 33px; border: 1px solid var(--line); color: var(--text); background: transparent; cursor: pointer; font-size: 21px; line-height: 1; }
.dialog-close:hover { border-color: var(--acid); color: var(--acid); }
.clip-form h2 { margin: 26px 0 5px; font-family: var(--heading); font-size: 51px; font-weight: 800; line-height: .9; }
.clip-form h2 span { color: var(--acid); }
.dialog-description { margin: 0 0 23px; color: #b6adaa; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.clip-form label { display: block; margin: 15px 0 7px; color: #e9e1dd; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.clip-form input[type="text"], .clip-form input[type="url"] { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid rgba(231, 238, 220, .2); border-radius: 0; color: var(--text); background: #100d0e; font: inherit; font-size: 12px; }
.clip-form input:focus { border-color: var(--acid); outline: 2px solid rgba(239, 68, 61, .24); outline-offset: 1px; }
.clip-form input::placeholder { color: #786f6b; }
.form-hint, .form-local-note { margin: 7px 0 0; color: #a49b97; font-size: 9px; line-height: 1.7; }
.form-local-note { margin-top: 13px; color: #d58b87; }
.form-error { min-height: 16px; margin: 8px 0 0; color: #ff8078; font-size: 10px; line-height: 1.6; }
.dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 20px; }
.dialog-cancel { min-height: 45px; padding: 0 15px; border: 1px solid var(--line); color: var(--text); background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.dialog-cancel:hover { border-color: var(--acid); color: var(--acid); }
.dialog-actions .primary-button { min-height: 45px; border: 0; cursor: pointer; }

@media (max-width: 1050px) {
  .clips-section { padding-top: 95px; padding-bottom: 100px; }
  .game-panel { padding: 18px; }
}
@media (max-width: 700px) {
  .clips-section { width: 86vw; padding-top: 76px; padding-bottom: 78px; }
  .games-grid { grid-template-columns: 1fr; gap: 11px; }
  .game-panel { padding: 16px; }
  .game-panel-head { min-height: 103px; }
  .game-heading h3 { font-size: 43px; }
  .add-clip-button { padding: 10px 9px; font-size: 7px; }
  .clip-form { padding: 21px; }
  .clip-details { gap: 9px; padding: 10px; }
  .clip-details h4 { font-size: 16px; }
}
@media (max-width: 410px) {
  .clips-section { width: 88vw; }
  .game-panel { padding: 13px; }
  .game-heading h3 { font-size: 39px; }
  .clip-details a, .remove-clip-button { font-size: 7px; }
  .roster-grid .player-card h3 { font-size: 18px; }
}


.clip-mode-switch { display: flex; gap: 7px; margin: 18px 0 2px; }
.clip-mode-button { min-height: 35px; padding: 0 12px; border: 1px solid rgba(231, 238, 220, .16); color: #b2a9a5; background: transparent; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.clip-mode-button:hover, .clip-mode-button.is-active { border-color: var(--acid); color: var(--text); background: rgba(239, 68, 61, .11); }
.clip-mode-fields[hidden] { display: none; }
.clip-form input[type="file"] { display: block; width: 100%; padding: 10px; border: 1px dashed rgba(239, 68, 61, .38); color: #d8cfca; background: #100d0e; font: inherit; font-size: 10px; }
.clip-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 10px; border: 1px solid rgba(239, 68, 61, .5); color: var(--text); background: #201718; cursor: pointer; font: inherit; font-size: 9px; font-weight: 700; }
.clip-form input[type="file"]::file-selector-button:hover { border-color: var(--acid); color: var(--acid); }
.file-selected { min-height: 16px; margin: 7px 0 0; color: #d5cfcb; font-size: 9px; overflow-wrap: anywhere; }
.clip-file-missing { display: grid; width: 100%; height: 100%; margin: 0; padding: 18px; place-items: center; color: #c5bab5; font-size: 10px; text-align: center; }
@media (max-width: 700px) {
  .clip-mode-switch { margin-top: 14px; }
}


/* Shared gallery and owner authentication */
.clips-notice { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.clips-notice > p { margin: 0; }
.clips-notice strong { color: var(--text); }
.gallery-auth { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.gallery-auth-status { color: #d2c9c4; font-size: 9px; line-height: 1.6; }
.gallery-auth-button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(239, 68, 61, .48); color: var(--text); background: rgba(239, 68, 61, .07); cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.gallery-auth-button:hover, .gallery-auth-button:focus-visible { border-color: var(--acid); color: var(--acid); }
.gallery-auth-button:disabled, .dialog-actions button:disabled { cursor: wait; opacity: .58; }
.gallery-auth-button[hidden], .add-clip-button[hidden] { display: none; }
.gallery-error { margin: -7px 0 21px; padding: 12px 15px; border: 1px solid rgba(255, 128, 120, .35); color: #ffaaa4; background: rgba(255, 128, 120, .06); font-size: 10px; line-height: 1.7; }
.gallery-error[hidden] { display: none; }
@media (max-width: 850px) {
  .clips-notice { align-items: flex-start; flex-direction: column; gap: 12px; }
  .gallery-auth { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .gallery-auth { align-items: flex-start; }
  .gallery-auth-status { flex-basis: 100%; }
  .gallery-auth-button { min-height: 38px; }
}


/* Location / Google Maps */
.location-section { padding-top: 112px; padding-bottom: 116px; }
.location-heading { margin-bottom: 32px; }
.location-card { display: grid; min-height: 448px; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.55fr); border: 1px solid rgba(231, 238, 220, .13); background: #151112; box-shadow: 0 22px 70px rgba(0, 0, 0, .2); }
.location-details { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(26px, 4vw, 50px); border-right: 1px solid var(--line); background: radial-gradient(ellipse at 10% 100%, rgba(239, 68, 61, .12), transparent 48%), linear-gradient(150deg, #211819, #141112 78%); }
.location-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--acid); font-size: 8px; font-weight: 800; letter-spacing: .14em; line-height: 1.7; }
.location-kicker .status-dot { flex: 0 0 6px; }
.location-details h3 { margin: 29px 0 13px; font-family: var(--heading); font-size: clamp(54px, 6vw, 76px); font-weight: 800; letter-spacing: -.025em; line-height: .85; }
.location-details h3 span { color: var(--acid); font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.location-address { margin: 0; color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.9; }
.location-hint { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.location-button { display: inline-flex; min-height: 48px; align-items: center; gap: 22px; margin-top: 25px; padding: 0 15px; color: var(--bg); background: var(--acid); font-size: 9px; font-weight: 800; letter-spacing: .1em; transition: background .2s, transform .2s; }
.location-button:hover, .location-button:focus-visible { transform: translateY(-2px); background: #ff7068; }
.location-button span { font-size: 16px; }
.location-map-block { display: flex; min-width: 0; flex-direction: column; background: #100d0e; }
.location-map { position: relative; min-height: 370px; flex: 1; overflow: hidden; background: #211d1e; }
.location-map-fallback, .google-map-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.location-map-fallback { object-fit: cover; transition: opacity .3s; }
.google-map-canvas { z-index: 1; opacity: 0; pointer-events: none; transition: opacity .35s; }
.location-map.is-ready .location-map-fallback { visibility: hidden; opacity: 0; }
.location-map.is-ready .google-map-canvas { opacity: 1; pointer-events: auto; }
.map-loading { position: absolute; z-index: 2; right: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 9px 11px; border-left: 2px solid var(--acid); color: var(--text); background: rgba(16, 13, 14, .91); font-size: 8px; font-weight: 700; letter-spacing: .09em; line-height: 1.6; }
.location-map.is-ready .map-loading { display: none; }
.map-loading.is-error { color: #f4c7c3; }
.location-map-meta { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 15px; border-top: 1px solid var(--line); color: #a29a96; }
.location-map-meta span { font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.location-map-meta i { margin: 0 4px; color: var(--acid); font-style: normal; }
@media (max-width: 1050px) {
  .location-card { min-height: 410px; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.35fr); }
  .location-details { padding: 28px; }
  .location-map { min-height: 330px; }
}
@media (max-width: 700px) {
  .location-section { width: 86vw; padding-top: 76px; padding-bottom: 78px; }
  .location-card { grid-template-columns: 1fr; }
  .location-details { padding: 29px 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .location-details h3 { margin-top: 22px; font-size: 60px; }
  .location-map { min-height: 320px; }
  .location-map-meta { flex-wrap: wrap; }
}
@media (max-width: 410px) {
  .location-section { width: 88vw; }
  .location-details { padding: 25px 20px; }
  .location-map { min-height: 275px; }
  .location-map-meta span { font-size: 7px; }
}

.location-map-fallback[hidden] { display: none; }


/* Four game routes and owner-editable player data */
[hidden] { display: none !important; }
.game-selector { padding-top: 18px; padding-bottom: 120px; }
.game-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; }
.game-choice { position: relative; display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid rgba(231, 238, 220, .13); background: linear-gradient(145deg, #201819, #131011 77%); transition: transform .25s, border-color .25s, background .25s; }
.game-choice:hover, .game-choice:focus-visible { transform: translateY(-4px); border-color: rgba(239, 68, 61, .7); background: linear-gradient(145deg, #29191b, #151112 77%); }
.game-choice-art { position: relative; display: grid; min-width: 0; min-height: 0; flex: 1 1 auto; place-items: center; padding: 24px; overflow: hidden; background: radial-gradient(ellipse at 50% 56%, rgba(239, 68, 61, .12), transparent 61%); }
.game-choice-art::before { position: absolute; inset: 20%; border: 1px solid rgba(239, 68, 61, .18); content: ''; transform: rotate(45deg); }
.game-choice-number { position: absolute; top: 17px; left: 17px; color: #aaa19d; font: 700 8px monospace; letter-spacing: .13em; }
.game-choice-logo { position: relative; z-index: 1; display: block; max-width: 78%; max-height: 112px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .4)); }
.game-choice-logo--cs2 { width: 76%; max-height: 76px; filter: brightness(0) invert(1) drop-shadow(0 12px 24px rgba(0, 0, 0, .4)); }
.game-choice-logo--rocket { width: 126px; height: auto; max-width: calc(100% - 24px); max-height: 126px; padding: 0; border-radius: 0; background: transparent; object-fit: contain; object-position: center; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .32)); }
.game-choice-logo--fc27 { width: 78%; max-height: 90px; filter: brightness(0) invert(1) drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.game-choice-logo--chess { width: 108px; height: 108px; object-fit: contain; }
.game-choice-copy { position: relative; z-index: 1; display: flex; min-height: 88px; flex: 0 0 auto; flex-direction: column; align-items: flex-start; justify-content: center; padding: 15px 22px; border-top: 1px solid var(--line); }
.game-choice-kicker { color: var(--acid); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.game-choice-copy h3 { margin: 8px 0 0; padding-right: 28px; font: 800 clamp(27px, 3.5vw, 43px)/.9 var(--heading); letter-spacing: -.015em; }
.game-choice-arrow { position: absolute; right: 22px; bottom: 19px; color: var(--acid); font-size: 23px; transition: transform .2s; }
.game-choice:hover .game-choice-arrow { transform: translate(3px, -3px); }
.game-view { padding-top: 120px; padding-bottom: 100px; }
.game-view-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.game-backlink, .game-route-badge { font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.game-backlink { color: var(--acid); }
.game-route-badge { color: #928a86; }
.game-hero { position: relative; display: flex; min-height: 295px; align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; padding: 36px clamp(24px, 5vw, 68px); overflow: hidden; border: 1px solid rgba(239, 68, 61, .2); background: radial-gradient(ellipse at 82% 46%, rgba(158, 42, 45, .2), transparent 35%), linear-gradient(125deg, #201718, #131011 74%); }
.game-hero::after { position: absolute; top: -110px; right: 12%; width: 380px; height: 380px; border: 1px solid rgba(239, 68, 61, .12); border-radius: 50%; box-shadow: 0 0 0 32px rgba(239, 68, 61, .025), 0 0 0 66px rgba(239, 68, 61, .02); content: ''; }
.game-hero-copy { position: relative; z-index: 1; }
.game-hero-copy .eyebrow { flex-wrap: wrap; }
.game-hero h1 { margin: 29px 0 12px; font: 900 clamp(72px, 11vw, 130px)/.78 var(--heading); letter-spacing: -.045em; text-transform: uppercase; }
.game-hero-subtitle { margin: 20px 0 0; color: #b5aca8; font-size: 12px; line-height: 1.7; }
.game-hero-logo { position: relative; z-index: 1; display: grid; width: min(31%, 300px); min-width: 130px; min-height: 140px; place-items: center; }
.game-hero-logo img { display: block; max-width: 100%; max-height: 190px; object-fit: contain; }
.game-hero-logo .game-logo--cs2 { filter: brightness(0) invert(1); }
.game-hero-logo .game-logo--fc27 { width: 100%; filter: brightness(0) invert(1); }
.game-hero-logo .game-logo--chess { width: 150px; height: 150px; }
.game-hero-logo .game-logo--rocket-league { width: 176px; height: 176px; max-width: 100%; max-height: 100%; padding: 14px; object-fit: contain; }
.game-access-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 17px; padding: 15px 17px; border-left: 2px solid var(--acid); background: rgba(255, 255, 255, .025); }
.game-access-panel > p { max-width: 600px; margin: 0; color: #b7b1ad; font-size: 10px; line-height: 1.8; }
.game-access-panel strong { color: var(--text); }
.game-access-panel .gallery-auth { max-width: 500px; }
.game-roster-section { padding-top: 95px; }
.game-section-heading, .game-clips-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.game-section-heading h2, .game-clips-heading h2 { margin: 0; font: 800 clamp(48px, 7vw, 76px)/.82 var(--heading); letter-spacing: -.02em; }
.game-section-note { margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.game-player-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.game-player-card { position: relative; display: flex; min-width: 0; min-height: 350px; flex-direction: column; overflow: hidden; padding: 17px; border: 1px solid rgba(231, 238, 220, .11); background: radial-gradient(ellipse at 50% 52%, rgba(239, 68, 61, .07), transparent 55%), linear-gradient(155deg, #1d1718, #131112 78%); }
.game-player-card--talent { border-color: rgba(239, 68, 61, .32); }
.game-player-topline { display: flex; justify-content: space-between; gap: 10px; color: #928a86; font: 700 8px monospace; letter-spacing: .1em; }
.game-player-topline span:first-child { color: var(--acid); }
.game-player-mark { display: grid; width: 102px; height: 102px; flex: 0 0 auto; align-self: center; place-items: center; margin: 26px 0 18px; border: 1px solid rgba(239, 68, 61, .52); border-radius: 50%; color: var(--text); background: radial-gradient(circle, rgba(239, 68, 61, .14), transparent 70%); font: 800 48px var(--heading); box-shadow: 0 0 0 11px rgba(239, 68, 61, .035), 0 0 34px rgba(239, 68, 61, .12); }
.game-player-mark img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 28%; }
.game-player-mark.has-glyph { font-size: 44px; }
.game-player-identity { padding: 13px 0 12px; border-top: 1px solid var(--line); }
.game-player-role { display: block; margin-bottom: 5px; color: var(--acid); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.game-player-identity h3 { margin: 0; font: 700 clamp(23px, 2.5vw, 30px)/1 var(--heading); }
.player-stat-list { display: grid; gap: 7px; }
.player-stat { display: flex; justify-content: space-between; gap: 12px; padding: 8px 9px; border: 1px solid rgba(231, 238, 220, .08); background: rgba(255, 255, 255, .025); }
.player-stat span { min-width: 0; color: #aaa19d; font-size: 9px; overflow-wrap: anywhere; }
.player-stat strong { color: var(--text); font-size: 10px; text-align: right; overflow-wrap: anywhere; }
.player-stat-empty { margin: 0; color: #817975; font-size: 9px; line-height: 1.6; }
.edit-player-stats { align-self: flex-start; margin-top: auto; padding: 10px 0 0; border: 0; color: var(--acid); background: none; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.edit-player-stats:hover { color: #ff817b; }
.game-clips-section { padding-top: 104px; }
.game-clips-heading { margin-bottom: 12px; }
.game-clips-heading h2 span { color: var(--acid); }
.game-clips-intro { margin: 0 0 17px; color: #9d9490; font-size: 10px; line-height: 1.7; }
.game-clips-section .clip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.game-clips-section .empty-clip { min-height: 210px; }
.stats-dialog { width: min(620px, calc(100vw - 28px)); max-width: none; max-height: min(90vh, 780px); padding: 0; overflow: auto; border: 1px solid rgba(239, 68, 61, .42); color: var(--text); background: #151112; box-shadow: 0 24px 100px rgba(0, 0, 0, .55); }
.stats-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(4px); }
.stats-form { padding: 27px; }
.stats-form h2 { margin: 26px 0 5px; font: 800 50px/.9 var(--heading); }
.stats-form h2 span { color: var(--acid); }
.stats-dialog-hint { margin: -10px 0 15px; color: #a49b97; font-size: 10px; line-height: 1.7; }
.stats-rows { display: grid; gap: 8px; }
.stats-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) 36px; gap: 7px; }
.stats-row input { min-width: 0; height: 42px; padding: 0 10px; border: 1px solid rgba(231, 238, 220, .2); color: var(--text); background: #100d0e; font: inherit; font-size: 11px; }
.stats-row input:focus { border-color: var(--acid); outline: 2px solid rgba(239, 68, 61, .2); }
.stats-remove-row { border: 1px solid rgba(231, 238, 220, .17); color: #c4b9b5; background: transparent; cursor: pointer; font-size: 21px; }
.stats-remove-row:hover { border-color: var(--acid); color: var(--acid); }
.stats-add-row { min-height: 38px; margin-top: 10px; padding: 0 12px; border: 1px solid rgba(239, 68, 61, .42); color: var(--text); background: rgba(239, 68, 61, .07); cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.stats-add-row:hover { border-color: var(--acid); color: var(--acid); }
.stats-load-error { margin: 14px 0 0; padding: 12px; border: 1px solid rgba(255, 128, 120, .3); color: #ffaaa4; font-size: 10px; }
.stats-load-error[hidden] { display: none; }

.fc-ranking-section, .chess-section { padding-top: 94px; }
.fc-ranking-section .game-section-heading, .chess-section > .game-section-heading { margin-bottom: 24px; }
.fc-ranking-section .game-section-heading h2 span, .chess-section .game-section-heading h2 span, .chess-games-heading h3 span { color: var(--acid); }
.fc-ranking-list, .chess-rating-list { display: grid; gap: 8px; }
.fc-ranking-row, .chess-rating-row { display: grid; grid-template-columns: 54px minmax(120px, .9fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 66px; padding: 11px 16px; border: 1px solid rgba(231, 238, 220, .11); background: linear-gradient(110deg, #1d1718, #141112 74%); }
.fc-ranking-position, .chess-rating-position { color: var(--acid); font: 700 15px monospace; }
.fc-ranking-row strong, .chess-rating-row strong { font: 700 22px var(--heading); }
.fc-ranking-score, .chess-rating-value { color: var(--text); font: 800 15px var(--heading); letter-spacing: .06em; text-align: right; }
.fc-ranking-edit { padding: 9px 11px; border: 1px solid rgba(239, 68, 61, .42); color: var(--text); background: transparent; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.fc-ranking-edit:hover { color: var(--acid); border-color: var(--acid); }
.fc-ranking-edit:disabled { opacity: .6; cursor: wait; }
.chess-rating-row { grid-template-columns: 54px minmax(100px, .65fr) minmax(100px, 1fr) minmax(120px, .75fr); }
.chess-rating-handle { color: #9e9692; font-size: 10px; }
.chess-games-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 85px 0 23px; }
.chess-games-heading h3 { margin: 0; font: 800 clamp(43px, 6vw, 68px)/.85 var(--heading); }
.chess-games-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.chess-game-list { display: grid; max-height: 760px; gap: 8px; overflow: auto; padding-right: 4px; }
.chess-game-card { display: grid; gap: 7px; width: 100%; padding: 13px 14px; border: 1px solid rgba(231, 238, 220, .12); color: var(--text); background: #181314; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.chess-game-card:hover, .chess-game-card.is-selected { border-color: rgba(239, 68, 61, .7); background: #211718; }
.chess-game-card strong { font: 700 19px var(--heading); }
.chess-game-card > span { color: #a29a96; font-size: 9px; }
.chess-game-result { color: var(--acid); font-size: 8px; letter-spacing: .08em; }
.chess-game-result--draw { color: #d8c67f; }
.chess-viewer { min-width: 0; padding: 18px; border: 1px solid rgba(231, 238, 220, .12); background: linear-gradient(145deg, #1b1516, #121011 75%); }
.chess-viewer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chess-viewer-top .section-kicker { font-size: 8px; }
.chess-viewer-top h4 { margin: 8px 0 0; font: 700 clamp(20px, 3vw, 30px)/1 var(--heading); }
.chess-viewer-top > a { color: var(--acid); font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.chess-viewer-meta { min-height: 18px; margin: 11px 0 15px; color: #a29a96; font-size: 9px; line-height: 1.6; }
.chess-player-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%, 560px); min-height: 42px; margin: 0 auto; padding: 8px 12px; border: 1px solid rgba(231, 238, 220, .16); background: #171213; }
.chess-player-label span { font: 800 9px var(--heading); letter-spacing: .12em; }
.chess-player-identity { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chess-player-label strong { overflow-wrap: anywhere; color: var(--text); font: 700 16px var(--heading); text-align: right; }
.chess-player-outcome { padding: 4px 6px; border: 1px solid rgba(231, 238, 220, .18); color: #c7bfba; font: 800 8px var(--heading); font-style: normal; letter-spacing: .06em; white-space: nowrap; }
.chess-player-outcome--win { border-color: rgba(132, 204, 22, .55); color: #b7ef61; }
.chess-player-outcome--loss { border-color: rgba(239, 68, 61, .45); color: #ff9b93; }
.chess-player-outcome--draw { border-color: rgba(216, 198, 127, .45); color: #d8c67f; }
.chess-player-outcome--unknown { color: #bcb2ad; }
.chess-player-label--black { border-color: rgba(239, 68, 61, .36); }
.chess-player-label--black span { color: var(--acid); }
.chess-player-label--white { margin-top: 8px; border-color: rgba(231, 238, 220, .28); background: #e3d5bd; }
.chess-player-label--white span, .chess-player-label--white strong { color: #211b1a; }
.chess-board { display: grid; width: min(100%, 560px); aspect-ratio: 1; grid-template: repeat(8, 1fr) / repeat(8, 1fr); margin: 0 auto; border: 3px solid #322729; box-shadow: 0 12px 36px rgba(0, 0, 0, .3); }
.chess-square { position: relative; display: grid; min-width: 0; min-height: 0; place-items: center; }
.chess-square.is-light { color: #463b35; background: #e3d5bd; }
.chess-square.is-dark { color: #d9c5a5; background: #765b4b; }
.chess-square.is-highlighted { background: #a18a46; }
.chess-piece { position: relative; z-index: 1; font-family: 'DejaVu Sans', 'Segoe UI Symbol', serif; font-size: clamp(22px, 5.8vw, 57px); line-height: 1; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .25)); }
.chess-piece--w { color: #fff8e9; text-shadow: 0 1px 2px #3e3025, 0 0 2px #35281f; }
.chess-piece--b { color: #211b1a; text-shadow: 0 1px 0 rgba(255, 255, 255, .25); }
.chess-coordinate { position: absolute; font: 700 8px monospace; opacity: .8; }
.chess-coordinate--rank { top: 2px; left: 3px; }
.chess-coordinate--file { right: 3px; bottom: 2px; }
.chess-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.chess-controls button { min-width: 38px; min-height: 35px; border: 1px solid rgba(239, 68, 61, .4); color: var(--text); background: #171213; cursor: pointer; }
.chess-controls button:hover { color: var(--acid); border-color: var(--acid); }
.chess-move-count { min-width: 68px; color: #bcb2ad; font: 10px monospace; text-align: center; }
.chess-current-move { min-height: 16px; margin: 11px 0 0; color: #bcb2ad; font-size: 10px; text-align: center; }
.chess-empty { margin: 12px 0; }
.chess-empty[hidden] { display: none; }

@media (max-width: 900px) {
  .game-choice-grid { grid-auto-rows: 240px; gap: 12px; }
  .game-choice-copy { min-height: 84px; }
  .game-player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chess-games-layout { grid-template-columns: 1fr; }
  .chess-game-list { max-height: 300px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chess-board { width: min(100%, 520px); }
}
@media (max-width: 700px) {
  .game-selector { padding-top: 5px; padding-bottom: 76px; }
  .game-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 216px; gap: 10px; }
  .game-choice-art { padding: 14px; }
  .game-choice-copy { min-height: 76px; padding: 11px 13px; }
  .game-choice-copy h3 { font-size: clamp(19px, 4.8vw, 27px); }
  .game-choice-arrow { right: 13px; bottom: 12px; font-size: 20px; }
  .game-choice-logo--rocket, .game-choice-logo--chess { width: 84px; height: 84px; }
  .game-choice-logo--rocket { width: min(100%, 112px); height: auto; max-height: 112px; padding: 0; }
  .game-view { width: 86vw; padding-top: 91px; padding-bottom: 75px; }
  .game-hero { min-height: 230px; padding: 25px 20px; }
  .game-hero h1 { margin-top: 24px; font-size: clamp(65px, 17vw, 100px); }
  .game-hero-logo { min-width: 90px; width: 27%; }
  .game-hero-logo .game-logo--chess, .game-hero-logo .game-logo--rocket-league { width: 95px; height: 95px; }
  .game-hero-logo .game-logo--rocket-league { padding: 8px; }
  .game-access-panel { align-items: flex-start; flex-direction: column; gap: 12px; }
  .game-roster-section { padding-top: 65px; }
  .game-section-heading, .game-clips-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .game-section-heading h2, .game-clips-heading h2 { font-size: 56px; }
  .game-player-grid { gap: 8px; }
  .game-player-card { min-height: 320px; padding: 12px; }
  .game-player-mark { width: 80px; height: 80px; margin: 22px 0 15px; font-size: 38px; }
  .game-player-identity h3 { font-size: 24px; }
  .game-clips-section { padding-top: 78px; }
  .game-clips-section .clip-list { grid-template-columns: 1fr; }
  .stats-form, .clip-form { padding: 21px; }
  .fc-ranking-section, .chess-section { padding-top: 66px; }
  .fc-ranking-row, .chess-rating-row { grid-template-columns: 35px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .fc-ranking-row strong, .chess-rating-row strong { font-size: 18px; }
  .fc-ranking-score, .chess-rating-value { font-size: 11px; }
  .fc-ranking-edit { grid-column: 2 / -1; justify-self: end; padding: 7px 9px; }
  .chess-rating-handle { grid-column: 2; grid-row: 2; }
  .chess-rating-value { grid-column: 3; grid-row: 1 / span 2; }
  .chess-games-heading { align-items: flex-start; flex-direction: column; margin-top: 63px; }
  .chess-game-list { grid-template-columns: 1fr; max-height: 260px; }
  .chess-viewer { padding: 12px; }
  .chess-viewer-top { flex-direction: column; }
  .chess-piece { font-size: clamp(25px, 10vw, 52px); }
}
@media (max-width: 430px) {
  .game-choice-grid { grid-auto-rows: 204px; gap: 8px; }
  .game-choice-art { padding: 10px; }
  .game-choice-copy { min-height: 73px; padding: 10px 11px; }
  .game-choice-copy h3 { font-size: clamp(18px, 5.6vw, 23px); }
  .game-choice-kicker { font-size: 7px; }
  .game-choice-arrow { right: 10px; bottom: 10px; font-size: 18px; }
  .game-choice-logo { max-height: 68px; }
  .game-choice-logo--rocket, .game-choice-logo--chess { width: 72px; height: 72px; }
  .game-choice-logo--rocket { width: min(100%, 96px); height: auto; max-height: 96px; padding: 0; }
  .game-view-topline { align-items: flex-start; flex-direction: column; gap: 8px; }
  .game-hero { gap: 8px; }
  .game-hero-copy .eyebrow { max-width: 220px; font-size: 7px; gap: 7px; }
  .game-player-grid { grid-template-columns: 1fr; }
  .game-player-card { min-height: 0; }
  .game-player-mark { width: 92px; height: 92px; }
  .stats-row { grid-template-columns: minmax(0, 1fr) 36px; }
  .stats-row input:first-child { grid-column: 1; }
  .stats-row input:nth-child(2) { grid-column: 1; }
  .stats-remove-row { grid-column: 2; grid-row: 1 / span 2; }
}
