/* ===================================================================
 * css/index.css — 大屏抽奖页（PC / 电视大屏 / 2K / 4K 投屏）
 * 模块顺序严格按需求文档 7.4：
 *   奖品一览 → 奖池剩余总数 → 抽奖规则 → 最近中奖动态 → 抽奖操作区（主舞台）
 * =================================================================== */

/* ---------------- 0. 舞台背景层（幕布 / 光束 / 聚光 / 地板 / 光尘） ---------------- */
.stage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 78% at 50% -8%, rgba(255, 214, 132, .16) 0%, rgba(255, 214, 132, 0) 58%),
    radial-gradient(ellipse 90% 62% at 50% 46%, rgba(196, 34, 52, .34) 0%, rgba(196, 34, 52, 0) 68%),
    radial-gradient(ellipse 140% 74% at 50% 112%, rgba(212, 165, 66, .22) 0%, rgba(212, 165, 66, 0) 62%),
    linear-gradient(180deg, #38050B 0%, #560913 26%, #6D0D1A 52%, #480710 78%, #290307 100%);
}
/* 幕布竖褶（细密、低对比，模拟真实丝绒） */
.bg-curtain {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, .32) 0px,
      rgba(0, 0, 0, 0) 26px,
      rgba(255, 255, 255, .028) 46px,
      rgba(0, 0, 0, 0) 68px,
      rgba(0, 0, 0, .30) 92px);
  background-size: 92px 100%;
  opacity: .55;
  mix-blend-mode: multiply;
  animation: curtain-drift 28s ease-in-out infinite alternate;
}
@keyframes curtain-drift {
  from { background-position: 0 0; }
  to { background-position: 30px 0; }
}
/* 顶部聚光锥 */
.bg-spot {
  position: absolute;
  top: -14%;
  left: 50%;
  width: 78vw;
  height: 88vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 60% at 50% 22%, rgba(255, 236, 194, .19) 0%, rgba(255, 236, 194, 0) 72%);
  filter: blur(2px);
}
/* 斜向金色光束（左中右三束，制造舞台侧光） */
.bg-beam {
  position: absolute;
  top: -22%;
  width: 15vw;
  height: 150%;
  background: linear-gradient(180deg, rgba(255, 228, 165, 0) 0%, rgba(255, 228, 165, .10) 22%, rgba(255, 228, 165, .05) 58%, rgba(255, 228, 165, 0) 100%);
  filter: blur(14px);
  transform-origin: 50% 0;
  opacity: .85;
  animation: beam-sway 12s ease-in-out infinite alternate;
}
.bg-beam.b1 { left: 8%; transform: rotate(13deg); }
.bg-beam.b2 { left: 46%; transform: rotate(-2deg); animation-delay: -3s; opacity: .55; }
.bg-beam.b3 { right: 8%; transform: rotate(-13deg); animation-delay: -6s; }
@keyframes beam-sway {
  from { opacity: .45; }
  to { opacity: .95; }
}
/* 舞台地板：上沿金线 + 透视光晕 */
.bg-floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26vh;
  background:
    linear-gradient(180deg, rgba(255, 220, 150, .10) 0%, rgba(255, 220, 150, 0) 26%),
    repeating-linear-gradient(90deg, rgba(255, 226, 160, .055) 0 1px, transparent 1px 7.5%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 100%);
  border-top: 1px solid rgba(255, 224, 160, .22);
  box-shadow: 0 -22px 60px -20px rgba(255, 205, 120, .28) inset;
  transform: perspective(600px) rotateX(52deg);
  transform-origin: bottom center;
  opacity: .9;
}
/* 金色光尘（极轻，只作氛围，不抢内容） */
.bg-dust { position: absolute; inset: 0; }
.bg-dust i {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255, 226, 168, .85);
  box-shadow: 0 0 8px 2px rgba(255, 210, 130, .45);
  opacity: 0;
  animation: dust-rise linear infinite;
}
@keyframes dust-rise {
  0% { transform: translateY(12vh) scale(.7); opacity: 0; }
  18% { opacity: .8; }
  78% { opacity: .5; }
  100% { transform: translateY(-72vh) scale(1.1); opacity: 0; }
}
/* 顶部暗角 + 底部暗角（压住背景，避免"扁平大面积红"） */
.stage-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 58% at 50% 44%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 16%);
}

/* ---------------- 1. 页面骨架 ---------------- */
.screen-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(18px, 1.6vw, 40px) clamp(18px, 2.2vw, 56px) clamp(30px, 3vw, 70px);
}

/* ---------------- 2. 顶部栏 ---------------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(14px, 1.2vw, 24px);
  margin-bottom: clamp(22px, 2vw, 40px);
  border-bottom: 1px solid rgba(227, 185, 95, .2);
  position: relative;
}
.topbar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 185, 95, 0) 0%, rgba(239, 209, 136, .85) 50%, rgba(227, 185, 95, 0) 100%);
}
.brand { display: flex; align-items: center; gap: clamp(12px, 1.1vw, 20px); min-width: 0; }
.brand-mark {
  width: clamp(40px, 3.4vw, 60px);
  height: clamp(40px, 3.4vw, 60px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 700;
  letter-spacing: .04em;
  color: #4A1206;
  background: linear-gradient(160deg, var(--gold-200), var(--gold-500));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 22px -10px rgba(0, 0, 0, .9);
  flex: none;
}
.brand-txt { min-width: 0; }
.brand-txt h1 {
  font-size: clamp(19px, 1.7vw, 34px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-txt p {
  margin-top: 5px;
  font-size: clamp(11px, .78vw, 14px);
  letter-spacing: .34em;
  color: rgba(255, 230, 196, .52);
  text-transform: uppercase;
}
.top-right { display: flex; align-items: center; gap: clamp(10px, .9vw, 16px); flex: none; }

/* 当前抽奖区选择器 */
.zone-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  height: clamp(38px, 2.9vw, 50px);
  padding: 0 clamp(12px, 1vw, 20px);
  border-radius: 10px;
  font-size: clamp(12px, .9vw, 16px);
  letter-spacing: .06em;
  color: var(--gold-100);
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(227, 185, 95, .34);
  transition: all .2s var(--ease-out);
  cursor: pointer;
  position: relative;
}
.zone-pick:hover { border-color: var(--gold-400); background: rgba(227, 185, 95, .1); }
.zone-pick .zp-label { color: rgba(255, 232, 200, .5); font-size: .82em; letter-spacing: .12em; }
.zone-pick .zp-val { font-weight: 700; }
.zone-pick .zp-caret { font-size: .7em; color: var(--gold-400); }
.zone-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100%;
  padding: 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(124, 16, 30, .99), rgba(60, 6, 12, .99));
  border: 1px solid var(--gold-line);
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .95);
  display: none;
  z-index: 60;
}
.zone-menu.is-open { display: block; animation: ug-fade-up .22s var(--ease-out); }
.zone-menu button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border-radius: 7px;
  text-align: left;
  font-size: 14px;
  letter-spacing: .05em;
  color: rgba(255, 238, 214, .82);
  white-space: nowrap;
  transition: all .16s;
}
.zone-menu button:hover { background: rgba(227, 185, 95, .16); color: var(--gold-100); }
.zone-menu button.is-active { color: var(--gold-200); font-weight: 700; background: rgba(227, 185, 95, .1); }

/* 奖池剩余胶囊 */
.pool-chip {
  display: flex;
  align-items: baseline;
  gap: 7px;
  height: clamp(38px, 2.9vw, 50px);
  padding: 0 clamp(14px, 1.1vw, 22px);
  border-radius: 10px;
  align-items: center;
  font-size: clamp(11px, .82vw, 14px);
  letter-spacing: .1em;
  color: rgba(255, 232, 200, .6);
  background: linear-gradient(180deg, rgba(227, 185, 95, .13), rgba(227, 185, 95, .04));
  border: 1px solid rgba(227, 185, 95, .28);
}
.pool-chip b {
  font-family: var(--font-num);
  font-size: clamp(16px, 1.3vw, 24px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold-200);
}
.icon-btn {
  width: clamp(38px, 2.9vw, 50px);
  height: clamp(38px, 2.9vw, 50px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(15px, 1.1vw, 19px);
  color: rgba(255, 232, 200, .6);
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(227, 185, 95, .24);
  transition: all .2s;
}
.icon-btn:hover { color: var(--gold-200); border-color: var(--gold-400); transform: rotate(24deg); }

/* ---------------- 3. 区块统一标题 ---------------- */
.sec { margin-bottom: clamp(30px, 3vw, 64px); }
.sec-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 26px);
  margin-bottom: clamp(18px, 1.7vw, 32px);
  position: relative;
}
.sec-head h2 {
  font-size: clamp(17px, 1.35vw, 27px);
  font-weight: 700;
  letter-spacing: .2em;
  white-space: nowrap;
}
.sec-head .orn {
  flex: 1;
  max-width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 185, 95, .6));
  position: relative;
}
.sec-head .orn:last-child { background: linear-gradient(90deg, rgba(227, 185, 95, .6), transparent); }
.sec-head .orn::after {
  content: '';
  position: absolute;
  right: -3px; top: -3px;
  width: 7px; height: 7px;
  background: var(--gold-400);
  transform: rotate(45deg);
  box-shadow: 0 0 10px 1px rgba(227, 185, 95, .7);
}
.sec-head .orn:last-child::after { right: auto; left: -3px; }

/* ---------------- 4. 奖品一览 ---------------- */
.prize-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.15vw, 24px);
}
.prize-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .02) 46%, rgba(0, 0, 0, .16) 100%);
  border: 1px solid rgba(227, 185, 95, .26);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .16), 0 18px 40px -26px rgba(0, 0, 0, .9);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.prize-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 232, 180, .16), transparent 38%);
  opacity: .8;
  pointer-events: none;
}
.prize-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 209, 136, .7);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .22), 0 26px 54px -22px rgba(0, 0, 0, .95), 0 0 30px -6px rgba(227, 185, 95, .35);
}
/* 商品图区：白底棚拍感（图与深色卡片形成对比，是"专业电商图"的关键） */
.prize-media {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 10px 10px 0;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 34%, #fff 0%, #f6f7fa 58%, #e8ebf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prize-media svg { width: 100%; height: 100%; }
.prize-media .sold-out {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: clamp(12px, .95vw, 18px);
  font-weight: 700;
  letter-spacing: .2em;
  color: #8A0F1C;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(1px);
}
.prize-card.is-out .prize-media .sold-out { display: flex; }
.prize-card.is-out .prize-media svg { filter: grayscale(.85); opacity: .55; }

.prize-body {
  padding: clamp(11px, .95vw, 18px) clamp(11px, .95vw, 18px) clamp(13px, 1.05vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.prize-tier-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.prize-tier-line .tier-badge { font-size: clamp(10px, .74vw, 14px); }
.prize-code {
  font-family: var(--font-num);
  font-size: clamp(10px, .72vw, 14px);
  letter-spacing: .1em;
  color: rgba(255, 232, 200, .42);
}
.prize-name {
  font-size: clamp(12.5px, .95vw, 19px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .02em;
  color: #FFF3E2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.prize-model {
  font-family: var(--font-num);
  font-size: clamp(10px, .74vw, 14px);
  letter-spacing: .08em;
  color: rgba(255, 232, 200, .45);
}
.prize-foot {
  margin-top: auto;
  padding-top: clamp(8px, .7vw, 12px);
  border-top: 1px solid rgba(227, 185, 95, .16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.prize-foot .stat { display: flex; align-items: baseline; gap: 5px; }
.prize-foot .stat span { font-size: clamp(10px, .74vw, 13px); letter-spacing: .1em; color: rgba(255, 232, 200, .48); }
.prize-foot .stat b {
  font-family: var(--font-num);
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold-200);
}
.prize-foot .stat.is-rate b { color: #F0A88E; }
.prize-foot .bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, .4);
  overflow: hidden;
  max-width: 64px;
}
.prize-foot .bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
}

/* ---------------- 5. 奖池剩余总数 ---------------- */
.pool-board {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 48px);
  padding: clamp(20px, 1.9vw, 38px) clamp(20px, 2vw, 40px);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 60% 120% at 50% 30%, rgba(227, 185, 95, .16) 0%, rgba(227, 185, 95, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .12));
  border: 1px solid rgba(227, 185, 95, .28);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .14), 0 24px 56px -34px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.pool-board::before,
.pool-board::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(227, 185, 95, .5), transparent);
}
.pool-board::before { left: clamp(16px, 2vw, 40px); }
.pool-board::after { right: clamp(16px, 2vw, 40px); }
.pool-side { text-align: center; min-width: 0; }
.pool-side .k {
  font-size: clamp(10px, .76vw, 14px);
  letter-spacing: .22em;
  color: rgba(255, 232, 200, .44);
  margin-bottom: 6px;
  white-space: nowrap;
}
.pool-side .v {
  font-family: var(--font-num);
  font-size: clamp(20px, 1.9vw, 38px);
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255, 240, 215, .82);
}
.pool-center { text-align: center; flex: none; }
.pool-center .pool-label {
  font-size: clamp(11px, .84vw, 16px);
  letter-spacing: .3em;
  color: rgba(255, 232, 200, .6);
  margin-bottom: clamp(4px, .4vw, 8px);
}
.pool-center .pool-num {
  font-family: var(--font-num);
  font-size: clamp(46px, 5.2vw, 116px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: .01em;
  background: linear-gradient(178deg, #FFF7E2 0%, var(--gold-300) 40%, var(--gold-500) 76%, var(--gold-200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(60, 5, 12, .6)) drop-shadow(0 12px 30px rgba(227, 185, 95, .32));
}
.pool-center .pool-sub {
  margin-top: clamp(4px, .45vw, 10px);
  font-size: clamp(10px, .76vw, 14px);
  letter-spacing: .26em;
  color: rgba(255, 232, 200, .42);
}
.pool-center .pool-num.is-bump { animation: num-bump .5s var(--ease-out); }
@keyframes num-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ---------------- 6. 抽奖规则（常驻） ---------------- */
.rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, .8vw, 16px) clamp(18px, 2vw, 40px);
  padding: clamp(18px, 1.6vw, 30px) clamp(18px, 1.9vw, 36px);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .1));
  border: 1px solid rgba(227, 185, 95, .18);
}
.rule-list li {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, .85vw, 16px);
  font-size: clamp(12px, .92vw, 17px);
  line-height: 1.85;
  letter-spacing: .03em;
  color: rgba(255, 240, 222, .8);
}
.rule-list li .no {
  flex: none;
  width: clamp(20px, 1.5vw, 28px);
  height: clamp(20px, 1.5vw, 28px);
  margin-top: .32em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: clamp(11px, .78vw, 14px);
  font-weight: 700;
  color: var(--gold-200);
  background: rgba(227, 185, 95, .12);
  border: 1px solid rgba(227, 185, 95, .38);
}

/* ---------------- 7. 最近中奖动态（懒加载 + 搜索） ---------------- */
.feed-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(12px, 1.1vw, 20px);
}
.feed-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 460px;
  height: clamp(38px, 2.8vw, 48px);
  padding: 0 6px 0 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(227, 185, 95, .26);
  transition: all .2s;
}
.feed-search:focus-within { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(227, 185, 95, .1); }
.feed-search input {
  flex: 1;
  height: 100%;
  min-width: 0;
  font-size: clamp(12px, .9vw, 16px);
  letter-spacing: .04em;
  color: var(--gold-100);
  background: transparent;
  border: 0;
}
.feed-search input::placeholder { color: rgba(255, 235, 210, .3); }
.feed-search button {
  flex: none;
  height: calc(100% - 10px);
  padding: 0 clamp(12px, 1vw, 20px);
  border-radius: 7px;
  font-size: clamp(11px, .84vw, 15px);
  font-weight: 700;
  letter-spacing: .08em;
  color: #4A1206;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-500));
  transition: filter .18s;
}
.feed-search button:hover { filter: brightness(1.06); }
.feed-tools .btn-ghost { height: clamp(38px, 2.8vw, 48px); }

.feed-list { display: flex; flex-direction: column; gap: 1px; }
.feed-row {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
  padding: clamp(11px, .95vw, 18px) clamp(12px, 1.1vw, 20px);
  border-radius: 10px;
  border-bottom: 1px solid rgba(227, 185, 95, .1);
  transition: background .2s, transform .2s;
  animation: ug-fade-up .38s var(--ease-out) both;
}
.feed-row:hover { background: rgba(227, 185, 95, .07); }
.feed-row .idx {
  flex: none;
  width: clamp(24px, 1.9vw, 36px);
  font-family: var(--font-num);
  font-size: clamp(11px, .82vw, 15px);
  color: rgba(255, 232, 200, .3);
  letter-spacing: .04em;
}
.feed-row .who { flex: none; min-width: clamp(88px, 8.4vw, 150px); }
.feed-row .who .nm {
  font-size: clamp(12.5px, .96vw, 18px);
  font-weight: 700;
  letter-spacing: .03em;
  color: #FFF3E2;
}
.feed-row .who .no {
  margin-top: 2px;
  font-family: var(--font-num);
  font-size: clamp(10px, .74vw, 13px);
  letter-spacing: .08em;
  color: rgba(255, 232, 200, .42);
}
.feed-row .zone-tag {
  flex: none;
  padding: .2em .6em;
  border-radius: 5px;
  font-size: clamp(10px, .72vw, 13px);
  letter-spacing: .06em;
  color: rgba(255, 226, 190, .78);
  background: rgba(227, 185, 95, .1);
  border: 1px solid rgba(227, 185, 95, .22);
  white-space: nowrap;
}
.feed-row .res { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.feed-row .res .tier-badge { font-size: clamp(9.5px, .7vw, 13px); }
.feed-row .res .none { font-size: clamp(11px, .84vw, 15px); color: rgba(255, 232, 200, .35); letter-spacing: .08em; }
.feed-row .res .gname {
  font-size: clamp(11px, .85vw, 15px);
  color: rgba(255, 240, 222, .78);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40%;
}
.feed-row .time {
  flex: none;
  font-family: var(--font-num);
  font-size: clamp(10px, .76vw, 14px);
  letter-spacing: .06em;
  color: rgba(255, 232, 200, .38);
  white-space: nowrap;
}
.feed-more { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(14px, 1.3vw, 24px); }
.feed-more .tip { font-size: clamp(10px, .78vw, 14px); letter-spacing: .08em; color: rgba(255, 232, 200, .38); }

/* 空状态 */
.feed-empty {
  padding: clamp(30px, 3vw, 56px) 20px;
  text-align: center;
  border-radius: 12px;
  border: 1px dashed rgba(227, 185, 95, .25);
  background: rgba(0, 0, 0, .16);
}
.feed-empty .ico { font-size: clamp(24px, 2vw, 36px); opacity: .5; margin-bottom: 10px; }
.feed-empty p { font-size: clamp(12px, .9vw, 16px); letter-spacing: .06em; color: rgba(255, 232, 200, .48); line-height: 1.9; }

/* 搜索结果摘要（搜索时展示人员的全部抽奖情况） */
.feed-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: clamp(12px, 1vw, 18px) clamp(14px, 1.2vw, 22px);
  margin-bottom: 12px;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(227, 185, 95, .1), rgba(227, 185, 95, .03));
  border: 1px solid rgba(227, 185, 95, .24);
  font-size: clamp(11.5px, .88vw, 16px);
  letter-spacing: .04em;
  color: rgba(255, 240, 222, .85);
}
.feed-summary b { color: var(--gold-200); font-family: var(--font-num); font-size: 1.15em; }

/* ---------------- 8. 抽奖操作区（主舞台，最高视觉优先级） ---------------- */
.stage {
  position: relative;
  padding: clamp(34px, 3.4vw, 72px) clamp(20px, 2vw, 44px) clamp(30px, 3vw, 60px);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 90% at 50% 0%, rgba(255, 214, 138, .18) 0%, rgba(255, 214, 138, 0) 66%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(158, 21, 38, .5) 0%, rgba(84, 8, 18, .72) 58%, rgba(48, 4, 10, .86) 100%);
  border: 1px solid rgba(239, 209, 136, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 220, .2),
    inset 0 0 90px -20px rgba(255, 205, 120, .18),
    0 40px 90px -50px rgba(0, 0, 0, 1);
  text-align: center;
}
/* 舞台四角金饰 */
.stage .corner {
  position: absolute;
  width: clamp(22px, 2vw, 40px);
  height: clamp(22px, 2vw, 40px);
  border: 2px solid rgba(239, 209, 136, .55);
  pointer-events: none;
}
.stage .corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.stage .corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.stage .corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.stage .corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
/* 舞台顶灯 */
.stage-lights {
  position: absolute;
  top: 0; left: 50%;
  width: 62%;
  height: 220px;
  transform: translateX(-50%);
  background: conic-gradient(from 250deg at 50% -10%, transparent 0deg, rgba(255, 232, 176, .17) 22deg, transparent 44deg, transparent 316deg, rgba(255, 232, 176, .17) 338deg, transparent 360deg);
  filter: blur(6px);
  pointer-events: none;
}
.stage-zone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: .45em 1.3em;
  border-radius: 999px;
  font-size: clamp(11px, .86vw, 15px);
  letter-spacing: .16em;
  color: var(--gold-200);
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(227, 185, 95, .4);
  margin-bottom: clamp(14px, 1.3vw, 24px);
}
.stage-zone .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6EE7A8;
  box-shadow: 0 0 10px 2px rgba(110, 231, 168, .7);
  animation: dot-blink 1.8s ease-in-out infinite;
}
@keyframes dot-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.stage-title {
  font-size: clamp(24px, 2.6vw, 56px);
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
  margin-bottom: clamp(10px, 1vw, 18px);
}
.stage-desc {
  font-size: clamp(12px, .95vw, 18px);
  letter-spacing: .16em;
  color: rgba(255, 238, 216, .55);
  margin-bottom: clamp(20px, 2vw, 40px);
}
/* 舞台中央轮播窗 */
.stage-window {
  position: relative;
  width: min(58%, 640px);
  aspect-ratio: 1 / 1;
  margin: 0 auto clamp(22px, 2.2vw, 42px);
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 36%, #ffffff 0%, #f7f8fb 58%, #e6eaf0 100%);
  border: 2px solid rgba(239, 209, 136, .75);
  box-shadow:
    0 0 0 8px rgba(227, 185, 95, .1),
    0 0 60px -10px rgba(255, 214, 138, .55),
    0 34px 70px -30px rgba(0, 0, 0, .95);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-window .sw-img { width: 100%; height: 100%; transition: filter .3s; }
.stage-window .sw-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(10px, 1vw, 16px);
  font-size: clamp(12px, 1vw, 19px);
  font-weight: 700;
  letter-spacing: .08em;
  color: #FFF3E2;
  background: linear-gradient(180deg, rgba(48, 4, 10, 0), rgba(48, 4, 10, .82));
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.stage-window.is-rolling .sw-img { filter: blur(1.4px) saturate(1.2); }

.btn-lucky {
  position: relative;
  min-width: clamp(220px, 18vw, 400px);
  padding: clamp(14px, 1.35vw, 26px) clamp(30px, 3vw, 64px);
  border-radius: 999px;
  font-size: clamp(17px, 1.45vw, 30px);
  font-weight: 800;
  letter-spacing: .22em;
  color: #4A1206;
  background: linear-gradient(180deg, #FFF0C6 0%, var(--gold-300) 34%, var(--gold-400) 62%, var(--gold-600) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .9),
    inset 0 -3px 0 rgba(112, 66, 8, .4),
    0 0 0 2px rgba(255, 240, 200, .42),
    0 20px 50px -16px rgba(0, 0, 0, .9),
    0 0 60px -6px rgba(255, 205, 120, .55);
  transition: transform .2s var(--ease-out), box-shadow .25s, filter .25s;
  overflow: hidden;
  animation: lucky-breathe 3.2s ease-in-out infinite;
}
@keyframes lucky-breathe {
  0%, 100% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(112, 66, 8, .4), 0 0 0 2px rgba(255, 240, 200, .42), 0 20px 50px -16px rgba(0, 0, 0, .9), 0 0 50px -8px rgba(255, 205, 120, .45); }
  50% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(112, 66, 8, .4), 0 0 0 2px rgba(255, 240, 200, .55), 0 26px 56px -16px rgba(0, 0, 0, .95), 0 0 80px -4px rgba(255, 205, 120, .8); }
}
.btn-lucky::after {
  content: '';
  position: absolute;
  top: -50%; left: -70%;
  width: 45%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-20deg);
  animation: lucky-sweep 3.6s ease-in-out infinite;
}
@keyframes lucky-sweep {
  0% { left: -70%; }
  55% { left: 130%; }
  100% { left: 130%; }
}
.btn-lucky:hover { transform: translateY(-3px) scale(1.012); filter: brightness(1.05); }
.btn-lucky:active { transform: translateY(1px) scale(.995); }
.btn-lucky:disabled { animation: none; filter: grayscale(.4) brightness(.85); cursor: not-allowed; }
.stage-note {
  margin-top: clamp(14px, 1.3vw, 24px);
  font-size: clamp(10.5px, .8vw, 15px);
  letter-spacing: .12em;
  color: rgba(255, 232, 200, .42);
}

/* ---------------- 9. 抽奖动画层（全屏红金舞台 + 高速轮播） ---------------- */
.draw-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 42%, rgba(255, 208, 128, .26) 0%, rgba(255, 208, 128, 0) 62%),
    radial-gradient(ellipse 100% 90% at 50% 50%, rgba(150, 16, 32, .9) 0%, rgba(56, 5, 11, .98) 72%, #1B0206 100%);
}
.draw-overlay.is-open { display: flex; }
.draw-overlay::before {
  /* 旋转光束，制造"开奖机"高速转动感 */
  content: '';
  position: absolute;
  width: 190vmax;
  height: 190vmax;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 226, 162, .12) 8deg, transparent 18deg, transparent 44deg, rgba(255, 226, 162, .1) 52deg, transparent 62deg);
  animation: ov-spin 1.6s linear infinite;
  opacity: .9;
}
@keyframes ov-spin { to { transform: rotate(360deg); } }
.ov-inner { position: relative; z-index: 2; }
.ov-head {
  font-size: clamp(15px, 1.4vw, 28px);
  font-weight: 700;
  letter-spacing: .42em;
  color: var(--gold-200);
  margin-bottom: clamp(18px, 2vw, 36px);
  text-shadow: 0 0 30px rgba(255, 205, 120, .6);
}
.ov-slot {
  position: relative;
  width: min(46vh, 420px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 36%, #fff 0%, #f4f6fa 60%, #e2e7ee 100%);
  border: 3px solid rgba(255, 226, 168, .9);
  box-shadow:
    0 0 0 10px rgba(255, 214, 138, .12),
    0 0 100px -6px rgba(255, 205, 120, .8),
    0 40px 90px -30px rgba(0, 0, 0, 1);
  filter: saturate(1.15);
}
.ov-slot .ov-img { width: 100%; height: 100%; }
.ov-slot.is-blur .ov-img { filter: blur(2.2px) brightness(1.06); }
.ov-name {
  margin-top: clamp(16px, 1.8vw, 32px);
  font-size: clamp(17px, 1.6vw, 34px);
  font-weight: 800;
  letter-spacing: .1em;
  color: #FFF6E6;
  text-shadow: 0 0 26px rgba(255, 205, 120, .7), 0 4px 16px rgba(0, 0, 0, .8);
  min-height: 1.4em;
}
.ov-tier {
  margin-top: 8px;
  font-size: clamp(11px, .9vw, 17px);
  letter-spacing: .28em;
  color: rgba(255, 232, 200, .55);
}
.ov-progress {
  width: min(60vw, 520px);
  height: 3px;
  margin: clamp(20px, 2vw, 36px) auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.ov-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-200));
  box-shadow: 0 0 14px rgba(255, 214, 138, .9);
}
.ov-count {
  margin-top: 12px;
  font-family: var(--font-num);
  font-size: clamp(11px, .85vw, 16px);
  letter-spacing: .2em;
  color: rgba(255, 232, 200, .4);
}

/* ---------------- 10. 开奖弹窗 ---------------- */
.result-dialog { max-width: 720px; text-align: center; }
.result-dialog::after {
  /* 顶部光晕 */
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  width: 320px; height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 214, 138, .5) 0%, rgba(255, 214, 138, 0) 70%);
  pointer-events: none;
}
.result-eyebrow {
  font-size: clamp(11px, .85vw, 15px);
  letter-spacing: .4em;
  color: rgba(255, 232, 200, .55);
  margin-bottom: 10px;
}
.result-title {
  font-size: clamp(28px, 2.8vw, 54px);
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.result-sub {
  font-size: clamp(12px, .95vw, 17px);
  letter-spacing: .1em;
  color: rgba(255, 238, 216, .68);
  margin-bottom: clamp(16px, 1.5vw, 26px);
}
.result-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: clamp(18px, 1.7vw, 28px);
}
.result-badges .rb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .42em 1em;
  border-radius: 999px;
  font-size: clamp(11px, .85vw, 15px);
  font-weight: 700;
  letter-spacing: .06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(227, 185, 95, .34);
  color: #FFF1DC;
}
.result-badges .rb .n { font-family: var(--font-num); color: var(--gold-200); }
.result-list {
  max-height: 42vh;
  overflow: auto;
  text-align: left;
  border-radius: 12px;
  background: rgba(0, 0, 0, .26);
  border: 1px solid rgba(227, 185, 95, .2);
  padding: 6px;
}
.result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: clamp(12px, .9vw, 16px);
  animation: ug-fade-up .36s var(--ease-out) both;
}
.result-item + .result-item { border-top: 1px solid rgba(227, 185, 95, .1); }
.result-item .seq {
  flex: none;
  width: 26px;
  font-family: var(--font-num);
  font-size: .85em;
  color: rgba(255, 232, 200, .34);
}
.result-item .gi { flex: 1; min-width: 0; }
.result-item .gi .nm {
  font-weight: 700;
  color: #FFF3E2;
  letter-spacing: .02em;
}
.result-item .gi .md {
  margin-top: 2px;
  font-family: var(--font-num);
  font-size: .8em;
  letter-spacing: .1em;
  color: rgba(255, 232, 200, .42);
}
.result-item.is-lose .gi .nm { color: rgba(255, 232, 200, .38); font-weight: 400; }
/* 大奖行加金光 */
.result-item.is-top {
  background: linear-gradient(90deg, rgba(255, 214, 138, .16), rgba(255, 214, 138, 0));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 138, .28);
}

/* ---------------- 11. 大屏适配（2K / 4K 等比放大） ---------------- */
@media (min-width: 1600px) {
  .screen-wrap { max-width: 1880px; }
  .prize-grid { gap: 26px; }
}
@media (min-width: 2200px) {           /* 2K */
  .screen-wrap { max-width: 2400px; padding-left: 70px; padding-right: 70px; }
  .prize-grid { gap: 34px; }
  .stage-window { width: min(52%, 780px); }
  .rule-list { gap: 18px 56px; }
}
@media (min-width: 3000px) {           /* 4K */
  .screen-wrap { max-width: 3400px; padding-left: 100px; padding-right: 100px; }
  .prize-grid { gap: 46px; }
  .stage-window { width: min(50%, 1000px); }
  .ov-slot { width: min(44vh, 620px); }
}

/* ---------------- 12. 平板 / 手机降级（同一页面仍可用） ---------------- */
@media (max-width: 1200px) {
  .prize-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prize-grid .prize-card:nth-child(n + 4) { display: none; }   /* 大屏以外的窄屏由 mobile.html 承担 */
  .prize-grid.is-all .prize-card:nth-child(n + 4) { display: flex; }
  .rule-list { grid-template-columns: 1fr; }
  .stage-window { width: min(70%, 460px); }
}
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; gap: 14px; }
  .brand-txt h1 { white-space: normal; font-size: 18px; }
  .top-right { width: 100%; justify-content: space-between; }
  .prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pool-board { flex-wrap: wrap; gap: 16px; }
  .feed-row { flex-wrap: wrap; gap: 8px 12px; }
  .feed-row .res { flex-basis: 100%; }
  .feed-row .time { margin-left: auto; }
  .stage-window { width: min(62%, 300px); }
  .btn-lucky { min-width: 0; width: 100%; }
  .rule-list { padding: 16px; }
}

/* ===================================================================
 * 高清主视觉位图（舞台 KV）：4K 源图打底，2K 及以下自动降级
 * 由 assets/img/main-visual-4k.jpg 提供真实舞台光效层次，CSS 光束/幕布叠加其上
 * =================================================================== */
.bg-photo {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/main-visual-4k.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .9;
  filter: saturate(1.03) contrast(1.03);
}
@media (max-width: 1680px) {
  .bg-photo { background-image: url("../assets/img/main-visual.jpg"); }
}

/* =====================================================================
 * 大屏专项层（≥1280px）：主舞台底部常驻 + 信息密度与对比度优化
 * 需求 7.4：模块自上而下顺序不变；抽奖操作区保持最高视觉优先级，
 * 大屏投屏时固定常驻视口底部，任何滚动位置都能立即操作与观看。
 * ===================================================================== */
@media (min-width: 1280px) {
  /* ---------- 主舞台：常驻视口底部 ---------- */
  #stageSec {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    margin: 0 !important;
    padding: 0 clamp(24px, 2.6vw, 72px) clamp(10px, 1.2vh, 18px);
    background: linear-gradient(180deg, rgba(18, 3, 6, 0) 0%, rgba(18, 3, 6, .7) 26%, rgba(12, 2, 4, .96) 100%);
  }
  #stageSec::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(239, 209, 136, .5) 20%, rgba(239, 209, 136, .5) 80%, transparent 100%);
  }
  #stageSec .stage {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .84fr) minmax(0, .8fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: clamp(18px, 2vw, 46px);
    row-gap: clamp(4px, .7vh, 10px);
    padding: clamp(12px, 1.5vh, 22px) clamp(20px, 2vw, 42px);
    border-radius: 16px;
    text-align: left;
  }
  #stageSec .stage-lights { height: 116px; opacity: .72; }
  #stageSec .stage-zone {
    grid-row: 1; grid-column: 1;
    justify-self: start;
    margin: 0;
    font-size: clamp(10px, .72vw, 14px);
    padding: .34em 1.1em;
  }
  #stageSec .stage-title {
    grid-row: 2; grid-column: 1;
    text-align: left;
    margin: 0;
    font-size: clamp(17px, 1.5vw, 34px);
    letter-spacing: .1em;
    line-height: 1.25;
  }
  #stageSec .stage-desc {
    grid-row: 3; grid-column: 1;
    text-align: left;
    margin: 0;
    font-size: clamp(11px, .78vw, 15px);
    color: rgba(255, 238, 216, .62);
  }
  #stageSec .stage-window {
    grid-row: 1 / span 3; grid-column: 2;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
    margin: 0;
    border-radius: 14px;
  }
  #stageSec .stage-window .sw-name {
    padding: clamp(6px, .7vh, 12px) clamp(10px, 1vw, 16px);
    font-size: clamp(11px, .82vw, 16px);
  }
  #stageSec .btn-lucky {
    grid-row: 1 / span 2; grid-column: 3;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    padding: clamp(12px, 1.6vh, 24px) 0;
    font-size: clamp(17px, 1.5vw, 32px);
  }
  #stageSec .stage-note {
    grid-row: 3; grid-column: 3;
    margin: 0;
    text-align: center;
    font-size: clamp(9.5px, .68vw, 12px);
  }
  /* 为常驻舞台预留底部空间，避免遮挡动态列表 */
  .screen-wrap { padding-bottom: clamp(220px, 23vh, 320px); }

  /* ---------- 奖品卡：收紧图区比例，提升型号/编号可读性 ---------- */
  .prize-media { aspect-ratio: 4 / 3; }
  .prize-code, .prize-model { color: rgba(255, 238, 210, .6); }
  .prize-foot .stat span { color: rgba(255, 238, 210, .6); }

  /* ---------- 奖池板 / 规则：压缩纵向留白 ---------- */
  .pool-board { padding: clamp(12px, 1.6vh, 26px) clamp(20px, 2vw, 44px); }
  .pool-center .pool-num { font-size: clamp(46px, 4.4vw, 100px); }
  .rule-list {
    padding: clamp(12px, 1.5vh, 24px) clamp(18px, 1.9vw, 40px);
    gap: clamp(4px, .6vh, 10px) clamp(24px, 2.4vw, 48px);
  }
  .rule-list li { font-size: clamp(11.5px, .86vw, 16px); line-height: 1.65; }

  /* ---------- 最近中奖动态：双列，首屏 10 条不拉长页面 ---------- */
  .feed-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(16px, 1.6vw, 36px);
  }
  .feed-row { border-radius: 8px; }
}

/* =====================================================================
 * 大屏专项层 2：一屏掌控（首屏 = 顶部 + 奖品一览 + 奖池 + 常驻主舞台）
 * 期刊依据：需求 7.1「大字号、大留白、强对比，适合远距离观看」
 *           需求 7.4「抽奖操作区最高视觉优先级」
 * ===================================================================== */
@media (min-width: 1280px) {
  :root { --stagebar-h: clamp(146px, 17vh, 232px); }

  /* ---------- 主舞台高度锁定，避免撑高挤占视口 ---------- */
  #stageSec .stage {
    height: var(--stagebar-h);
    grid-template-columns: minmax(0, 1.06fr) clamp(210px, 15.5vw, 330px) minmax(0, .92fr);
    grid-template-rows: auto 1fr auto;
    box-sizing: border-box;
  }
  #stageSec .stage-window {
    grid-row: 1 / span 3;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: 100%;
  }
  #stageSec .stage-window .sw-img { width: 100%; height: 100%; }
  #stageSec .btn-lucky {
    grid-row: 1 / span 2;
    align-self: center;
    height: clamp(52px, 6.4vh, 88px);
    padding: 0;
    font-size: clamp(17px, 1.42vw, 30px);
    letter-spacing: .2em;
  }
  #stageSec .stage-title { align-self: end; }
  #stageSec .stage-desc { align-self: start; }
  .screen-wrap { padding-bottom: calc(var(--stagebar-h) + clamp(26px, 3.4vh, 64px)); }

  /* ---------- 奖品卡：压缩纵向占用，突出商品图 ---------- */
  .prize-media { aspect-ratio: 16 / 11; }
  .prize-body { gap: 5px; padding: clamp(10px, .85vw, 16px) clamp(10px, .9vw, 16px) clamp(11px, .95vw, 18px); }
  .prize-name { font-size: clamp(12.5px, .9vw, 18px); line-height: 1.35; min-height: 0; }
  .prize-foot { padding-top: clamp(6px, .55vw, 10px); }
  .prize-foot .stat b { font-size: clamp(14px, 1.05vw, 20px); }

  /* ---------- 奖池板：单行紧凑但数字仍最抢眼 ---------- */
  .pool-board {
    gap: clamp(26px, 3vw, 64px);
    padding: clamp(10px, 1.5vh, 22px) clamp(24px, 2.4vw, 48px);
  }
  .pool-center .pool-num { font-size: clamp(42px, 2.9vw + 1.6vh, 96px); line-height: 1; }
  .pool-center .pool-label { letter-spacing: .34em; }
  .pool-side .v { font-size: clamp(18px, 1.5vw, 32px); }

  /* ---------- 分节标题收紧 ---------- */
  .sec-head { margin-bottom: clamp(9px, 1.1vh, 16px); }
  .sec-head h2 { font-size: clamp(15px, 1.1vw, 26px); }
}

/* =====================================================================
 * 大屏专项层 3：2K / 4K 视口字号与控件等比放大
 * 依据需求 7.1「兼容 2K、4K 投屏，字号与动画按视口等比放大」
 * ===================================================================== */
@media (min-width: 2400px) {
  :root { --stagebar-h: clamp(236px, 15.5vh, 320px); }
  .brand-txt h1 { font-size: 40px; }
  .brand-txt p { font-size: 18px; }
  .brand-mark { width: 66px; height: 66px; font-size: 20px; }
  .zone-pick { height: 58px; font-size: 20px; }
  .pool-chip { font-size: 20px; }
  .sec-head h2 { font-size: 34px; }
  .prize-name { font-size: 23px; }
  .prize-code, .prize-model { font-size: 17px; }
  .tier-badge { font-size: 17px; }
  .prize-foot .stat span { font-size: 16px; }
  .prize-foot .stat b { font-size: 26px; }
  .pool-center .pool-num { font-size: clamp(112px, 4.6vw, 152px); }
  .pool-center .pool-label { font-size: 19px; }
  .pool-center .pool-sub { font-size: 18px; }
  .pool-side .k { font-size: 17px; }
  .pool-side .v { font-size: 38px; }
  .rule-list li { font-size: 21px; }
  .rule-list li .no { width: 34px; height: 34px; font-size: 16px; }
  .feed-row .who .nm { font-size: 21px; }
  .feed-row .who .no { font-size: 16px; }
  .feed-row .zone-tag { font-size: 15px; }
  .feed-row .res .gname { font-size: 19px; }
  .feed-row .time { font-size: 15px; }
  .feed-search input { height: 54px; font-size: 18px; }
  .feed-tools button { height: 54px; font-size: 17px; }
  #stageSec .stage-title { font-size: 44px; }
  #stageSec .stage-desc { font-size: 19px; }
  #stageSec .stage-zone { font-size: 18px; }
  #stageSec .stage-window .sw-name { font-size: 20px; }
  #stageSec .btn-lucky { font-size: 40px; height: clamp(84px, 6vh, 118px); }
  #stageSec .stage-note { font-size: 15px; }
}

@media (min-width: 3400px) {
  :root { --stagebar-h: clamp(300px, 15vh, 400px); }
  .brand-txt h1 { font-size: 54px; }
  .brand-txt p { font-size: 22px; }
  .brand-mark { width: 84px; height: 84px; font-size: 25px; }
  .zone-pick { height: 72px; font-size: 25px; }
  .pool-chip { font-size: 25px; }
  .sec-head h2 { font-size: 44px; }
  .prize-name { font-size: 30px; }
  .prize-code, .prize-model { font-size: 22px; }
  .tier-badge { font-size: 22px; }
  .prize-foot .stat span { font-size: 21px; }
  .prize-foot .stat b { font-size: 34px; }
  .pool-center .pool-num { font-size: clamp(150px, 4.4vw, 210px); }
  .pool-center .pool-label { font-size: 25px; }
  .pool-center .pool-sub { font-size: 23px; }
  .pool-side .k { font-size: 22px; }
  .pool-side .v { font-size: 50px; }
  .rule-list li { font-size: 27px; }
  .rule-list li .no { width: 44px; height: 44px; font-size: 21px; }
  .feed-row .who .nm { font-size: 27px; }
  .feed-row .who .no { font-size: 21px; }
  .feed-row .zone-tag { font-size: 19px; }
  .feed-row .res .gname { font-size: 25px; }
  .feed-row .time { font-size: 20px; }
  .feed-search input { height: 70px; font-size: 24px; }
  .feed-tools button { height: 70px; font-size: 22px; }
  #stageSec .stage-title { font-size: 58px; }
  #stageSec .stage-desc { font-size: 25px; }
  #stageSec .stage-zone { font-size: 23px; }
  #stageSec .stage-window .sw-name { font-size: 26px; }
  #stageSec .btn-lucky { font-size: 52px; height: clamp(110px, 6vh, 150px); }
  #stageSec .stage-note { font-size: 19px; }
}


/* ===================================================================
   v2.1 细节增强层：开奖动画质感 + 结果明细专业度
   （追加于文件末尾，依赖上方变量，勿删）
   =================================================================== */

/* --- 动画层：外圈刻度光环 + 呼吸脉冲，强化"开奖机"质感 --- */
.draw-overlay::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(80vh, 780px);
  height: min(80vh, 780px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 160, .1) 0%, rgba(255, 225, 160, 0) 62%);
  box-shadow:
    0 0 0 1px rgba(255, 226, 168, .16),
    0 0 0 22px rgba(255, 226, 168, .035),
    inset 0 0 90px rgba(255, 205, 120, .14);
  pointer-events: none;
  animation: ov-halo 1.5s ease-in-out infinite;
}
@keyframes ov-halo {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.035); }
}

/* --- 动画层：奖品框斜向扫光，制造高速滚动的高光反射 --- */
.ov-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, .58) 48%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-130%);
  animation: ov-sheen 1.1s linear infinite;
}
@keyframes ov-sheen { to { transform: translateX(130%); } }

/* --- 开奖明细：交替底纹 + 左侧等级色条，提升专业度与可扫读性 --- */
.result-item { border-left: 3px solid transparent; }
.result-item:not(.is-top):nth-child(odd) { background: rgba(255, 255, 255, .028); }
.result-item.is-top { border-left-color: var(--gold); }
.result-item.is-lose { border-left-color: rgba(255, 232, 200, .12); }


/* ===================================================================
   v2.2 修复：大屏固定操作区（.stage）遮挡下方内容
   —— 为文档预留与固定操作区等高的底部空隙，保证「抽奖规则」
      「最近中奖动态」滚动到底时可完整显示、不被主舞台压住。
   =================================================================== */
@media (min-width: 1280px) {
  body { padding-bottom: 19.5vh; }
  .page, .wrap { padding-bottom: 0; }
}
