:root {
  color-scheme: dark;
  --bg: #0d0718;
  --surface: #171024;
  --surface-2: #211633;
  --surface-3: #2a1b41;
  --text: #fbf9ff;
  --muted: #a99fba;
  --line: rgba(255, 255, 255, .11);
  --violet: #8658ff;
  --violet-2: #5d32d8;
  --pink: #ff4fb3;
  --acid: #d9ff58;
  --red: #ff6685;
  --green: #57e7a0;
  --shadow: 0 22px 70px rgba(0, 0, 0, .38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(134, 88, 255, .26), transparent 32rem),
    linear-gradient(180deg, #10091d 0%, var(--bg) 72%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(#000, transparent 78%);
}
.ambient-glow {
  position: fixed;
  z-index: -1;
  top: 14rem;
  left: 50%;
  width: min(80vw, 850px);
  height: 360px;
  translate: -50% 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  pointer-events: none;
}

button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .45; }
[hidden] { display: none !important; }
select, input {
  width: 100%;
  min-height: 46px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #100a1b;
}
select { padding: 0 40px 0 14px; }
input { padding: 0 14px; }
select:focus, input:focus, button:focus-visible {
  outline: 3px solid rgba(217, 255, 88, .28);
  outline-offset: 2px;
  border-color: var(--acid);
}
option { background: #171024; }

.site-header {
  width: min(1080px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark { position: relative; display: block; width: 100px; height: 56px; overflow: hidden; flex-shrink: 0; border-radius: 6px; }
.brand-logo { display: block; position: absolute; width: 190%; max-width: none; height: auto; left: 50%; top: 50%; transform: translate(-50%, -45%); }
.brand > span:last-child { display: grid; line-height: .95; }
.brand strong { font-size: 14px; letter-spacing: -.02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
@media (max-width: 480px) {
  .brand { gap: 6px; }
  .brand-mark { width: 84px; height: 46px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 9px; letter-spacing: .14em; }
}
.header-mode { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.header-mode span { margin-left: 7px; padding: 5px 8px; color: #180d29; border-radius: 999px; background: var(--acid); font-size: 10px; }

/* Public guides and crawlable home content share the game's visual language. */
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 100; padding: 12px 18px; color: var(--bg); background: var(--acid); border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 12px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--acid); outline-offset: 5px; border-radius: 3px; }
.home-information { margin-top: 76px; padding-top: 36px; border-top: 1px solid var(--line); }
.mode-screen:has(#difficultyStep[hidden]) .home-information { display: none; }
.home-information-heading { max-width: 730px; }
.home-information h2 { font-size: clamp(25px, 4vw, 36px); line-height: 1.16; letter-spacing: -.035em; margin: 0 0 18px; }
.home-information p, .information-card p, .information-card li { color: var(--muted); font-size: 15px; line-height: 1.8; }
.home-information .overline, .information-card .overline { color: var(--acid); font-size: 12px; line-height: 1.6; }
.home-information a, .information-card a, .site-breadcrumbs a, .site-footer a { color: var(--acid); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.home-information a:hover, .information-card a:hover, .site-footer a:hover { color: var(--text); }
.site-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.site-feature-grid article { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: rgba(23, 16, 36, .65); }
.site-feature-number { color: var(--acid); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.site-feature-grid h3 { margin: 18px 0 10px; font-size: 19px; letter-spacing: -.025em; }
.site-feature-grid p { margin: 0; font-size: 14px; }
.home-guide-links { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; font-weight: 700; }
.home-information .site-link-note { font-size: 12px; margin-top: 12px; }
.home-faq-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 45px; }
.home-faq-heading a { flex-shrink: 0; font-size: 14px; }
.site-faq { border-bottom: 1px solid var(--line); padding: 0; }
.site-faq summary { padding: 20px 5px; cursor: pointer; color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.55; }
.site-faq summary::marker { color: var(--acid); }
.site-faq[open] summary { color: var(--acid); }
.site-faq p { margin: 0; padding: 0 22px 22px; max-width: 850px; }
.site-play-link { flex-shrink: 0; margin-left: 16px; color: var(--acid); font-size: 13px; font-weight: 750; text-decoration: none; }
.information-shell { width: min(880px, calc(100% - 32px)); margin: 28px auto 64px; }
.site-breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.site-breadcrumbs a { color: var(--muted); }
.information-card { padding: clamp(22px, 5vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: rgba(23, 16, 36, .85); }
.information-card h1 { margin: 0 0 25px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.05em; text-wrap: balance; }
.information-card h2 { margin: 36px 0 12px; font-size: 22px; line-height: 1.35; letter-spacing: -.025em; scroll-margin-top: 24px; }
.information-card strong { color: var(--text); }
.information-card .site-lead { font-size: 18px; color: #d5cbe5; line-height: 1.65; margin: 0 0 25px; }
.information-card .policy-date { font-size: 12px; margin: -10px 0 22px; }
.article-jump-links { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 0 6px; }
.article-jump-links a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; }
.site-callout { padding: 20px 24px; margin: 30px 0; border: 1px solid rgba(217, 255, 88, .25); border-radius: 14px; background: rgba(217, 255, 88, .035); }
.site-callout h2 { margin: 0 0 8px; font-size: 18px; color: var(--acid); }
.site-callout p { margin: 0; }
.site-callout p + p { margin-top: 14px; }
.guide-summary + .guide-summary { border-top: 1px solid var(--line); margin-top: 26px; }
.guide-summary h3 { font-size: 18px; line-height: 1.4; margin: 22px 0 10px; }
.home-rankings { max-width: 760px; margin: 36px 0; padding: 28px 0; border-block: 1px solid var(--line); }
.ranking-section { margin-top: 40px; scroll-margin-top: 24px; }
.article-table-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; }
.article-table { border-collapse: collapse; width: 100%; min-width: 430px; font-size: 13px; line-height: 1.5; overflow-wrap: normal; }
.article-table-wide { min-width: 700px; }
.article-table caption { text-align: left; padding: 14px 16px; color: var(--muted); }
.article-table th, .article-table td { padding: 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.article-table thead { background: rgba(183, 123, 255, .08); }
.article-table th { font-weight: 600; }
.article-table th[scope="row"] { min-width: 160px; }
.article-table td { font-variant-numeric: tabular-nums; }
.lineup-details { margin: 10px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.lineup-details summary { cursor: pointer; color: var(--acid); font-size: 14px; line-height: 1.6; }
.lineup-details .article-table-scroll { margin-bottom: 0; }
.information-card .ranking-back { font-size: 13px; }
.content-ad { margin: 64px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.content-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.information-card .content-ad-label { margin: 0 0 16px; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.privacy-controls { width: min(1080px, calc(100% - 32px)); margin: 0 auto 32px; }
.privacy-controls button { color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font: inherit; cursor: pointer; }
.privacy-controls button[hidden] { display: none; }
.information-card .article-related { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; }
footer.site-footer { display: block; color: var(--muted); letter-spacing: normal; font-weight: 400; }
.footer-brand { font-size: 11px; font-weight: 850; letter-spacing: .09em; margin-bottom: 18px; color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.site-footer nav a { font-size: 13px; color: #d5cbe5; }
.site-footer .footer-note { max-width: 860px; font-size: 12px; line-height: 1.7; margin: 18px 0 0; }
.information-card, .site-footer { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .site-feature-grid { grid-template-columns: 1fr; }
  .site-feature-grid article { padding: 20px; }
  .site-feature-grid h3 { margin-top: 10px; }
  .home-information { margin-top: 48px; padding-top: 28px; }
  .home-faq-heading { align-items: flex-start; }
  .home-faq-heading h2 { font-size: 25px; }
  .information-shell { width: calc(100% - 20px); margin-top: 20px; }
  .information-card { padding: 24px 20px; border-radius: 16px; }
  .site-play-link { font-size: 12px; }
  .site-callout { padding: 18px; }
  .site-footer nav { gap: 16px 20px; }
}


.overline, .panel-label { margin: 0 0 10px; color: var(--acid); font-size: 12px; font-weight: 850; letter-spacing: .14em; }

footer { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 34px; display: flex; justify-content: space-between; gap: 20px; color: #6f647f; border-top: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .11em; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (max-width: 650px) {
  .site-header { height: 64px; }
  .site-footer nav a, .site-footer .footer-note { font-size: 14px; line-height: 1.5; }
  .home-information .site-link-note { font-size: 12px; letter-spacing: .03em; }
}
.game-load-status { color: var(--muted); font-size: 14px; line-height: 1.6; }
