/* ==========================================================
   沪上社区集市 · C 端样式（海派国潮）
   规范见 DESIGN.md ｜ 令牌 → 组件 → 页面碎片
   ========================================================== */
:root {
  --red: #c8322b;
  --red-deep: #9e241f;
  --red-soft: #f3dad3;
  --red-wash: #fbeee9;
  --gold: #c8a44d;
  --gold-bright: #e2be63;
  --gold-soft: #f0e2c0;
  --ink: #1b1815;
  --ink-2: #5a5248;
  --ink-3: #8c8378;
  --ink-deep: #211c18;
  --paper: #f5eee1;
  --paper-2: #fdfaf4;
  --paper-3: #efe6d6;
  --line: #e5daca;
  --lake: #1f6f8b;
  --amber: #e0a33c;
  --pine: #4a7a5e;
  --ok: #2f6b4b;
  --ok-bg: #e6f0e8;
  --warn: #a66a15;
  --warn-bg: #fbefd9;
  --danger: #b5322c;
  --danger-bg: #fbe7e4;
  --info: #1f5e7a;
  --info-bg: #e6eff4;
  --shadow-1: 0 1px 2px rgba(40, 26, 12, 0.06);
  --shadow-2: 0 2px 6px rgba(40, 26, 12, 0.07), 0 8px 22px rgba(40, 26, 12, 0.06);
  --shadow-3: 0 6px 18px rgba(40, 26, 12, 0.1), 0 18px 40px rgba(40, 26, 12, 0.08);
  --shadow-red: 0 2px 8px rgba(200, 50, 43, 0.24);
  --font-display: "Songti SC", "STZhongsong", "SimSun", "Noto Serif SC", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-num: Georgia, "Times New Roman", var(--font-display);
  --r-card: 14px;
  --r-input: 10px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---------- 顶部匾额 ---------- */
.plaque {
  background: var(--ink-deep);
  color: var(--gold-soft);
  border-bottom: 2px solid var(--gold);
  padding: 18px 16px 15px;
  position: relative;
  overflow: hidden;
}
.plaque::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 5px;
  height: 1px;
  background: rgba(200, 164, 77, 0.28);
}
.plaque-inner { max-width: 560px; margin: 0 auto; position: relative; }
.plaque h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  text-indent: 0.16em;
}
.plaque p {
  margin: 7px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(240, 226, 192, 0.55);
}
.plaque .seal-mini {
  position: absolute;
  right: 0;
  top: 2px;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--red);
  border-radius: 4px;
  color: #e88b80;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  padding: 2px 0;
  transform: rotate(-4deg);
  opacity: 0.9;
}

/* ---------- 红纸条（招募状态横幅） ---------- */
.ribbon {
  width: calc(100% - 32px);
  max-width: 528px;
  margin: 14px auto 0;
  background: var(--red);
  color: #fff5ef;
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-red);
}
.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0 4px, transparent 4px 8px);
}
.ribbon::before { left: 5px; }
.ribbon::after { right: 5px; }
.ribbon .rb-main { padding-left: 8px; }
.ribbon b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ribbon span { font-size: 12px; opacity: 0.86; letter-spacing: 0.04em; }
.ribbon .rb-num {
  padding-right: 8px;
  text-align: right;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.ribbon .rb-num small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 5px;
  letter-spacing: 0.06em;
}

/* ---------- 云纹分隔 ---------- */
.cloud-line {
  height: 14px;
  margin: 16px auto 4px;
  max-width: 528px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.75;
}

/* ---------- tabs ---------- */
.tabs {
  display: flex;
  gap: 24px;
  padding: 16px 16px 10px;
  max-width: 560px;
  margin: 0 auto;
}
.tabs button {
  border: 0;
  background: none;
  padding: 0 0 7px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  position: relative;
  cursor: pointer;
}
.tabs button.on { color: var(--ink); }
.tabs button.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0.55);
}

/* ---------- 活动卡片 ---------- */
.list { padding: 2px 16px 0; max-width: 560px; margin: 0 auto; }

.card {
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-1);
  position: relative;
}
.card:active { box-shadow: var(--shadow-2); }

.card-arch {
  position: relative;
  height: 172px;
  margin: 8px 8px 0;
  border-radius: 110px 110px 10px 10px;
  overflow: hidden;
  background: var(--ink-deep) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 16px 16px 14px;
}
.card-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.06) 30%, rgba(20, 16, 12, 0.66) 100%);
}
.card-arch .cv-title {
  position: relative;
  z-index: 1;
  color: #fff8f0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

/* 印章独立占一行，落在封面与正文之间；不再用负 margin 压封面，避免遮住标题 */
.seal-row {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 11px 14px 0;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

/* 印章标签 */
.seal {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #fdfaf4;
  background: var(--red);
  border-radius: 3px;
  transform: rotate(-2.5deg);
  box-shadow: inset 0 0 0 1.5px rgba(253, 250, 244, 0.26);
}
.seal.pending { background: var(--warn); }
.seal.ok { background: var(--ok); }
.seal.muted { background: #6e655a; }
.seal.gold { background: #9c7a2a; }

.card-body { padding: 12px 16px 14px; }
.card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 5px;
}
.card-row:last-child { margin-bottom: 0; }
.card-row .k {
  color: var(--ink-3);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
  font-family: var(--font-display);
}
.card-row .v {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-row .v.time { font-family: var(--font-num); letter-spacing: 0.01em; }

/* ---------- 面板 ---------- */
.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px;
  margin: 12px 16px;
  box-shadow: var(--shadow-1);
  max-width: 528px;
}
@media (min-width: 560px) {
  .panel { margin-left: auto; margin-right: auto; }
}
.panel h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-left: 11px;
  position: relative;
}
.panel h2::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 3px;
  background: var(--red);
  border-radius: 2px;
}
.panel p { margin: 0; color: var(--ink-2); font-size: 14px; }
.muted { color: var(--ink-3); font-size: 13px; }

/* ---------- 详情页 ---------- */
.cover-lg {
  position: relative;
  height: 210px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink-deep) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 20px 18px 18px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}
.cover-lg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.1) 25%, rgba(20, 16, 12, 0.72) 100%);
}
.cover-lg h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff8f0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.cover-lg .cover-fee {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
}

.body-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin: -18px 16px 0;
  position: relative;
  z-index: 2;
  padding: 16px;
  box-shadow: var(--shadow-2);
  max-width: 528px;
}
@media (min-width: 560px) {
  .body-panel { margin-left: auto; margin-right: auto; }
}

.kv { display: grid; grid-template-columns: 58px 1fr; gap: 9px 12px; font-size: 14px; }
.kv dt {
  color: var(--ink-3);
  font-size: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.kv dd { margin: 0; color: var(--ink); }

.fee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--red-wash);
  color: var(--red-deep);
  border: 1px solid rgba(200, 50, 43, 0.25);
  font-weight: 600;
}
.fee.free { background: var(--ok-bg); color: var(--ok); border-color: rgba(47, 107, 75, 0.22); }

.content-body {
  white-space: pre-wrap;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.9;
}

/* 富文本（公众号式排版）在 C 端的呈现 */
.content-body.rich { white-space: normal; }
.content-body.rich p { margin: 0 0 14px; }
.content-body.rich p:last-child { margin-bottom: 0; }
.content-body.rich h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 22px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--red);
  line-height: 1.5;
}
.content-body.rich h3 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red-deep);
  margin: 18px 0 8px;
  line-height: 1.5;
}
.content-body.rich h4 { font-size: 14.5px; font-weight: 600; margin: 14px 0 6px; color: var(--ink); }
.content-body.rich blockquote {
  margin: 14px 0;
  padding: 11px 14px;
  background: var(--paper-3);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  color: var(--ink-2);
  font-size: 14px;
}
.content-body.rich ul,
.content-body.rich ol { margin: 0 0 14px; padding-left: 20px; }
.content-body.rich li { margin-bottom: 6px; }
.content-body.rich li::marker { color: var(--gold); }
.content-body.rich img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 14px 0;
  border: 1px solid var(--line);
}
.content-body.rich a { color: var(--red); text-decoration: underline; }
.content-body.rich hr {
  border: 0;
  border-top: 1px dashed rgba(200, 164, 77, 0.7);
  margin: 22px 0;
}
.content-body.rich strong { color: var(--ink); }

.poster-wrap {
  max-width: 528px;
  margin: 14px auto 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.poster-wrap img { width: 100%; display: block; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 18px; }
.field > label {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.field .req { color: var(--red); margin-left: 3px; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

input[type="text"], input[type="tel"], input[type="number"], input[type="password"],
input[type="date"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-3);
  border-radius: var(--r-input);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: #a89e90; }
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  background: var(--paper-2);
  box-shadow: 0 0 0 3px rgba(200, 50, 43, 0.1);
}
textarea { min-height: 100px; resize: vertical; line-height: 1.75; }
select { appearance: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: var(--paper-3);
  border-radius: 6px;
  padding: 8px 15px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.chip.on {
  border-color: var(--red);
  background: var(--red-wash);
  color: var(--red-deep);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(200, 50, 43, 0.2);
}

.uploads { display: flex; gap: 10px; flex-wrap: wrap; }
.up-item, .up-add {
  width: 92px; height: 92px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--paper-3);
  border: 1px dashed #cfc2ab;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 12px;
  cursor: pointer;
}
.up-item { border: 1px solid var(--line); }
.up-item img { width: 100%; height: 100%; object-fit: cover; }
.up-item .del {
  position: absolute; top: 3px; right: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(27, 24, 21, 0.6); color: #fff;
  border: 0; font-size: 13px; line-height: 20px; text-align: center;
  padding: 0; cursor: pointer;
}
.up-add span { font-size: 24px; line-height: 1; color: #b9ad99; display: block; text-align: center; }

.btn {
  display: block;
  width: 100%;
  border: 1px solid var(--red-deep);
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  background: var(--red);
  color: #fdfaf4;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: background 0.15s, transform 0.1s;
}
.btn:active { background: var(--red-deep); transform: translateY(1px); box-shadow: none; }
.btn[disabled] { background: #d8ccbc; border-color: #c8bcac; color: #8c8378; box-shadow: none; cursor: not-allowed; }
.btn.ghost {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: none;
}
.btn.ghost:active { background: var(--gold-soft); }

/* 吸底提交条 */
.submit-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(253, 250, 244, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(200, 164, 77, 0.4);
  z-index: 20;
}
.submit-bar .inner { max-width: 560px; margin: 0 auto; }
.submit-bar .tip {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

/* 底部导航 */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  background: rgba(253, 250, 244, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(200, 164, 77, 0.45);
  z-index: 20;
}
.tabbar a {
  flex: 1;
  text-align: center;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.tabbar a.on { color: var(--red); font-weight: 700; }
.tabbar a.on::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  margin: 0 auto 5px;
}

/* 状态标签 */
.status {
  display: inline-block;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.status.submitted { background: var(--warn-bg); color: var(--warn); }
.status.approved { background: var(--ok-bg); color: var(--ok); }
.status.rejected { background: var(--danger-bg); color: var(--danger); }
.status.checked_in { background: var(--info-bg); color: var(--info); }
.status.cancelled { background: #eee8dc; color: var(--ink-3); }

/* 空态 / 提示 */
.empty {
  text-align: center;
  padding: 54px 20px;
  color: var(--ink-3);
  font-size: 14px;
}
.empty b {
  display: block;
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.empty::before {
  content: "空";
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 41px;
  transform: rotate(-4deg);
  opacity: 0.8;
}

.toast {
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: rgba(27, 24, 21, 0.92);
  color: var(--gold-soft);
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid rgba(200, 164, 77, 0.4);
  font-size: 14px;
  max-width: 76vw;
  text-align: center;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

.skel {
  background: linear-gradient(90deg, #ece2d1 25%, #f5eee1 37%, #ece2d1 63%);
  background-size: 400% 100%;
  animation: sk 1.2s ease infinite;
  border-radius: 14px;
  height: 200px;
  margin-bottom: 14px;
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* 结果页 */
.result-hero { text-align: center; padding: 30px 20px 6px; }
.result-hero .ok-mark {
  width: 58px; height: 58px;
  border-radius: 6px;
  background: var(--red);
  color: #fdfaf4;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 58px;
  margin: 0 auto 16px;
  transform: rotate(-4deg);
  box-shadow: inset 0 0 0 3px rgba(253, 250, 244, 0.28);
}
.result-hero h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.result-hero p { margin: 0; color: var(--ink-2); font-size: 13.5px; }

.notice {
  background: var(--warn-bg);
  border: 1px solid rgba(166, 106, 21, 0.24);
  color: #8a5a12;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.reply-box {
  background: var(--info-bg);
  border: 1px solid rgba(31, 94, 122, 0.2);
  border-radius: 8px;
  padding: 12px 13px;
  font-size: 13.5px;
  color: #1f4a5e;
  line-height: 1.75;
}
.reject-box {
  background: var(--danger-bg);
  border: 1px solid rgba(181, 50, 44, 0.2);
  border-radius: 8px;
  padding: 12px 13px;
  font-size: 13.5px;
  color: #8c2f22;
  line-height: 1.75;
}

.thumb-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumb-row img {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

/* 我的报名 */
.mine-card {
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.mine-card .mc-head {
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed rgba(200, 164, 77, 0.45);
}
.mine-card .mc-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.mine-card .mc-body { padding: 11px 15px 13px; font-size: 13px; color: var(--ink-2); }
.mine-card .mc-body div { margin-bottom: 5px; }
.mine-card .mc-body div:last-child { margin-bottom: 0; }

.search-box { display: flex; gap: 8px; margin: 12px 16px 4px; max-width: 528px; }
.search-box input { flex: 1; }
.search-box button {
  border: 1px solid var(--gold);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: var(--r-input);
  padding: 0 18px;
  font-size: 14px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* 详情页余位条 */
.seat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(200, 164, 77, 0.45);
  font-size: 13px;
  color: var(--ink-2);
}
.seat-track { flex: 1; height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; display: block; }
.seat-fill { display: block; height: 100%; background: var(--red); border-radius: 3px; transition: width 0.3s; }

/* 表单页页头 */
.form-head { padding: 16px 16px 0; max-width: 528px; margin: 0 auto; }
.form-head h1 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.form-head p { margin: 0; font-size: 13px; color: var(--ink-3); }

.form-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  margin: 12px 16px;
  border-radius: var(--r-card);
  padding: 18px 16px 6px;
  box-shadow: var(--shadow-1);
  max-width: 528px;
}
@media (min-width: 560px) { .form-panel { margin-left: auto; margin-right: auto; } }

.more-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  cursor: pointer;
  border-top: 1px dashed rgba(200, 164, 77, 0.45);
}
.more-toggle i { font-style: normal; color: var(--ink-3); font-size: 12px; }
.more-body { display: none; }
.more-body.open { display: block; }
.row2 { display: flex; gap: 10px; }
.row2 > * { flex: 1; min-width: 0; }

/* 扫码添加微信（报名页）：发布方二维码，管理员上传后才展示 */
.wx-qr-panel {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wx-qr-panel img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(200, 164, 77, 0.45);
  background: #fff;
  flex: 0 0 auto;
}
.wx-qr-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 4px;
}
.wx-qr-txt .hint { margin: 0 0 6px; }
.wx-qr-tip {
  font-size: 11.5px;
  color: var(--ink-3);
}

/* 页眉左上：返回首页（报名页等共用） */
.plaque {
  position: relative;
}
.plaque-home {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.4);
  background: rgba(20, 16, 12, 0.42); color: #fff8f0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.plaque-home:active { transform: scale(0.94); }
.plaque-home svg { width: 20px; height: 20px; display: block; }

/* 备案号页脚 */
.site-footer {
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.site-footer a {
  color: var(--ink-3);
  text-decoration: none;
}
