.voo-marquee {
  min-width: 0;
}

.voo-marquee__viewport {
  overflow-x: auto;
  scrollbar-width: none;
}

.voo-marquee__viewport::-webkit-scrollbar {
  display: none;
}

.voo-marquee__track,
.voo-marquee__group {
  display: flex;
  width: max-content;
}

.voo-marquee__group {
  flex: 0 0 auto;
  gap: var(--voo-marquee-gap);
  /* 组尾留白与组内间距相同，两个副本恰好各占轨道一半。 */
  padding-inline-end: var(--voo-marquee-gap);
}

.voo-marquee__slide {
  flex: 0 0 auto;
}

.voo-marquee__copy {
  display: none;
}

.voo-marquee[data-marquee-active='true'] .voo-marquee__viewport {
  overflow: hidden;
}

.voo-marquee[data-marquee-active='true'] .voo-marquee__copy {
  display: flex;
}

.voo-marquee[data-marquee-active='true'] .voo-marquee__track {
  animation: voo-marquee-scroll var(--voo-marquee-duration) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.voo-marquee[data-marquee-playing='true'] .voo-marquee__track {
  animation-play-state: running;
}

.voo-marquee__viewport:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@keyframes voo-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .voo-marquee[data-marquee-active='true'] .voo-marquee__track {
    animation: none;
    will-change: auto;
  }

  .voo-marquee[data-marquee-active='true'] .voo-marquee__viewport {
    overflow-x: auto;
  }

  .voo-marquee[data-marquee-active='true'] .voo-marquee__copy {
    display: none;
  }
}
/* 与固定尺寸图标共用像素基准，避免全站移动端 rem 适配拉大渠道间距。 */
.share-actions {
  width: 100%;
  max-width: 430px;
  margin: 20px auto 0;
}
.share-actions__options {
  display: flex;
  justify-content: space-between;
  column-gap: 16px;
  align-items: flex-start;
}
.share-actions__option {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 8px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #282828;
  font: inherit;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.share-actions__option:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 4px;
}
.share-actions__option:disabled {
  cursor: default;
  opacity: 0.45;
}
.share-actions__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  overflow: hidden;
  border-radius: 4px;
}
.share-actions__label {
  max-width: 100%;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  white-space: nowrap;
  text-align: center;
}
/* 品牌名保持完整，只让可翻译的复制文案在窄屏内换行，图标仍保留 40px。 */
.share-actions__option--copy {
  flex: 0 1 auto;
  min-width: 40px;
}
.share-actions__option--copy .share-actions__label {
  white-space: normal;
  overflow-wrap: anywhere;
}
.share-actions__option--copy .share-actions__icon {
  background: #1a1c1e;
  color: white;
}
.share-actions__option--facebook .share-actions__icon,
.share-actions__option--messenger .share-actions__icon {
  background: #0866ff;
}
.share-actions__option--messenger .share-actions__glyph {
  transform: translate(0.5px, 0.5px);
}
.share-actions__option--whatsapp .share-actions__icon {
  background: #25d366;
}
.share-actions__note,
.share-actions__status {
  margin: 0.75rem 0 0;
  color: #666;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}
.share-actions__status:empty {
  display: none;
}
@media (max-width: 374px) {
  .share-actions__options {
    column-gap: 8px;
  }
  .share-actions__label {
    font-size: 10px;
  }
}
/* 弹窗打开期间冻结外层中奖播报，关闭后从原位置继续并保留用户暂停状态。 */
body:has(.lottery-modal .lottery-surface) [data-lottery-tool-winners] .voo-marquee__track {
  animation-play-state: paused;
}

/* 只调整当前抽奖模态，焦点约束和滚动锁继续复用共享 UI。 */
.voo-dialog.lottery-modal {
  --lottery-overlay-blur: 0.9375rem;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  /* 祖先透明度始终为 1，避免子层毛玻璃在淡入结束时突然改变采样范围。 */
  opacity: 1;
  isolation: isolate;
  /* 短屏从宿主滚动，保留固定机器开孔与面板外的关闭按钮。 */
  padding-block: 3rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-items: flex-start;
}
/* 虚化单独成层，避免为 fixed 关闭按钮建立随宿主滚动的包含块。 */
.voo-dialog.lottery-modal::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgb(0 0 0 / 50%);
  -webkit-backdrop-filter: blur(var(--lottery-overlay-blur));
  backdrop-filter: blur(var(--lottery-overlay-blur));
}
/* 保留宿主原有过渡时长供展示生命周期读取，淡入只作用于遮罩和面板自身。 */
@media (prefers-reduced-motion: no-preference) {
  .lottery-modal:is(.voo-dialog-center-enter-active, .voo-dialog-center-leave-active)::before {
    transition: opacity var(--voo-dialog-transition-duration) ease;
  }
  .lottery-modal:is(.voo-dialog-center-enter-active, .voo-dialog-center-leave-active)
    .voo-dialog__panel {
    transition:
      transform var(--voo-dialog-transition-duration) ease,
      opacity var(--voo-dialog-transition-duration) ease;
  }
  .lottery-modal:is(.voo-dialog-center-enter-from, .voo-dialog-center-leave-to)::before,
  .lottery-modal:is(.voo-dialog-center-enter-from, .voo-dialog-center-leave-to) .voo-dialog__panel {
    opacity: 0;
  }
}
.lottery-modal .voo-dialog__panel.lottery-modal__panel:has(.lottery-surface) {
  width: auto;
  padding: 0;
  max-width: 100dvw;
  max-height: none;
  margin-block: auto;
  flex: none;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  border-radius: 0;
}
.lottery-modal:has(.lottery-surface) .voo-dialog__content {
  flex: none;
  overflow: visible;
}
.lottery-surface {
  position: relative;
  font-family: 'Wre Bricolage', sans-serif;
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--wre-text, #282828);
}
.lottery-surface *,
.lottery-surface *::before,
.lottery-surface *::after {
  box-sizing: border-box;
}
.lottery-surface :where(h2, h3, p) {
  margin: 0;
  font-family: inherit;
}
.lottery-surface :where(button) {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.lottery-surface button:disabled {
  cursor: not-allowed;
}
.lottery-surface button:focus-visible {
  outline: 2px solid #e5002b;
  outline-offset: 4px;
}
.lottery-surface h2:focus {
  outline: none;
}
.lottery-sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.lottery-motion-toggle:focus-visible {
  width: auto;
  height: auto;
  padding: 0.25rem;
  margin: 0;
  clip-path: none;
  z-index: 2;
  background: white;
}
.lottery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  z-index: 4;
}
.lottery-close--main {
  right: -3.0625rem;
  top: -3.6875rem;
  width: 2rem;
  height: 2rem;
  color: white;
}
.lottery-close-mark {
  display: grid;
  place-items: center;
}
.lottery-close--main .lottery-close-mark {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.lottery-draw {
  position: relative;
  width: 25.6875rem;
  height: 38.625rem;
  margin-top: 2.75rem;
  margin-left: 0.6875rem;
  border-radius: 0.75rem;
}
.lottery-draw--products {
  background: url('https://s3.zeelool.com/admin/shop/home/c58887cf7ac92de78622d2fcc195049d.png')
    center / cover no-repeat;
}
.lottery-machine {
  position: absolute;
  left: 1.875rem;
  top: 0.0625rem;
  width: 21.875rem;
  height: 29.1875rem;
  z-index: 2;
  pointer-events: none;
}
.lottery-machine :where(button, .voo-carousel) {
  pointer-events: auto;
}
.lottery-machine-art {
  position: absolute;
  left: -0.625rem;
  top: -0.02125rem;
  width: 23.125rem;
  height: 30.855375rem;
}
.lottery-machine-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lottery-winners {
  position: absolute;
  left: 4.875rem;
  top: 0.5625rem;
  width: 12.125rem;
  height: 2.25rem;
  border: 1px solid #6e3d3d;
  border-radius: 6.1875rem;
  background: url('https://s3.zeelool.com/admin/shop/home/d894fa75ab870906d0454075f109b9f1.png')
    center / cover;
  overflow: hidden;
}
.lottery-winners > .voo-carousel {
  width: 100%;
  height: 2.125rem;
}
.lottery-winners .voo-carousel__slide {
  display: flex;
  align-items: center;
  min-height: 2.125rem;
  font-size: 0.75rem;
  white-space: nowrap;
}
/* 补齐循环末尾间距，让引擎测量的末项到首项与轨道内部保持一致。 */
.lottery-winners .voo-carousel__slide:last-child {
  margin-inline-end: 12px;
}
.lottery-grid {
  position: absolute;
  top: 4.875rem;
  left: 3.908125rem;
  display: grid;
  grid-template: repeat(3, 4rem) / repeat(3, 4rem);
  gap: 0.5rem;
  padding: 0.5rem;
  background: transparent;
  border-radius: 1.25rem;
  isolation: isolate;
}
.lottery-slot {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: #fff;
  border: 0;
  border-radius: 0.5rem;
  overflow: visible;
  transition: filter 95ms ease-out;
}
.lottery-draw:is(
    [data-draw-phase='accelerating'],
    [data-draw-phase='spinning'],
    [data-draw-phase='settling'],
    [data-draw-phase='winner']
  )
  .lottery-slot:not(.is-highlighted) {
  filter: brightness(0.72);
}
.lottery-slot.is-highlighted {
  z-index: 2;
  transition: none;
}
.lottery-slot.is-highlighted::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2.5px solid #ff3045;
  border-radius: 0.5rem;
  background: transparent;
  pointer-events: none;
  box-shadow:
    0 0 6px 1px rgb(255 18 61),
    0 0 14px 2px rgb(255 18 61 / 70%),
    0 0 24px 2px rgb(255 18 61 / 32%);
}
.lottery-slot-image {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
}
.lottery-content-image {
  display: block;
  flex: none;
}
.lottery-image-unavailable {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0.125rem;
  overflow: hidden;
  background: #f4f5f6;
  color: #6c6c6c;
  font-size: 0.625rem;
  line-height: 1.2;
  text-align: center;
}
.lottery-spin {
  --lottery-spin-unit: 0.0625rem;
  grid-area: 2 / 2;
  display: grid;
  place-items: center;
  position: relative;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 3px ridge #ff3456;
  border-radius: 0.625rem;
  background: linear-gradient(112deg, #fc1126 3.6%, #c40a13 98.6%);
  color: white !important;
  box-shadow:
    inset 0.0625rem 0.0625rem 0.1875rem #ffb2be,
    inset -0.0625rem -0.0625rem 0.1875rem #870016,
    0 0 0 0.0625rem #130308;
  font-family: inherit;
  font-size: 0.875rem !important;
  line-height: 1.1875rem !important;
  font-weight: 700 !important;
  text-align: center;
}
.lottery-spin-label {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  font: inherit;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.lottery-spin-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lottery-spin:disabled,
.lottery-spin--image {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.lottery-spin:disabled .lottery-spin-image {
  filter: grayscale(100%);
}
.lottery-spin-chrome,
.lottery-spin-chrome > span {
  position: absolute;
  display: block;
  inset: 0;
  pointer-events: none;
}
/* 按设计拆分灰色按钮的六层框体，两端仅按既有按钮尺寸等比适配。 */
.lottery-spin-chrome > span:nth-child(1) {
  border-radius: calc(10.16 * var(--lottery-spin-unit));
  background: #1f2937;
  box-shadow: 0 calc(0.85 * var(--lottery-spin-unit)) calc(0.85 * var(--lottery-spin-unit)) #0006;
}
.lottery-spin-chrome > span:nth-child(2) {
  inset: 1.05263%;
  border-radius: calc(9.48 * var(--lottery-spin-unit));
  background: linear-gradient(
    180deg,
    #d1d5db 0%,
    #9ca3af 12%,
    #6b7280 55%,
    #4b5563 90%,
    #374151 100%
  );
}
.lottery-spin-chrome > span:nth-child(3) {
  inset: 2.36842%;
  border-radius: calc(8.81 * var(--lottery-spin-unit));
  background: #374151;
}
.lottery-spin-chrome > span:nth-child(4) {
  inset: 3.42105%;
  border-radius: calc(8.3 * var(--lottery-spin-unit));
  background: linear-gradient(
    180deg,
    #e5e7eb 0%,
    #d1d5db 12%,
    #9ca3af 50%,
    #6b7280 92%,
    #4b5563 100%
  );
  box-shadow:
    inset 0 calc(0.59 * var(--lottery-spin-unit)) calc(0.51 * var(--lottery-spin-unit)) #ffffff80,
    inset 0 calc(-0.59 * var(--lottery-spin-unit)) calc(0.85 * var(--lottery-spin-unit)) #6b7280a6;
}
.lottery-spin-chrome > span:nth-child(5) {
  inset: 5.26316%;
  border-radius: calc(7.03 * var(--lottery-spin-unit));
  background: #9ca3af;
  box-shadow:
    inset calc(0.93 * var(--lottery-spin-unit)) calc(1.02 * var(--lottery-spin-unit))
      calc(1.27 * var(--lottery-spin-unit)) #ffffff66,
    inset calc(-0.93 * var(--lottery-spin-unit)) 0 calc(1.27 * var(--lottery-spin-unit)) #ffffff4d,
    inset 0 calc(-0.93 * var(--lottery-spin-unit)) calc(1.44 * var(--lottery-spin-unit)) #ffffff33,
    inset 0 0 calc(0.59 * var(--lottery-spin-unit)) #6b728066;
}
.lottery-spin-chrome > span:nth-child(6) {
  inset: 7.89474%;
  border-radius: calc(4.91 * var(--lottery-spin-unit));
  background: linear-gradient(112.33deg, #d1d5db 3.59%, #9ca3af 98.63%);
  box-shadow: 0 0 calc(0.93 * var(--lottery-spin-unit)) #ffffff33;
}
.lottery-spin--empty .lottery-spin-label {
  font-size: 1rem;
  line-height: 1.1875rem;
  letter-spacing: normal;
  color: rgb(255 255 255 / 70%);
}
/* 仅调整无图片时的德法行动短句，保留按钮图和待译状态的既有样式。 */
.lottery-spin-label--translated,
.lottery-spin--empty .lottery-spin-label--translated {
  font-size: 0.8125rem;
  letter-spacing: normal;
}
.lottery-surface:lang(fr) .lottery-spin-label--translated {
  width: 100%;
  font-size: 0.6875rem;
  line-height: 1.1;
  white-space: normal;
}
.lottery-draw[data-drawing='true'] .lottery-spin {
  cursor: not-allowed;
  opacity: 1;
}
@media (min-width: 681px) {
  .lottery-surface .lottery-spin:disabled {
    cursor: default;
  }
}
.lottery-draw-hint {
  position: absolute;
  left: 10.6875rem;
  top: 13.125rem;
  width: 2.5rem;
  height: 2.163187rem;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .lottery-draw-hint {
    animation: lottery-hint-nudge 1.4s ease-in-out infinite;
  }
}
@keyframes lottery-hint-nudge {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40%,
  60% {
    transform: translate(-3px, -4px) scale(0.96);
  }
}
.lottery-prize-pool {
  --lottery-pool-size: 2.875rem;
  --lottery-pool-height: 2.5rem;
  --lottery-pool-gap: 0.5rem;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  left: 2.6875rem;
  top: 20.1875rem;
  width: 16.3125rem;
  height: 3.3125rem;
  /* 白底奖品完整留在字牌下方的窗口内，横向轮播尺寸保持不变。 */
  padding: 0.5625rem 0.5rem 0.125rem;
  border-radius: 0.875rem;
  overflow: hidden;
}
.lottery-prize-pool > .voo-carousel {
  flex: 1;
  min-width: 0;
}
.lottery-prize-pool .voo-carousel__slide:last-child {
  margin-inline-end: var(--lottery-pool-gap);
}
.lottery-pool-prize {
  display: grid;
  place-items: center;
  flex: 0 0 var(--lottery-pool-size);
  width: var(--lottery-pool-size);
  height: var(--lottery-pool-height);
  overflow: hidden;
}
.lottery-pool-prize img {
  width: var(--lottery-pool-size);
  height: var(--lottery-pool-height);
  object-fit: contain;
}
.lottery-pool-image {
  width: 100%;
  height: 100%;
}
.lottery-chances {
  position: absolute;
  top: 25.375rem;
  left: 6.4375rem;
  width: 8.875rem;
  height: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.1875rem;
  color: white;
  background: #141414;
  border-radius: 0.375rem;
  font-size: 0.75rem;
}
.lottery-side-actions {
  position: absolute;
  left: 21.375rem;
  top: 2.625rem;
  width: 5.3125rem;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  justify-items: end;
}
.lottery-side-actions button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  min-height: 1.75rem;
  border: 0;
  border-radius: 0 6.1875rem 6.1875rem 0;
  padding: 0.375rem 0.5rem 0.375rem 0.75rem;
  background: #f4e8e1;
  color: var(--lottery-button-foreground, #282828);
  font-size: 0.75rem;
  line-height: 0.875rem;
  white-space: normal;
}
.lottery-side-rules {
  width: 5.3125rem;
}
.lottery-side-records {
  width: 5.3125rem;
}
/* 长语言标签在原有机身侧边宽度内换行，避免挤掉图标或盖住奖池。 */
.lottery-side-label {
  min-width: 0;
  text-align: start;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.lottery-side-action-icon {
  display: flex;
  flex: none;
}
.lottery-side-rules .lottery-side-action-icon {
  color: var(--lottery-button-foreground, #1a1c1e);
}
.lottery-side-action-icon--mobile {
  display: none;
}
/* 下方任务与状态卡片覆盖机身倒影。 */
.lottery-tasks,
.lottery-activity-status,
.lottery-attempt-notice {
  z-index: 3;
}
.lottery-tasks {
  position: absolute;
  top: 28.75rem;
  left: 0.9375rem;
  width: 23.75rem;
  display: grid;
  gap: 0.5rem;
}
.lottery-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  min-height: 3.6875rem;
  padding: 0.75rem 0.875rem;
  background: rgb(255 255 255 / 80%);
  border-radius: 0.5rem;
}
.lottery-task > div {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 0.25rem;
  overflow-wrap: anywhere;
}
.lottery-task strong {
  font-size: 0.875rem;
  font-weight: 700;
}
.lottery-task span {
  font-size: 0.75rem;
}
.lottery-task button {
  flex: none;
  width: 5.4375rem;
  min-height: 2.0625rem;
  padding: 0.25rem;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 0;
  border-radius: 6.1875rem;
  background: var(--lottery-accent);
  color: var(--lottery-button-foreground, #fff);
  font-size: 0.875rem;
  font-weight: 700;
}
.lottery-task button:disabled {
  background: #9da6b3;
}
.lottery-countdown {
  flex: none;
  display: grid;
  gap: 0.125rem;
  width: 5.4375rem;
  text-align: center;
  color: #6c6c6c;
}
.lottery-countdown strong {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lottery-activity-status {
  position: absolute;
  top: 28.75rem;
  left: 0.9375rem;
  width: 23.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 90%);
  text-align: center;
}
.lottery-button {
  display: block;
  width: 12.5rem;
  height: 3rem;
  margin-inline: auto;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.25rem;
  background: #282828;
  color: var(--lottery-button-foreground, white) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}
.lottery-button--red {
  background: var(--lottery-accent);
}
.lottery-sheet {
  width: 26.25rem;
  padding: 2rem;
  border-radius: 0.75rem;
  background: white;
}
.lottery-sheet > h2 {
  padding-inline: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}
.lottery-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-height: 15rem;
  justify-content: center;
  text-align: center;
}
.lottery-spinner {
  display: inline-block;
  width: 1.4375rem;
  height: 1.4375rem;
  border: 1px solid #6c6c6c;
  border-right-color: transparent;
  border-radius: 50%;
  animation: lottery-spin 800ms linear infinite;
}
.lottery-loading--icon {
  --voo-loading-layer-index: 0;
  min-height: 0;
  gap: 0;
  background: transparent;
}
/* 全屏 Loading 按视口定位，避免入场缩放使空面板成为零尺寸包含块。 */
.lottery-modal .lottery-modal__panel:has(.lottery-loading--icon) {
  transform: none;
}
.lottery-surface:has(> .lottery-loading--icon) > .lottery-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  color: white;
}
/* 两端共用同一画布；边界适配同步缩放素材、内容和操作，只裁切装饰光晕。 */
.lottery-surface[data-view='result']:has(.lottery-result) {
  display: flex;
  justify-content: center;
  width: min(37.5rem, 100dvw);
}
.lottery-result {
  --lottery-result-max-scale: 1;
  --lottery-result-vertical-space: 6rem;
  position: relative;
  flex: none;
  width: 37.5rem;
  height: 37.5rem;
  isolation: isolate;
  transform-origin: center center;
  animation: lottery-result-enter 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes lottery-result-enter {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lottery-result-background {
  position: absolute;
  inset: 0;
  width: 37.5rem;
  height: 37.5rem;
  object-fit: contain;
  pointer-events: none;
  z-index: -1;
}
.lottery-result-card {
  position: absolute;
  left: 7.5rem;
  top: 9.4375rem;
  width: 22.5rem;
  height: 21rem;
}
.lottery-result-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-inline: 1.25rem;
  padding-bottom: 1rem;
  max-height: 100%;
  overflow-y: auto;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
  text-align: center;
}
.lottery-result-content,
.lottery-result .lottery-coupons--multiple,
.lottery-result .lottery-coupon--flow {
  scrollbar-width: none;
}
.lottery-result-content::-webkit-scrollbar,
.lottery-result .lottery-coupons--multiple::-webkit-scrollbar,
.lottery-result .lottery-coupon--flow::-webkit-scrollbar {
  display: none;
}
.lottery-result-content > * {
  flex-shrink: 0;
}
/* 滚动文字沿白卡斜边裁切，首帧保留奖品图完整展示。 */
.lottery-result-content[data-scrolled='true'] {
  clip-path: polygon(0 1.25rem, 100% 0, 100% 100%, 0 100%);
}
.lottery-result-image {
  display: grid;
  place-items: center;
  /* 名称换行时优先让出图片区留白，价格和有效期保持完整。 */
  flex: 0 1 12.5rem;
  min-height: 6.25rem;
  width: 12.5rem;
  height: 12.5rem;
  margin-inline: auto;
}
.lottery-result-prize-image,
.lottery-result-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lottery-result-content h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 1.5rem;
  line-height: 1.8125rem;
  font-weight: 700;
}
.lottery-result-status {
  display: grid;
  gap: 1.25rem;
  text-align: center;
}
.lottery-result-status > p {
  line-height: 1.5;
}
.lottery-surface:is(:lang(de), :lang(fr)) .lottery-result-status .lottery-button {
  height: auto;
  min-height: 3rem;
  padding-block: 0.5rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.lottery-result-snapshot-name,
.lottery-asset-unavailable {
  color: #6c6c6c;
  font-size: 0.75rem;
  line-height: 1.25;
}
.lottery-result-snapshot-name {
  margin-top: 0.5rem !important;
}
.lottery-point-batches {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  text-align: center;
}
.lottery-points-validity {
  display: block;
}
.lottery-delivery-status {
  color: #6c6c6c;
  font-size: 0.6875rem;
}
.lottery-attempt-notice {
  position: absolute;
  top: 28.75rem;
  left: 0.9375rem;
  width: 23.75rem;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 0.625rem;
  background: white;
  border-radius: 0.5rem;
  font-size: 0.75rem;
}
.lottery-attempt-notice button {
  border: 1px solid #282828;
  border-radius: 1rem;
  padding: 0.25rem 0.75rem;
  background: white;
}
.lottery-draw[data-pending='true'] .lottery-spin-label {
  font-size: 0.75rem;
  line-height: 0.875rem;
  white-space: nowrap;
}
.lottery-draw[data-pending='true'] {
  height: 44.25rem;
}
.lottery-draw[data-pending='true'] .lottery-tasks {
  top: 34.75rem;
}
.lottery-result-card--gift h3 {
  text-transform: uppercase;
}
.lottery-result-price {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.1875rem;
}
.lottery-result-price del {
  color: #6c6c6c;
}
.lottery-result-detail {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d1d9e0;
  font-size: 0.75rem;
  line-height: 0.9375rem;
}
.lottery-result-detail p + p {
  color: #6c6c6c;
}
.lottery-result-card--points .lottery-result-description {
  color: #6c6c6c;
}
.lottery-result-detail small {
  font-size: inherit;
  line-height: inherit;
}
.lottery-result-card--gift .lottery-result-detail {
  margin-top: 1rem;
  padding-top: 0.75rem;
}
.lottery-result-card--points .lottery-result-detail {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
}
.lottery-result-button {
  position: absolute;
  left: 11.0625rem;
  top: 32rem;
  width: 15rem;
  border-radius: 0.25rem;
}
:where([data-wre-platform='mobile']) .lottery-result-button {
  border-radius: 1.5rem;
}
.lottery-coupon-slot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 15.5625rem;
  padding-top: 5.9375rem;
}
.lottery-coupons {
  width: 15rem;
  max-height: 8.125rem;
}
.lottery-coupons--multiple {
  display: grid;
  gap: 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lottery-coupon-image {
  width: 3.75rem;
  height: 2.5rem;
  max-width: 100%;
}
.lottery-coupon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  width: 15rem;
  height: 8.125rem;
  padding-top: 1.5rem;
  border-radius: 0.375rem;
  background: #282828;
  color: #f6d9ad;
}
.lottery-coupon > strong,
.lottery-coupon-terms > strong {
  font-size: 1.75rem;
  line-height: 2.125rem;
  font-weight: 800;
  color: transparent;
  background: url('https://s3.zeelool.com/admin/shop/home/3dc3696a6965a0c73aeb11fff7c500c5.png')
    center / cover;
  background-clip: text;
}
.lottery-result--grand .lottery-coupon > strong,
.lottery-result--grand .lottery-coupon-terms > strong {
  background-image: url('https://s3.zeelool.com/admin/shop/home/a2f3fa6d5652cda644cf86a368549856.png');
}
.lottery-surface:lang(fr) .lottery-coupon-off {
  font-size: 1rem;
}
.lottery-coupon > span:not(.lottery-coupon-label, .lottery-coupon-status),
.lottery-coupon-terms > span {
  font-size: 0.75rem;
  line-height: 0.875rem;
  color: transparent;
  background: url('https://s3.zeelool.com/admin/shop/home/5ba9e57234300a2d2625cfbd949ffe03.png')
    center / cover;
  background-clip: text;
}
.lottery-coupon-terms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  flex: none;
}
.lottery-coupon--flow {
  gap: 0;
  padding: 0 0 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: none;
}
.lottery-coupon--flow .lottery-coupon-terms {
  justify-content: center;
  width: 100%;
  min-height: 5.625rem;
  padding: 0.5rem 0.5rem 0;
}
.lottery-coupon--flow:not(.lottery-coupon--compact) .lottery-coupon-terms {
  padding-block: 1.125rem 0.625rem;
}
.lottery-coupon--compact {
  gap: 0.25rem;
  padding-top: 0.5rem;
}
.lottery-coupon--compact .lottery-coupon-terms {
  min-height: 0;
  padding-top: 0;
}
.lottery-coupon--compact .lottery-coupon-terms > strong {
  font-size: 1.125rem;
  line-height: 1.25;
}
.lottery-coupon--label-inset {
  padding-top: 1.5rem;
}
.lottery-coupon--flow .lottery-coupon-separator {
  position: static;
  flex: none;
  width: 100%;
  height: 0.75rem;
  margin: 0;
}
.lottery-coupon--flow small {
  flex: none;
  width: calc(100% - 1rem);
  margin-top: 0.375rem;
}
.lottery-coupon .lottery-asset-unavailable {
  color: inherit;
}
.lottery-coupon-status {
  font-size: 0.625rem;
  line-height: 0.875rem;
  color: #fff;
}
.lottery-coupon-label {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  padding: 0.125rem 0.375rem;
  border-radius: 0.375rem 0 0.375rem 0;
  background: #e5002b;
  color: white;
  font-size: 0.75rem;
  line-height: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lottery-coupon-separator {
  position: absolute;
  left: 0;
  top: 5.625rem;
}
.lottery-coupon small {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  color: #fff;
  font-size: 0.75rem;
  line-height: 0.875rem;
  text-align: center;
}
.lottery-coupon-description {
  margin-top: 0.875rem !important;
  font-size: 0.75rem;
  color: #6c6c6c;
}
.lottery-result--grand .lottery-coupon-description {
  margin-top: 0.875rem !important;
}
.lottery-records {
  width: 32.75rem;
  padding: 1.5rem 2rem;
}
.lottery-records > h2 {
  margin-bottom: 2rem;
}
.lottery-record-list {
  --lottery-record-scroll-inset: 2rem;
  max-height: 25.3125rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-right: calc(-1 * var(--lottery-record-scroll-inset));
  padding-right: var(--lottery-record-scroll-inset);
}
.lottery-record {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  grid-template-areas:
    'image info action'
    'image date date';
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: 6.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid #d1d9e0;
}
.lottery-record:first-child {
  padding-top: 0;
  min-height: 5.25rem;
}
.lottery-record-image {
  grid-area: image;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 0.25rem;
  background: #eee;
}
.lottery-record-image img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
.lottery-record-prize-image {
  width: 3.5rem;
  height: 3.5rem;
}
.lottery-record-info {
  grid-area: info;
  display: grid;
  gap: 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
  align-self: start;
  padding-top: 0.375rem;
}
.lottery-record-info > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
}
.lottery-record-info strong {
  font-size: 1rem;
  font-weight: 700;
}
.lottery-record-info > span {
  font-size: 0.75rem;
  font-family: 'Wre Instrument', sans-serif;
}
.lottery-used {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.1875rem 0.375rem;
  border-radius: 0.125rem;
  background: #e4e6eb;
  font-size: 0.75rem;
}
.lottery-record-action {
  grid-area: action;
  display: flex;
  align-self: start;
  justify-content: flex-end;
  font-family: 'Wre Instrument', sans-serif;
  padding-top: 0.375rem;
}
.lottery-record-action button {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
}
.lottery-record-footer {
  grid-area: date;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Wre Instrument', sans-serif;
  font-size: 0.75rem;
  line-height: 1.25;
}
.lottery-record-meta {
  display: grid;
  flex: 1 1 0;
  gap: 0.25rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.lottery-record-date {
  margin-left: auto;
  max-width: 100%;
  color: #6c6c6c;
  text-align: right;
  overflow-wrap: anywhere;
}
.lottery-record-pagination {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding-block: 1rem;
  color: #6c6c6c;
  font-size: 0.75rem;
  text-align: center;
}
.lottery-record-notice {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding-block: 0.75rem;
  font-size: 0.75rem;
  text-align: center;
}
.lottery-record-pagination button,
.lottery-record-error button,
.lottery-personal-state button {
  border: 1px solid #282828;
  border-radius: 1.25rem;
  padding: 0.5rem 1rem;
  background: white;
  color: #282828;
  font-size: 0.75rem;
}
.lottery-record-error p,
.lottery-record-pagination [role='alert'] {
  color: #a7000f;
}
.lottery-personal-state {
  justify-items: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: white;
  font-size: 0.75rem;
  text-align: center;
}
.lottery-records > .lottery-button {
  margin-top: 1.25rem;
}
.lottery-placeholder {
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
.lottery-placeholder p {
  font:
    1rem/1.5rem 'Wre Instrument',
    sans-serif;
  color: #6c6c6c;
}
.lottery-records--short > h2 {
  margin-bottom: 1.25rem;
}
.lottery-rules {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: calc(100dvh - 4rem);
}
.lottery-rule-copy {
  --lottery-rule-scroll-inset: 2rem;
  display: grid;
  gap: 1rem;
  min-height: 0;
  max-height: 27.375rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-right: calc(-1 * var(--lottery-rule-scroll-inset));
  padding-right: var(--lottery-rule-scroll-inset);
}
/* 细轨放入卡片原有右侧留白，避免系统滚动槽挤占正文或覆盖文字。 */
.lottery-record-list::-webkit-scrollbar,
.lottery-rule-copy::-webkit-scrollbar {
  width: 0.25rem;
  height: 0.25rem;
}
.lottery-record-list::-webkit-scrollbar-track,
.lottery-rule-copy::-webkit-scrollbar-track {
  background: transparent;
}
.lottery-record-list::-webkit-scrollbar-thumb,
.lottery-rule-copy::-webkit-scrollbar-thumb {
  background: #d1d1d1;
  border-radius: 0.25rem;
}
@supports selector(::-webkit-scrollbar) {
  .lottery-record-list,
  .lottery-rule-copy {
    scrollbar-gutter: stable;
  }
  .lottery-record-list {
    padding-right: calc(var(--lottery-record-scroll-inset) - 0.25rem);
  }
  .lottery-rule-copy {
    padding-right: calc(var(--lottery-rule-scroll-inset) - 0.25rem);
  }
}
@supports not selector(::-webkit-scrollbar) {
  .lottery-record-list,
  .lottery-rule-copy {
    scrollbar-width: thin;
    scrollbar-color: #d1d1d1 transparent;
  }
}
.lottery-rule-copy p {
  font-size: 0.875rem;
  line-height: 1.0625rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.lottery-rules > .lottery-button {
  width: 100%;
  flex: none;
  margin-top: 0.5rem;
}
.lottery-share {
  width: 30.875rem;
  padding: 2rem;
}
.lottery-sheet.lottery-share > h2 {
  font-size: 20px;
  line-height: 24px;
}
.lottery-error {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: #fff4f4;
  color: #a7000f;
  font-size: 0.75rem;
  text-align: center;
}
/* 机身任务高度随翻译换行，拒绝提示单独占行以免遮住底部任务。 */
.lottery-surface[data-view='draw'] > .lottery-error {
  position: relative;
  margin-bottom: 0.5rem;
}
@keyframes lottery-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 680px) {
  .voo-dialog.lottery-modal {
    --lottery-overlay-blur: 0.625rem;
  }
  .lottery-modal .voo-dialog__panel.lottery-modal__panel:has(.lottery-surface) {
    max-width: 100dvw;
  }
  .voo-dialog.lottery-modal:has(.lottery-surface[data-view='share']) {
    align-items: safe flex-end;
    padding-bottom: 0;
  }
  .lottery-modal .voo-dialog__panel.lottery-modal__panel:has(.lottery-surface[data-view='share']) {
    margin-block: 0;
  }
  .lottery-close--main {
    position: fixed;
    right: 1rem;
    top: 1rem;
    width: 1.75rem;
    height: 1.75rem;
  }
  .lottery-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
  }
  .lottery-close--main {
    top: 1rem;
    right: 1rem;
    width: 1.75rem;
    height: 1.75rem;
  }
  .lottery-draw {
    width: 18.75rem;
    height: 30rem;
    margin: 0;
    border-radius: 0.5625rem;
  }
  .lottery-draw--products {
    background: none;
  }
  .lottery-draw[data-pending='true'] .lottery-spin-label {
    font-size: 0.75rem;
    line-height: 0.875rem;
    white-space: nowrap;
  }
  .lottery-draw[data-pending='true'] {
    height: 34.5rem;
  }
  .lottery-attempt-notice {
    top: 23.375rem;
    left: 0.1875rem;
    width: 18.375rem;
  }
  .lottery-draw[data-pending='true'] .lottery-tasks {
    top: 27.8125rem;
  }
  .lottery-machine {
    left: 0;
    top: 0;
    width: 18.75rem;
    height: 25rem;
  }
  .lottery-machine-art {
    left: 0;
    top: 0;
    width: 18.75rem;
    height: 25rem;
  }
  .lottery-winners {
    top: 0.4375rem;
    left: 4.4375rem;
    width: 9.875rem;
    height: 1.875rem;
  }
  .lottery-winners > .voo-carousel {
    width: 9.875rem;
    height: 1.75rem;
  }
  .lottery-winners .voo-carousel__slide {
    min-height: 1.75rem;
    font-size: 0.6875rem;
  }
  .lottery-grid {
    top: 3.8825rem;
    left: 3.5625rem;
    grid-template: repeat(3, 3.375rem) / repeat(3, 3.375rem);
    gap: 0.375rem;
    padding: 0.375rem;
    border-radius: 1.033062rem;
  }
  .lottery-slot {
    width: 3.375rem;
    height: 3.375rem;
    border-radius: 0.5rem;
  }
  .lottery-slot-image {
    width: 3.125rem;
    height: 3.125rem;
  }
  .lottery-spin {
    --lottery-spin-unit: 0.052734375rem;
    width: 3.375rem;
    height: 3.375rem;
    border-radius: 0.525rem;
    font-size: 0.75rem !important;
    line-height: 0.98125rem !important;
  }
  .lottery-spin--empty .lottery-spin-label {
    font-size: 0.8125rem;
    line-height: 0.98125rem;
  }
  .lottery-spin-label--translated,
  .lottery-spin--empty .lottery-spin-label--translated {
    font-size: 0.6875rem;
  }
  .lottery-surface:lang(fr) .lottery-spin-label--translated {
    font-size: 0.625rem;
  }
  .lottery-draw-hint {
    left: 9.938125rem;
    top: 9.91375rem;
    width: 1.9345rem;
    height: 1.673938rem;
  }
  .lottery-prize-pool {
    --lottery-pool-size: 2.2246875rem;
    --lottery-pool-height: var(--lottery-pool-size);
    /* 最小六奖项也需覆盖循环窗口，保留整数尺寸测量的余量。 */
    --lottery-pool-gap: 0.4375rem;
    left: 2.875rem;
    top: 16.25rem;
    width: 13.0625rem;
    height: 2.8125rem;
    padding: 0.25rem 0.25rem 0;
    gap: 0.125rem;
    border-radius: 0.75rem;
  }
  .lottery-prize-pool > .voo-carousel {
    min-width: 0;
  }
  .lottery-chances {
    left: 5.8125rem;
    top: 20.5625rem;
    width: 7.1875rem;
    height: 1rem;
    font-size: 0.6875rem;
  }
  .lottery-side-actions {
    top: 0.25rem;
    left: auto;
    right: calc(-1 * clamp(0rem, (100dvw - 18.75rem) / 2, 2.34375rem));
    /* 两个入口共用最长文案的宽度，长语言仍在既有范围内换行。 */
    width: max-content;
    max-width: 3.8125rem;
    justify-items: stretch;
    gap: 0.75rem;
    z-index: 3;
  }
  .lottery-side-actions button {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.125rem;
    padding: 0.1875rem 0.25rem;
    border-radius: 6.1875rem 0 0 6.1875rem;
    font-size: 0.625rem;
    line-height: 0.75rem;
    text-decoration: none;
    white-space: normal;
  }
  .lottery-side-actions .lottery-side-rules {
    min-height: 1.1875rem;
  }
  .lottery-side-actions .lottery-side-records {
    min-height: 1.25rem;
  }
  .lottery-side-action-icon--desktop {
    display: none;
  }
  .lottery-side-action-icon--mobile {
    display: flex;
  }
  .lottery-tasks {
    top: 23.335625rem;
    left: 0.2175rem;
    width: 18.378rem;
    gap: 0.5rem;
  }
  .lottery-task {
    min-height: 3.0625rem;
    padding: 0.5625rem 0.6875rem;
    border-radius: 0.375rem;
    gap: 0.25rem;
  }
  .lottery-task > div {
    gap: 0.1875rem;
  }
  .lottery-task strong {
    font-size: 0.75rem;
  }
  .lottery-task span {
    font-size: 0.625rem;
  }
  .lottery-task button {
    width: 4.25rem;
    min-height: 1.625rem;
    padding: 0.125rem 0.25rem;
    font-size: 0.6875rem;
  }
  .lottery-countdown {
    width: 4.25rem;
  }
  .lottery-countdown strong {
    font-size: 0.6875rem;
  }
  .lottery-activity-status {
    top: 25.625rem;
    left: 0.1875rem;
    width: 18.375rem;
    font-size: 0.75rem;
  }
  .lottery-sheet {
    width: 19.6875rem;
    padding: 1.5rem 1rem;
  }
  .lottery-result {
    --lottery-result-max-scale: 0.8;
    --lottery-result-vertical-space: 8rem;
    zoom: 0.8;
    margin-bottom: 2rem;
  }
  .lottery-sheet > h2 {
    font-size: 1.125rem;
    line-height: 1.375rem;
  }
  .lottery-button:not(.lottery-result-button) {
    width: 9.5rem;
    height: 2.5rem;
    border-radius: 1.25rem;
    font-size: 0.875rem !important;
  }
  .lottery-surface:is(:lang(de), :lang(fr)) .lottery-result-status .lottery-button {
    min-height: 2.5rem;
  }
  .lottery-records > h2 {
    margin-bottom: 1.5rem;
  }
  .lottery-record-list {
    --lottery-record-scroll-inset: 1rem;
    height: 18.75rem;
    max-height: calc(100dvh - 15rem);
  }
  .lottery-record {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 0.5rem;
    min-height: 4.5625rem;
    padding-block: 0.75rem;
  }
  .lottery-record:first-child {
    min-height: 3.8125rem;
  }
  .lottery-record-image {
    width: 3rem;
    height: 3rem;
  }
  .lottery-record-image img {
    width: 2.625rem;
    height: 2.625rem;
  }
  .lottery-record-prize-image {
    width: 2.625rem;
    height: 2.625rem;
  }
  .lottery-record-info {
    gap: 0.75rem;
    padding-top: 0.25rem;
  }
  .lottery-record-info strong {
    font-size: 0.8125rem;
  }
  .lottery-record-info > div {
    gap: 0.25rem;
  }
  .lottery-record-info > span {
    font-size: 0.625rem;
  }
  .lottery-record-footer {
    margin-bottom: 0.25rem;
    font-size: 0.625rem;
  }
  .lottery-used {
    padding: 0.125rem 0.1875rem;
    font-size: 0.5rem;
  }
  .lottery-record-action button {
    font-size: 0.75rem;
  }
  .lottery-record-action {
    padding-top: 0.25rem;
  }
  .lottery-records > .lottery-button {
    margin-top: 1.25rem;
  }
  .lottery-records--short > h2 {
    margin-bottom: 1.5rem;
  }
  .lottery-records--short .lottery-placeholder {
    min-height: 6.5rem;
  }
  .lottery-records--short > .lottery-button {
    margin-top: 1.5rem;
  }
  .lottery-placeholder p {
    font-size: 0.875rem;
  }
  .lottery-rules {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .lottery-rule-copy {
    --lottery-rule-scroll-inset: 1.5rem;
    max-height: 19.1875rem;
    gap: 0.75rem;
  }
  .lottery-rules > .lottery-button {
    width: 9.5rem;
    margin-top: 0;
  }
  .lottery-share {
    width: 100dvw;
    min-height: 12.5rem;
    padding: 3.375rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
    border-radius: 0.75rem 0.75rem 0 0;
  }
  .lottery-share:lang(en) .share-actions__option--copy {
    flex: none;
  }
  .lottery-share:lang(en) .share-actions__option--copy .share-actions__label {
    white-space: nowrap;
  }
}
/* 英文复制标签保留完整宽度，375px 下四段间距各让出1px，窄屏仍沿用共享样式的8px。 */
@media (min-width: 375px) and (max-width: 680px) {
  .lottery-share:lang(en) .share-actions__options {
    column-gap: 15px;
  }
}
/* 优先限制白卡的可用宽度，再按短屏高度缩放完整画布；旧浏览器保留基础缩放。 */
@supports (zoom: calc(100dvw / 1rem)) {
  .lottery-result {
    zoom: min(
      var(--lottery-result-max-scale),
      calc((100dvw - 2rem) / 22.5rem),
      max(0.65, calc((100dvh - var(--lottery-result-vertical-space)) / 37.5rem))
    );
  }
}
/* 短桌面视口保留完整玩法及关闭入口，不裁掉任务区域。 */
@media (min-width: 681px) and (max-height: 760px) {
  .lottery-draw {
    zoom: 0.8;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lottery-modal::before,
  .lottery-modal .voo-dialog__panel {
    transition: none;
  }
  .lottery-result {
    animation: none;
  }
  .lottery-slot {
    transition: none;
  }
}
/*$vite$:1*/