:root {
  color-scheme: dark;
  --base: #0e1511;
  --panel: #151e18;
  --paper: #f3f3e8;
  --muted: #acb8ac;
  --lime: #d0f680;
  --line: #2d3b30;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--paper); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
svg { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
[id] { scroll-margin-top: 25px; }
.skip { position: absolute; left: 20px; top: 10px; transform: translateY(-180%); padding: 8px 15px; background: var(--lime); color: #141d0d; z-index: 5; }
.skip:focus { transform: none; }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.mono { font: 600 11px/1.4 var(--mono); letter-spacing: .12em; }

.site-header { border-bottom: 1px solid #253126; }
.header-inner { position: relative; min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-family: "Archivo Black", "Arial Black", var(--sans); font-size: 20px; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.brand em { color: var(--lime); font-style: normal; }
.brand-ball { width: 33px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 36% 27%, #4c5e4e 0, #202921 43%, #050905 75%); border: 1px solid #627061; box-shadow: inset 0 -2px 6px #080f09; }
.brand-ball b { width: 16px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #18250e; font: 900 12px/1 Arial, sans-serif; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 43px); color: #b4c0b4; font-size: 14px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--lime); }
.site-nav a[aria-current]::after { content: ""; position: absolute; bottom: 1px; left: 50%; width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.header-action { display: inline-flex; align-items: center; gap: 12px; padding: 8px 15px; border: 1px solid #4a5d46; border-radius: 6px; color: var(--lime); font-size: 13px; white-space: nowrap; }
.header-action:hover { background: #22301f; }
.header-action svg { width: 15px; height: 15px; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.language-picker { position: relative; z-index: 5; flex: none; font-size: 13px; }
.language-picker summary { padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; white-space: nowrap; }
.language-picker summary:hover { border-color: var(--lime); }
.language-picker > div { position: absolute; right: 0; top: calc(100% + 5px); min-width: 108px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); padding: 3px; }
.language-switch { display: block; padding: 6px 9px; border-radius: 4px; color: var(--paper); white-space: nowrap; }
.language-switch:hover, .language-switch[aria-current] { color: var(--lime); background: var(--base); }
.menu-toggle { display: none; }

.hero { margin-top: 22px; min-height: 565px; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; border-radius: 15px; border: 1px solid #3a4b3b; overflow: hidden; background: #142519; }
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #080f0be8 0%, #0b150ed9 20%, #0a120c88 44%, #0a130e0a 71%), linear-gradient(0deg, #0a140f 0%, #10191400 31%); }
.hero-content { position: relative; width: min(720px, 64%); margin: 0; padding: 61px 0 97px clamp(35px, 5.15vw, 80px); }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: #e1e6d6; margin-bottom: 22px; white-space: nowrap; }
.hero-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 13px #d0f68785; }
.hero-kicker > i { width: 18px; height: 1px; background: #8a9b87; }
.hero h1 { font-size: clamp(52px, 5.45vw, 92px); line-height: 1.07; font-weight: 900; letter-spacing: -.076em; text-wrap: balance; }
.hero h1 > span { display: block; color: var(--lime); }
.title-dot { font-family: "Arial Black", sans-serif; margin-left: .04em; }
.hero-content > p { margin-top: 22px; color: #d0d9cb; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.78; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 47px; padding: 9px 17px; border: 1px solid transparent; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-weight: 800; font-size: 14px; line-height: 1.3; transition: background .18s, border-color .18s; }
.button svg { width: 17px; height: 17px; }
.button.primary { background: var(--lime); color: #152010; }
.button.primary:hover { background: #e2ffa9; }
.button.secondary { border-color: #647667; background: #15231ab0; color: var(--paper); }
.button.secondary:hover { background: #26392c; border-color: #97b298; }
.button:disabled { cursor: wait; opacity: .65; }
.hero-index { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #86978247; background: #0d1812c9; backdrop-filter: blur(12px); }
.hero-index a { display: flex; gap: 10px; min-height: 54px; align-items: center; justify-content: center; color: #e4eadc; font-weight: 650; font-size: 13px; }
.hero-index a + a { border-left: 1px solid #86978247; }
.hero-index a:hover { background: #b4e58b20; }
.hero-index svg { color: var(--lime); width: 17px; height: 17px; }

.discovery { padding-top: 41px; padding-bottom: 50px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.section-head h2, .content-block h2, .faq h2 { font-size: clamp(25px, 2.55vw, 37px); line-height: 1.2; font-weight: 850; letter-spacing: -.055em; }
.section-head p { margin-top: 8px; color: var(--muted); }
.text-link { color: var(--lime); display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 17px; height: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { display: flex; flex-direction: column; position: relative; overflow: hidden; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: #879e77; transform: translateY(-3px); }
.feature-image { height: clamp(118px, 13vw, 174px); overflow: hidden; position: relative; background: #213023; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.feature-coach .feature-image img { object-position: center 16%; }
.feature-game .feature-image img { object-position: center 65%; }
.feature-events .feature-image img { object-position: center 29%; }
.feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0a130c63, transparent 60%); }
.feature-symbol { position: absolute; z-index: 1; left: 17px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 5px; color: var(--lime); background: #101c13e8; border: 1px solid #677d61; }
.feature-symbol svg { width: 18px; height: 18px; }
.feature-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px 17px 17px; }
.card-label { color: var(--lime); font-size: 10px; }
.feature-events .card-label, .detail-events .card-label { color: #f6d28d; }
.feature-coach .card-label, .detail-coach .card-label { color: #efb8a6; }
.feature-body h3 { margin: 4px 0 5px; font-size: clamp(17px, 2vw, 24px); font-weight: 850; letter-spacing: -.045em; }
.feature-body p { color: var(--muted); margin-bottom: 14px; font-size: 14px; }
.feature-action { display: flex; align-items: center; gap: 7px; margin-top: auto; color: #dbe9cf; font-weight: 700; font-size: 13px; }
.feature-action svg { width: 15px; height: 15px; color: var(--lime); }
.site-footer { border-top: 1px solid var(--line); background: #0b110d; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 21px; min-height: 81px; font-size: 12px; }
.footer-inner .brand { color: var(--paper); font-size: 16px; }
.footer-inner .brand-ball { width: 26px; }
.footer-inner .brand-ball b { width: 13px; font-size: 10px; }
.footer-inner nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-inner nav a:hover { color: var(--lime); }

.detail-page main { padding-bottom: 58px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin: 23px 0 17px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs [aria-current] { color: var(--paper); }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34%); align-items: center; gap: clamp(16px, 3vw, 42px); padding: clamp(16px, 2.4vw, 34px); border: 1px solid var(--line); background: var(--panel); border-radius: 12px; }
.detail-copy .card-label { margin-bottom: 8px; }
.detail-copy h1 { font-size: clamp(26px, 3.3vw, 46px); font-weight: 900; line-height: 1.14; letter-spacing: -.055em; text-wrap: balance; }
.detail-copy p { max-width: 55ch; margin: 10px 0 16px; color: #c4cfbf; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.detail-photo { position: relative; height: clamp(142px, 16vw, 222px); overflow: hidden; border-radius: 8px; background: #101023; }
.detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-coach .detail-photo img { object-position: 60% 38%; }
:is(.detail-game, .detail-rules) .detail-photo img { object-position: center 72%; }
.content-block, .faq { padding-top: 45px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 17px; }
.info-grid article { padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.info-grid h3, .rule-list h3 { font-size: 18px; margin-bottom: 6px; }
.info-grid p, .rule-list p, .faq details p { color: var(--muted); font-size: 15px; }
.content-action { margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq h2 + details { margin-top: 9px; }
.faq summary { cursor: pointer; font-weight: 750; padding: 3px 0; }
.faq details p { margin: 7px 0 0 20px; }
.faq a { color: var(--lime); text-decoration: underline; }
.rule-list { list-style: decimal-leading-zero; margin: 17px 0 0; padding: 0 0 0 37px; }
.rule-list li { padding: 14px 10px; border-bottom: 1px solid var(--line); }
.rule-list li::marker { color: var(--lime); font: 600 14px var(--mono); }

.practice .section-head { align-items: flex-end; }
.view-controls { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #111a13; }
.view-controls button { border: 0; border-radius: 4px; background: transparent; color: var(--muted); white-space: nowrap; padding: 7px 12px; font-size: 13px; }
.view-controls button[aria-pressed="true"] { color: #1b2713; background: var(--lime); font-weight: 800; }
.table-shell { display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); background: radial-gradient(ellipse at center, #1c2b20, #0a130d); padding: 10px; }
#pool { width: min(100%, 790px); height: auto; aspect-ratio: 9/5; cursor: crosshair; touch-action: manipulation; }
.shot-controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.shot-controls label { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); }
.shot-controls input { accent-color: var(--lime); width: clamp(110px, 15vw, 185px); }
#shot-status { color: var(--muted); font-size: 14px; margin-top: 10px; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 54px); }
  .hero { min-height: 505px; }
  .hero-content { padding-left: 36px; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 63px; gap: 12px; justify-content: flex-start; }
  .brand { font-size: 17px; gap: 7px; }
  .brand-ball { width: 29px; }
  .header-action { margin-left: auto; font-size: 12px; gap: 5px; padding-inline: 8px; }
  .header-tools { margin-left: auto; }
  .header-tools:has(.language-picker) .header-action { display: none; }
  .site-nav { display: flex; flex-wrap: wrap; gap: 4px 15px; }
  .site-header:not(.has-menu) .header-inner { flex-wrap: wrap; }
  .site-header.has-menu .header-inner { flex-wrap: nowrap; }
  .has-menu .menu-toggle { display: grid; place-items: center; width: 35px; height: 35px; order: 3; color: var(--paper); background: transparent; border: 1px solid var(--line); border-radius: 5px; }
  .has-menu .site-nav { display: none; position: absolute; top: calc(100% - 2px); left: 0; right: 0; z-index: 3; padding: 8px 17px; background: #151f18; border: 1px solid var(--line); border-radius: 7px; }
  .has-menu .site-nav.is-open { display: flex; }
  .hero { margin-top: 13px; min-height: 533px; border-radius: 11px; justify-content: flex-end; }
  .hero-media { bottom: 92px; }
  .hero-media img { object-position: 65% 43%; }
  .hero-shade { background: linear-gradient(0deg, #0b160e 8%, #0b160e 18%, #0b160ee8 33%, #0a160d82 57%, #0b160e10 84%), linear-gradient(90deg, #0b150d6b, transparent 78%); }
  .hero-content { width: 100%; padding: 159px 18px 72px; }
  .hero-kicker { margin-bottom: 11px; font-size: 9px; gap: 7px; }
  .hero h1 { font-size: clamp(42px, 10vw, 58px); letter-spacing: -.065em; }
  .hero-content > p { margin-top: 12px; font-size: 14px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 17px; gap: 8px; }
  .hero-actions .button { min-height: 42px; padding-inline: 11px; }
  .hero-index a { min-height: 45px; gap: 5px; font-size: 11px; }
  .hero-index svg { width: 14px; height: 14px; }
  .discovery { padding-top: 28px; padding-bottom: 29px; }
  .section-head { gap: 10px; margin-bottom: 14px; }
  .section-head .text-link { font-size: 12px; }
  .section-head .text-link svg { width: 13px; }
  .feature-grid { grid-template-columns: 1fr; gap: 8px; }
  .feature-card { display: grid; grid-template-columns: 32% 1fr; }
  .feature-image { height: auto; min-height: 122px; }
  .feature-image img { position: absolute; }
  .feature-symbol { width: 28px; height: 28px; left: 7px; bottom: 7px; }
  .feature-symbol svg { width: 15px; height: 15px; }
  .feature-body { padding: 10px 12px; }
  .feature-body p { font-size: 12px; margin-bottom: 6px; }
  .feature-body h3 { margin-block: 2px; }
  .feature-action { font-size: 11px; }
  .footer-inner { padding-block: 16px; gap: 8px 15px; flex-wrap: wrap; }
  .footer-inner nav { margin-left: 0; width: 100%; }
  .detail-hero { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .detail-photo { height: clamp(100px, 27vw, 148px); }
  .info-grid { grid-template-columns: 1fr; gap: 8px; }
  .info-grid article { padding: 16px; }
  .practice .section-head { align-items: flex-start; flex-direction: column; }
  .shot-controls { gap: 9px 13px; }
  .content-block, .faq { padding-top: 32px; }
}

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