/* 活动页样式（仅亮色）——移植自新版设计稿（design/YYLX周周抽-新版设计稿.html），
   已剔除设计稿遗留的"十连抽"死样式（顶栏/抽奖面板/十连结果弹窗/滚动播报等），
   并新增「开奖结果」区（中奖名单 + 可验证开奖条）与登录态相关的小组件。
   注意：本文件只服务 index.html；/configs 编辑页仍用 styles.css（深/浅双主题）。 */

:root {
  --blue-950: #0a2540;
  --blue-800: #3431a7;
  --blue-700: #635bff;
  --blue-600: #635bff;
  --blue-500: #00a5f0;
  --blue-100: #e7e5ff;
  --blue-50: #f4f3ff;
  --ink: #0a2540;
  --muted: #697386;
  --line: #e3e8ee;
  --white: #ffffff;
  --gold: #f3a712;
  --coral: #ff6b5f;
  --green: #0f9f78;
  --shadow: 0 24px 70px rgba(50, 50, 93, 0.10), 0 8px 24px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f6f9fc;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid rgba(40, 116, 237, 0.28); outline-offset: 3px; }

.page { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 70px; }

/* ---------- 顶部导航 ---------- */
.top-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.top-nav-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}
.nav-brand img { width: 28px; height: 28px; display: block; }
.nav-home {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-700);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .15s;
}
.nav-home:hover { background: var(--blue-800); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 520px;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 50% 0 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(99, 91, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 91, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, #000, transparent);
}
.hero-copy { position: relative; z-index: 2; flex: 0 1 50%; min-width: 0; height: 100%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
h1 { margin: 0 0 18px; max-width: 540px; color: var(--blue-950); font-size: clamp(40px, 5vw, 66px); line-height: 1.08; font-weight: 850; }
h1 span { color: var(--blue-600); background: linear-gradient(90deg, #635bff, #0073e6); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { max-width: 480px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-action { min-height: 48px; padding: 0 20px; border-radius: 6px; font-size: 14px; font-weight: 800; transition: color .2s ease, background .2s ease, border-color .2s ease, filter .2s ease, box-shadow .2s ease; }
.hero-action.primary { border: 0; color: #fff; background: linear-gradient(90deg, #635bff, #4f6df5); box-shadow: 0 10px 22px rgba(99, 91, 255, .18); min-width: 200px; }
.hero-action.primary:hover { filter: brightness(.96); }
.hero-action.secondary { border: 1px solid #cfd6e2; color: var(--blue-950); background: rgba(255,255,255,.82); min-width: 200px; }
.hero-action.secondary:hover { color: var(--blue-700); border-color: #b9b5ff; background: #fff; }

.draw-stage { position: relative; z-index: 0; flex: 1 1 50%; min-width: 0; height: 100%; overflow: hidden; background: transparent; }
.draw-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f6f9fc 0%, rgba(246, 249, 252, .92) 8%, transparent 30%),
    linear-gradient(270deg, #f6f9fc 0%, rgba(246, 249, 252, .72) 4%, transparent 14%),
    linear-gradient(0deg, #f6f9fc 0%, rgba(246, 249, 252, .72) 8%, transparent 25%);
}
.machine-img { position: relative; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.brand-intro {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 24px;
  width: min(350px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 46px rgba(10, 37, 64, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand-intro-kicker { color: var(--blue-700); font-size: 10px; line-height: 1; font-weight: 850; letter-spacing: .12em; }
.brand-intro h2 { margin: 7px 0 0; color: var(--ink); font-size: 20px; line-height: 1.3; }
.brand-intro p { margin: 8px 0 0; color: #58667b; font-size: 12px; line-height: 1.65; }
.brand-intro-value {
  margin-top: 14px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d9d6ff;
  border-radius: 8px;
  color: #5347d6;
  background: linear-gradient(100deg, #f4f3ff, #eef8ff);
  font-size: 11px;
  font-weight: 750;
}
.brand-intro-value strong { flex: 0 0 auto; color: var(--blue-700); font-size: 18px; line-height: 1; }
.brand-intro-meta { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #7a889c; font-size: 10px; font-weight: 700; }
.brand-intro-meta a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-intro-meta a:hover { color: var(--blue-700); }

/* ---------- 倒计时（奖池区右上） ---------- */
.countdown { display: flex; align-items: center; gap: 7px; }
.time-block { min-width: 58px; padding: 9px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-align: center; box-shadow: 0 4px 12px rgba(50, 50, 93, 0.05); }
.time-block strong { display: block; color: var(--blue-950); font-size: 21px; line-height: 1; font-variant-numeric: tabular-nums; }
.time-block span { display: block; margin-top: 5px; color: #8a98ae; font-size: 9px; }
.time-sep { color: #9babc1; font-weight: 800; transform: translateY(-5px); }

/* 期数状态标签（选中往期时替代倒计时） */
.status-tag { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.status-tag.pending { color: #9a6200; background: #fff1c7; border: 1px solid #f1dfaa; }
.status-tag.drawn { color: #0b7d5e; background: #d9f5ec; border: 1px solid #b5ead9; }
.status-tag.ended { color: #697386; background: #f0f2f5; border: 1px solid var(--line); }

/* ---------- 区块标题 ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-kicker { color: var(--blue-600); font-size: 12px; font-weight: 850; }
h2 { margin: 5px 0 0; color: var(--blue-950); font-size: 30px; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; text-align: right; }

/* ---------- 本期限定奖池 ---------- */
#prizes { margin-top: 50px; }
.prize-title-row { margin-top: 5px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prize-title-row h2 { margin: 0; }
.period-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d9d6ff;
  border-radius: 999px;
  color: #5347d6;
  background: #f4f3ff;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.prize-countdown { flex: 0 0 auto; }
.prize-countdown .countdown { gap: 4px; }
.prize-countdown .time-block { min-width: 46px; padding: 7px 6px; border-radius: 6px; }
.prize-countdown .time-block strong { font-size: 17px; }
.prize-countdown .time-block span { margin-top: 4px; font-size: 8px; }
.prize-countdown .time-sep { font-size: 12px; transform: translateY(-4px); }

.prize-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* 档位不满 3 个时按实际数量铺满整行（如只设一、二等奖 → 两张卡各占一半） */
.prize-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.prize-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prize-card { position: relative; min-height: 230px; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: transform .25s, box-shadow .25s; }
.prize-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(50, 50, 93, .08); }
.prize-card.featured { color: var(--ink); border-color: #d9d6ff; background: linear-gradient(135deg, #f7f5ff, #eef8ff); }
.prize-tier { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; color: var(--blue-800); background: var(--blue-50); font-size: 14px; line-height: 1; font-weight: 850; }
.featured .prize-tier { color: #5347d6; background: #e7e5ff; }
.prize-price { position: absolute; z-index: 2; top: 28px; right: 24px; color: #64748b; font-size: 15px; line-height: 1; font-weight: 750; font-style: italic; }
.prize-card h3 { position: relative; z-index: 2; max-width: 52%; margin: 88px 0 0; font-size: 19px; }
.prize-card p { position: relative; z-index: 2; max-width: 54%; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.prize-visual { position: absolute; z-index: 1; right: -22px; bottom: -20px; width: 65%; height: 78%; overflow: hidden; border-radius: 28px 0 0 0; pointer-events: none; }
.prize-visual::before { content: ""; position: absolute; inset: 0; background: var(--visual-bg, #f1efff); }
.prize-visual::after { content: ""; position: absolute; z-index: 1; left: 50%; bottom: 6px; width: 70%; height: 14px; border-radius: 50%; background: var(--visual-shadow, rgba(99, 91, 255, .12)); transform: translateX(-50%); filter: blur(1px); }
.prize-visual.t1 { --visual-bg: #f1efff; --visual-shadow: rgba(99, 91, 255, .12); }
.prize-visual.t2 { --visual-bg: #eaf7ff; --visual-shadow: rgba(0, 165, 240, .13); }
.prize-visual.t3 { --visual-bg: #fff1f1; --visual-shadow: rgba(226, 35, 26, .12); }
.prize-real-art { position: absolute; z-index: 2; left: 50%; top: 50%; width: 60%; height: 60%; object-fit: contain; transform: translate(-50%, -50%); }
.featured p { color: var(--muted); }
.empty-note { grid-column: 1 / -1; padding: 34px 20px; color: var(--muted); text-align: center; border: 1px dashed #cfd6e2; border-radius: 8px; background: #fff; font-size: 14px; }

/* ---------- 参与方式 ---------- */
.participation-section { margin-top: 58px; }
.info-band { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.action-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(50, 50, 93, .045);
}
.action-card.invite { border-style: dashed; border-color: #d9d6ff; background: linear-gradient(135deg, #f7f5ff, #eef8ff); }
.action-card h2 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.35; font-weight: 800; }
.threshold-inline { color: var(--blue-700); font-weight: 850; }
.action-card p { max-width: 560px; margin: 12px 0 0; color: #58667b; font-size: 15px; line-height: 1.7; }
.register-btn, .copy-btn { width: 100%; min-height: 48px; border-radius: 6px; font-size: 14px; font-weight: 800; transition: color .2s ease, background .2s ease, border-color .2s ease, filter .2s ease, box-shadow .2s ease; }
.register-btn { margin-top: auto; border: 0; color: #fff; background: linear-gradient(90deg, #635bff, #4f6df5); box-shadow: 0 10px 22px rgba(99, 91, 255, .18); }
.register-btn:hover { filter: brightness(.96); }
.invite-code { min-height: 48px; margin: auto 0 10px; padding: 0 15px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #f8fafc; color: var(--blue-950); font-size: 14px; font-weight: 850; letter-spacing: 2px; text-align: center; }
.invite-code.placeholder { color: var(--muted); font-weight: 650; letter-spacing: 0; }
.copy-btn { border: 1px solid #b9b5ff; color: var(--blue-700); background: #fff; }
.copy-btn:hover { color: #fff; border-color: var(--blue-700); background: var(--blue-700); }

/* ---------- 积分排行榜 ---------- */
.participants-section { margin-top: 58px; }
.participants-section .section-head { align-items: center; }
.period-select-wrap { position: relative; flex: 0 0 auto; }
.period-select {
  min-width: 286px;
  height: 44px;
  padding: 0 42px 0 14px;
  border: 1px solid #cfd6e2;
  border-radius: 6px;
  color: var(--blue-950);
  background: #fff;
  font-size: 13px;
  font-weight: 750;
  appearance: none;
  cursor: pointer;
}
.period-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #697386;
  border-bottom: 2px solid #697386;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.probability-notice {
  min-height: 42px;
  margin-bottom: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #f1dfaa;
  border-radius: 8px;
  color: #766331;
  background: #fff9e8;
  font-size: 12px;
  line-height: 1.6;
}
.probability-notice::before { content: "i"; flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-500); font-size: 11px; font-weight: 850; font-family: Georgia, serif; }
.probability-notice strong { color: #765700; }

.participants-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(50, 50, 93, .045); }
.current-user-summary {
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d9d6ff;
  background: linear-gradient(90deg, #f7f5ff, #f3f9ff);
}
.current-user-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }
.current-user-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-700); font-size: 13px; font-weight: 850; }
.current-user-icon.anon { color: var(--blue-700); background: var(--blue-100); }
.current-user-identity strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.current-user-identity span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.current-user-stats { display: flex; align-items: center; gap: 26px; }
.current-stat { text-align: right; }
.current-stat span { display: block; color: var(--muted); font-size: 10px; }
.current-stat strong { display: block; margin-top: 3px; color: var(--blue-950); font-size: 16px; font-variant-numeric: tabular-nums; }
.btn-mini { flex: 0 0 auto; min-height: 36px; padding: 0 16px; border: 0; border-radius: 6px; color: #fff; background: linear-gradient(90deg, #635bff, #4f6df5); font-size: 12px; font-weight: 800; box-shadow: 0 6px 14px rgba(99, 91, 255, .16); }
.btn-mini:hover { filter: brightness(.96); }

.participant-table-scroll { overflow-x: auto; }
.participant-table { width: 100%; min-width: 520px; border-collapse: collapse; table-layout: fixed; }
.participant-table th, .participant-table td { height: 52px; padding: 0 14px; border-bottom: 1px solid #edf0f4; text-align: right; white-space: nowrap; }
.participant-table th { height: 46px; color: #7a889c; background: #f8fafc; font-size: 11px; font-weight: 800; }
.participant-table td { color: #445269; font-size: 13px; font-variant-numeric: tabular-nums; }
.participant-table th:first-child, .participant-table td:first-child { width: 70px; text-align: center; }
.participant-table th:nth-child(2), .participant-table td:nth-child(2) { text-align: left; }
.participant-table th:nth-child(3), .participant-table td:nth-child(3) { width: 180px; color: var(--blue-950); font-weight: 850; }
.participant-table th:last-child, .participant-table td:last-child { width: 160px; }
.participant-table tbody tr:last-child td { border-bottom: 0; }
.participant-table tbody tr.current-user-row td { background: #f4f3ff; }
.board-empty { text-align: center !important; color: var(--muted) !important; }
.rank-number { color: #8996aa; font-size: 12px; font-weight: 800; }
.rank-number.top-rank { color: #b97900; }
.user-email { color: var(--blue-950); font-weight: 750; }
.you-badge { margin-left: 7px; padding: 3px 6px; border-radius: 4px; color: #5347d6; background: #e7e5ff; font-size: 9px; font-weight: 850; vertical-align: 1px; }
.result-status { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; color: #697386; background: #f0f2f5; font-size: 11px; font-weight: 750; }
.result-status.winner { color: #9a6200; background: #fff1c7; }
.result-status.winner.t2 { color: #5347d6; background: #e7e5ff; }
.result-status.winner.t3 { color: #0b7d5e; background: #d9f5ec; }
.participants-note { margin: 0; padding: 12px 18px; color: #8996aa; background: #fff; border-top: 1px solid #edf0f4; font-size: 11px; line-height: 1.6; text-align: center; }

/* ---------- 开奖证明条（选中已开奖期时显示；中奖者直接标注在榜单表格里） ---------- */
.draw-pending {
  min-height: 42px;
  margin-bottom: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d9d6ff;
  border-radius: 8px;
  color: #5347d6;
  background: #f4f3ff;
  font-size: 12px;
  line-height: 1.6;
}
.proof-box { margin-bottom: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(50, 50, 93, .045); }
.proof-line { display: flex; align-items: baseline; column-gap: 10px; row-gap: 4px; flex-wrap: wrap; font-size: 13px; }
.proof-line .k { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.proof-line .k + .v { margin-right: 14px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.proof-line .v { color: var(--blue-950); font-weight: 650; word-break: break-all; min-width: 0; }
.proof-note { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

/* ---------- 活动规则 ---------- */
.rules-section { margin-top: 58px; }
.activity-rules-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(50, 50, 93, .045); }
.rules-content { width: 100%; max-width: none; padding: 30px 32px 44px; color: #58667b; font-size: 14px; line-height: 1.8; }
.rules-content h3 { margin: 28px 0 10px; color: var(--ink); font-size: 20px; line-height: 1.4; }
.rules-content h3:first-child { margin-top: 0; }
.rules-content h4 { margin: 22px 0 8px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.rules-content p { margin: 8px 0; }
.rules-content ol { margin: 10px 0 0; padding-left: 22px; }
.rules-content li { margin: 7px 0; padding-left: 4px; }
.rules-formula { margin: 12px 0; padding: 13px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #f8fafc; color: var(--blue-950); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 1.65; }

footer { padding: 30px 0 0; color: #8996aa; font-size: 11px; text-align: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 120; padding: 11px 16px; border-radius: 6px; color: #fff; background: #0a2540; box-shadow: 0 10px 30px rgba(50,50,93,.22); font-size: 13px; font-weight: 750; opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero { height: 520px; display: block; }
  .hero-copy { position: relative; z-index: 2; flex: none; width: 100%; height: 100%; min-height: 0; padding: 34px 38px; }
  .draw-stage { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; min-height: 0; }
  .machine-img { object-position: 72% center; opacity: .54; }
  .draw-stage::after {
    background:
      linear-gradient(90deg, #f6f9fc 0%, rgba(246, 249, 252, .96) 35%, rgba(246, 249, 252, .28) 76%, rgba(246, 249, 252, .5) 100%),
      linear-gradient(0deg, #f6f9fc 0%, rgba(246, 249, 252, .18) 32%, rgba(246, 249, 252, .38) 100%);
  }
  .brand-intro { right: 22px; bottom: 24px; width: 320px; }
  #prizes { margin-top: 52px; }
  .prize-grid { grid-template-columns: 1fr 1fr; }
  .prize-card.featured { grid-column: span 2; }
  .info-band { grid-template-columns: 1fr; }
  .current-user-stats { gap: 18px; }
}
@media (max-width: 620px) {
  .page { width: min(100% - 24px, 1180px); padding-top: 0; }
  .top-nav-inner { width: min(100% - 24px, 1180px); height: 50px; }
  .nav-brand { font-size: 15px; }
  .nav-brand img { width: 24px; height: 24px; }
  .nav-home { padding: 7px 13px; font-size: 13px; }
  .hero { height: 480px; display: block; }
  .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 34px 22px 46px;
    justify-content: flex-start;
  }
  .hero-actions { margin-top: 20px; gap: 9px; }
  .hero-action { min-height: 42px; padding: 0 15px; }
  .hero-action.primary, .hero-action.secondary { min-width: 0; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 14px; }
  .draw-stage {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .machine-img { object-position: 68% center; opacity: .42; }
  .draw-stage::after {
    background:
      linear-gradient(90deg, #f6f9fc 0%, rgba(246, 249, 252, .94) 42%, rgba(246, 249, 252, .28) 100%),
      linear-gradient(0deg, #f6f9fc 0%, rgba(246, 249, 252, .24) 44%, rgba(246, 249, 252, .72) 100%);
  }
  .brand-intro {
    right: 12px;
    bottom: 16px;
    left: 12px;
    width: auto;
    padding: 14px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
  }
  .brand-intro h2 { margin-top: 5px; font-size: 16px; }
  .brand-intro p { display: none; }
  .brand-intro-value { margin-top: 10px; padding: 9px 10px; }
  .brand-intro-value strong { font-size: 16px; }
  .brand-intro-meta { margin-top: 8px; }
  #prizes { margin-top: 42px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head p { text-align: left; }
  .prize-grid { grid-template-columns: 1fr; }
  .prize-card.featured { grid-column: auto; }
  .action-card { min-height: 280px; padding: 22px; }
  .participants-section .section-head { align-items: stretch; }
  .period-select { width: 100%; min-width: 0; }
  .current-user-summary { align-items: flex-start; flex-direction: column; gap: 13px; }
  .current-user-stats { width: 100%; justify-content: space-between; gap: 12px; }
  .current-stat { text-align: left; }
  .rules-content { padding: 24px 22px 38px; font-size: 14px; }
  .rules-content h3 { font-size: 19px; }
  .countdown { gap: 4px; }
  .time-block { min-width: 53px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
