/* 买单享优惠 */
.deal-section { padding-top: 72px; }
.deal-layout {
  display: grid;
  gap: 22px;
  align-items: stretch;
}
.deal-stage {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(255,255,255,.28));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 #fff, 0 24px 64px -28px rgba(40,60,120,.28);
}
.deal-stage::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -130px;
  right: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.85 0.14 85 / .28), transparent 68%);
  pointer-events: none;
}
.deal-stage-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.deal-kicker {
  color: oklch(0.55 0.19 260);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.deal-stage h3 {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 650;
}
.deal-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: oklch(0.42 0.02 260);
  font-size: 12px;
  white-space: nowrap;
}
.deal-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.85 0.14 85);
  box-shadow: 0 0 0 4px oklch(0.85 0.14 85 / .18);
}
.deal-draw {
  position: relative;
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.38);
  box-shadow: inset 0 1px 0 #fff;
}
.deal-draw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.deal-draw-top small {
  display: block;
  color: oklch(0.42 0.02 260);
  font-size: 11px;
}
.deal-draw-top strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.deal-draw-chip {
  padding: 6px 10px;
  border-radius: 999px;
  color: oklch(0.55 0.19 260);
  background: oklch(0.72 0.16 240 / .12);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.deal-reel-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid oklch(0.85 0.14 85 / .4);
  background: linear-gradient(160deg, oklch(0.85 0.14 85 / .16), rgba(255,255,255,.72));
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px oklch(0.85 0.14 85 / .55);
}
.deal-reel-caption {
  flex: none;
  color: oklch(0.42 0.05 70);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}
.deal-reel {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.deal-reel-window {
  position: relative;
  width: 118px;
  height: 52px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff;
}
.deal-reel-window::before,
.deal-reel-window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 8px;
  pointer-events: none;
}
.deal-reel-window::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.9), transparent);
}
.deal-reel-window::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255,255,255,.9), transparent);
}
.deal-reel-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.deal-reel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 52px;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  color: oklch(0.42 0.12 55);
  font-size: 28px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
}
.deal-reel-unit {
  color: oklch(0.42 0.05 70);
  font-size: 15px;
  font-weight: 700;
}
.deal-draw.is-spinning .deal-draw-chip {
  color: #fff;
  background: linear-gradient(135deg, oklch(0.58 0.17 245), oklch(0.56 0.18 285));
}
.deal-draw.is-spinning .deal-result em {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: oklch(0.52 0.12 250);
  animation: dealPulse 1s ease-in-out infinite;
}
@keyframes dealPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .deal-draw.is-spinning .deal-result em { animation: none; }
}
.deal-draw.is-settled .deal-reel-panel {
  border-color: oklch(0.85 0.14 85 / .65);
  box-shadow: inset 0 1px 0 #fff, 0 16px 34px -16px oklch(0.85 0.14 85 / .7);
}
.deal-draw.is-settled .deal-reel-item {
  color: oklch(0.45 0.14 55);
}
.deal-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, oklch(0.72 0.16 240 / .12), oklch(0.7 0.17 290 / .1));
}
.deal-result strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
}
.deal-result small {
  display: block;
  margin-top: 4px;
  color: oklch(0.42 0.02 260);
  font-size: 11px;
}
.deal-result em {
  flex: none;
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: oklch(0.5 0.16 40);
}
.deal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.deal-tag {
  appearance: none;
  border: 1px solid rgba(255,255,255,.75);
  padding: 8px 14px;
  border-radius: 999px;
  color: oklch(0.38 0.03 260);
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px -8px rgba(31,38,135,.25);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.deal-tag:hover {
  color: oklch(0.42 0.14 250);
  background: rgba(255,255,255,.88);
  border-color: oklch(0.72 0.16 240 / .45);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -10px oklch(0.55 0.16 250 / .45);
}
.deal-tag:active {
  transform: translateY(0) scale(.97);
  box-shadow: inset 0 1px 0 #fff;
}
.deal-tag.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, oklch(0.58 0.17 245), oklch(0.56 0.18 285));
  box-shadow: 0 10px 22px -12px oklch(0.5 0.18 260 / .75), inset 0 1px 0 rgba(255,255,255,.35);
}
.deal-tag.is-active:hover {
  color: #fff;
  transform: translateY(-1px);
}
.deal-tag:focus-visible {
  outline: 2px solid oklch(0.58 0.17 245);
  outline-offset: 2px;
}
.deal-draw.is-switching .deal-reel-panel,
.deal-draw.is-switching .deal-result {
  animation: dealModeSwap .38s ease;
}
@keyframes dealModeSwap {
  0% { opacity: .35; transform: translateY(4px) scale(.985); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .deal-tag { transition: none; }
  .deal-tag:hover, .deal-tag:active, .deal-tag.is-active:hover { transform: none; }
  .deal-draw.is-switching .deal-reel-panel,
  .deal-draw.is-switching .deal-result { animation: none; }
}
.deal-side {
  display: grid;
  gap: 12px;
}
.deal-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.28));
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 #fff, 0 16px 36px -24px rgba(40,60,120,.25);
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .35s ease, box-shadow .35s ease;
}
.deal-point:hover {
  transform: translateY(-4px);
  background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,255,255,.4));
  box-shadow: inset 0 1px 0 #fff, 0 24px 48px -24px rgba(40,60,120,.38);
}
.deal-point-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(31,38,135,.4);
}
.deal-point h3 {
  margin: 1px 0 0;
  font-size: 16px;
  font-weight: 650;
}
.deal-point p {
  margin: 6px 0 0;
  color: oklch(0.42 0.02 260);
  font-size: 13px;
  line-height: 1.65;
}

.deal-modes {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  grid-template-columns: 1fr;
}
.deal-mode {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 24px;
}
.deal-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.deal-mode-platform .deal-mode-badge {
  color: oklch(0.45 0.16 250);
  background: oklch(0.72 0.16 240 / .12);
}
.deal-mode-merchant .deal-mode-badge {
  color: oklch(0.45 0.14 290);
  background: oklch(0.7 0.17 290 / .12);
}
.deal-mode h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  font-weight: 650;
}
.deal-mode > p {
  margin: 0;
  color: oklch(0.42 0.02 260);
  font-size: 14px;
  line-height: 1.7;
}
.deal-mode-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.deal-mode-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: oklch(0.32 0.02 260);
  font-size: 13px;
  line-height: 1.55;
}
.deal-mode-list i {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, oklch(0.65 0.18 250), oklch(0.62 0.2 290));
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.deal-cycle {
  display: grid;
  gap: 20px;
  margin-top: 22px;
  padding: 26px 28px;
  border-radius: 26px;
  align-items: center;
}
.deal-cycle-copy h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  font-weight: 650;
}
.deal-cycle-copy p {
  margin: 0;
  color: oklch(0.42 0.02 260);
  font-size: 14px;
  line-height: 1.75;
}
.deal-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.deal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.45);
  text-align: center;
}
.deal-day strong {
  font-size: 13px;
  font-weight: 650;
}
.deal-day span {
  font-size: 10px;
  color: oklch(0.42 0.02 260);
  line-height: 1.35;
}
.deal-day.is-platform {
  border-color: oklch(0.72 0.16 240 / .45);
  background: linear-gradient(160deg, oklch(0.72 0.16 240 / .18), rgba(255,255,255,.7));
}
.deal-day.is-platform strong { color: oklch(0.45 0.16 250); }
.deal-day.is-platform span { color: oklch(0.45 0.12 250); }
.deal-payout {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  grid-template-columns: 1fr;
}
.deal-payout-card {
  padding: 22px;
  border-radius: 22px;
}
.deal-payout-card h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  font-weight: 650;
}
.deal-payout-card p {
  margin: 0;
  color: oklch(0.42 0.02 260);
  font-size: 13px;
  line-height: 1.65;
}
.deal-payout-label {
  color: oklch(0.55 0.19 260);
  font-size: 11px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .deal-layout { grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); }
  .deal-stage { padding: 34px; }
  .deal-modes { grid-template-columns: 1fr 1fr; }
  .deal-cycle { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); }
  .deal-payout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .deal-stage-head { flex-direction: column; }
  .deal-stage h3 { font-size: 21px; }
  .deal-draw { padding: 16px; }
  .deal-draw-top strong { font-size: 24px; }
  .deal-reel-panel { gap: 10px; padding: 14px; }
  .deal-reel-window { width: 100px; height: 48px; }
  .deal-reel-item { flex-basis: 48px; height: 48px; min-height: 48px; max-height: 48px; font-size: 24px; }
  .deal-slots { gap: 8px; }
  .deal-slot { padding: 12px 6px; }
  .deal-slot b { font-size: 15px; }
  .deal-result { flex-direction: column; align-items: flex-start; }
  .deal-week { gap: 6px; }
  .deal-day { padding: 10px 4px; border-radius: 12px; }
  .deal-day strong { font-size: 12px; }
  .deal-day span { font-size: 9px; }
  .deal-cycle { padding: 20px; }
  .deal-cycle-copy h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .deal-point, .deal-slot { transition: none; }
}
