/* 配色沿用博客 Mizuki 主题：hue 240 的蓝紫主色、浅色卡片、圆角 */
:root {
  --hue: 240;
  --primary: hsl(var(--hue) 75% 62%);
  --primary-soft: hsl(var(--hue) 75% 96%);
  --text: #2e2e35;
  --text-2: #6b6b78;
  --text-3: #9a9aa6;
  --bg: #f7f7fa;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.07);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 2px 14px rgba(40, 40, 80, 0.05);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 18+ 小标签（不拦截，仅角落提示） ---------- */
.age-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 6px;
  margin-right: 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 5px;
  color: var(--text-3);
  cursor: help;
  vertical-align: middle;
  transition: 0.18s;
}
.age-chip:hover { border-color: var(--text-2); color: var(--text-2); }
.site-nav { display: flex; align-items: center; }

/* ---------- 通用组件 ---------- */
.btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.18s;
}
.btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: hsl(var(--hue) 75% 56%); color: #fff; }

/* ---------- 顶栏 ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-nut { width: 26px; height: 26px; display: block; }
.site-nav a { color: var(--text-2); font-size: 14px; }
.nav-link { margin-right: 16px; }
.nav-link:hover { color: var(--primary); }

/* ---------- Hero 门面 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 78px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 12% 0%, hsl(268 62% 66%) 0%, transparent 55%),
    linear-gradient(132deg, hsl(250 66% 56%) 0%, hsl(268 58% 60%) 48%, hsl(230 70% 52%) 100%);
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  will-change: transform;
}
.b1 { width: 400px; height: 400px; left: -100px; top: -160px; background: rgba(255, 255, 255, 0.3); }
.b2 { width: 300px; height: 300px; left: 17%; bottom: -130px; background: rgba(180, 210, 255, 0.55); }
.b3 { width: 380px; height: 380px; right: -110px; top: -80px; background: rgba(255, 210, 245, 0.33); }

.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-eyebrow {
  margin: 0 0 15px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.hero-title {
  margin: 0 0 13px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(30, 20, 80, 0.18);
}

/* 个人 logo（大坚果，透明底） */
.hero-logo { margin: 0 auto 14px; width: 104px; }
.hero-logo img {
  display: block;
  width: 104px;
  height: 104px;
  filter: drop-shadow(0 10px 22px rgba(20, 10, 60, 0.3));
}

/* 搜索框 */
.hero-search { position: relative; max-width: 430px; margin: 0 auto 20px; }
.hero-search input {
  width: 100%;
  padding: 12px 46px 12px 43px;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  outline: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.hero-search input::placeholder { color: rgba(255, 255, 255, 0.6); }
.hero-search input:focus {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.13);
}
.hero-search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.6); }
.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.search-kbd {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  padding: 3px 6px;
  pointer-events: none;
}
.hero-search input:focus ~ .search-kbd { opacity: 0; }

/* 一级分类导航 */
.cat-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 auto 22px;
  max-width: 720px;
}
.cat {
  position: relative;
  padding: 7px 15px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: inherit;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.cat:hover { color: #fff; background: rgba(255, 255, 255, 0.13); }
.cat.active { color: #fff; font-weight: 600; }
.cat.active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.cat-num { font-size: 11px; opacity: 0.62; margin-left: 4px; font-weight: 400; }
.hero-sub {
  margin: 0 auto 26px;
  max-width: 660px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
}
.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 78px;
  z-index: 1;
  display: block;
  pointer-events: none;
}
.hero-curve path { fill: var(--bg); }

/* hero 里的筛选胶囊：毛玻璃，选中反白 */
.filters-hero { justify-content: center; max-width: 800px; margin: 0 auto 26px; }
.filters-hero .chip {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.filters-hero .chip:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.filters-hero .chip.active {
  background: #fff;
  border-color: #fff;
  color: hsl(var(--hue) 62% 44%);
  font-weight: 600;
}

.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; }
.stat { padding: 0 28px; text-align: center; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-value { font-size: 21px; font-weight: 700; line-height: 1.25; }
.stat-label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 1px;
}

/* 详情页把 hero 收窄，别让大色块占掉首屏；底边留够 78px 给弧线，否则标题会被切 */
body.is-detail .hero { padding: 26px 0 68px; }
body.is-detail .hero-curve { height: 56px; }
body.is-detail .hero-eyebrow,
body.is-detail .hero-sub,
body.is-detail .hero-search,
body.is-detail .cat-nav,
body.is-detail .filters-hero,
body.is-detail .hero-stats { display: none; }
body.is-detail .hero-title { font-size: 30px; margin: 0; }
body.is-detail .hero-logo { margin-bottom: 0; }
body.is-detail .notice { display: none; }

/* ---------- 公告区 ---------- */
.notice {
  position: relative;
  z-index: 3;
  margin: -32px 0 38px;
  padding: 18px 24px 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(40, 40, 90, 0.07);
}
.notice-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--border);
}
.notice-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 5px;
  background: hsl(var(--hue) 80% 95%);
  color: var(--primary);
}
.notice-title { font-size: 14.5px; font-weight: 600; }
.notice-more { margin-left: auto; font-size: 12px; color: var(--text-3); }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.045);
}
.notice-list li:last-child { border-bottom: 0; padding-bottom: 12px; }
.notice-list li.is-empty {
  border-bottom: 0;
  padding: 18px 0 16px;
  color: var(--text-3);
  font-size: 14px;
}
.notice-list li.is-empty .n-dot {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: hsl(var(--hue) 40% 84%);
  flex: 0 0 auto;
}
.n-tag {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #f2f2f7;
  color: var(--text-2);
  white-space: nowrap;
}
.n-text { flex: 1; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.n-date {
  flex: 0 0 auto;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- 列表页 ---------- */
.intro { padding: 44px 0 26px; }
.intro h1 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.5px; }
.intro p { color: var(--text-2); margin: 0; font-size: 15px; }

.toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.section-title { font-size: 20px; margin: 0; letter-spacing: -0.3px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.18s;
  font-family: inherit;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.more-chip { border-style: dashed; color: var(--primary); }
.count { color: var(--text-3); font-size: 13px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-bottom: 60px;
}
.empty {
  grid-column: 1 / -1;
  padding: 58px 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.9;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty strong { color: var(--text-2); font-weight: 600; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(40, 40, 80, 0.1); }
.card-cover {
  aspect-ratio: 460 / 215;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph { color: var(--text-3); font-size: 13px; }
.cover-title {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  text-align: center;
  background: linear-gradient(135deg,
    hsl(var(--cover-hue) 48% 74%),
    hsl(var(--cover-hue) 55% 58%));
}
.cover-title span {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.card-body { padding: 16px 18px 18px; }
.card-title { font-size: 17px; font-weight: 600; margin: 0 0 3px; line-height: 1.4; }
.card-cn { color: var(--text-2); font-size: 13px; margin: 0 0 12px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 6px;
  padding: 2px 9px;
  font-size: 12px;
}
.tag.status { background: #eef7f0; color: #2f8a4e; }
.card-meta { color: var(--text-3); font-size: 12px; }

/* ---------- 详情页 ---------- */
.detail { padding: 32px 0 70px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 24px;
}
.detail-head { margin-bottom: 28px; }
.detail-head h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -0.5px; }
.detail-cn { color: var(--text-2); font-size: 16px; margin: 0 0 16px; }
.detail-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}
.fact {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}
.fact-label { color: var(--text-3); font-size: 12px; margin-bottom: 3px; }
.fact-value { font-size: 14px; font-weight: 500; }
.section { margin-bottom: 34px; }
.section h2 {
  font-size: 19px;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}
.section p { color: var(--text-2); font-size: 15px; margin: 0; white-space: pre-wrap; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.shot {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
  cursor: zoom-in;
}
.shot img { width: 100%; display: block; }
.placeholder {
  aspect-ratio: 16 / 9;
  background: var(--primary-soft);
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-align: center;
  padding: 16px;
  border: 1px dashed hsl(var(--hue) 40% 82%);
  border-radius: var(--radius-sm);
}
.links-empty {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text-3);
  font-size: 14px;
}

/* ---------- 新手区入口条 ---------- */
.guide-tip {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 26px;
  padding: 12px 18px;
  background: var(--card);
  border: 1px dashed hsl(var(--hue) 40% 84%);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 14px;
  transition: 0.18s;
}
.guide-tip:hover {
  text-decoration: none;
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--text);
}
.guide-tip-badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.guide-tip:hover .guide-tip-badge { background: #fff; }
.guide-tip-text { flex: 1; line-height: 1.6; }
.guide-tip-arrow { flex: 0 0 auto; color: var(--primary); font-size: 15px; }

/* ---------- 新手区 ---------- */
.guide { max-width: 760px; margin: 0 auto; padding: 32px 0 78px; }
.guide-head { margin-bottom: 30px; }
.guide-kicker {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.guide-head h1 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.6px; }
.guide-lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}
.guide-lead strong { color: var(--text); font-weight: 600; }

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.toc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: 0.18s;
}
.toc:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.toc-num { font-size: 11px; font-weight: 700; color: var(--primary); }

.g-sec {
  padding: 32px 0 8px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 82px;
}
.g-head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 10px; }
.g-num {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.g-head h2 { margin: 0; font-size: 21px; letter-spacing: -0.3px; }
.g-lead { margin: 0 0 18px; font-size: 14.5px; line-height: 1.8; color: var(--text-2); }

.g-steps { list-style: none; counter-reset: step; margin: 0 0 18px; padding: 0; }
.g-steps li { position: relative; padding: 0 0 17px 34px; counter-increment: step; }
.g-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-steps li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 27px;
  bottom: 5px;
  width: 1px;
  background: var(--border);
}
.g-steps li:last-child::after { display: none; }
.g-step-t { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.g-step-d { font-size: 14px; line-height: 1.8; color: var(--text-2); }

.g-note {
  padding: 12px 16px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: hsl(var(--hue) 62% 97%);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}
.g-note.warn { background: #fdf4f3; border-left-color: #d9534f; color: #8b4a45; }

.g-table-sec { margin-top: 28px; padding-top: 34px; border-top: 1px solid var(--border); }
.g-table-sec h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.3px; }
.g-table-scroll {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.g-table-scroll table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; }
.g-table-scroll th {
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--hue) 52% 42%);
  background: var(--primary-soft);
}
.g-table-scroll td {
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  line-height: 1.7;
  vertical-align: top;
}
.g-table-scroll td:first-child { color: var(--text); font-weight: 500; }
.g-table-scroll tbody tr:nth-child(even) td { background: #fbfbfe; }

/* ---------- 酒馆图文教程 ---------- */
.detail-tutorial { margin-top: 14px; }
.guide-tip + .guide-tip { margin-top: -14px; }
.tavern-tip .guide-tip-badge { background: #f3ecff; color: #7c55b8; }

.tavern { max-width: 820px; margin: 0 auto; padding: 32px 0 80px; }
.tavern-head { margin-bottom: 26px; }
.t-kicker {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.tavern-head h1 { margin: 0 0 12px; font-size: 32px; letter-spacing: -0.6px; }
.t-intro { margin: 0 0 22px; color: var(--text-2); font-size: 14.5px; line-height: 1.85; }
.t-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.t-toc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text-2);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: 0.18s;
}
.t-toc:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.t-toc-num { font-size: 11px; font-weight: 700; color: var(--primary); }

.t-sec {
  padding: 32px 0 10px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 82px;
}
.t-head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 10px; }
.t-num {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
}
.t-head h2 { margin: 0; font-size: 21px; letter-spacing: -0.3px; }
.t-lead { margin: 0 0 18px; font-size: 14.5px; line-height: 1.85; color: var(--text-2); }

.t-figure {
  margin: 0 0 22px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.t-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: zoom-in;
}
.t-figure figcaption {
  padding: 9px 4px 2px;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.6;
}

.t-steps { list-style: none; counter-reset: tstep; margin: 0 0 20px; padding: 0; }
.t-steps li { position: relative; padding: 0 0 17px 36px; counter-increment: tstep; }
.t-steps li::before {
  content: counter(tstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-steps li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 5px;
  width: 1px;
  background: var(--border);
}
.t-steps li:last-child::after { display: none; }
.t-step-t { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.t-step-d { font-size: 14px; line-height: 1.85; color: var(--text-2); }

.t-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-bottom: 20px; }
.t-shot {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border: 1px dashed hsl(var(--hue) 32% 80%);
  border-radius: var(--radius-sm);
  background: hsl(var(--hue) 40% 98%);
}
.t-shot-mark {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-shot-t { font-size: 13px; font-weight: 600; color: hsl(var(--hue) 45% 43%); }
.t-shot-d { margin-top: 2px; font-size: 12.5px; line-height: 1.65; color: var(--text-2); }

.t-note {
  padding: 12px 16px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: hsl(var(--hue) 62% 97%);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}
.t-note.warn { background: #fdf4f3; border-left-color: #d9534f; color: #8b4a45; }

.t-end {
  margin-top: 34px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsl(var(--hue) 70% 97%), #fff);
}
.t-end h2 { margin: 0 0 8px; font-size: 19px; }
.t-end p { margin: 0 0 16px; color: var(--text-2); font-size: 14px; line-height: 1.85; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 30, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
  cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 26px 0;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 74px; }
  .hero-curve { height: 62px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 13.5px; margin-bottom: 20px; }
  .filters-hero { margin-bottom: 20px; }
  .stat { padding: 0 16px; }
  .stat-value { font-size: 17px; }
  .notice { margin: -20px 0 30px; padding: 15px 17px 4px; }
  .notice-list li { gap: 9px; }
  .n-date { display: none; }
  .guide { padding: 22px 0 60px; }
  .guide-head h1 { font-size: 26px; }
  .g-head h2, .g-table-sec h2 { font-size: 18px; }
  .g-head { gap: 9px; }
  .g-steps li { padding-left: 30px; }
  .tavern { padding: 22px 0 60px; }
  .tavern-head h1 { font-size: 26px; }
  .t-head h2 { font-size: 18px; }
  .t-head { gap: 9px; }
  .t-steps li { padding-left: 32px; }
  .t-toc { font-size: 12px; }
  .nav-link { margin-right: 12px; }
  .intro { padding-top: 30px; }
  .intro h1, .detail-head h1 { font-size: 25px; }
  .grid { grid-template-columns: 1fr; }
}
