:root {
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "STHeiti", "Microsoft YaHei", serif;

  /* ---- 盛世开门红·国典红金色彩矩阵 ---- */
  --bg-crimson-bright: #b81427;
  --bg-crimson-mid: #7e0c1b;
  --bg-crimson-deep: #480510;
  --bg-crimson-solid: #200206;

  --champagne-highlight: #fffdf5;
  --champagne-1: #faebd0;
  --champagne-2: #f2d48f;
  --champagne-3: #c99b46;
  --champagne-dark: #6e4d18;
  --accent-rgb: 242, 212, 143;

  --line: rgba(242, 212, 143, .2);
  --line-light: rgba(255, 253, 245, .32);
  --muted: rgba(255, 238, 222, .7);
  --text-dim: rgba(255, 238, 222, .55);

  /* 倒角拉丝双层金属边框渐变 */
  --gold-rim: linear-gradient(145deg, rgba(255, 253, 245, .7) 0%, rgba(242, 212, 143, .28) 45%, rgba(130, 88, 26, .5) 100%);
  --gold-sheen-surface: linear-gradient(165deg, rgba(255, 214, 143, .09) 0%, rgba(201, 155, 70, .02) 55%, rgba(28, 4, 10, .85) 100%);
  --gold-text-sheen: linear-gradient(180deg, #ffffff 0%, #fffdf5 20%, #fde293 54%, #e2ab46 86%, #fff6dd 100%);
  --gold-card-bg: linear-gradient(180deg, rgba(190, 26, 44, .65) 0%, rgba(132, 12, 26, .78) 100%);
  --gold-card-border: rgba(242, 212, 143, .3);
}

/* ---------- 盛典天阶顶栏（天顶微光幕墙 · 断线避让文字与图标） ---------- */
.frame {
  display: block !important;
  top: clamp(33px, 4.4vh, 48px);
  left: clamp(18px, 2vw, 36px);
  right: clamp(18px, 2vw, 36px);
  bottom: clamp(14px, 1.6vh, 24px);
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: clamp(66px, 8.8vh, 96px);
  padding: 0 clamp(18px, 2vw, 36px);
  gap: clamp(10px, 1.2vw, 20px);
  background: linear-gradient(180deg, rgba(135, 14, 28, .35) 0%, rgba(110, 10, 22, .1) 65%, transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.top-rail {
  flex: 1 1 0;
  height: 1px;
  min-width: 12px;
  background: rgba(var(--accent-rgb), .24);
  pointer-events: none;
}
.top-rail.edge {
  flex: 0 0 auto;
  width: clamp(16px, 1.6vw, 26px);
  min-width: 0;
}

.brand {
  display: flex; align-items: center; gap: clamp(10px, 1.1vw, 16px);
  min-width: 0; flex: 0 0 auto;
}
.brand-mark {
  display: none;
}
.brand-text h1 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.35vw, 24px);
  letter-spacing: .24em; margin-right: -0.24em;
  background: var(--gold-text-sheen);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .8));
  font-weight: 700; line-height: 1.15;
}
.brand-text p {
  font-family: var(--font-body);
  font-size: clamp(8px, .65vw, 11px);
  letter-spacing: .45em; margin-right: -0.45em;
  color: var(--champagne-3); opacity: .78; margin-top: 3px;
}

/* ---------- 奖项区：纯粹无框沉浸悬浮式标签 ---------- */
.prize-tabs {
  flex: 0 1 auto;
  display: inline-flex; align-items: center; justify-content: center;
  gap: clamp(6px, .8vw, 12px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow-x: auto; scrollbar-width: none;
}
.prize-tabs::-webkit-scrollbar { display: none; }
.ptab {
  position: relative;
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: clamp(5px, .6vh, 8px) clamp(12px, 1.05vw, 20px);
  border-radius: 3px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted); font: inherit;
  font-size: clamp(12px, .82vw, 15px); letter-spacing: .1em;
  cursor: pointer; transition: all .22s cubic-bezier(.16, 1, .3, 1); white-space: nowrap;
}
.ptab:hover {
  color: var(--champagne-highlight);
  background: rgba(var(--accent-rgb), .08);
}
.ptab.active {
  color: #ffffff;
  font-weight: 600;
  border-color: rgba(var(--accent-rgb), .65);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .26) 0%, rgba(125, 14, 28, .78) 100%);
  box-shadow: 0 2px 8px rgba(60, 4, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .36), 0 0 14px rgba(var(--accent-rgb), .22);
}
.ptab.active::after {
  content: ""; position: absolute; bottom: -1px; left: 16%; right: 16%; height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, #fffdf5 50%, transparent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), .9);
}
.ptab.done {
  opacity: .85;
  color: rgba(var(--accent-rgb), .65);
}
.ptab.done:hover {
  color: var(--champagne-highlight);
  opacity: 1;
}
.ptab-check {
  color: var(--champagne-highlight);
  font-weight: 700;
  margin-right: 2px;
  text-shadow: 0 0 6px rgba(var(--accent-rgb), .8);
}
.ptab em { font-style: normal; font-size: .82em; opacity: .6; font-variant-numeric: tabular-nums; }

/* ---------- 右侧操作区：去胶囊化，4px 微倒角黑晶方牌 ---------- */
.top-actions {
  display: flex; align-items: center; gap: clamp(8px, .8vw, 12px); flex: 0 0 auto;
}
.demo-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 4px;
  border: 1px dashed rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .06);
  color: var(--champagne-2);
  font-size: clamp(10px, .75vw, 12px); letter-spacing: .12em;
  white-space: nowrap;
}
.demo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 12px; border-radius: 4px;
  border: 1px solid rgba(var(--accent-rgb), .28);
  background: rgba(110, 12, 24, .55);
  color: var(--champagne-highlight);
  font-size: clamp(11px, .78vw, 13px); letter-spacing: .08em;
  backdrop-filter: blur(8px);
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(60, 4, 12, .3);
}
.demo-btn:hover {
  border-color: rgba(var(--accent-rgb), .6);
  background: rgba(var(--accent-rgb), .14);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(60, 4, 12, .4), 0 0 12px rgba(var(--accent-rgb), .2);
  transform: translateY(-1px);
}
.icon-btn {
  width: clamp(34px, 2.4vw, 42px); height: clamp(34px, 2.4vw, 42px);
  display: grid; place-items: center;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(var(--accent-rgb), .72);
  font-size: clamp(14px, 1.15vw, 19px);
  transition: all .22s cubic-bezier(.16, 1, .3, 1);
  cursor: pointer;
  box-shadow: none;
}
.icon-btn:hover {
  border-color: rgba(var(--accent-rgb), .55);
  background: rgba(110, 12, 24, .55);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(60, 4, 12, .35), 0 0 14px rgba(var(--accent-rgb), .25);
  transform: translateY(-1px);
}
.icon-btn.muted { opacity: .45; }
.icon-btn.muted:hover { opacity: 1; }
.icon-btn svg { display: block; }
.sync-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: #52c41a; box-shadow: 0 0 8px rgba(82, 196, 26, .7); opacity: .85;
}
.sync-dot.offline { background: var(--red); box-shadow: 0 0 10px rgba(226, 58, 78, .6); }
.sync-dot.busy { animation: blink 1s infinite; }

.demo-banner {
  position: fixed; z-index: 9; top: clamp(70px, 9.6vh, 104px); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  padding: 7px 16px; border-radius: 4px;
  border: 1px solid rgba(var(--accent-rgb), .28);
  background: rgba(14, 5, 9, .92); backdrop-filter: blur(12px);
  font-size: clamp(11px, .82vw, 13px); color: var(--champagne-2); letter-spacing: .06em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6), 0 0 16px rgba(var(--accent-rgb), .1);
}
.demo-banner button {
  background: none; border: none; color: var(--champagne-highlight);
  cursor: pointer; font: inherit; text-decoration: underline; font-weight: 500;
}
.demo-banner .x {
  color: var(--muted); text-decoration: none; padding: 0 4px;
}
.demo-banner .x:hover { color: #ffffff; }

/* ---------- 舞台：全宽居中 ---------- */
.stage {
  right: 0;
  padding: 0 clamp(22px, 3vw, 100px);
  gap: clamp(12px, 2vh, 28px);
}
.stage-head { display: none !important; }

/* 主舞台中央殿堂级鎏金奖项标头（纯字裸显，零框浮空） */
.stage-prize-crown {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 0 0 auto;
  margin-top: clamp(-36px, -4.5vh, -68px);
  margin-bottom: clamp(26px, 3.8vh, 56px);
  animation: stage-crown-reveal .55s cubic-bezier(.16, 1, .3, 1) both;
  user-select: none;
  pointer-events: none;
}
@keyframes stage-crown-reveal {
  0% { opacity: 0; transform: translateY(-16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.stage-prize-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 3.8vw, 64px);
  font-weight: 800;
  letter-spacing: .45em; margin-right: -0.45em;
  margin: 0;
  line-height: 1.15;
  background: var(--gold-text-sheen);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .88)) drop-shadow(0 0 22px rgba(var(--accent-rgb), .55));
}
.stage-prize-line {
  width: clamp(130px, 16vw, 260px);
  height: 1.5px;
  margin-top: clamp(8px, 1.2vh, 16px);
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), .2) 18%, rgba(255, 238, 185, .9) 50%, rgba(var(--accent-rgb), .2) 82%, transparent 100%);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), .5);
}
.tag { font-size: clamp(11px, .85vw, 18px); padding: clamp(5px, .5vw, 10px) clamp(12px, 1vw, 22px); letter-spacing: .24em; margin-right: -0.24em; }
.tag.dim { letter-spacing: .14em; margin-right: -0.14em; }

/* ---------- 待机页 ---------- */
.idle-card { gap: clamp(8px, 1.3vh, 22px); }
.eyebrow { letter-spacing: .4em; margin-right: -0.4em; color: var(--text-dim); font-size: clamp(10px, .8vw, 16px); }
.prize-name {
  font-size: clamp(52px, 11vmin, 330px);
  background: linear-gradient(135deg, #fffaee 0%, #fae6b2 26%, #ffffff 48%, #e5b658 75%, #fff2d0 100%);
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 36px rgba(var(--shadow-rgb), .38));
  animation: gold-shimmer 7s ease-in-out infinite;
}
@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.remain-row { display: flex; align-items: baseline; gap: clamp(8px, 1vw, 18px); line-height: 1; }
.remain-num {
  font-family: var(--font-display);
  font-size: clamp(54px, 8.4vmin, 240px);
  background: var(--gold-text-sheen);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  filter: drop-shadow(0 0 38px rgba(var(--shadow-rgb), .45));
  font-variant-numeric: tabular-nums;
}
.remain-unit { font-size: clamp(13px, 1.1vw, 26px); letter-spacing: .24em; margin-right: -0.24em; color: var(--text-dim); }
.idle-meta { font-size: clamp(11px, .9vw, 19px); letter-spacing: .16em; margin-right: -0.16em; color: var(--muted); }
.idle-hint { font-size: clamp(12px, 1vw, 20px); }

.last-recap {
  margin-top: clamp(6px, 1.4vh, 20px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(6px, .6vw, 12px);
  max-width: min(92%, 1400px);
  font-size: clamp(11px, .85vw, 17px); letter-spacing: .06em;
  color: var(--muted);
}
.recap-tag {
  color: var(--accent-3); border: 1px solid rgba(var(--accent-rgb), .3);
  padding: 2px 10px; border-radius: 999px; letter-spacing: .18em;
}
.recap-dot { margin: 0 6px; opacity: .5; }

/* ---------- 结果：三种版式 ---------- */
.grid { max-width: min(94vw, 3600px); --gap: clamp(10px, 1.4vw, 26px); }

/* 1-3 人：典雅名牌，比例沉稳 */
.grid.hero { --gap: clamp(24px, 3.2vw, 110px); }
.grid.hero .slot {
  max-width: min(29vw, 1100px);
  min-height: clamp(220px, 32vh, 680px);
  padding: clamp(26px, 2.8vw, 120px);
  border-radius: clamp(16px, 1.4vw, 32px);
  background: var(--gold-card-bg);
}
.grid.hero .w-name { font-size: clamp(48px, 8vmin, 220px); }
.grid.hero .w-dept { font-size: clamp(12px, 1vw, 26px); letter-spacing: .3em; }
.grid.hero .roller .reel-name { font-size: clamp(48px, 9.6vmin, 250px); height: 1.3em; line-height: 1.3em; }

/* 1 人：王者荣耀，主咖特写 */
.grid.hero.single { max-width: min(88vw, 2400px); }
.grid.hero.single .slot {
  max-width: min(52vw, 1600px);
  min-height: clamp(320px, 44vh, 1080px);
  padding: clamp(36px, 3.6vw, 140px);
  border-radius: clamp(20px, 1.8vw, 40px);
}
.grid.hero.single .w-name { font-size: clamp(72px, 12.8vmin, 320px); letter-spacing: .08em; }
.grid.hero.single .w-dept { font-size: clamp(14px, 1.25vw, 30px); letter-spacing: .36em; margin-top: 6px; }
.grid.hero.single .roller .reel-name { font-size: clamp(66px, 12.5vmin, 320px); }

/* 4-8 人：荣誉卡片，限制拉伸防止过扁 */
.grid.medium { --gap: clamp(14px, 1.8vw, 32px); }
.grid.medium .slot {
  max-width: 460px;
  min-height: clamp(130px, 19vh, 260px);
  border-radius: clamp(14px, 1.1vw, 24px);
  padding: clamp(14px, 1.5vw, 28px);
}
.grid.medium .w-name { font-size: clamp(32px, 4.4vmin, 90px); }
.grid.medium .w-dept { font-size: clamp(11px, .92vw, 18px); letter-spacing: .2em; }
.grid.medium .roller .reel-name { font-size: clamp(28px, 4.4vmin, 104px); }

/* 9 人以上：金榜题名 */
.grid.board .slot {
  max-width: none; display: flex; align-items: center;
  min-height: clamp(58px, 7.5vh, 126px);
  padding: clamp(8px, .9vw, 18px) clamp(16px, 1.6vw, 34px);
  border-radius: clamp(10px, .9vw, 20px);
}
.grid.board .winner { flex-direction: row; width: 100%; gap: clamp(12px, 1.2vw, 24px); }
.grid.board .w-name { font-size: clamp(24px, 3.8vmin, 96px); font-weight: 800; }
.grid.board .w-dept { margin-left: auto; font-size: clamp(11px, .9vw, 18px); letter-spacing: .18em; }
.grid.board .w-idx { display: inline-flex; }
.grid.board .roller .reel-name { font-size: clamp(24px, 3.7vmin, 96px); }

.w-idx {
  display: none;
  align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
  color: var(--btn-ink);
  background: linear-gradient(135deg, #fff7dc, #d9ab55);
  font-weight: 800;
  border-radius: 6px;
  font-size: clamp(11px, .9vw, 18px);
  min-width: clamp(24px, 1.8vw, 36px);
  height: clamp(20px, 1.5vw, 30px);
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

/* ---------- 滚轴（上下渐进式有机景深虚化，无任何硬接缝，仅凸显正中王者） ---------- */
.roller {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; contain: paint;
}

/* 字体等级基准，使 1em 精确匹配各版式人名字号 */
.grid.hero .roller { font-size: clamp(48px, 9.6vmin, 250px); }
.grid.hero.single .roller { font-size: clamp(66px, 12.5vmin, 320px); }
.grid.medium .roller { font-size: clamp(28px, 4.4vmin, 104px); }
.grid.board .roller { font-size: clamp(24px, 3.7vmin, 96px); }

/* 停用一切上下局部虚化与遮蔽层，保持卡片与字迹全局恒定通透高亮，绝不变暗 */
.roller::before, .roller::after {
  display: none !important;
}

/* 两侧指向正中选区的小金标指针（左右对称指心，强化焦点指向性） */
.roller-pointer {
  position: absolute;
  top: 50%;
  width: clamp(8px, .85vw, 14px);
  height: clamp(14px, 1.35vw, 22px);
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .9)) drop-shadow(0 2px 4px rgba(0, 0, 0, .85));
}
.roller-pointer.left {
  left: clamp(10px, 1.4vw, 24px);
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  background: linear-gradient(135deg, #ffffff 0%, #ffe9a6 45%, #d49f38 100%);
  animation: ptr-float-left 1.4s ease-in-out infinite;
}
.roller-pointer.right {
  right: clamp(10px, 1.4vw, 24px);
  clip-path: polygon(100% 0%, 0% 50%, 100% 100%);
  background: linear-gradient(225deg, #ffffff 0%, #ffe9a6 45%, #d49f38 100%);
  animation: ptr-float-right 1.4s ease-in-out infinite;
}
@keyframes ptr-float-left {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(3px); }
}
@keyframes ptr-float-right {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-3px); }
}

/* 正中心专属圆形流金聚光灯（全程恒定充沛暖光，把正中名字照得清澈透亮） */
.roller-spotlight {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 36vw, 440px);
  height: clamp(100px, 18vh, 220px);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 230, 160, .38) 0%, rgba(var(--accent-rgb), .16) 45%, transparent 75%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 1;
}

.reel {
  position: absolute; left: 0; right: 0;
  top: 50%; margin: 0;
  display: flex; flex-direction: column; align-items: center;
  will-change: transform;
  z-index: 2;
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    transparent 100%);
  mask-image: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    transparent 100%);
}
.reel.blur { filter: none; }
.reel-name {
  font-family: var(--font-display);
  display: block; height: 1.35em; line-height: 1.35em;
  font-size: 1em; font-weight: 800; letter-spacing: .06em;
  color: #fff6df;
  background: linear-gradient(180deg, #ffffff 0%, #fff8e8 25%, #fde293 55%, #dfa844 85%, #aa7722 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .9)) drop-shadow(0 0 24px rgba(var(--accent-rgb), .85));
  text-align: center; width: 100%;
  white-space: nowrap;
}

/* 揭晓闪光与常驻鎏金光环 */
.slot.revealed {
  animation: slot-flash .85s cubic-bezier(.16, 1, .3, 1), slot-golden-glow 4s ease-in-out infinite alternate .85s;
}
@keyframes slot-flash {
  0% { transform: scale(.95); box-shadow: inset 0 0 0 rgba(var(--accent-rgb), 0); }
  30% { transform: scale(1.025); box-shadow: 0 0 110px rgba(var(--accent-rgb), .65), inset 0 0 70px rgba(var(--accent-rgb), .35); }
  100% { transform: scale(1); box-shadow: 0 0 48px rgba(var(--accent-rgb), .26), 0 18px 42px rgba(60, 4, 12, .42), inset 0 1px 0 rgba(255, 245, 220, .48), inset 0 0 28px rgba(var(--accent-rgb), .12); }
}
@keyframes slot-golden-glow {
  0% { box-shadow: 0 0 38px rgba(var(--accent-rgb), .22), 0 18px 42px rgba(60, 4, 12, .42), inset 0 1px 0 rgba(255, 245, 220, .42), inset 0 0 24px rgba(var(--accent-rgb), .08); }
  100% { box-shadow: 0 0 64px rgba(var(--accent-rgb), .38), 0 18px 42px rgba(60, 4, 12, .42), inset 0 1px 0 rgba(255, 245, 220, .55), inset 0 0 36px rgba(var(--accent-rgb), .16); }
}

/* ---------- 底栏：只留抽奖按钮 + 两个小字 ---------- */
.bottombar {
  height: clamp(118px, 16.5vh, 240px);
  padding: 0 clamp(22px, 3vw, 100px) clamp(18px, 2.6vh, 40px);
}
.bb-side {
  flex: 1 1 0;
  display: flex; align-items: center; gap: 12px;
  align-self: flex-end;
  padding-bottom: clamp(4px, .7vh, 10px);
}
.bb-side.right { justify-content: flex-end; }
.bb-mid { flex: 0 0 auto; }
.bb-stat, .bb-hint { font-size: clamp(10px, .74vw, 14px); letter-spacing: .18em; margin-right: -0.18em; color: var(--muted); }
.bb-hint { font-size: clamp(10px, .66vw, 12px); letter-spacing: .16em; margin-right: -0.16em; opacity: .52; }

/* ---------- 核心按钮：盛典级金印触控台 ---------- */
.draw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: clamp(240px, 24vw, 480px);
  height: clamp(64px, 8.6vh, 136px);
  font-size: clamp(18px, 1.8vw, 36px);
  font-weight: 800;
  border-radius: clamp(10px, 1vw, 20px);
  border: 1px solid transparent;
  padding: 0 clamp(20px, 2.2vw, 44px);
  background:
    linear-gradient(180deg, #fffcf0 0%, #f5dfa8 28%, #d9a84a 70%, #fbe9bd 100%) border-box;
  color: #2b1704;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(255, 255, 255, .3),
    inset 0 2px 0 rgba(255, 255, 255, .95),
    inset 0 -3px 6px rgba(110, 70, 10, .45);
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
}
.draw-btn:not(:disabled):hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .85),
    0 0 40px rgba(var(--accent-rgb), .45),
    inset 0 2px 0 #ffffff;
  filter: brightness(1.04);
}
.draw-btn.armed {
  animation: ceremonial-breathe 4.5s ease-in-out infinite;
}
@keyframes ceremonial-breathe {
  0%, 100% {
    box-shadow: 0 18px 48px rgba(0, 0, 0, .75), 0 0 20px rgba(var(--accent-rgb), .2), inset 0 2px 0 rgba(255, 255, 255, .9);
  }
  50% {
    box-shadow: 0 22px 56px rgba(0, 0, 0, .8), 0 0 55px rgba(var(--accent-rgb), .55), inset 0 2px 0 rgba(255, 255, 255, 1);
  }
}
.draw-btn.confirming {
  background: linear-gradient(180deg, #ffffff 0%, #fff2ce 40%, #f0cf85 100%);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .8), 0 0 65px rgba(var(--accent-rgb), .65);
  animation: confirm-pulse 1.2s ease-in-out infinite;
}
.draw-btn.view-board {
  background: linear-gradient(180deg, #fffdf8 0%, #fae8be 24%, #d9a84a 68%, #fff0cc 100%) border-box;
  animation: ceremonial-breathe 3.6s ease-in-out infinite;
  cursor: pointer;
}
.draw-btn.view-board:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .85), 0 0 50px rgba(var(--accent-rgb), .6), inset 0 2px 0 #ffffff;
}
.draw-text {
  display: inline-block;
  white-space: nowrap;
  letter-spacing: .24em;
  margin-right: -0.24em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.draw-btn.view-board .draw-text {
  letter-spacing: .18em;
  margin-right: -0.18em;
}

/* ---------- 抽屉 / 浮层放大到 4K ---------- */
.drawer { width: min(840px, 96vw); }
.ov-card { width: min(620px, 92vw); }

/* ---------- 设置抽屉与弹窗按钮（精致 8px 微圆角，取代臃肿大胶囊） ---------- */
.btn {
  border-radius: 8px !important;
  font-family: inherit;
  font-size: clamp(12px, .95vw, 14px);
  padding: 8px 16px;
  letter-spacing: .08em;
  font-weight: 500;
  transition: all .18s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.btn.gold {
  background: linear-gradient(180deg, #fce59c 0%, #d89f38 100%) !important;
  color: #261400 !important;
  border: 1px solid rgba(255, 235, 170, .5) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 0 16px rgba(var(--accent-rgb), .22), inset 0 1px 0 rgba(255, 255, 255, .6) !important;
  font-weight: 700;
}
.btn.gold:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4), 0 0 24px rgba(var(--accent-rgb), .38), inset 0 1px 0 rgba(255, 255, 255, .8) !important;
  transform: translateY(-1px);
}
.btn.danger {
  background: rgba(220, 60, 60, .12) !important;
  border: 1px solid rgba(240, 80, 80, .42) !important;
  color: #ff9e9e !important;
}
.btn.danger:hover:not(:disabled) {
  background: rgba(220, 60, 60, .24) !important;
  border-color: rgba(255, 100, 100, .75) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(220, 60, 60, .25) !important;
  transform: translateY(-1px);
}
.btn.danger:disabled {
  opacity: .3;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .brand-text p { display: none; }
  .demo-pill { display: none; }
  .prize-tabs { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .ptab em { display: none; }
  .bb-hint { display: none; }
}
@media (max-height: 720px) {
  .grid.hero .slot { min-height: clamp(220px, 38vh, 420px); }
  .grid.hero .w-name { font-size: clamp(48px, 7.4vmin, 180px); }
}

/* ---------- 大名单分页 ---------- */
.grid.many .slot.revealed { animation: none; }
.grid.board { align-content: center; }

.pager {
  display: flex; align-items: center; gap: clamp(8px, .8vw, 16px);
  margin-top: clamp(4px, .6vh, 12px);
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(14, 5, 8, .6);
  border: 1px solid rgba(var(--accent-rgb), .24);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
}
.pager-dot {
  width: clamp(7px, .7vw, 16px); height: clamp(7px, .7vw, 16px);
  border-radius: 50%; background: rgba(var(--accent-rgb), .22);
  transition: .3s;
}
.pager-dot.on { background: var(--accent-2); box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); }
.pager-text {
  margin-left: clamp(4px, .6vw, 12px);
  font-size: clamp(10px, .8vw, 16px); letter-spacing: .18em; color: var(--muted);
}

/* ---------- 盛典级赤金琉璃奖牌卡片：通透中国红磨砂与拉丝金光 ---------- */
.slot {
  position: relative;
  border-radius: clamp(14px, 1.2vw, 26px);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(168, 22, 38, .68), rgba(116, 10, 22, .78)) padding-box,
    var(--gold-rim) border-box;
  box-shadow:
    0 18px 44px rgba(60, 4, 12, .45),
    0 0 24px rgba(210, 30, 48, .22),
    inset 0 1px 0 rgba(255, 245, 220, .3),
    inset 0 0 30px rgba(var(--accent-rgb), .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s, border-color .35s, filter .35s, opacity .35s;
}
.slot.revealed {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(196, 28, 48, .76), rgba(136, 12, 28, .84)) padding-box,
    linear-gradient(145deg, rgba(255, 253, 245, .92) 0%, rgba(255, 220, 140, .6) 50%, rgba(190, 128, 36, .85) 100%) border-box;
  box-shadow:
    0 0 46px rgba(255, 214, 107, .35),
    0 18px 42px rgba(60, 4, 12, .42),
    inset 0 1px 0 rgba(255, 245, 220, .55),
    inset 0 0 36px rgba(var(--accent-rgb), .16);
}
.slot.spinning {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(188, 24, 44, .74), rgba(128, 12, 26, .82)) padding-box,
    linear-gradient(145deg, rgba(255, 253, 245, .88) 0%, rgba(255, 220, 140, .58) 50%, rgba(190, 128, 36, .82) 100%) border-box;
  box-shadow:
    0 0 48px rgba(255, 214, 107, .35),
    0 18px 42px rgba(60, 4, 12, .42),
    inset 0 1px 0 rgba(255, 245, 220, .5),
    inset 0 0 36px rgba(var(--accent-rgb), .15);
}
.slot.awaiting {
  border: 1px dashed rgba(var(--accent-rgb), .32);
  background: rgba(120, 12, 24, .28);
  box-shadow: inset 0 2px 14px rgba(70, 4, 14, .32);
  opacity: .8;
}
.slot.awaiting::before {
  display: none !important;
}
.slot-awaiting {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(6px, 1.2vh, 14px);
  user-select: none;
}
.grid.board .slot-awaiting {
  flex-direction: row;
  justify-content: flex-start;
  gap: clamp(12px, 1.2vw, 24px);
}
.await-idx {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.3vw, 24px);
  color: var(--champagne-3);
  letter-spacing: .12em;
  opacity: .75;
}
.grid.board .await-idx {
  display: inline-flex;
  align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  border: 1px solid rgba(var(--accent-rgb), .25);
  border-radius: 6px;
  font-size: clamp(11px, .9vw, 18px);
  min-width: clamp(24px, 1.8vw, 36px);
  height: clamp(20px, 1.5vw, 30px);
}
.await-text {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.05vw, 18px);
  letter-spacing: .32em; margin-right: -0.32em;
  color: var(--muted);
  opacity: .65;
}
.grid.hero .slot::before,
.grid.medium .slot::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 50%; height: 1.5px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9) 50%, transparent);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .9);
}
.w-rule {
  position: relative;
  width: clamp(42px, 5.5vw, 92px); height: 1px;
  margin: clamp(7px, 1.1vh, 15px) 0;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .75), transparent);
}
.grid.board .w-rule { display: none; }
.w-name {
  font-family: var(--font-display);
  background: var(--gold-text-sheen);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .85)) drop-shadow(0 0 14px rgba(var(--accent-rgb), .48));
  font-weight: 800;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
}
.grid.hero .w-name, .grid.hero.single .w-name {
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .9)) drop-shadow(0 0 22px rgba(var(--accent-rgb), .55));
}
.w-dept {
  color: #fcedce;
  opacity: .95;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(60, 4, 12, .55);
}
.grid.hero .w-dept { opacity: .96; font-weight: 500; }

/* ---------- 背景：盛世开门红 · 全屏通透无死角华堂赤焰流金 ---------- */
.bg-base {
  background:
    radial-gradient(130% 90% at 50% 20%, #c4182d 0%, #a31224 35%, #7e0d1c 65%, #560813 100%);
}
.bg-base::before, .bg-base::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45vw;
  pointer-events: none;
  filter: blur(70px);
  opacity: .75;
}
.bg-base::before {
  left: -8vw;
  background: radial-gradient(ellipse at center, rgba(200, 24, 45, .85) 0%, rgba(150, 15, 30, .45) 50%, transparent 80%);
}
.bg-base::after {
  right: -8vw;
  background: radial-gradient(ellipse at center, rgba(200, 24, 45, .85) 0%, rgba(150, 15, 30, .45) 50%, transparent 80%);
}

.bg-glow {
  background: conic-gradient(from 180deg at 50% 50%,
    rgba(255, 225, 140, .22) 0deg, transparent 60deg,
    rgba(255, 60, 80, .28) 120deg, transparent 180deg,
    rgba(255, 225, 140, .2) 250deg, transparent 310deg,
    rgba(255, 225, 140, .22) 360deg);
  filter: blur(60px);
  opacity: .95;
  animation: spin 95s linear infinite;
}
.bg-grain { opacity: .04; }
/* 彻底移除导致左右两侧严重发黑的暗角遮罩，使全屏红韵通透舒展 */
.bg-vignette {
  display: none !important;
}
.stage::before {
  background: radial-gradient(ellipse 70% 50% at 50% 46%, rgba(255, 226, 145, .22), rgba(215, 25, 45, .12) 55%, transparent 75%);
}

/* 舞台双层鎏金画框与四角金饰（顶边由顶栏 .top-rail 断线衔接，有字有图标处自动截断留白） */
.frame-line {
  border-color: rgba(var(--accent-rgb), .24);
  border-top: none;
  border-radius: 0 0 6px 6px;
}
.frame-line.inner {
  border-color: rgba(var(--accent-rgb), .09);
  border-top: none;
  inset: 7px;
  border-radius: 0 0 4px 4px;
}
.corner {
  width: clamp(14px, 1.4vw, 22px);
  height: clamp(14px, 1.4vw, 22px);
  opacity: .88;
}
.corner::before {
  border-color: rgba(var(--accent-rgb), .65);
  border-width: 1.5px;
}

/* ---------- 顶栏 tab：只留名称 + 完成勾 ---------- */
.ptab-check { color: var(--accent-2); margin-right: 6px; opacity: .85; }
.ptab.done { opacity: .42; }
.ptab.done:hover { opacity: .7; }

/* ---------- 底栏：中奖榜入口 ---------- */
.bb-link {
  background: none; border: none; padding: 6px 2px;
  color: var(--muted); font: inherit;
  font-size: clamp(10px, .82vw, 17px); letter-spacing: .2em;
  cursor: pointer; transition: .2s; white-space: nowrap;
}
.bb-link:hover { color: var(--accent-2); }
.bb-hint.dim { opacity: .3; transition: opacity .5s; }

/* ---------- 抽奖按钮：去扫光、加确认态与进度条 ---------- */
.draw-btn::after { display: none; }
.draw-btn.confirming {
  background: linear-gradient(180deg, #fff8e2, #ffd98a);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .55), 0 0 60px rgba(var(--accent-rgb), .5);
  animation: confirm-pulse .9s ease-in-out infinite;
}
@keyframes confirm-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .4), 0 0 40px rgba(var(--accent-rgb), .35); }
  50% { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .7), 0 0 70px rgba(var(--accent-rgb), .55); }
}
.draw-bar {
  position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, #d9ab55, #fff2c8);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .7);
  transition: width .08s linear;
}

/* ---------- 中奖播报样式 ---------- */
.toast.success {
  background: linear-gradient(180deg, rgba(58, 14, 8, .96), rgba(30, 6, 3, .96));
  border-color: rgba(var(--accent-rgb), .7);
  color: #fff4d2;
  font-size: clamp(13px, 1.05vw, 21px);
  padding: clamp(10px, 1vh, 16px) clamp(20px, 2vw, 34px);
  letter-spacing: .06em;
  box-shadow: 0 0 46px rgba(var(--accent-rgb), .28), 0 12px 36px rgba(0, 0, 0, .5);
  animation: toast-in .3s cubic-bezier(.2, 1.2, .3, 1), toast-glow 2.4s ease-in-out .3s;
}
@keyframes toast-glow {
  0%, 100% { box-shadow: 0 0 46px rgba(var(--accent-rgb), .28), 0 12px 36px rgba(0, 0, 0, .5); }
  50% { box-shadow: 0 0 70px rgba(var(--accent-rgb), .45), 0 12px 36px rgba(0, 0, 0, .5); }
}

/* ---------- 抽取转场闪光（彻底移除白屏闪退，确保全流程恒亮无光度骤降） ---------- */
.draw-flash {
  display: none !important;
}



/* ---------- 中奖公布平滑金光过渡（原地绽放，绝不跳字移位） ---------- */
.winner {
  position: relative;
  z-index: 1;
}
.slot.revealed .winner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: clamp(140px, 20vw, 340px);
  height: clamp(80px, 13vh, 180px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 218, 145, .42) 0%, rgba(217, 168, 74, .16) 45%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  z-index: -1;
}
.slot.revealed .winner {
  animation: winner-reveal .5s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes winner-reveal {
  0% { opacity: .9; transform: scale(.96); }
  100% { opacity: 1; transform: scale(1); }
}
.slot.revealed .w-rule,
.slot.revealed .w-dept {
  animation: winner-sub-in .45s ease-out both .08s;
}
@keyframes winner-sub-in {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: none; }
}

/* ---------- 中奖榜（全屏电影级盛典巨幕 · 方案一极简国潮流金长卷） ---------- */
.board-mask {
  position: fixed; inset: 0; z-index: 100;
  width: 100vw; height: 100vh;
  background:
    radial-gradient(130% 95% at 50% 15%, #be162a 0%, #9b1021 38%, #760b19 72%, #520712 100%);
  display: flex; flex-direction: column;
  padding: 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

/* 电影转场淡入特效 */
.board-cinema {
  animation: cinema-fade-in .85s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cinema-fade-in {
  0% {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(10px) brightness(1.25);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}

.cinema-ambient-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(100% 60% at 50% -5%, rgba(255, 224, 145, .24) 0%, transparent 65%),
    radial-gradient(80% 70% at 50% 100%, rgba(180, 22, 42, .35) 0%, transparent 80%);
  opacity: .92;
  animation: cinema-glow-breathe 8s ease-in-out infinite alternate;
}
@keyframes cinema-glow-breathe {
  0% { opacity: .75; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.02); }
}

.cinema-beam-top {
  position: absolute; top: 0; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), .3) 25%, rgba(255, 235, 175, .9) 50%, rgba(var(--accent-rgb), .3) 75%, transparent 100%);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), .75);
  pointer-events: none;
  animation: beam-sweep 1.2s ease-out both;
}
@keyframes beam-sweep {
  0% { opacity: 0; transform: scaleX(0.4); }
  100% { opacity: 1; transform: scaleX(1); }
}

.board-panel.cinema-panel {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  display: flex; flex-direction: column;
  background: transparent;
  border: none; border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* 顶部盛典仪式区 */
.board-head.cinema-head {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2vh, 24px) clamp(28px, 4vw, 72px) clamp(10px, 1.4vh, 18px);
  border-bottom: 1px solid rgba(var(--accent-rgb), .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035) 0%, transparent 100%);
  position: relative;
  animation: cinema-head-drop .7s cubic-bezier(.16, 1, .3, 1) .1s both;
}
@keyframes cinema-head-drop {
  0% { opacity: 0; transform: translateY(-16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.board-head::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .65) 50%, transparent);
}
.cinema-main-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 36px);
  letter-spacing: .35em; margin-right: -0.35em; margin-bottom: 2px;
  background: var(--gold-text-sheen);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 2px 20px rgba(var(--shadow-rgb), .5));
}
.board-subtitle {
  font-family: var(--font-body);
  font-size: clamp(12px, .9vw, 15px);
  letter-spacing: .22em; margin: 0;
  color: var(--champagne-3);
  opacity: .85;
}

.board-head-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
}
.board-export-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 2.6vw, 44px);
  height: clamp(36px, 2.6vw, 44px);
  background: transparent;
  border: 1px solid transparent;
  color: rgba(var(--accent-rgb), .74);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
  transition: all .22s cubic-bezier(.16, 1, .3, 1);
  user-select: none;
}
.board-export-btn:hover:not(:disabled) {
  background: rgba(110, 12, 24, .55);
  border-color: rgba(var(--accent-rgb), .65);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(60, 4, 12, .35), 0 0 16px rgba(var(--accent-rgb), .3);
}
.board-export-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
  box-shadow: none;
}
.board-export-btn svg {
  width: clamp(16px, 1.2vw, 20px);
  height: clamp(16px, 1.2vw, 20px);
  stroke: currentColor;
  flex-shrink: 0;
}
.board-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 2.6vw, 44px);
  height: clamp(36px, 2.6vw, 44px);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  color: rgba(var(--accent-rgb), .74);
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1;
  padding: 0;
  border-radius: 6px;
  box-shadow: none;
  transition: all .22s cubic-bezier(.16, 1, .3, 1);
}
.board-close:hover {
  color: #ffffff;
  border-color: rgba(var(--accent-rgb), .6);
  background: rgba(110, 12, 24, .55);
  box-shadow: 0 4px 14px rgba(60, 4, 12, .35), 0 0 14px rgba(var(--accent-rgb), .25);
  transform: translateY(-1px);
}

/* 4联流金长卷舞台（殿堂神柱 · 绢帛光衬） */
.scroll-stage {
  flex: 1 1 auto;
  height: 100%; min-height: 0;
  padding: clamp(8px, 1.2vh, 18px) clamp(20px, 3vw, 56px) clamp(16px, 2.2vh, 28px);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-width: min(97vw, 2560px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.scroll-columns {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(var(--col-count, 4), 1fr);
  gap: 0;
  width: 100%;
  position: relative;
}

/* 单根流金长卷（彻底无框、无底色容器、纯粹通透空间） */
.scroll-column {
  height: 100%; min-height: 0;
  display: flex; flex-direction: column;
  position: relative;
  padding: 0 clamp(8px, 1.2vw, 20px);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  animation: cinema-col-reveal .85s cubic-bezier(.16, 1, .3, 1) both;
}
.scroll-column.hero-col {
  background: transparent;
  border: none;
  box-shadow: none;
}
.scroll-column.col-1 { animation-delay: .18s; }
.scroll-column.col-2 { animation-delay: .26s; }
.scroll-column.col-3 { animation-delay: .34s; }
.scroll-column.col-4 { animation-delay: .42s; }

@keyframes cinema-col-reveal {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 卷与卷之间仅有一道若隐若现的 1 像素流金垂线（彻底替代厚重边框） */
.scroll-column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 6%; bottom: 6%; width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(var(--accent-rgb), .1) 15%, rgba(var(--accent-rgb), .28) 50%, rgba(var(--accent-rgb), .1) 85%, transparent 100%);
  pointer-events: none;
}

/* 顶部流金聚光微芒（舞台光晕） */
.col-spotlight {
  position: absolute; top: 0; left: 10%; right: 10%; height: clamp(80px, 16vh, 180px);
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), .32) 0%, rgba(var(--accent-rgb), .06) 50%, transparent 80%);
}
.hero-col .col-spotlight {
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), .45) 0%, rgba(var(--accent-rgb), .1) 50%, transparent 80%);
}

/* 卷顶奖项标头（璀璨鎏金书法题头） */
.col-crown {
  flex: 0 0 auto;
  text-align: center;
  padding: clamp(14px, 2vh, 26px) clamp(6px, .8vw, 12px) clamp(10px, 1.4vh, 16px);
  position: relative;
}
.col-prize-name {
  font-family: var(--font-display);
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 800;
  letter-spacing: .28em; margin-right: -0.28em;
  margin: 0;
  background: var(--gold-text-sheen);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .7)) drop-shadow(0 0 14px rgba(var(--accent-rgb), .35));
}
.hero-col .col-prize-name {
  font-size: clamp(28px, 2.35vw, 40px);
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .8)) drop-shadow(0 0 18px rgba(var(--accent-rgb), .45));
}

/* 纵向题名卷身 */
.col-roll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  justify-content: space-evenly;
  padding: clamp(6px, 1vh, 14px) 0 clamp(10px, 1.5vh, 20px);
}
.col-roll::-webkit-scrollbar { width: 3px; }
.col-roll::-webkit-scrollbar-track { background: transparent; }
.col-roll::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), .2);
  border-radius: 2px;
}
.col-roll::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb), .4); }

.col-names {
  width: 100%;
  display: flex; flex-direction: column;
  justify-content: space-evenly;
  flex: 1 1 auto;
}

/* 一等奖（3人）专属居中宏大气场 */
.first-prize-col .col-roll {
  justify-content: center;
}
.first-prize-col .col-names {
  justify-content: center;
  gap: clamp(24px, 3.8vh, 54px);
  padding: clamp(20px, 2.8vh, 40px) 0;
}

/* 纯字悬浮条目（零盒子、零背景按键） */
.roll-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  padding: clamp(9px, 1.4vh, 18px) clamp(6px, .8vw, 14px);
  transition: all .24s cubic-bezier(.16, 1, .3, 1);
  user-select: none;
}
.hero-col .roll-item {
  padding: clamp(12px, 1.8vh, 22px) clamp(8px, 1vw, 16px);
}
.first-prize-col .roll-item {
  padding: clamp(18px, 2.6vh, 32px) clamp(10px, 1.2vw, 20px);
}

.roll-item:hover {
  transform: translateY(-2px);
}

.item-content {
  display: flex; align-items: baseline; justify-content: center;
  gap: clamp(10px, 1vw, 16px);
  width: 100%;
  position: relative; z-index: 1;
}
.item-seq {
  font-family: var(--font-display);
  font-size: clamp(13px, .88vw, 16px);
  color: var(--champagne-3);
  opacity: .6;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
  flex: 0 0 auto;
}
.first-prize-col .item-seq {
  font-size: clamp(16px, 1.15vw, 20px);
  opacity: .7;
}

/* 姓名烫金（璀璨高光、立体辉映、金光流动） */
.item-name {
  font-family: var(--font-display);
  letter-spacing: .22em;
  margin-right: -0.22em;
  background: var(--gold-text-sheen);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .85)) drop-shadow(0 0 14px rgba(var(--accent-rgb), .48));
  font-weight: 800;
  transition: all .25s ease;
  white-space: nowrap;
  overflow: visible !important;
}
.roll-item:hover .item-name {
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .9)) drop-shadow(0 0 20px rgba(var(--accent-rgb), .7));
}

.col-1 .item-name {
  /* 神秘大奖 (5人) 舒展字号与华彩光晕 */
  font-size: clamp(32px, 2.35vw, 44px);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .85)) drop-shadow(0 0 18px rgba(var(--accent-rgb), .54));
}
.col-2 .item-name,
.first-prize-col .item-name {
  /* 一等奖 (3人) 王者大字与尊崇金芒 */
  font-size: clamp(40px, 3.2vw, 56px);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .88)) drop-shadow(0 0 22px rgba(var(--accent-rgb), .62));
}
.col-3 .item-name {
  /* 二等奖 (6人) */
  font-size: clamp(30px, 2.3vw, 40px);
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .85)) drop-shadow(0 0 16px rgba(var(--accent-rgb), .5));
}
.col-4 .item-name {
  /* 三等奖 (9人双列) */
  font-size: clamp(26px, 1.9vw, 34px);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .85)) drop-shadow(0 0 14px rgba(var(--accent-rgb), .45));
}

/* 地区（纯字裸显，明亮香槟金加粗提亮，大屏远视清晰） */
.item-dept {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 500;
  color: #fcedce;
  opacity: .95;
  letter-spacing: .08em;
  text-shadow: 0 1px 6px rgba(60, 4, 12, .55);
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}
.first-prize-col .item-dept {
  font-size: clamp(16px, 1.15vw, 21px);
  opacity: .98;
}
.col-4 .item-dept,
.col-4 .item-seq {
  font-size: clamp(14px, .95vw, 17px);
}

/* 优雅极细的下托微光水纹线 */
.item-hairline {
  margin-top: clamp(8px, 1vh, 14px);
  width: clamp(80px, 48%, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), .15) 20%, rgba(255, 230, 160, .55) 50%, rgba(var(--accent-rgb), .15) 80%, transparent 100%);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), .2);
  position: relative; z-index: 1;
  transition: all .25s ease;
}
.first-prize-col .item-hairline {
  margin-top: clamp(10px, 1.3vh, 18px);
  width: clamp(140px, 62%, 240px);
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), .2) 20%, rgba(255, 235, 170, .75) 50%, rgba(var(--accent-rgb), .2) 80%, transparent 100%);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), .3);
}
.col-1 .item-hairline {
  width: clamp(110px, 54%, 200px);
}
.col-3 .item-hairline {
  width: clamp(95px, 50%, 170px);
}
.roll-item:hover .item-hairline {
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), .4) 20%, #ffffff 50%, rgba(var(--accent-rgb), .4) 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .5);
}

/* 三等奖多名额双列舒展 */
.col-names.dual-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(6px, .8vh, 12px) clamp(6px, .6vw, 10px);
  width: 100%;
}
.col-names.dual-flow .roll-item {
  padding: clamp(6px, .85vh, 12px) 2px;
}
.col-names.dual-flow .item-hairline {
  width: 78%;
  margin-top: clamp(6px, .8vh, 10px);
}

/* 待揭晓空态 */
.col-empty {
  flex: 1 1 auto;
  min-height: clamp(100px, 18vh, 220px);
  display: flex; align-items: center; justify-content: center;
  color: var(--champagne-1);
  font-size: clamp(16px, 1.15vw, 20px);
  letter-spacing: .3em;
  opacity: .72;
  text-align: center;
}

@media (max-width: 900px) {
  .scroll-stage { overflow-y: auto; }
  .scroll-columns { grid-template-columns: 1fr; height: auto; }
  .scroll-column:not(:last-child)::after { display: none; }
  .scroll-column {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(var(--accent-rgb), .15);
  }
}

/* ---------- 4K 大屏渲染性能与合成层保护 ---------- */
.bg-glow { will-change: transform; contain: strict; }
.roller { contain: paint; }

/* ---------- 盛典流金光尘（浮动环境微粒） ---------- */
.gold-dust {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.dust-sparkle {
  position: absolute;
  width: clamp(2px, .22vw, 4px);
  height: clamp(2px, .22vw, 4px);
  border-radius: 50%;
  background: radial-gradient(circle, #fffdf5 0%, #f4d68f 60%, transparent 100%);
  box-shadow: 0 0 12px rgba(244, 214, 143, .85);
  opacity: 0;
  will-change: transform, opacity;
}
.dust-sparkle:nth-child(1)  { left: 8%;  animation: dust-float 14s ease-in-out infinite 0.5s; }
.dust-sparkle:nth-child(2)  { left: 16%; animation: dust-float 18s ease-in-out infinite 3.2s; }
.dust-sparkle:nth-child(3)  { left: 23%; animation: dust-float 13s ease-in-out infinite 1.8s; }
.dust-sparkle:nth-child(4)  { left: 31%; animation: dust-float 16s ease-in-out infinite 5.5s; }
.dust-sparkle:nth-child(5)  { left: 39%; animation: dust-float 20s ease-in-out infinite 2.0s; }
.dust-sparkle:nth-child(6)  { left: 47%; animation: dust-float 15s ease-in-out infinite 7.1s; }
.dust-sparkle:nth-child(7)  { left: 54%; animation: dust-float 17s ease-in-out infinite 4.4s; }
.dust-sparkle:nth-child(8)  { left: 62%; animation: dust-float 13s ease-in-out infinite 0.2s; }
.dust-sparkle:nth-child(9)  { left: 69%; animation: dust-float 19s ease-in-out infinite 6.0s; }
.dust-sparkle:nth-child(10) { left: 77%; animation: dust-float 14s ease-in-out infinite 2.8s; }
.dust-sparkle:nth-child(11) { left: 84%; animation: dust-float 16s ease-in-out infinite 8.5s; }
.dust-sparkle:nth-child(12) { left: 92%; animation: dust-float 18s ease-in-out infinite 1.5s; }
.dust-sparkle:nth-child(13) { left: 12%; animation: dust-float 15s ease-in-out infinite 9.0s; }
.dust-sparkle:nth-child(14) { left: 27%; animation: dust-float 21s ease-in-out infinite 4.2s; }
.dust-sparkle:nth-child(15) { left: 43%; animation: dust-float 14s ease-in-out infinite 8.1s; }
.dust-sparkle:nth-child(16) { left: 58%; animation: dust-float 17s ease-in-out infinite 3.5s; }
.dust-sparkle:nth-child(17) { left: 73%; animation: dust-float 16s ease-in-out infinite 10.2s; }
.dust-sparkle:nth-child(18) { left: 88%; animation: dust-float 19s ease-in-out infinite 5.8s; }
.dust-sparkle:nth-child(19) { left: 35%; animation: dust-float 15s ease-in-out infinite 11.5s; }
.dust-sparkle:nth-child(20) { left: 65%; animation: dust-float 18s ease-in-out infinite 9.7s; }

@keyframes dust-float {
  0% { transform: translateY(105vh) translateX(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.65; }
  80% { opacity: 0.65; }
  100% { transform: translateY(-8vh) translateX(30px) scale(1.1); opacity: 0; }
}

.toasts { z-index: 60; }
