:root {
  --paper: #f8f3ec;
  --paper-deep: #efe5d8;
  --paper-warm: #ece0d2;
  --surface: rgba(255, 251, 246, 0.92);
  --surface-strong: rgba(255, 253, 249, 0.98);
  --line: rgba(126, 97, 71, 0.15);
  --line-strong: rgba(126, 97, 71, 0.22);
  --ink: #6e543f;
  --ink-soft: #9f8773;
  --ink-faint: #b7a28f;
  --accent: #8f6d4d;
  --accent-deep: #7b5a3f;
  --success: #5f8067;
  --danger: #9a625b;
  --shadow-xl: 0 30px 90px rgba(141, 113, 82, 0.14);
  --shadow-lg: 0 20px 46px rgba(141, 113, 82, 0.12);
  --shadow-md: 0 14px 28px rgba(141, 113, 82, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-display: "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Baskerville", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 26%),
    radial-gradient(circle at top right, rgba(224, 208, 189, 0.44), transparent 20%),
    radial-gradient(circle at bottom left, rgba(223, 206, 185, 0.26), transparent 22%),
    linear-gradient(180deg, #fbf7f0 0%, #f4ecdf 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 30px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, transparent 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.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;
}

.showcase-shell,
.mobile-app-shell {
  width: 100%;
  min-height: 100vh;
}

.showcase-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 22px 56px;
}

.mobile-app-shell {
  padding: 22px 14px 40px;
}

.message-stack {
  display: grid;
  gap: 10px;
  width: min(100%, 980px);
  margin: 0 auto 18px;
}

.message-card-stack,
.busy-bar,
.utility-dock,
.manual-entry-card,
.summary-board,
.flow-card,
.showcase-overview,
.showcase-hero,
.phone-frame,
.message-card,
.pending-item,
.media-card,
.memorial-video-card,
.seal-preview-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-lg);
}

.message-card-stack,
.busy-bar {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  line-height: 1.75;
}

.message-error {
  color: var(--danger);
  border-color: rgba(154, 98, 91, 0.2);
}

.message-success {
  color: var(--accent-deep);
}

.busy-bar {
  width: min(100%, 430px);
  margin: 16px auto 0;
  text-align: center;
  color: var(--ink-soft);
}

.busy-bar-inline {
  margin-top: 12px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
}

.wordmark-hai {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.25rem);
  line-height: 1;
}

.wordmark-divider {
  font-size: 1.9rem;
  color: var(--ink-faint);
}

.wordmark-resee {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.2em;
}

.wordmark-tagline {
  margin-top: 6px;
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.showcase-hero {
  position: relative;
  display: grid;
  gap: 32px;
  padding: 28px;
  border-radius: 42px;
  overflow: hidden;
}

.showcase-hero::before,
.showcase-overview::before,
.summary-board::before,
.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 44%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 30%);
  pointer-events: none;
}

.showcase-copy,
.showcase-visual {
  position: relative;
  z-index: 1;
}

.showcase-title,
.showcase-body,
.step-title,
.memorial-section-head h2,
.memorial-top-name,
.seal-preview-name,
.summary-board h3,
.flow-card h3 {
  margin: 0;
}

.showcase-title,
.step-title,
.memorial-top-name,
.seal-preview-name {
  font-family: var(--font-display);
  font-weight: 400;
}

.showcase-title {
  margin-top: 26px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.06;
}

.showcase-body {
  margin-top: 20px;
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.showcase-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.showcase-hint,
.manual-entry-note,
.field-note,
.privacy-note,
.pending-item p,
.media-card-body span,
.memorial-empty,
.memorial-video-meta span,
.seal-preview-sub,
.seal-stats-row span,
.showcase-quote-block p,
.summary-board p,
.flow-card p,
.overview-footer {
  color: var(--ink-soft);
}

.manual-entry-card {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 18px 18px 16px;
  border-radius: 26px;
}

.manual-entry-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.manual-entry-row {
  display: grid;
  gap: 12px;
}

.showcase-visual {
  display: grid;
  gap: 22px;
}

.overview-phone-frame {
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(34, 29, 24, 0.96), rgba(44, 38, 32, 0.94));
  box-shadow: 0 28px 60px rgba(46, 34, 24, 0.28);
}

.overview-phone-screen {
  min-height: 720px;
  padding: 30px 28px 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 243, 235, 0.98));
  position: relative;
  overflow: hidden;
}

.overview-phone-brand {
  margin-bottom: 54px;
}

.overview-phone-brand .wordmark-hai {
  font-size: 2rem;
}

.overview-phone-brand .wordmark-resee {
  font-size: 1rem;
}

.overview-phone-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.3;
  font-weight: 400;
}

.overview-phone-copy p {
  margin: 34px 0 0;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.overview-door {
  position: absolute;
  right: 42px;
  top: 238px;
  width: 88px;
  height: 168px;
  border-top: 2px solid rgba(171, 144, 117, 0.18);
  border-right: 2px solid rgba(171, 144, 117, 0.18);
  box-shadow: -16px 24px 70px rgba(255, 255, 255, 0.9);
}

.overview-phone-actions {
  position: absolute;
  inset: auto 28px 84px;
  display: grid;
  gap: 14px;
}

.overview-main-button,
.overview-link-button {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 18px;
}

.overview-main-button {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 14px 28px rgba(121, 90, 63, 0.22);
}

.overview-link-button {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.overview-footer {
  position: absolute;
  inset: auto 0 28px;
  text-align: center;
  letter-spacing: 0.16em;
}

.showcase-quote-block {
  display: grid;
  gap: 16px;
  align-content: start;
  padding-top: 24px;
}

.showcase-quote-line {
  width: 54px;
  height: 1px;
  background: var(--line-strong);
}

.showcase-quote-block p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.5;
}

.showcase-overview {
  position: relative;
  margin-top: 28px;
  padding: 28px;
  border-radius: 38px;
}

.section-kicker-center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-kicker-center::before,
.section-kicker-center::after {
  content: "";
  width: min(100px, 16vw);
  height: 1px;
  background: var(--line);
}

.flow-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.flow-card {
  position: relative;
  padding: 20px;
  border-radius: 28px;
}

.flow-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.flow-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff8f1;
  font-weight: 700;
}

.flow-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.flow-card p {
  margin: 6px 0 0;
  line-height: 1.7;
}

.flow-mock {
  min-height: 260px;
  padding: 16px 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 234, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(126, 97, 71, 0.06);
}

.mock-mini-brand {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.mock-line,
.mock-input,
.mock-button,
.mock-textarea,
.mock-upload-box,
.mock-profile-copy,
.mock-player,
.mock-gallery span {
  background: linear-gradient(180deg, rgba(226, 211, 195, 0.9), rgba(244, 236, 227, 0.95));
}

.mock-line {
  height: 12px;
  border-radius: 999px;
  margin-top: 18px;
}

.mock-line-short {
  width: 56%;
}

.mock-line-mid {
  width: 68%;
}

.mock-line-wide {
  width: 78%;
}

.mock-upload-box {
  height: 98px;
  margin-top: 16px;
  border-radius: 22px;
}

.mock-input {
  height: 46px;
  margin-top: 16px;
  border-radius: 16px;
}

.mock-button {
  height: 50px;
  margin-top: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(142, 110, 80, 0.92), rgba(123, 90, 63, 0.92));
}

.mock-textarea {
  height: 126px;
  margin-top: 16px;
  border-radius: 22px;
}

.mock-upload-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.mock-upload-row span,
.mock-gallery span {
  border-radius: 18px;
}

.mock-upload-row span {
  height: 82px;
}

.mock-profile-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
}

.mock-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(235, 218, 198, 0.95), rgba(248, 243, 236, 0.95));
}

.mock-profile-copy {
  height: 52px;
  border-radius: 16px;
}

.mock-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  margin-top: 16px;
}

.mock-gallery-a {
  min-height: 120px;
}

.mock-gallery-b {
  min-height: 76px;
}

.mock-gallery-c,
.mock-gallery-d {
  min-height: 92px;
}

.mock-gallery-c {
  grid-column: 1 / 2;
}

.mock-gallery-d {
  grid-column: 2 / 3;
}

.mock-player {
  height: 62px;
  margin-top: 14px;
  border-radius: 18px;
}

.showcase-summary-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.summary-board {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 30px;
}

.summary-icon {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 1.6rem;
  color: var(--ink-faint);
}

.summary-board h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.summary-board p {
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.85;
}

.summary-board-wide {
  display: grid;
  gap: 18px;
  align-items: center;
}

.summary-gallery-mock {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.summary-gallery-main,
.summary-gallery-side {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(236, 221, 204, 0.92), rgba(248, 243, 235, 0.95));
}

.summary-gallery-main {
  min-height: 220px;
}

.summary-gallery-side {
  min-height: 104px;
}

.summary-gallery-side-bottom {
  align-self: end;
}

.mobile-stage {
  width: min(100%, 460px);
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  padding: 20px;
}

.phone-frame-memorial {
  border-radius: 46px;
}

.phone-shell-shadow,
.phone-shell-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phone-shell-shadow {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    inset 0 0 0 4px rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.phone-shell-sheen {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.72), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.28), transparent 20%);
}

.phone-content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 94px);
  padding: 18px 14px 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 238, 0.98));
}

.phone-content-memorial {
  padding-bottom: 26px;
}

.screen-brand-row,
.screen-meta-row,
.memorial-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.screen-brand-row {
  min-height: 64px;
}

.screen-brand-row .wordmark-hai,
.memorial-top-row .wordmark-hai {
  font-size: 1.7rem;
}

.screen-brand-row .wordmark-resee,
.memorial-top-row .wordmark-resee {
  font-size: 0.98rem;
}

.screen-meta-row {
  margin-top: 6px;
}

.screen-progress,
.memorial-top-name,
.memorial-section-head span,
.memorial-footer em {
  color: var(--ink-soft);
}

.screen-progress {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.screen-progress-muted {
  visibility: hidden;
}

.button-primary,
.button-secondary,
.button-text-link,
.button-text {
  appearance: none;
  border: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, border-color 160ms ease;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
}

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 16px 30px rgba(121, 90, 63, 0.24);
}

.button-secondary {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.button-primary:hover,
.button-secondary:hover,
.button-text-link:hover,
.button-text:hover {
  transform: translateY(-1px);
}

.button-primary:disabled,
.button-secondary:disabled,
.button-text-link:disabled,
.button-text:disabled {
  opacity: 0.55;
  transform: none;
  cursor: not-allowed;
}

.button-large {
  min-height: 60px;
  padding: 0 28px;
  font-size: 1rem;
}

.button-compact {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.button-as-label {
  position: relative;
  overflow: hidden;
}

.button-text,
.button-text-link {
  padding: 0;
  background: transparent;
  color: var(--ink-soft);
}

.button-text-link {
  min-height: 36px;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: rgba(126, 97, 71, 0.28);
}

.button-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  font-size: 0.98rem;
}

.button-back-arrow {
  font-size: 1.8rem;
  line-height: 1;
  margin-top: -3px;
}

.landing-scene,
.step-sheet,
.memorial-sheet {
  position: relative;
  display: grid;
}

.landing-scene {
  min-height: calc(100vh - 176px);
  align-content: start;
  padding: 26px 8px 0;
}

.landing-copy {
  margin-top: 24px;
}

.landing-copy h1,
.step-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
}

.landing-copy h1 {
  margin: 0;
  font-size: clamp(2.25rem, 10vw, 3.45rem);
  line-height: 1.44;
}

.landing-copy p {
  margin: 30px 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.landing-door {
  justify-self: end;
  width: 96px;
  height: 190px;
  margin-top: 46px;
  border-top: 2px solid rgba(170, 145, 117, 0.18);
  border-right: 2px solid rgba(170, 145, 117, 0.18);
  box-shadow: -18px 24px 66px rgba(255, 255, 255, 0.94);
}

.landing-actions {
  margin-top: auto;
  display: grid;
  gap: 16px;
}

.landing-footer-mark {
  margin-top: 68px;
  padding-bottom: 8px;
  text-align: center;
}

.landing-footer-mark span {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

.landing-footer-mark strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.step-sheet {
  gap: 18px;
  padding: 18px 8px 8px;
}

.step-title {
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  line-height: 1.42;
}

.step-paragraph {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.field-block {
  display: grid;
  gap: 10px;
}

.field-label-soft {
  font-size: 1rem;
  color: var(--ink);
}

.field-input,
.field-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
}

.field-input {
  min-height: 58px;
  padding: 0 18px;
}

.field-input-inline {
  min-height: 52px;
}

.field-textarea {
  min-height: 200px;
  padding: 20px 20px 42px;
  resize: vertical;
  line-height: 1.9;
}

.field-input:focus,
.field-textarea:focus {
  border-color: rgba(143, 109, 77, 0.38);
  box-shadow: 0 0 0 4px rgba(143, 109, 77, 0.08);
}

.textarea-shell {
  position: relative;
}

.textarea-count {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cover-dropzone {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(143, 109, 77, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink-soft);
}

.cover-dropzone input,
.upload-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cover-plus,
.upload-choice-plus {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(143, 109, 77, 0.2);
  color: var(--ink-faint);
  font-size: 2.1rem;
}

.cover-stage {
  display: grid;
  gap: 14px;
}

.cover-stage-preview {
  aspect-ratio: 1.16 / 1;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(237, 224, 209, 0.96), rgba(249, 243, 236, 0.94));
}

.cover-stage-preview img,
.media-thumb img,
.memorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inline-button-row,
.step-bottom-actions,
.media-card-actions,
.utility-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field-note,
.manual-entry-note {
  margin: -4px 0 0;
  line-height: 1.8;
}

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

.upload-choice {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 22px;
  border: 1px solid rgba(143, 109, 77, 0.18);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.upload-choice strong {
  font-size: 1.05rem;
  font-weight: 500;
}

.upload-choice span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.upload-choice-note {
  pointer-events: none;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  line-height: 1.7;
}

.privacy-lock {
  color: var(--ink-faint);
}

.pending-list,
.media-preview-area {
  display: grid;
  gap: 12px;
}

.pending-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
}

.pending-item strong,
.media-card-body strong,
.memorial-video-meta strong,
.seal-message-label {
  color: var(--ink);
}

.pending-item p {
  margin: 4px 0 0;
  line-height: 1.6;
}

.pending-item span:last-child {
  white-space: nowrap;
}

.pending-active span:last-child {
  color: var(--accent);
}

.pending-success span:last-child {
  color: var(--success);
}

.pending-error span:last-child {
  color: var(--danger);
}

.media-preview-grid {
  display: grid;
  gap: 12px;
}

.media-card {
  overflow: hidden;
  border-radius: 24px;
}

.media-thumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, rgba(237, 224, 209, 0.96), rgba(249, 243, 236, 0.94));
}

.media-thumb-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #201912;
}

.media-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.seal-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 2px 0 4px;
}

.seal-warning-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(143, 109, 77, 0.24);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
}

.seal-warning strong,
.seal-warning span {
  display: block;
}

.seal-warning strong {
  margin-bottom: 6px;
  font-weight: 500;
}

.seal-warning span {
  color: var(--ink-soft);
  line-height: 1.75;
}

.seal-preview-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
}

.seal-preview-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.seal-avatar {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(237, 224, 209, 0.96), rgba(249, 243, 236, 0.94));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
}

.seal-avatar img,
.seal-avatar span {
  width: 100%;
  height: 100%;
}

.seal-avatar span {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
}

.seal-preview-name {
  font-size: 2.1rem;
  line-height: 1.08;
}

.seal-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}

.seal-stats-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
}

.seal-stats-row span {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
}

.seal-divider,
.memorial-section,
.memorial-video-card {
  border-top: 1px solid rgba(126, 97, 71, 0.12);
}

.seal-divider {
  margin-top: -2px;
}

.seal-message-body {
  line-height: 1.95;
  color: var(--ink);
}

.button-preview {
  justify-self: start;
}

.memorial-sheet {
  gap: 22px;
  padding: 8px 6px 4px;
}

.memorial-top-row {
  padding: 6px 4px 8px;
}

.memorial-top-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.memorial-section {
  padding-top: 18px;
}

.memorial-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.memorial-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.7rem);
  font-weight: 400;
  line-height: 1.24;
}

.memorial-section-head span {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.memorial-section-head-compact {
  align-items: start;
}

.memorial-section-head-compact p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  line-height: 1.42;
}

.memorial-message-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  line-height: 1.95;
}

.memorial-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  gap: 12px;
}

.memorial-photo {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(237, 224, 209, 0.96), rgba(249, 243, 236, 0.94));
  box-shadow: var(--shadow-md);
}

.memorial-photo-large {
  min-height: 292px;
}

.memorial-photo-wide {
  min-height: 156px;
}

.memorial-photo-small {
  min-height: 156px;
}

.memorial-photo-tall {
  min-height: 228px;
}

.memorial-photo-rest {
  min-height: 184px;
  grid-column: span 1;
}

.memorial-photo-rest:nth-child(odd) {
  grid-column: 1 / 2;
}

.memorial-photo-rest:nth-child(even) {
  grid-column: 2 / 3;
}

.memorial-photo img {
  position: absolute;
  inset: 0;
}

.memorial-photo-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-size: 1rem;
  color: rgba(111, 84, 63, 0.72);
}

.memorial-empty {
  margin: 0;
  line-height: 1.9;
}

.memorial-gallery-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 10px;
}

.memorial-gallery-toggle {
  min-height: 32px;
  font-size: 0.96rem;
}

.memorial-video-card {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.memorial-video-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.memorial-play-button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(143, 109, 77, 0.22);
  color: var(--accent);
  font-size: 1.35rem;
}

.memorial-video-meta {
  display: grid;
  gap: 4px;
}

.memorial-video-card video {
  width: 100%;
  border-radius: 20px;
  background: #221911;
}

.memorial-video-card-empty {
  color: var(--ink-soft);
  line-height: 1.85;
}

.memorial-footer {
  padding: 26px 0 6px;
  text-align: center;
}

.memorial-actions {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.memorial-footer-line {
  display: block;
  width: 110px;
  height: 1px;
  margin: 0 auto 22px;
  background: var(--line);
}

.memorial-footer p,
.memorial-footer strong,
.memorial-footer em {
  display: block;
}

.memorial-footer p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.memorial-footer strong {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
}

.memorial-footer em {
  margin-top: 12px;
  font-style: normal;
}

.screen-loading {
  min-height: calc(100vh - 180px);
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 20px 10px 10px;
  text-align: center;
}

.screen-loading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
}

.screen-loading p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.utility-dock {
  width: min(100%, 430px);
  margin: 16px auto 0;
  padding: 14px 16px;
  border-radius: 22px;
}

.utility-dock-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.utility-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-deep);
  font-size: 0.86rem;
}

.utility-token {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .showcase-hero {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    padding: 38px;
  }

  .showcase-overview {
    padding: 34px;
  }

  .flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .showcase-summary-grid {
    grid-template-columns: 0.68fr 1.32fr;
  }

  .summary-board-wide {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .manual-entry-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .media-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 859px) {
  .showcase-hero,
  .showcase-overview,
  .summary-board,
  .phone-frame {
    padding: 22px;
  }

  .showcase-title {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .showcase-body {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .showcase-shell {
    padding: 18px 14px 36px;
  }

  .mobile-app-shell {
    padding: 14px 10px 28px;
  }

  .showcase-hero,
  .showcase-overview,
  .summary-board,
  .phone-frame {
    padding: 18px;
    border-radius: 30px;
  }

  .showcase-quote-block p {
    font-size: 2rem;
  }

  .overview-phone-frame {
    width: min(100%, 330px);
  }

  .overview-phone-screen {
    min-height: 640px;
    padding: 24px 20px 20px;
  }

  .overview-phone-copy h2 {
    font-size: 2.35rem;
  }

  .overview-door {
    top: 246px;
    right: 30px;
    width: 72px;
    height: 150px;
  }

  .phone-content {
    min-height: calc(100vh - 90px);
    padding: 16px 10px 20px;
  }

  .button-large,
  .button-secondary,
  .button-primary {
    width: 100%;
  }

  .manual-entry-row,
  .step-bottom-actions,
  .utility-dock-actions,
  .inline-button-row {
    display: grid;
  }

  .upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .upload-choice {
    min-height: 118px;
    padding: 12px 8px;
  }

  .upload-choice strong {
    font-size: 0.96rem;
  }

  .seal-stats-row {
    grid-template-columns: 1fr;
  }

  .memorial-gallery {
    grid-template-columns: 1fr 0.92fr;
  }

  .memorial-photo-large {
    min-height: 232px;
  }

  .memorial-photo-wide,
  .memorial-photo-small {
    min-height: 126px;
  }

  .memorial-photo-tall {
    min-height: 184px;
  }
}

/* Demo-aligned mobile layout */
:root {
  --demo-page-bg: #fcf6f0;
  --demo-panel-bg: #fdf9f5;
  --demo-panel-soft: #faf3ec;
  --demo-input-bg: #f9f3ec;
  --demo-card-bg: #fcf7f2;
  --demo-line-soft: #eadfd3;
  --demo-line: #decfc1;
  --demo-line-deep: #d4c5b6;
}

html {
  font-size: min(13.333vw, 62.5px);
  background: var(--demo-page-bg);
}

body {
  width: min(100%, 7.5rem);
  max-width: 7.5rem;
  min-width: 3rem;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--demo-page-bg);
  color: #6b4e37;
  font-size: 0.24rem;
  line-height: 1.5;
  font-family: "Source Han Serif SC", "Songti SC", "STSong", "PingFang SC", serif;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.demo-root-shell,
.demo-mobile-shell {
  min-height: 100vh;
  background: var(--demo-page-bg);
}

.demo-root-shell .message-stack,
.demo-mobile-shell .message-stack {
  width: calc(100% - 1.16rem);
  margin: 0 auto 0.24rem;
  padding-top: 0.24rem;
}

.demo-root-shell .message-card-stack,
.demo-mobile-shell .message-card-stack,
.demo-root-shell .busy-bar,
.demo-mobile-shell .busy-bar {
  padding: 0.18rem 0.2rem;
  border-radius: 0.2rem;
  font-size: 0.22rem;
  line-height: 1.7;
  background: var(--demo-panel-bg);
  border: 1px solid var(--demo-line-soft);
  box-shadow: none;
}

.demo-home-wrap {
  padding-bottom: 0.48rem;
}

.demo-page-frame {
  width: 100%;
  background: var(--demo-page-bg);
}

.demo-page-frame--memorial .columnPage {
  min-height: 0;
  padding-bottom: 0.08rem;
}

.demo-loading-card,
.demo-dev-card,
.demo-edit-dock {
  width: calc(100% - 1.16rem);
  margin: 0 auto 0.28rem;
  background: var(--demo-panel-bg);
  border: 1px solid var(--demo-line-soft);
  border-radius: 0.24rem;
}

.demo-loading-card {
  padding: 0.44rem 0.34rem;
  text-align: center;
}

.demo-loading-card h2 {
  margin: 0 0 0.16rem;
  font-size: 0.36rem;
  line-height: 1.4;
  font-weight: 500;
}

.demo-loading-card p {
  margin: 0;
  color: #8e7f71;
  font-size: 0.24rem;
  line-height: 1.8;
}

.demo-dev-card {
  padding: 0.28rem;
}

.demo-dev-title {
  font-size: 0.28rem;
  line-height: 0.42rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.demo-dev-card p {
  margin: 0 0 0.22rem;
  color: #8e7f71;
  font-size: 0.22rem;
  line-height: 1.8;
}

.demo-dev-row {
  display: grid;
  gap: 0.14rem;
}

.demo-dev-input,
.demo-dev-button {
  min-height: 0.92rem;
  border-radius: 0.22rem;
}

.demo-dev-input {
  width: 100%;
  padding: 0 0.24rem;
  border: 1px solid var(--demo-line);
  background: var(--demo-input-bg);
  color: #6b4e37;
  font-size: 0.24rem;
}

.demo-dev-button,
.demo-edit-button,
.demo-back-btn,
.demo-inline-delete,
.demo-collapse-more,
.btn-primary,
.btn-see,
.btn-skip,
._btn-preview {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
}

.demo-dev-button {
  background: #745944;
  color: #fff;
  font-size: 0.26rem;
}

.demo-edit-dock {
  padding: 0.18rem;
}

.demo-edit-button {
  width: 100%;
  min-height: 0.88rem;
  border-radius: 0.5rem;
  background: var(--demo-panel-bg);
  border: 1px solid var(--demo-line);
  color: #745944;
  font-size: 0.24rem;
}

[class^="icon--"] {
  display: inline-block;
  width: 0.28rem;
  height: 0.28rem;
  position: relative;
  flex-shrink: 0;
}

.icon--arrow-left::before {
  content: "";
  position: absolute;
  left: 0.08rem;
  top: 0.05rem;
  width: 0.14rem;
  height: 0.14rem;
  border-top: 0.02rem solid #a89a8d;
  border-left: 0.02rem solid #a89a8d;
  transform: rotate(-45deg);
}

.icon--add {
  border: 0.02rem solid #cdbeb0;
  border-radius: 50%;
}

.icon--add::before,
.icon--add::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #b09f91;
  transform: translate(-50%, -50%);
}

.icon--add::before {
  width: 0.16rem;
  height: 0.02rem;
}

.icon--add::after {
  width: 0.02rem;
  height: 0.16rem;
}

.icon--lock::before {
  content: "";
  position: absolute;
  left: 0.07rem;
  top: 0.11rem;
  width: 0.14rem;
  height: 0.12rem;
  border: 0.02rem solid #aa9a8d;
  border-radius: 0.03rem;
}

.icon--lock::after {
  content: "";
  position: absolute;
  left: 0.095rem;
  top: 0.04rem;
  width: 0.09rem;
  height: 0.08rem;
  border: 0.02rem solid #aa9a8d;
  border-bottom: 0;
  border-radius: 0.08rem 0.08rem 0 0;
}

.icon--close::before,
.icon--close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 0.02rem;
  background: #fff;
}

.icon--close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.icon--arrow-right::before {
  content: "";
  position: absolute;
  right: 0.02rem;
  top: 0.06rem;
  width: 0.13rem;
  height: 0.13rem;
  border-top: 0.02rem solid #9f8e80;
  border-right: 0.02rem solid #9f8e80;
  transform: rotate(45deg);
}

.icon--info {
  width: 0.38rem;
  height: 0.38rem;
  border: 0.02rem solid #b3a393;
  border-radius: 50%;
}

.icon--info::before {
  content: "i";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.22rem;
  color: #a8907a;
  font-style: normal;
}

.icon--play::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.05rem;
  border: 0.09rem solid transparent;
  border-left: 0.14rem solid #5a4a42;
}

.columnPage {
  min-height: 100vh;
  padding: 0 0.58rem 0.38rem;
  background: var(--demo-page-bg);
}

.columnPage--home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.columnPage--homebg {
  background: var(--demo-page-bg);
}

._topSpace {
  height: 0.32rem;
}

._pageHeader {
  visibility: hidden;
  margin-bottom: 0.64rem;
}

._pageHeader--active {
  visibility: visible;
}

._pageHeader ._box {
  min-height: 0.54rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

._pageHeader ._leftArea {
  min-width: 0.5rem;
}

._pageHeader ._rightArea {
  color: #a89a8d;
  font-size: 0.23rem;
  line-height: 0.54rem;
}

._pageHeader--memorial {
  margin-bottom: 0.56rem;
}

._pageHeader--memorial._pageHeader--brandonly {
  margin-bottom: 0.24rem;
}

._pageHeader--memorial ._box--title {
  position: relative;
  justify-content: flex-start;
  align-items: flex-start;
}

._pageHeader--memorial ._box--title-back {
  min-height: 0.58rem;
}

._pageHeader--memorial ._box--title ._leftArea {
  position: absolute;
  left: 0;
  top: 0.02rem;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}

._pageHeader--memorial ._brandWrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

._pageHeader--memorial ._brandWrap--withBack {
  padding-left: 0.88rem;
}

._pageHeader--memorial ._titleRow {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.14rem;
  padding-left: 0.62rem;
}

._pageTitle {
  color: #5f4d40;
  font-size: 0.33rem;
  line-height: 0.44rem;
  letter-spacing: 0.02rem;
  font-weight: 600;
}

.demo-memorial-name {
  margin: 0 0 0.22rem;
  color: #69584c;
  font-size: 0.34rem;
  line-height: 0.46rem;
  letter-spacing: 0.01rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.demo-memorial-message {
  margin: 0 0 0.34rem;
  color: #75685d;
  font-size: 0.25rem;
  line-height: 0.46rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.demo-back-btn {
  width: 0.4rem;
  height: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.demo-back-btn--memorial {
  width: auto;
  min-width: 0.76rem;
  height: 0.44rem;
  gap: 0.06rem;
  padding: 0 0.14rem 0 0.08rem;
  border-radius: 999px;
  background: rgba(253, 249, 245, 0.96);
  border: 1px solid var(--demo-line-soft);
  color: #8d7b69;
}

.demo-back-btn--memorial .icon--arrow-left {
  width: 0.22rem;
  height: 0.22rem;
}

.demo-back-btn-label {
  font-size: 0.18rem;
  line-height: 1;
}

.pic-logo {
  width: 3.1rem;
  min-height: 0.7rem;
  display: flex;
  align-items: center;
}

.demo-logo-image {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.text-section {
  min-height: 40vh;
  display: none;
  line-height: 0.8rem;
}

.text-section--active,
.text-confirmed--active {
  display: block;
}

.text-section--heightauto {
  min-height: auto;
}

.text-section .demo-pic-logo {
  margin-bottom: 0.74rem;
}

.text-section ._cn {
  margin-bottom: 0.5rem;
  color: #69503c;
  font-size: 0.41rem;
  letter-spacing: 0.03rem;
}

.text-section ._cn--smail {
  font-size: 0.36rem;
  line-height: 0.67rem;
}

.text-section ._en,
.text-tip ._en {
  color: #90816c;
  font-size: 0.24rem;
  letter-spacing: 0.03rem;
  line-height: 0.41rem;
}

.text-confirmed {
  padding-bottom: 0.34rem;
}

.text-confirmed .demo-pic-logo {
  margin-bottom: 0.96rem;
}

.text-confirmed ._title {
  margin: 0 0 0.43rem;
  color: #6b4e37;
  font-size: 0.49rem;
  line-height: 0.54rem;
  font-weight: 400;
}

.text-confirmed ._desc {
  margin: 0 0 0.37rem;
  color: #a8907a;
  font-size: 0.26rem;
  line-height: 0.47rem;
}

.text-confirmed ._notice {
  display: flex;
  align-items: flex-start;
  gap: 0.19rem;
}

.text-confirmed ._notice-text {
  flex: 1;
}

.text-confirmed ._notice-item {
  color: #a8907a;
  font-size: 0.21rem;
  line-height: 0.4rem;
}

.formBox {
  display: grid;
  gap: 0.47rem;
}

.form-item {
  display: grid;
  gap: 0.15rem;
}

.form-item ._name {
  color: #69503c;
  font-size: 0.26rem;
  line-height: 0.61rem;
}

.form-item ._content ._text,
.demo-dev-input {
  width: 100%;
  box-sizing: border-box;
}

.form-item ._content ._text {
  border: 1px solid var(--demo-line-deep);
  border-radius: 0.24rem;
  background: var(--demo-input-bg);
  padding: 0.21rem 0.2rem;
  color: #69503c;
  font-size: 0.24rem;
  line-height: 0.41rem;
}

.form-item ._tipTxt {
  margin-top: 0.19rem;
  color: #8d7b69;
  font-size: 0.21rem;
  line-height: 0.42rem;
}

.form-drag-upload {
  position: relative;
  min-height: 3.96rem;
  padding: 0.56rem;
  border: 1px solid var(--demo-line-deep);
  border-radius: 0.2rem;
  background: var(--demo-input-bg);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.form-drag-upload ._fileInput {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form-drag-upload ._fileInput:disabled {
  cursor: not-allowed;
}

.form-drag-upload ._before {
  color: #69503c;
}

.form-drag-upload ._iconAdd {
  margin: -0.37rem 0 0.14rem;
}

.form-drag-upload ._iconAdd .icon--add {
  width: 0.36rem;
  height: 0.36rem;
}

.form-drag-upload ._txt {
  font-size: 0.21rem;
  line-height: 0.32rem;
}

.form-drag-upload ._tip {
  margin-top: 0.02rem;
  font-size: 0.16rem;
  line-height: 0.33rem;
}

.form-drag-upload ._after {
  position: absolute;
  inset: 0;
  display: none;
  padding: 0.03rem;
  border-radius: 0.2rem;
  overflow: hidden;
}

.form-drag-upload--filled ._after--show {
  display: block;
}

.form-drag-upload--uploading {
  padding: 0;
}

.form-drag-upload .photo,
.form-drag-upload .photo img,
.form-drag-upload .photo video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.2rem;
}

.form-drag-upload ._btnReUpload {
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  transform: translateX(-50%);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #c70404;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-drag-upload ._btnReUpload .icon--add {
  border-color: transparent;
}

.form-drag-upload ._btnReUpload .icon--add::before,
.form-drag-upload ._btnReUpload .icon--add::after {
  background: #fff;
}

.demo-inline-delete {
  margin-top: 0.18rem;
  color: #8d7b69;
  font-size: 0.21rem;
  line-height: 0.36rem;
}

.btn-primary {
  width: 100%;
  min-height: 0.97rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.36rem 0 0;
  border-radius: 0.2rem;
  background: #745944;
  color: #fff;
  font-size: 0.28rem;
  line-height: 1;
}

.btn-primary--full {
  border-radius: 0.5rem;
}

.btn-primary[disabled] {
  pointer-events: none;
}

.btn-primary--loading {
  opacity: 0.9;
}

.btn-see {
  position: relative;
  display: inline-block;
  padding: 0;
  color: #745946;
  font-size: 0.24rem;
  line-height: 1.2;
}

.btn-see::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.03rem;
  height: 0.02rem;
  background: #75604b;
}

._moreFn {
  margin: 0.82rem 0 0;
  text-align: center;
}

.text-tip {
  margin-top: 0.36rem;
  text-align: center;
  color: #69503c;
  font-size: 0.24rem;
  line-height: 0.4rem;
}

.text-tip ._cn {
  margin-top: 0.06rem;
}

._bomBox {
  padding-bottom: 0.1rem;
}

.btn-skip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  padding: 0.18rem 0;
  color: #745946;
  font-size: 0.22rem;
  white-space: nowrap;
}

.btn-skip::before,
.btn-skip::after {
  content: "";
  flex: 1;
  height: 0.02rem;
  background: #aa9a8d;
}

.demo-skip-button {
  width: 100%;
}

.form-textarea {
  position: relative;
  border: 1px solid var(--demo-line);
  border-radius: 0.24rem;
  background: var(--demo-input-bg);
}

.form-textarea textarea {
  width: 100%;
  min-height: 2.88rem;
  padding: 0.18rem 0.17rem 0.44rem;
  box-sizing: border-box;
  background: transparent;
  color: #69503c;
  font-size: 0.22rem;
  line-height: 0.34rem;
}

.form-textarea ._txtTips {
  position: absolute;
  right: 0;
  bottom: 0.13rem;
  padding-right: 0.17rem;
  color: #8e7f71;
  font-size: 0.2rem;
  line-height: 0.3rem;
}

.form-upload-photo {
  display: flex;
  flex-wrap: wrap;
}

.form-upload-photo ._item {
  position: relative;
  width: calc(33.33% - 0.3rem);
  min-height: 1.45rem;
  margin: 0.1rem 0.45rem 0.1rem 0;
  padding: 0;
  border: 1px solid var(--demo-line-deep);
  border-radius: 0.1rem;
  background: var(--demo-input-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.form-upload-photo ._item:nth-child(3n) {
  margin-right: 0;
}

.form-upload-photo ._item input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form-upload-photo ._item input:disabled {
  cursor: not-allowed;
}

.form-upload-photo ._item--disabled {
  opacity: 0.68;
}

.form-upload-photo ._item--readonly {
  cursor: pointer;
}

.form-upload-photo ._item .icon--add {
  width: 0.35rem;
  height: 0.35rem;
  margin-bottom: 0.09rem;
}

.form-upload-photo ._item ._txt {
  color: #a89a8d;
  font-size: 0.22rem;
  line-height: 0.38rem;
}

.form-upload-photo ._item ._subtxt {
  margin-top: 0.02rem;
  color: #b3a497;
  font-size: 0.16rem;
  line-height: 0.24rem;
  text-align: center;
  white-space: pre-line;
}

.form-upload-photo ._item .photo,
.form-upload-photo ._item .photo img,
.form-upload-photo ._item .photo video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.form-upload-photo ._item--uploading .photo img,
.form-upload-photo ._item--uploading .photo video,
.form-drag-upload--uploading .photo img {
  filter: brightness(0.86);
}

.form-upload-photo ._item ._btnDelete {
  position: absolute;
  right: 0.04rem;
  top: 0.04rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #ab9b8e;
  border: 0.02rem solid #ab9b8e;
  z-index: 2;
}

.form-upload-photo ._item ._btnVideo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.76rem;
  height: 0.76rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  z-index: 2;
}

.form-upload-photo ._item ._btnVideo::before {
  content: "";
  position: absolute;
  left: 0.31rem;
  top: 0.22rem;
  border: 0.15rem solid transparent;
  border-left: 0.24rem solid #fff;
}

.demo-cover-badge {
  position: absolute;
  left: 0.08rem;
  bottom: 0.08rem;
  padding: 0.04rem 0.08rem;
  border-radius: 0.16rem;
  background: rgba(116, 89, 68, 0.88);
  color: #fff;
  font-size: 0.18rem;
  line-height: 1;
  z-index: 2;
}

.tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  color: #ab9b8e;
  font-size: 0.21rem;
  line-height: 0.34rem;
}

.demo-upload-hint {
  margin-top: 0.12rem;
  color: #9a8778;
  font-size: 0.19rem;
  line-height: 0.32rem;
}

.formBox--append {
  padding-top: 0.1rem;
}

.append-readonly-note {
  color: #6f5d4f;
  font-size: 0.22rem;
  line-height: 0.36rem;
}

.append-readonly-sub {
  margin-top: 0.1rem;
  color: #a08f80;
  font-size: 0.18rem;
  line-height: 0.3rem;
}

.demo-upload-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: end;
  gap: 0.08rem;
  padding: 0.16rem 0.14rem 0.14rem;
  background: linear-gradient(180deg, rgba(58, 43, 29, 0.04) 0%, rgba(58, 43, 29, 0.68) 44%, rgba(58, 43, 29, 0.82) 100%);
  color: #fffaf6;
  pointer-events: none;
}

.demo-upload-overlay--large {
  padding: 0.22rem 0.2rem 0.2rem;
}

.demo-upload-spinner {
  width: 0.34rem;
  height: 0.34rem;
  border: 0.03rem solid rgba(255, 255, 255, 0.28);
  border-top-color: #fffaf6;
  border-radius: 50%;
  animation: demo-upload-spin 0.9s linear infinite;
}

.demo-upload-progress-value {
  font-size: 0.28rem;
  line-height: 1;
  font-weight: 600;
}

.demo-upload-phase {
  font-size: 0.18rem;
  line-height: 0.28rem;
}

.demo-upload-progress-track {
  width: 100%;
  height: 0.08rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.demo-upload-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 227, 189, 0.96), rgba(255, 251, 245, 1));
}

@keyframes demo-upload-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.demo-pending-wrap {
  display: grid;
  gap: 0.12rem;
}

.demo-pending-wrap .pending-item {
  padding: 0.16rem;
  border-radius: 0.16rem;
  background: #fbf6f1;
  border: 1px solid #e6dbd0;
  box-shadow: none;
}

.item-intr {
  border: 1px solid var(--demo-line-soft);
  border-radius: 0.24rem;
  background: var(--demo-card-bg);
  padding: 0.31rem 0.28rem;
}

.item-intr ._header {
  display: flex;
  align-items: flex-start;
  padding-bottom: 0.31rem;
  border-bottom: 1px solid var(--demo-line-soft);
}

.item-intr ._avatar {
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--demo-line-soft);
  padding: 0.03rem;
  box-sizing: border-box;
  background: var(--demo-panel-soft);
}

.item-intr ._avatar img,
.item-intr ._avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
}

.item-intr ._avatar span {
  background: #f1e8de;
  font-size: 0.46rem;
}

.item-intr ._info {
  margin-left: 0.58rem;
  padding-top: 0.1rem;
}

.item-intr ._name {
  color: #5c4d46;
  font-size: 0.32rem;
  line-height: 0.48rem;
  font-weight: 600;
}

.item-intr ._subtitle {
  color: #6a513d;
  font-size: 0.16rem;
  line-height: 0.33rem;
  font-weight: 700;
}

.item-intr ._stats {
  display: flex;
  gap: 0.26rem;
  margin-top: 0.17rem;
}

.item-intr ._stats ._num {
  color: #5c4d46;
  font-size: 0.2rem;
  line-height: 0.27rem;
  font-weight: 600;
}

.item-intr ._stats ._label {
  color: #6a513d;
  font-size: 0.17rem;
  line-height: 0.27rem;
  font-weight: 700;
}

.item-intr ._body {
  padding-top: 0.37rem;
}

.item-intr ._body ._title {
  color: #8c7e76;
  font-size: 0.27rem;
  line-height: 0.49rem;
  font-weight: 600;
  margin-bottom: 0.08rem;
}

.item-intr ._body ._text {
  color: #8c7e76;
  font-size: 0.23rem;
  line-height: 0.36rem;
}

.item-intr ._btn-preview {
  width: 100%;
  margin-top: 0.45rem;
  display: block;
  position: relative;
  padding: 0 0.5rem 0 0.18rem;
  border-radius: 0.28rem;
  border: 1px solid #ece5dd;
  background: #f6efe9;
  color: #8c7e76;
  font-size: 0.18rem;
  line-height: 0.55rem;
  text-align: left;
}

.item-intr ._btn-preview .icon--arrow-right {
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.title-subtitle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.2rem 0;
  border-bottom: 1px solid #e6dcd3;
  font-weight: 700;
}

.title-subtitle ._title {
  margin: 0;
  color: #5a4a42;
  font-size: 0.3rem;
  line-height: 0.5rem;
  letter-spacing: 0.02rem;
}

.title-subtitle ._num {
  color: #5a4a42;
  font-size: 0.24rem;
  line-height: 0.5rem;
}

.demo-message-letter {
  margin: 0.26rem 0 0.12rem;
  padding: 0.12rem 0 0.24rem;
  border-bottom: 1px solid rgba(176, 156, 138, 0.4);
  color: #74665b;
  font-size: 0.25rem;
  line-height: 0.46rem;
}

.demo-message-letter::before {
  content: "";
  display: block;
  width: 0.86rem;
  height: 0.02rem;
  margin-bottom: 0.18rem;
  background: rgba(176, 156, 138, 0.45);
}

.item-picture-wall {
  display: grid;
  grid-template-columns: 3.4rem 2.7rem;
  grid-template-rows: 3.46rem 2.85rem;
  padding: 0.46rem 0 0.34rem 0.03rem;
}

.item-picture-wall ._photo-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0.2rem;
  overflow: hidden;
  background: #f5f0eb;
}

.item-picture-wall ._photo-item:nth-child(1) {
  width: 3.4rem;
  height: 3.46rem;
}

.item-picture-wall ._photo-item:nth-child(2) {
  width: 2.7rem;
  height: 2.16rem;
  margin-top: 0.86rem;
  margin-left: 0.2rem;
}

.item-picture-wall ._photo-item:nth-child(2) ._num,
.item-picture-wall ._photo-item:nth-child(4) ._num {
  top: auto;
  bottom: 100%;
  color: #a89a8d;
  line-height: 0.5rem;
}

.item-picture-wall ._photo-item:nth-child(3) {
  width: 3.59rem;
  height: 3.3rem;
  margin-top: -0.33rem;
  margin-left: -0.51rem;
  border: 0.24rem solid #faf3eb;
  border-radius: 0.3rem;
  box-sizing: border-box;
}

.item-picture-wall ._photo-item:nth-child(3) ._num {
  color: #fff;
}

.item-picture-wall ._photo-item:nth-child(4) {
  width: 2.73rem;
  height: 2.15rem;
  margin-top: 0.63rem;
}

.item-picture-wall ._photo-item .photo,
.item-picture-wall ._photo-item .photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.item-picture-wall ._photo-item .photo--placeholder {
  background: linear-gradient(180deg, #f6efe9, #efe5d9);
}

.item-picture-wall ._photo-item ._num {
  position: absolute;
  top: 0.12rem;
  left: 0.16rem;
  color: #9a8b7d;
  font-size: 0.24rem;
  z-index: 2;
}

._photo-item--empty::after {
  content: "留白";
  position: absolute;
  right: 0.16rem;
  bottom: 0.16rem;
  color: #c2b3a4;
  font-size: 0.18rem;
}

.demo-more-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 24, 18, 0.12), rgba(31, 24, 18, 0.52));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  z-index: 3;
  pointer-events: none;
}

.demo-more-mask strong {
  font-size: 0.46rem;
  line-height: 1;
}

.demo-more-mask span {
  font-size: 0.2rem;
  line-height: 1;
}

.demo-extra-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.22rem;
  padding-bottom: 0.18rem;
}

.demo-extra-photo {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.18rem;
  overflow: hidden;
  background: #f5f0eb;
  aspect-ratio: 1 / 1;
}

.demo-extra-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-extra-photo span {
  position: absolute;
  left: 0.14rem;
  top: 0.12rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.22rem;
}

.demo-collapse-more {
  display: block;
  margin: 0.02rem auto 0.26rem;
  color: #8c7e76;
  font-size: 0.22rem;
  line-height: 0.4rem;
}

.demo-empty-photos {
  padding: 0.44rem 0;
  color: #9b8a7c;
  font-size: 0.23rem;
  line-height: 1.8;
}

.item-videos {
  border-bottom: 1px solid #e6dcd3;
}

.item-videos ._video-item {
  display: flex;
  align-items: center;
  padding: 0.39rem 0;
}

.item-videos ._btn-play {
  width: 0.89rem;
  height: 0.88rem;
  border-radius: 50%;
  border: 1px solid #ada399;
  background: #f1ece8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-videos ._info {
  margin-left: 0.25rem;
}

.item-videos ._title {
  color: #5a4a42;
  font-size: 0.31rem;
  line-height: 0.49rem;
  letter-spacing: 0.02rem;
}

.item-videos ._desc {
  color: #a89a8d;
  font-size: 0.25rem;
  line-height: 0.41rem;
}

.demo-video-frame {
  padding-bottom: 0.34rem;
}

.demo-video-frame video {
  width: 100%;
  display: block;
  border-radius: 0.2rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eee5db;
}

.demo-append-entry {
  padding: 0.34rem 0 0.08rem;
  text-align: center;
}

.demo-append-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(116, 89, 68, 0.84);
  font-size: 0.22rem;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 0.02rem;
  text-underline-offset: 0.05rem;
}

.demo-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem;
  background: rgba(17, 12, 8, 0.82);
}

.demo-photo-lightbox-stage {
  width: 100%;
  max-width: 8rem;
}

.demo-photo-lightbox-stage img {
  width: 100%;
  max-height: 84vh;
  display: block;
  object-fit: contain;
  border-radius: 0.22rem;
  background: rgba(255, 250, 245, 0.08);
}

.demo-photo-lightbox-close {
  position: absolute;
  right: 0.28rem;
  top: 0.28rem;
  width: 0.66rem;
  height: 0.66rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.14);
  color: #fff8f2;
  font-size: 0.42rem;
  line-height: 1;
}
