/* ============================================================
   H5 报名活动 - 公共样式 v2（移动优先 · 排版升级版）
   设计变量 → 基础 → 首页 → 名单 → 表单 → 动效
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  /* 色彩体系 */
  --primary: #ff5b3a;
  --primary-deep: #e63e2b;
  --primary-grad: linear-gradient(135deg, #ff8a4c 0%, #ff5b3a 55%, #f43f5e 100%);
  --accent: #ffb800;
  --gold-grad: linear-gradient(135deg, #ffe29a 0%, #ffb800 60%, #ff9500 100%);
  --bg: #f4f5f9;
  --card: #ffffff;
  --text: #1f2329;
  --text-2: #707784;
  --text-3: #a2a8b3;
  --border: #edeff3;
  --shadow-sm: 0 2px 8px rgba(31, 35, 41, .05);
  --shadow-md: 0 8px 24px rgba(31, 35, 41, .08);
  --shadow-primary: 0 10px 26px rgba(255, 91, 58, .32);

  /* 圆角 */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  /* 字号层级（排版核心） */
  --fs-hero: 30px;
  --fs-title: 18px;
  --fs-subtitle: 15px;
  --fs-body: 14px;
  --fs-caption: 12px;
}

html { height: 100%; }
body {
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(900px 400px at 50% -80px, rgba(255, 138, 76, .10), transparent 70%),
    var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: .2px;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: 112px; }

/* ---------- 2. 顶部横幅 ---------- */
.hero {
  position: relative;
  padding: 30px 22px 96px;
  color: #fff;
  border-radius: 0 0 32px 32px;
  background:
    radial-gradient(220px 200px at 12% 0%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(300px 260px at 95% 10%, rgba(255, 184, 0, .28), transparent 65%),
    var(--primary-grad);
  overflow: hidden;
}
/* 装饰：漂浮气球与光斑 */
.hero .deco { position: absolute; pointer-events: none; }
.hero .d-balloon { right: 26px; top: 18px; font-size: 44px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)); animation: floaty 4s ease-in-out infinite; }
.hero .d-balloon.b2 { right: 74px; top: 64px; font-size: 26px; animation-delay: -2s; }
.hero .d-gift { right: -14px; top: 96px; font-size: 96px; opacity: .16; transform: rotate(-14deg); }
.hero .d-spark { left: 22px; bottom: 14px; font-size: 20px; opacity: .8; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.85) } 50% { opacity: .95; transform: scale(1.1) } }

.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: var(--fs-caption);
  letter-spacing: 2px;
}
.hero .tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3 } }

.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.25;
  margin-top: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}
.hero p { margin-top: 8px; font-size: 13px; opacity: .92; letter-spacing: .5px; }

/* ---------- 3. 统计卡片 ---------- */
.stat-card {
  position: relative;
  z-index: 2;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(230, 62, 43, .14);
  margin: -72px 16px 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-card .num {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-card .num small { font-size: 13px; font-weight: 400; -webkit-text-fill-color: var(--text-3); margin-left: 4px; }
.stat-card .label { font-size: var(--fs-caption); color: var(--text-2); margin-top: 3px; letter-spacing: 1px; }
.stat-card .divider { width: 1px; height: 34px; background: var(--border); margin: 0 6px; }
.stat-card .right { text-align: right; }
.stat-card .cutoff { font-size: 14px; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 3px; }

/* ---------- 4. 区块标题 ---------- */
.section { margin: 0 16px 18px; scroll-margin-top: 12px; }
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-title);
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.section-title::before {
  content: "";
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: var(--primary-grad);
  box-shadow: 0 2px 6px rgba(255, 91, 58, .4);
}
.section-title .count {
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0;
}

/* ---------- 5. 奖品卡片 ---------- */
.prize-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.prize-card:active { transform: scale(.985); box-shadow: var(--shadow-md); }
/* 左侧奖级色条 */
.prize-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.prize-card.lv1::before { background: var(--gold-grad); }
.prize-card.lv2::before { background: linear-gradient(180deg, #c0c7d1, #8f9aa8); }
.prize-card.lv3::before { background: linear-gradient(180deg, #e8a878, #c47b4a); }
.prize-card.lv4::before { background: linear-gradient(180deg, #7dd3fc, #38bdf8); }

.prize-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.prize-card.lv1 .icon { background: linear-gradient(135deg, #fff8e6, #ffedc2); box-shadow: inset 0 0 0 1px #ffe1a0; }
.prize-card.lv2 .icon { background: linear-gradient(135deg, #f4f6f9, #e6eaf0); box-shadow: inset 0 0 0 1px #dfe4ec; }
.prize-card.lv3 .icon { background: linear-gradient(135deg, #fdf1e7, #fbe0cc); box-shadow: inset 0 0 0 1px #f5d4b8; }
.prize-card.lv4 .icon { background: linear-gradient(135deg, #eef8ff, #dcefff); box-shadow: inset 0 0 0 1px #c8e6fb; }

.prize-card .info { flex: 1; min-width: 0; }
.prize-card .name { font-size: var(--fs-subtitle); font-weight: 700; letter-spacing: .3px; }
.prize-card .desc { font-size: var(--fs-caption); color: var(--text-2); margin-top: 3px; }
.prize-card .badge {
  background: var(--primary-grad);
  color: #fff;
  font-size: var(--fs-caption);
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(255, 91, 58, .3);
}
.prize-card .badge.gold { background: var(--gold-grad); color: #7a4b00; box-shadow: 0 3px 10px rgba(255, 184, 0, .35); }
.prize-card .badge.gray { background: #f1f3f7; color: var(--text-2); box-shadow: none; }

/* ---------- 6. 报名名单 ---------- */
.list-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.list-head {
  display: flex;
  padding: 11px 16px;
  font-size: var(--fs-caption);
  color: var(--text-3);
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fafbfd, #f5f7fa);
  border-bottom: 1px solid var(--border);
}
.col-rank { width: 44px; }
.col-name { flex: 1; }
.col-phone { width: 132px; }

.row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-subtitle);
  animation: rowIn .3s ease both;
}
.row:last-child { border-bottom: none; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

/* 前三名奖牌 */
.rank {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  color: var(--text-3);
  background: #f1f3f7;
  font-style: italic;
}
.rank.top1 { background: var(--gold-grad); color: #7a4b00; box-shadow: 0 3px 8px rgba(255, 184, 0, .4); }
.rank.top2 { background: linear-gradient(135deg, #e8edf3, #b9c3cf); color: #4b5563; }
.rank.top3 { background: linear-gradient(135deg, #f3c9a4, #d99a63); color: #6b3d1d; }

.col-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.col-name .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.col-phone { color: var(--text-2); font-variant-numeric: tabular-nums; font-size: var(--fs-body); }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}

.empty { padding: 48px 0 52px; text-align: center; color: var(--text-3); font-size: 13px; }
.empty .e-icon { font-size: 46px; margin-bottom: 10px; animation: floaty 3.5s ease-in-out infinite; }

.load-more {
  display: block;
  width: 100%;
  padding: 13px;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-size: var(--fs-body);
  font-weight: 500;
  cursor: pointer;
}
.load-more:active { background: #fff7f5; }

/* ---------- 7. 底部固定按钮 ---------- */
.footer-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(244, 245, 249, .88);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(237, 239, 243, .9);
  z-index: 10;
}
.footer-bar .inner { max-width: 448px; margin: 0 auto; }
.site-record { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 24px; padding:12px 16px 20px; text-align:center; font-size:11px; line-height:1.5; }
.site-record a { display:inline-flex; align-items:center; gap:5px; color:#8b7776; text-decoration:none; }
.site-record .public-security-record svg { width:16px; height:16px; fill:#d95f45; stroke:#fff; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.site-record a:hover { color:#86524e; text-decoration:underline; }
.admin-site-record { margin-top:24px; padding-bottom:8px; border-top:1px solid #e6d8d0; }
.btn-primary {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  background: var(--primary-grad);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 15px 0;
  border-radius: 999px;
  box-shadow: var(--shadow-primary);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .08s;
  overflow: hidden;
}
/* 按钮流光 + 呼吸光晕 */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine { 0% { left: -80% } 55%, 100% { left: 130% } }
.btn-primary { animation: breath 3s ease-in-out infinite; }
@keyframes breath { 0%, 100% { box-shadow: var(--shadow-primary) } 50% { box-shadow: 0 10px 30px rgba(255, 91, 58, .5) } }
.btn-primary:active { transform: scale(.97); animation: none; }
.btn-primary .sub { display: block; font-size: 11px; font-weight: 400; letter-spacing: 1px; opacity: .92; margin-top: 2px; }

/* ---------- 8. 报名页 ---------- */
.form-page { padding: 20px 20px 32px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-2);
  text-decoration: none;
  font-size: var(--fs-body);
  padding: 4px 10px 4px 4px;
  margin-bottom: 14px;
}
.form-header {
  background: var(--primary-grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-primary);
}
.form-header .deco { position: absolute; right: -12px; top: -6px; font-size: 84px; opacity: .18; transform: rotate(-12deg); }
.form-header h2 { font-size: 22px; font-weight: 800; letter-spacing: 1px; position: relative; }
.form-header p { font-size: 13px; opacity: .9; margin-top: 6px; position: relative; }

.form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px 20px 20px;
  animation: cardIn .35s ease both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

.field { margin-bottom: 20px; }
.field label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: 9px;
  letter-spacing: .5px;
}
.field label .req {
  color: var(--primary);
  font-size: 13px;
}
.field .input-wrap { position: relative; }
.field .input-wrap .pre {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}
.field input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 13px 14px 13px 44px;
  font-size: 16px; /* >=16px 防止 iOS 聚焦自动放大 */
  font-family: inherit;
  letter-spacing: .5px;
  background: #f8f9fb;
  outline: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.field input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 91, 58, .12);
}
.field input.error { border-color: #e5484d; background: #fff5f5; box-shadow: 0 0 0 3px rgba(229, 72, 77, .1); }
.field .msg { font-size: var(--fs-caption); color: #e5484d; margin-top: 7px; min-height: 17px; padding-left: 2px; }
.field .msg.ok { color: #16a34a; }

.form-card .btn-primary { letter-spacing: 6px; padding: 14px 0; font-size: 16px; }
.form-card .btn-primary:disabled { opacity: .65; box-shadow: none; animation: none; }

.rules {
  font-size: var(--fs-caption);
  color: var(--text-2);
  line-height: 2;
  margin-top: 18px;
  padding: 14px 16px;
  background: #f8f9fb;
  border-radius: 12px;
  border: 1px dashed #e3e6ec;
}
.rules strong { color: var(--text); }
.rules .r { display: flex; gap: 8px; }
.rules .r b {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #eef0f4;
  color: var(--text-2);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

/* ---------- 9. 弹层与提示 ---------- */
.toast-mask {
  position: fixed; inset: 0;
  background: rgba(15, 17, 21, .55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
}
.toast-mask.show { display: flex; }
.toast {
  background: #fff;
  border-radius: 24px;
  padding: 32px 30px 24px;
  text-align: center;
  width: 78%;
  max-width: 320px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  animation: pop .3s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes pop { from { transform: scale(.7); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.toast .big { font-size: 56px; animation: floaty 3s ease-in-out infinite; }
.toast h3 { font-size: 19px; margin: 10px 0 4px; letter-spacing: 1px; }
.toast p { font-size: 13px; color: var(--text-2); margin-bottom: 20px; }
.toast .btn-primary { padding: 12px 0; font-size: 15px; letter-spacing: 2px; }

.tip {
  position: fixed;
  left: 50%;
  bottom: 130px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(20, 22, 27, .88);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.tip.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   10. 中秋邀请赛专用组件
   ============================================================ */

/* 横幅内 时间/地址 信息条 */
.hero .meta { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; position: relative; z-index: 2; }
.hero .meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: .4px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  padding: 8px 13px;
  backdrop-filter: blur(4px);
}
.hero .meta-item .mi { font-size: 15px; flex-shrink: 0; }

/* 重要说明（黄底警示卡） */
.notice {
  background: linear-gradient(135deg, #fffaf0, #fff3d9);
  border: 1px solid #ffe2a0;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: var(--fs-caption);
  color: #8a6116;
  line-height: 1.9;
  display: flex;
  gap: 10px;
}
.notice .n-icon { font-size: 20px; line-height: 1.5; flex-shrink: 0; }
.notice b { color: #7a4b00; }

/* 酒水套餐卡片 */
.pkg-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.pkg-card .price {
  flex-shrink: 0;
  width: 78px;
  text-align: center;
  padding: 8px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff3e8, #ffe3d8);
  box-shadow: inset 0 0 0 1px #ffd9c6;
}
.pkg-card .price .p {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.pkg-card .price .p::before { content: "¥"; font-size: 12px; font-weight: 600; }
.pkg-card .price .pl { font-size: 10px; color: var(--text-3); margin-top: 2px; letter-spacing: 1px; }
.pkg-card .info { flex: 1; min-width: 0; }
.pkg-card .info .name { font-size: var(--fs-subtitle); font-weight: 700; }
.pkg-card .pts { margin-top: 4px; font-size: var(--fs-caption); color: var(--text-2); }
.pkg-card .pts b { color: #c47b00; font-size: 14px; font-variant-numeric: tabular-nums; }
.pkg-card .pts .arrow { color: var(--text-3); margin: 0 2px; }

/* 奖励卡片：第4/5名色条 */
.prize-card.lv5::before { background: linear-gradient(180deg, #fda4af, #f43f5e); }
.prize-card.lv5 .icon { background: linear-gradient(135deg, #fff1f2, #ffe0e4); box-shadow: inset 0 0 0 1px #ffd0d6; }

/* 奖励明细多行文本 */
.prize-card .detail {
  margin-top: 5px;
  font-size: var(--fs-caption);
  color: var(--text-2);
  line-height: 1.75;
}
.prize-card .detail em { font-style: normal; color: var(--text); font-weight: 600; }
.prize-card .detail .plus { color: var(--text-3); margin: 0 3px; }

/* 活动细则列表 */
.rule-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 4px 16px;
}
.rule-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-caption);
  color: var(--text-2);
  line-height: 1.85;
}
.rule-item:last-child { border-bottom: none; }
.rule-item b { color: var(--text); }
.rule-item .no {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff2ec;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.rule-item .contact { color: var(--text); font-weight: 500; }

/* 奖品多选一明细列表 */
.prize-items {
  margin: 8px 0 4px;
  padding: 0;
  list-style: none;
}
.prize-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #7a6034;
  padding: 4px 0;
}
.prize-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* 开业福利高亮卡 */
.highlight-notice {
  background: linear-gradient(135deg, #fff1e6 0%, #ffe3d9 55%, #ffd9cf 100%);
  border-color: #f3b39a;
  box-shadow: 0 4px 14px rgba(226, 108, 64, 0.14);
  animation: benefitGlow 2.2s ease-in-out infinite;
}
.highlight-notice .n-icon {
  background: linear-gradient(135deg, #ff8a5c, #e25b45);
}
.highlight-notice .hl {
  color: #d43a1e;
  font-size: 14.5px;
}
@keyframes benefitGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(226, 108, 64, 0.14); }
  50% { box-shadow: 0 6px 22px rgba(226, 108, 64, 0.32); }
}
@media (prefers-reduced-motion: reduce) {
  .highlight-notice { animation: none; }
}

/* 福利副行 */
.hl-sub {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(212, 58, 30, 0.25);
  font-size: 13px;
  color: #b8442a;
}

/* 奖品档位合集图 */
.prize-photo {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ===== 奖品图点击预览（灯箱） ===== */
.prize-photo,
.prize-thumb {
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.prize-thumb {
  transition: transform 0.15s ease;
}
.prize-thumb:active {
  transform: scale(0.92);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: rgba(15, 10, 5, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox.show {
  display: flex;
  animation: lbIn 0.22s ease;
}
@keyframes lbIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox img {
  max-width: 94vw;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  animation: lbZoom 0.22s ease;
}
@keyframes lbZoom {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox .lb-caption {
  color: #f5e7d0;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
}
.lightbox .lb-close {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 20px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
}
.lightbox .lb-close:active {
  background: rgba(255, 255, 255, 0.3);
}

/* 后台管理与报名弹层，附着在参考页的移动优先视觉体系上 */
.admin-access { display:block; margin:7px auto -7px; padding:2px 12px; border:0; background:transparent; color:#9aa1ad; font-size:10px; letter-spacing:1px; cursor:pointer; }
.overlay { position:fixed; inset:0; z-index:1000; background:rgba(15,17,21,.62); display:grid; place-items:center; padding:18px; }
.overlay[hidden] { display:none; }
.admin-shell { background:#f4f5f9; width:min(1120px,100%); height:min(760px,100%); display:grid; grid-template-columns:205px minmax(0,1fr); border-radius:18px; overflow:hidden; box-shadow:0 24px 80px rgba(0,0,0,.28); }
.admin-sidebar { background:#252b35; color:#f8f9fb; padding:23px 14px; display:flex; flex-direction:column; }
.admin-sidebar .brand { color:white; display:flex; align-items:center; gap:8px; font-size:11px; font-weight:700; letter-spacing:1px; }
.brand-mark { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; color:white; background:var(--primary); font-size:16px; }
.sidebar-label { color:#929aa7; margin:42px 9px 12px; font-size:10px; letter-spacing:1px; }
.nav-item,.text-button { display:block; width:100%; padding:11px 10px; border:0; border-radius:9px; text-align:left; color:#c6cbd3; background:transparent; font-size:12px; cursor:pointer; }
.nav-item.active { color:white; background:#ffffff20; }
.sidebar-bottom { margin-top:auto; }
.admin-main { min-width:0; overflow:auto; padding:0 30px 27px; }
.admin-top { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; padding:13px 20px; margin:0 -30px 19px; border:1px solid #e6d8d0; border-top:0; border-radius:0 0 18px 18px; background:rgba(255,250,246,.97); box-shadow:0 8px 20px rgba(75,48,49,.08); }
.admin-top .eyebrow { color:var(--primary); font-size:9px; letter-spacing:1.5px; margin-bottom:3px; }
.admin-top h2 { font-size:22px; margin:0; }
.icon-button { width:34px; height:34px; border:1px solid var(--border); border-radius:50%; background:white; cursor:pointer; }
.login-card { width:min(360px,100%); margin:75px auto; }
.login-card h3 { font-size:23px; margin:6px 0; }
.login-hint { color:var(--text-2); font-size:11px; line-height:1.7; }
.login-card input,.field input,.field textarea,.field select { display:block; width:100%; border:1px solid #e5e7eb; border-radius:9px; padding:10px 12px; margin:8px 0 15px; outline:none; background:white; font:inherit; font-size:12px; }
.field textarea { min-height:68px; resize:vertical; }
.field label { display:block; font-size:11px; font-weight:600; }
.login-card .button { width:100%; padding:13px; border:0; border-radius:999px; color:white; background:var(--primary-grad); }
.stats-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.admin-main .stat-card { margin:0; padding:15px; border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow-sm); display:block; }
.admin-main .stat-card strong { display:block; font-size:25px; margin-top:5px; }
.panel { background:white; padding:17px; margin-top:14px; border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow-sm); }
.panel h3 { font-size:14px; margin:0 0 13px; }
.admin-actions { display:flex; flex-wrap:wrap; gap:9px; }
.small-btn { border:1px solid var(--border); border-radius:9px; padding:9px 12px; background:white; font-size:11px; cursor:pointer; }
.small-btn.primary { background:var(--primary-grad); color:white; border-color:transparent; }
.prize-edit { display:grid; grid-template-columns:minmax(100px,.7fr) minmax(180px,1.5fr) 65px minmax(100px,.8fr) 48px; align-items:center; gap:8px; padding:8px 0; border-top:1px solid var(--border); }
.prize-edit input,.prize-edit textarea { min-width:0; width:100%; margin:0; padding:8px; border:1px solid var(--border); border-radius:7px; font-size:10px; }
.prize-edit textarea { min-height:55px; resize:vertical; }
.prize-edit input[type=file] { font-size:9px; }
.remove-prize { border:0; background:transparent; color:var(--primary); font-size:11px; cursor:pointer; }
.table-wrap { overflow:auto; }
.qr-box { width:150px; height:150px; padding:8px; flex:0 0 150px; background:white; border:1px solid var(--border); }
.qr-box svg { display:block; width:100%; height:100%; }
.activity-current { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; }
.activity-current h3 { margin:5px 0 3px !important; font-size:18px !important; }
.activity-current p { margin:0; color:#75666c; font-size:12px; }
.activity-kicker { color:#8a6c52; font-size:11px; letter-spacing:.08em; }
.admin-context { margin:4px 0 0; color:#8a6c52; font-size:12px; font-weight:600; }
.new-activity-form { display:flex; gap:9px; flex-wrap:wrap; }
.new-activity-form input,.new-activity-form select { flex:1 1 220px; min-width:0; padding:10px 12px; border:1px solid var(--border); border-radius:9px; color:#382832; background:#fff; }
.activity-create-backdrop { position:fixed; inset:0; z-index:1200; display:grid; place-items:center; padding:18px; background:rgba(20,17,20,.62); }
.activity-create-backdrop[hidden] { display:none; }
.activity-create-dialog { position:relative; width:min(100%,480px); padding:24px; border:1px solid #e6d8d0; border-radius:18px; background:#fffaf6; box-shadow:0 22px 70px rgba(20,17,20,.3); color:#382832; }
.activity-create-dialog h3 { margin:0 0 8px; font-size:20px; }
.activity-create-dialog .login-hint { margin:0 0 18px; line-height:1.6; }
.activity-create-close { position:absolute; top:12px; right:14px; width:32px; height:32px; border:0; border-radius:50%; color:#68575f; background:#f2e9e4; font-size:24px; cursor:pointer; }
.activity-create-form { display:grid; gap:14px; }
.activity-create-form label { display:grid; gap:7px; color:#5d4951; font-size:12px; font-weight:600; }
.activity-create-form input,.activity-create-form select { width:100%; min-width:0; padding:11px 12px; border:1px solid #d9c9c0; border-radius:9px; color:#382832; background:white; font-size:14px; }
.activity-create-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:4px; }
.activity-list { display:grid; gap:12px; margin-top:14px; }
.activity-card { display:flex; gap:16px; align-items:center; padding:14px; border:1px solid var(--border); border-radius:14px; background:#fffaf6; box-shadow:var(--shadow-sm); }
.activity-card.is-current { border-color:#b78b4a; box-shadow:0 0 0 2px rgba(183,139,74,.14),var(--shadow-sm); }
.activity-card .activity-qr { width:112px; height:112px; flex:0 0 112px; }
.activity-card-info { min-width:0; }
.activity-card-title { display:flex; gap:8px; align-items:center; color:#382832; font-weight:700; }
.selected-badge { padding:3px 7px; border-radius:999px; color:#755325; background:#f2e1ba; font-size:10px; font-weight:600; }
.activity-url { display:block; margin-top:5px; overflow-wrap:anywhere; color:#8b6044; font-size:12px; }
.activity-card-meta { margin-top:6px; color:#75666c; font-size:11px; }
.activity-card-actions { display:flex; gap:7px; flex-wrap:wrap; margin-top:10px; }
.draw-panel-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.draw-panel-heading h3 { margin-bottom:5px !important; }
.draw-panel-heading .login-hint { margin:0 0 12px; }
.draw-action-row { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; margin:12px 0 18px; }
.draw-action-row > #drawBtn { min-height:39px; }
.draw-quantity { display:grid; gap:5px; color:#5d4951; font-size:11px; }
.draw-quantity input { width:108px; padding:9px 10px; border:1px solid var(--border); border-radius:9px; color:#382832; background:#fff; font-size:14px; }
.draw-remaining { padding:10px 0; color:#75666c; font-size:11px; }
.guaranteed-section { padding-top:14px; border-top:1px solid var(--border); }
.guaranteed-heading { display:flex; gap:9px; align-items:baseline; flex-wrap:wrap; margin-bottom:9px; color:#382832; font-size:12px; }
.guaranteed-heading span { color:#75666c; font-size:11px; }
.guaranteed-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:7px; max-height:230px; overflow:auto; padding:2px; }
.guaranteed-option { display:flex; align-items:center; gap:8px; min-width:0; padding:9px 10px; border:1px solid var(--border); border-radius:9px; color:#382832; background:#fff; cursor:pointer; }
.guaranteed-option input { accent-color:#a5773e; }
.guaranteed-option span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.guaranteed-option small { margin-left:auto; color:#75666c; font-size:10px; white-space:nowrap; }
.guaranteed-tag { display:inline-block; margin-left:6px; padding:2px 5px; border-radius:5px; color:#805d2b; background:#f2e1ba; font-size:9px; white-space:nowrap; }
@media(max-width:520px) { .activity-card { align-items:flex-start; gap:10px; padding:10px; } .activity-card .activity-qr { width:84px; height:84px; flex-basis:84px; padding:4px; } .activity-card-actions .small-btn { padding:8px; } }
table { width:100%; border-collapse:collapse; text-align:left; font-size:11px; }
th,td { padding:11px 9px; border-bottom:1px solid var(--border); white-space:nowrap; }
th { color:var(--text-3); font-weight:500; }
.success-message { margin-top:12px; padding:12px; color:#16834a; background:#edfaf2; border-radius:9px; font-size:12px; }
.toast:not(.show) { opacity:0; pointer-events:none; }
.toast.show { opacity:1; pointer-events:auto; }
.toast { position:fixed; left:50%; bottom:35px; z-index:2000; transform:translateX(-50%); width:max-content; max-width:90vw; padding:12px 20px; border-radius:999px; color:white; background:rgba(20,22,27,.9); box-shadow:var(--shadow-md); transition:opacity .2s; font-size:13px; }
.toast-mask { z-index:900; overflow:auto; }
.toast-mask .form-page { width:min(448px,100%); max-height:100%; overflow:auto; padding:20px 0; }
.toast-mask .back-link { background:none; border:0; cursor:pointer; }
@media(max-width:650px) {
  .admin-shell { width:100%; height:100%; border-radius:0; grid-template-columns:62px minmax(0,1fr); }
  .admin-sidebar { padding:20px 6px; }
  .admin-sidebar .brand { justify-content:center; font-size:0; }
  .sidebar-label { font-size:0; margin:30px 0 8px; }
  .nav-item { padding:11px 2px; font-size:0; text-align:center; }
  .nav-item:first-letter { font-size:15px; }
  .sidebar-bottom .text-button { font-size:0; text-align:center; }
  .admin-main { padding:0 13px 20px; }
  .admin-top { padding:12px 13px; margin-right:-13px; margin-left:-13px; border-radius:0 0 15px 15px; }
  .admin-top h2 { font-size:18px; }
  .stats-grid { grid-template-columns:1fr; gap:7px; }
  .admin-main .stat-card { padding:10px 13px; }
  .prize-edit { grid-template-columns:minmax(65px,.7fr) minmax(90px,1.3fr) 45px 35px; gap:5px; }
  .prize-edit textarea { grid-column:1/3; grid-row:2; }
  .prize-edit input[type=file] { grid-column:3/4; grid-row:2; }
  .remove-prize { grid-column:4; grid-row:1/3; }
  .toast-mask { padding:15px; }
}


/* ---------- 11. DONE CLUB · 深酒红与暖金 ---------- */
:root {
  --primary: #9b6a65;
  --primary-deep: #75434a;
  --primary-grad: linear-gradient(135deg, #8b4e53 0%, #5a303d 100%);
  --bg: #382832;
  --card: rgba(80, 55, 65, .94);
  --text: #fff8f3;
  --text-2: #e2cfcc;
  --text-3: #c4acab;
  --border: rgba(239, 219, 205, .2);
  --gold: #d6b66f;
  --gold-light: #f0d797;
  --red: #a85b61;
  --green: #9eaa81;
}
body { color: var(--text); background: radial-gradient(ellipse at 50% 0%, rgba(141, 82, 76, .42), transparent 46%), radial-gradient(ellipse at 10% 55%, rgba(156, 111, 83, .22), transparent 38%), radial-gradient(ellipse at 90% 80%, rgba(102, 61, 73, .35), transparent 42%), linear-gradient(155deg, #392832, #553b43 48%, #382832); }
.card, .list-card, .admin-card, .modal-card, .prize-card, .rule-card { background-color: var(--card); border-color: var(--border); color: var(--text); box-shadow: 0 16px 40px rgba(20, 10, 16, .24); }
.hero, .hero-card, .banner, .campaign-hero { background: linear-gradient(135deg, rgba(76, 43, 55, .97), rgba(124, 75, 70, .88) 56%, rgba(72, 48, 60, .96)); border-color: rgba(214, 182, 111, .43); }
.hero h1, .campaign-title, h1, h2, .section-title { color: var(--text); }
.hero p, .subtitle, .muted, .hint, .prize-detail, .rule-list li { color: var(--text-2); }
.tag, .badge, .prize-rank, .section-kicker { color: var(--gold-light); border-color: rgba(214, 182, 111, .5); background: rgba(214, 182, 111, .12); }
.notice, .highlight-notice, .notice-box { color: #fff3e9; background: linear-gradient(135deg, rgba(124, 69, 69, .56), rgba(91, 57, 67, .72)); border-color: rgba(214, 182, 111, .45); }
.btn-primary, button.primary, .submit-btn { color: #fffaf4; background: linear-gradient(135deg, #9a5758, #693b49); border: 1px solid rgba(240, 215, 151, .6); box-shadow: 0 8px 20px rgba(32, 15, 23, .25); }
.btn-primary:hover, button.primary:hover, .submit-btn:hover { filter: brightness(1.12); }
input, textarea, select, .form-control { color: var(--text); background: rgba(42, 29, 38, .72); border-color: rgba(232, 211, 198, .28); }
input::placeholder, textarea::placeholder { color: #bda9a8; }
input:focus, textarea:focus, select:focus, .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 182, 111, .14); }
.rule-list li::marker { color: var(--gold); }
.prize-card { border-color: rgba(214, 182, 111, .28); }
.prize-card:first-child, .prize-card:nth-child(2), .prize-card:nth-child(3) { border-color: rgba(214, 182, 111, .55); }
.footer-bar, footer { color: var(--text-2); border-color: var(--border); }
.admin-sidebar, .admin-header, .list-head { background: rgba(48, 33, 43, .96); border-color: var(--border); color: var(--text); }
.admin-nav a, .admin-nav button, .list-card, .list-head { color: var(--text-2); }
.admin-nav a.active, .admin-nav button.active { color: var(--gold-light); background: rgba(214, 182, 111, .12); }
.toast, .success-message { color: #fff8f3; background: #60434a; border-color: rgba(214, 182, 111, .4); }/* Password field visibility in the admin sign-in panel */
.login-card input[type="password"] {
  color: #382832;
  -webkit-text-fill-color: #382832;
  caret-color: #75434a;
  background: #fff8f3;
  border-color: #c9b7b0;
}
.login-card input[type="password"]::placeholder { color: #857574; -webkit-text-fill-color: #857574; }
.login-card input[type="password"]:focus { border-color: #9b6a65; box-shadow: 0 0 0 3px rgba(155, 106, 101, .16); }
/* Admin readability: dark ink on warm light work surfaces */
.admin-shell { background: #f7f0eb; }
.admin-main { color: #382832; background: #f7f0eb; }
.admin-main h2, .admin-main h3, .admin-main .panel h3 { color: #382832; }
.admin-main .panel, .admin-main .stat-card { color: #382832; background: #fffaf6; border-color: #e6d8d0; }
.admin-main .panel p, .admin-main .panel span, .admin-main .stat-card span,
.admin-main .field label, .admin-main .login-hint, .admin-main .empty,
.admin-main th, .admin-main td { color: #55464b; }
.admin-main .eyebrow { color: #86524e; }
.admin-main input, .admin-main textarea, .admin-main select,
.admin-main .prize-edit input, .admin-main .prize-edit textarea {
  color: #382832;
  -webkit-text-fill-color: #382832;
  background: #fff;
  border-color: #d8c9c2;
}
.admin-main input::placeholder, .admin-main textarea::placeholder { color: #897b7b; -webkit-text-fill-color: #897b7b; }
.admin-main input:focus, .admin-main textarea:focus, .admin-main select:focus { border-color: #9b6a65; }
.prize-edit { grid-template-columns: minmax(100px,.7fr) minmax(180px,1.5fr) 65px minmax(90px,.7fr) 100px; }
.prize-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.copy-prize, .remove-prize { padding: 5px 7px; border: 1px solid #dccbc3; border-radius: 7px; background: #fffaf6; color: #70434a; font-size: 10px; cursor: pointer; }
.copy-prize:hover, .remove-prize:hover { background: #f2e5dc; }
@media(max-width:650px) {
  .prize-edit { grid-template-columns: minmax(0,1fr) 58px auto; gap: 6px; }
  .prize-edit [data-f="name"] { grid-column: 1; grid-row: 1; }
  .prize-edit [data-f="count"] { grid-column: 2; grid-row: 1; }
  .prize-edit .prize-actions { grid-column: 3; grid-row: 1; }
  .prize-edit [data-f="detail"] { grid-column: 1/4; grid-row: 2; }
  .prize-edit input[type="file"] { grid-column: 1/4; grid-row: 3; }
}
/* Logo mark and restrained entrance / scroll animations */
.hero .d-logo { right: -38px; top: 64px; z-index: 0; width: 190px; opacity: .22; filter: none; animation: none; }
.hero .d-logo img { display: block; width: 100%; height: auto; }
.hero .d-card { --card-angle: 8deg; right: 4px; top: 19px; z-index: 1; font-size: 48px; filter: drop-shadow(0 6px 10px rgba(20, 10, 16, .35)); animation: cardFloat 4s ease-in-out infinite; }
.hero .d-card.b2 { --card-angle: -13deg; right: 57px; top: 60px; font-size: 30px; animation-delay: -2s; }
.hero .tag, .hero h1, .hero > p, .hero .meta { position: relative; z-index: 2; }
.hero .tag { animation: enterFromTop .65s .04s both; }
.hero h1 { animation: enterFromLeft .72s .14s both; }
.hero #heroSubtitle { animation: enterFromRight .66s .28s both; }
.hero .meta-item:first-child { animation: enterFromLeft .68s .38s both; }
.hero .meta-item:last-child { animation: enterFromRight .68s .5s both; }
@keyframes enterFromTop { from { opacity: 0; transform: translateY(-16px) } to { opacity: 1; transform: translateY(0) } }
@keyframes enterFromLeft { from { opacity: 0; transform: translateX(-28px) } to { opacity: 1; transform: translateX(0) } }
@keyframes enterFromRight { from { opacity: 0; transform: translateX(28px) } to { opacity: 1; transform: translateX(0) } }
@keyframes cardFloat { 0%, 100% { transform: translateY(0) rotate(var(--card-angle)) } 50% { transform: translateY(-9px) rotate(calc(var(--card-angle) + 2deg)) } }
.prize-card.reveal-card { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.75,.25,1), box-shadow .2s ease; }
.prize-card.reveal-card.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.prize-card.reveal-card.is-visible:nth-child(2) { transition-delay: .07s; }
.prize-card.reveal-card.is-visible:nth-child(3) { transition-delay: .14s; }
.prize-card.reveal-card.is-visible:nth-child(4) { transition-delay: .21s; }
.prize-card.reveal-card.is-visible:nth-child(5) { transition-delay: .28s; }
.prize-card.reveal-card.is-visible:active { transform: scale(.985); }
@media (prefers-reduced-motion: reduce) {
  .hero .d-logo, .hero .d-card, .hero .tag, .hero h1, .hero #heroSubtitle, .hero .meta-item,
  .prize-card.reveal-card, .prize-card.reveal-card.is-visible { animation: none !important; transition: none !important; opacity: 1; transform: none; }
  .hero .d-logo { opacity: .22 !important; }
}
.notice b, .highlight-notice .hl { color: #ffe2a1; }
.hl-sub { color: #f0d8cf; border-color: rgba(240, 215, 151, .35); }
.prize-items li { color: #f5e9e5; }
.prize-items li span { color: #f5e9e5; }
.rule-item, .rule-item b, .rule-item .contact { color: #f3e5e2; }
.rule-item .no { color: #f0d797; background: rgba(214, 182, 111, .14); }
.list-head, .row, .col-phone, .col-name .n { color: #f3e5e2; }
.empty { color: #d9c5c4; }
.prize-card .detail, .prize-card .detail em { color: #f5e9e5; }
.prize-card .badge.gray { background: rgba(255, 248, 243, .12); color: #f5e9e5; }
.prize-items li { align-items: center; }
.prize-items .prize-thumb { width: 48px; height: 48px; aspect-ratio: 1; object-fit: cover; flex: 0 0 48px; margin: 0 2px 0 0; border-radius: 7px; border: 1px solid rgba(240, 215, 151, .35); }
.prize-item-list { min-width: 0; display: grid; gap: 7px; }
.prize-item-edit { display: grid; grid-template-columns: minmax(120px,1fr) minmax(120px,.9fr) 58px 48px; gap: 6px; align-items: center; padding: 6px; background: #fffaf6; border: 1px solid #e5d7cf; border-radius: 8px; }
.prize-item-edit input { min-width: 0; }
.prize-item-edit .reward-image-preview { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; grid-column: 2; grid-row: 2; }
.copy-reward, .remove-reward { padding: 5px 7px; border: 1px solid #dccbc3; border-radius: 7px; background: #fff; color: #70434a; font-size: 10px; cursor: pointer; }
.small-btn.danger { color: #8c3832; background: #fff3f1; border-color: #e6bdb8; }
.small-btn.danger:hover:not(:disabled) { color: #fff; background: #a9443b; border-color: #a9443b; }
.small-btn.danger:disabled { opacity: .52; cursor: not-allowed; }
.add-reward { justify-self: start; }
@media(max-width:650px) {
  .prize-item-edit { grid-template-columns: minmax(0,1fr) minmax(70px,auto) minmax(42px,auto); }
  .prize-item-edit [data-f="reward"] { grid-column: 1/4; grid-row: 1; }
  .prize-item-edit [data-f="reward-image"] { grid-column: 1/3; grid-row: 2; }
  .prize-item-edit .reward-image-preview { grid-column: 1; grid-row: 3; }
  .prize-item-edit .copy-reward { grid-column: 2; grid-row: 3; }
  .prize-item-edit .remove-reward { grid-column: 3; grid-row: 3; }
}
.stat-card .num { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #f0d797; color: #f0d797; }
.stat-card .num small, .stat-card .label, .stat-card .cutoff { -webkit-text-fill-color: #fff8f3; color: #fff8f3; }
.stat-card { animation: statCardArrive .7s .16s both; }
.stat-card .num #signupCount { display: inline-block; }
.stat-card .num #signupCount.count-updated { animation: countPulse .58s ease-out; }
.stat-card .cutoff { position: relative; display: inline-block; isolation: isolate; }
.stat-card .cutoff::after { content: ""; position: absolute; inset: -4px -9px; z-index: -1; border-radius: 7px; background: rgba(210,164,83,.16); box-shadow: 0 0 10px rgba(210,164,83,.24); animation: cutoffBreath 3.8s ease-in-out 1s infinite; pointer-events: none; }
@keyframes statCardArrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes countPulse { 0% { transform: scale(1); text-shadow: none; } 45% { transform: scale(1.18); text-shadow: 0 0 16px rgba(240,215,151,.72); } 100% { transform: scale(1); text-shadow: none; } }
@keyframes cutoffBreath { 0%, 100% { opacity: .48; background: rgba(172,119,48,.10); box-shadow: 0 0 8px rgba(196,144,65,.18); } 50% { opacity: 1; background: rgba(210,164,83,.23); box-shadow: 0 0 20px rgba(210,164,83,.42); } }
@media (prefers-reduced-motion: reduce) { .stat-card { animation: none; } .stat-card .num #signupCount.count-updated, .stat-card .cutoff::after { animation: none; } }
.section-title .count { color: #e7d4d1; background: rgba(255, 248, 243, .08); }
/* Signup form: readable text and clear space for leading icons */
#signupOverlay .form-card { color: #fff8f3; background: rgba(80, 55, 65, .97); border-color: rgba(239, 219, 205, .24); }
#signupOverlay .form-card .field label { color: #fff8f3; }
#signupOverlay .form-card .field label .req { color: #f3b9a8; }
#signupOverlay .form-card .field input {
  padding-left: 58px;
  font-size: 16px;
  color: #382832;
  -webkit-text-fill-color: #382832;
  caret-color: #75434a;
  background: #fffaf6;
  border-color: #d8c9c2;
}
#signupOverlay .form-card .field input::placeholder { color: #76696c; opacity: 1; -webkit-text-fill-color: #76696c; }
#signupOverlay .form-card .field input:focus { background: #fff; border-color: #b47b70; box-shadow: 0 0 0 3px rgba(214, 182, 111, .2); }
#signupOverlay .form-card .field .input-wrap .pre { left: 16px; width: 24px; text-align: center; }
#signupOverlay .form-card .rules { color: #eadbd8; background: rgba(48, 33, 43, .9); border-color: rgba(239, 219, 205, .28); }
#signupOverlay .form-card .rules strong { color: #fff8f3; }
#signupOverlay .form-card .rules .r b { color: #f0d797; background: rgba(214, 182, 111, .16); }
#signupOverlay .form-card .field input.error { color: #382832; -webkit-text-fill-color: #382832; background: #fff5f5; }
.hero .d-gift { width: 90px; height: 90px; color: rgba(240, 215, 151, .62); opacity: .32; filter: drop-shadow(0 5px 12px rgba(30, 15, 20, .35)); }
.hero .d-gift svg { display: block; width: 100%; height: 100%; }
.prize-card .icon { background: linear-gradient(145deg, rgba(214, 182, 111, .2), rgba(95, 62, 70, .82)); box-shadow: inset 0 0 0 1px rgba(240, 215, 151, .46); }
.prize-card .icon svg { display: block; width: 34px; height: 34px; }
body.manager-view { overflow: hidden; }
body.manager-view #adminOverlay { position: fixed; inset: 0; z-index: 1000; display: block; padding: 0; background: #f7f0eb; }
body.manager-view #adminOverlay[hidden] { display: none; }
body.manager-view .admin-shell { width: 100%; height: 100%; min-height: 100%; border-radius: 0; }
