:root {
  --red-950: #54070b;
  --red-900: #6f0d12;
  --red-800: #8f1519;
  --red-700: #b71820;
  --red-600: #d32027;
  --gold-700: #a97818;
  --gold-500: #d7ad4b;
  --gold-300: #f5d98c;
  --cream: #fff7e6;
  --paper: #fffdf6;
  --ink: #2c1c18;
  --muted: #846c5a;
  --line: rgba(154, 92, 28, 0.22);
  --shadow: 0 20px 48px rgba(84, 18, 18, 0.16);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: #f8efe0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: calc(54px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, #fff6e3 0%, #f6e5c8 44%, #fdf8ef 100%);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

.share-cover-probe {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 300px;
  height: 300px;
  opacity: 0.01;
  pointer-events: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(103, 6, 11, 0.9), rgba(181, 19, 25, 0.7)),
    url("../images/hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #8d1016, #d42a22 62%, #f2bd5e);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 226, 151, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(84, 6, 12, 0.88), rgba(160, 16, 22, 0.38) 55%, rgba(84, 6, 12, 0.56));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(82, 7, 10, 0.54));
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 18px;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 246, 224, 0.78);
  font-size: 12px;
}

.topbar-links {
  display: flex;
  gap: 20px;
  color: rgba(255, 249, 235, 0.9);
  font-size: 14px;
}

.topbar-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.topbar-links a:hover {
  border-color: var(--gold-300);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 112px) 0 92px;
}

.eyebrow,
.hall,
.subtitle {
  margin: 0;
}

.eyebrow {
  color: var(--gold-300);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
}

.hero h1 {
  max-width: 980px;
  margin: 18px 0 10px;
  font-family: "STSong", "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(38px, 6.3vw, 80px);
  font-weight: 800;
  line-height: 1.13;
  text-shadow: 0 10px 30px rgba(70, 0, 0, 0.32);
}

.hall {
  color: var(--gold-300);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
}

.subtitle {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 249, 235, 0.9);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.button-gold {
  color: #5a1508;
  background: linear-gradient(135deg, #ffe6a1, #d5a13a);
  box-shadow: 0 14px 32px rgba(94, 27, 8, 0.22);
}

.button-light {
  color: var(--red-800);
  background: rgba(255, 249, 235, 0.94);
  box-shadow: 0 12px 30px rgba(84, 16, 16, 0.18);
}

.button-ghost {
  color: var(--red-800);
  background: transparent;
  border: 1px solid rgba(169, 120, 24, 0.38);
}

.button-submit {
  width: 100%;
  color: #fff;
  background: linear-gradient(135deg, var(--red-800), var(--red-600));
  box-shadow: 0 14px 32px rgba(143, 21, 25, 0.24);
  position: relative;
  overflow: hidden;
}

.button-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 189, 0.45), transparent);
  transform: translateX(-130%) skewX(-18deg);
}

.button-submit:not(:disabled)::after {
  animation: submitShine 2.6s ease-in-out infinite;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--red-700);
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-family: "STSong", "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
  color: var(--red-900);
}

.section-heading span {
  display: block;
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading-compact {
  margin-bottom: 18px;
}

.section-heading-compact h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: stretch;
}

.live-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  border: 1px solid rgba(169, 120, 24, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(116, 12, 17, 0.96), rgba(198, 32, 30, 0.88)),
    #8f1519;
  box-shadow: var(--shadow);
}

.live-frame iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 24px;
  color: var(--cream);
  text-align: center;
  line-height: 1.8;
}

.live-note,
.blessing-form,
.blind-box,
.stats-panel article,
.blessing-card,
.seat-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: var(--shadow);
}

.live-note {
  padding: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.live-note b {
  color: var(--red-900);
  font-size: 20px;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stats-panel article {
  min-height: 158px;
  padding: 18px;
}

.stats-panel span {
  color: var(--muted);
  font-weight: 700;
}

.stats-panel b {
  display: block;
  margin-top: 10px;
  color: var(--red-900);
  font-size: clamp(26px, 4vw, 42px);
}

.stats-panel small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.heat-card {
  grid-column: span 2;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(114, 13, 18, 0.96), rgba(200, 31, 28, 0.92)),
    var(--red-800) !important;
}

.heat-card span,
.heat-card small,
.heat-card b {
  color: #fff;
}

.identity-card {
  grid-column: span 2;
}

.identity-row {
  display: grid;
  grid-template-columns: 42px 88px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.identity-row strong {
  color: var(--red-800);
  font-size: 14px;
}

.identity-row i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #f0dfbd;
}

.identity-row i::after {
  content: "";
  display: block;
  width: var(--bar);
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--red-600));
}

.form-blind-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.blessing-form,
.blind-box {
  padding: clamp(20px, 4vw, 30px);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(169, 120, 24, 0.22);
  border-radius: 8px;
  background: #fff5df;
}

.segmented button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--red-800);
  background: transparent;
  font-weight: 700;
}

.segmented button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--red-800), var(--red-600));
}

.segmented-small {
  display: flex;
  width: fit-content;
  margin: 0;
}

.segmented-small button {
  min-width: 66px;
}

.blessing-form label {
  display: block;
  margin-top: 16px;
}

.blessing-form label span {
  display: block;
  margin-bottom: 8px;
  color: var(--red-900);
  font-weight: 800;
}

.blessing-form input,
.blessing-form textarea {
  width: 100%;
  border: 1px solid rgba(169, 120, 24, 0.32);
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf0;
  outline: none;
}

.blessing-form input {
  height: 46px;
  padding: 0 14px;
}

.blessing-form textarea {
  resize: vertical;
  min-height: 112px;
  padding: 12px 14px;
  line-height: 1.7;
}

.blessing-form input:focus,
.blessing-form textarea:focus {
  border-color: var(--gold-700);
  box-shadow: 0 0 0 3px rgba(215, 173, 75, 0.18);
}

.blessing-form em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  text-align: right;
}

.template-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.template-row button {
  min-height: 34px;
  border: 1px solid rgba(169, 120, 24, 0.28);
  border-radius: 999px;
  color: var(--red-800);
  background: #fff7e6;
  padding: 0 12px;
  font-size: 13px;
}

.form-tip {
  min-height: 24px;
  margin: 8px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.form-tip[data-type="success"] {
  color: #28713f;
}

.form-tip[data-type="error"] {
  color: var(--red-700);
}

.blind-box {
  position: sticky;
  top: 18px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 253, 246, 0.96), rgba(255, 242, 205, 0.94)),
    #fffdf6;
}

.blind-box::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 221, 132, 0.2), transparent 62%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.blind-box.is-opening::before,
.blind-box.has-message::before {
  opacity: 1;
}

.blind-box-top p {
  margin: 0 0 8px;
  color: var(--red-700);
  font-weight: 800;
}

.blind-box-top h2 {
  margin: 0;
  color: var(--red-900);
  font-size: clamp(24px, 3vw, 34px);
}

.envelope {
  position: relative;
  width: min(240px, 70%);
  height: 142px;
  margin: 28px auto 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #b71920, #8f1519);
  box-shadow: 0 20px 40px rgba(112, 18, 18, 0.18);
}

.envelope::before,
.envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, transparent 49%, rgba(255, 225, 151, 0.7) 50%, transparent 51%),
    linear-gradient(35deg, transparent 49%, rgba(255, 225, 151, 0.45) 50%, transparent 51%);
}

.envelope span {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 72%;
  height: 54px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(135deg, #fff2bd, #d9a446);
  transform: translateX(-50%) rotate(-2deg);
  animation: floatPaper 3.2s ease-in-out infinite;
}

.envelope i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffe89d;
  box-shadow: 0 0 18px rgba(255, 226, 132, 0.72);
  opacity: 0;
}

.envelope i:nth-of-type(1) {
  transform: translate(-80px, -40px);
}

.envelope i:nth-of-type(2) {
  transform: translate(70px, -20px);
}

.envelope i:nth-of-type(3) {
  transform: translate(8px, -76px);
}

.blind-box.is-opening .envelope {
  animation: envelopePop 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blind-box.is-opening .envelope span {
  animation: paperOpen 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.blind-box.is-opening .envelope i {
  animation: sparkleBurst 780ms ease-out both;
}

.blind-box.has-message .blind-message {
  animation: blessingReveal 520ms ease both;
}

.blind-message {
  min-height: 86px;
  padding: 18px;
  border: 1px dashed rgba(169, 120, 24, 0.38);
  border-radius: 8px;
  color: var(--red-900);
  background: #fff8e8;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.7;
  transform-origin: center top;
}

.blind-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.seats-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(143, 21, 25, 0.06), rgba(255, 247, 230, 0.6));
}

.seat-map {
  display: grid;
  grid-template-columns: repeat(24, minmax(8px, 1fr));
  gap: 11px;
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(111, 13, 18, 0.96), rgba(169, 26, 28, 0.9)),
    var(--red-900);
}

.seat-dot {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8cb 0 18%, #f3c660 42%, rgba(245, 198, 96, 0.12) 68%);
  box-shadow: 0 0 14px rgba(246, 206, 113, 0.6);
  animation: pulseSeat 2.4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.wall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.wall-toolbar span {
  color: var(--muted);
  font-weight: 700;
}

.marquee {
  overflow: hidden;
  border: 1px solid rgba(169, 120, 24, 0.24);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.9);
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 24px;
  color: var(--red-900);
  white-space: nowrap;
}

.wall-grid {
  columns: 3 280px;
  column-gap: 16px;
}

.blessing-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 20px;
  overflow: hidden;
  break-inside: avoid;
}

.blessing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red-800), var(--gold-500));
}

.blessing-card.is-new {
  animation: cardIn 460ms ease both;
}

.blessing-form.is-sending {
  animation: formPulse 840ms ease both;
}

.blessing-fly {
  position: fixed;
  left: 50%;
  bottom: calc(70px + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: min(78vw, 330px);
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 228, 156, 0.78);
  border-radius: 8px;
  color: #fff8dd;
  background: linear-gradient(135deg, rgba(120, 10, 15, 0.98), rgba(208, 32, 36, 0.96));
  box-shadow: 0 22px 52px rgba(84, 12, 15, 0.35);
  text-align: center;
  line-height: 1.6;
  transform: translateX(-50%);
  pointer-events: none;
  animation: blessingFly 1500ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.gold-piece {
  position: fixed;
  left: var(--x);
  top: var(--y);
  z-index: 51;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(135deg, #fff2a9, #d6a13e);
  box-shadow: 0 0 10px rgba(255, 226, 132, 0.72);
  pointer-events: none;
  animation: goldFall 1100ms ease-out both;
}

.card-top,
.blessing-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-top span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--red-800);
  font-size: 13px;
  font-weight: 800;
}

.card-top em {
  color: var(--gold-700);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.blessing-card h3 {
  margin: 16px 0 10px;
  color: var(--red-900);
  font-size: 20px;
}

.blessing-card p {
  margin: 0;
  color: #3a2720;
  font-size: 17px;
  line-height: 1.85;
}

.blessing-card footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.wall-more {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.tech-support {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  color: rgba(255, 246, 221, 0.92);
  background: linear-gradient(90deg, rgba(92, 7, 12, 0.96), rgba(155, 19, 24, 0.96));
  box-shadow: 0 -10px 28px rgba(85, 11, 16, 0.22);
  font-size: 13px;
  letter-spacing: 0;
}

.tech-support span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tech-support span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px rgba(245, 217, 140, 0.9);
}

.celebration-layer {
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  overflow: hidden;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 253, 246, 0.86);
}

@keyframes floatPaper {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateX(-50%) translateY(-6px) rotate(2deg);
  }
}

@keyframes submitShine {
  0% {
    transform: translateX(-130%) skewX(-18deg);
  }
  46%,
  100% {
    transform: translateX(280%) skewX(-18deg);
  }
}

@keyframes envelopePop {
  0% {
    transform: scale(1) rotate(0);
  }
  40% {
    transform: scale(1.06) rotate(-1deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes paperOpen {
  0% {
    transform: translateX(-50%) translateY(0) rotate(-2deg) scale(1);
  }
  60% {
    transform: translateX(-50%) translateY(-24px) rotate(4deg) scale(1.04);
  }
  100% {
    transform: translateX(-50%) translateY(-10px) rotate(1deg) scale(1);
  }
}

@keyframes sparkleBurst {
  0% {
    opacity: 0;
    scale: 0.2;
  }
  40% {
    opacity: 1;
    scale: 1.2;
  }
  100% {
    opacity: 0;
    scale: 0.6;
  }
}

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

@keyframes formPulse {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  40% {
    box-shadow: 0 0 0 5px rgba(215, 173, 75, 0.22), var(--shadow);
  }
}

@keyframes blessingFly {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.94);
  }
  18% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  76% {
    opacity: 1;
    transform: translateX(-50%) translateY(-80px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-130px) scale(0.98);
  }
}

@keyframes goldFall {
  0% {
    opacity: 0;
    transform: translateY(-8px) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(140px) rotate(260deg);
  }
}

@keyframes pulseSeat {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-layout,
  .form-blind-layout {
    grid-template-columns: 1fr;
  }

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

  .heat-card,
  .identity-card {
    grid-column: span 2;
  }

  .blind-box {
    position: static;
  }

  .seat-map {
    grid-template-columns: repeat(18, minmax(8px, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .hero {
    min-height: 76svh;
    background-position: center top;
  }

  .topbar {
    width: min(100% - 28px, 1180px);
    gap: 12px;
    padding: 14px 0;
  }

  .brand b {
    font-size: 16px;
  }

  .brand small {
    font-size: 11px;
  }

  .topbar-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: clamp(32px, 8svh, 56px) 0 58px;
  }

  .eyebrow {
    font-size: 17px;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1.16;
  }

  .hall {
    font-size: clamp(27px, 8.5vw, 38px);
  }

  .subtitle {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions,
  .blind-actions,
  .wall-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .blind-actions .button,
  .wall-toolbar .segmented {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 38px 0;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .section-heading span {
    font-size: 14px;
    line-height: 1.7;
  }

  .live-frame {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: calc((100vw - 28px) * 9 / 16);
    max-height: 56.25vw;
    border-radius: 8px;
  }

  .live-note {
    padding: 16px;
  }

  .stats-panel article {
    min-height: 122px;
    padding: 16px;
  }

  .stats-panel b {
    font-size: 30px;
  }

  .blessing-form,
  .blind-box {
    padding: 18px;
  }

  .segmented {
    gap: 6px;
  }

  .segmented button,
  .button {
    min-height: 46px;
  }

  .template-row button {
    max-width: 100%;
    min-height: 36px;
    white-space: normal;
    text-align: left;
  }

  .blind-message {
    min-height: 96px;
    font-size: 17px;
  }

  .envelope {
    width: min(210px, 76%);
    height: 124px;
    margin: 24px auto 16px;
  }

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

  .heat-card,
  .identity-card {
    grid-column: span 1;
  }

  .segmented-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .segmented-small button {
    min-width: 0;
    padding-inline: 8px;
  }

  .seat-map {
    grid-template-columns: repeat(12, minmax(8px, 1fr));
    gap: 9px;
    padding: 20px 14px;
  }

  .wall-grid {
    columns: 1;
  }

  .blessing-card {
    padding: 18px;
  }

  .blessing-card p {
    font-size: 16px;
  }

  .tech-support {
    font-size: 12px;
    padding-top: 9px;
  }
}
