/* ==========================================================================
   中国重型机械工业协会 · 散料装卸机械与搬运车辆分会
   2026 年度会员大会 · 会议服务系统
   ========================================================================== */

:root {
  --bg-0: #020c26;
  --bg-1: #051a4c;
  --bg-2: #072566;
  --blue-900: #0a2a72;
  --blue-700: #1747cf;
  --blue-600: #1f57e0;
  --blue-500: #2f6df0;
  --blue-400: #4a86ff;
  --blue-300: #7fb3ff;
  --cyan-300: #6fe3ff;
  --text: #ffffff;
  --text-dim: #a9c6f2;
  --text-dim-2: #7f9fd4;
  --line: rgba(130, 180, 255, 0.55);
  --line-soft: rgba(130, 180, 255, 0.28);
  --white-card: #ffffff;
  --ink: #16233d;
  --ink-dim: #6b7b96;
  --danger: #ff5f6d;
  --radius-card: 18px;
  --radius-lg: 22px;
  --shadow-card: 0 10px 26px rgba(1, 12, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --shadow-float: 0 14px 40px rgba(1, 10, 40, 0.6);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background-color: #051a52;
  background-image: linear-gradient(180deg, #1152d0 0%, #0d41b8 45%, #051a52 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- 应用容器 / 背景 ---------- */
.app {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90% 42% at 8% -6%, rgba(140, 220, 255, 0.42) 0%, rgba(20, 80, 210, 0) 60%),
    radial-gradient(60% 30% at 88% 2%, rgba(90, 170, 255, 0.30) 0%, rgba(20, 80, 210, 0) 60%),
    radial-gradient(110% 45% at 96% 100%, rgba(255, 110, 190, 0.26) 0%, rgba(10, 50, 160, 0) 55%),
    radial-gradient(100% 46% at 50% 106%, rgba(70, 140, 255, 0.62) 0%, rgba(4, 18, 60, 0) 72%),
    linear-gradient(180deg, #1152d0 0%, #0d41b8 26%, #0a3191 52%, #071f60 78%, #051545 100%);
}

.bg-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(150, 200, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.bg-svg {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 视口对齐到内容宽度 */
.bg-svg,
.bg-decor {
  left: 50%;
  transform: translateX(-50%);
  max-width: 480px;
}

/* ---------- 顶部栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(5, 22, 66, 0.96), rgba(5, 22, 66, 0.78));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.topbar.show {
  opacity: 1;
  transform: translateY(0);
}

.topbar-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
  color: #dbe9ff;
  cursor: pointer;
  flex: none;
}

.icon-btn:active {
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- 视图切换 ---------- */
.view {
  display: none;
  padding: 0 16px 40px;
  animation: viewIn 0.3s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.view.active {
  display: block;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 品牌头部 ---------- */
.brand {
  text-align: center;
  padding: 26px 0 22px;
}

.brand .logo-mark {
  width: 126px;
  height: 74px;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 4px 16px rgba(120, 180, 255, 0.5));
}

.brand .logo-word {
  width: 138px;
  display: block;
  margin: 0 auto 16px;
}

.brand h1 {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(90, 150, 255, 0.6);
}

.brand .en {
  margin: 7px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.4px;
  color: var(--text-dim);
  font-style: italic;
}

.brand .divider {
  width: 236px;
  height: 1px;
  margin: 15px auto 0;
  background: linear-gradient(90deg, transparent, rgba(195, 224, 255, 0.85), transparent);
}

.brand .sub-org {
  margin: 16px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.brand .sub-meeting {
  margin: 9px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #d7e7ff;
  line-height: 1.6;
}

/* ---------- 模块卡片网格（海报不对称版式） ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 12px;
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 122px;
  padding: 14px 16px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(168, 208, 255, 0.55);
  background:
    linear-gradient(155deg, #3d78ff 0%, #2456ee 48%, #1a41d6 100%);
  box-shadow:
    0 10px 26px rgba(2, 16, 60, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.module-card.wide {
  grid-column: span 11;
}

.module-card.narrow {
  grid-column: span 9;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.module-card.narrow .m-icon {
  align-self: flex-start;
  width: 44px;
  height: 44px;
  margin-top: 6px;
}

.module-card.narrow.icon-corner {
  flex-direction: row;
  align-items: flex-start;
}

.module-card.narrow.icon-corner .m-icon {
  align-self: flex-end;
  width: 46px;
  height: 46px;
  margin-top: 0;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 15% 0%, rgba(160, 205, 255, 0.35), transparent 62%);
  pointer-events: none;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-70%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.module-card:hover::after {
  transform: translateX(70%);
}

.module-card:active {
  transform: scale(0.968);
  box-shadow: 0 4px 14px rgba(1, 12, 45, 0.55);
}

.module-card .m-title {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.module-card .m-en {
  position: relative;
  margin-top: 2px;
  font-size: 9.5px;
  color: #c3dbff;
  letter-spacing: 0.2px;
}

.module-card .m-icon {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  opacity: 0.96;
}

.module-card .m-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.4px;
}

/* ---------- 首页页脚 ---------- */
.home-footer {
  margin-top: 26px;
  text-align: center;
}

.home-footer .place {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
}

.home-footer .date {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 0 2px 14px rgba(90, 150, 255, 0.7);
}

.home-footer .staff-link {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim-2);
  background: none;
  border: 1px dashed var(--line-soft);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}

.home-footer .staff-link:active {
  color: #cfe2ff;
}

/* ---------- 首页：海报原图 + 透明热区 ---------- */
#view-home {
  padding: 0 0 24px;
}
.poster-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  user-select: none;
  -webkit-user-select: none;
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
}
.poster-hot {
  position: absolute;
  cursor: pointer;
  border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
}
.poster-hot:active {
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- 通用白卡 ---------- */
.panel {
  background: var(--white-card);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  color: var(--ink);
  box-shadow: var(--shadow-float);
  margin-top: 16px;
}

.panel-tight {
  padding: 16px 16px 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}

.panel-head .bar {
  width: 4px;
  height: 17px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-700));
  flex: none;
}

.panel-head h2 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.panel-head .hint {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink-dim);
}

/* ---------- 表单 ---------- */
.field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #eef1f6;
}

.field:last-of-type {
  border-bottom: none;
}

.field > label {
  flex: none;
  width: 72px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 9px;
  letter-spacing: 0.5px;
}

.field .req {
  color: var(--danger);
  margin-left: 2px;
}

.field .ctrl {
  flex: 1;
  min-width: 0;
}

/* 手动核验：编号 + 签到码 同行、等宽等高对齐 */
.verify-row {
  align-items: stretch;
  gap: 10px;
}

.verify-row .ctrl input {
  height: 44px;
  box-sizing: border-box;
  padding: 0 12px;
  font-size: 14px;
  line-height: 44px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dfe4ec;
  background: #fbfcfe;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
}

.field textarea {
  resize: none;
  min-height: 74px;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a9b3c4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 109, 240, 0.13);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--danger);
  background: #fff7f7;
}

.field .err-msg {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--danger);
}

.field.error .err-msg {
  display: block;
}

/* 单选 / 复选 */
.radio-row {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 5px;
}

/* 房型价格提示（生态大床房 / 双床房 均 288 元） */
.room-price {
  font-size: 12px;
  color: #8a99b0;
  margin-top: 8px;
}

.radio-item,
.check-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}

.radio-item input,
.check-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-dot {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1.6px solid #c6cedb;
  background: #fff;
  flex: none;
  position: relative;
  transition: border-color 0.15s ease;
}

.radio-item input:checked + .radio-dot {
  border-color: var(--blue-600);
}

.radio-item input:checked + .radio-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--blue-600);
}

.check-box {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.6px solid #c6cedb;
  background: #fff;
  flex: none;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.check-item input:checked + .check-box {
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.check-item input:checked + .check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

.meal-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 6px;
}

.field-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-dim);
  background: #f5f8ff;
  border-radius: 9px;
  padding: 9px 11px;
}

/* ---------- 缴费开票信息区块 ---------- */
.invoice-block {
  margin-top: 4px;
  padding: 14px 13px 2px;
  border: 1px dashed #c9d8f2;
  border-radius: 14px;
  background: #f8fbff;
}

.invoice-block .inv-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1747cf;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.invoice-block .inv-title::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #1747cf;
}

/* 缴费表单：标签列放宽到 88px，让「缴费人姓名* / 金额（元）/ 备注」一行显示 */
#pay-form > .field > label { width: 88px; }
@media (max-width: 360px) {
  #pay-form > .field > label { width: 80px; }
}

/* 开票信息区块：标签列 102px 容纳「纳税人识别号*」一行，发票类型选项竖排避免折行 */
.invoice-block .field > label { width: 102px; }
.invoice-block .radio-row { flex-direction: column; align-items: flex-start; gap: 9px; }
@media (max-width: 360px) {
  .invoice-block .field > label { width: 96px; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: 11px;
  padding: 15px 18px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: var(--font);
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, #3576f5 0%, #2455da 100%);
  box-shadow: 0 8px 20px rgba(35, 88, 224, 0.42);
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.2s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 4px 12px rgba(35, 88, 224, 0.4);
}

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

.btn-ghost {
  background: transparent;
  color: var(--blue-600);
  border: 1.5px solid #cddcff;
  box-shadow: none;
  font-size: 15px;
  letter-spacing: 1px;
}

.btn-ghost:active {
  background: #f2f6ff;
}

.btn-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-soft);
  color: #dbe9ff;
  box-shadow: none;
  font-size: 14.5px;
  letter-spacing: 1px;
}

.btn-row {
  display: flex;
  gap: 11px;
  margin-top: 12px;
}

/* ---------- 报名成功页 ---------- */
.success-hero {
  text-align: center;
  padding: 22px 16px 20px;
  margin: 16px 0 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 255, 0.96));
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(10, 30, 80, 0.22);
}

.success-hero .tick {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #35d07f, #16a862);
  box-shadow: 0 10px 26px rgba(22, 168, 98, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.success-hero h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
}

.success-hero p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.4px;
}

.qr-card {
  text-align: center;
}

.qr-frame {
  display: inline-block;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6ebf5;
  box-shadow: 0 6px 18px rgba(20, 40, 90, 0.08);
  line-height: 0;
}

.qr-frame canvas {
  display: block;
  border-radius: 6px;
}

.qr-meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.7;
}

.qr-code-text {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
  background: #f2f6ff;
  border-radius: 8px;
  padding: 6px 14px;
}

.alert {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 11px;
  font-size: 12.5px;
  line-height: 1.65;
}

.alert-info {
  background: #eef4ff;
  color: #2a4a86;
}

.alert-warn {
  background: #fff7e8;
  color: #8a6420;
}

.alert svg {
  flex: none;
  margin-top: 1px;
}

/* 信息摘要 */
.info-list {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #eef1f6;
  font-size: 14px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .k {
  flex: none;
  width: 76px;
  color: var(--ink-dim);
}

.info-row .v {
  flex: 1;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

/* ---------- 文档型内容（须知 / 议程） ---------- */
.doc-section {
  margin-bottom: 20px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section > h3 {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-section > h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue-500);
  transform: rotate(45deg);
  flex: none;
}

.doc-section p {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #40506b;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #40506b;
}

.doc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9fb6dc;
}

.doc-list li b {
  color: var(--ink);
  font-weight: 600;
}

.kv-line {
  display: flex;
  font-size: 13.5px;
  line-height: 1.8;
  color: #40506b;
  margin-bottom: 6px;
}

.kv-line .kk {
  flex: none;
  width: 78px;
  color: var(--ink-dim);
}

.kv-line .vv {
  flex: 1;
  color: var(--ink);
  font-weight: 600;
}

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #cfe0ff, #eaf1ff);
}

.tl-item {
  position: relative;
  padding-bottom: 16px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2.4px solid var(--blue-500);
}

.tl-item.hl::before {
  background: var(--blue-600);
  border-color: #b9d0ff;
  box-shadow: 0 0 0 3px rgba(47, 109, 240, 0.16);
}

.tl-time {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: 0.4px;
  font-variant-numeric: tabular-nums;
}

.tl-text {
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #35455f;
}

.tl-text .who {
  color: var(--ink-dim);
  font-size: 12.5px;
}

.day-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 2px 0 14px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  letter-spacing: 0.6px;
}

/* ---------- 图片直播 ---------- */
.live-hero {
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  background: linear-gradient(150deg, rgba(58, 116, 246, 0.95), rgba(18, 56, 176, 0.95));
  border: 1.4px solid var(--line);
  box-shadow: var(--shadow-card);
  margin-top: 16px;
}

.live-hero .live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.live-hero .live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f6d;
  box-shadow: 0 0 8px #ff5f6d;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.live-hero h2 {
  margin: 14px 0 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}

.live-hero p {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: #cfe0ff;
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.gallery .ph {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(70, 125, 245, 0.32), rgba(20, 60, 170, 0.5));
  border: 1px solid var(--line-soft);
}

.gallery .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.14) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 1.9s infinite;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

/* ---------- 联系 / 缴费 ---------- */
.contact-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px dashed #eef1f6;
}

.contact-card:last-child {
  border-bottom: none;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-700));
  letter-spacing: 1px;
}

.contact-card .c-body {
  flex: 1;
  min-width: 0;
}

.contact-card .c-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.contact-card .c-role {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-dim);
}

.contact-card .c-tel {
  font-size: 13px;
  color: var(--blue-700);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  display: block;
  margin-top: 3px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fee-table th,
.fee-table td {
  padding: 11px 8px;
  text-align: left;
  border-bottom: 1px solid #eef1f6;
}

.fee-table th {
  font-size: 12px;
  color: var(--ink-dim);
  font-weight: 600;
  background: #f7f9fe;
}

.fee-table th:first-child {
  border-top-left-radius: 9px;
}

.fee-table th:last-child {
  border-top-right-radius: 9px;
}

.fee-table td:last-child,
.fee-table th:last-child {
  text-align: right;
}

.fee-table .price {
  font-weight: 700;
  color: #d93a2b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bank-box {
  background: #f7f9fe;
  border-radius: 11px;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 2;
  color: #35455f;
}

.bank-box .bn {
  color: var(--ink-dim);
  display: inline-block;
  width: 76px;
}

.bank-box b {
  color: var(--ink);
  word-break: break-all;
}

/* ---------- 会务签到 ---------- */
.scan-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0a1a3f;
  border: 1.4px solid var(--line);
  display: grid;
  place-items: center;
  margin-top: 16px;
}

.scan-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scan-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.scan-overlay .frame {
  width: 62%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  position: relative;
}

.scan-overlay .frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--cyan-300);
}

.scan-overlay .frame i:nth-child(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.scan-overlay .frame i:nth-child(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.scan-overlay .frame i:nth-child(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.scan-overlay .frame i:nth-child(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }

.scan-overlay .laser {
  position: absolute;
  left: 19%;
  right: 19%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-300), transparent);
  box-shadow: 0 0 12px var(--cyan-300);
  animation: scanmove 2.2s ease-in-out infinite;
}

@keyframes scanmove {
  0%, 100% { top: 26%; }
  50% { top: 74%; }
}

.scan-placeholder {
  text-align: center;
  padding: 20px;
  color: #a9c6f2;
  font-size: 13px;
  line-height: 1.8;
}

/* 名单 */
.reg-list {
  margin-top: 4px;
}

.reg-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #eef1f6;
}

.reg-item:last-child {
  border-bottom: none;
}

.reg-item .r-main {
  flex: 1;
  min-width: 0;
}

.reg-item .r-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.reg-item .r-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}

.tag-ok {
  background: #e6f8ef;
  color: #17a05e;
}

.tag-wait {
  background: #f1f4f9;
  color: #8291a8;
}

.empty-tip {
  text-align: center;
  padding: 26px 10px;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.8;
}

/* 结果卡 */
/* 会务人员口令验证卡 */
.auth-prompt {
  margin-top: 4px;
}

.auth-prompt .ap-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.auth-prompt .ap-tip {
  font-size: 12.8px;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}

.auth-prompt .ap-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #dbe3f0;
  padding: 10px 2px;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  margin-bottom: 14px;
}

.auth-prompt .ap-input:focus {
  outline: none;
  border-bottom-color: #1c4fd6;
}

.result-card {
  margin-top: 16px;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 13.5px;
  line-height: 1.8;
}

.result-card.ok {
  background: #eefaf3;
  border: 1px solid #bfe9d3;
  color: #12683f;
}

.result-card.fail {
  background: #fff2f2;
  border: 1px solid #ffd4d4;
  color: #a3262f;
}

.result-card.warn {
  background: #fff8ec;
  border: 1px solid #ffdca8;
  color: #955b09;
}

/* ---------- 核销结果大字横幅（会务人员扫完一眼可见） ---------- */
.result-card.banner {
  text-align: center;
  padding: 22px 16px 18px;
}

.result-card.banner .banner-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.result-card.ok.banner .banner-icon {
  background: #16a34a;
}

.result-card.warn.banner .banner-icon {
  background: #f59e0b;
}

.result-card.fail.banner .banner-icon {
  background: #dc2626;
}

.result-card.banner .banner-main {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.result-card.banner .banner-sub {
  font-size: 16px;
  font-weight: 700;
}

.result-card.banner .banner-tip {
  margin-top: 8px;
  font-size: 12.5px;
  opacity: 0.85;
}

.result-card.banner .banner-code {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  word-break: break-all;
}

.result-card + .result-card {
  margin-top: 10px;
}

.result-card .rc-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.result-card .rc-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.result-card .rc-row .k {
  flex: none;
  width: 62px;
  opacity: 0.75;
}

/* ---------- 参会人自己的手机：我的签到状态 ---------- */
.my-status-wait {
  font-size: 13.5px;
  line-height: 1.7;
  color: #6b7a90;
  background: #f5f7fb;
  border: 1px dashed #d6dded;
  border-radius: 10px;
  padding: 14px 16px;
}

.my-status-wait b {
  color: #40506b;
}

.my-status-wait .my-status-off {
  color: #a2adbe;
}

/* 缴费状态：绿色横幅与未缴费提示 */
#my-checkin-status .pay-banner {
  margin-top: 12px;
}

#my-checkin-status .pay-banner .banner-icon {
  background: #0f8a43;
}

#my-checkin-status .pay-wait {
  margin-top: 12px;
}

/* 未缴费提示整块可点击，跳转会议缴费 */
.pay-jump {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(15, 138, 67, 0.08);
  transition: border-color 0.15s, background 0.15s;
}

.pay-jump:active {
  background: #eaf3ee;
  border-color: #0f8a43;
}

.pay-jump .pay-jump-link {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: #0f8a43;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 16px);
  background: rgba(10, 26, 63, 0.94);
  color: #fff;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 99;
  max-width: 84vw;
  text-align: center;
}

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

.section-cap {
  margin: 22px 4px 10px;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 9px;
}

.section-cap::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-soft), transparent);
}

.foot-note {
  margin-top: 22px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--text-dim-2);
}

.foot-note b {
  color: var(--text-dim);
  font-weight: 600;
}

@media (max-width: 360px) {
  .field > label {
    width: 64px;
    font-size: 13.5px;
  }
  .brand h1 {
    font-size: 19px;
  }
  .module-card .m-title {
    font-size: 15.5px;
  }
}

/* ==========================================================================
   内页照片背景：与首页海报同源（抹除文字按钮后的海报底图）
   ========================================================================== */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* 代码绘制的旧背景装饰停用，统一使用海报同源背景 */
.bg-decor,
.bg-svg {
  display: none;
}

/* ---------- 内页顶部海报头图 ---------- */
.page-banner {
  display: block;
  width: calc(100% + 32px);
  margin: 0 -16px 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
}

/* ---------- 取消内页页眉（返回栏） ---------- */
.topbar {
  display: none !important;
}

/* ---------- 悬浮返回首页按钮 ---------- */
.fab-back {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 60;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(130, 180, 255, 0.4);
  background: rgba(5, 22, 66, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(1, 10, 40, 0.4);
}
.fab-back.show { display: flex; }
.fab-back:active { transform: scale(0.92); }

/* 会务费表格：项目名下的补充说明 */
.fee-table .fee-sub {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  white-space: normal;
}

/* 会务端提示条：符合发放条件 */
.alert-okline {
  background: #eefaf3;
  color: #12683f;
}

/* 议程未定：占位提示块 */
.soon-box {
  text-align: center;
  padding: 30px 18px 26px;
}
.soon-ico {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #eaf1fe;
  display: flex;
  align-items: center;
  justify-content: center;
}
.soon-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #1a2233);
  margin-bottom: 10px;
}
.soon-text {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-dim, #6b7488);
}
