:root {
  --bg0: #0a2a8a;
  --hl: #ff5a2a;
  --frame: #2a2c2e;
  --frame-hi: #5a5d62;
  --frame-lo: #141516;
  --titanium: linear-gradient(145deg, #6b6e74 0%, #3a3d42 28%, #1c1e21 55%, #4a4d52 78%, #2c2e32 100%);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #070b14;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 36px;
  gap: 14px;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(56, 120, 255, 0.28), transparent 55%),
    radial-gradient(700px 400px at 80% 100%, rgba(255, 120, 40, 0.08), transparent 50%),
    linear-gradient(180deg, #0a1020 0%, #070b14 100%);
}

/* —— PRD：宽屏并排（H5 居中，PRD 右侧），对齐竞猜模板 —— */
.prd-panel { display: none; }
@media (min-width: 980px) {
  body { background: #070b14; }
  .review-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 48px;
    min-height: 100vh;
    box-sizing: border-box;
  }
  .stage {
    margin: 0;
    padding: 0;
    min-height: 0;
    flex: 0 0 auto;
    background: transparent;
  }
  .device {
    max-height: calc(100vh - 96px);
  }
  .prd-panel {
    display: block;
    flex: 1;
    min-width: 320px;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.28);
    color: #111827;
  }
  .prd-panel .prd-hd {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px 18px;
    background: #111827;
    color: #fff;
    border-radius: 12px 12px 0 0;
  }
  .prd-panel .prd-hd .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }
  .prd-panel .prd-hd h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
  }
  .prd-panel .prd-bd {
    padding: 16px 18px 28px;
    font-size: 13px;
    line-height: 1.7;
    color: #374151;
  }
  .prd-panel h2 {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin: 22px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
  }
  .prd-panel h2:first-of-type { margin-top: 0; }
  .prd-panel h3 {
    font-size: 13px;
    font-weight: 800;
    color: #1d4ed8;
    margin: 14px 0 6px;
  }
  .prd-panel p { margin: 0 0 8px; }
  .prd-panel ul, .prd-panel ol {
    margin: 0 0 10px;
    padding-left: 1.25em;
  }
  .prd-panel li { margin: 4px 0; }
  .prd-panel code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    background: #f3f4f6;
    padding: 1px 5px;
    border-radius: 4px;
  }
  .prd-panel .note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 12px;
    color: #1e40af;
    font-size: 12px;
    margin: 8px 0 12px;
  }
  .prd-panel .imp { color: #b91c1c; }
  .prd-panel .ex {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    color: #111827;
    margin: 6px 0 12px;
    line-height: 1.6;
  }
  .prd-panel .meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
  }
}

/* 窄屏不展示右侧 PRD，去掉旧浮动入口样式干扰 */
.prd-float-bar { display: none !important; }

.device-caption {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.back-to-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition: background .15s, border-color .15s;
}
.back-to-edit:hover {
  background: rgba(22, 119, 255, 0.35);
  border-color: rgba(147, 197, 253, 0.6);
}
.preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.back-to-edit.secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
}
.back-to-edit.fe-req {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(110, 231, 183, 0.55);
  color: #a7f3d0;
}
.back-to-edit.fe-req:hover {
  background: rgba(16, 185, 129, 0.35);
  border-color: rgba(167, 243, 208, 0.75);
}

.prd-float-bar {
  position: fixed;
  right: 16px;
  left: auto;
  bottom: 72px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.prd-float-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: #059669;
  border: 1px solid #6ee7b7;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.prd-float-bar a:hover { background: #ecfdf5; }

/* ========== iPhone 17 Plus 外壳 ========== */
.device {
  position: relative;
  width: min(430px, calc(100vw - 28px));
  /* 17 Plus 大屏比例 ≈ 19.5:9 */
  aspect-ratio: 9 / 19.4;
  max-height: min(920px, calc(100vh - 72px));
  filter: drop-shadow(0 28px 60px rgba(0,0,0,0.55));
}

.device-frame {
  position: absolute;
  inset: 0;
  border-radius: 58px;
  background: var(--titanium);
  padding: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    inset 1px 0 0 rgba(255,255,255,0.12),
    inset -1px 0 0 rgba(0,0,0,0.35);
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 55px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 2;
}

.device-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 48px;
  overflow: hidden;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 1px rgba(0,0,0,0.5);
}

/* Dynamic Island */
.island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}
.island-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #3a4a6a, #0a1020 55%, #000);
  box-shadow: inset 0 0 0 1px rgba(80,120,180,0.35);
}

/* 侧键 */
.side {
  position: absolute;
  background: linear-gradient(90deg, #7a7d84, #3d4046 40%, #1a1c1f);
  border-radius: 3px;
  z-index: 0;
}
.silent {
  left: -3px;
  top: 118px;
  width: 4px;
  height: 28px;
}
.action {
  left: -3px;
  top: 168px;
  width: 4px;
  height: 42px;
  background: linear-gradient(90deg, #8a8d94, #45484e 45%, #1e2024);
}
.vol-up {
  left: -3px;
  top: 230px;
  width: 4px;
  height: 56px;
}
.vol-down {
  left: -3px;
  top: 298px;
  width: 4px;
  height: 56px;
}
.power {
  right: -3px;
  top: 250px;
  width: 4px;
  height: 88px;
  background: linear-gradient(270deg, #7a7d84, #3d4046 40%, #1a1c1f);
}

/* 状态栏 */
.status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 28px 10px;
  pointer-events: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.status-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.signal {
  width: 17px;
  height: 10px;
  background:
    linear-gradient(to top, #fff 0 100%) 0 100%/3px 40% no-repeat,
    linear-gradient(to top, #fff 0 100%) 4.5px 100%/3px 55% no-repeat,
    linear-gradient(to top, #fff 0 100%) 9px 100%/3px 75% no-repeat,
    linear-gradient(to top, #fff 0 100%) 13.5px 100%/3px 100% no-repeat;
}
.wifi {
  width: 15px;
  height: 11px;
  background:
    radial-gradient(circle at 50% 100%, transparent 55%, #fff 56% 70%, transparent 71%),
    radial-gradient(circle at 50% 100%, transparent 30%, #fff 31% 42%, transparent 43%),
    radial-gradient(circle at 50% 100%, #fff 0 12%, transparent 13%);
}
.battery {
  width: 25px;
  height: 12px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 3.5px;
  position: relative;
  padding: 1.5px;
}
.battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 0 1px 1px 0;
  background: rgba(255,255,255,0.55);
}
.battery i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 1.5px;
  background: #fff;
}

/* ========== 屏内 H5 ========== */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 18%, rgba(90, 160, 255, 0.38), transparent 42%),
    radial-gradient(circle at 50% 72%, rgba(40, 100, 220, 0.42), transparent 48%),
    linear-gradient(180deg, #0d3bb5 0%, #0a2f9a 42%, #08268a 100%);
  padding-top: 54px;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(circle at 50% 28%, transparent 0 46px, rgba(255,255,255,0.035) 47px 48px);
  opacity: 0.7;
  z-index: 0;
}

.nav {
  position: relative;
  z-index: 5;
  height: 44px;
  background: #000;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  flex-shrink: 0;
}
.nav-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  height: 40px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.nav-title {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.scroll::-webkit-scrollbar { display: none; }

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 128px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.9);
  z-index: 20;
  pointer-events: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 16px 16px 6px;
  text-align: center;
  overflow: hidden;
}
.fx {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 28%, #ffd24a 0 5px, transparent 6px),
    radial-gradient(circle at 88% 20%, #ff4d4d 0 7px, transparent 8px),
    radial-gradient(circle at 18% 70%, #ffd24a 0 4px, transparent 5px),
    radial-gradient(circle at 84% 64%, #ff6b3d 0 6px, transparent 7px),
    radial-gradient(circle at 72% 16%, rgba(255,255,255,.55) 0 2px, transparent 3px);
  animation: floaty 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.hero-title {
  margin: 4px 0 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 3px 0 rgba(255, 196, 0, 0.38), 0 8px 18px rgba(0,0,0,0.28);
}
.ribbon {
  display: inline-block;
  position: relative;
  padding: 7px 26px;
  background: linear-gradient(180deg, #ffe566, #ffc107);
  color: #d42020;
  font-weight: 800;
  font-size: 14px;
  border-radius: 4px;
  box-shadow: 0 5px 0 #c48a00, 0 10px 18px rgba(0,0,0,0.22);
  transform: rotate(-1deg);
}
.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #ffc107;
  transform: translateY(-50%) rotate(45deg);
  z-index: -1;
}
.ribbon::before { left: -5px; }
.ribbon::after { right: -5px; }

.hero-illust {
  margin: 14px auto 0;
  width: 210px;
  height: 142px;
  position: relative;
}
.hands { width: 100%; height: 100%; position: relative; }
.hands::before,
.hands::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 66px;
  height: 50px;
  background: linear-gradient(180deg, #f6c9a8, #e8a878);
  border-radius: 26px 26px 16px 16px;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,0.08);
}
.hands::before { left: 6px; transform: rotate(-18deg); }
.hands::after { right: 6px; transform: rotate(18deg); }
.phone-mock {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 88px;
  height: 122px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border: 3px solid #334155;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  padding: 7px 5px;
}
.screen-card {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(145deg, #f6d36a, #e8a820 55%, #c47a10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7a3b00;
  font-weight: 800;
}
.screen-card .vip { font-size: 10px; letter-spacing: 0.2em; opacity: 0.85; }
.screen-card .amt { font-size: 21px; margin-top: 3px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.15); }

.pad { padding: 0 14px; margin-top: 12px; }

.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
}
.sec-title em {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.sec-title .line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
  position: relative;
}
.sec-title.dark em {
  background: #0b2f8f;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
}
.sec-title.sport .line::before,
.sec-title.sport .line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 2px;
  height: 7px;
  background: rgba(255,255,255,0.7);
}
.sec-title.sport .line::before { left: 12px; }
.sec-title.sport .line::after { right: 12px; }

.desc-box {
  background: rgba(255,255,255,0.97);
  color: #1e293b;
  border-radius: 10px;
  border: 1px solid rgba(120, 180, 255, 0.55);
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.blocks-wrap .desc-box + .desc-box,
.blocks-wrap .block-img + .desc-box,
.blocks-wrap .desc-box + .block-img,
.blocks-wrap .block-img + .block-img {
  margin-top: 10px;
}
.block-img {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(120, 180, 255, 0.35);
  background: rgba(255,255,255,0.08);
}
.block-img img {
  display: block;
  width: 100%;
  height: auto;
}
.rule-img {
  display: flex;
  gap: 9px;
  margin-bottom: 11px;
  align-items: flex-start;
}
.rule-img b {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.rule-img img {
  flex: 1;
  max-width: calc(100% - 28px);
  border-radius: 8px;
  display: block;
}

.prize {
  background: linear-gradient(180deg, #eef6ff, #d9ebff);
  border-radius: 14px;
  padding: 18px 14px 16px;
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.rings {
  position: absolute;
  top: -8px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
}
.rings i {
  width: 14px;
  height: 18px;
  border: 3px solid #f5c542;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6c8, #e3a812);
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}
.prize-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8px;
  align-items: center;
  min-height: 128px;
}
.prize-txt .tag {
  display: inline-block;
  background: #fff;
  color: #e11d48;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.prize-txt h3 {
  margin: 0 0 12px;
  color: #1d4ed8;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}
.claim {
  border: 0;
  min-width: 114px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  box-shadow: 0 5px 0 #c2410c, 0 10px 18px rgba(234, 88, 12, 0.35);
  transition: transform .12s;
}
.claim:active { transform: translateY(2px); box-shadow: 0 3px 0 #c2410c; }
.claim.view {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  box-shadow: 0 5px 0 #1e40af, 0 10px 18px rgba(37, 99, 235, 0.35);
}

.prize-art { position: relative; height: 122px; }
.hb {
  position: absolute;
  right: 26px;
  top: 6px;
  width: 56px;
  height: 68px;
  border-radius: 8px 8px 12px 12px;
  background: linear-gradient(180deg, #ff6b5a, #e11d48);
  color: #ffe566;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 2;
}
.gift {
  position: absolute;
  right: 6px;
  top: 46px;
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #a78bfa, #7c3aed);
  border-radius: 6px;
  z-index: 1;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}
.gift::after {
  content: "";
  position: absolute;
  inset: 0 42%;
  background: #fde047;
}
.tk {
  position: absolute;
  left: 6px;
  top: 40px;
  width: 40px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
  z-index: 2;
}
.coins-stack {
  position: absolute;
  left: 16px;
  bottom: 26px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe566, #f59e0b 60%, #b45309);
  box-shadow: 8px -6px 0 #f59e0b, 14px 2px 0 #d97706;
  z-index: 1;
}
.base {
  position: absolute;
  left: 10%;
  right: 6%;
  bottom: 2px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #93c5fd, #1d4ed8 70%);
  box-shadow: inset 0 4px 8px rgba(255,255,255,0.35);
}

.flow {
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.flow .card {
  flex: 1;
  background: linear-gradient(180deg, #fff, #e8f2ff);
  border-radius: 10px;
  padding: 12px 6px 10px;
  text-align: center;
  min-height: 104px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
.flow .card p {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: #1e3a8a;
  font-weight: 650;
}
.flow .chev {
  align-self: center;
  color: #93c5fd;
  font-size: 18px;
  font-weight: 700;
}
.ico {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(180deg, #dbeafe, #93c5fd);
  position: relative;
}
.i-user::before {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 13px; height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: #1d4ed8;
  box-shadow: 0 11px 0 -2px #1d4ed8;
}
.i-user::after {
  content: "+";
  position: absolute;
  right: 3px; bottom: 5px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  line-height: 13px;
  text-align: center;
  font-weight: 700;
}
.i-gift::before {
  content: "";
  position: absolute;
  inset: 9px 8px 7px;
  background: #f59e0b;
  border-radius: 3px;
}
.i-gift::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 22px;
  margin-left: -2px;
  background: #ef4444;
}
.i-mail::before {
  content: "";
  position: absolute;
  inset: 11px 7px 9px;
  background: #fff;
  border: 2px solid #1d4ed8;
  border-radius: 3px;
}
.i-mail::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px; top: 13px;
  height: 0;
  border-top: 7px solid #1d4ed8;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

/* —— 推广区域 · 轮播 —— */
.promo-sec { margin-top: 14px; }
.promo-carousel {
  position: relative;
  border-radius: 12px;
}
.promo-viewport {
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y;
}
.promo-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.promo-track .slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
}

.banner {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  min-height: 112px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(90deg, #0b2f7a, #123a96 45%, #0d327f);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  cursor: pointer;
  outline: none;
}
.banner:active { filter: brightness(1.06); }
.ban-art {
  position: relative;
  background:
    linear-gradient(120deg, rgba(10,40,120,0.2), rgba(10,40,120,0.55)),
    linear-gradient(160deg, #74c0ff, #1d4ed8 55%, #0b2f7a);
  overflow: hidden;
  min-height: 112px;
}
.ban-art.theme-deposit {
  background: linear-gradient(160deg, #fde68a, #f59e0b 45%, #b45309);
}
.ban-art.theme-vip {
  background: linear-gradient(160deg, #fef3c7, #d4a017 40%, #7c2d12);
}
.ban-art.theme-match {
  background: linear-gradient(160deg, #86efac, #16a34a 50%, #14532d);
}
.ban-art.theme-rebate {
  background: linear-gradient(160deg, #a5b4fc, #6366f1 50%, #312e81);
}
.ban-art.has-photo {
  background: #0b2f7a;
}
.ban-art.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.player {
  position: absolute;
  bottom: 0;
  width: 44px;
  height: 82px;
  border-radius: 20px 20px 8px 8px;
  background: linear-gradient(180deg, #f8fafc 0 28%, #74c0ff 28% 62%, #0ea5e9 62%);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
.player::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 20px; height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: #f1c27d;
}
.p1 { left: 8px; transform: scale(0.92); }
.p2 { left: 44px; z-index: 2; height: 92px; }
.p3 { left: 82px; transform: scale(0.9); }
.ban-body {
  padding: 11px 11px 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.ban-body p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 650;
}
.ban-body em {
  font-style: normal;
  color: var(--hl);
  font-weight: 800;
}
.ban-body i.g,
.ban-body i.b {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 3px;
  vertical-align: -1px;
  border-radius: 2px;
}
.ban-body i.g {
  background: linear-gradient(145deg, #fb923c, #ea580c);
}
.ban-body i.b {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #94a3b8 40%, #1e293b);
}
.ban-btn {
  align-self: flex-end;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 3px 0 #c2410c;
}

.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}
.promo-arrow.prev { left: 4px; }
.promo-arrow.next { right: 4px; }
.promo-arrow:active { background: rgba(0,0,0,0.55); }

.promo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.promo-dots button {
  width: 6px;
  height: 6px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.promo-dots button.active {
  width: 16px;
  background: #ff9a3c;
}

.rules-wrap { padding-bottom: 4px; }
.rules {
  position: relative;
  background: rgba(8, 36, 120, 0.55);
  border: 1.5px solid #f6c343;
  border-radius: 12px;
  padding: 14px 12px 8px;
  backdrop-filter: blur(6px);
}
.rules .dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe9a0, #d4a017);
  box-shadow: 0 0 0 2px rgba(246, 195, 67, 0.35);
}
.rules .dot.tl { top: 8px; left: 8px; }
.rules .dot.tr { top: 8px; right: 8px; }
.rules .dot.bl { bottom: 8px; left: 8px; }
.rules .dot.br { bottom: 8px; right: 8px; }
.rules ul { list-style: none; margin: 0; padding: 0; }
.rules li {
  display: flex;
  gap: 9px;
  margin-bottom: 11px;
  align-items: flex-start;
}
.rules li b {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.rules li span {
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}

.safe-bottom { height: 28px; }

.toast {
  position: fixed;
  left: 50%;
  top: 16%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 200;
  max-width: min(86vw, 320px);
  text-align: center;
  line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; }

@media (max-width: 480px) {
  .stage { padding: 12px 8px 20px; }
  .device {
    width: min(400px, calc(100vw - 16px));
    max-height: calc(100vh - 52px);
  }
  .device-frame { border-radius: 52px; padding: 10px; }
  .device-glass { border-radius: 44px; }
}
