:root {
  color-scheme: dark;
  --bg: #0c1013;
  --panel: #131a1e;
  --ink: #f5f1e7;
  --muted: #b4bcba;
  --line: #344143;
  --gold: #eec378;
  --wrap: 1240px;
  --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(var(--wrap), calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: 16px; transform: translateY(-180%); z-index: 20; background: var(--gold); color: #121212; padding: 10px 18px; }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid var(--line); background: #11171a; }
.header-inner { min-height: var(--header); display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; min-width: max-content; }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 20px; letter-spacing: .07em; }
.brand small { margin-top: 5px; color: var(--gold); letter-spacing: .16em; font-size: 9px; font-weight: 750; }
.main-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 2.85vw, 40px); }
.main-nav a, .site-footer nav a { font-size: 14px; color: var(--muted); }
.main-nav a:hover, .site-footer nav a:hover, .text-link:hover { color: var(--gold); }
.header-link, .menu-toggle { padding: 8px 13px; border: 1px solid var(--line); background: transparent; color: var(--gold); font-size: 13px; white-space: nowrap; }
.menu-toggle { display: none; }
.read-progress { height: 2px; position: absolute; bottom: -1px; inset-inline: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }

.hero { background: radial-gradient(ellipse at 74% 25%, #28352e 0, #11191a 45%, var(--bg) 78%); }
.hero-layout { min-height: 585px; display: grid; grid-template-columns: 1fr 1.18fr; align-items: center; gap: 32px; padding-block: clamp(40px, 6vw, 86px); }
.eyebrow { color: #e3ceaa; font: 650 12px/1.5 ui-monospace, Consolas, monospace; letter-spacing: .13em; }
.eyebrow > span:not(.status-dot) { color: var(--gold); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; background: var(--gold); transform: rotate(45deg); }
h1 { margin: 18px 0; font-size: clamp(42px, 5.1vw, 76px); line-height: 1.06; letter-spacing: -.065em; font-weight: 870; }
h1 em { color: var(--gold); font-style: normal; }
.hero-name { display: block; margin-bottom: 14px; font-size: .34em; letter-spacing: .16em; line-height: 1.35; }
.hero-description { max-width: 34em; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 25px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 10px 17px; font-weight: 760; }
.button-primary { color: #151510; background: var(--gold); }
.button-primary:hover { background: #ffe2aa; }
.text-link { color: var(--ink); font-size: 14px; }
.hero-visual { border: 1px solid #58604f; background: #131c1c; box-shadow: 0 20px 56px #0006; }
.hero-visual img { width: 100%; }
.hero-visual figcaption { display: flex; justify-content: space-between; padding: 10px 14px; gap: 8px; color: #e6d4b4; border-top: 1px solid #58604f; font: 12px/1.5 ui-monospace, monospace; letter-spacing: .07em; }
.hero-visual figcaption b { color: var(--gold); }

.sports-strip { display: grid; grid-template-columns: .95fr repeat(3, 1fr); border: 1px solid var(--line); background: #151d20; }
.sports-strip > span { padding: 15px clamp(12px, 2.2vw, 27px); font-weight: 720; }
.sports-strip > span + span { border-left: 1px solid var(--line); }
.sports-strip > span:first-child { color: var(--gold); font: 700 12px/1.5 ui-monospace,monospace; align-content: center; }
.sports-strip i { display: inline-block; width: 10px; height: 1px; vertical-align: middle; background: var(--gold); }
.sports-strip small { margin-left: 7px; color: var(--muted); font: 11px ui-monospace,monospace; }

.section { padding-block: clamp(50px, 6.8vw, 90px); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.13; letter-spacing: -.045em; margin-top: 7px; }
.filters { display: flex; flex-wrap: wrap; gap: 5px; }
.filters button { min-height: 40px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: 5px 14px; font-size: 14px; }
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--gold); color: #141510; border-color: var(--gold); font-weight: 720; }
.story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.story { --sport: #799e8d; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel); }
.basketball { --sport: #d7977b; }
.tennis { --sport: #a8ba72; }
.story-art { position: relative; display: grid; place-items: center; min-height: 130px; overflow: hidden; color: var(--sport); background: repeating-linear-gradient(135deg,#0c1418 0 20px,#161e22 20px 21px); border-bottom: 1px solid var(--line); }
.story-art b { position: absolute; left: 12px; top: 6px; font: 700 13px/1.7 ui-monospace,monospace; }
.court-line { display: block; width: 54%; height: 68px; border: 2px solid currentColor; transform: rotate(-12deg) skew(-10deg); }
.court-line::before { content: ""; position: absolute; inset: 0 50% 0 auto; border-left: 1px solid; }
.court-line::after { content: ""; position: absolute; width: 33px; aspect-ratio: 1; border: 2px solid; border-radius: 50%; inset: 50% auto auto 50%; transform: translate(-50%,-50%); }
.basketball .court-line { border-radius: 30px; }
.basketball .court-line::after { width: 48px; }
.tennis .court-line::after { inset: 17% 20% 17%; transform: none; width: auto; aspect-ratio: auto; border-radius: 0; }
.story-copy { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 20px; }
.story-tag { color: var(--sport); font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.story h3 { font-size: clamp(18px, 2vw, 25px); line-height: 1.36; }
.story-copy > p:not(.story-tag), .analysis-layout p:not(.eyebrow), details p { color: var(--muted); }
.story-link { margin-top: auto; padding-top: 12px; color: var(--gold); font-size: 13px; }
.story-link:hover { text-decoration: underline; }
.analysis-band { padding-block: clamp(45px, 6vw, 76px); background: #182220; border-block: 1px solid #3d4a42; }
.analysis-layout, .faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(22px, 5vw, 80px); align-items: start; }
.analysis-layout h2 + p { margin-top: 16px; max-width: 26em; }
.analysis-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #466054; }
.analysis-list li { display: flex; gap: 19px; padding: 14px 0; border-bottom: 1px solid #466054; }
.analysis-list li > span { color: var(--gold); font: 700 15px/2 ui-monospace,monospace; }
.analysis-list h3 { font-size: 18px; }
.analysis-list p { font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
details p { padding-bottom: 16px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
summary::marker { color: var(--gold); }
.site-footer { border-top: 1px solid var(--line); background: #11171a; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 25px; }
.footer-inner > p { color: var(--muted); font-size: 13px; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 44px); }
  .hero-layout { min-height: auto; }
  .header-link { display: none; }
}
@media (max-width: 700px) {
  :root { --header: 64px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .main-nav { width: 100%; }
  .menu-toggle:not([hidden]) + .main-nav:not(.is-open) { display: none; }
  .main-nav a { padding: 6px 0; }
  .hero-layout, .analysis-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 25px; }
  .sports-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sports-strip > span { padding-block: 12px; }
  .sports-strip > span:nth-child(3) { border-left: 0; }
  .sports-strip > span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .story-grid { grid-template-columns: 1fr; }
  .court-line { width: 47%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* APP、关于我们与友情链接 */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-bottom: clamp(46px, 6vw, 76px);
}
.support-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--panel);
}
.support-card h2 { font-size: clamp(27px, 3.1vw, 40px); }
.support-card h2 + p { margin-top: 12px; }
.support-card p:not(.eyebrow) { color: var(--muted); }
.app-card { background: radial-gradient(ellipse at top right, #293534, var(--panel) 60%); }
.about-card { background: radial-gradient(ellipse at top right, #322b20, var(--panel) 64%); }
.app-guide { margin-top: 16px; border-block: 1px solid var(--line); }
.app-guide summary { color: var(--gold); }
.app-guide dl { margin: 0 0 14px; }
.app-guide dt { color: var(--ink); font-weight: 700; }
.app-guide dd { margin: 3px 0 8px; color: var(--muted); font-size: 14px; }
.support-link { display: inline-block; margin-top: 20px; color: var(--gold); }
.support-link:hover { text-decoration: underline; }
.links-card { grid-column: 1 / -1; }
.links-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 18px; }
.links-heading > p { font-size: 14px; }
.resource-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.resource-links a {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 68px;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.resource-links a:hover { border-color: var(--gold); }
.resource-links small { display: block; color: var(--muted); font-size: 12px; }
.resource-links a > span:last-child { color: var(--gold); }
@media (min-width: 701px) {
  .main-nav { gap: clamp(10px, 1.55vw, 24px); }
  .header-inner { gap: clamp(12px, 2vw, 24px); }
}
@media (max-width: 850px) {
  .resource-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .resource-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 单独成行的图文板块 */
.app-card, .about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
}
.app-card { grid-template-areas: "visual copy"; }
.about-card { grid-template-areas: "copy visual"; }
.support-copy { grid-area: copy; min-width: 0; }
.support-copy > p:not(.eyebrow) { max-width: 34em; }
.support-visual {
  grid-area: visual;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #11191a;
}
.support-visual img { width: 100%; height: auto; }
@media (max-width: 700px) {
  .app-card, .about-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual";
  }
}

/* 站点说明与底部版本信息 */
.app-card .app-note { margin-top: 8px; font-size: 14px; }
.site-information {
  padding-block: clamp(38px, 6vw, 68px);
  background: #11191a;
  border-top: 1px solid var(--line);
}
.information-heading > p { color: var(--muted); }
.information-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.information-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(18px, 2.5vw, 27px);
}
.information-card h3 { margin: 7px 0 9px; font-size: 22px; }
.information-card p:not(.eyebrow) { color: var(--muted); max-width: 41em; }
.information-card .support-link, .information-note { margin-top: 9px; font-size: 14px; }
.footer-brand-block > p { margin-top: 9px; color: var(--muted); font-size: 13px; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  border-top: 1px solid var(--line);
  padding-block: 12px 15px;
  color: var(--muted);
  font-size: 14px;
}
.footer-meta a { margin-inline-start: auto; color: var(--gold); }
.site-version { color: var(--gold); font-family: ui-monospace, Consolas, monospace; }
@media (max-width: 620px) {
  .information-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 定位前置的站点介绍与页脚前的友链区。 */
.about-placement { margin-top: clamp(24px, 3.6vw, 52px); }
.links-placement { padding-block: clamp(26px, 4vw, 48px); }
