:root {
    color-scheme: dark;
    --page-bg: #061027;
    --ink: #fff7d6;
    --cyan: #4ee9ff;
    --gold: #ffd95c;
    --red: #ff4b5e;
    --wheel-size: clamp(330px, 48vw, 590px);
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    min-height: 100%;
    margin: 0;
  }
  
  body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--page-bg);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  }
  
  button {
    color: inherit;
    font: inherit;
  }
  
  .event-page {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(18px, 3vh, 34px) 22px 22px;
    background:
      linear-gradient(rgba(2, 8, 27, 0.16) 1px, transparent 1px),
      linear-gradient(90deg, rgba(2, 8, 27, 0.16) 1px, transparent 1px),
      radial-gradient(circle at 50% 42%, rgba(22, 103, 153, 0.5), transparent 37%),
      linear-gradient(180deg, #07132f 0%, #0a1f47 48%, #071027 100%);
    background-size: 54px 54px, 54px 54px, auto, auto;
  }
  
  .event-page::before,
  .event-page::after {
    position: absolute;
    z-index: -1;
    top: 0;
    width: 44vw;
    height: 72vh;
    content: "";
    opacity: 0.32;
    pointer-events: none;
  }
  
  .event-page::before {
    left: -18vw;
    background: linear-gradient(68deg, transparent 43%, rgba(0, 205, 255, 0.22) 44%, transparent 68%);
  }
  
  .event-page::after {
    right: -18vw;
    background: linear-gradient(-68deg, transparent 43%, rgba(255, 46, 111, 0.19) 44%, transparent 68%);
  }
  
  .stage-lights {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 26vh;
    border-bottom: 1px solid rgba(89, 193, 255, 0.2);
    background:
      radial-gradient(circle at 9% 16%, #ffffff 0 2px, #5ddcff 3px 5px, transparent 7px),
      radial-gradient(circle at 24% 9%, #ffffff 0 2px, #ffd95c 3px 5px, transparent 7px),
      radial-gradient(circle at 76% 10%, #ffffff 0 2px, #ff6381 3px 5px, transparent 7px),
      radial-gradient(circle at 91% 17%, #ffffff 0 2px, #5ddcff 3px 5px, transparent 7px),
      linear-gradient(174deg, transparent 48%, rgba(69, 132, 183, 0.24) 49% 50%, transparent 51%),
      linear-gradient(6deg, transparent 48%, rgba(69, 132, 183, 0.24) 49% 50%, transparent 51%);
  }
  
  .confetti {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }
  
  .confetti-piece {
    position: absolute;
    top: -24px;
    width: 9px;
    height: 16px;
    border-radius: 1px;
    opacity: 0;
    animation: confetti-fall 2.8s cubic-bezier(0.15, 0.65, 0.4, 1) forwards;
  }
  
  @keyframes confetti-fall {
    0% { opacity: 0; transform: translate3d(0, -20px, 0) rotate(0deg); }
    8% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--drift), 105vh, 0) rotate(var(--spin)); }
  }
  
  .event-title {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.72);
  }
  
  .title-stars {
    position: absolute;
    top: -4px;
    left: 50%;
    width: min(410px, 85vw);
    display: flex;
    justify-content: space-between;
    color: var(--gold);
    font-size: clamp(1.15rem, 2.4vw, 1.8rem);
    transform: translateX(-50%);
  }
  
  .title-stars span:nth-child(2) {
    color: #ff4d81;
    transform: translateY(-10px) rotate(45deg);
  }
  
  .event-title h1 {
    position: relative;
    margin: 0;
    padding: 0 20px;
    color: #fff0a8;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 0.98;
    -webkit-text-stroke: 2px #89295c;
    filter: drop-shadow(0 3px 0 #40185d) drop-shadow(0 0 11px rgba(255, 101, 110, 0.48));
  }
  
  .event-title p {
    margin: 9px 0 0;
    padding: 7px 28px;
    border: 2px solid #53daf2;
    border-radius: 5px;
    background: #17458c;
    color: #ffe997;
    font-size: clamp(0.76rem, 1.55vw, 1.05rem);
    font-weight: 900;
    box-shadow: 0 4px 0 #071f57, inset 0 0 12px rgba(40, 205, 255, 0.25);
  }
  
  .event-title strong {
    margin-top: -2px;
    color: #fff0a8;
    font-size: clamp(1.1rem, 2.2vw, 1.7rem);
    font-weight: 1000;
    -webkit-text-stroke: 1px #912d48;
  }
  
  .draw-layout {
    position: relative;
    z-index: 2;
    width: min(1240px, 100%);
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(330px, 640px) minmax(180px, 260px);
    gap: clamp(16px, 2.5vw, 34px);
    align-items: center;
    justify-content: center;
    margin-top: clamp(12px, 2vh, 24px);
  }
  
  .announcement {
    position: relative;
    align-self: center;
    min-height: 176px;
    padding: 17px 18px;
    border: 1px solid rgba(99, 227, 255, 0.6);
    border-radius: 6px;
    background: rgba(7, 25, 67, 0.86);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(27, 113, 187, 0.18);
  }
  
  .announcement::before,
  .announcement::after {
    position: absolute;
    width: 32px;
    height: 4px;
    background: #ff4664;
    content: "";
  }
  
  .announcement::before { top: 7px; left: -5px; transform: rotate(-32deg); }
  .announcement::after { right: -5px; bottom: 7px; transform: rotate(-32deg); }
  
  .announcement h2 {
    margin: 0;
    color: #ffe375;
    font-size: 1.05rem;
    text-align: center;
  }
  
  .announcement-line {
    width: 76%;
    height: 1px;
    margin: 10px auto 14px;
    background: linear-gradient(90deg, transparent, #47dcff, transparent);
  }
  
  .announcement p {
    margin: 10px 0;
    color: #dbe9ff;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  
  .announcement p strong {
    color: #ffd95c;
  }
  
  .announcement dl,
  .announcement dl div {
    margin: 0;
  }
  
  .announcement dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid rgba(113, 191, 239, 0.15);
  }
  
  .announcement dt {
    color: #9cb6dc;
    font-size: 0.75rem;
  }
  
  .announcement dd {
    margin: 0;
    color: #fff3be;
    font-size: 0.82rem;
    font-weight: 800;
  }
  
  .announcement dd.online {
    color: #51e8ae;
  }
  
  .wheel-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .wheel-machine {
    position: relative;
    width: var(--wheel-size);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 22px 25px rgba(0, 0, 0, 0.4));
  }
  
  .wheel-shadow {
    position: absolute;
    z-index: -1;
    bottom: 0;
    width: 78%;
    height: 13%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.46);
    filter: blur(14px);
  }
  
  .arch {
    position: absolute;
    z-index: -1;
    top: 3%;
    width: 50%;
    height: 89%;
    border: clamp(12px, 2vw, 21px) solid #245992;
    box-shadow: inset 0 0 0 3px #79ddf4, 0 0 0 3px #102b60;
  }
  
  .arch-left {
    left: -5%;
    border-right: 0;
    border-radius: 100% 0 0 100%;
    transform: rotate(-12deg);
  }
  
  .arch-right {
    right: -5%;
    border-left: 0;
    border-radius: 0 100% 100% 0;
    transform: rotate(12deg);
  }
  
  .wheel-rim {
    position: absolute;
    z-index: 1;
    inset: 2.2%;
    border: clamp(11px, 1.8vw, 18px) solid #1b3d76;
    border-radius: 50%;
    background: #09214e;
    box-shadow: 0 0 0 4px #65dff5, 0 0 0 8px #193b72, 0 0 25px rgba(52, 219, 255, 0.72), inset 0 0 18px rgba(0, 0, 0, 0.7);
  }
  
  .bulbs {
    position: absolute;
    inset: 0;
  }
  
  .bulb {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(6px, 0.9vw, 10px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff5ba;
    box-shadow: 0 0 7px #ffffff, 0 0 12px #60e9ff;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--wheel-size) * -0.425));
    animation: bulb-pulse 1.2s ease-in-out infinite alternate;
    animation-delay: var(--delay);
  }
  
  @keyframes bulb-pulse {
    from { opacity: 0.58; filter: brightness(0.9); }
    to { opacity: 1; filter: brightness(1.35); }
  }
  
  .wheel {
    position: absolute;
    z-index: 2;
    inset: 9.3%;
    overflow: hidden;
    border: clamp(5px, 0.8vw, 9px) solid #f8c854;
    border-radius: 50%;
    background: conic-gradient(
      from -18deg,
      #c52c96 0deg 36deg,
      #6358d9 36deg 72deg,
      #19b8dc 72deg 108deg,
      #db263e 108deg 144deg,
      #6b36c7 144deg 180deg,
      #159ccd 180deg 216deg,
      #873ac8 216deg 252deg,
      #247bd0 252deg 288deg,
      #e2a62d 288deg 324deg,
      #168bc8 324deg 360deg
    );
    box-shadow: inset 0 0 0 3px #203b79, inset 0 0 30px rgba(0, 0, 0, 0.64), 0 0 15px #54e8ff;
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    will-change: transform;
  }
  
  .sector-lines {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(from -18deg, transparent 0deg 35.25deg, rgba(255, 236, 135, 0.94) 35.25deg 36deg);
  }
  
  .sector-lines::after {
    position: absolute;
    inset: 8%;
    border: 2px solid rgba(205, 252, 255, 0.7);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 8px rgba(104, 236, 255, 0.8), inset 0 0 15px rgba(1, 12, 45, 0.5);
  }
  
  .wheel-labels {
    position: absolute;
    inset: 0;
  }
  
  .wheel-label {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 23%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff3a5;
    font-size: clamp(1.15rem, 3.1vw, 2.45rem);
    font-weight: 1000;
    line-height: 0.86;
    text-align: center;
    text-shadow: 0 2px 0 #432369, 0 0 6px rgba(255, 255, 255, 0.65);
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--wheel-size) * -0.265)) rotate(calc(var(--angle) * -1));
    user-select: none;
  }
  
  .wheel-label small {
    margin-top: 5px;
    font-size: 0.52em;
    font-weight: 900;
  }
  
  .wheel-label.is-lucky {
    font-size: clamp(0.92rem, 2.25vw, 1.75rem);
  }
  
  .wheel-label.is-winner strong,
  .wheel-label.is-winner small {
    color: #ffffff;
    text-shadow: 0 0 4px #ffffff, 0 0 10px #ffe36f, 0 0 18px #ffb52e;
    animation: winner-glow 700ms ease-in-out infinite alternate;
  }
  
  @keyframes winner-glow {
    to { filter: brightness(1.45); transform: scale(1.08); }
  }
  
  .wheel-gloss {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.25), transparent 27%, transparent 65%, rgba(1, 10, 43, 0.28));
    pointer-events: none;
  }
  
  .hub-ring {
    position: absolute;
    z-index: 4;
    width: 26%;
    aspect-ratio: 1;
    border: 3px solid #ffeb89;
    border-radius: 50%;
    background: #d66c24;
    box-shadow: 0 0 0 4px #8a351d, 0 0 0 7px #ffd45b, 0 0 18px rgba(255, 212, 91, 0.72), inset 0 0 12px rgba(104, 31, 15, 0.7);
  }
  
  .go-button {
    position: absolute;
    z-index: 5;
    width: 20.5%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #fff1a9;
    border-radius: 50%;
    background: radial-gradient(circle at 33% 28%, #fffbd0 0%, #ffdb59 43%, #f29b29 77%, #d75d22 100%);
    color: #542019;
    cursor: pointer;
    box-shadow: 0 4px 0 #7d2d1d, inset 0 0 8px rgba(255, 255, 255, 0.75);
    transition: transform 150ms ease, filter 150ms ease;
  }
  
  .go-button:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: scale(1.045);
  }
  
  .go-button:active:not(:disabled) {
    transform: translateY(3px) scale(0.98);
  }
  
  .go-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
  }
  
  .go-button:disabled {
    cursor: wait;
    filter: saturate(0.65) brightness(0.82);
  }
  
  .go-cn {
    font-size: clamp(0.9rem, 2vw, 1.45rem);
    font-weight: 1000;
    line-height: 1;
  }
  
  .go-en {
    margin-top: 3px;
    font-size: clamp(0.72rem, 1.5vw, 1.05rem);
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1;
  }
  
  .top-pointer {
    position: absolute;
    z-index: 6;
    top: -0.5%;
    left: 50%;
    width: 10.5%;
    aspect-ratio: 1.05;
    padding: 5px;
    background: #d8752a;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    filter: drop-shadow(0 3px 0 #7b2b21) drop-shadow(0 0 8px #fff0a0);
    transform: translateX(-50%);
  }
  
  .top-pointer span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ffe169, #fff1ad, #ffc83f);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  
  .draw-status {
    width: min(430px, 88%);
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 9px 16px;
    border: 1px solid rgba(91, 224, 255, 0.54);
    border-radius: 999px;
    background: rgba(5, 19, 53, 0.88);
    color: #dceaff;
    font-size: clamp(0.76rem, 1.3vw, 0.9rem);
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
  
  .status-light {
    width: 8px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #51e8ae;
    box-shadow: 0 0 9px #51e8ae;
  }
  
  .status-light.is-spinning {
    background: #ffd65c;
    box-shadow: 0 0 9px #ffd65c;
    animation: status-blink 600ms ease-in-out infinite alternate;
  }
  
  .status-light.is-error {
    background: #ff596a;
    box-shadow: 0 0 9px #ff596a;
  }
  
  @keyframes status-blink { to { opacity: 0.35; } }
  
  .draw-note {
    margin: 8px 0 0;
    color: #7896c2;
    font-size: 0.66rem;
    text-align: center;
  }
  
  .result-dialog[hidden] {
    display: none;
  }
  
  .result-dialog {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
  }
  
  .result-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 6, 24, 0.78);
    backdrop-filter: blur(6px);
  }
  
  .result-content {
    position: relative;
    width: min(390px, 100%);
    overflow: hidden;
    padding: 34px 28px 28px;
    border: 2px solid #ffd860;
    border-radius: 8px;
    background: #102b65;
    text-align: center;
    box-shadow: 0 0 0 6px #285f9e, 0 24px 70px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(58, 187, 255, 0.18);
    animation: result-in 320ms cubic-bezier(0.2, 0.82, 0.32, 1.2);
  }
  
  .result-content::before {
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #ff475f, #ffd65c, #48dcff, #9e5cff);
    content: "";
  }
  
  @keyframes result-in {
    from { opacity: 0; transform: translateY(14px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  
  .result-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b9cbe8;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
  }
  
  .result-kicker {
    margin: 0;
    color: #58dcff;
    font-size: 0.7rem;
    font-weight: 800;
  }
  
  .result-content h2 {
    margin: 6px 0 12px;
    color: #fff0a3;
    font-size: 1.85rem;
  }
  
  .result-prize {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #ffd65c;
    text-shadow: 0 0 20px rgba(255, 203, 67, 0.42);
  }
  
  .result-prize strong {
    font-size: clamp(3.2rem, 12vw, 5rem);
    line-height: 1;
  }
  
  .result-prize span {
    margin-left: 6px;
    font-size: 1.5rem;
    font-weight: 900;
  }
  
  .result-content > p:not(.result-kicker) {
    margin: 16px 0 22px;
    color: #c8d9f2;
    font-size: 0.86rem;
  }
  
  .result-confirm {
    min-width: 148px;
    padding: 11px 22px;
    border: 1px solid #fff0a3;
    border-radius: 5px;
    background: #d83b52;
    color: #fff7cf;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 4px 0 #7f2238;
  }
  
  .result-confirm:hover { filter: brightness(1.1); }
  
  @media (max-width: 980px) {
    :root { --wheel-size: clamp(350px, 64vw, 570px); }
    .draw-layout { grid-template-columns: 1fr; }
    .announcement { display: none; }
  }
  
  @media (max-width: 560px) {
    :root { --wheel-size: min(94vw, 430px); }
    .event-page { padding: 16px 10px 18px; }
    .event-title h1 { font-size: clamp(2.25rem, 13vw, 3.45rem); }
    .event-title p { padding: 6px 16px; }
    .draw-layout { margin-top: 16px; }
    .arch { border-width: 11px; }
    .wheel-label { font-size: clamp(1.05rem, 6.8vw, 1.75rem); }
    .wheel-label.is-lucky { font-size: clamp(0.78rem, 5vw, 1.3rem); }
    .draw-status { margin-top: 12px; }
  }
  
  @media (max-height: 760px) and (min-width: 981px) {
    :root { --wheel-size: min(58vh, 500px); }
    .event-page { padding-top: 12px; }
    .event-title h1 { font-size: 2.8rem; }
    .event-title p { margin-top: 5px; padding-top: 4px; padding-bottom: 4px; }
    .draw-layout { margin-top: 8px; }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .bulb,
    .status-light.is-spinning,
    .confetti-piece,
    .result-content { animation: none; }
  }
/* ===== Language switcher (top-right) ===== */
.lang-switch {
  position: fixed;
  z-index: 30;
  top: 14px;
  right: 14px;
}

[dir="rtl"] .lang-switch {
  right: auto;
  left: 14px;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(99, 227, 255, 0.6);
  border-radius: 999px;
  background: rgba(7, 25, 67, 0.92);
  color: #ffe997;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42), inset 0 0 14px rgba(27, 113, 187, 0.22);
  transition: filter 150ms ease, transform 150ms ease;
}

.lang-button:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.lang-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.lang-globe {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: #58dcff;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.lang-caret {
  color: #58dcff;
  font-size: 0.7rem;
  transition: transform 180ms ease;
}

.lang-switch.is-open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  max-height: min(58vh, 420px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(99, 227, 255, 0.55);
  border-radius: 8px;
  background: rgba(6, 20, 55, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), inset 0 0 22px rgba(27, 113, 187, 0.16);
  animation: lang-menu-in 160ms cubic-bezier(0.2, 0.82, 0.32, 1.1);
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu[hidden] {
  display: none;
}

@keyframes lang-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #dbe9ff;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: left;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

.lang-option:hover {
  background: rgba(88, 220, 255, 0.14);
}

.lang-option.is-active {
  background: rgba(88, 220, 255, 0.2);
  color: #fff3a5;
  font-weight: 800;
}

.lang-option-code {
  flex: 0 0 auto;
  min-width: 26px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(4, 14, 40, 0.85);
  color: #58dcff;
  font-size: 0.66rem;
  font-weight: 800;
  text-align: center;
}

/* ===== Rolling winner ticker ===== */
.winner-viewport {
  position: relative;
  height: 150px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}

.winner-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: winner-scroll 22s linear infinite;
}

.winner-viewport:hover .winner-track {
  animation-play-state: paused;
}

@keyframes winner-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.winner-item {
  padding: 7px 0;
  border-bottom: 1px solid rgba(113, 191, 239, 0.12);
  color: #dbe9ff;
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: nowrap;
}

.winner-item b {
  color: #cfe2ff;
  font-weight: 800;
}

.winner-item strong {
  color: #ffd95c;
  font-weight: 800;
}

/* ===== Continuously growing amount ===== */
.announcement dd.amount {
  color: #51e8ae;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(81, 232, 174, 0.45);
}

@media (max-width: 560px) {
  .lang-switch {
    top: 10px;
    right: 10px;
  }
  .lang-button {
    padding: 7px 10px;
    font-size: 0.76rem;
  }
  .lang-menu {
    width: 176px;
    max-height: 52vh;
  }
  .winner-viewport {
    height: 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .winner-track,
  .lang-menu {
    animation: none;
  }
}
