/* OctaGOAT — consolidated current design. */
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-800-normal.woff2') format('woff2'); font-style: normal; font-weight: 800; font-display: swap; }
*, *::before, *::after { box-sizing:border-box; }
html { min-height:100%; scroll-behavior:smooth; scrollbar-gutter:stable; background:var(--background); }
a { color:inherit; text-decoration:none; }
button { font:inherit; cursor:pointer; }
img, svg { display:block; max-width:100%; }
h1, h2, h3, p { margin:0; }
h1, h2, h3 { line-height:1.2; }
h1, h2 { letter-spacing:-.04em; }
:focus-visible { outline:2px solid var(--accent-light); outline-offset:5px; }
[hidden] { display:none !important; }
.container { width:calc(100% - 2 * var(--site-gutter)); max-width:var(--site-content-width); min-width:0; margin-inline:auto; }
.skip-link { position:fixed; top:12px; left:12px; z-index:100; transform:translateY(-180%); padding:10px 18px; border-radius:8px; background:#fff; color:var(--background); font-weight:700; }
.skip-link:focus { transform:translateY(0); }
.site-brand { display:inline-flex; align-items:center; gap:11px; flex-shrink:0; }
.site-nav-toggle span { width:20px; height:2px; border-radius:2px; background:currentColor; }
.button--large { min-width:148px; min-height:52px; padding:13px 28px; font-size:16px; }
.button span { font-size:23px; line-height:1; }
.panel { border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.eyebrow__mark { width:7px; height:7px; border-radius:50%; background:var(--accent-light); }
.home-hero__content { position:relative; z-index:2; width:56%; max-width:590px; min-width:0; }
.home-hero__actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:27px; }
.how-to__steps li { display:flex; align-items:flex-start; gap:14px; min-width:0; }
.how-to__steps li + li { border-left:1px solid var(--border); padding-left:24px; }
@media (max-width: 991px) {
  .home-hero__content { width:62%; }
}
@media (max-width: 760px) {
  .site-brand__name { font-size: 21px; }
  .home-hero__content { width: 100%; max-width: 540px; }
}
@media (max-width: 380px) {
  .home-hero { padding-inline: 22px; }
  .home-hero__actions { gap: 12px; }
  .button--large { min-width: 126px; padding-inline: 22px; }
  .eyebrow { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.button { display:inline-flex; align-items:center; justify-content:center; gap:24px; min-height:44px; padding:10px 22px; border:1px solid transparent; font-size:14px; font-weight:800; line-height:1.5; text-align:center; transition:background-color 150ms ease, border-color 150ms ease; border-radius:0; }
.eyebrow { display:flex; align-items:center; gap:9px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#c3ff25; }
.site-nav-toggle { display:grid; align-content:center; justify-items:center; gap:5px; width:44px; height:44px; padding:10px; border:1px solid #353a3a; border-radius:0; color:#f0f7ed; background:#141718; }
.site-nav-toggle[aria-expanded="true"] { border-color:#353a3a; background:#141718; }
.guide-hero .button { margin-top:28px; }
@media (max-width: 650px) {
  .guide-grid { grid-template-columns: 1fr; }
}
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-800.woff') format('woff'); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-900.woff') format('woff'); font-style: normal; font-weight: 900; font-display: swap; }
:root { --font-body:'Manrope', Arial, sans-serif; --site-content-width:1200px; --site-gutter:clamp(16px, 3vw, 24px); color-scheme:dark; --background:#080a0b; --surface:#101213; --surface-raised:#16191a; --border:#292e2e; --text:#fff; --muted:#929a9d; --accent:#c3ff25; --accent-hover:#d6ff68; --accent-light:#c3ff25; --radius:0; --font-display:'Barlow Condensed',Impact,'Arial Narrow',sans-serif; }
html, body { background:#080a0b; }
body { display:flex; flex-direction:column; min-height:100svh; margin:0; font-family:var(--font-body); font-size:15px; line-height:1.6; -webkit-font-smoothing:antialiased; color:#fff; background:#080a0b; }
::selection { background:#c3ff25; color:#080a0b; }
.site-header { background:#080a0b; border-bottom:1px solid #292e2e; }
.site-header__inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; min-height:70px; padding-block:9px; }
.site-brand__name { font-weight:800; line-height:1.1; color:#f5f8f2; font-family:var(--font-display); font-size:36px; letter-spacing:-.02em; text-transform:uppercase; }
.site-brand__name span { color:#c3ff25; }
.site-navigation { display:flex; align-items:center; gap:6px; }
.site-nav-link { background:#101213; display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:6px 16px; border:1px solid #292e2e; font-weight:700; transition:background-color 150ms ease, border-color 150ms ease, color 150ms ease; border-radius:0; color:#d2d7d6; font-size:16px; letter-spacing:0.02em; font-family:var(--font-display); text-transform:uppercase; }
.site-nav-link:hover { background:#c3ff25; border-color:#c3ff25; color:#080a0b; }
/* Outer page spacing is shared by every route. */
.site-main { flex:1; padding-block:30px; }
.button, .button--primary, .button--secondary { border-radius:0; box-shadow:none; font-size:16px; font-weight:800; text-transform:uppercase; letter-spacing:0.02em; font-family:var(--font-display); }
.button--primary { box-shadow:none; background:#c3ff25; border-color:#c3ff25; color:#080a0b; }
.button--primary:hover { background:#d6ff68; border-color:#d6ff68; }
.button--secondary { background:#141718; border-color:#3b4141; color:#fff; }
.button--secondary:hover { background:#1e2422; border-color:#c3ff25; }
.home-hero { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; padding:44px 48px; min-height:460px; border:1px solid #292e2e; border-radius:0; background:#080a0b; }
.home-hero::after { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg,#080a0bf4 0%,#080a0bd8 35%,#080a0b31 77%,transparent); }
.home-hero__background { position:absolute; inset:0; z-index:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:65% center; pointer-events:none; filter:none; }
.home-hero h1 { color:#fff; margin-top:0; font-family:var(--font-display); font-size:clamp(58px,7vw,88px); font-style:normal; font-weight:900; letter-spacing:-.025em; line-height:.92; text-transform:uppercase; text-shadow:none; }
.home-hero h1 span { color:#c3ff25; }
.home-hero__tagline { color:#fff; letter-spacing:-.025em; margin-top:27px; font-size:clamp(20px,2.3vw,27px); font-weight:800; }
.home-hero__description { max-width:44ch; margin-top:15px; font-size:15px; text-wrap:pretty; color:#d1d5d3; line-height:1.7; }
.hero-help { display:inline-flex; align-items:center; gap:24px; border-color:#fff; background:#fff; color:#080a0b; }
.hero-help:hover { border-color:#e5e9e7; background:#e5e9e7; color:#080a0b; text-decoration:none; }
.section-heading { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; align-items:end; }
.section-heading h2, .guide-hero h1, .guide-grid h2 { font-family:var(--font-display); font-style:normal; font-weight:900; letter-spacing:0; text-transform:uppercase; }
.section-heading h2 { color:#f6f9f3; font-weight:800; font-style:normal; text-transform:uppercase; font-size:clamp(30px,4vw,44px); }
.section-heading > p { font-size:15px; color:#90989a; }
.how-to { padding:0; border:0; background:transparent; scroll-margin-top:24px; margin-top:24px; }
.how-to__steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0 0; padding:0; list-style:none; }
.how-to__steps li, .how-to__steps li + li { position:relative; display:block; min-height:172px; padding:19px 21px; border:1px solid #292e2e; border-radius:0; background:#101213; }
.step-number { flex-shrink:0; font-weight:800; font-variant-numeric:tabular-nums; align-items:center; justify-content:center; min-width:39px; height:34px; margin-bottom:11px; display:block; width:max-content; padding:0; border:0; border-radius:0; background:transparent; color:#c3ff25; font-family:var(--font-display); font-size:32px; line-height:1; }
.how-to__steps h3 { padding-top:2px; font-weight:700; padding:0; color:#f4f5f3; margin-top:14px; font-family:var(--font-display); font-size:24px; letter-spacing:.01em; text-transform:uppercase; }
.how-to__steps h3 svg { display:inline-block; width:20px; height:20px; margin-right:9px; color:#c3ff25; vertical-align:-2px; }
.how-to__steps p { margin-top:7px; line-height:1.6; color:#9fa7a7; font-size:14px; }
.guide-hero { position:relative; isolation:isolate; display:flex; align-items:center; overflow:hidden; min-height:420px; padding:clamp(34px,6vw,72px); border:1px solid #292e2e; border-radius:0; background:#080a0b; }
.guide-hero::after { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg,#080a0bf2 0%,#080a0bd7 37%,#080a0b38 78%,transparent); }
.guide-hero__background { position:absolute; inset:0; z-index:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:60% center; pointer-events:none; }
.guide-hero__content { position:relative; z-index:2; width:58%; min-width:0; }
.guide-kicker { font-size:14px; font-weight:800; color:#c3ff25; letter-spacing:.16em; }
.guide-hero h1 { margin:10px 0 16px; text-transform:uppercase; font-size:clamp(46px,6vw,76px); line-height:.95; }
.guide-hero h1 span { color:#c3ff25; }
.guide-hero__content > p:not(.guide-kicker) { max-width:650px; font-size:18px; color:#c1c7c6; }
.guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-block:22px; gap:12px; }
.guide-grid section { padding:26px; border:1px solid #292e2e; border-radius:0; background:#101213; }
.guide-grid section > span { font-weight:800; color:#c3ff25; font-family:var(--font-display); font-size:31px; }
.guide-grid h2 { margin:8px 0 10px; font-size:29px; }
.guide-grid p, .guide-note { font-size:16px; line-height:1.65; color:#a9b0af; }
.site-footer { border-top:1px solid #292e2e; background:#080a0b; color:#aab2b0; }
.site-footer__inner { padding-block:20px; }
.site-footer__top, .site-footer__bottom { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:20px 36px; }
.site-footer__bottom { margin-top:26px; padding-top:20px; border-top:1px solid #292e2e; }
.site-footer__about { max-width:410px; }
.site-footer__about .site-brand__name { font-size:30px; }
.site-footer__about p { margin-top:12px; font-size:13px; line-height:1.65; }
.site-footer__bottom small { color:#7f8987; font-size:12px; }
.site-footer__social, .site-footer__links { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; }
.site-footer__social a { position:relative; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; background:#c3ff25; color:#080a0b; }
.site-footer__social a:hover, .site-footer__social a:focus-visible { background:#d6ff68; color:#080a0b; }
.site-footer__social svg { width:19px; height:19px; }
.site-footer__social .fa-kofi { width:23px; height:23px; }
.site-footer__social a[data-tooltip]::after { content:attr(data-tooltip); position:absolute; left:50%; bottom:calc(100% + 10px); z-index:5; transform:translate(-50%,4px); width:max-content; max-width:200px; padding:6px 9px; border-radius:4px; background:#252a2a; color:#fff; box-shadow:0 3px 10px #0007; font-size:12px; font-weight:600; line-height:1.2; white-space:nowrap; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .15s ease,transform .15s ease,visibility .15s ease; }
.site-footer__social a[data-tooltip]::before { content:''; position:absolute; left:50%; bottom:calc(100% + 5px); z-index:5; transform:translateX(-50%); border:5px solid transparent; border-bottom:0; border-top-color:#252a2a; opacity:0; visibility:hidden; pointer-events:none; }
.site-footer__social a[data-tooltip]:hover::before, .site-footer__social a[data-tooltip]:focus-visible::before, .site-footer__social a[data-tooltip]:hover::after, .site-footer__social a[data-tooltip]:focus-visible::after { opacity:1; visibility:visible; }
.site-footer__social a[data-tooltip]:hover::after, .site-footer__social a[data-tooltip]:focus-visible::after { transform:translate(-50%,0); }
.site-footer__links { gap:9px 20px; }
.site-footer__links a { color:#aab2b0; font-size:12px; font-weight:700; }
.site-footer__links a:hover, .site-footer__links a:focus-visible { color:var(--accent-hover); }
.cookie-consent { position:fixed; z-index:2147483647; inset:auto auto 24px 24px; width:min(380px,calc(100% - 48px)); max-height:calc(100dvh - 48px); overflow:auto; margin:0; padding:20px; border:1px solid #d6dad6; background:#fff; color:#101213; box-shadow:0 8px 28px #0003; font-size:14px; line-height:1.5; }
.cookie-consent h2 { margin:0 0 8px; color:#101213; font-family:var(--font-display); font-size:24px; font-weight:800; letter-spacing:0; text-transform:uppercase; }
.cookie-consent p { color:#101213; }
.cookie-consent__policy { display:inline-block; margin-top:8px; color:#101213; text-decoration:underline; text-underline-offset:3px; }
.cookie-consent__policy:hover { color:#101213; text-decoration-thickness:2px; }
.cookie-consent__actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:16px; }
.cookie-consent__actions .button { width:100%; border:2px solid #000; color:#080a0b; }
.cookie-consent :focus-visible { outline:2px solid #101213; outline-offset:3px; }
@media (max-width:760px) {
    .cookie-consent { left:0; right:0; bottom:0; width:100%; max-height:calc(100dvh - 16px); padding:18px max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); border-right:0; border-bottom:0; border-left:0; }
}
.info-page { max-width:980px; margin-inline:auto; }
.info-page__header { padding:0 0 30px; border-bottom:1px solid #343b39; }
.info-page__kicker, .profile-heading-kicker { color:#c3ff25; font-size:12px; font-weight:800; letter-spacing:.15em; }
.info-page h1, .info-page h2 { font-family:var(--font-display); font-weight:900; text-transform:uppercase; letter-spacing:0; }
.info-page h1 { margin:8px 0 12px; }
.info-page__header > p:last-child { max-width:680px; color:#b8c1be; font-size:16px; }
.info-page__body { max-width:790px; padding-top:16px; }
.info-page__body section { padding:24px 0; border-bottom:1px solid #292e2e; }
.info-page__body section:last-of-type { padding-bottom:0; border-bottom:0; }
.info-page h2 { margin-bottom:9px; font-size:clamp(25px,3vw,32px); }
.info-page__body p { color:#b8c1be; font-size:15px; line-height:1.75; }
.info-page__body p + p { margin-top:11px; }
.info-page__body > .button { margin-top:26px; }
.info-page__pending { padding:12px 15px; border-left:3px solid #c3ff25; background:#151a18; }
.info-page code { color:#f5f7f6; font-size:.9em; }
.error-page { padding-block:clamp(30px,7vw,80px); text-align:center; }
.error-page__code { color:var(--accent); font-family:var(--font-display); font-size:clamp(100px,18vw,160px); font-weight:900; line-height:1; }
.error-page__message { max-width:520px; margin:18px auto 0; color:#b8c1be; font-size:16px; }
.error-page__actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:28px; }
@media (max-width: 760px) {
  .site-header__inner { display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:start; column-gap:12px; row-gap:0; min-height:72px; padding-block:13px; }
  .site-header__inner > .site-brand { grid-column:1; grid-row:1; }
  .site-nav-toggle { grid-column:2; grid-row:1; }
  .site-navigation { grid-column:1/-1; grid-row:2; flex-direction:column; align-items:stretch; gap:6px; margin-top:6px; background:#080a0b; }
  .site-nav-link { width:100%; justify-content:flex-start; }
  .home-hero::after { background: linear-gradient(180deg,#080a0b20 0%,#080a0be0 58%,#080a0b 100%); }
  .how-to__steps { grid-template-columns:1fr; gap:12px; }
  .how-to__steps li, .how-to__steps li + li { min-height:0; padding:16px 18px; }
  .guide-hero { min-height:390px; }
  .guide-hero::after { background:linear-gradient(180deg,#080a0b77,#080a0be8 60%,#080a0b); }
  .guide-hero__content { width:100%; }
  .site-footer__top, .site-footer__bottom { grid-template-columns:1fr; }
  .site-footer__top { gap:25px; }
  .site-footer__bottom { gap:12px; }
  .site-footer__social, .site-footer__links { justify-content:flex-start; }
  .site-footer__social a:first-child::after { left:0; transform:translateY(4px); }
  .site-footer__social a:first-child:hover::after, .site-footer__social a:first-child:focus-visible::after { transform:translateY(0); }
  .site-footer__social a:first-child::before { left:20px; }
}
@media (max-width: 650px) {
  .home-hero { padding-top: 250px; }
  .home-hero h1 { font-size: clamp(50px,11vw,70px); }
}
.site-loader { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; background:#080a0b; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .24s ease,visibility 0s linear .24s; }
.page-loading .site-loader { opacity:1; visibility:visible; pointer-events:auto; transition:none; }
.site-loader__ring { width:54px; height:54px; border:4px solid #303637; border-top-color:#c3ff25; border-radius:50%; animation:site-loader-spin .75s linear infinite; }
@keyframes site-loader-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader, .site-loader__ring { animation: none; transition: none; }
}
/* Accounts and recorded results use the existing site spacing and square controls. */
.account-menu { position:relative; }
.account-menu > summary { cursor:pointer; list-style:none; gap:8px; }
.account-menu > summary::-webkit-details-marker { display:none; }
.account-menu__items { position:absolute; right:0; top:calc(100% + 8px); z-index:30; min-width:190px; padding:6px; border:1px solid #3b4141; background:#101213; }
.account-menu__items a { display:flex; align-items:center; gap:10px; padding:10px 12px; color:#fff; font-size:14px; }
/* Font Awesome Free 6: Copyright Fonticons, Inc. Font licensed under SIL OFL 1.1.
   https://fontawesome.com/license/free */
@font-face { font-family:'OctaGOAT Account Icons'; src:url('../fonts/fa-solid-900.woff2') format('woff2'); font-style:normal; font-weight:900; font-display:block; }
.account-menu__icon { display:inline-block; width:16px; flex:0 0 16px; font-family:'OctaGOAT Account Icons'; font-style:normal; font-weight:900; line-height:1; text-align:center; -webkit-font-smoothing:antialiased; }
.account-menu__icon.fa-user::before { content:"\f007"; }
.account-menu__icon.fa-gear::before { content:"\f013"; }
.account-menu__icon.fa-lock::before { content:"\f023"; }
.account-menu__icon.fa-right-from-bracket::before { content:"\f2f5"; }
.account-menu__items a:hover, .account-menu__items a:focus-visible { background:#242929; color:var(--accent-hover); }
.site-flash, .game-error, .form-error { padding:12px 16px; margin-bottom:20px; border:1px solid #3b4141; background:#151a18; color:#fff; }
.site-flash--success { border-color:#79a91e; background:#192311; color:#c3ff25; }
.site-flash--error, .site-flash--danger, .game-error, .form-error { border-color:#ba4f4f; background:#2a1517; color:#ffb3b3; }
.account-page { max-width:560px; margin-inline:auto; }
.account-page > .site-flash, .account-page > .form-error { margin-top:14px; }
.account-page h1, .profile-page h1, .profile-page h2, .account-dialog h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; letter-spacing:0; }
.account-page h1, .profile-page h1, .info-page h1 { font-size:clamp(36px,5vw,52px); line-height:1.1; }
.account-page > p:not(.site-flash):not(.form-error) { margin-top:14px; color:#aeb6b4; }
.account-form { display:grid; gap:18px; margin-top:25px; }
.account-form label { display:grid; gap:6px; color:#cbd2cf; font-size:14px; }
.account-form input:not([type=checkbox]), .season-select select { min-width:0; width:100%; padding:11px 13px; border:1px solid #3b4141; border-radius:0; color:#fff; background:#101213; font:inherit; }
.account-form input:focus-visible { outline:2px solid #c3ff25; outline-offset:2px; }
.account-form .account-check { display:flex; align-items:flex-start; gap:10px; }
.account-check input { margin-top:5px; accent-color:#c3ff25; }
.account-check a, .account-links a, .results-table a:not(.result-card-link), .info-page__body a:not(.button) { color:var(--accent); transition:color 150ms ease; }
:is(.account-check a, .account-links a, .results-table a:not(.result-card-link), .info-page__body a:not(.button)):is(:hover, :focus-visible) { color:var(--accent-hover); text-decoration:underline; text-underline-offset:3px; }
.account-links { display:flex; flex-wrap:wrap; gap:12px 20px; margin-top:22px; font-size:14px; }
.account-delete-link { margin-top:30px; padding:0; border:0; background:none; color:#c4cbc8; text-decoration:underline; font-size:13px; }
.account-dialog { width:min(520px,calc(100% - 32px)); padding:25px; border:1px solid #3b4141; border-radius:0; background:#101213; color:#fff; }
.account-dialog::backdrop { background:#000b; }
.account-dialog h2 { margin-bottom:12px; font-size:30px; }
.account-dialog__actions { display:flex; justify-content:space-between; gap:12px; }
.account-danger { background:#a22e2e; color:#fff; }
.profile-dates, .leaderboard-note { margin-top:16px; color:#aeb6b4; font-size:13px; }
.profile-dates > span { display:block; }
.profile-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:24px; }
.profile-stats > div { min-width:0; padding:18px; border:1px solid #292e2e; background:#101213; }
.profile-stats b { display:block; font-family:var(--font-display); font-size:32px; color:#c3ff25; }
.profile-stats span { font-size:12px; color:#aeb6b4; }
.table-scroll { overflow-x:auto; margin-top:18px; }
.results-table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.profile-results { min-width:640px; }
.leaderboard-table { min-width:720px; }
.leaderboard-table th, .leaderboard-table td { white-space:nowrap; }
.leaderboard-rank { display:inline-flex; align-items:center; justify-content:center; min-width:24px; height:24px; padding:0 4px; border:1px solid #353a3a; border-radius:0; color:inherit; background:#101213; font:inherit; font-variant-numeric:tabular-nums; line-height:1; }
.leaderboard-rank--gold { color:#ffd700; border-color:#ffd700; background:#ffd70012; }
.leaderboard-rank--silver { color:#cbd3da; border-color:#91a0a9; background:#cbd3da0d; }
.leaderboard-rank--bronze { color:#d89460; border-color:#b87849; background:#b8784912; }
.results-table th, .results-table td { padding:13px 14px; border-bottom:1px solid #292e2e; }
.results-table th { color:#aeb6b4; font-size:12px; text-transform:uppercase; }
.season-select { display:flex; align-items:center; gap:10px; }
@media (max-width:760px) {
    .account-menu__items { position:static; margin-top:6px; }
    .account-menu > summary { justify-content:space-between; }
    .profile-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.profile-group { min-width:0; margin-top:24px; }
.profile-group > h2 { margin-bottom:12px; font-family:var(--font-display); font-size:28px; font-weight:800; letter-spacing:0; text-transform:uppercase; }
.profile-block { min-width:0; padding:24px; border:1px solid #292e2e; background:#101213; }
.profile-block > .table-scroll:first-child { margin-top:0; }
.profile-block__intro { color:#aeb6b4; font-size:14px; }
.profile-season-stats { min-width:700px; font-variant-numeric:tabular-nums; }
.profile-season-stats th:not(:first-child), .profile-season-stats td { text-align:center; }
.profile-season-stats tbody th { color:#fff; font-size:14px; text-transform:none; white-space:nowrap; }
.profile-season-name { display:block; color:#aeb6b4; font-size:12px; font-weight:400; }
.profile-season-stats tbody tr:last-child { font-weight:800; }
.profile-block .results-table tbody tr:last-child > * { border-bottom:0; }
.profile-activity { --profile-chart-height:150px; display:flex; gap:12px; margin-top:26px; font-size:12px; color:#aeb6b4; }
.profile-activity__ticks { display:flex; flex-direction:column; justify-content:space-between; flex-shrink:0; min-width:24px; height:var(--profile-chart-height); text-align:right; line-height:1; }
.profile-activity__plot { position:relative; flex:1; min-width:0; }
.profile-activity__grid { position:absolute; inset:0 0 auto; height:var(--profile-chart-height); display:flex; flex-direction:column; justify-content:space-between; pointer-events:none; }
.profile-activity__grid i { border-top:1px dashed #292e2e; }
.profile-activity__chart { position:relative; overflow:visible; width:100%; height:var(--profile-chart-height); }
.profile-activity__chart polyline { stroke:#c3ff25; stroke-width:2; vector-effect:non-scaling-stroke; }
.profile-activity__chart circle { fill:#c3ff25; stroke:#101213; stroke-width:1.5; vector-effect:non-scaling-stroke; cursor:pointer; }
.profile-activity__chart circle:is(:hover,:focus) { fill:#fff; stroke:#c3ff25; stroke-width:3; outline:0; }
.profile-activity__dates { position:relative; height:20px; margin-top:8px; font-size:12px; white-space:nowrap; }
.profile-activity__dates span { position:absolute; transform:translateX(-50%); }
.profile-activity__dates span:first-child { transform:none; }
.profile-activity__dates span:last-child { transform:translateX(-100%); }
.profile-activity__tooltip { position:absolute; z-index:5; width:max-content; max-width:100%; padding:6px 9px; color:#fff; background:#252a2a; border-radius:4px; font-size:14px; font-weight:600; line-height:1.4; white-space:nowrap; pointer-events:none; transform:translate(-50%,-100%); }
.profile-games-footer { display:flex; justify-content:flex-end; margin-top:20px; }
.profile-games-toggle { display:inline-flex; align-items:center; gap:8px; padding:4px 0; border:0; color:var(--accent); background:transparent; font-size:14px; font-weight:700; }
.profile-games-toggle:is(:hover,:focus-visible) { color:var(--accent-hover); text-decoration:underline; text-underline-offset:3px; }
.profile-games-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
@media (max-width:520px) {
    .profile-block { padding:18px 14px; }
    .profile-activity { gap:8px; }
    .profile-activity__dates span:nth-child(2), .profile-activity__dates span:nth-child(4) { display:none; }
}
.profile-heading-kicker { margin-bottom:6px; }
.home-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:30px; }
.home-stats__group { min-width:0; }
.home-stats__panel { padding:20px; border:1px solid #292e2e; background:#101213; }
.home-stats__group h2 { margin-bottom:12px; font-family:var(--font-display); font-size:28px; font-weight:800; letter-spacing:0; text-transform:uppercase; }
.home-stats .profile-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:0; }
.home-stats .profile-stats > div { padding:0; border:0; background:transparent; }
.home-stats .profile-stats span { display:block; font-size:14px; }
@media (max-width:760px) {
    .home-stats { grid-template-columns:1fr; gap:16px; }
}
.result-card-column { width:70px; text-align:center; }
.results-table .result-card-link { position:relative; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border:0; color:#080a0b; background:#c3ff25; text-decoration:none; }
.result-card-link .fa-file-lines { font-family:'OctaGOAT Account Icons'; font-size:19px; font-style:normal; font-weight:900; line-height:1; -webkit-font-smoothing:antialiased; }
.result-card-link .fa-file-lines::before { content:"\f15c"; }
.results-table .result-card-link:hover, .results-table .result-card-link:focus-visible { color:#080a0b; background:#d6ff68; text-decoration:none; }
.result-card-link:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.result-card-link[data-tooltip]::after { content:attr(data-tooltip); position:absolute; right:0; bottom:calc(100% + 8px); z-index:5; width:max-content; padding:6px 9px; border-radius:4px; color:#fff; background:#252a2a; font-family:inherit; font-size:14px; font-weight:600; line-height:1.2; white-space:nowrap; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .15s ease,visibility .15s ease; }
.result-card-link[data-tooltip]:hover::after, .result-card-link[data-tooltip]:focus-visible::after { opacity:1; visibility:visible; }

/* Division selection appears only when several complete divisions are enabled. */
.division-picker { display:flex; align-items:center; gap:12px; margin:0 0 22px; }
.division-picker label { font-size:14px; font-weight:700; }
.division-picker select { color:inherit; background:#141718; border:1px solid #414747; border-radius:8px; padding:9px 34px 9px 12px; font:inherit; }
.division-picker select:focus-visible { outline:2px solid #C3FF25; outline-offset:3px; }
