.h5-body {
  margin: 0;
  background: #e7e5e4;
  color: #1c1917;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.h5-body .h5-stage {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 25, 23, 0.06);
}
.h5-stage, .h5-stage * { box-sizing: border-box; }
.h5-preview-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 10px 16px;
  background: #92400e;
  color: #fff;
  text-align: center;
  font-size: 13px;
}
.h5-block { position: relative; }
.h5-block.is-selected { outline: 2px solid #0f766e; outline-offset: -2px; }
.h5-text { line-height: 1.6; word-break: break-word; white-space: pre-wrap; }
.h5-image img, .h5-slide img { display: block; width: 100%; height: auto; }
.h5-image a { display: block; }
.h5-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin: 12px 16px;
  border: 1px dashed #d6d3d1;
  border-radius: 12px;
  color: #a8a29e;
  background: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}
.h5-swiper { position: relative; overflow: hidden; }
.h5-swiper-track { display: flex; height: 100%; transition: transform 0.35s ease; }
.h5-slide { flex: 0 0 100%; height: 100%; }
.h5-slide img { height: 100%; object-fit: cover; }
.h5-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.h5-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
}
.h5-dots button.on { background: #fff; }
.h5-button {
  display: block;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}
.h5-jump { cursor: pointer; }
.h5-body .h5-stage.has-fixed { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.h5-body .h5-button.is-fixed {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 6;
  width: min(480px, 100%);
  margin: 0 !important;
  transform: translateX(-50%);
  border-radius: 0 !important;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 20px rgba(28, 25, 23, 0.12);
}
.phone-screen.has-fixed { display: flex; flex-direction: column; overflow: hidden; }
.phone-screen.has-fixed .h5-flow { flex: 1; min-height: 0; overflow: auto; }
.phone-screen.has-fixed > .h5-block { flex: none; }
.phone-screen .h5-button.is-fixed {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 -8px 20px rgba(28, 25, 23, 0.12);
}
.h5-video { display: block; width: 100%; background: #111; }
.h5-notice { margin: 12px 16px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.h5-countdown { margin: 12px 16px; padding: 16px; border-radius: 16px; text-align: center; }
.h5-countdown strong { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.h5-count-row { display: flex; justify-content: center; gap: 8px; }
.h5-count-row span {
  min-width: 54px;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 700;
}
.h5-count-row em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; font-weight: 500; opacity: 0.7; }
.h5-line { height: 0; border: 0; border-top: 1px solid #e7e5e4; }
.h5-form {
  margin: 16px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
}
.h5-form h3 { margin: 0 0 6px; font-size: 18px; }
.h5-form p { margin: 0 0 14px; color: #78716c; font-size: 13px; }
.h5-form label { display: block; margin-bottom: 10px; font-size: 13px; color: #44403c; }
.h5-form input, .h5-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}
.h5-form-error { margin: 0 0 8px; color: #b91c1c; font-size: 13px; }
.h5-form button {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 700;
}
.h5-success { padding: 28px 8px; text-align: center; color: #0f766e; font-weight: 700; }
.h5-message {
  max-width: 420px;
  margin: 18vh auto 0;
  padding: 0 24px;
  text-align: center;
}
.h5-message-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #134e4a;
  color: #fff;
  font-weight: 700;
}
.h5-message h1 { margin: 0 0 8px; font-size: 28px; }
.h5-message p { margin: 0; color: #57534e; line-height: 1.6; }
