/* =====================================================
 * 上台盲抽 —— 样式（独立于 style.css，页面自包含）
 * ===================================================== */
:root {
  --primary: #6366f1;
  --primary-deep: #4f46e5;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --gold: #fbbf24;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e8ecf4;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(79, 70, 229, .07);
  --shadow-lg: 0 14px 38px rgba(79, 70, 229, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px; color: var(--text); line-height: 1.6;
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
code { background: #eef1f9; padding: 1px 6px; border-radius: 6px; font-size: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; box-shadow: 0 4px 14px rgba(99, 102, 241, .35);
}
.btn-outline {
  background: #fff; color: var(--primary-deep); border-color: var(--line);
  box-shadow: var(--shadow);
}
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-go {
  background: linear-gradient(135deg, var(--gold), #f97316);
  color: #fff; font-size: 20px; padding: 16px 56px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, .45);
}
.link-btn {
  background: none; border: none; cursor: pointer; font-size: 13px;
  color: var(--muted); padding: 6px 4px;
}
.link-btn:hover { color: var(--primary-deep); }
.link-btn.hl { color: var(--primary-deep); font-weight: 600; }
/* 头部次级按钮：「改标题」半透明描边，在渐变头部上清晰可见 */
.btn-head {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border: 1.5px solid rgba(255, 255, 255, .65); border-radius: 12px;
  background: rgba(255, 255, 255, .12); cursor: pointer;
  font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 1px;
  transition: transform .18s ease, background .18s ease;
}
.btn-head:hover { background: rgba(255, 255, 255, .25); transform: translateY(-2px); }
/* 「打开大屏」：醒目实心按钮 */
.btn-screen {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border: none; border-radius: 12px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, #fff, #e6e9ff);
  color: var(--primary-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-screen:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }

/* ---------- 后台 ---------- */
.manage-shell { min-height: 100vh; display: flex; flex-direction: column; }
.m-head {
  background: linear-gradient(135deg, var(--primary-deep), var(--violet));
  color: #fff; box-shadow: var(--shadow-lg);
}
.m-head-inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.m-brand { display: flex; align-items: center; gap: 12px; }
.m-logo {
  width: 42px; height: 42px; border-radius: 12px; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .18);
}
.m-title { display: block; font-size: 19px; font-weight: 700; }
.m-subtitle { display: block; font-size: 12px; opacity: .85; }
.m-page { max-width: 1080px; margin: 0 auto; padding: 26px 24px 60px; width: 100%; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card h3 { font-size: 15px; margin-bottom: 12px; }
.form-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.form-row label { flex: 0 0 76px; color: var(--muted); font-size: 13px; }
.form-row input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; outline: none;
}
.form-row input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.form-row select {
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; outline: none; background: #fff; color: var(--text); cursor: pointer;
}
.form-row select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.row-actions { display: flex; gap: 10px; margin-top: 14px; }
.hint { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.quick-tip { min-height: 20px; font-size: 12px; color: #059669; margin-bottom: 8px; }
.switch-row {
  display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 10px;
  font-size: 12px; color: var(--muted); line-height: 1.5; cursor: pointer;
}
.switch-row input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; accent-color: var(--primary); cursor: pointer; }
.danger-zone { display: flex; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }

.list-card {
  background: var(--card); border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h3 { font-size: 15px; }
.head-ops { display: flex; align-items: center; gap: 10px; }
.badge {
  display: inline-block; min-width: 22px; padding: 0 8px; border-radius: 999px;
  background: rgba(99, 102, 241, .12); color: var(--primary-deep);
  font-size: 12px; font-weight: 700; text-align: center; margin-left: 4px;
}
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-size: 12px; font-weight: 600; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .op { color: var(--primary-deep); cursor: pointer; margin-right: 10px; font-size: 13px; }
.tbl .op.danger { color: #dc2626; }
.empty { color: var(--muted); text-align: center; padding: 26px 0; }

/* ---------- 大屏 ---------- */
.screen {
  position: fixed; inset: 0; overflow: hidden;
  background: radial-gradient(1200px 700px at 20% -10%, #312e81 0%, transparent 55%),
              radial-gradient(1000px 600px at 90% 110%, #701a75 0%, transparent 55%),
              #0b1020;
  color: #e6e9f5; display: flex; flex-direction: column;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.glow-1 { width: 420px; height: 420px; background: var(--primary); top: -120px; left: -80px; }
.glow-2 { width: 380px; height: 380px; background: var(--pink); bottom: -100px; right: -60px; }
.glow-3 { width: 300px; height: 300px; background: var(--cyan); top: 45%; left: 55%; opacity: .2; }

.s-head { text-align: center; padding: 34px 20px 10px; position: relative; z-index: 2; }
.s-title {
  font-size: 52px; font-weight: 800; letter-spacing: 4px;
  background: linear-gradient(90deg, #fde68a, var(--gold), #fb923c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(251, 191, 36, .25);
}
.s-subtitle { color: #93a0c4; font-size: 16px; margin-top: 6px; }

.s-main { flex: 1; display: flex; align-items: stretch; justify-content: center; padding: 12px 40px 90px; position: relative; z-index: 2; min-height: 0; }
.s-wheel-wrap {
  position: relative; width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; min-height: 0;
}

/* ---------- 转盘 ---------- */
.wheel-area {
  position: relative; width: min(66vh, 680px, 100%); aspect-ratio: 1 / 1;
  margin: 10px 0 4px; flex-shrink: 0;
}
.wheel-pointer {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; z-index: 5;
  border-left: 19px solid transparent; border-right: 19px solid transparent;
  border-top: 34px solid var(--gold);
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, .8)) drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
}
.wheel {
  width: 100%; height: 100%; border-radius: 50%; position: relative;
  background: conic-gradient(#4f46e5 0deg 90deg, #7c3aed 90deg 180deg, #0891b2 180deg 270deg, #db2777 270deg 360deg);
  box-shadow:
    0 0 0 6px rgba(251, 191, 36, .22),
    0 0 0 10px rgba(251, 191, 36, .55),
    0 18px 60px rgba(99, 102, 241, .5),
    0 0 90px rgba(139, 92, 246, .38),
    inset 0 0 60px rgba(0, 0, 0, .3);
  will-change: transform;
}
.wheel::after {
  content: ''; position: absolute; inset: 10%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .18); pointer-events: none;
}
/* 扇区内的项目名 */
.wheel-label {
  position: absolute; transform: translate(-50%, -50%);
  color: #fff; font-weight: 800; white-space: nowrap;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .55);
  letter-spacing: .5px; pointer-events: none;
  max-width: 34%; overflow: hidden; text-overflow: ellipsis;
}
/* 转盘中心：待机 GO，中奖后显示项目 */
.wheel-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 122px; height: 122px; border-radius: 50%; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fff, #e0e7ff);
  color: var(--primary-deep); font-size: 21px; font-weight: 900; letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 5px rgba(251, 191, 36, .6);
  padding: 8px; text-align: center;
}
.wheel-center .wc-icon { font-size: 32px; line-height: 1.1; }
.wheel-center .wc-name {
  font-size: 14px; font-weight: 800; line-height: 1.25; margin-top: 3px; letter-spacing: 0;
  max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.wheel-center.won {
  background: linear-gradient(135deg, #fef3c7, #fbbf24); color: #92400e;
  animation: centerPop .5s cubic-bezier(.2, 1.5, .4, 1) both;
}
@keyframes centerPop {
  from { transform: translate(-50%, -50%) scale(.55); }
  to { transform: translate(-50%, -50%) scale(1); }
}

.s-pool-meta { text-align: center; font-size: 16px; color: #93a0c4; margin-bottom: 12px; }
.s-pool-meta b { color: var(--gold); font-size: 22px; }


.card-pool {
  flex: 1; min-height: 0; overflow-y: auto;
  display: grid; justify-content: center; align-content: start;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 16px; padding: 6px 4px 20px;
}
/* 卡池卡片：统一卡背 + 抽中 3D 翻转露出内容 */
.bcard {
  position: relative; aspect-ratio: 3 / 4.2; border-radius: 16px;
  padding: 0; text-align: center;
  perspective: 900px;
  background: linear-gradient(165deg, #2b3364, #131834 72%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: box-shadow .15s ease, transform .15s ease, opacity .3s ease, filter .3s ease;
}
/* 渐变金边：用 mask 抠出 1.5px 描边 */
.bcard::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1.5px;
  background: linear-gradient(150deg,
    rgba(251, 191, 36, .9) 0%, rgba(251, 191, 36, .12) 32%,
    rgba(139, 92, 246, .35) 62%, rgba(251, 191, 36, .75) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none; z-index: 3;
}
/* 细斜纹 */
.bcard::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 7px);
  pointer-events: none; z-index: 2;
}
/* 四角饰角 */
.bc-corner {
  position: absolute; width: 13px; height: 13px; z-index: 4;
  border: 1.5px solid rgba(251, 191, 36, .45); border-radius: 3px;
}
.bc-corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.bc-corner.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.bc-corner.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.bc-corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* 翻转内层：默认卡背朝向观众 */
.bcard-inner {
  position: absolute; inset: 0; z-index: 1;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, 1.05, .3, 1);
}
.bcard.won .bcard-inner { transform: rotateY(180deg); }

.bcard-face {
  position: absolute; inset: 0; border-radius: 15px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  overflow: hidden;
}
/* 卡背：统一图案，不露任何项目信息 */
.bcard-face.back {
  background:
    radial-gradient(circle at 50% 42%, rgba(251, 191, 36, .14), transparent 55%),
    linear-gradient(165deg, #2f3872, #141a38 74%);
}
.bcard-face.back::after {
  content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(251, 191, 36, .16);
}
.bc-back {
  width: 56%; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(26px, 3.6vmin, 38px); color: rgba(251, 191, 36, .62);
  border: 1px solid rgba(251, 191, 36, .28);
  background: radial-gradient(circle, rgba(251, 191, 36, .1), transparent 68%);
  box-shadow: 0 0 28px rgba(251, 191, 36, .14), inset 0 0 20px rgba(251, 191, 36, .08);
  text-shadow: 0 0 18px rgba(251, 191, 36, .5);
  z-index: 1;
}
/* 正面：项目内容，抽中翻转后才可见 */
.bcard-face.front { transform: rotateY(180deg); padding: 12px 10px; background: transparent; }

.bcard .bcard-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(30px, 4.4vmin, 42px); line-height: 1;
  background: radial-gradient(circle, rgba(251, 191, 36, .22), rgba(251, 191, 36, 0) 70%);
  box-shadow: inset 0 0 22px rgba(251, 191, 36, .18);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45));
}
.bcard .bcard-name {
  margin-top: 10px; font-size: 13px; font-weight: 800; color: #f1f5ff;
  letter-spacing: .5px; line-height: 1.35; max-width: 100%;
  padding: 3px 9px; border-radius: 7px;
  background: rgba(8, 11, 26, .35);
  border: 1px solid rgba(255, 255, 255, .06);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 洗牌中：非高亮卡轻微波浪浮动 */
.card-pool.shuffling .bcard:not(.spot) {
  animation: cardFloat .5s ease-in-out infinite alternate;
}
@keyframes cardFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

/* 高光扫过的卡：金边 + 呼吸脉冲 */
.bcard.spot {
  box-shadow: 0 0 0 3px rgba(251, 191, 36, .7), 0 0 34px rgba(251, 191, 36, .55);
  transform: translateY(-5px) scale(1.06);
  animation: spotPulse .4s ease-in-out infinite alternate;
  z-index: 2;
}
.bcard.spot .bcard-face.back {
  background:
    radial-gradient(circle at 50% 34%, rgba(251, 191, 36, .34), transparent 62%),
    linear-gradient(160deg, #443c86, #1c2149);
}
@keyframes spotPulse {
  from { box-shadow: 0 0 0 3px rgba(251, 191, 36, .5), 0 0 20px rgba(251, 191, 36, .4); }
  to   { box-shadow: 0 0 0 4px rgba(251, 191, 36, .95), 0 0 52px rgba(251, 191, 36, .7); }
}

/* 锁定：其余卡片变暗缩小退场，突出中奖卡 */
.card-pool.locked .bcard {
  opacity: .18; transform: scale(.92); filter: blur(1px) saturate(.35);
}
.card-pool.locked .bcard.won { opacity: 1; filter: none; z-index: 3; }

/* 中奖卡停稳：橙金爆发 */
.bcard.won {
  background:
    radial-gradient(circle at 50% 0%, rgba(251, 146, 60, .45), transparent 62%),
    linear-gradient(160deg, #6b4326, #241a33);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, .85), 0 0 80px rgba(251, 146, 60, .65);
  animation: wonBurst .6s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes wonBurst {
  0% { transform: translateY(-5px) scale(1.06); }
  50% { transform: translateY(-14px) scale(1.2) rotate(-1.5deg); }
  100% { transform: translateY(-10px) scale(1.14) rotate(0deg); }
}

/* 中奖卡炸开的彩色光点 */
.bcard .burst {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  border-radius: 50%; pointer-events: none; z-index: 5;
  box-shadow: 0 0 10px currentColor;
  animation: burstOut .85s cubic-bezier(.1, .7, .3, 1) forwards;
}
@keyframes burstOut {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); opacity: 0; }
}

.bcard.gone { opacity: 0; transform: scale(.85); pointer-events: none; }
.s-empty { text-align: center; color: #93a0c4; font-size: 22px; padding: 60px 0; }

/* 揭晓层：背后放射光束 + 一张真正的大卡片 */
.reveal {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(8, 11, 26, .85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* 放射光束 */
.reveal::before {
  content: ''; position: absolute; width: 140vmax; height: 140vmax;
  background: repeating-conic-gradient(from 0deg,
    rgba(251, 191, 36, .16) 0deg 7deg, transparent 7deg 15deg);
  animation: revealRays 12s linear infinite;
}
@keyframes revealRays { to { transform: rotate(360deg); } }
.reveal-card {
  position: relative; width: min(430px, 86vw); aspect-ratio: 3 / 4.2;
  max-height: 82vh; border-radius: 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 28px;
  background: linear-gradient(165deg, #232b52, #131830 62%);
  border: 2px solid rgba(251, 191, 36, .75);
  box-shadow: 0 0 0 6px rgba(251, 191, 36, .18),
              0 0 90px rgba(251, 191, 36, .5),
              inset 0 0 60px rgba(251, 191, 36, .1);
  overflow: hidden; z-index: 2; transform-style: preserve-3d;
  animation: revealFlip .9s cubic-bezier(.18, 1.15, .3, 1) both;
}
/* 卡片像翻牌一样从侧面转正 */
@keyframes revealFlip {
  0% { transform: perspective(1400px) rotateY(96deg) scale(.72); opacity: 0; }
  55% { transform: perspective(1400px) rotateY(-6deg) scale(1.05); opacity: 1; }
  100% { transform: perspective(1400px) rotateY(0deg) scale(1); opacity: 1; }
}
/* 中心金色光柱呼吸 */
.reveal::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 46vmax; height: 140vmax; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, .3), transparent 62%);
  pointer-events: none; z-index: 0;
  animation: lightBreath 1.8s ease-in-out infinite alternate;
}
@keyframes lightBreath {
  from { opacity: .5; transform: translate(-50%, -50%) scale(.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
/* 金边流光扫过 */
.reveal-card::after {
  content: ''; position: absolute; inset: -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%);
  animation: revealShine 2.2s ease-in-out infinite;
}
@keyframes revealShine {
  0% { transform: translateX(-70%) rotate(0deg); }
  60%, 100% { transform: translateX(70%) rotate(0deg); }
}
/* 卡片四个角的金色饰角 */
.reveal-corner {
  position: absolute; width: 34px; height: 34px; border: 3px solid var(--gold);
  border-radius: 6px; opacity: .9;
}
.reveal-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.reveal-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.reveal-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.reveal-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.reveal-icon {
  font-size: clamp(72px, 18vmin, 120px); line-height: 1.15;
  filter: drop-shadow(0 0 26px rgba(251, 191, 36, .55));
  animation: revealFloat 1.6s ease-in-out infinite alternate;
}
@keyframes revealFloat { from { transform: translateY(0) scale(1); } to { transform: translateY(-12px) scale(1.05); } }
.reveal-name {
  font-size: clamp(30px, 7vmin, 44px); font-weight: 800; margin-top: 14px; letter-spacing: 2px;
  background: linear-gradient(90deg, #fff7d6, var(--gold), #fb923c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 14px rgba(251, 191, 36, .4));
  max-width: 100%; overflow-wrap: anywhere;
}
.reveal-sub { color: #c8b98a; font-size: 17px; margin-top: 14px; letter-spacing: 6px; }


/* 控制条 */
.s-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 14px 20px; transform: translateY(100%); transition: transform .25s ease;
  background: linear-gradient(180deg, transparent, rgba(8, 11, 26, .85) 40%);
}
.s-bar.show { transform: translateY(0); }
.s-bar-link { color: #93a0c4; font-size: 13px; }
.s-bar-link:hover { color: #fff; }

/* =====================================================
 * 响应式
 * ===================================================== */

/* 大屏：宽屏台式机 */
@media (min-width: 1200px) {
  .m-page, .m-head-inner { max-width: 1200px; }
}

/* 笔记本 / 矮屏：压缩大屏留白，轮盘按高度收缩 */
@media (max-height: 820px), (max-width: 1400px) {
  .s-head { padding: 16px 20px 2px; }
  .s-title { font-size: clamp(28px, 4.4vh, 42px); letter-spacing: 3px; }
  .s-subtitle { font-size: 13px; margin-top: 2px; }
  .s-main { padding: 6px 24px 58px; }
  .s-pool-meta { font-size: 14px; margin-bottom: 6px; }
  .s-pool-meta b { font-size: 18px; }
  .wheel-area { width: min(58vh, 600px, 92vw); margin: 2px 0; }
  .wheel-center { width: 100px; height: 100px; font-size: 18px; }
  .wheel-center .wc-icon { font-size: 25px; }
  .wheel-center .wc-name { font-size: 12px; }
  .wheel-label { max-width: 30%; }
  .s-bar { padding: 10px 16px; }
  .btn-go { font-size: 17px; padding: 12px 40px; }
  .reveal-card { width: min(360px, 82vw); }
}

/* 笔记本窄宽：后台间距收紧，一屏放更多 */
@media (max-width: 1200px) {
  .m-head-inner { padding: 14px 18px; }
  .m-page { padding: 18px 16px 40px; }
  .m-title { font-size: 17px; }
  .m-subtitle { font-size: 11px; }
  .m-logo { width: 36px; height: 36px; font-size: 19px; }
  .btn-head, .btn-screen { padding: 8px 16px; font-size: 13px; }
  .card, .list-card { padding: 16px 18px; }
  .two-col { gap: 14px; margin-bottom: 14px; }
  .card h3 { font-size: 14px; margin-bottom: 10px; }
  .row-actions { margin-top: 10px; }
  .tbl th, .tbl td { padding: 8px 10px; }
}

/* 手机 / 极窄屏 */
@media (max-width: 860px) {
  .two-col, .form-grid { grid-template-columns: 1fr; }
  .m-head-inner { flex-wrap: wrap; gap: 10px; }
  .m-nav { margin-left: auto; }
  .m-page { padding: 14px 12px 32px; }
  .card, .list-card { padding: 14px 14px; border-radius: 12px; }
  .s-title { font-size: 26px; letter-spacing: 2px; }
  .s-main { padding: 4px 12px 54px; }
  .wheel-area { width: min(62vh, 88vw); }
  .wheel-center { width: 84px; height: 84px; font-size: 15px; }
  .wheel-center .wc-icon { font-size: 21px; }
  .wheel-center .wc-name { font-size: 11px; }
  .s-bar { gap: 10px; padding: 8px 12px; }
  .s-bar .btn-go { font-size: 15px; padding: 10px 26px; }
  .s-bar-link { display: none; }
  .reveal-card { width: min(300px, 84vw); padding: 28px 18px; }
  .reveal-name { font-size: 26px; }
}
