/* ── 首页: 中央纵向舞台 + 两侧弧形卡片 ── */
.stage-wrap { position: relative; max-width: 1600px; margin: 0 auto; }
.stage {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
  padding: clamp(28px, 5vh, 64px) 16px clamp(28px, 4vh, 36px);
  padding: clamp(24px, 5dvh, 64px) 16px clamp(28px, 4dvh, 36px);
  text-align: center;
}
.stage-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 26px; }
.stage-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--text-faint); }
.stage-title { font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 36px; }
.stage-title .st-l1 { display: block; }
.stage-title .st-l2 { display: block; color: var(--text-dim); }
.stage-count { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.cdp { display: inline-flex; align-items: baseline; gap: 4px; }
.cdp b { font-family: var(--mono); font-size: clamp(26px, 3vw, 36px); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cdp span { font-size: 11px; color: var(--text-faint); }
.stage-count .cdp + .cdp { margin-left: 14px; }
.countdown-state { font-size: 13px; color: var(--text-dim); padding: 8px 0; }
.stage-phase { font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.stage-acts { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 40px; flex-wrap: wrap; }
.stage-progress { max-width: 460px; margin: 0 auto; }
.s5 { display: flex; align-items: flex-start; }
.s5-node { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.s5-node::before { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--glass-border); }
.s5-node:first-child::before { display: none; }
.s5-dot {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card-bg-hi); border: 1.5px solid var(--glass-border);
  color: var(--text-faint); font-family: var(--mono); font-size: 11px; font-weight: 600;
  position: relative; z-index: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.s5-lab { font-size: 10.5px; color: var(--text-faint); white-space: nowrap; }
.s5-node.done .s5-dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.s5-node.done .s5-lab { color: var(--text-dim); }
.s5-node.done::before { background: var(--accent); }
.s5-node.now .s5-dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.s5-node.now .s5-lab { color: var(--accent); font-weight: 600; }
.s5-node.now::before { background: var(--accent); }
.s5-node.bad .s5-dot { background: var(--red); border-color: var(--red); color: #fff; }
.s5-node.bad .s5-lab { color: var(--red); font-weight: 600; }
.s5-node.bad::before { background: var(--red); }
.s5-node.cancel .s5-dot { background: var(--card-bg-hi); border-color: var(--text-faint); color: var(--text-faint); }
.s5-node.cancel .s5-lab { color: var(--text-faint); font-weight: 600; }
.stage-note { margin-top: 18px; font-size: 13px; color: var(--text-dim); text-align: center; }
.dm-center .stage-progress { width: 100%; margin-top: 26px; }
@media (max-width: 700px) { .s5-lab { font-size: 9.5px; } }

/* ── 两侧曲折形卡片(桌面绝对定位交错下沉, 窄屏回落栅格) ── */
.orbit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.orbit-col { display: contents; }
.orbit .card { margin-bottom: 0; }
@media (min-width: 1280px) {
  .orbit { display: block; margin-top: 0; }
  .orbit-col { position: absolute; width: min(292px, 22vw); display: flex; flex-direction: column; gap: clamp(10px, 1.7vh, 16px); gap: clamp(10px, 1.7dvh, 16px); }
  .orbit-l { left: 4%; top: clamp(56px, 9vh, 88px); top: clamp(56px, 9dvh, 88px); }
  .orbit-r { right: 4%; top: clamp(56px, 9vh, 88px); top: clamp(56px, 9dvh, 88px); }
  .orb-1, .orb-3 { min-height: clamp(180px, 25vh, 230px); min-height: clamp(180px, 25dvh, 230px); }
  .orb-1 { rotate: -2.5deg; }
  .orb-2 { rotate: 2deg; translate: -4% 0; }
  .orb-3 { rotate: 2.5deg; }
  .orb-4 { rotate: -2deg; translate: 4% 0; }
  .orb-5 { rotate: 1.5deg; translate: 2% 0; }
  @media (hover: hover) {
    .orbit .card { transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease, rotate 0.3s var(--ease), translate 0.3s var(--ease); }
    .orbit .card:hover { rotate: 0deg; }
  }
}
html:has(.stage-wrap) { overflow-x: hidden; overflow-y: auto; }
html:has(.stage-wrap) body { overflow-x: hidden; overflow-y: auto; }
@media (max-width: 820px) {
  html:has(.stage-wrap) .main { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  html:has(.stage-wrap) body { overflow-y: visible; }
}
@media (max-width: 700px) {
  .orbit { grid-template-columns: 1fr; }
  .stage-kicker { flex-direction: column; gap: 10px; }
  .stage-meta { display: none; }
}

/* ── 首页外其余页面通用栅格 ── */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1005px) { .grid2 { grid-template-columns: 1fr; } }
.card-narrow { max-width: 800px; margin-left: auto; margin-right: auto; }

.main[data-page="referrals"] { max-width: 1120px; margin: 0 auto; }
.rf-user-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.rf-user-stat, .rf-user-reward { position: relative; overflow: hidden; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: 17px 18px; }
.rf-user-stat { min-height: 112px; display: flex; flex-direction: column; justify-content: center; transition: border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease; }
.rf-user-stat:hover, .rf-user-reward:hover { border-color: rgba(255, 255, 255, .17); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0, 0, 0, .22); }
.rf-user-stat span, .rf-user-reward-title, .rf-user-reward-grid span { display: block; color: var(--text-dim); font-size: 12px; }
.rf-user-stat strong { display: block; margin-top: 7px; color: var(--text); font-family: var(--mono); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-user-stat small { display: block; min-height: 16px; margin-top: 4px; color: var(--text-faint); font-size: 11px; line-height: 1.35; }
.rf-user-stat-primary { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 15px; padding: 19px 22px; background: rgba(48, 209, 88, .08); border-color: rgba(48, 209, 88, .28); }
.rf-user-stat-primary strong { margin-top: 3px; font-size: 36px; letter-spacing: 0; }
.rf-user-stat-icon { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid rgba(48, 209, 88, .3); border-radius: 14px; background: rgba(48, 209, 88, .13); color: var(--accent); }
.rf-user-stat-icon svg { width: 21px; height: 21px; }
.rf-user-code { margin-bottom: 16px; border-color: rgba(48, 209, 88, .22); box-shadow: 0 12px 32px rgba(0, 0, 0, .16); }
.rf-user-code .panel-head { background: rgba(48, 209, 88, .045); }
.rf-user-code .panel-head .tag { margin-left: auto; }
.rf-user-link-row { display: flex; align-items: stretch; gap: 12px; min-width: 0; }
.rf-user-link { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid rgba(48, 209, 88, .23); border-radius: var(--r-md); background: rgba(48, 209, 88, .055); color: var(--accent); font-family: var(--mono); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.rf-user-link-row .btn { flex-shrink: 0; align-self: center; }
.rf-user-link-row .btn svg, .rf-user-code .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.rf-user-note { margin: 0 0 14px; color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.rf-user-rewards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rf-user-reward { min-height: 172px; padding: 18px 20px; transition: border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease; }
.rf-user-reward-head { display: flex; align-items: center; gap: 11px; }
.rf-user-reward-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; background: var(--control-bg); color: var(--text-dim); }
.rf-user-reward-icon svg { width: 17px; height: 17px; }
.rf-user-reward-title { color: var(--text); font-size: 14px; font-weight: 600; }
.rf-user-reward-caption { margin-top: 3px; color: var(--text-faint); font-size: 11px; line-height: 1.35; }
.rf-user-reward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 21px; }
.rf-user-metric { min-width: 0; padding-left: 10px; border-left: 2px solid var(--glass-border); }
.rf-user-metric.is-issued { border-left-color: var(--accent); }
.rf-user-metric.is-pending { border-left-color: var(--orange); }
.rf-user-metric.is-failed { border-left-color: var(--red); }
.rf-user-reward-grid strong { display: block; margin-top: 6px; color: var(--text); font-family: var(--mono); font-size: 19px; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-user-failed { color: var(--red) !important; }
@media (max-width: 1000px) { .rf-user-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rf-user-stat-primary { grid-column: span 2; } }
@media (max-width: 700px) { .rf-user-rewards { grid-template-columns: 1fr; } .rf-user-link-row { align-items: stretch; flex-direction: column; } .rf-user-link-row .btn { align-self: stretch; justify-content: center; } }
@media (max-width: 440px) { .rf-user-summary { grid-template-columns: 1fr; } .rf-user-stat-primary { grid-column: span 1; } .rf-user-stat-primary strong { font-size: 32px; } .rf-user-reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rf-user-metric.is-failed { grid-column: span 2; } }

/* ── 待办栅格 ── */
.todo-grid { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: start; }
.todo-grid .todo-item { border-bottom: none; border: 1px solid var(--card-border); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 0; background: var(--card-bg); transform: none; }
.todo-grid .todo-item:hover { transform: none; box-shadow: none; }

/* ── 通知 ── */
.ann-item { padding: 14px 0; border-bottom: 1px solid var(--glass-border); }
.ann-item:last-child { border-bottom: none; }
.ann-item .a-title { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.ann-item .a-content { font-size: 13px; color: var(--text-dim); line-height: 1.75; margin-top: 6px; white-space: pre-wrap; }
.ann-item .a-time { font-family: var(--mono); font-size: 11px; color: var(--text-faint); margin-top: 8px; letter-spacing: 0.04em; }

/* ── 日程 ── */
.day-group { margin-bottom: 20px; }
.day-group:last-child { margin-bottom: 0; }
.day-group .d-label { font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); display: inline-block; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.day-group .sch-item { padding: 10px 0; border-bottom: 1px solid var(--glass-border); font-size: 13px; }
.day-group .sch-item:last-child { border-bottom: none; }
.day-group .sch-item b { color: var(--text); }
.day-group .sch-item p { color: var(--text-dim); margin-top: 3px; line-height: 1.6; }

/* ── 捐赠鸣谢: 中央发光引导卡 + 两侧砖块瀑布流 ── */
.donate-stage { max-width: 1120px; margin: 0 auto; }
.donate-title { text-align: center; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 4px 0 26px; }
.dm-grid { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; margin-top: 38px; }
.dm-item {
  flex: 0 1 auto; max-width: 100%;
  border: 1px solid var(--card-border); background: var(--card-bg);
  border-radius: 12px; padding: 9px 14px;
  font-size: 13px; color: var(--text-dim); word-break: break-word;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
@media (hover: hover) {
  .dm-item:hover { transform: translateY(-2px); border-color: rgba(48, 209, 88, 0.4); }
}
.dm-item .dm-name { color: var(--text); font-weight: 600; margin-right: 7px; }
.dm-item .dm-amt {
  display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 8px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums;
}
.dm-item .dm-remark { color: var(--text-faint); }
.dm-center {
  position: relative; max-width: 460px; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 320px; text-align: center; padding: 36px 24px;
  border: none; box-shadow: none;
  background: radial-gradient(closest-side at 50% 46%, rgba(48, 209, 88, 0.17), rgba(48, 209, 88, 0.07) 52%, transparent 74%);
}
.dm-center > * { position: relative; z-index: 1; }
.dm-center::after {
  content: ''; position: absolute; inset: 6% -6%;
  background: radial-gradient(closest-side at 50% 50%, rgba(48, 209, 88, 0.10), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}
.glow-info.glow-red {
  background: radial-gradient(closest-side at 50% 46%, rgba(255, 92, 80, 0.22), rgba(255, 92, 80, 0.08) 52%, transparent 74%);
}
.glow-info.glow-red::after {
  background: radial-gradient(closest-side at 50% 50%, rgba(255, 92, 80, 0.14), transparent 72%);
}
.dm-title { font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 14px; }
.dm-sub { font-size: 13px; color: var(--text-dim); line-height: 1.85; }
.apply-no-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 12px; width: min(720px, 100%); max-width: 100%;
  margin: 18px auto 16px; padding: 0 8px;
}
.apply-no-label { font-family: var(--mono); font-size: 12px; color: var(--text-faint); flex-shrink: 0; }
.apply-no { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; cursor: pointer; }
.apply-no-text {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1ch; column-gap: 0.12em;
  color: var(--accent); font-family: var(--mono); font-size: 18px; font-weight: 700;
  line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.apply-no-char { display: block; width: 1ch; text-align: center; }
.apply-no .glow-no-toggle { color: var(--text-faint); }
.apply-no .glow-no-toggle:hover { color: var(--accent); }
.icon-btn { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--glass-border); border-radius: 999px; background: var(--control-bg); color: var(--text-dim); cursor: pointer; flex-shrink: 0; }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.apply-stage-progress { width: 100%; }
.apply-actions { max-width: 800px; margin: 20px auto 0; justify-content: center; }
.apply-me-actions { justify-content: center; }
@media (max-width: 700px) {
  .apply-no-row { gap: 8px 10px; padding: 0 4px; }
  .apply-no-text { font-size: 16px; column-gap: 0.1em; }
  .apply-actions { margin-left: 8px; margin-right: 8px; }
}
.dm-center .stage-count { margin-top: 28px; }
.dm-note { font-size: 12px; color: var(--text-faint); line-height: 1.7; }
.dm-foot { margin-top: 52px; }
.dm-foot .acts-row { justify-content: center; margin-top: 14px; }
.dm-remain { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.dm-remain b { color: var(--accent); font-family: var(--mono); font-size: 18px; font-variant-numeric: tabular-nums; }
.dm-form { margin-top: 30px; width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.dm-form input {
  width: 100%; padding: 10px 14px;
  background: var(--control-bg); border: 1px solid var(--glass-border); border-radius: var(--r-md);
  font-size: 13px; color: var(--text); font-family: inherit; outline: none;
  transition: border-color 0.2s ease;
}
.dm-form input:focus { border-color: var(--accent); }
.dm-form input::placeholder { color: var(--text-faint); }
.dm-form .acts-row { justify-content: center; margin-top: 2px; }
@media (max-width: 1000px) {
  .dm-center { min-height: 0; padding: 26px 8px; }
  .dm-grid { margin-top: 26px; }
}
/* ── 捐赠 ── */
.donate-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--glass-border); font-size: 13px; }
.donate-item:last-child { border-bottom: none; }
.donate-item .d-name { color: var(--text-dim); }
.donate-item .d-amount { color: var(--orange); font-weight: 600; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── 联系 ── */
.contact-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--glass-border); font-size: 13px; }
.contact-item:last-child { border-bottom: none; }
.contact-item .c-icon { width: 36px; height: 36px; border-radius: 12px; background: var(--control-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .c-icon svg { width: 16px; height: 16px; }
.contact-item .c-label { font-size: 11.5px; letter-spacing: 0.02em; color: var(--text-faint); }
.contact-cell { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.gallery-sub { font-size: 14px; color: var(--text-dim); line-height: 1.75; max-width: 52ch; margin: 14px auto 30px; }
.contact-item .c-value { color: var(--text); margin-top: 2px; word-break: break-all; }
.contact-item .c-value a { color: var(--accent); }
.contact-item .c-value a:hover { color: var(--accent-hover); }

.ct-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ct-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-lg);
  padding: 22px 18px 20px; min-height: 60vh; min-height: clamp(300px, 60dvh, 620px); text-align: center;
}
.ct-name { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 10px; }
.ct-link { font-size: 16px; font-weight: 600; color: var(--accent); word-break: break-all; margin-bottom: 14px; }
.ct-link.dim { color: var(--text-faint); }
.ct-link.accent { color: var(--accent); }
.ct-hint { font-size: 13px; color: var(--text-dim); line-height: 1.7; white-space: pre-line; margin-bottom: 16px; }
.ct-body { width: 100%; flex: 1; display: flex; }
.ct-tpl {
  flex: 1; width: 100%; margin: 0; padding: 16px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); color: var(--text-dim);
  font-size: 16px; line-height: 1.75; text-align: left; white-space: pre-wrap; font-family: inherit;
}
.ct-qr {
  width: 100%; flex: 1; min-height: 240px; min-height: clamp(160px, 30dvh, 240px); border-radius: 12px;
  background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px;
}
.ct-qr img, .ct-qr svg { width: 100%; height: auto; display: block; }
.ct-qr.empty { background: var(--control-bg); color: var(--text-faint); }
@media (max-width: 1180px) {
  .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-card { min-height: 60vh; min-height: clamp(300px, 60dvh, 620px); }
}
@media (max-width: 700px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-card { min-height: 0; padding: 18px 14px; }
}

/* ── 酒店 ── */
.hotel-card { border: 1px solid var(--card-border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 14px; background: var(--card-bg); }
.hotel-card .h-cover { width: 100%; height: 150px; background: var(--control-bg); display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 12px; overflow: hidden; }
.hotel-card .h-cover img { width: 100%; height: 100%; object-fit: cover; }
.hotel-card .h-body { padding: 14px 16px; }
.hotel-card .h-name { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.015em; }
.hotel-card .h-addr { font-size: 12px; color: var(--text-dim); margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.hotel-card .h-addr svg, .hotel-card .h-phone svg { width: 13px; height: 13px; flex-shrink: 0; }
.hotel-card .h-phone { font-size: 12px; color: var(--accent); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.hotel-card .h-rules { font-size: 12px; color: var(--text-dim); background: var(--control-bg); border-radius: var(--r-md); padding: 10px 12px; margin-top: 10px; line-height: 1.7; white-space: pre-wrap; }
.hotel-card .h-rules b { color: var(--orange); }
.hotel-card .h-rules b.qa { color: var(--accent); }

.gallery-hold-link { font-size: clamp(26px, 2.8vw, 44px); font-weight: 700; color: var(--accent); letter-spacing: -0.03em; transition: color 0.2s ease; }
.gallery-hold-link:hover { color: var(--accent-hover); }


.center-wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-left: 0; padding: 24px; position: relative; z-index: 1; }
/* ── 入场码时钟(直连页/弹窗共用) ── */
.entry-clock {
  text-align: center; font-size: 14px; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: 0.3px; margin-bottom: 10px;
}
.entry-left {
  text-align: center; font-size: 13px; color: var(--text-dim);
  font-variant-numeric: tabular-nums; margin-bottom: 12px;
}
.entry-clock .clk-hl, .entry-left .clk-hl { color: var(--accent); font-weight: 700; }
.entry-left .clk-hl { font-size: 16px; }
.sm-card .entry-qr { margin-bottom: 12px; }
.sm-card .entry-code { margin-bottom: 12px; cursor: pointer; }

/* ── /team 团队成员展示 ── */
.team-group { margin-bottom: 22px; }
.team-position {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); margin-bottom: 12px;
}
.team-position::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.team-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 9px; padding: 20px 14px 18px;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-lg);
}
.team-card .avatar {
  position: relative; overflow: hidden;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--control-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600;
}
.team-card .avatar .avatar-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.team-name { font-size: 14px; font-weight: 600; color: var(--text); }
.team-motto { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .team-card { padding: 14px 10px 12px; }
}

/* ── 公众号悬浮二维码 ── */
.qr-hover {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent); cursor: pointer; user-select: none;
  font-size: 12px; font-weight: 600;
  padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--control-bg);
  transition: background-color 0.2s ease;
}
.qr-hover:hover, .qr-hover:focus-visible { background: var(--hover-bg); outline: none; }
.qr-hover svg { width: 14px; height: 14px; flex-shrink: 0; }
.qr-pop {
  position: fixed; z-index: 320; width: 212px; padding: 12px;
  background: var(--menu-bg);
  border: 1px solid var(--glass-border); border-radius: 18px;
  box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px) scale(0.97); transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.qr-pop.on { opacity: 1; visibility: visible; transform: none; }
.qr-pop img { display: block; width: 100%; border-radius: var(--r-md); background: #fff; }
.qr-pop .qr-cap { margin-top: 9px; text-align: center; font-size: 12px; color: var(--text-dim); }

/* ── / 直达认证页 ── */
.direct-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.direct-brand svg { height: 18px; width: auto; fill: var(--text); }
.direct-brand .nm { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; }
.direct-sub { font-size: 12px; color: var(--text-dim); margin-bottom: 22px; }
.direct-card { width: 460px; max-width: 92vw; margin-bottom: 0; border-radius: var(--r-lg); }
.entry-qr { display: flex; justify-content: center; background: var(--qr-bg); border: 1px solid var(--glass-border); border-radius: var(--r-md); padding: 14px; }
.entry-qr svg { width: 100%; max-width: 280px; height: auto; display: block; }

/* ── 酒店地图 ── */
.h-map { margin-top: 8px; }
.h-map img { width: 100%; border-radius: var(--r-md); }
#applyno-box { cursor: pointer; }
#applyno-box .m { color: var(--accent); font-weight: 600; }

/* ── 我的申请：已确认席位态 ── */
.secured-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(235px, 1fr) minmax(430px, 2.6fr) minmax(235px, 1fr) minmax(0, 0.7fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". subsidy center todo ."
    ". stay center apply ."
    ". meals center share .";
  gap: 26px; align-items: center;
  width: 100%; min-height: 680px; min-height: clamp(540px, 70vh, 680px); min-height: clamp(540px, 70dvh, 680px); max-width: 1780px;
  margin: 0 auto; padding: 0 24px;
}
.secured-stage .secured-card, .secured-stage .card {
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease, rotate 0.3s var(--ease), translate 0.3s var(--ease);
}
.secured-stage .secured-card:hover, .secured-stage .card:hover { rotate: 0deg; }
.secured-center { grid-area: center; min-height: 0; padding: 30px 24px 34px; }
.secured-center .dm-title { margin-bottom: 20px; }
.secured-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-lg); padding: 26px 18px; text-align: center;
}
.secured-subsidy { grid-area: subsidy; rotate: -2.2deg; }
.secured-stay { grid-area: stay; rotate: -1.6deg; translate: -34px 0; }
.secured-meals { grid-area: meals; rotate: 1.8deg; }
.secured-apply { grid-area: apply; rotate: 2.6deg; translate: 34px 0; }
.secured-share { grid-area: share; rotate: -1.8deg; }
.secured-todo { grid-area: todo; rotate: 2.2deg; margin-bottom: 0; }
.secured-card-t { font-size: 16px; font-weight: 600; color: var(--text); }
.secured-card-val { font-size: 44px; font-weight: 700; color: var(--text); line-height: 1.15; letter-spacing: -0.02em; }
.secured-card-unit { font-family: var(--mono); font-size: 16px; color: var(--text-dim); }
.secured-card-check { font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.secured-card-desc { font-size: 13px; color: var(--text-dim); line-height: 1.8; }
.secured-actions { margin: 26px auto 0; gap: 12px; justify-content: center; }
.secured-view-btn, .secured-share-btn { width: 100%; justify-content: center; border-color: rgba(48, 209, 88, 0.55); color: var(--accent); }
.secured-view-btn:hover, .secured-share-btn:hover { border-color: var(--accent); }
.secured-seat-final { min-width: 280px; height: 52px; font-size: 16px; border-radius: 999px; justify-content: center; }
.seat-warn-steps { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.seat-warn-steps i { width: 10px; height: 10px; border-radius: 50%; background: var(--glass-border); transition: background-color 0.2s ease; }
.seat-warn-steps i.on { background: var(--red); }
.apply-no-card { flex-direction: column; gap: 8px; width: 100%; cursor: pointer; }
.apply-no-head { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.apply-no-line { display: inline-flex; }
.secured-card .apply-no-text { font-size: 12px; column-gap: 0.08em; }
.secured-card .apply-no { gap: 8px; }
.secured-confirm-btn { background: #3dd68c; color: #0a0a0c; border-color: #3dd68c; }
.secured-confirm-btn:hover { background: #32b877; border-color: #32b877; }
.secured-decline-btn { background: transparent; color: var(--red); border-color: var(--red); }
.secured-decline-btn:hover { background: rgba(239,68,68,0.1); }
@media (max-width: 1100px) {
  .secured-stage {
    grid-template-columns: minmax(0, 560px);
    grid-template-rows: auto;
    grid-template-areas:
      "center"
      "subsidy"
      "stay"
      "meals"
      "todo"
      "apply"
      "share";
    min-height: 0;
    justify-content: center;
    padding: 0 14px;
  }
  .secured-stay, .secured-apply { translate: none; }
  .secured-stage .secured-card, .secured-stage .card { rotate: 0deg; }
}
.team-nickname { font-size: 12px; color: var(--text-faint); margin-top: -5px; }
.team-role {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--accent); background: var(--accent-soft, rgba(48,209,88,0.1));
  border: 1px solid rgba(48,209,88,0.3); border-radius: 99px; padding: 2px 10px;
}
.team-email { font-size: 12px; color: var(--accent); word-break: break-all; text-decoration: none; }
.team-email:hover { text-decoration: underline; }

/* ── /gallery 项目集市: 内嵌 AdventureX + 底部导航栏 ── */
.gl-gallery-stage { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:calc(100vh - 180px); min-height:calc(100dvh - 180px); padding-bottom:96px; }
html:has(.gl-gallery-stage) { background:#0d140f radial-gradient(circle 900px at 88% 6%, rgba(48,209,88,0.30), rgba(48,209,88,0.07) 42%, transparent 68%), radial-gradient(circle 1000px at 8% 94%, rgba(100,210,255,0.28), rgba(100,210,255,0.07) 42%, transparent 68%), linear-gradient(135deg,#07110b,#08090c 52%,#111c12) fixed; }
.gl-open-title { margin:0 0 14px; font-size:clamp(26px,4.4vw,44px); line-height:1.16; letter-spacing:-.045em; }
.gl-open-desc { margin:0 auto 30px; max-width:52ch; font-size:15px; line-height:1.75; color:var(--text-dim); }
.gl-open-acts { display:flex; justify-content:center; }
.gl-open-acts .btn { display:inline-flex; align-items:center; gap:10px; }
.gl-open-acts .btn svg { width:17px; height:17px; }
.gl-bottom-nav { position:fixed; left:50%; bottom:18px; transform:translateX(-50%); z-index:850; border-radius:999px; background:var(--glass); -webkit-backdrop-filter:blur(20px) saturate(1.4); backdrop-filter:blur(20px) saturate(1.4); border:1px solid rgba(255,255,255,0.09); box-shadow:var(--shadow-float); max-width:calc(100vw - 24px); }
.gl-bottom-inner { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px; padding:12px 20px; }
.gl-bottom-text { font-size:14px; color:var(--text-dim); }
.gl-bottom-inner .btn { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
@media (max-width: 820px) {
  .gl-gallery-stage { padding-bottom:168px; }
  .gl-bottom-nav { bottom:calc(82px + env(safe-area-inset-bottom)); max-width:calc(100vw - 12px); }
}
@media (max-width:700px) { .gl-bottom-inner { padding:10px 14px; gap:10px; } .gl-bottom-text { font-size:13px; } }
