/* =========================================================
   回声意见箱 · 全站样式
   纸感、墨色与一点朱砂红；无外部字体和图片依赖。
   ========================================================= */

:root {
  --paper: #f4eee2;
  --paper-deep: #ebe2d1;
  --paper-light: #fbf7ee;
  --card: #fffdf8;
  --ink: #1e1b17;
  --ink-soft: #3c362c;
  --muted: #7d7364;
  --muted-light: #9a8f7e;
  --line: #e3d8c6;
  --line-strong: #d2c2a9;
  --red: #b5372c;
  --red-dark: #8c2a22;
  --red-soft: #f4e4df;
  --gold: #b08a4f;
  --gold-soft: #f3ead8;
  --green: #3f6650;
  --green-soft: #e4ede5;
  --blue: #426174;
  --blue-soft: #e5edf1;
  --orange: #a9632f;
  --orange-soft: #f5e8dc;
  --shadow-sm: 0 2px 8px rgba(52, 40, 23, 0.05);
  --shadow-md: 0 18px 46px rgba(52, 40, 23, 0.09);
  --shadow-lg: 0 30px 80px rgba(52, 40, 23, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sidebar: #181613;
  --sidebar-soft: #24211c;
  --sidebar-line: rgba(255, 248, 235, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

body::selection {
  background: rgba(181, 55, 44, 0.2);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

::placeholder {
  color: #aaa08f;
  opacity: 1;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9em;
  letter-spacing: -0.02em;
}

.muted {
  color: var(--muted);
  font-size: 0.82em;
  margin-left: 8px;
}

.small {
  font-size: 12px;
}

.shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------------- 公共页头 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 238, 226, 0.88);
  border-bottom: 1px solid rgba(211, 196, 173, 0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark,
.brand-svg {
  width: 42px;
  height: 42px;
  color: var(--red);
  flex: none;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.brand-type strong {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-type small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: var(--ink-soft);
}

.site-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  transition: color 0.2s;
}

.site-nav > a:not(.nav-admin)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transition: right 0.24s ease;
}

.site-nav > a:not(.nav-admin):hover::after {
  right: 0;
}

.site-nav > a:hover {
  color: var(--red);
}

.site-nav .nav-admin {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 253, 248, 0.45);
}

.site-nav .nav-admin .icon {
  width: 14px;
  height: 14px;
}

.site-nav .nav-admin:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--card);
}

/* ---------------- 公共首页 Hero ---------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  align-items: center;
  gap: 52px;
  padding-block: 74px 46px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 138, 79, 0.11), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 74px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.ink-accent {
  position: relative;
  display: inline-block;
  color: var(--red);
  z-index: 0;
}

.ink-accent::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -5%;
  bottom: 4px;
  height: 12px;
  border-radius: 60% 40% 55% 45%;
  background: rgba(181, 55, 44, 0.16);
  transform: rotate(-1.4deg);
  z-index: -1;
}

.hero-lead {
  max-width: 490px;
  margin-top: 24px;
  color: #5c5448;
  font-size: 15px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.18s,
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    color 0.18s;
  white-space: nowrap;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fffaf0;
  box-shadow: 0 10px 24px rgba(181, 55, 44, 0.22);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 13px 28px rgba(181, 55, 44, 0.28);
}

.btn-ghost {
  background: rgba(255, 253, 248, 0.38);
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--ink-soft);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff8eb;
}

.btn-dark:hover {
  background: #000;
  border-color: #000;
}

.btn-soft {
  background: var(--paper-light);
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-soft:hover {
  background: #fff;
  border-color: var(--line-strong);
}

.btn-danger-ghost {
  background: transparent;
  border-color: rgba(181, 55, 44, 0.28);
  color: var(--red);
}

.btn-danger-ghost:hover {
  background: var(--red-soft);
  border-color: rgba(181, 55, 44, 0.48);
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  gap: 6px;
}

.btn-small .icon {
  width: 14px;
  height: 14px;
}

.btn-block {
  width: 100%;
}

.btn-send {
  min-width: 160px;
  min-height: 52px;
  font-size: 14px;
}

.btn-send.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-trust .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.trust-divider {
  width: 1px;
  height: 11px;
  background: var(--line-strong);
}

.hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.mail-illustration {
  width: 100%;
  height: auto;
  filter: saturate(0.96);
}

.art-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  justify-content: flex-end;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.art-caption-line {
  width: 40px;
  height: 1px;
  background: var(--line-strong);
}

.hero-art .art-star path {
  animation: twinkle 3.6s ease-in-out infinite;
  transform-origin: center;
}

.hero-art .art-star-2 path {
  animation-delay: 1.1s;
}

.hero-art .art-star-3 circle {
  animation: twinkle 4.2s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-9px) rotate(0.6deg);
  }
}

.hero-art > svg {
  animation: float 8s ease-in-out infinite;
}

/* ---------------- 公共留言区 ---------------- */

.write-section {
  padding-block: 56px 84px;
  scroll-margin-top: 92px;
}

#guide {
  scroll-margin-top: 92px;
}

.write-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr);
  gap: 26px;
  align-items: start;
}

.form-card {
  position: relative;
  padding: 40px 42px 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 48%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(176, 138, 79, 0.1), transparent 28%),
    radial-gradient(circle at 0 100%, rgba(181, 55, 44, 0.04), transparent 32%);
  pointer-events: none;
}

.form-head {
  position: relative;
  margin-bottom: 30px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-index span {
  font-family: var(--mono);
}

.section-index i {
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

.section-index em {
  font-style: normal;
  color: var(--muted);
}

.form-head h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.form-head > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.form-wrap {
  position: relative;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.field-group {
  display: block;
  margin-bottom: 24px;
}

.field-label,
.field-group > legend,
.field-group > .field-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.field-label small,
.field-group > legend small {
  color: var(--muted-light);
  font-weight: 400;
  font-size: 10px;
}

.required {
  color: var(--red);
  font-size: 10px;
  font-weight: 500;
}

.required::before {
  content: "·";
  margin-right: 2px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 4px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-light);
}

.segment {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.segment input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.segment:hover {
  color: var(--ink);
}

.segment:has(input:checked),
.segment.is-checked {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 7px rgba(52, 40, 23, 0.08);
}

.segment:has(input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.segment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e9f0f8;
  color: #2575c7;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}

.segment-icon-wechat {
  background: #e4f2e6;
  color: #2c8a43;
}

.segment-icon-wechat .icon {
  width: 15px;
  height: 15px;
}

.contact-input-wrap {
  position: relative;
}

.input-status {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--green);
  display: none;
}

.input-status.is-valid {
  display: block;
}

.input-status.is-valid::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  font-size: 11px;
  font-weight: 700;
}

.text-input,
.text-area {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fffefa;
  color: var(--ink);
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.text-input {
  height: 48px;
  padding: 0 14px;
}

.text-input:hover,
.text-area:hover {
  border-color: var(--line-strong);
}

.text-input:focus,
.text-area:focus {
  outline: none;
  border-color: rgba(181, 55, 44, 0.58);
  box-shadow: 0 0 0 3px rgba(181, 55, 44, 0.08);
  background: #fff;
}

.text-input.is-invalid,
.text-area.is-invalid {
  border-color: rgba(181, 55, 44, 0.5);
}

.field-hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-row .field-group {
  min-width: 0;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}

.select-wrap > .icon {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 15px;
  height: 15px;
  color: var(--muted);
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.message-field {
  position: relative;
}

.text-area {
  min-height: 168px;
  padding: 14px 15px 30px;
  line-height: 1.8;
  resize: vertical;
}

.char-count {
  position: absolute;
  right: 14px;
  bottom: 11px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 10px;
}

.char-count b {
  color: var(--muted);
  font-weight: 500;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  cursor: pointer;
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex: none;
}

.consent.is-invalid {
  color: var(--red);
}

.form-error {
  margin-top: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(181, 55, 44, 0.24);
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 12px;
  line-height: 1.5;
}

.form-error-block {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}

.form-error-block .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.privacy-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--gold);
}

/* ---------------- 成功状态 ---------------- */

.success-panel {
  text-align: center;
  padding: 24px 20px 12px;
  animation: rise 0.5s ease both;
}

.success-panel[hidden] {
  display: none;
}

.success-stamp {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff8ec;
  box-shadow: 0 10px 26px rgba(181, 55, 44, 0.24);
}

.success-stamp .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.success-panel .eyebrow {
  justify-content: center;
  margin-bottom: 12px;
}

.success-panel h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.success-copy {
  max-width: 390px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.ticket-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 330px;
  margin: 26px auto 0;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--paper-light);
  text-align: left;
}

.ticket-box > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ticket-box span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.ticket-box strong {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.icon-button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #fff;
}

.icon-button .icon {
  width: 15px;
  height: 15px;
}

.success-meta {
  margin-top: 11px;
  color: var(--muted-light);
  font-size: 10px;
}

.success-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 10px;
}

.success-privacy .icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
}

.is-hidden {
  display: none !important;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- 投递须知 ---------------- */

.guide-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-card {
  position: relative;
  padding: 30px 28px 26px;
  border: 1px solid #2b2721;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(176, 138, 79, 0.17), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(181, 55, 44, 0.1), transparent 32%),
    var(--sidebar);
  color: #f6efe2;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.guide-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 247, 232, 0.08);
  border-radius: 18px;
  pointer-events: none;
}

.guide-head {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 247, 232, 0.12);
}

.seal-small {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--red);
  color: #fff7e9;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(255, 247, 232, 0.2);
  flex: none;
}

.guide-head .eyebrow {
  color: rgba(246, 239, 226, 0.46);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.guide-head h2 {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.guide-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.guide-list li {
  display: flex;
  gap: 12px;
  padding-bottom: 19px;
  margin-bottom: 19px;
  border-bottom: 1px dashed rgba(255, 247, 232, 0.12);
}

.guide-list li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.guide-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  padding-top: 2px;
}

.guide-list strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.guide-list p {
  margin-top: 5px;
  color: rgba(246, 239, 226, 0.6);
  font-size: 11px;
  line-height: 1.75;
}

.privacy-box {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 11px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(255, 247, 232, 0.1);
  border-radius: 12px;
  background: rgba(255, 247, 232, 0.05);
}

.privacy-box-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(176, 138, 79, 0.18);
  color: #d9b77c;
  flex: none;
}

.privacy-box-icon .icon {
  width: 15px;
  height: 15px;
}

.privacy-box strong {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.privacy-box p {
  margin-top: 3px;
  color: rgba(246, 239, 226, 0.54);
  font-size: 10px;
  line-height: 1.65;
}

.station-note {
  position: relative;
  padding: 24px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.52);
}

.quote-mark {
  color: var(--red);
  opacity: 0.38;
}

.quote-mark .icon {
  width: 22px;
  height: 22px;
}

.station-note blockquote {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.station-note figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.station-note figcaption span {
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------------- 价值条 & 页脚 ---------------- */

.values-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.38);
}

.values-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.value-item:first-child {
  padding-left: 0;
}

.value-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: var(--card);
  flex: none;
}

.value-icon .icon {
  width: 17px;
  height: 17px;
}

.value-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.value-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.site-footer {
  padding-block: 38px;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-mark {
  width: 34px;
  height: 34px;
  opacity: 0.86;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 15px;
}

.footer-brand p {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 10px;
}

.footer-right a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}

.footer-right a:hover {
  color: var(--red);
}

.footer-right .icon {
  width: 12px;
  height: 12px;
}

/* ---------------- Toast ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8ec;
  font-size: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s,
    transform 0.22s;
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------- 简单错误页 ---------------- */

.simple-error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  width: min(620px, calc(100% - 48px));
  margin: 0 auto;
}

.simple-error h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.2;
}

.simple-error > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 8px;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.4vw, 64px);
  }

  .write-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  }

  .form-card {
    padding: 34px 30px 32px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(760px, calc(100% - 48px));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 50px 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(44px, 8vw, 60px);
    word-break: keep-all;
  }

  .hero-art {
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }

  .write-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .guide-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .station-note {
    height: 100%;
  }
}

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 68px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-mark,
  .brand-svg {
    width: 36px;
    height: 36px;
  }

  .brand-type strong {
    max-width: 150px;
    font-size: 16px;
    white-space: nowrap;
  }

  .brand-type small {
    display: none;
  }

  .site-nav {
    flex: 0 0 auto;
    gap: 12px;
  }

  .site-nav > a.nav-guide {
    display: none;
  }

  .site-nav > a.nav-write {
    font-size: 12px;
  }

  .site-nav > a.nav-reply {
    display: none;
  }

  .site-nav .nav-admin {
    padding: 7px 11px;
    font-size: 11px;
  }

  .site-nav .nav-admin .icon {
    width: 12px;
    height: 12px;
  }

  .hero {
    padding-block: 38px 20px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(40px, 11.4vw, 54px);
    line-height: 1.22;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 9px;
  }

  .hero-actions .btn {
    min-height: 43px;
    padding-inline: 17px;
    font-size: 12px;
  }

  .hero-trust {
    gap: 9px;
    margin-top: 24px;
    font-size: 10px;
  }

  .hero-art {
    max-width: 410px;
  }

  .art-caption {
    justify-content: center;
    font-size: 10px;
  }

  .write-section {
    padding-block: 34px 56px;
  }

  .form-card {
    padding: 28px 22px 26px;
    border-radius: 19px;
  }

  .form-head {
    margin-bottom: 24px;
  }

  .form-head h2 {
    font-size: 29px;
  }

  .form-head > p {
    font-size: 12px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field-group {
    margin-bottom: 21px;
  }

  .text-area {
    min-height: 154px;
  }

  .form-foot {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
  }

  .privacy-note {
    justify-content: center;
    text-align: center;
  }

  .btn-send {
    width: 100%;
    min-height: 50px;
  }

  .guide-column {
    grid-template-columns: 1fr;
  }

  .guide-card {
    padding: 26px 22px 23px;
  }

  .station-note {
    padding: 21px 22px;
  }

  .values-inner {
    grid-template-columns: 1fr;
  }

  .value-item,
  .value-item:first-child,
  .value-item:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-item:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .success-panel h2 {
    font-size: 28px;
  }

  .success-panel {
    padding-inline: 0;
  }
}

@media (max-width: 420px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 39px;
  }

  .site-nav > a.nav-write {
    display: none;
  }

  .form-card {
    padding: 24px 17px 22px;
  }

  .form-head h2 {
    font-size: 27px;
  }

  .segmented {
    gap: 4px;
  }

  .ticket-box {
    max-width: 100%;
  }
}

/* ---------------- 动画与可访问性 ---------------- */

.reveal {
  animation: reveal 0.7s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- 查询站长回复 ---------------- */

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.reply-main {
  width: min(900px, calc(100% - 64px));
  margin-inline: auto;
  padding-block: 34px 82px;
}

.reply-breadcrumb {
  margin-bottom: 26px;
}

.reply-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.reply-breadcrumb a:hover {
  color: var(--red);
}

.reply-breadcrumb .icon {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
}

.reply-hero {
  max-width: 650px;
  margin-bottom: 28px;
}

.reply-hero h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 58px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.reply-hero > p:not(.eyebrow) {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.reply-form-card {
  max-width: 720px;
  margin-inline: 0;
  padding: 30px 32px 26px;
}

.reply-form-card .form-head {
  margin-bottom: 22px;
}

.reply-form-card .form-head h2 {
  font-size: 29px;
}

.reply-form-card .form-foot {
  padding-top: 18px;
}

.reply-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.55);
}

.reply-tip-icon {
  color: var(--gold);
}

.reply-tip-icon .icon {
  width: 17px;
  height: 17px;
}

.reply-tip strong {
  font-size: 11px;
}

.reply-tip p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.reply-results {
  margin-top: 34px;
}

.reply-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.reply-results-head h2 {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.reply-count {
  color: var(--muted);
  font-size: 10px;
}

.reply-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.reply-item {
  padding: 19px 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.reply-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.reply-ticket {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.reply-item-head time {
  color: var(--muted-light);
  font-size: 9px;
}

.reply-original {
  margin-top: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.reply-original span {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 8px;
}

.reply-content {
  margin-top: 12px;
  padding: 13px 15px;
  border-left: 2px solid var(--red);
  border-radius: 0 9px 9px 0;
  background: var(--paper-light);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.reply-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.reply-label .icon {
  width: 12px;
  height: 12px;
}

.reply-empty {
  padding: 52px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.55);
  text-align: center;
}

.reply-empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--paper-light);
  color: var(--gold);
}

.reply-empty-icon .icon {
  width: 26px;
  height: 26px;
}

.reply-empty h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.reply-empty p {
  max-width: 390px;
  margin: 7px auto 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

@media (max-width: 720px) {
  .reply-main {
    width: calc(100% - 40px);
    padding-block: 24px 58px;
  }

  .reply-hero h1 {
    font-size: 39px;
  }

  .reply-form-card {
    padding: 25px 21px 22px;
  }

  .reply-item {
    padding: 16px;
  }

  .reply-content {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
