﻿/* ==========================================================================
   樱花部落 Cherry Hub — 页面区块样式（主页 / 相簿 / 加入我们）
   视觉：Minecraft Wiki 式拟态 —— 实心浅色卡 + 1px 深描边 + 3px 圆角 +
   内嵌亮线 + 实色硬阴影。全站无玻璃、无大圆角。
   ========================================================================== */

/* ==========================================================================
   1. 主页 Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 16px 26px;
  text-align: center;
}

.hero-plate {
  display: inline-block;
  width: min(100%, 640px);
  max-width: 720px;
  padding: 30px 42px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--pink);
  border-radius: var(--r);
  box-shadow: var(--inset), 0 2px 0 rgba(90, 60, 70, 0.12);
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 1px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--ink-2);
  text-transform: uppercase;
  background: linear-gradient(180deg, #f7f7f7 0%, #e7e7e7 100%);
  border: 1px solid rgba(120, 120, 130, 0.4);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(120, 120, 130, 0.35);
}

.hero-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 14px;
  image-rendering: pixelated;
}

.hero-title {
  font-size: 32px;
  letter-spacing: 0.4px;
}

.hero-title .hero-cn {
  display: inline-block;
  margin-left: 8px;
  font-size: 21px;
  letter-spacing: 2px;
  color: #7E3C52;
}

.hero-tag {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.hero-meta {
  margin: 8px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--ink-2);
}

.hero-cta {
  margin-top: 20px;
  height: 46px;
  padding: 0 26px;
  font-size: 16px;
}

/* ==========================================================================
   2. 数据条：一块实心面板，四格用 1px 分线隔开
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--inset), 0 1px 0 rgba(90, 60, 70, 0.10);
  list-style: none;
  overflow: hidden;
}

.stat {
  padding: 15px 18px 17px;
  border-left: 1px solid var(--line-2);
}

.stat:first-child { border-left: 0; }

.stat b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3px;
  color: var(--pink-ink);
  white-space: nowrap;
}

.stat span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ==========================================================================
   3. 关于本镇
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.about-text p { margin-bottom: 14px; }
.about-text p:last-child { margin-bottom: 0; }

.about-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--inset), 0 1px 0 rgba(90, 60, 70, 0.10);
}

.about-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-figure figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line-2);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ==========================================================================
   4. 小镇特色（实心小卡）
   ========================================================================== */
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
}

.feats li {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--inset), 0 1px 0 rgba(90, 60, 70, 0.08);
}

.feats h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 15.5px;
}

.feats h3::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 15px;
  border-radius: 0;
  background: var(--pink);
}

.feats p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ==========================================================================
   5. 建筑一览（图片卡）
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--inset), 0 1px 0 rgba(90, 60, 70, 0.10);
  transition: border-color 100ms ease, box-shadow 100ms ease;
}

.card:hover {
  border-color: rgba(217, 116, 143, 0.6);
  box-shadow: var(--inset), 0 2px 0 rgba(140, 70, 95, 0.18);
}

.card:focus-visible {
  outline: 2px solid #8A4A60;
  outline-offset: 2px;
}

.card-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3ecee;
  border-bottom: 1px solid var(--line-2);
}

.card-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px 16px;
}

.card-body h3 { font-size: 17px; }

.card-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--ink-3);
}

.card-more { font-family: var(--font-mono); }

.card:hover .card-more { color: var(--pink-ink); }

/* ==========================================================================
   6. 设施一览：Wiki 表格式 1px 网格
   ========================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ftable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

.ftable th,
.ftable td {
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  vertical-align: middle;
  text-align: left;
  overflow-wrap: break-word;
}

.ftable thead th {
  background: #f6eeea;
  border-color: rgba(90, 60, 70, 0.28);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-2);
}

.ftable tbody tr:nth-child(even) { background: #fdf8f7; }
.ftable tbody tr:hover { background: #fdf1f5; }

.ftable tbody th {
  font-weight: 600;
  background: #fbf5f4;
}

.ftable .col-name { width: 30%; }
.ftable .col-desc { width: 32%; }
.ftable .col-open { width: 19%; }

.ftable td .badge { margin-right: 2px; }

.table-note,
.rule-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13px;
  color: var(--ink);
}

.table-note b { color: var(--ink); }
.rule-note .badge { flex: 0 0 auto; }

/* ==========================================================================
   7. 镇规速览
   ========================================================================== */
.rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  counter-reset: rule;
}

.rules li {
  display: flex;
  gap: 12px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--inset);
  font-size: 14.5px;
}

.rule-no {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  color: var(--pink-ink);
  background: #f7ecef;
  border: 1px solid rgba(90, 60, 70, 0.28);
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(90, 60, 70, 0.20), 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   8. CTA
   ========================================================================== */
.cta {
  padding: 34px 26px 36px;
  background: linear-gradient(180deg, #fdf4f7 0%, #fdf0f4 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--inset), 0 2px 0 rgba(140, 70, 95, 0.16);
  text-align: center;
}

.cta h2 {
  font-size: 24px;
  letter-spacing: 0.4px;
}

.cta p {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* ==========================================================================
   9. 相簿 / 加入我们 页头
   ========================================================================== */
.page-head { padding: 30px 0 4px; }

.page-head h1 {
  position: relative;
  padding-left: 14px;
  letter-spacing: 0.4px;
}

.page-head h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 0.78em;
  transform: translateY(-50%);
  border-radius: 0;
  background: var(--pink);
}

.lede {
  margin: 12px 0 0;
  max-width: 74ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* 分类筛选：灰白拟态按钮 */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 4px;
}

.filter {
  height: 36px;
  padding: 0 15px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ededed 52%, #e0e0e0 100%);
  border: 1px solid rgba(120, 120, 130, 0.45);
  border-radius: 3px;
  color: #3F3A42;
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(120, 120, 130, 0.22),
    0 2px 0 rgba(120, 120, 130, 0.55),
    0 1px 2px rgba(90, 60, 70, 0.14);
  cursor: pointer;
  transition: transform 60ms ease, box-shadow 60ms ease, filter 60ms ease;
}

.filter:hover { filter: brightness(1.04); }

.filter:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 3px rgba(120, 120, 130, 0.30),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 rgba(0, 0, 0, 0),
    0 1px 1px rgba(90, 60, 70, 0.12);
}

.filter[aria-pressed="true"] {
  background: linear-gradient(180deg, #fdf0f4 0%, #f6d5e0 52%, #eebccd 100%);
  border-color: rgba(90, 60, 70, 0.45);
  color: #4A1B2A;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(140, 70, 95, 0.28),
    0 2px 0 rgba(140, 70, 95, 0.55),
    0 1px 2px rgba(90, 60, 70, 0.18);
}

.filter[aria-pressed="true"]:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 3px rgba(120, 60, 80, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 rgba(0, 0, 0, 0),
    0 1px 1px rgba(90, 60, 70, 0.12);
}

.filter .cnt {
  margin-left: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.filter[aria-pressed="true"] .cnt { color: var(--pink-ink); }

.filter-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* 相簿网格：桌面 3 列 / 平板 2 列 / 手机 1 列 */
.gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.gal figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--inset), 0 1px 0 rgba(90, 60, 70, 0.10);
  scroll-margin-top: calc(var(--nav-h) + 20px);
  transition: border-color 100ms ease, box-shadow 100ms ease;
}

.gal figure:hover { border-color: rgba(217, 116, 143, 0.55); }

/* 从主页跳过来时的高亮：樱粉描边，不用光晕 */
.gal figure:target,
.gal figure.is-flash {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 2px rgba(229, 139, 169, 0.55), var(--inset);
}

.gal .shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3ecee;
  border-bottom: 1px solid var(--line-2);
}

.gal .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* photo-03 原图上下各带 15.5% 黑边（648×405 实际画面 2.32:1）。
   这里用等比放大 + 容器裁切去掉黑边，保持网格 16:10 统一。 */
.gal .shot--panorama img { transform: scale(1.5); }
.gal .shot--panorama:hover img { transform: scale(1.5); }

.gal figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
}

.gal .cap {
  margin: 0;
  color: var(--ink);
}

.gal .cat {
  flex: 0 0 auto;
  padding: 1px 7px;
  border: 1px solid rgba(90, 60, 70, 0.38);
  border-radius: 2px;
  background: linear-gradient(180deg, #fdf0f4 0%, #f6d5e0 52%, #eebccd 100%);
  font-size: 11px;
  line-height: 1.7;
  color: #8E4257;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(140, 70, 95, 0.2),
    0 1px 0 rgba(140, 70, 95, 0.4);
}

.gal-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

/* ==========================================================================
   10. Lightbox（原生 JS 实现，无第三方依赖）
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.lightbox[hidden] { display: none; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 32, 40, 0.58);
}

.lb-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1000px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 0 rgba(60, 30, 45, 0.35),
    0 6px 0 rgba(60, 30, 45, 0.16);
}

.lb-panel:focus { outline: none; }

.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  background: #f4ecee;
  border-bottom: 1px solid var(--line-2);
}

.lb-stage picture { display: block; width: 100%; }

.lb-stage img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 2px;
  background: #f4ecee;
}

/* Lightbox 里的 photo-03 同样裁掉上下黑边 */
.lb-stage img.lb-img--crop { transform: scale(1.55); }

.lb-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--surface-2);
}

.lb-text {
  flex: 1 1 220px;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.lb-text .lb-cat {
  display: inline-block;
  margin-right: 7px;
  padding: 1px 7px;
  border: 1px solid rgba(90, 60, 70, 0.38);
  border-radius: 2px;
  background: linear-gradient(180deg, #fdf0f4 0%, #f6d5e0 52%, #eebccd 100%);
  font-size: 11px;
  color: #8E4257;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(140, 70, 95, 0.2),
    0 1px 0 rgba(140, 70, 95, 0.4);
}

.lb-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.lb-btns { display: flex; gap: 6px; margin-left: auto; }

.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: linear-gradient(180deg, #f7f7f7 0%, #ededed 52%, #e0e0e0 100%);
  border: 1px solid rgba(120, 120, 130, 0.45);
  border-radius: 3px;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(120, 120, 130, 0.22),
    0 2px 0 rgba(120, 120, 130, 0.55),
    0 1px 2px rgba(90, 60, 70, 0.14);
  cursor: pointer;
  transition: transform 60ms ease, box-shadow 60ms ease, filter 60ms ease;
}

.lb-btn:hover { filter: brightness(1.04); }

.lb-btn:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 3px rgba(120, 120, 130, 0.30),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 rgba(0, 0, 0, 0),
    0 1px 1px rgba(90, 60, 70, 0.12);
}

.lb-btn:disabled {
  color: rgba(60, 40, 50, 0.32);
  background: #f2f2f2;
  border-color: rgba(120, 120, 130, 0.25);
  box-shadow: none;
  cursor: default;
  transform: none;
  filter: none;
}

.lb-btn svg { width: 16px; height: 16px; }

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   11. 加入我们
   ========================================================================== */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 4px;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ededed 52%, #e0e0e0 100%);
  border: 1px solid rgba(120, 120, 130, 0.45);
  border-radius: 3px;
  color: #3F3A42;
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(120, 120, 130, 0.22),
    0 2px 0 rgba(120, 120, 130, 0.55),
    0 1px 2px rgba(90, 60, 70, 0.14);
  transition: transform 60ms ease, box-shadow 60ms ease, filter 60ms ease;
}

.subnav a:hover { filter: brightness(1.04); }

.subnav a:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 3px rgba(120, 120, 130, 0.30),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 rgba(0, 0, 0, 0),
    0 1px 1px rgba(90, 60, 70, 0.12);
}

.subnav .no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--pink-ink);
}

.join-sec {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.join-sec + .join-sec { margin-top: 22px; }

.steps {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
}

.steps .no {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  color: var(--pink-ink);
  background: #f7ecef;
  border: 1px solid rgba(90, 60, 70, 0.28);
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(90, 60, 70, 0.20), 0 1px 0 rgba(255, 255, 255, 0.9);
}

.quote {
  margin: 0;
  padding: 16px 18px;
  background: #fdf3f6;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.8;
}

.quote strong {
  color: #7E3C52;
  text-decoration: underline;
  text-decoration-color: rgba(229, 139, 169, 0.85);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 0;
}

.facts div {
  padding: 11px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--inset);
}

.facts dt {
  font-size: 11.5px;
  letter-spacing: 0.8px;
  color: var(--ink-3);
}

.facts dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  font-weight: 600;
}

.notes {
  display: grid;
  gap: 8px;
  margin: 0;
}

.notes div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 4px 14px;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.notes dt {
  font-weight: 700;
  font-size: 14.5px;
}

.notes dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.join-outro {
  margin-top: 26px;
  padding: 30px 22px 32px;
  background: linear-gradient(180deg, #fdf4f7 0%, #fdf0f4 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--inset), 0 2px 0 rgba(140, 70, 95, 0.16);
  text-align: center;
}

.join-outro p {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.join-outro .cta-actions { margin-top: 20px; }

/* ==========================================================================
   12. 响应式
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
  .cards,
  .gal { grid-template-columns: repeat(2, 1fr); }

  .feats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  .about-figure { order: -1; }
  .stat b { font-size: 24px; }
}

@media (max-width: 767px) {
  .hero { padding: 26px 14px 20px; }

  .hero-plate { padding: 24px 18px 26px; }

  .hero-kicker { margin-bottom: 12px; }

  .hero-logo { width: 210px; margin-bottom: 12px; }

  .hero-title { font-size: 26px; }
  .hero-title .hero-cn { font-size: 18px; margin-left: 4px; }

  .hero-tag { font-size: 16.5px; letter-spacing: 0.4px; }
  .hero-meta { font-size: 12px; }
  .hero-cta { margin-top: 18px; height: 44px; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 16px;
  }

  .stat { padding: 12px 14px 14px; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .stat b { font-size: 23px; }

  .cards,
  .gal,
  .feats,
  .facts { grid-template-columns: 1fr; }

  .rules { grid-template-columns: 1fr; }

  .about { gap: 18px; }

  .page-head { padding: 24px 0 2px; }

  .lede { font-size: 15px; }

  .filters { gap: 7px; margin-top: 16px; }

  .filter { height: 34px; padding: 0 12px; font-size: 13px; }

  .filter-status {
    flex: 1 1 100%;
    margin-left: 0;
  }

  /* 二级菜单在手机上保持一行 */
  .subnav { gap: 6px; margin-top: 16px; }
  .subnav a { height: 32px; padding: 0 9px; font-size: 12.5px; gap: 5px; }
  .subnav .no { font-size: 10.5px; }

  /* 表格：压缩内边距与字号，避免横向溢出 */
  .ftable { font-size: 12.5px; }
  .ftable th,
  .ftable td { padding: 7px 5px; }
  .ftable thead th { font-size: 10.5px; letter-spacing: 0.2px; }
  .ftable .col-name { width: 31%; }
  .ftable .col-desc { width: 29%; }
  .ftable .col-open { width: 20%; }
  .badge { padding: 1px 6px; font-size: 11px; }

  .quote { font-size: 15.5px; padding: 14px 15px; }
  .notes div { grid-template-columns: 1fr; gap: 3px; }
  .join-outro p { font-size: 18px; }
  .lb-text { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 24px; }
  .hero-title .hero-cn { font-size: 17px; }
  .stat b { font-size: 21px; }
}

/* ==========================================================================
   尊重「减少动态效果」：去掉按钮位移
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .filter:active,
  .filter[aria-pressed="true"]:active,
  .subnav a:active,
  .lb-btn:active {
    transform: none;
  }
}
