/* ==========================================================================
   卢湾跑团 · 公共样式
   ========================================================================== */
/* ==========================================================================
   Design tokens（2026-09-25 主题重构）
   原则：黄金仍是主色，但「弱化装饰、强化留白与层级」——
   降饱和的描边、收敛的阴影、统一的圆角/间距节奏、可预期的缓动曲线。
   ========================================================================== */
:root{
  /* —— 品牌色 —— */
  --brand: #ffd91a;            /* 主金黄 — 呼应 logo 黄 */
  --brand-bright: #ffe53b;     /* logo 原黄 — 大色块 / 暗底强调 */
  --brand-deep: #b09800;       /* 深金黄 — 文字 / hover（白底可读） */
  --brand-soft: #fff8d6;
  --brand-ink: #1c2330;        /* 黄底上的文字色（替代原先散落的 #1c2330） */
  --accent: #2563eb;           /* 次蓝 */

  /* —— 文字四级（对比度均达 WCAG AA） —— */
  --ink-1: #14161a;
  --ink-2: #3f4652;
  --ink-3: #6b7280;
  --ink-4: #98a0ad;

  /* —— 面 / 线 —— */
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-band: #fffbe0;
  --line: #ebedf1;             /* 收浅一档：减少卡片描边造成的视觉噪声 */
  --line-strong: #dbe0e7;

  /* —— 语义色 —— */
  --danger: #dc2626;
  --success: #16a34a;
  --warn: #d97706;

  /* —— 圆角（一套梯度，卡片统一 16px，控件 12px） —— */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* —— 阴影梯度：0 描边级 / 1 常态 / 2 品牌光晕 / 3 悬浮 / 4 弹层 —— */
  --shadow-0: 0 0 0 1px rgba(16,24,40,.035);
  --shadow-1: 0 1px 2px rgba(15,23,42,.04), 0 2px 8px rgba(15,23,42,.05);
  --shadow-2: 0 12px 28px rgba(214,183,0,.18), 0 2px 6px rgba(15,23,42,.04);
  --shadow-3: 0 10px 32px rgba(15,23,42,.09), 0 2px 6px rgba(15,23,42,.04);
  --shadow-4: 0 24px 60px rgba(15,23,42,.16);
  --shadow-brand: 0 8px 24px rgba(255,217,26,.34);
  --ring: 0 0 0 3px rgba(255,217,26,.35);

  /* —— 间距节奏（8pt 栅格） —— */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 88px;
  --section-y: 96px;           /* 章节纵向节奏 */
  --gap-grid: 20px;            /* 卡片网格间距 */
  --lift: -4px;                /* 卡片悬浮位移（统一） */

  /* —— 字号 / 行高 —— */
  --fs-xs: 12px;  --fs-sm: 13px; --fs-md: 15px; --fs-base: 16px;
  --fs-lg: 17px;  --fs-xl: 20px; --fs-2xl: 26px; --fs-3xl: 34px;
  --fs-4xl: 44px; --fs-5xl: 54px;
  --lh-tight: 1.18;  --lh-snug: 1.4;  --lh-body: 1.75;

  /* —— 动效语言：统一时长与缓动，杜绝各处随手写的 .15s —— */
  --dur-fast: .16s;
  --dur: .28s;
  --dur-slow: .5s;
  --ease: cubic-bezier(.22,.61,.36,1);        /* 通用减速 */
  --ease-out: cubic-bezier(.16,1,.3,1);       /* 入场（快出慢收） */
  --ease-in-out: cubic-bezier(.4,0,.2,1);

  /* —— 尺寸 —— */
  --container: 1200px;
  --header-h: 64px;
  --max-prose: 760px;
  /* —— 面：卡片 / 次级面 / 玻璃层（2026-09-25 暗色化改造）—— */
  --surface: #ffffff;          /* 卡片、面板实底 */
  --surface-2: #f1f5f9;        /* 次级面：tag / 表头 / 占位图底 */
  --surface-3: #eef1f4;        /* 三级面：输入框底 / 禁用态 */
  --surface-4: #f2f3f5;        /* 图片占位底 */
  /* ⚠ 取值必须逐字等于亮色原值 #f1f3f7：这档只用在相册图块底，
     若复用 --surface-2 会在亮色下产生 2/255 的色阶偏移（验收脚本能抓到）。 */
  --surface-5: #f1f3f7;        /* 相册图块底（唯一使用点 .alb-photo） */
  --glass: rgba(255,255,255,.92);
  --glass-strong: rgba(255,255,255,.96);
  --glass-2: rgba(255,255,255,.45);   /* 金色横幅上的玻璃按钮（两色通用） */
  --glass-3: rgba(255,255,255,.65);
  --ink-on-brand: #1c2330;     /* 金色实底上的文字（暗色下不变） */
  --hero-from: #ffffff;        /* 首屏 / 页头渐变起点 */
  --hero-to: #fffaf2;          /* 首屏渐变终点 */
  --page-hero-to: #fff7ee;     /* 内页 hero 渐变终点 */
  /* 页脚 / 局部 chip 的文字色：页脚底色两色都是深色，必须单独给 token */
  --footer-muted: #71717a;
  --footer-muted-link: #8a8f98;
  --footer-muted-link-hover: #d1d5db;
  --loc-chip-bg: #1c2330;
  --loc-chip-hover-bg: #b09800;
  --loc-chip-fg: #ffffff;
  --off-fg: #6b7280;           /* 禁用态文字 */
  --tag-gray-fg: #4b5563;
  --pod-play-fg: #ffffff;      /* 播放键 hover / 播放中文字 */
}
/* ===== Design primitives（精致化基础组件，参考训练页视觉语言）===== */
.eyebrow{
  display:inline-block;
  font: 700 12px/1.4 "SF Mono", Consolas, monospace;
  letter-spacing:.18em; text-transform:uppercase;
  color: var(--brand-deep); margin:0 0 14px;
}
.eyebrow.ey-light{ color: var(--brand-bright); }
.section-head .eyebrow{ margin-bottom:10px; }
.page-hero .eyebrow{ margin-bottom:14px; }

*,*::before,*::after{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
/* 锚点跳转时给粘性头部留位（不是所有页面都有 # 锚点，代价可忽略） */
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body{
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  color: var(--ink-1);
  background: var(--bg);
  line-height: var(--lh-body);
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection{ background: var(--brand-soft); color: var(--brand-deep); }

a{ color: var(--brand-deep); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover{ color: #8a7600; }
img{ max-width: 100%; height: auto; display: block; }
button,input,textarea,select{ font-family: inherit; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   动效基础设施（2026-09-25）
   `.js-rv` 由 site.js 在 IIFE 第一行打到 <html> 上；`.reveal` 由 site.js 给
   命中目标逐个加上；`.is-in` 由 IntersectionObserver 加上。
   🔴 铁律：隐藏态必须挂在 `.js-rv .reveal` 之下 —— 一旦 JS 挂了 / 被拦截，
   元素保持默认可见。宁可没有动画，也绝不能整页空白。
   ========================================================================== */
.js-rv .reveal{
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.js-rv .reveal.is-in{ opacity: 1; transform: none; }
.js-rv .reveal.is-in:hover{ transform: none; }  /* 入场结束后保留卡片自身的 hover 位移 */

/* 卡片封面在容器入场时一起淡入（避免「图先黑底再跳出来」） */
.js-rv .reveal .post-cover img,
.js-rv .reveal .album-cover img,
.js-rv .reveal .media-cover-img{ opacity: 0; }
.js-rv .reveal.is-in .post-cover img,
.js-rv .reveal.is-in .album-cover img,
.js-rv .reveal.is-in .media-cover-img{ opacity: 1; }

@keyframes lw-fade-up{ from{ opacity:0; transform: translate3d(0,14px,0); } to{ opacity:1; transform:none; } }
@keyframes lw-fade-in{ from{ opacity:0; } to{ opacity:1; } }
/* 首屏元素载入即入场（纯 CSS，不依赖 JS） */
.hero-inner > *, .page-hero-inner > *{
  animation: lw-fade-up var(--dur-slow) var(--ease-out) both;
}
.hero-inner > *:nth-child(1){ animation-delay: .02s; }
.hero-inner > *:nth-child(2){ animation-delay: .12s; }
.page-hero-inner > *:nth-child(1){ animation-delay: .02s; }
.page-hero-inner > *:nth-child(2){ animation-delay: .1s; }
.page-hero-inner > *:nth-child(3){ animation-delay: .18s; }

/* 焦点可见性：键盘操作必给清晰反馈，鼠标点击不打扰 */
:focus{ outline: none; }
:focus-visible{
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
.input:focus-visible,
.textarea:focus-visible,
.comment-form textarea:focus-visible,
.cat-tab:focus-visible,
.alb-tab:focus-visible{
  outline: 2px solid var(--brand);
  outline-offset: -1px;
}

/* 回到顶部：滚过一屏后出现（与底部播客播放器错开，见 body.has-pod-player） */
.to-top{
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-1);
  color: var(--ink-2); cursor: pointer;
  display: none; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.to-top.is-on{ display: flex; }
.to-top:hover{ transform: translateY(-3px); box-shadow: var(--shadow-3); color: var(--brand-deep); }
.to-top svg{ width: 18px; height: 18px; }
body.has-pod-player .to-top{ bottom: 88px; }

/* ===== Header ===== */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
/* 滚动后收拢：只加投影 + 描边，不改高度（改高度会让 .alb-tabs 等 sticky 顶错位） */
.site-header.is-stuck{
  background: var(--glass-strong);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(15,23,42,.06);
}
.site-header .container{
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}
.brand{
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: var(--ink-1);
}
.brand-mark{
  width: 38px; height: 38px; border-radius: var(--radius-sm); object-fit: cover;
  box-shadow: var(--shadow-brand);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.brand:hover .brand-mark{ transform: rotate(-6deg) scale(1.04); }
.brand-name{ letter-spacing: .5px; }
.nav-main{ display: flex; gap: 4px; flex: 1; }
.nav-main a{
  position: relative;
  padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-weight: 500; font-size: 15px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
/* 下划线指示器：hover 时滑出（当前页只用底色 pill，避免「双重指示」显得啰嗦） */
.nav-main > a::after,
.nav-main > .nav-wrap > a::after{
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: currentColor;
  opacity: 0; transform: scaleX(.4); transform-origin: center;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-main > a:hover::after,
.nav-main > .nav-wrap > a:hover::after{ opacity: .85; transform: none; }
.nav-main a.active{ background: var(--brand-soft); color: var(--brand-deep); }

/* 二级下拉菜单（nav-wrap / nav-sub） */
.nav-main .nav-wrap{ position: relative; }
.nav-main .nav-sub{
  position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-1);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all .15s;
  z-index: 60;
}
.nav-main .nav-sub a{
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--ink-2); font-size: 14px;
}
.nav-main .nav-sub a:hover{ background: var(--brand-soft); color: var(--brand-deep); }
.nav-main .nav-wrap:hover > .nav-sub,
.nav-main .nav-wrap:focus-within > .nav-sub{
  opacity: 1; visibility: visible; transform: translateY(0);
}
@media (max-width: 880px){
  .nav-main .nav-sub{
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 14px;
  }
}
.nav-cta{ display: flex; align-items: center; gap: 10px; }
.nav-cta .btn-secondary{
  padding: 8px 16px; font-size: 14px;
}
.btn-mobile-toggle{ display: none; }
@media (max-width: 880px){
  .nav-main{ display: none; }
  .btn-mobile-toggle{
    display: flex; align-items: center; justify-content: center;
    margin-left: auto;
    width: 40px; height: 40px; border-radius: 8px;
    background: transparent; border: 1px solid var(--line);
    cursor: pointer;
  }
  .nav-main.is-open{
    display: flex;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--surface); padding: 8px 12px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-1);
  }
  .nav-main.is-open a{ display: block; padding: 12px 8px; border-radius: 6px; }
}

/* ===== Buttons ===== */
.btn{
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: var(--fs-base);
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
/* 掠光：hover 时一道高光扫过（老 WebView 无 pointer 事件也不影响功能） */
.btn::after{
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.5) 50%, transparent 68%);
  transform: translateX(-130%); pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.btn:hover::after{ transform: translateX(130%); }
.btn:active{ transform: translateY(0) scale(.985); }
.btn-primary{ background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-brand); }
.btn-primary:hover{ background: #f2c800; color: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,217,26,.42); }
.btn-secondary{
  background: transparent; color: var(--ink-2); border-color: var(--line);
}
.btn-secondary:hover{ background: var(--bg-soft); color: var(--ink-1); border-color: var(--line-strong); transform: translateY(-1px); }
.btn-ghost{ background: transparent; color: var(--brand-deep); }
.btn-ghost:hover{ background: var(--brand-soft); }
.btn-lg{ padding: 15px 30px; font-size: var(--fs-lg); }
.btn-sm{ padding: 8px 14px; font-size: var(--fs-sm); border-radius: var(--radius-sm); }
.btn-block{ width: 100%; }
.btn[disabled], .btn:disabled{ opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== Hero ===== */
.hero{
  position: relative;
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before{
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255,229,59,.18), transparent 60%),
    radial-gradient(600px 400px at 90% 80%, rgba(37,99,235,.06), transparent 60%);
  pointer-events: none;
}
.hero-inner{
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.hero-title{
  font-size: var(--fs-5xl); line-height: var(--lh-tight); font-weight: 800;
  margin: 0 0 20px; letter-spacing: -1.2px;
}
.hero-title .accent{ color: var(--brand-deep); }
.hero-title .accent-2{ color: var(--accent); }
.hero-sub{
  font-size: 21px; color: var(--ink-2); margin: 0 0 36px; font-weight: 400;
  line-height: 1.7;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }
.hero-figure{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--brand) 0%, #f0c000 100%);
  box-shadow: 0 24px 64px rgba(255,217,26,.34);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.hero-figure:hover{ transform: scale(1.015); box-shadow: 0 30px 76px rgba(255,217,26,.42); }
.hero-figure img{ width: 100%; height: 100%; object-fit: cover; }
.hero-figure .placeholder{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(28,35,48,.7); font-size: 18px; font-weight: 500;
  background: linear-gradient(135deg, var(--brand), #f0c000);
}
@media (max-width: 880px){
  .hero{ padding: 56px 0 64px; }
  .hero-inner{ grid-template-columns: 1fr; gap: 36px; }
  .hero-title{ font-size: 36px; }
  .hero-sub{ font-size: 17px; }
  .hero-figure{ aspect-ratio: 16/10; }
}

/* ===== 页面级 Hero（博客 / 播客 / 关于 顶部横幅，文本后台可配）===== */
.page-hero{
  position: relative;
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--page-hero-to) 100%);
  padding: 76px 0 66px;
  overflow: hidden;
}
.page-hero::before{
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 15% 0%, rgba(255,229,59,.20), transparent 60%),
    radial-gradient(600px 340px at 90% 100%, rgba(37,99,235,.05), transparent 60%);
  pointer-events: none;
}
.page-hero-inner{
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.page-hero-emoji{
  width: 62px; height: 62px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand) 100%);
  box-shadow: 0 12px 28px rgba(255, 217, 26, .32);
}
.page-hero-title{
  margin: 0 0 14px;
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: -.9px;
}
.page-hero-sub{
  margin: 0 auto;
  max-width: 640px;
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--ink-2);
}
@media (max-width: 880px){
  .page-hero{ padding: 50px 0 46px; }
  .page-hero-emoji{ width: 54px; height: 54px; font-size: 26px; border-radius: 16px; margin-bottom: 14px; }
  .page-hero-title{ font-size: 29px; }
  .page-hero-sub{ font-size: 15px; }
}

/* ===== Sections ===== */
.section{ padding: var(--section-y) 0; }
.section-soft{ background: var(--bg-soft); }
.section-band{ background: var(--bg-band); }
.section-title{
  font-size: var(--fs-3xl); margin: 0 0 12px; font-weight: 700;
  letter-spacing: -.6px; line-height: var(--lh-snug);
}
.section-sub{ color: var(--ink-3); margin: 0 0 40px; font-size: 16px; }
.section-head{ text-align: center; max-width: 720px; margin: 0 auto 64px; }
/* 章节标题上方的短横线：一条 32px 的规则线，替代原先纯靠字号拉层级 */
.section-head > h2::before{
  content: ''; display: block; width: 34px; height: 3px; margin: 0 auto 16px;
  border-radius: 2px; background: var(--brand); opacity: .9;
}

/* 四个高亮卡片 */
.highlights{ display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-grid); }
.highlight{
  padding: 28px 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.highlight:hover{ transform: translate3d(0, var(--lift), 0); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.highlight-icon{ font-size: 32px; margin-bottom: 14px; }
.highlight-title{ font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.highlight-desc{ font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.55; }
@media (max-width: 880px){
  .highlights{ grid-template-columns: repeat(2, 1fr); }
  .section{ padding: 56px 0; }
  .section-title{ font-size: 26px; }
}

/* 关于介绍 */
.about-block{ max-width: 760px; margin: 0 auto; }
.about-block p{ font-size: 17px; color: var(--ink-2); margin: 0 0 18px; }
.about-block p:last-child{ margin-bottom: 0; }

/* 训练地点列表 */
.locs{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.loc-card{
  position: relative;
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.loc-card-linked{ cursor: pointer; }
.loc-card-linked:hover{ border-color: var(--brand); box-shadow: var(--shadow-1); }
/* 整卡可点（2026-09-25）：透明拉伸 <a> 铺满卡片。不用 JS 整卡绑定 —— 拉伸链接保留原生
   语义（中键 / Ctrl+点 新开标签、可复制链接），也免去「点到卡内真链接时要不要拦」的判断。
   层级约定：地图容器(auto，预览态 pointer-events:none) < .loc-map::after(2) < .loc-stretch(3)
   < .loc-actions(4)。底部「场地地图详情 / 一键导航」按钮组必须压在拉伸链接之上，否则点不到。 */
.loc-stretch{ position:absolute; inset:0; z-index:3; border-radius:var(--radius-lg); }
.loc-stretch:focus-visible{ outline:2px solid var(--brand); outline-offset:-2px; }
.loc-name{
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 700; margin-bottom: 8px;
}
.loc-emoji{ font-size: 22px; }
.loc-meta{ color: var(--ink-3); font-size: 14px; margin: 4px 0; }
.loc-meta .k{
  display: inline-block; min-width: 60px; color: var(--ink-2);
  font-weight: 500;
}
.loc-note{
  margin-top: 14px; padding: 10px 14px;
  background: var(--brand-soft); border-radius: 8px;
  color: var(--brand-deep); font-size: 14px;
}
.loc-map{
  position: relative; margin-top: 16px; height: 172px;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface-3);
}
.loc-map iframe{
  width: 100%; height: calc(100% + 92px); margin-top: -92px;  /* 裁掉高德顶部搜索/工具栏 */
  border: 0; display: block;
  pointer-events: none;            /* 首页地图仅作预览，点击整卡进入详情 */
}
/* 原生高德地图（JS API）宿主：绝对铺满容器，容器负责高度与圆角裁剪 */
.loc-map .lw-map,
.ld-map-frame .lw-map{ position: absolute; inset: 0; background: var(--surface-3); }
/* 卡片预览态（首页 / 地点列表）：不拦页面滚动与点击，整卡仍可点进详情 */
.loc-map-preview .lw-map{ pointer-events: none; }
.loc-map::after{
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.18));
  pointer-events: none;
}
.loc-open{
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 12px; text-decoration: none; border-radius: var(--radius-lg);
}
.loc-open span{
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20,24,34,.78); color: #fff;
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(2px);
}
.loc-open:hover span{ background: var(--brand-deep); }
/* 训练地点列表页（/locations.html）：副标题 / 设施徽章 / 并排操作按钮 */
.loc-sub{ color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.loc-facs{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.loc-fac{
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
}
.loc-actions{ position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.loc-actions .loc-open{ position: static; inset: auto; display: inline-flex; padding: 0; }
.loc-actions .loc-open.alt span{ background: var(--loc-chip-bg); color: var(--loc-chip-fg); }
.loc-actions .loc-open.alt:hover span{ background: var(--loc-chip-hover-bg); color: var(--ink-on-brand); }
@media (max-width: 720px){
  .locs{ grid-template-columns: 1fr; }
  .loc-map{ height: 150px; }
}

/* 最新动态 + 博客卡片 */
.posts-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .18s;
  display: flex; flex-direction: column;
}
.post-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-1); }
.post-cover{ aspect-ratio: 16/10; background: var(--brand-soft); overflow: hidden; }
.post-cover img{ width: 100%; height: 100%; object-fit: cover; }
.post-cover .ph{
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: var(--brand-deep); font-weight: 700; font-size: 22px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fffbdd 100%);
}
.post-body{ padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.post-cat{
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--brand-deep); padding: 4px 10px; border-radius: 999px;
  background: var(--brand-soft); width: fit-content;
}
.post-title{ font-size: 18px; font-weight: 700; margin: 8px 0 8px; color: var(--ink-1); }
.post-excerpt{ color: var(--ink-3); font-size: 14px; margin: 0 0 14px; }
/* 首页动态卡片：覆盖文章排版(.post-body h3/p)泄漏，限行并对齐三个卡片 */
.post-card .post-body{ padding: 16px 18px 18px; }
.post-card .post-title{
  margin: 8px 0 6px; font-size: 17px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .post-excerpt{
  margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .post-body p{ margin: 0 0 12px; }
.post-meta{ color: var(--ink-3); font-size: 13px; display: flex; gap: 12px; margin-top: auto; }
@media (max-width: 880px){
  .posts-grid{ grid-template-columns: 1fr; }
}

/* 社交链接 */
.social{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.social-item{
  padding: 22px 16px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  text-align: center; transition: all .15s;
}
.social-item:hover{ border-color: var(--brand); background: var(--brand-soft); }
.social-item .emoji{ font-size: 32px; display: block; margin-bottom: 8px; }
.social-item .lbl{ font-weight: 700; font-size: 14px; color: var(--ink-2); }
.social-item .sub{ font-size: 12px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 720px){
  .social{ grid-template-columns: repeat(2, 1fr); }
}

/* 12周年 Big CTA */
.anniversary{
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2710 100%);
  color: #fff;
  position: relative; overflow: hidden;
  padding: 88px 0;
}
.anniversary::after{
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,229,59,.25), transparent 60%);
  pointer-events: none;
}
.anniversary-inner{
  display: flex; align-items: center; gap: 56px;
}
.anniversary-num{
  font-size: 160px; font-weight: 900; line-height: .9;
  color: var(--brand-bright); letter-spacing: -8px;
}
.anniversary-text h2{
  font-size: 40px; margin: 0 0 16px; font-weight: 800;
}
.anniversary-text p{ font-size: 17px; color: #d1d5db; margin: 0 0 28px; max-width: 560px; }
.anniversary-actions{ display: flex; gap: 14px; }
@media (max-width: 880px){
  .anniversary-inner{ flex-direction: column; text-align: center; gap: 28px; }
  .anniversary-num{ font-size: 110px; }
  .anniversary-text h2{ font-size: 28px; }
  .anniversary-actions{ justify-content: center; }
}

/* CTA Block */
.cta-block{
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--page-hero-to) 0%, var(--brand-soft) 100%);
  padding: 76px 0; text-align: center;
}
.cta-block::before{
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(620px 260px at 50% 0%, rgba(255,217,26,.28), transparent 60%);
  pointer-events: none;
}
.cta-block .container{ position: relative; }
.cta-block h2{ font-size: 34px; margin: 0 0 12px; font-weight: 800; letter-spacing: -.3px; }
.cta-block p{ color: var(--ink-2); margin: 0 0 30px; font-size: 17px; }

/* 深色 feature band（品牌戏剧化分区，与周年庆/合作页深色块统一语言） */
.feature-band{
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #16181d 0%, #20242e 100%);
  color: #fff; padding: 76px 0;
}
.feature-band::after{
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,217,26,.16), transparent 60%);
  pointer-events: none;
}
.feature-band .container{ position: relative; z-index: 1; }
.feature-band .eyebrow{ color: var(--brand-bright); }
.feature-band h2{ color: #fff; font-size: 34px; margin: 0 0 14px; font-weight: 800; letter-spacing: -.3px; }
.feature-band p{ color: #cbd5e1; margin: 0 0 28px; font-size: 17px; max-width: 620px; }

/* ===== Footer ===== */
.site-footer{
  background: linear-gradient(180deg, #14171e 0%, #1a1a1a 42%);
  color: #d1d5db;
  padding: 56px 0 28px;
  font-size: 14px;
  position: relative;
}
/* 顶部一道极淡的金色高光，让深色页脚与正文之间有一条「空气层」而不是硬切 */
.site-footer::before{
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,217,26,.35), transparent);
}
.site-footer .footer-col h5{ letter-spacing: .06em; }
.footer-grid{
  display: flex; flex-wrap: wrap; gap: 28px 40px;
  margin-bottom: 32px;
}
.footer-col{ flex: 0 1 160px; min-width: 140px; }
.footer-col.footer-brand{ flex: 1.6 1 220px; min-width: 200px; padding-right: 12px; }
.footer-col h5{ color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 700; }
.footer-col ul{ list-style: none; padding: 0; margin: 0; }
.footer-col li{ margin-bottom: 8px; }
.footer-col a{ color: #a1a1aa; text-decoration: none; }
.footer-col a:hover{ color: var(--brand); }
.footer-col .ft-plain{ color: #a1a1aa; }
.footer-col p{ margin: 0 0 8px; line-height: 1.6; }
.footer-brand .brand-mark{
  width: 56px; height: auto; border-radius: 8px; margin-bottom: 14px;
  box-shadow: none; background: transparent; object-fit: contain;
}
.footer-brand .brand-title{ font-size: 17px; margin-bottom: 6px; }
.footer-brand .brand-tag{ color: var(--footer-muted-link); font-size: 13px; line-height: 1.6; margin: 0; }
.footer-qr-col img.footer-qr{
  width: 110px; height: 110px; object-fit: cover; border-radius: 10px;
  background: var(--surface); padding: 6px; box-sizing: border-box;
}
/* 「加入卢湾跑团」二维码二：不加白底衬，保留码自身白底 */
.footer-qr-col img.footer-qr.qr2{
  background: transparent; padding: 0; border-radius: 8px;
}
.footer-bottom{
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  color: var(--footer-muted); font-size: 13px;
}
.footer-bottom .meta{ display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.footer-bottom .links{ display: flex; gap: 16px; }
.footer-bottom a{ color: var(--footer-muted-link); text-decoration: none; }
.footer-bottom a:hover{ color: var(--footer-muted-link-hover); }
.footer-extra{ margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); color: var(--footer-muted); font-size: 12px; text-align: center; line-height: 1.8; }
.footer-extra a{ color: var(--footer-muted-link); text-decoration: none; }
.footer-extra a:hover{ color: var(--footer-muted-link-hover); }

/* ===== Listing pages (blog / album / training / events) ===== */
.page-head{
  padding: 80px 0 56px;
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--bg-band) 100%);
  text-align: center;
}
.page-head h1{ font-size: 44px; margin: 0 0 14px; font-weight: 800; letter-spacing: -.5px; }
.page-head p{ color: var(--ink-3); margin: 0; font-size: 18px; max-width: 700px; margin-left: auto; margin-right: auto; }
@media (max-width: 720px){
  .page-head{ padding: 48px 0 32px; }
  .page-head h1{ font-size: 32px; }
}

/* 博客归档分类 */
.archives-grid{ display: grid; grid-template-columns: 1fr 280px; gap: 32px; }
.archives-side{
  position: sticky; top: calc(var(--header-h) + 24px);
  align-self: start;
}
.archive-group{
  margin-bottom: 24px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.archive-year{
  font-size: 22px; font-weight: 700; color: var(--brand-deep);
  margin: 0 0 8px;
}
.archive-months{ display: flex; flex-direction: column; gap: 2px; }
.archive-months a{
  display: block; padding: 6px 10px;
  color: var(--ink-2); font-size: 14px; border-radius: 6px;
}
.archive-months a:hover{ background: var(--brand-soft); color: var(--brand-deep); }
.archive-months a.active{ background: var(--brand); color: var(--ink-on-brand); }
@media (max-width: 880px){
  .archives-grid{ grid-template-columns: 1fr; }
  .archives-side{ position: static; }
}

.post-row{
  display: flex; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.post-row:last-child{ border-bottom: none; }
.post-row-cover{
  flex: 0 0 220px; aspect-ratio: 4/3; border-radius: 12px;
  background: var(--brand-soft); overflow: hidden;
}
.post-row-cover img{ width: 100%; height: 100%; object-fit: cover; }
.post-row-cover .ph{
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-deep); font-size: 28px; font-weight: 700;
}
.post-row-body{ flex: 1; }
.post-row-cat{ font-size: 12px; color: var(--brand-deep); font-weight: 600; }
.post-row-top{ display:inline-block; font-size: 11px; font-weight: 700; color: var(--ink-on-brand); background: var(--brand); padding: 1px 8px; border-radius: 10px; margin-right: 6px; vertical-align: 1px; }
.post-row-title{ font-size: 22px; font-weight: 700; margin: 6px 0 8px; line-height: 1.3; }
.post-row-title a{ color: var(--ink-1); }
.post-row-title a:hover{ color: var(--brand-deep); }
.post-row-excerpt{ color: var(--ink-3); font-size: 14px; margin: 0 0 14px; line-height: 1.65; }
.post-row-meta{ color: var(--ink-3); font-size: 13px; }
@media (max-width: 720px){
  .post-row{ flex-direction: column; gap: 16px; }
  .post-row-cover{ flex: none; aspect-ratio: 16/10; }
}

/* 文章详情 */
.article{
  max-width: 760px; margin: 0 auto;
  padding: 56px 0 80px;
}
.article-head{ text-align: center; margin-bottom: 40px; }
.article-title{ font-size: 38px; font-weight: 800; margin: 0 0 14px; line-height: 1.3; }
.article-meta{ color: var(--ink-3); font-size: 14px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.article-cover{
  width: 100%; aspect-ratio: 16/9; margin-bottom: 40px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--brand-soft);
}
.article-cover img{ width: 100%; height: 100%; object-fit: cover; }
.article-body{
  font-size: 17px; line-height: 1.85; color: var(--ink-1);
}
.article-body h2{ font-size: 26px; margin: 1.6em 0 .8em; font-weight: 700; }
.article-body h3{ font-size: 21px; margin: 1.4em 0 .6em; font-weight: 700; }
.article-body p{ margin: 1em 0; }
.article-body img{ border-radius: 12px; margin: 1.2em 0; }
.article-body a{ text-decoration: underline; }
.article-body blockquote{
  margin: 1.6em 0; padding: 16px 20px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft); border-radius: 8px;
  color: var(--ink-2);
}
.article-body code{ background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.article-body pre{ background: #1a1a1a; color: #fafafa; padding: 16px; border-radius: 8px; overflow-x: auto; }
.article-body pre code{ background: transparent; padding: 0; color: #fafafa; }
.article-body ul, .article-body ol{ padding-left: 26px; margin: 1em 0; }
.article-body li{ margin: .4em 0; }
.article-body table{ width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.article-body th, .article-body td{ border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article-body th{ background: var(--bg-soft); font-weight: 600; }

/* 评论 */
.comments-section{
  max-width: 760px; margin: 60px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.comments-section h3{ font-size: 22px; margin: 0 0 24px; font-weight: 700; }
.comment{
  display: flex; gap: 14px; margin-bottom: 24px;
  padding: 16px; background: var(--bg-soft); border-radius: 12px;
}
.comment-avatar{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--brand-deep);
  flex-shrink: 0;
}
.comment-body{ flex: 1; }
.comment-head{ display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.comment-name{ font-weight: 600; font-size: 15px; }
.comment-time{ font-size: 12px; color: var(--ink-3); }
.comment-text{ color: var(--ink-2); font-size: 15px; margin: 0; white-space: pre-wrap; }

.comment-form{ margin-top: 24px; padding: 24px; background: var(--bg-soft); border-radius: 12px; }
.comment-form h4{ margin: 0 0 16px; font-size: 17px; font-weight: 700; }
.comment-form .who{ display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-form textarea{
  width: 100%; min-height: 100px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px;
  resize: vertical; font-size: 15px;
}
.comment-form textarea:focus{ outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }

/* 相册分类卡片 */
.album-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.album-card{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .15s;
}
.album-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-1); }
.album-cover{
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand-soft), var(--page-hero-to));
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
  position: relative; overflow: hidden;
}
.album-cover img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-card:hover .album-cover img{ transform: scale(1.04); }
.album-cover .ph{
  color: var(--brand-deep); font-weight: 700; font-size: 60px; opacity: .6;
}
.album-body{ padding: 18px 20px 22px; }
.album-cat{
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
  background: var(--brand-soft); color: var(--brand-deep);
  margin-bottom: 6px;
}
.album-title{ font-size: 16px; font-weight: 700; margin: 4px 0 4px; line-height: 1.4; }
.album-meta{ font-size: 13px; color: var(--ink-3); display: flex; gap: 12px; }
@media (max-width: 880px){ .album-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px){ .album-grid{ grid-template-columns: 1fr; } }

/* 训练 */
.training-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.training-card{
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.training-card .when{
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: var(--brand); color: var(--ink-on-brand); font-size: 13px; font-weight: 600;
  margin-bottom: 10px;
}
.training-card h3{ font-size: 19px; margin: 0 0 10px; font-weight: 700; }
.training-card .where{ color: var(--ink-3); font-size: 14px; margin-bottom: 12px; }
.training-card .content{ color: var(--ink-2); font-size: 14px; line-height: 1.65; }
@media (max-width: 720px){ .training-grid{ grid-template-columns: 1fr; } }

/* 关于 */
.about-page{ max-width: 800px; margin: 0 auto; }
.about-page .rich-body{ font-size: 17px; line-height: 1.85; }
.about-page .rich-body img{ border-radius: 12px; margin: 1.2em 0; max-width: 100%; height: auto; }
.about-page .rich-body iframe{ width: 100%; max-width: 720px; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 1.2em auto; display: block; background: #10131a; }
.about-page .rich-body video{ max-width: 100%; border-radius: 12px; margin: 1.2em auto; display: block; }
.about-page .rich-body p{ margin: 1em 0; }
.about-page .rich-body h2{ font-size: 26px; margin: 1.6em 0 .8em; }
.about-page .rich-body h3{ font-size: 21px; margin: 1.4em 0 .6em; }
/* ===== 关于页富文本：补全列表 / 引用 / 分隔线样式（2026-09-13）=====
   背景：.rich-body 原先只定义了 img / iframe / video / p / h2 / h3，
   列表 ul、ol、引用 blockquote、分隔线 hr、链接 a 均无样式，走浏览器默认值。
   导致「比赛奖项 / 媒体报道」这类以列表为主的内容在手机上表现为：
   ul 左内边距固定 40px（占 342px 容器的 12%），li 无行间距，
   数十条奖项挤成一片，可读性极差；blockquote 无左边框，与正文无法区分。
   此处按 .post-body 的既有风格补齐，保证与站内其他富文本观感一致。 */
.about-page .rich-body ul,
.about-page .rich-body ol{ padding-left: 22px; margin: 1em 0; }
.about-page .rich-body li{ margin: .55em 0; }
.about-page .rich-body li > ul,
.about-page .rich-body li > ol{ margin: .4em 0; }
.about-page .rich-body blockquote{
  margin: 1.2em 0; padding: 12px 18px;
  background: var(--brand-soft); border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0; color: var(--ink-2); font-size: 15px; line-height: 1.7;
}
.about-page .rich-body blockquote p{ margin: .3em 0; }
.about-page .rich-body hr{
  border: 0; height: 1px; background: var(--line); margin: 2.4em 0;
}
.about-page .rich-body a{ color: var(--brand-deep); text-decoration: underline; }
.about-page .rich-body strong{ color: var(--ink-1); }
/* 手机端：进一步收紧缩进，把宽度还给正文 */
@media (max-width: 640px){
  .about-page .rich-body{ font-size: 16px; line-height: 1.8; }
  .about-page .rich-body ul,
  .about-page .rich-body ol{ padding-left: 18px; }
  .about-page .rich-body li{ margin: .6em 0; }
  .about-page .rich-body h2{ font-size: 22px; }
  .about-page .rich-body h3{ font-size: 18px; margin: 1.2em 0 .5em; }
  .about-page .rich-body blockquote{ padding: 10px 14px; font-size: 14px; }
}

/* 活动赛事：嵌入 cert-query 入口 */
.event-entry{
  background: linear-gradient(135deg, var(--brand), #f0c000);
  color: var(--ink-on-brand); padding: 56px 32px; border-radius: var(--radius-lg);
  text-align: center; margin-top: 32px;
}
.event-entry h2{ font-size: 32px; margin: 0 0 16px; font-weight: 800; color: var(--ink-on-brand); }
.event-entry p{ color: rgba(255,255,255,.88); font-size: 17px; margin: 0 0 28px; }
.event-entry .btn-primary{ background: var(--ink-on-brand); color: #ffe53b; box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.event-entry .btn-primary:hover{ background: var(--page-hero-to); color: var(--brand-deep); }

/* 活动赛事 Hero（新设计：左文本 + 右数据条） */
.event-hero{
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, #f0c000 100%);
  color: var(--ink-on-brand); padding: 48px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  position: relative; overflow: hidden;
}
.event-hero::after{
  content: ''; position: absolute; top: -60%; right: -20%; width: 600px; height: 600px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%);
  pointer-events: none;
}
.event-hero-text{ position: relative; z-index: 1; }
.event-hero-badge{
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--glass-2); backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  margin-bottom: 14px;
}
.event-hero h2{ font-size: 34px; margin: 0 0 14px; font-weight: 800; color: var(--ink-on-brand); line-height: 1.25; }
.event-hero p{ color: rgba(28,35,48,.85); font-size: 16px; margin: 0 0 28px; line-height: 1.7; }
.event-hero-actions{ display: flex; gap: 12px; flex-wrap: wrap; }
.event-hero .btn-primary{ background: var(--ink-on-brand); color: #ffe53b; box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.event-hero .btn-primary:hover{ background: #2c3548; color: #ffe53b; }
.event-hero .btn-secondary{ background: var(--glass-2); color: var(--ink-on-brand); border: 1px solid rgba(28,35,48,.35); }
.event-hero .btn-secondary:hover{ background: var(--glass-3); color: var(--ink-on-brand); }
.event-hero-stats{
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  position: relative; z-index: 1;
}
.event-stat{
  background: var(--glass-2); backdrop-filter: blur(6px);
  padding: 18px 12px; border-radius: 14px; text-align: center;
  border: 1px solid rgba(28,35,48,.18);
}
.event-stat-value{ font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--ink-on-brand); }
/* 对比度修正：原来白色 85% 压在浅金玻璃卡上几乎看不清（无头浏览器实测） */
.event-stat-label{ font-size: 12px; color: rgba(28,35,48,.72); margin-top: 4px; font-weight: 500; }
@media (max-width: 720px){
  .event-hero{ grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .event-hero h2{ font-size: 26px; }
  .event-hero-stats{ grid-template-columns: repeat(3, 1fr); }
  .event-stat-value{ font-size: 20px; }
  .event-stat-label{ font-size: 11px; }
}

/* 章节头 */
.section-head{ text-align: center; margin-bottom: 32px; }
.section-head h2{ font-size: 30px; margin: 0 0 8px; font-weight: 800; letter-spacing: -.3px; }
.section-head p{ color: var(--ink-3); margin: 0; font-size: 15px; }
@media (max-width: 720px){
  .section-head h2{ font-size: 24px; }
}

/* 赛事卡片网格 */
.event-cards{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.event-card{
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .2s;
  text-decoration: none; color: inherit;
}
.event-card:hover{
  transform: translateY(-3px); box-shadow: var(--shadow-2);
  border-color: var(--brand);
}
.event-card-cover{
  aspect-ratio: 16/10; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
}
.event-card-cover img{ width: 100%; height: 100%; object-fit: cover; }
.event-card-cover .ph{
  font-size: 36px; font-weight: 700; color: var(--brand-deep);
}
.event-card-body{ padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.event-card-meta{
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.event-card-date{ font-size: 12px; color: var(--ink-3); }
.event-card-title{
  font-size: 17px; font-weight: 700; margin: 0 0 8px;
  line-height: 1.4; color: var(--ink-1);
}
.event-card:hover .event-card-title{ color: var(--brand-deep); }
.event-card-excerpt{
  font-size: 13px; color: var(--ink-3); margin: 0;
  line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card-foot{
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-3);
}
/* 赛事卡片里的报名入口（2026-09-23）：卡片本身是 <a>，所以这里只能用非 <a> 元素，
   靠 JS 拦冒泡跳转，样式上自己长得像按钮。 */
.event-card-foot{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.event-card-foot > span:first-child{ flex: 1; min-width: 0; }
.ev-reg-cta{
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.ev-reg-cta.is-open{
  /* 金底必须压深色文字：原来用 --brand-deep 是「金字压金底」，只有 2:1 */
  background: var(--brand); color: var(--ink-on-brand);
  cursor: pointer; transition: .18s;
}
.ev-reg-cta.is-open:hover{ transform: translateY(-1px); box-shadow: 0 4px 12px rgba(224,22,44,.18); }
.ev-reg-cta.is-off{ background: var(--surface-2); color: var(--off-fg); cursor: not-allowed; }

/* tag 通用（赛事状态用）— 复用文章详情页的 .tag 基础样式 */
.tag-blue{ background: #dbeafe; color: #1e40af; }
.tag-green{ background: #dcfce7; color: #166534; }
.tag-orange{ background: #fed7aa; color: #c2410c; }
.tag-gray{ background: var(--surface-2); color: var(--tag-gray-fg); }

/* 服务三件套 */
.event-services{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.event-service{
  display: block; padding: 32px 24px;
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
  text-align: center; transition: all .2s; text-decoration: none; color: inherit;
}
.event-service:hover{
  transform: translateY(-3px); box-shadow: var(--shadow-2);
  border-color: var(--brand);
}
.event-service-icon{ font-size: 44px; margin-bottom: 14px; }
.event-service h3{ font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.event-service p{ font-size: 14px; color: var(--ink-3); margin: 0 0 16px; line-height: 1.65; }
.event-service-link{
  font-size: 14px; color: var(--brand); font-weight: 600;
}
.event-service:hover .event-service-link{ color: var(--brand-deep); }
@media (max-width: 720px){
  .event-services{ grid-template-columns: 1fr; gap: 16px; }
  .event-service{ padding: 24px 20px; }
}

/* 空态 */
.empty-state{
  text-align: center; padding: 60px 20px; color: var(--ink-3);
  background: var(--bg-soft); border-radius: var(--radius); margin: 24px 0;
}
.empty-state .emoji{ font-size: 48px; display: block; margin-bottom: 12px; }
.empty-state p{ margin: 4px 0; }

/* 12 周年 */
.years-hero{
  text-align: center; padding: 100px 0 60px;
  background: linear-gradient(180deg, #1a1a1a 0%, #2d2710 100%);
  color: #fff; position: relative; overflow: hidden;
}
.years-hero::after{
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,229,59,.2), transparent 60%);
  pointer-events: none;
}
.years-hero .container{ position: relative; z-index: 1; }
.years-num{
  display: inline-block; font-size: 200px; font-weight: 900; line-height: .85;
  background: linear-gradient(135deg, var(--brand), #ffe082);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -10px;
}
.years-title{ font-size: 38px; margin: 12px 0 14px; font-weight: 800; letter-spacing: -.5px; }
.years-tag{ font-size: 17px; color: #d1d5db; margin: 0 0 30px; }
.years-stats{
  display: flex; gap: 48px; justify-content: center;
  margin-top: 36px; flex-wrap: wrap;
}
.years-stats .s{ text-align: center; }
.years-stats .n{ font-size: 36px; font-weight: 800; color: var(--brand-bright); }
.years-stats .l{ font-size: 13px; color: #9ca3af; margin-top: 4px; }
@media (max-width: 720px){
  .years-hero{ padding: 60px 0 40px; }
  .years-num{ font-size: 120px; }
  .years-title{ font-size: 28px; }
  .years-stats{ gap: 24px; }
}

.timeline{ max-width: 760px; margin: 56px auto; padding: 0 24px; }
.timeline-item{
  display: flex; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-year{
  flex: 0 0 100px; font-weight: 700; color: var(--brand-deep); font-size: 22px;
}
.timeline-body{ flex: 1; }
.timeline-body h3{ font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.timeline-body p{ color: var(--ink-2); margin: 0; }
@media (max-width: 480px){
  .timeline-item{ flex-direction: column; gap: 8px; }
}

/* ===== 12 周年活动专区 / Logo 墙 / 简介抽屉（2026-09-08 完整落地页化） ===== */
.ayev-label{
  font: 600 12px/1.4 "SF Mono", Consolas, monospace;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep); margin: 0 0 12px;
}
.ayev-head{ text-align: center; max-width: 760px; margin: 0 auto 52px; }
.ayev-body{
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 46px;
  align-items: center; max-width: 1000px; margin: 0 auto;
}
.ayev-lead{ font-size: 17px; line-height: 1.85; color: var(--ink-2); margin: 0 0 22px; }
.ayev-meta{ display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink-3); font-size: 14px; margin: 0 0 26px; }
.ayev-facts{ display: flex; gap: 14px; margin: 0 0 30px; flex-wrap: wrap; }
.ayev-fact{
  flex: 1 1 108px; padding: 16px 12px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-align: center;
}
.ayev-fact .n{ font-size: 30px; font-weight: 800; line-height: 1; color: var(--brand-deep); }
.ayev-fact .l{ font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.ayev-actions{ display: flex; gap: 12px; flex-wrap: wrap; }
.ayev-poster img{
  width: 100%; display: block; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
}
.ayev-poster-cap{ text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.ayev-extra{
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px;
  max-width: 1000px; margin: 52px auto 0;
}
.ayev-card{
  padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line);
}
.ayev-card .ayev-label{ margin-bottom: 18px; }
.ayev-sched{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ayev-sched .t{
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.ayev-sched .t b{ font-size: 14px; font-weight: 700; color: var(--brand-deep); font-family: "SF Mono", Consolas, monospace; }
.ayev-sched .t span{ font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.ayev-rule{ padding: 14px 0; border-bottom: 1px dashed var(--line); }
.ayev-rule:first-of-type{ padding-top: 0; }
.ayev-rule:last-child{ border-bottom: 0; padding-bottom: 0; }
.ayev-rule h3{ font-size: 15.5px; margin: 0 0 6px; font-weight: 700; }
.ayev-rule p{ font-size: 13px; line-height: 1.7; color: var(--ink-3); margin: 0; }
@media (max-width: 880px){
  .ayev-body{ grid-template-columns: 1fr; gap: 34px; }
  .ayev-poster{ max-width: 400px; margin: 0 auto; width: 100%; }
  .ayev-extra{ grid-template-columns: 1fr; margin-top: 40px; }
  .ayev-sched{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .ayev-sched{ grid-template-columns: 1fr; }
}

/* ===== 12 周年 logo 墙 ===== */
.aw{
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 14px;
}
.aw-card{
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 10px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  font-family: inherit;
}
.aw-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--brand); }
.aw-logo{
  width: 66px; height: 66px; flex: 0 0 66px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--bc, #333);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.92), 0 2px 6px rgba(28,35,48,.14);
}
/* 2026-09-13：抓到真实 logo 的卡片改用圆角方框 + contain（无图仍用圆形字母块） */
.aw-logo.has-img{
  width: 100%; height: 82px; flex: 0 0 82px; border-radius: 14px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  padding: 9px 11px;
}
.aw-logo-letter{ color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.aw-logo-img{ width: 100%; height: 100%; object-fit: contain; border-radius: 10px; display: block; }
.aw-name{ font-size: 14.5px; font-weight: 700; color: var(--ink-1); text-align: center; line-height: 1.35; }
.aw-founded{ font-size: 12px; color: var(--ink-3); }

/* ===== 12 周年品牌简介抽屉 ===== */
.aydr{ position: fixed; inset: 0; z-index: 1200; visibility: hidden; pointer-events: none; }
.aydr.open{ visibility: visible; pointer-events: auto; }
.aydr-mask{
  position: absolute; inset: 0; background: rgba(15,18,24,.55);
  opacity: 0; transition: opacity .25s;
}
.aydr.open .aydr-mask{ opacity: 1; }
.aydr-panel{
  position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 94vw);
  background: var(--surface); box-shadow: -12px 0 40px rgba(0,0,0,.18);
  transform: translateX(104%); transition: transform .28s ease;
  display: flex; flex-direction: column;
}
.aydr.open .aydr-panel{ transform: none; }
.aydr-close{
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  font-size: 20px; line-height: 1; color: var(--ink-2); cursor: pointer; z-index: 2;
}
.aydr-head{
  display: flex; gap: 18px; align-items: center;
  padding: 30px 28px 22px; border-bottom: 1px solid var(--line);
}
.aydr-logo-circle{
  width: 86px; height: 86px; flex: 0 0 86px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.9);
}
.aydr-logo-circle .aw-logo-letter{ font-size: 30px; }
/* 2026-09-13：抽屉里有真实 logo 时用白底圆角框（不再用彩色圆） */
.aydr-logo-box{
  width: 96px; height: 96px; flex: 0 0 96px; border-radius: 16px; background: var(--surface);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); padding: 9px;
}
.aydr-logo-box .aw-logo-img{ border-radius: 10px; }
.aydr-cat{
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 7px;
  font-family: "SF Mono", Consolas, monospace;
}
.aydr-id h3{ font-size: 23px; font-weight: 800; margin: 0 0 5px; }
.aydr-founded{ font-size: 12.5px; color: var(--ink-3); }
.aydr-desc{
  flex: 1; overflow: auto; margin: 0; padding: 24px 28px 44px;
  font-size: 15px; line-height: 1.9; color: var(--ink-2);
}

/* ===== Toast ===== */
.toast-host{
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 9999; pointer-events: none;
}
.toast{
  padding: 12px 20px; margin-bottom: 8px; border-radius: 10px;
  background: rgba(15,23,42,.92); color: #fff; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  animation: toast-in .25s ease-out;
}
.toast.toast-error{ background: rgba(220,38,38,.92); }
.toast.toast-success{ background: rgba(22,163,74,.92); }
@keyframes toast-in{
  from{ opacity: 0; transform: translateY(-8px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* loading */
.page-loading{ text-align: center; padding: 80px 24px; color: var(--ink-3); }
.page-loading::after{
  content: ''; display: inline-block; width: 18px; height: 18px;
  border: 2px solid var(--brand); border-top-color: transparent;
  border-radius: 50%; animation: spin 1s linear infinite;
  margin-left: 8px; vertical-align: middle;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ==========================================================================
   卡片与链接的统一微交互（2026-09-25）
   原先各组件各写各的 .15s / .18s，手感参差；这里统一时长与缓动，
   并把「悬浮位移 = var(--lift)、悬浮阴影 = var(--shadow-3)」定为全站一致语言。
   ========================================================================== */
/* 原本没有 hover 态的卡片，补上同一套语言 */
.training-card:hover, .ld-card:hover, .tl-card:hover{
  transform: translate3d(0, var(--lift), 0);
  box-shadow: var(--shadow-3);
  border-color: var(--line-strong);
}
/* 封面图 hover 轻微推近（与 album-cover 已有的 zoom 保持一致手感，放大到 1.05） */
.post-cover img{ transition: transform var(--dur-slow) var(--ease-out); }
.post-card:hover .post-cover img{ transform: scale(1.05); }
.post-row-cover img{ transition: transform var(--dur-slow) var(--ease-out); }
.post-row:hover .post-row-cover img{ transform: scale(1.05); }

/* 页脚链接：hover 时右移 2px，给出「可点」的轻反馈 */
.footer-col a{ display: inline-block; transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.footer-col a:hover{ transform: translateX(2px); color: var(--brand); }
.footer-bottom a, .footer-extra a{ transition: color var(--dur-fast) var(--ease); }

/* 正文链接：下划线由左侧展开（比常显下划线更干净） */
.article-body a,
.post-body a,
.about-page .rich-body a,
.pod-notes-body a:not(.ts){
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur) var(--ease-out), color var(--dur-fast) var(--ease);
}
.article-body a:hover,
.post-body a:hover,
.about-page .rich-body a:hover,
.pod-notes-body a:not(.ts):hover{ background-size: 100% 1px; }

/* 上述封面淡入的过渡（写在后面以拿到更高覆盖顺序）
   🔴 必须带上 transform：album-cover 原本自己有 `transition: transform .5s`，
   这里若只写 opacity 会把 hover 推近动画覆盖成瞬时。 */
.js-rv .reveal .post-cover img,
.js-rv .reveal .album-cover img,
.js-rv .reveal .media-cover-img{
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

/* ==========================================================================
   无障碍降级：系统开启「减少动态效果」时，动效全部退化为瞬间切换
   （入场动作用 !important 兜底，避免 JS 加了 is-in 反而残留 transform）
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; scroll-padding-top: var(--header-h); }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js-rv .reveal{ opacity: 1 !important; transform: none !important; }
  .btn::after{ display: none; }
  .hero-figure:hover{ transform: none; }
  .alb-photo:hover img{ transform: none; }
}

/* empty */
.empty-state{
  text-align: center; padding: 80px 24px; color: var(--ink-3);
}
.empty-state .emoji{ font-size: 56px; display: block; margin-bottom: 12px; opacity: .5; }
.empty-state p{ margin: 0; }

/* ===== 博客分类 tab + 归档样式 ===== */
.blog-toolbar{ display:flex; align-items:center; gap:12px; margin-bottom:24px; flex-wrap: wrap; }
.cat-tabs{ display:flex; flex-wrap:wrap; gap:8px; }
.cat-tab{
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
  --cat-color: #b09800;
}
.cat-tab:hover{ border-color: var(--cat-color); color: var(--cat-color); }
.cat-tab.active{ background: var(--cat-color); color: var(--ink-on-brand); border-color: var(--cat-color); font-weight: 600; }

.archives-side h3{ font-size: 15px; margin: 0 0 12px; font-weight: 700; }
.blog-pager{
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
}
.pager-btn{
  min-width: 36px; height: 36px; padding: 0 11px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  border-radius: 8px; font-size: 14px; cursor: pointer; transition: all .15s;
}
.pager-btn:hover:not(:disabled):not(.active){ border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.pager-btn.active{ background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; font-weight: 700; }
.pager-btn:disabled{ opacity: .45; cursor: not-allowed; }
.pager-gap{ color: var(--ink-3); padding: 0 2px; }
.pager-info{ margin-left: auto; color: var(--ink-3); font-size: 13px; }
.arch-year{ margin-bottom: 14px; }
.arch-year h4{ margin: 0 0 6px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.arch-month{
  display: inline-block; padding: 3px 8px; margin: 2px 2px 2px 0;
  border-radius: 5px; font-size: 12px; color: var(--ink-2);
  text-decoration: none; transition: all .15s;
}
.arch-month:hover{ background: var(--brand-soft); color: var(--brand-deep); }
.arch-month.active{ background: var(--brand); color: var(--ink-on-brand); }
.arch-count{ margin-left: 4px; font-size: 11px; opacity: .7; }

/* ===== 文章详情页 ===== */
.post-page{ max-width: 800px; padding-top: 32px; padding-bottom: 24px; }
/* 🔴 必须限 .post-page 作用域：裸 .post-cover 会泄漏命中首页卡片的 div.post-cover
   （aspect-ratio 被改成 16/9、多出 margin-bottom 28px，首页卡片封面→文字间距从 24px 虚增至 52px） */
.post-page .post-cover{ width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 28px; }
.post-article{ padding: 0 0 32px; }
.post-meta-top{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; color: var(--ink-3); font-size:13px; margin-bottom:12px; }
.post-src{ font-size: 13px; font-weight: 600; color: var(--brand-deep); text-decoration: none; padding: 2px 10px; border: 1px solid var(--brand-deep); border-radius: 999px; transition: all .15s; }
.post-src:hover{ background: var(--brand); color: var(--ink-on-brand); border-color: var(--brand); }
.post-meta-top .post-row-cat{ background: var(--brand-soft); color: var(--brand-deep); padding:2px 10px; border-radius: 12px; font-weight:600; font-size:12px; }
.post-title{ font-size: 32px; font-weight: 800; line-height: 1.3; margin: 0 0 16px; color: var(--ink-1); }
.post-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom: 24px; }
.tag{ background: var(--surface-2); color: var(--ink-2); padding: 2px 10px; border-radius: 10px; font-size: 12px; }
.post-body{ font-size: 16px; line-height: 1.8; color: var(--ink-1); }
.post-body p{ margin: 0 0 16px; }
.post-body h1, .post-body h2, .post-body h3, .post-body h4{ margin: 28px 0 14px; line-height: 1.4; }
.post-body h1{ font-size: 26px; }
.post-body h2{ font-size: 22px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.post-body h3{ font-size: 19px; color: var(--brand-deep); }
.post-body img{ max-width: 100%; border-radius: 10px; margin: 12px 0; }
.post-body blockquote{ margin: 18px 0; padding: 12px 18px; background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0; color: var(--ink-2); }
.post-body pre{ background: #1e293b; color: #f1f5f9; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-family: ui-monospace,Consolas,monospace; font-size: 14px; }
.post-body code{ background: var(--surface-2); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.post-body pre code{ background: transparent; padding: 0; }
.post-body ul, .post-body ol{ margin: 0 0 16px; padding-left: 28px; }
.post-body table{ border-collapse: collapse; margin: 18px 0; width: 100%; }
.post-body th, .post-body td{ border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.post-body th{ background: var(--surface-2); }
.post-body a{ color: var(--brand-deep); text-decoration: underline; }

/* 评论区（新风格） */
/* ⚠️ 用户留言功能已全站关闭（2026-09-21）：此规则兜底隐藏，删除它无法恢复留言，需同时改 post.html 的 FEATURES.comments */
.comments-section[hidden]{ display: none !important; }
.comments-section{ background: var(--surface-2); padding: 48px 0; }
.comments-wrap .card{ padding: 24px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-1); }
.comment-form{ margin-top: 18px; }
.comment-form .input, .comment-form .textarea{ width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.comment-list{ display:flex; flex-direction: column; gap: 16px; }
.comment-row{ display:flex; gap:12px; padding: 14px 0; border-top: 1px solid var(--line); }
.comment-row:first-child{ border-top: none; }
.comment-avatar{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: var(--ink-on-brand); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.comment-body{ flex: 1; min-width: 0; }
.comment-body strong{ font-size: 14px; }

/* 通用 input/textarea（前台） */
.input{ padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.textarea{ padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; width: 100%; resize: vertical; }

/* 移动适配 */
@media (max-width: 720px){
  .post-title{ font-size: 26px; }
  .post-body{ font-size: 15px; }
  .post-article{ padding: 0; }
  .archives-grid{ grid-template-columns: 1fr; }
}

/* ===== 文章页：上一篇 / 下一篇 ===== */
.post-nav{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-nav-card{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  min-height: 70px;
}
.post-nav-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: var(--brand);
}
.post-nav-card.is-empty{
  background: var(--surface-2);
  color: var(--ink-3);
  cursor: default;
  pointer-events: none;
}
.post-nav-card.is-empty:hover{ transform: none; box-shadow: none; border-color: var(--line); }
.post-nav-label{
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  display: flex; align-items: center; gap: 4px;
  letter-spacing: .5px;
}
.post-nav-card.is-prev .post-nav-label::before{ content: '← '; }
.post-nav-card.is-next{ text-align: right; align-items: flex-end; }
.post-nav-card.is-next .post-nav-label::after{ content: ' →'; }
.post-nav-title{
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-meta{
  font-size: 12px;
  color: var(--ink-3);
}
@media (max-width: 720px){
  .post-nav{ grid-template-columns: 1fr; }
  .post-nav-card.is-next{ text-align: left; align-items: flex-start; }
  .post-nav-card.is-next .post-nav-label::after{ content: ''; }
  .post-nav-card.is-next .post-nav-label::before{ content: '→ '; }
}

/* ===== 播客（podcasts.html / podcast.html / 底部播放器） ===== */

.pod-row{ display:flex; gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.pod-row:last-child{ border-bottom:none; }
.pod-row-cover{ width:104px; height:104px; border-radius:12px; overflow:hidden; flex:none; background: var(--surface-4); }
.pod-row-cover img{ width:100%; height:100%; object-fit:cover; }
.pod-row-cover .ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:30px; }
.pod-row-body{ flex:1; min-width:0; }
.pod-row-title{ font-size:20px; font-weight:700; margin:2px 0 6px; line-height:1.35; color:var(--ink-1); }
.pod-row-excerpt{ color:var(--ink-3); font-size:14px; margin:0 0 10px; line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pod-row-meta{ display:flex; align-items:center; flex-wrap:wrap; gap:14px; color:var(--ink-3); font-size:13px; }
.pod-play{ width:34px; height:34px; border-radius:50%; border:none; background: var(--brand); color:var(--ink-on-brand); font-size:13px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; transition:.15s; box-shadow:0 2px 8px rgba(0,0,0,.12); }
.pod-play:hover{ transform:scale(1.1); background: var(--brand-deep); color: var(--pod-play-fg); }
/* 正在播放的行内按钮：变深底 + 暂停图标 */
.pod-play.is-playing{ background: var(--brand-deep); color: var(--pod-play-fg); }
.pod-play.is-playing:hover{ background: var(--brand); color:var(--ink-on-brand); }

/* 播客页：左列列表 / 右列介绍+平台 */
.pod-layout{ display:grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.pod-main{ min-width:0; }
.pod-side{
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.pod-side-card{
  background: var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:20px 22px; box-shadow:0 1px 2px rgba(0,0,0,.02);
}
.pod-side-card h3{
  font-size:15px; font-weight:700; margin:0 0 12px; color:var(--ink-1);
  display:flex; align-items:center; gap:6px;
}
.pod-intro-body{
  color:var(--ink-2); font-size:13.5px; line-height:1.85;
  word-break:break-word;
}
.pod-platforms-list{ display:flex; flex-direction:column; gap:8px; }
.pod-platform-card{
  display:flex; align-items:center; gap:10px;
  padding:10px 14px; border:1.5px solid var(--line); border-radius:10px;
  background: var(--surface); color:var(--ink-1); text-decoration:none;
  font-size:14px; font-weight:600; transition:.15s;
}
.pod-platform-card:hover{
  border-color:var(--brand); background: var(--brand-soft); color:var(--brand-deep);
  transform:translateY(-1px);
}
.pod-platform-icon{ font-size:18px; line-height:1; }
.pod-platform-label{ flex:1; }

/* 单集详情页：同样用「左正文 / 右侧栏」两栏（与列表页一致） */
.pod-detail-layout{ display:grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 960px){
  .pod-detail-layout{ grid-template-columns: 1fr; }
}

/* 侧栏「最近更新」小列表 */
.pod-recent-list{ display:flex; flex-direction:column; gap:14px; }
.pod-recent-item{ display:flex; gap:10px; text-decoration:none; color:inherit; align-items:flex-start; }
.pod-recent-cover{ width:56px; height:56px; border-radius:8px; overflow:hidden; flex:none; background: var(--surface-4); }
.pod-recent-cover img{ width:100%; height:100%; object-fit:cover; }
.pod-recent-cover .ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:20px; }
.pod-recent-body{ flex:1; min-width:0; }
.pod-recent-title{
  font-size:13.5px; font-weight:600; line-height:1.45; color:var(--ink-1);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.pod-recent-meta{ font-size:12px; color:var(--ink-3); margin-top:3px; }
.pod-recent-item:hover .pod-recent-title{ color:var(--brand-deep); }
.pod-side-more{
  display:block; margin-top:14px; padding-top:12px; border-top:1px solid var(--line);
  font-size:13px; font-weight:600; color:var(--brand-deep); text-decoration:none;
}
.pod-side-more:hover{ text-decoration:underline; }

@media (max-width: 960px){
  .pod-layout{ grid-template-columns: 1fr; }
  .pod-side{ position: static; }
}

.pod-hero{ display:flex; gap:28px; align-items:flex-start; padding:10px 0 26px; border-bottom:1px solid var(--line); }
.pod-hero-cover{ width:200px; height:200px; border-radius:16px; overflow:hidden; flex:none; background: var(--surface-4); box-shadow:var(--shadow-1); }
.pod-hero-cover img{ width:100%; height:100%; object-fit:cover; }
.pod-hero-cover .ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:56px; }
.pod-hero-title{ font-size:30px; font-weight:800; margin:8px 0 12px; line-height:1.3; letter-spacing:-.3px; }
.pod-hero-meta{ display:flex; gap:16px; color:var(--ink-3); font-size:14px; margin-bottom:18px; }
.pod-hero-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.pod-notes{ padding-top:30px; max-width:820px; }
.pod-notes h2{ font-size:20px; font-weight:800; margin:0 0 14px; }
.pod-notes-body{ font-size:15px; line-height:1.8; color:var(--ink-1); }
.pod-notes-body img{ max-width:100%; border-radius:10px; margin:10px 0; }
.pod-notes-body a{ color:var(--brand-deep); }
.pod-notes-body h1,.pod-notes-body h2,.pod-notes-body h3{ font-size:17px; margin:18px 0 8px; }
.pod-notes-body ul,.pod-notes-body ol{ padding-left:22px; margin:8px 0; }
/* Shownotes 时间戳跳转链接 */
.pod-notes-body a.ts{ color:var(--ink-1); background: var(--brand-soft); border:1px solid var(--line); border-radius:5px; padding:0 5px; font-variant-numeric:tabular-nums; text-decoration:none; cursor:pointer; white-space:nowrap; }
.pod-notes-body a.ts:hover{ background: var(--brand); border-color:var(--brand-deep); }

/* 底部常驻播放器 */
.pod-player{ position:fixed; left:0; right:0; bottom:0; z-index:1200; background: #151a24; color:#fff; display:flex; align-items:center; gap:14px; padding:10px 20px; box-shadow:0 -8px 30px rgba(0,0,0,.3); transform:translateY(110%); transition:transform .25s ease; }
.pod-player.is-on{ transform:translateY(0); }
body.has-pod-player{ padding-bottom:72px; }
.pp-cover{ width:46px; height:46px; border-radius:8px; object-fit:cover; background: #2a3140; flex:none; }
.pp-main{ flex:1; min-width:0; }
.pp-title{ font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:5px; }
.pp-track{ height:4px; border-radius:2px; background: #333b4d; cursor:pointer; }
.pp-track:hover{ height:6px; }
.pp-fill{ height:100%; width:0%; border-radius:2px; background: var(--brand); }
.pp-time{ font-size:11px; color:#9aa3b5; white-space:nowrap; font-variant-numeric:tabular-nums; }
.pp-btn{ width:38px; height:38px; border-radius:50%; border:none; background: var(--brand); color:var(--ink-on-brand); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; flex:none; transition:.15s; }
.pp-btn:hover{ transform:scale(1.08); }
/* 收起 / 关闭：同规格圆形图标按钮（28px、透明底、灰图标，hover 同款高亮） */
.pp-mini,
.pp-close{ width:28px; height:28px; border-radius:50%; border:none; background: transparent; color:#8b93a7; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; flex:none; transition:.15s; }
.pp-mini:hover,
.pp-close:hover{ background: rgba(255,255,255,.12); color:#fff; }
/* 收起态：右下角悬浮小胶囊（仅封面+播放/展开/关闭三键，继续播放） */
.pod-player.is-min{
  left:auto; right:14px; bottom:14px; width:auto; max-width:min(92vw,300px);
  gap:6px; padding:5px; border-radius:999px; box-shadow:0 8px 26px rgba(0,0,0,.38);
}
.pod-player.is-min .pp-main,
.pod-player.is-min .pp-time{ display:none; }
.pod-player.is-min .pp-cover{ width:36px; height:36px; border-radius:50%; cursor:pointer; }
.pod-player.is-min .pp-btn{ width:32px; height:32px; }
.pod-player.is-min .pp-btn svg{ width:16px; height:16px; }
.pod-player.is-min .pp-mini,
.pod-player.is-min .pp-close{ width:24px; height:24px; background: rgba(255,255,255,.1); color:#d5dae6; }
.pod-player.is-min .pp-mini:hover,
.pod-player.is-min .pp-close:hover{ color:#fff; }
body.has-pod-player.has-pod-player-min{ padding-bottom:0; }

@media (max-width: 640px){
  .pod-row{ gap:12px; }
  .pod-row-cover{ width:76px; height:76px; border-radius:10px; }
  .pod-row-title{ font-size:17px; }
  .pod-hero{ flex-direction:column; }
  .pod-hero-cover{ width:150px; height:150px; }
  .pod-hero-title{ font-size:23px; }
  .pp-time{ display:none; }
  .pod-player.is-min{ right:12px; bottom:12px; }
}

/* ============ 训练地点详情页（场地地图） ============ */
.ld-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:14px; flex-wrap:wrap; margin-bottom:6px; }
.ld-back{ color:var(--ink-3); font-size:13px; text-decoration:none; }
.ld-back:hover{ color:var(--brand-deep); }
.ld-title{ font-size:28px; font-weight:800; margin:6px 0 4px; letter-spacing:-.3px; line-height:1.3; }
.ld-sub{ color:var(--ink-3); font-size:15px; margin:0 0 10px; }
.ld-tag{ display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--brand-deep); background: var(--brand-soft); border-radius:999px; padding:4px 12px; margin-right:8px; }
.ld-actions{ display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 20px; }
.ld-map-frame{
  position:relative; width:100%; height:340px; border-radius:16px; overflow:hidden;
  border:1px solid var(--line); background: var(--surface-3); box-shadow:var(--shadow-1);
}
.ld-map-frame iframe{ width:100%; height:calc(100% + 92px); margin-top:-92px; border:0; display:block; }  /* 裁掉高德顶部搜索/工具栏 */
.ld-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:18px; margin-top:26px; }
.ld-card{
  background: var(--surface); border:1px solid var(--line); border-radius:14px; padding:18px 20px;
}
.ld-card h3{ display:flex; align-items:center; gap:8px; font-size:16px; font-weight:700; margin:0 0 12px; }
.ld-card .txt{ font-size:14px; color:var(--ink-2); line-height:1.8; white-space:pre-line; margin:0; }
.ld-fac-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.ld-fac{
  display:flex; gap:8px; align-items:flex-start;
  border:1px solid var(--line); border-radius:10px; padding:9px 11px; font-size:13px;
}
.ld-fac .ic{ font-size:17px; line-height:1.4; }
.ld-fac .ok{ color:#15803d; }
.ld-fac .no{ color:#9ca3af; }
.ld-fac b{ display:block; font-size:13px; font-weight:600; color:var(--ink-1); }
.ld-fac .note{ display:block; font-size:12px; color:var(--ink-3); margin-top:2px; line-height:1.5; }
.ld-fac.off{ background: var(--surface-2); }
.ld-park-fee{
  display:inline-block; margin-top:8px; font-size:13px; font-weight:600;
  color:#92400e; background: #fef3c7; border-radius:999px; padding:3px 12px;
}
.ld-empty{ color:var(--ink-3); font-size:14px; padding:16px 0; }
.ld-loading{ padding:60px 0; text-align:center; color:var(--ink-3); }

/* 训练地点 · 现场图（2026-09-25） */
.ld-photos{ margin-top:26px; }
.ld-photos > h3{
  display:flex; align-items:center; gap:8px;
  font-size:16px; font-weight:700; margin:0 0 12px;
}
.loc-ph-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:16px;
}
.loc-ph-item{
  margin:0; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-md,14px); overflow:hidden;
}
.loc-ph-item > img{
  display:block; width:100%; aspect-ratio:4/3; object-fit:cover;
  background:var(--surface-3); border:0; cursor:zoom-in;
}
.loc-ph-item figcaption{
  padding:9px 12px 11px; font-size:13px; line-height:1.65; color:var(--ink-3);
  /* 说明留空时占位高度为 0，网格不会因为空说明多出一截空白 */
  min-height:0;
}
.loc-ph-item figcaption:empty{ display:none; }
@media (max-width: 640px){
  .loc-ph-grid{ grid-template-columns:repeat(2, 1fr); gap:10px; }
}

/* 训练地点列表卡片封面（有现场图才渲染） */
.loc-cover{
  position:relative; margin:-24px -24px 18px; height:150px;
  overflow:hidden; border-radius:var(--radius-lg) var(--radius-lg) 0 0;
  background:var(--surface-3);
}
.loc-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.loc-cover::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.28));
  pointer-events:none;
}
@media (max-width: 720px){
  .ld-title{ font-size:23px; }
  .ld-map-frame{ height:260px; }
  .ld-grid{ grid-template-columns:1fr; }
  .ld-fac-grid{ grid-template-columns:1fr; }
}

/* ===== 关于页：单页右侧 tab ===== */
.about-layout{ display:flex; gap:32px; align-items:flex-start; }
.about-main{ flex:1 1 auto; min-width:0; }
.about-side{ flex:0 0 220px; position:sticky; top:90px; }
.about-tabs{ display:flex; flex-direction:column; gap:8px; background: var(--surface); border:1px solid var(--line); border-radius:14px; padding:10px; box-shadow:0 6px 20px rgba(20,30,60,.05); }
.about-tab{ text-align:left; border:0; background: transparent; padding:12px 14px; border-radius:10px; font-size:15px; font-weight:700; color:var(--ink-2); cursor:pointer; transition:.15s; }
.about-tab:hover{ background: var(--surface-3); }
.about-tab.is-active{ background: var(--brand); color:var(--ink-on-brand); box-shadow:0 4px 12px rgba(255,213,0,.3); }

/* 关于：封面 + 画廊 */
.about-cover{ margin:0 0 20px; border-radius:14px; overflow:hidden; }
.about-cover-img{ width:100%; max-height:420px; object-fit:cover; display:block; }
.about-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:22px; }
.about-gallery-item{ border-radius:12px; overflow:hidden; aspect-ratio:4/3; background: var(--surface-2); }
.about-gallery-img{ width:100%; height:100%; object-fit:cover; display:block; }

/* 时间线 */
.about-panel .timeline{ position:relative; padding-left:4px; }
.tl-item{ display:flex; gap:16px; padding-bottom:26px; position:relative; }
.tl-axis{ position:relative; flex:0 0 18px; display:flex; justify-content:center; }
.tl-axis::before{ content:''; position:absolute; top:8px; bottom:-26px; width:2px; background: linear-gradient(var(--brand),var(--line)); }
.tl-item:last-child .tl-axis::before{ display:none; }
.tl-dot{ width:14px; height:14px; margin-top:4px; border-radius:50%; background: var(--brand-deep); border:3px solid var(--brand); z-index:1; }
.tl-card{ flex:1 1 auto; min-width:0; background: var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px 18px; box-shadow:0 6px 18px rgba(20,30,60,.05); }
.tl-date{ display:inline-block; font-size:12px; font-weight:700; color:var(--brand-deep); background: var(--brand-soft); padding:3px 10px; border-radius:999px; margin-bottom:10px; }
.tl-body{ display:flex; gap:14px; align-items:flex-start; }
.tl-media{ flex:0 0 96px; }
.tl-img{ width:96px; height:96px; object-fit:cover; border-radius:10px; display:block; }
.tl-text{ flex:1 1 auto; line-height:1.7; color:var(--ink-1); }
.tl-link{ display:inline-block; margin-top:8px; color:var(--brand-deep); font-weight:600; text-decoration:none; }
.tl-link:hover{ text-decoration:underline; }

/* 媒体报道卡片 */
.media-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.media-card{ display:flex; flex-direction:column; background: var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; text-decoration:none; color:inherit; box-shadow:0 6px 18px rgba(20,30,60,.05); transition:.18s; }
.media-card:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(20,30,60,.1); }
.media-cover{ height:170px; background: var(--surface-2); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.media-cover-img{ width:100%; height:100%; object-fit:cover; display:block; }
.media-cover-ph{ color:#c2c8d4; font-size:34px; }
.media-info{ padding:14px 16px 16px; }
.media-title{ font-size:16px; font-weight:700; color:var(--ink-1); line-height:1.4; }
.media-summary{ margin-top:8px; font-size:13px; color:var(--ink-3); line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.media-more{ margin-top:12px; font-size:13px; font-weight:600; color:var(--brand-deep); }

.empty-state{ padding:40px 20px; text-align:center; color:var(--ink-3); background: var(--surface); border:1px dashed var(--line); border-radius:14px; }

@media (max-width: 860px){
  .about-layout{ flex-direction:column; }
  .about-side{ flex:none; width:100%; position:static; }
  .about-tabs{ flex-direction:row; flex-wrap:wrap; }
  .about-tab{ flex:1 1 auto; text-align:center; }
  .about-gallery{ grid-template-columns:repeat(2,1fr); }
  .media-grid{ grid-template-columns:1fr; }
}
@media (max-width: 520px){
  .tl-body{ flex-direction:column; }
  .tl-media{ flex:none; }
  .tl-img{ width:100%; height:auto; max-height:200px; }
}

/* ==========================================================================
   相册页：分类切换 + 图片墙 + 灯箱预览（2026-09-24）
   ========================================================================== */
.alb-tabs{
  display:flex; flex-wrap:wrap; gap:10px;
  margin:0 0 26px;
  position:sticky; top:64px; z-index:20;
  padding:10px 0; background: var(--glass-strong);
  backdrop-filter:blur(6px);
}
.alb-tab{
  padding:7px 16px; border:1px solid var(--line); background: var(--surface);
  border-radius:999px; font-size:14px; color:var(--ink-2); cursor:pointer;
  transition:all .16s;
}
.alb-tab:hover{ border-color:var(--brand); color:var(--brand-deep); background: var(--brand-soft); }
.alb-tab.is-on{ background: var(--brand); border-color:var(--brand); color:var(--ink-on-brand); font-weight:700; }
.alb-tab .alb-tab-n{ font-size:12px; opacity:.65; margin-left:4px; }

.alb-block{ margin:0 0 38px; }
.alb-block-head{ display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; margin:0 0 14px; }
.alb-block-title{ font-size:19px; font-weight:800; margin:0; color:var(--ink-1); }
.alb-block-title a{ color:inherit; text-decoration:none; }
.alb-block-title a:hover{ color:var(--brand-deep); }
.alb-block-meta{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--ink-3); }
.alb-block-desc{ margin:6px 0 0; font-size:14px; line-height:1.7; color:var(--ink-2); }
.alb-cat-pill{ background: var(--brand-soft); color:var(--brand-deep); padding:2px 10px; border-radius:999px; font-weight:600; font-size:12px; }

.alb-photos{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(168px, 1fr));
  gap:12px;
}
.alb-photo{
  position:relative; margin:0; padding:0; border:0; background: var(--surface-5);
  aspect-ratio:1/1; border-radius:12px; overflow:hidden; cursor:zoom-in;
  display:block; width:100%;
}
.alb-photo img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s; }
.alb-photo:hover img{ transform:scale(1.05); }
.alb-photo::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
  opacity:0; transition:opacity .2s;
}
.alb-photo:hover::after{ opacity:1; }
.alb-ph-cap{
  position:absolute; left:8px; right:8px; bottom:8px; z-index:2;
  font-size:12px; color:#fff; opacity:0; transition:opacity .2s;
  text-shadow:0 1px 3px rgba(0,0,0,.6);
  overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}
.alb-photo:hover .alb-ph-cap{ opacity:1; }
.alb-ph-fail{ display:flex; align-items:center; justify-content:center; font-size:24px; color:#9aa3b2; }
/* 外链型相册（只有平台链接、无本地照片）：降级为「打开原相册」占位块，不被过滤掉 */
.alb-ph-alt{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  background: var(--bg-soft,var(--surface-2)); border:1px dashed var(--line); cursor:pointer;
  text-decoration:none; color:var(--ink-3);
}
.alb-ph-alt:hover{ background: var(--brand-soft,#fff8d6); color:var(--brand-deep,#b09800); }
.alb-ph-alt-emoji{ font-size:26px; opacity:.7; }
.alb-ph-alt-txt{ font-size:12px; font-weight:600; }
@media (max-width: 720px){
  .alb-photos{ grid-template-columns:repeat(2, 1fr); gap:8px; }
  .alb-tabs{ top:56px; }
}
@media (max-width: 420px){
  .alb-photos{ grid-template-columns:repeat(2, 1fr); gap:6px; }
}

/* 灯箱 */
.lb{
  position:fixed; inset:0; z-index:900;
  background: rgba(12,14,20,.94);
  display:flex; align-items:center; justify-content:center;
  padding:56px 16px 84px;
}
.lb[hidden]{ display:none; }
.lb-stage{ max-width:100%; max-height:100%; display:flex; align-items:center; justify-content:center; }
.lb-img{
  max-width:100%; max-height:calc(100vh - 150px);
  object-fit:contain; border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.lb-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border:0; border-radius:50%;
  background: rgba(255,255,255,.14); color:#fff; font-size:26px; line-height:1;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .16s;
}
.lb-nav:hover{ background: rgba(255,255,255,.3); }
.lb-prev{ left:14px; }
.lb-next{ right:14px; }
.lb-close{
  position:absolute; top:14px; right:16px;
  width:40px; height:40px; border:0; border-radius:50%;
  background: rgba(255,255,255,.14); color:#fff; font-size:24px; cursor:pointer;
}
.lb-close:hover{ background: rgba(255,255,255,.3); }
.lb-bar{
  position:absolute; left:0; right:0; bottom:0;
  padding:14px 20px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72));
  color:#fff; display:flex; align-items:center; gap:14px;
}
.lb-meta{ min-width:0; }
.lb-meta b{ display:block; font-size:15px; font-weight:700; }
.lb-meta span{ font-size:12px; opacity:.75; }
.lb-count{ margin-left:auto; font-size:13px; opacity:.85; white-space:nowrap; }
.lb-cap{
  position:absolute; left:20px; right:20px; bottom:60px;
  color:#fff; font-size:13px; opacity:.85; text-align:center;
}
@media (max-width: 640px){
  .lb{ padding:48px 8px 76px; }
  .lb-nav{ width:38px; height:38px; font-size:22px; }
  .lb-prev{ left:6px; }
  .lb-next{ right:6px; }
}

/* ==========================================================================
   收尾覆盖：卡片 transition 统一（必须放在最后，压过各组件自带的 .15s/.18s）
   ========================================================================== */
.post-card, .highlight, .loc-card, .album-card, .social-item, .event-card,
.event-service, .aw-card, .media-card, .training-card, .ld-card, .ayev-fact,
.post-nav-card, .pod-platform-card, .tl-card{
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
/* 空态兜底（末尾 .empty-state 在中间被重写过两次，这里给一份终版） */
.empty-state{
  padding: 56px 24px; text-align: center; color: var(--ink-3);
  background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius);
}

/* ==========================================================================
   暗色主题（2026-09-25）
   两种触发方式：
     1. <html data-theme="dark">  —— 用户手动切换，localStorage 持久化
     2. 系统深色偏好，且用户未手动指定（:root 上没有 data-theme 属性）
   🔴 两块的变量必须完全一致。凡是能靠改变量解决的，绝不在下面写例外规则。
   ========================================================================== */

/* ===== 主题切换按钮（由 site.js initThemeToggle 注入 DOM）===== */
.theme-toggle{
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink-2); cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.theme-toggle:hover{
  color: var(--brand-deep); border-color: var(--line-strong); transform: translateY(-1px);
}
.theme-toggle:active{ transform: scale(.94); }
.theme-toggle svg{ width: 18px; height: 18px; }
.theme-toggle .tt-sun{ display: none; }
html[data-theme="dark"] .theme-toggle .tt-moon{ display: none; }
html[data-theme="dark"] .theme-toggle .tt-sun{ display: block; }

/* ===== 登录入口（由 site.js initLoginEntry 注入；视觉完全复用 .theme-toggle）=====
   🔴 它同时带 .theme-toggle 类 ⇒ 尺寸/边框/hover/active 全部继承上面那套，
     这里只写「登录」这一件事需要的差异，避免同一套尺寸在两处各维护一份。 */
.login-toggle{ text-decoration: none; }            /* 它是 <a>，去掉下划线 */
.login-toggle svg{ width: 18px; height: 18px; }
/* 🔴 已登录态必须比 .theme-toggle:hover (0,2,1) 更高，否则**悬停时品牌色描边被 hover 的灰盖掉**
   ⇒ 状态指示在鼠标移上去的瞬间消失（静默、且只在 hover 时复现，极难发现）。
   .login-toggle.is-on:hover = (0,3,1) > (0,2,1) ✅ 故三态都写全。 */
.login-toggle.is-on,
.login-toggle.is-on:hover,                        /* (0,3,1) 压过 .theme-toggle:hover */
.login-toggle.is-on:active{
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}
.login-toggle.is-on:hover{ background: var(--brand-soft); }
/* 与主题按钮之间留一点呼吸，别贴成一坨 */
.theme-toggle + .theme-toggle{ margin-left: 2px; }

/* ----- 自动：跟随系统（用户未手动指定时生效） ----- */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
  /* —— 面 / 线 / 文字 —— */
  --bg: #0e1014;
  --bg-soft: #14171d;
  --bg-band: #1c1a10;
  --surface: #171a21;
  --surface-2: #1d2129;
  --surface-3: #242932;
  --surface-4: #1d2129;
  --surface-5: #181c23;
  --line: #262b34;
  --line-strong: #343b47;
  --ink-1: #eef1f6;
  --ink-2: #b9c1cd;
  --ink-3: #939dab;
  --ink-4: #7d8798;
  /* 金色在暗底上必须提亮，#b09800 压在 #171a21 上只有 2.4:1 */
  --brand-deep: #dcc44d;
  --brand-soft: #2c2818;
  --glass: rgba(23,26,33,.88);
  --glass-strong: rgba(18,21,27,.96);
  --hero-from: #0e1014;
  --hero-to: #16181d;
  --page-hero-to: #171825;
  /* 页脚底色两色都是深色，文字要单独提亮 */
  --footer-muted: #939dab;
  --footer-muted-link: #b9c1cd;
  --footer-muted-link-hover: #ffe53b;
  --loc-chip-bg: #242932;
  --loc-chip-hover-bg: #dcc44d;
  --off-fg: #8b95a5;
  --tag-gray-fg: #b9c1cd;
  --pod-play-fg: #1c2330;
  /* 暗底上浅色投影看不见，改用纯黑；金色光晕相应压低 */
  --shadow-0: 0 0 0 1px rgba(0,0,0,.45);
  --shadow-1: 0 1px 2px rgba(0,0,0,.32), 0 2px 8px rgba(0,0,0,.28);
  --shadow-2: 0 12px 28px rgba(255,217,26,.14), 0 2px 6px rgba(0,0,0,.32);
  --shadow-3: 0 10px 32px rgba(0,0,0,.42), 0 2px 6px rgba(0,0,0,.3);
  --shadow-4: 0 24px 60px rgba(0,0,0,.6);
  --shadow-brand: 0 8px 24px rgba(255,217,26,.2);
  --ring: 0 0 0 3px rgba(255,217,26,.32);
  }
  :root:not([data-theme="light"]) .theme-toggle .tt-sun{ display: block; }
  :root:not([data-theme="light"]) .theme-toggle .tt-moon{ display: none; }
}

/* ----- 手动：用户点过切换 ----- */
html[data-theme="dark"]{
  /* —— 面 / 线 / 文字 —— */
  --bg: #0e1014;
  --bg-soft: #14171d;
  --bg-band: #1c1a10;
  --surface: #171a21;
  --surface-2: #1d2129;
  --surface-3: #242932;
  --surface-4: #1d2129;
  --surface-5: #181c23;        /* 相册图块底：比 --surface-2 再沉一档 */
  --line: #262b34;
  --line-strong: #343b47;
  --ink-1: #eef1f6;
  --ink-2: #b9c1cd;
  --ink-3: #939dab;
  --ink-4: #7d8798;
  /* 金色在暗底上必须提亮，#b09800 压在 #171a21 上只有 2.4:1 */
  --brand-deep: #dcc44d;
  --brand-soft: #2c2818;
  --glass: rgba(23,26,33,.88);
  --glass-strong: rgba(18,21,27,.96);
  --hero-from: #0e1014;
  --hero-to: #16181d;
  --page-hero-to: #171825;
  /* 页脚底色两色都是深色，文字要单独提亮 */
  --footer-muted: #939dab;
  --footer-muted-link: #b9c1cd;
  --footer-muted-link-hover: #ffe53b;
  --loc-chip-bg: #242932;
  --loc-chip-hover-bg: #dcc44d;
  --off-fg: #8b95a5;
  --tag-gray-fg: #b9c1cd;
  --pod-play-fg: #1c2330;
  /* 暗底上浅色投影看不见，改用纯黑；金色光晕相应压低 */
  --shadow-0: 0 0 0 1px rgba(0,0,0,.45);
  --shadow-1: 0 1px 2px rgba(0,0,0,.32), 0 2px 8px rgba(0,0,0,.28);
  --shadow-2: 0 12px 28px rgba(255,217,26,.14), 0 2px 6px rgba(0,0,0,.32);
  --shadow-3: 0 10px 32px rgba(0,0,0,.42), 0 2px 6px rgba(0,0,0,.3);
  --shadow-4: 0 24px 60px rgba(0,0,0,.6);
  --shadow-brand: 0 8px 24px rgba(255,217,26,.2);
  --ring: 0 0 0 3px rgba(255,217,26,.32);
}

