/* ============================================================
   匹克球学习地图 — 样式
   设计语言：暖白底 + 白色卡片 + 细描边 + 柠檬绿点缀
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #F6F5F0;
  --surface: #FFFFFF;
  --ink: #10170F;
  --ink-2: #4B5348;
  --ink-3: #8A9186;
  --line: #E5E3D7;
  --line-2: #D8D6C8;
  --lime: #CDEE4A;
  --lime-deep: #B3CE3A;
  --lime-text: #9CB82C;
  --deep: #0E2A1B;
  --deep-2: #173726;
  --sage: #EDF0E3;
  --clay: #C4633F;
  --green: #1F7A5C;

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, .8, .28, 1);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Helvetica Neue", "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 32px; }
.view { animation: fadeUp .5s var(--ease) both; }

.eyebrow {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { animation: reveal .6s var(--ease) both; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  border-radius: 999px; white-space: nowrap;
  transition: transform .22s var(--ease), background .22s, color .22s, border-color .22s, box-shadow .22s;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-pill { border-radius: 999px; }

.btn-ink { background: var(--ink); color: #F4F8EA; }
.btn-ink:hover { background: #22301F; box-shadow: 0 12px 26px -14px rgba(16,23,15,.7); }

.btn-lime { background: var(--lime); color: #14210D; }
.btn-lime:hover { background: #D8F55F; box-shadow: 0 12px 26px -14px rgba(205,238,74,.9); }

.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.35); color: #EDF4E2; }
.btn-outline-light:hover { border-color: var(--lime); color: var(--lime); }

.arw { transition: transform .24s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 120;
  background: rgba(246, 245, 240, .82);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid rgba(16, 23, 15, .07);
}
.topbar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 66px; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; justify-self: start; }
.brand-ball {
  width: 28px; height: 28px; color: var(--lime); display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-ball svg { width: 100%; height: 100%; }
.brand-txt { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.brand-txt b { font-weight: 700; }

.nav { display: flex; align-items: center; gap: 30px; justify-self: center; }
.nav a {
  position: relative; display: inline-flex; align-items: center; height: 66px;
  font-size: 14px; color: rgba(16,23,15,.62); letter-spacing: .01em;
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 17px; width: 18px; height: 2.5px; border-radius: 2px; background: var(--lime-deep);
}

.topbar-act { display: flex; align-items: center; gap: 12px; justify-self: end; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: #fff; border-color: var(--line); }
.topbar-cta { height: 38px; padding: 0 20px; font-size: 13.5px; }

.nav-toggle { display: none; width: 38px; height: 38px; place-items: center; gap: 4px; flex-direction: column; }
.nav-toggle span { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { padding: 46px 0 0; }
/* 桌面：左侧「标题 / 正文」两行，右侧主图跨两行 */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-areas:
    "head media"
    "body media";
  column-gap: 56px; row-gap: 0;
  align-items: start; align-content: center;
}
.hero-head { grid-area: head; align-self: end; }
.hero-body { grid-area: body; align-self: start; }
.hero-media { grid-area: media; align-self: center; position: relative; }
.hero-eyebrow { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.hero-eyebrow span { font-family: var(--font-en); font-size: 10.5px; letter-spacing: .22em; color: var(--ink-3); font-weight: 600; }
.hero-eyebrow span:first-child { color: var(--ink-2); }

.hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.1; font-weight: 800; letter-spacing: -.035em;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--lime-text); }
.hero-sub {
  margin-top: 20px; font-size: 14.5px; line-height: 1.85;
  color: var(--ink-2); max-width: 36em;
}
.hero-sub b { font-weight: 600; color: var(--ink); }

.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: stretch; gap: 0; margin-top: 40px; flex-wrap: wrap;
}
.hstat { display: flex; align-items: center; gap: 11px; padding-right: 26px; }
.hstat + .hstat { padding-left: 26px; border-left: 1px solid var(--line); }
.hstat-ic { width: 20px; height: 20px; color: var(--ink); opacity: .8; flex-shrink: 0; }
.hstat-t { font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.hstat-d { font-size: 11.5px; color: var(--ink-3); line-height: 1.4; margin-top: 1px; }

.hero-photo {
  position: relative; overflow: hidden; border-radius: 24px;
  aspect-ratio: 5 / 4.1; background: #dfe3d6;
  box-shadow: 0 30px 60px -40px rgba(16,23,15,.6);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,18,11,.5) 0%, rgba(8,18,11,.1) 42%, transparent 68%);
}

/* 比赛小卡（浮在照片左下，避开画面主体） */
.match-card {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  width: 330px; max-width: calc(100% - 36px);
  padding: 15px 18px 17px; border-radius: 16px;
  background: rgba(9, 24, 15, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 26px 48px -26px rgba(0,0,0,.85);
  color: #E9F1DB;
}
.mc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mc-title { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; color: #F1F7E6; }
.mc-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600; letter-spacing: .04em;
  color: var(--lime); padding: 3px 8px; border-radius: 999px;
  border: 1px solid rgba(205,238,74,.32);
  transition: background .2s, color .2s;
}
.mc-link:hover { background: var(--lime); color: #14210D; }
.mc-sub { margin-top: 5px; font-size: 11px; color: rgba(233,241,219,.5); letter-spacing: .01em; }

.mc-clock { display: flex; align-items: flex-start; margin-top: 12px; }
.mc-unit { display: flex; flex-direction: column; gap: 3px; min-width: 54px; }
.mc-unit b {
  font-size: var(--cd-num, 29px); font-weight: 700; line-height: 1;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums;
  color: #F5FAEA;
}
.mc-unit span { font-size: 9.5px; letter-spacing: .14em; color: rgba(233,241,219,.4); }
/* 冒号：与数字同高并垂直居中，落在两个数值的正中间 */
.mc-colon {
  display: flex; align-items: center; justify-content: center;
  height: var(--cd-num, 29px); flex-shrink: 0;
  font-size: 20px; line-height: 1; font-weight: 500;
  color: rgba(205,238,74,.55);
  padding: 0 2px; transform: translateY(.12em);
}
.mc-over { font-size: 22px; font-weight: 700; color: var(--lime); letter-spacing: -.02em; }

/* ---------- 区块通用 ---------- */
.section { padding: 72px 0 0; }
.section.tight { padding-top: 58px; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.sec-title-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.sec-title {
  font-size: clamp(25px, 3.1vw, 34px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.2; color: var(--ink);
}
.sec-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.sec-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  padding-bottom: 2px; border-bottom: 1px solid var(--line-2);
  transition: border-color .2s, color .2s;
}
.sec-link:hover { border-color: var(--ink); }

/* ---------- 三大模块（图片课程卡） ---------- */
.course-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; margin-top: 30px;
}
.course-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px -34px rgba(16,23,15,.5);
  border-color: var(--line-2);
}
.course-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe3d6; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.045); }
.course-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,18,11,.28), transparent 55%);
}
.course-no {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(10,24,15,.82); backdrop-filter: blur(6px);
  color: var(--lime); font-size: 12px; font-weight: 700;
  font-family: var(--font-en); letter-spacing: .02em;
}
.course-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.course-body p { margin-top: 7px; font-size: 13px; line-height: 1.75; color: var(--ink-2); flex: 1; }
.course-body .btn { margin-top: 16px; align-self: flex-start; height: 36px; padding: 0 16px; font-size: 12.5px; }
.course-pills { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.course-pill {
  font-size: 10.5px; letter-spacing: .02em; color: var(--ink-3);
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line);
}

/* ---------- 学习路线 ---------- */
.route-card {
  position: relative; overflow: hidden;
  margin-top: 30px; padding: 38px 40px 40px;
  background: var(--sage); border-radius: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 40px; align-items: end;
}
.route-card h3 {
  font-size: clamp(20px, 2.2vw, 25px); font-weight: 800;
  letter-spacing: -.025em; margin-top: 10px;
}
.route-card .route-lead { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.75; max-width: 42em; }

.route-steps {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px; margin-top: 30px;
}
.route-steps::before {
  content: ""; position: absolute; left: 15px; right: calc(25% - 15px); top: 15px;
  border-top: 1.5px dashed rgba(16,23,15,.2);
}
.route-step { position: relative; }
.rs-n {
  position: relative; z-index: 1;
  width: 31px; height: 31px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--deep); color: #EAF2DE;
  font-size: 12px; font-weight: 700; font-family: var(--font-en);
  box-shadow: 0 0 0 6px var(--sage);
}
.rs-t { margin-top: 13px; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.rs-d { margin-top: 4px; font-size: 12px; color: var(--ink-2); line-height: 1.65; }

.route-side { text-align: right; padding-bottom: 4px; }
.route-side p { font-size: 14px; line-height: 1.95; color: rgba(16,23,15,.4); letter-spacing: .02em; }
.route-side svg { margin-top: 14px; margin-left: auto; display: block; }

/* ---------- 说明卡 ---------- */
.policy-card {
  margin-top: 30px; padding: 30px 34px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.policy-card h3 { margin-top: 8px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.pc-txt { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--ink-2); max-width: 860px; }
.pc-txt b { font-weight: 600; color: var(--ink); }

/* ---------- 内页页头 ---------- */
.page-head { padding: 50px 0 0; }
.page-head h1 {
  margin-top: 10px;
  font-size: clamp(27px, 3.6vw, 40px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.18;
}
.page-head .lead { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--ink-2); max-width: 760px; }

/* ---------- 筛选 ---------- */
.filters { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.chip {
  height: 35px; padding: 0 16px; border-radius: 999px;
  font-size: 13px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #F4F8EA; font-weight: 600; }

/* ---------- 技术卡片 ---------- */
.skill-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 18px; margin-top: 26px;
}
.skill-card {
  display: flex; flex-direction: column;
  padding: 20px 20px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -32px rgba(16,23,15,.5);
  border-color: var(--line-2);
}
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sc-no { font-family: var(--font-en); font-size: 11.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; }
.sc-group { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--ink-3); letter-spacing: .02em; }
.sc-group i { width: 6px; height: 6px; border-radius: 2px; display: block; }
.skill-card h3 { margin-top: 9px; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.sc-en { margin-top: 2px; font-family: var(--font-en); font-size: 10.5px; color: var(--ink-3); letter-spacing: .04em; }
.sc-tag { margin-top: 9px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.sc-foot {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3);
}
.sc-foot .v { display: inline-flex; align-items: center; gap: 4px; }
.sc-foot .go {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  opacity: 0; transform: translateX(-4px); transition: .25s var(--ease);
}
.skill-card:hover .sc-foot .go { opacity: 1; transform: none; }

/* ---------- 模块卡（内页） ---------- */
.group-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.group-card {
  padding: 24px 22px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  transition: box-shadow .28s var(--ease), border-color .28s;
}
.group-card:hover { box-shadow: 0 26px 46px -34px rgba(16,23,15,.45); border-color: var(--line-2); }
.g-idx { font-family: var(--font-en); font-size: 10.5px; letter-spacing: .16em; color: var(--ink-3); font-weight: 600; }
.group-card h3 { margin-top: 9px; font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.g-en { margin-top: 2px; font-family: var(--font-en); font-size: 10.5px; color: var(--ink-3); letter-spacing: .05em; }
.g-desc { margin-top: 10px; font-size: 12.5px; line-height: 1.75; color: var(--ink-2); min-height: 44px; }
.g-items { margin-top: 14px; border-top: 1px solid var(--line); }
.g-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 4px; border-bottom: 1px solid rgba(229,227,215,.7);
  font-size: 13px; color: var(--ink);
  transition: background .2s, padding-left .2s;
}
.g-item:last-child { border-bottom: 0; }
.g-item:hover { background: #FAFAF4; padding-left: 8px; }
.g-item .n { font-family: var(--font-en); font-size: 10.5px; color: var(--ink-3); width: 16px; }
.g-item .lv { margin-left: auto; display: flex; gap: 3px; }
.g-item .lv i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); display: block; }
.g-item .lv i.on { background: var(--lime-deep); }

/* ---------- 思维导图 ---------- */
.map-head { padding: 50px 0 24px; }
.map-bar { display: flex; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.legend { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.legend i { width: 8px; height: 8px; border-radius: 3px; display: block; }

.map-shell {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 12px; overflow: hidden;
}
.map-scroll { overflow-x: auto; overflow-y: hidden; border-radius: 16px; }
.map-inner { min-width: 780px; }
.mm { width: 100%; height: auto; display: block; }
.map-tip {
  display: flex; align-items: center; gap: 7px; margin-top: 12px;
  font-size: 12px; color: var(--ink-3);
}
.map-tip svg { width: 13px; height: 13px; flex-shrink: 0; }

.mm-link { transition: opacity .3s, stroke-width .3s; }
.mm-node { cursor: pointer; transition: opacity .3s; }
.mm-node .box { transition: transform .35s var(--ease); transform-origin: center; transform-box: fill-box; }
.mm-node:hover .box { transform: translateY(-3px); }
.mm-node .halo { fill: rgba(205, 238, 74, .0); transition: fill .3s; }
.mm-node:hover .halo { fill: rgba(205, 238, 74, .18); }
.mm-node.dim { opacity: .22; }
.mm-link.dim { opacity: .07 !important; }

.mm-group-label { font-family: var(--font); font-size: 15px; font-weight: 700; }
.mm-group-sub { font-family: var(--font-en); font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.mm-leaf-no { font-family: var(--font-en); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; }
.mm-leaf-label { font-family: var(--font); font-size: 13.5px; font-weight: 600; }
.mm-leaf-en { font-family: var(--font-en); font-size: 8.5px; letter-spacing: .02em; }
.mm-center-label { font-family: var(--font); font-size: 18px; font-weight: 700; }
.mm-center-sub { font-family: var(--font-en); font-size: 9px; letter-spacing: .2em; }

/* ---------- 技术详情 ---------- */
.crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 28px 0 0; font-size: 12.5px; color: var(--ink-3);
}
.crumb a { color: var(--ink-3); transition: color .2s; }
.crumb a:hover { color: var(--ink); }
.crumb .sep { opacity: .5; }

.skill-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 34px;
  padding: 22px 0 26px; flex-wrap: wrap;
}
.sh-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-no {
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--lime);
}
.badge-group { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; }
.badge-group i { width: 6px; height: 6px; border-radius: 2px; display: block; }
.level-dots { display: flex; gap: 3px; }
.level-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); display: block; }
.level-dots i.on { background: var(--lime-deep); }
.lv-label { font-size: 11.5px; color: var(--ink-3); }

.sh-main h1 {
  margin-top: 14px;
  font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15;
}
.sh-en { margin-top: 6px; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-3); }
.sh-tagline { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 46em; line-height: 1.8; }

.meta-rows {
  display: grid; grid-template-columns: auto auto; gap: 10px 22px;
  padding: 16px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px;
}
.meta-row { display: contents; }
.meta-row .k { font-size: 12px; color: var(--ink-3); }
.meta-row .v { font-size: 12.5px; font-weight: 600; text-align: right; }

.skill-layout {
  display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 26px; align-items: start;
}

.player-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 18px; background: #0B170F;
  border: 1px solid var(--line);
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-loading { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .4s; }
.player-loading.hide { opacity: 0; pointer-events: none; }
.spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18); border-top-color: var(--lime);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.clip-note {
  display: flex; align-items: center; gap: 7px;
  margin-top: 12px; font-size: 12px; color: var(--ink-2); line-height: 1.6;
}
.clip-note svg { width: 14px; height: 14px; color: var(--lime-deep); flex-shrink: 0; }

.player-meta { margin-top: 14px; }
.player-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; line-height: 1.5; }
.player-sub {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 7px; font-size: 12px; color: var(--ink-3);
}
.player-sub span { display: inline-flex; align-items: center; gap: 4px; }
.player-sub .up { color: var(--ink-2); font-weight: 600; }
.player-sub a { color: var(--ink); border-bottom: 1px solid var(--line-2); display: inline-flex; align-items: center; gap: 3px; }
.player-sub a:hover { border-color: var(--ink); }
.dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.video-tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.vtab {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, background .2s;
}
.vtab:hover { border-color: var(--line-2); }
.vtab.on { border-color: var(--ink); background: #FBFAF4; }
.vt-tag {
  font-size: 10px; font-weight: 600; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 5px;
  background: #F0EEDF; color: var(--ink-2); flex-shrink: 0;
}
.vtab.on .vt-tag { background: var(--lime); color: #14210D; }
.vt-name { font-size: 12.5px; color: var(--ink); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.side-card { padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.side-card h3 { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin-bottom: 10px; }
.intro-txt { font-size: 13px; line-height: 1.85; color: var(--ink-2); }

.content-sec { margin-top: 44px; }
.cs-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cs-no { font-family: var(--font-en); font-size: 11px; font-weight: 700; color: var(--lime-deep); letter-spacing: .1em; }
.cs-head h2 { font-size: clamp(20px, 2.3vw, 26px); font-weight: 800; letter-spacing: -.03em; }
.cs-hint { font-size: 12.5px; color: var(--ink-3); }

.steps { display: flex; flex-direction: column; gap: 2px; }
.step-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px;
  padding: 18px 4px; border-top: 1px solid var(--line);
}
.step-row:last-child { border-bottom: 1px solid var(--line); }
.st-n { font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--lime-deep); letter-spacing: .08em; padding-top: 3px; }
.step-row h4 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.step-row p { margin-top: 5px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.panel h3 { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.panel h3 .ic { font-size: 13px; }
.panel ul { display: flex; flex-direction: column; gap: 11px; }
.panel li { display: grid; grid-template-columns: 14px 1fr; gap: 9px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.panel li .mk { color: var(--clay); font-size: 11px; line-height: 1.9; }
.panel.drill li .mk { color: var(--green); }
.panel li b { color: var(--ink); font-weight: 600; margin-right: 5px; }

.coach-quote {
  position: relative; padding: 30px 32px 30px 44px;
  background: var(--deep); color: #E9F2D8; border-radius: 20px;
  font-size: 15px; line-height: 1.85; letter-spacing: -.005em;
}
.coach-quote::before {
  content: "”"; position: absolute; top: 4px; left: 16px;
  font-size: 52px; line-height: 1; color: var(--lime); opacity: .55; font-family: Georgia, serif;
}
.coach-quote .cq-label {
  display: block; margin-bottom: 9px;
  font-family: var(--font-en); font-size: 9.5px; letter-spacing: .2em;
  color: rgba(205,238,74,.6);
}

.pager { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; margin-top: 48px; }
.pager a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 22px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); min-width: 0;
  transition: border-color .2s, transform .2s var(--ease);
}
.pager a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pager a.next { text-align: right; margin-left: auto; }
.pg-lbl { font-size: 11.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.pager a.next .pg-lbl { justify-content: flex-end; }
.pg-name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }

/* ---------- 视频库 ---------- */
.lib-group { margin-top: 38px; }
.lib-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lib-group-head h3 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.lib-group-head .cnt { font-size: 11.5px; color: var(--ink-3); }
.lib-group-head .ln { flex: 1; height: 1px; background: var(--line); }

.vrow {
  display: grid; grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 16px; align-items: center;
  padding: 13px 12px; border-radius: 12px;
  transition: background .2s;
}
.vrow:hover { background: var(--surface); }
.v-no { font-family: var(--font-en); font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; }
.v-title { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.v-sub { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }
.v-sub .tag { padding: 1px 6px; border-radius: 4px; background: #F0EEDF; color: var(--ink-2); font-size: 10.5px; }
.v-stat { display: flex; align-items: center; gap: 14px; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.v-stat span { display: inline-flex; align-items: center; gap: 4px; }
.v-stat .hot { color: var(--ink-2); font-weight: 600; }
.v-stat .v-skill { display: none; }

/* ---------- 比赛信息页 ---------- */
.match-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 24px; margin-top: 30px;
}
.match-panel {
  position: relative; overflow: hidden;
  padding: 34px 34px 32px; border-radius: 24px;
  background: var(--deep); color: #E9F1DB;
}
.match-panel::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(205,238,74,.22), transparent 68%);
}
.match-panel .mp-label { font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: rgba(205,238,74,.7); }
.match-panel h2 { margin-top: 10px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.03em; color: #F3F9E8; }
.match-panel .mp-when { margin-top: 6px; font-size: 13px; color: rgba(233,241,219,.6); }
.mp-clock { display: flex; align-items: flex-start; margin-top: 26px; }
.mp-unit { display: flex; flex-direction: column; gap: 4px; min-width: 66px; }
.mp-unit b { font-size: var(--cd-num, 38px); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #F7FBEE; }
.mp-unit span { font-size: 10px; letter-spacing: .14em; color: rgba(233,241,219,.42); }
/* 冒号：与数字同高并垂直居中 */
.mp-colon {
  display: flex; align-items: center; justify-content: center;
  height: var(--cd-num, 38px); flex-shrink: 0;
  font-size: 26px; line-height: 1; color: rgba(205,238,74,.5);
  padding: 0 4px; transform: translateY(.12em);
}
.mp-over { font-size: 30px; font-weight: 800; color: var(--lime); letter-spacing: -.02em; }

.info-card { padding: 26px 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.info-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.info-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.info-row .k { color: var(--ink-3); }
.info-row .v { font-weight: 600; text-align: right; }
.info-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }

.prep-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.prep-col { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.prep-col h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.prep-col h4 i { width: 7px; height: 7px; border-radius: 2px; display: block; }
.prep-col ul { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.prep-col li a {
  display: flex; align-items: center; gap: 8px; padding: 7px 0;
  font-size: 13px; color: var(--ink-2);
  border-bottom: 1px solid rgba(229,227,215,.7);
  transition: color .2s, padding-left .2s;
}
.prep-col li:last-child a { border-bottom: 0; }
.prep-col li a:hover { color: var(--ink); padding-left: 4px; }
.prep-col li .no { font-family: var(--font-en); font-size: 10.5px; color: var(--ink-3); }

/* ---------- 页脚 ---------- */
.site-foot {
  position: relative; overflow: hidden;
  margin-top: 84px; background: var(--deep); color: #E7F1DA;
}
.site-foot::before {
  content: ""; position: absolute; right: 6%; top: -90px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(205,238,74,.2), transparent 66%);
  pointer-events: none;
}
.foot-cta {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; padding-block: 46px; flex-wrap: wrap;
}
.foot-cta h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.03em; color: #F2F8E8; }
.foot-cta p { margin-top: 8px; font-size: 12.5px; letter-spacing: .08em; color: rgba(231,241,218,.5); }
.foot-ball { display: none; }

.foot-meta {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 18px 24px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 11.5px; color: rgba(231,241,218,.34); line-height: 1.7;
}
.foot-brandline { color: rgba(231,241,218,.5); }

/* ---------- 搜索浮层 ---------- */
.search-ov {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 11vh;
  background: rgba(10, 20, 13, .42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.search-ov.open { display: flex; animation: fadeUp .28s var(--ease) both; }
.search-box {
  width: min(600px, calc(100% - 36px));
  background: var(--surface); border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  overflow: hidden;
}
.search-row { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-row svg { color: var(--ink-3); flex-shrink: 0; }
.search-row input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 15.5px; color: var(--ink); font-family: var(--font);
}
.search-row input::placeholder { color: var(--ink-3); }
.search-row kbd {
  font-family: var(--font-en); font-size: 10.5px; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px;
}
.search-results { max-height: 52vh; overflow-y: auto; padding: 8px; }
.sr-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px; cursor: pointer;
  transition: background .16s;
}
.sr-item:hover, .sr-item.sel { background: #F4F6EC; }
.sr-no { font-family: var(--font-en); font-size: 10.5px; font-weight: 700; color: var(--ink-3); width: 18px; }
.sr-name { font-size: 13.5px; font-weight: 600; }
.sr-en { font-size: 10.5px; color: var(--ink-3); margin-left: auto; }
.sr-empty { padding: 26px 14px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ---------- 其他 ---------- */
.empty { font-size: 14px; color: var(--ink-2); }

.file-tip {
  position: fixed; right: 18px; bottom: 18px; z-index: 400;
  max-width: 390px; padding: 15px 42px 15px 16px;
  background: var(--ink); color: #EAF6D2; border-radius: 14px;
  font-size: 12.5px; line-height: 1.6;
  box-shadow: 0 20px 44px -20px rgba(9, 20, 12, .9);
  animation: reveal .5s var(--ease) both;
}
.file-tip b { color: var(--lime); display: block; margin-bottom: 3px; font-size: 13px; }
.file-tip code { background: rgba(205, 238, 74, .14); color: var(--lime); padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
.file-tip button { position: absolute; top: 10px; right: 12px; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1; padding: 4px; }
.file-tip button:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 36px; }
  .hero-photo { aspect-ratio: 16 / 10; border-radius: 20px; }
  .match-card {
    position: relative; left: auto; bottom: auto;
    width: min(330px, 100%); max-width: 100%; margin-top: 14px;
  }
  .route-card { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .route-side { text-align: left; }
  .route-side svg { margin-left: 0; }
  .prep-list { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .wrap { padding-inline: 24px; }
  .topbar-inner { grid-template-columns: 1fr auto; height: 62px; }
  .nav {
    position: fixed; inset: 62px 0 auto; z-index: 110;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(246,245,240,.98); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: .26s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { height: 46px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  .nav a.active::after { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 30px; }
  /* 手机/平板：标题 → 主图+倒计时 → 正文，一屏内看到站点主题与开赛时间 */
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "media" "body";
    column-gap: 0;
  }
  .hero-head, .hero-body, .hero-media { align-self: auto; }
  .hero-photo { aspect-ratio: 16 / 9; }
  .hero-media { margin-top: 20px; }
  .hero-body { margin-top: 24px; }
  .hero h1 { font-size: clamp(31px, 8vw, 44px); }
  .hero-stats { margin-top: 28px; gap: 16px 0; }
  .course-grid, .group-grid { grid-template-columns: 1fr; }
  .route-steps { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .route-steps::before { display: none; }
  .skill-layout { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .match-hero { grid-template-columns: 1fr; }
  .policy-card { padding: 26px 24px; }
  .foot-cta { padding-block: 34px; }
  .foot-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .topbar-cta { height: 34px; padding: 0 15px; font-size: 12.5px; }
  .hero { padding-top: 14px; }
  .hero-eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: 29px; line-height: 1.08; }
  .hero-media { margin-top: 14px; }
  .hero-body { margin-top: 18px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { height: 43px; padding: 0 20px; font-size: 13.5px; }
  .hero-sub { font-size: 13.5px; margin-top: 0; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
  .hstat { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0; }
  .hstat + .hstat { padding-left: 0; border-left: 0; }
  .hstat-t { font-size: 12.5px; }
  .hstat-d { font-size: 10.5px; }

  .hero-photo { aspect-ratio: 4 / 3; border-radius: 16px; }
  .match-card { position: relative; left: auto; bottom: auto; width: 100%; max-width: none; margin-top: 12px; }
  .mc-unit { min-width: 0; flex: 1; }
  .match-card { --cd-num: 26px; }

  .section { padding-top: 52px; }
  .sec-head { gap: 12px; }
  .sec-title { font-size: 24px; }
  .route-card { padding: 26px 22px 28px; border-radius: 20px; }
  .route-steps { grid-template-columns: 1fr; gap: 14px; }
  .rs-t { margin-top: 9px; }
  .rs-n { box-shadow: 0 0 0 6px var(--sage); }

  .skill-hero { gap: 18px; padding-bottom: 20px; }
  .meta-rows { width: 100%; }
  .content-sec { margin-top: 34px; }
  .step-row { grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 2px; }
  .coach-quote { padding: 26px 22px 26px 36px; font-size: 14px; }
  .pager { flex-direction: column; }
  .pager a.next { margin-left: 0; text-align: left; }
  .pager a.next .pg-lbl { justify-content: flex-start; }

  .vrow { grid-template-columns: 26px minmax(0,1fr); gap: 10px; padding: 11px 6px; }
  .v-stat { grid-column: 2; gap: 10px; }
  .v-stat .v-skill { display: inline; }

  .mp-unit { min-width: 0; flex: 1; }
  .match-panel { --cd-num: 30px; }
  .map-inner { min-width: 720px; }
  .foot-cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
