:root {
  --bg: #19110c;
  --gold: #f5e2ba;
  --muted: #c8b59b;
  --red: #ab302b;
  --line: rgba(212, 187, 144, 0.24);
  --serif: 'Songti SC', 'STSong', 'Noto Serif SC', serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: #faf6f0;
  background: radial-gradient(ellipse at 80% 30%, #483222 0, transparent 50%), #120d09;
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  min-height: 44px;
  color: var(--gold);
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 7px;
  padding: 10px 16px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:hover:not(:disabled) {
  filter: brightness(1.12);
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #f5e2ba;
  outline-offset: 3px;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.phone-shell {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 50% 6%, #49332355, transparent 24%),
    linear-gradient(145deg, #291d15, #19110c 40%, #291d15);
  overflow: hidden;
  box-shadow: 0 0 100px #0009;
  padding-bottom: calc(74px + env(safe-area-inset-bottom));
}
.brandbar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 14px 22px;
}
.brandbar img {
  width: 105px;
  height: 31px;
  object-fit: contain;
}
.brandbar > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.icon {
  font-size: 22px;
  padding: 3px;
  min-width: 44px;
  min-height: 44px;
  border: none;
}
.hero {
  text-align: center;
  padding: 29px 20px 17px;
  position: relative;
  isolation: isolate;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 2.8px;
  color: #bda17a;
}
.pretitle {
  font-size: 12px;
  letter-spacing: 5px;
  color: #d4bb90;
  margin: 18px 0 8px;
}
.hero h1 {
  font: 500 49px/1.2 var(--serif);
  letter-spacing: 8px;
  color: var(--gold);
  text-shadow: 0 4px 22px #cf94442b;
}
.hero h1 span {
  background: linear-gradient(#fff2d6, #d8b779);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 18px 0 8px;
  color: #d4bb90;
  font-size: 11px;
  letter-spacing: 1px;
}
.hero-rule i {
  height: 1px;
  width: 26px;
  background: linear-gradient(90deg, transparent, #ae8c52);
}
.hero-rule i:last-child {
  transform: rotate(180deg);
}
.subtitle {
  font-size: 9px;
  color: #b59e83;
  letter-spacing: 0.5px;
}
.hero-orbit {
  position: absolute;
  inset: 35px -60px auto;
  height: 410px;
  border: 1px solid #d4bb9010;
  border-radius: 50%;
  z-index: -1;
  transform: rotate(-20deg);
  box-shadow:
    0 0 0 18px #d4bb9005,
    0 0 0 60px #d4bb9004;
}
.hero-products {
  height: 173px;
  margin: 12px -10px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-products img {
  width: 88%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 15px #0005);
}
.seal {
  position: absolute;
  right: 15px;
  top: 16px;
  width: 44px;
  height: 55px;
  color: #efd5ad;
  background: linear-gradient(145deg, #ab302b, #7e1d19);
  border: 1px solid #d8b26b80;
  padding: 5px;
  line-height: 1.6;
  font-family: var(--serif);
  letter-spacing: 3px;
  box-shadow: 0 0 0 3px #712e2255;
  border-radius: 0 0 20px 20px;
}
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 10px;
  color: #bfa583;
  margin-top: 11px;
}
.countdown b {
  display: inline-grid;
  place-items: center;
  background: #120c0980;
  color: #f5e2ba;
  min-width: 25px;
  height: 27px;
  border: 1px solid #ae8c5233;
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
  margin: 0 3px;
}
.ticker {
  background: linear-gradient(90deg, #76231c55, #3a251b);
  border-block: 1px solid #ba8c5230;
  display: flex;
  align-items: center;
  padding: 9px 20px;
  gap: 12px;
  min-height: 36px;
  font-size: 10px;
}
.ticker > span {
  color: #efc59c;
  flex-shrink: 0;
  border-right: 1px solid #ab7d52;
  padding-right: 10px;
}
.ticker p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c8b59b;
  transition: opacity 0.3s;
}
.account-card {
  margin: 22px 20px 0;
  background: linear-gradient(115deg, #493627, #2b2018);
  border: 1px solid #d4bb9055;
  padding: 17px 18px 0;
  border-radius: 10px;
  box-shadow: 0 8px 24px #0003;
  position: relative;
}
.section-kicker {
  font-size: 7px;
  letter-spacing: 2px;
  color: #b49a76;
}
.account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 5px 0 11px;
}
.account-top h2 {
  font-size: 16px;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold);
}
.account-top p {
  font-size: 9px;
  color: #bca88f;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.remaining {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.remaining strong {
  font: 42px/1.1 var(--serif);
  color: #f5e2ba;
}
.remaining small {
  font-size: 9px;
  color: #bca88f;
}
.account-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #d4bb9020;
  font-size: 9px;
  color: #bca88f;
  gap: 4px;
}
.account-bottom button {
  border: 0;
  padding: 8px 0;
  font-size: 10px;
}
.account-bottom #accountActions {
  display: flex;
  gap: 12px;
}
.section-title {
  text-align: center;
  margin: 35px 0 22px;
}
.section-title > span {
  font-size: 7px;
  letter-spacing: 2px;
  color: #a98d68;
}
.section-title h2 {
  font: 500 22px var(--serif);
  color: var(--gold);
  margin: 9px 0;
}
.section-title p {
  font-size: 10px;
  letter-spacing: 1px;
  color: #b49b7e;
}
.mode-switch {
  display: flex;
  width: 230px;
  margin: 0 auto 22px;
  padding: 4px;
  background: #100b08;
  border: 1px solid #d4bb9033;
  border-radius: 30px;
}
.mode-switch button {
  border: 0;
  border-radius: 25px;
  flex: 1;
  min-height: 44px;
  padding: 7px 10px;
  font-size: 11px;
  color: #ac9376;
}
.mode-switch button.active {
  background: linear-gradient(120deg, #efdbb3, #b58e54);
  color: #352318;
  box-shadow: 0 2px 10px #0005;
}
.wheel-stage {
  position: relative;
  width: calc(100% - 38px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.wheel-aura {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, #b68a3030, transparent 67%);
  pointer-events: none;
}
.wheel-frame {
  width: 100%;
  height: 100%;
  padding: 19px;
  border-radius: 50%;
  background: repeating-conic-gradient(#a17b45 0deg 1deg, #362618 1deg 3deg);
  border: 3px solid #d4bb90;
  box-shadow:
    0 0 0 4px #503d27,
    0 0 0 6px #ae8c5270,
    0 16px 25px #0008,
    inset 0 0 0 7px #2a1b10;
  position: relative;
}
.wheel-frame canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  border: 2px solid #d4bb90;
  transition: transform 4.8s cubic-bezier(0.12, 0.82, 0.18, 1);
}
#lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bulb {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffe6b0;
  border-radius: 50%;
  box-shadow: 0 0 6px #ffc963;
  transform: translate(-50%, -50%);
  animation: twinkle 1s alternate infinite;
}
.bulb:nth-child(2n) {
  animation-delay: 0.5s;
}
.pointer {
  position: absolute;
  z-index: 3;
  top: -6px;
  width: 29px;
  height: 44px;
  background: linear-gradient(90deg, #99703c, #ffedc3 50%, #b38b51);
  clip-path: polygon(50% 100%, 0 12%, 50% 0, 100% 12%);
  filter: drop-shadow(0 3px 3px #000);
}
.wheel-center {
  position: absolute;
  border-radius: 50%;
  width: 104px;
  height: 104px;
  background: linear-gradient(140deg, #ffecc8, #c59d61 70%, #e7c78c);
  color: #452c17;
  border: 6px double #a47c43;
  box-shadow:
    0 4px 10px #0007,
    inset 0 0 0 3px #f5e2ba80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.wheel-center > span {
  font: 600 19px var(--serif);
  letter-spacing: 1px;
}
.wheel-center small {
  font-size: 9px;
  margin-top: 5px;
}
.draw-note {
  margin: 23px 0 0;
  text-align: center;
  color: #ac9376;
  font-size: 10px;
  min-height: 18px;
  padding: 0 18px;
}
.pool-section,
.records-section {
  padding: 0 20px;
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.prize-card {
  background: #f7f1e7;
  border: 1px solid #c5a36b;
  border-radius: 7px;
  overflow: hidden;
  color: #3b2a1d;
  position: relative;
}
.prize-photo {
  height: 151px;
  background: radial-gradient(#fff, #f0e6d7);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prize-photo img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.prize-level {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 9px;
  background: #7e1d19;
  color: #f5e2ba;
  font-size: 9px;
  border-radius: 0 0 7px 0;
}
.prize-info {
  padding: 12px;
  border-top: 1px solid #b5976a33;
}
.prize-info h3 {
  font-size: 11px;
  min-height: 34px;
  font-weight: 500;
  line-height: 1.55;
}
.prize-info p {
  margin-top: 6px;
  color: #96754e;
  font-size: 9px;
}
.prize-info strong {
  font: 20px var(--serif);
  color: #7e3022;
  margin-left: 3px;
}
.prize-info small {
  display: block;
  color: #a18e77;
  font-size: 7px;
  letter-spacing: 1px;
  margin-top: 3px;
}
.record-list .empty {
  padding: 30px 10px;
  text-align: center;
  font-size: 25px;
  color: #ab8d62;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff03;
}
.empty p {
  font-size: 11px;
  color: #b59e83;
  margin-top: 8px;
}
.record-card {
  border: 1px solid #d4bb9040;
  border-radius: 8px;
  background: linear-gradient(120deg, #38291d, #241910);
  padding: 14px;
  margin-bottom: 12px;
}
.record-product {
  display: flex;
  gap: 12px;
  align-items: center;
}
.record-product img {
  width: 60px;
  height: 68px;
  object-fit: contain;
  background: #faf6f0;
  border-radius: 4px;
}
.record-product h3 {
  font-size: 12px;
  color: var(--gold);
}
.record-product p {
  font-size: 10px;
  color: #c8b59b;
  margin-top: 5px;
}
.badge {
  font-size: 9px;
  border: 1px solid #ae8c5266;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 3px;
  color: #dfc79d;
}
.badge.redeemed {
  color: #b6c6a8;
}
.record-code {
  font-family: monospace;
  letter-spacing: 1px;
  color: #e1c797;
  font-size: 12px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.record-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.record-actions button {
  font-size: 10px;
  flex: 1;
  padding: 8px 5px;
  min-height: 44px;
}
.rules-card {
  margin: 30px 20px 0;
  border-top: 1px solid #d4bb9030;
  padding: 22px 0;
}
.rules-card h3 {
  font-size: 12px;
  font-weight: 500;
  color: #dfcba9;
}
.rules-card h3 span {
  font-size: 7px;
  letter-spacing: 2px;
  margin-left: 10px;
  color: #a48c6f;
}
.rules-card > p {
  font-size: 10px;
  white-space: pre-line;
  line-height: 2.1;
  color: #ab9780;
  margin-top: 12px;
}
.service {
  background: #d4bb9009;
  padding: 14px;
  margin-top: 16px;
  border-left: 2px solid #ae8c52;
}
.service span {
  font-size: 11px;
  color: #d4bb90;
}
.service p {
  font-size: 10px;
  color: #b29b80;
  margin-top: 6px;
}
footer {
  text-align: center;
  padding: 20px 10px 30px;
  border-top: 1px solid #d4bb9018;
}
footer img {
  width: 98px;
  height: 40px;
  object-fit: contain;
  opacity: 0.6;
}
footer p {
  font-size: 10px;
  letter-spacing: 3px;
  color: #a18a6c;
  margin: 8px;
}
footer > span {
  font-size: 6px;
  letter-spacing: 2px;
  color: #796752;
}
.bottom-nav {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  display: flex;
  justify-content: space-around;
  background: #21170ff2;
  backdrop-filter: blur(20px);
  border-top: 1px solid #d4bb9040;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  display: grid;
  place-items: center;
  text-decoration: none;
  min-height: 44px;
  font-size: 11px;
  color: #ddc8a5;
  flex: 1;
}
.desktop-preview {
  display: none;
}
.gold {
  background: linear-gradient(115deg, #f5e2ba, #c5a26b);
  border: 1px solid #e1c68f;
  color: #342317;
  font-weight: 600;
}
.full {
  width: 100%;
  margin-top: 12px;
}
.text-button {
  border: none;
  font-size: 11px;
  width: 100%;
}
dialog {
  background: linear-gradient(130deg, #3c2b1f, #21170f);
  color: #faf6f0;
  border: 1px solid #b89460;
  border-radius: 13px;
  padding: 24px;
  width: calc(100% - 32px);
  max-width: 410px;
  max-height: 88dvh;
  overflow: auto;
  box-shadow: 0 20px 100px #000a;
}
dialog::backdrop {
  background: #080503bd;
  backdrop-filter: blur(7px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font: 22px var(--serif);
  color: #f5e2ba;
  margin-top: 5px;
}
.dialog-head h3 {
  font-size: 16px;
}
label {
  display: block;
  font-size: 12px;
  color: #d4bb90;
  margin-top: 14px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #bba07855;
  border-radius: 6px;
  min-height: 46px;
  padding: 12px;
  background: #150f0b88;
  color: #faf6f0;
  margin-top: 6px;
  font-size: 14px;
}
input::placeholder {
  color: #95816b;
  font-size: 11px;
}
.privacy-note {
  color: #ab9780;
  font-size: 10px;
  text-align: center;
  margin-top: 18px;
  line-height: 1.9;
}
.form-error {
  color: #f2ac96;
  font-size: 12px;
  margin: 10px 0;
}
.win-dialog {
  text-align: center;
  padding-top: 38px;
}
.win-close {
  position: absolute;
  top: 8px;
  right: 8px;
}
.win-seal {
  display: inline-block;
  color: #efd6a9;
  background: linear-gradient(#ab302b, #7e1d19);
  padding: 5px 20px;
  margin: 20px auto 15px;
  border: 1px solid #cc9c5b;
  letter-spacing: 5px;
}
.win-dialog h2 {
  font: 22px var(--serif);
  color: #f5e2ba;
}
.win-image {
  width: 180px;
  height: 190px;
  object-fit: contain;
  background: #faf6f0;
  border: 4px double #bfa071;
  margin: 20px auto 12px;
  border-radius: 6px;
}
.win-dialog h3 {
  font-size: 15px;
  color: #ecd7b4;
}
.win-dialog .record-code {
  padding: 12px 0;
}
.poster-image {
  width: 100%;
  border-radius: 4px;
}
.actions {
  display: flex;
  gap: 10px;
}
.actions > * {
  flex: 1;
}
.muted {
  color: #bba68d;
  font-size: 11px;
  text-align: center;
  margin: 10px 0;
}
#toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #faf6f0;
  color: #39271a;
  padding: 13px 20px;
  border: 1px solid #c6a777;
  border-radius: 8px;
  box-shadow: 0 10px 35px #0006;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  width: max-content;
  max-width: 90vw;
  text-align: center;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reel-stage {
  margin: 0 20px;
  text-align: center;
  padding: 0 0 20px;
  background: linear-gradient(#4b3421, #20160f);
  border: 1px solid #b79258;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px #0007;
}
.box-crown {
  padding: 23px 10px;
  border-bottom: 5px double #d4bb9060;
  background: radial-gradient(ellipse at 50% 100%, #cba65433, transparent 70%);
}
.box-crown img {
  width: 100px;
  height: 40px;
  object-fit: contain;
}
.box-crown p {
  font: 22px var(--serif);
  color: #e7cd9d;
  letter-spacing: 3px;
  margin: 8px 0;
}
.box-crown span {
  font-size: 7px;
  letter-spacing: 3px;
  color: #b49a76;
}
.reel-window {
  margin: 20px 0;
  overflow: hidden;
  position: relative;
  height: 181px;
  background: #100c08;
  border-block: 1px solid #ae8c52;
  box-shadow: inset 0 0 25px #000;
}
.reel-track {
  display: flex;
  gap: 10px;
  position: absolute;
  left: 0;
  top: 12px;
  will-change: transform;
  transition: transform 4.8s cubic-bezier(0.12, 0.82, 0.18, 1);
}
.reel-card {
  width: 120px;
  flex-shrink: 0;
  height: 155px;
  background: #faf6f0;
  border: 1px solid #ba995e;
  border-radius: 5px;
  color: #4a3120;
  padding: 9px;
}
.reel-card img {
  height: 100px;
  width: 100%;
  object-fit: contain;
}
.reel-card p {
  font-size: 9px;
}
.reel-card small {
  font-size: 8px;
  color: #963b2c;
}
.crosshair {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(#ffdda5, transparent 40%, transparent 60%, #ffdda5);
  box-shadow: 0 0 15px #ffc777;
}
.crosshair:before,
.crosshair:after {
  content: '';
  position: absolute;
  left: -7px;
  border: 8px solid transparent;
  border-top-color: #f5e2ba;
  top: 0;
}
.crosshair:after {
  top: auto;
  bottom: 0;
  transform: rotate(180deg);
}
.reel-stage > .gold {
  width: 80%;
}
.celebrating {
  animation: celebrate 0.5s 4 alternate;
}
@keyframes twinkle {
  to {
    opacity: 0.35;
    box-shadow: none;
  }
}
@keyframes celebrate {
  to {
    filter: brightness(1.4);
    box-shadow: 0 0 30px #ffd78c66;
  }
}
@media (min-width: 1000px) {
  body {
    padding: 35px 0;
  }
  .phone-shell {
    margin-left: calc(50% - 390px);
    border: 1px solid #80634355;
    border-radius: 20px;
  }
  .bottom-nav {
    left: calc(50% - 175px);
    border-radius: 0 0 14px 14px;
  }
  .desktop-preview {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    left: calc(50% + 110px);
    top: 23%;
    gap: 20px;
    width: 310px;
  }
  .desktop-preview h2 {
    font: 34px/1.6 var(--serif);
    color: #e4cda3;
    letter-spacing: 3px;
  }
  .desktop-preview p {
    font-size: 12px;
    color: #b49a76;
    letter-spacing: 2px;
  }
  .desktop-preview img {
    width: 150px;
    height: 150px;
    border: 8px solid #f8f4ed;
    border-radius: 4px;
    margin-top: 6px;
  }
  .desktop-preview > span:not(.eyebrow) {
    font-size: 12px;
    color: #d4bb90;
  }
  .desktop-preview small {
    font-size: 10px;
    color: #8f795f;
  }
  .desktop-preview a {
    font-size: 10px;
    color: #ab906d;
    text-decoration: none;
    border-bottom: 1px solid #685139;
    padding-bottom: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bulb {
    animation: none;
  }
  .wheel-frame canvas,
  .reel-track {
    transition-duration: 0.1s;
  }
  .celebrating {
    animation: none;
  }
}
/* V2 annual gala: local CSS stage, no external assets or animation libraries. */
body {
  background: radial-gradient(ellipse at 60% 0, #681b18 0, #21100d 48%, #100b09 100%);
}
.phone-shell {
  background: linear-gradient(180deg, #5c1312 0, #2b100d 750px, #19110c 1400px);
}
.hero {
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 28%, #b339252b, transparent 60%);
  padding-bottom: 24px;
}
.hero:before,
.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero:before {
  background: repeating-conic-gradient(
    from -30deg at 50% -10%,
    transparent 0deg 16deg,
    #f8e6be12 18deg 22deg,
    transparent 25deg 35deg
  );
  animation: stage-light 12s ease-in-out infinite alternate;
}
.hero:after {
  background:
    linear-gradient(95deg, #9e1f1b 0, #500b0bb0 5%, transparent 16% 84%, #500b0bb0 95%, #9e1f1b),
    radial-gradient(circle at 15% 30%, #f8e6beaa 0 1px, transparent 2px),
    radial-gradient(circle at 80% 60%, #f8e6beaa 0 1px, transparent 2px);
  background-size:
    auto,
    73px 113px,
    97px 137px;
  animation: gold-drift 20s linear infinite;
}
@keyframes gold-drift {
  to {
    background-position:
      0 0,
      0 226px,
      0 274px;
  }
}
@keyframes stage-light {
  to {
    transform: rotate(8deg) scale(1.12);
    opacity: 0.5;
  }
}
.gala-ribbon {
  margin: 18px 0;
  color: #f8e6be;
  letter-spacing: 2px;
  font-size: 11px;
  border-block: 1px solid #d4af3770;
  padding: 10px;
  background: linear-gradient(90deg, transparent, #9e1f1b, transparent);
}
.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 12px;
  align-items: stretch;
  margin: 24px 0 12px;
}
.champion-stage {
  border: 1px solid #d4af37;
  border-radius: 100px 100px 9px 9px;
  overflow: hidden;
  background: radial-gradient(ellipse, #7c3625, #26120d);
  position: relative;
  box-shadow:
    inset 0 0 0 5px #d4af3718,
    0 0 24px #d4af3720;
  min-width: 0;
}
#spokesperson {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: 55% 10%;
}
#laurelBadge {
  padding: 12px 6px 4px;
  min-height: 260px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
#laurelBadge[hidden],
#spokesperson[hidden] {
  display: none;
}
#laurelBadge svg {
  width: 85%;
  max-height: 180px;
  filter: drop-shadow(0 3px 6px #0008);
}
#laurelBadge strong {
  font-size: 10px;
  color: #f8e6be;
}
#laurelBadge small {
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 8px;
}
.champion-plaque {
  padding: 10px 2px;
  background: linear-gradient(100deg, #b98d42, #f8e6be, #c99b46);
  color: #4b2113;
  font-size: 12px;
  font-weight: bold;
}
.champion-plaque small {
  display: block;
  font-size: 8px;
  margin-top: 5px;
}
.collection-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex-direction: column;
  background: radial-gradient(ellipse, #f8e6be20, transparent 70%);
}
.collection-stage .family {
  width: 125%;
  position: relative;
  filter: drop-shadow(0 15px 12px #0009);
}
.collection-stage .bottle {
  position: absolute;
  width: 30%;
  right: 2%;
  bottom: 45px;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 8px 7px #0009);
}
.gold-podium {
  width: 100%;
  border-radius: 50%;
  padding: 18px 0;
  background: linear-gradient(#eac77d, #735020 55%, #d1a24a);
  box-shadow: 0 15px 30px #0009;
  color: #361a0f;
  font-size: 12px;
  font-weight: bold;
}
.gala-seal {
  position: absolute;
  top: 10px;
  right: 0;
  background: #9e1f1b;
  border: 2px solid #d4af37;
  color: #f8e6be;
  padding: 8px;
  border-radius: 7px;
  font-size: 12px;
  transform: rotate(9deg);
  z-index: 1;
  box-shadow: 0 4px 10px #0008;
}
.honor-medals {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 9px;
  color: #f8e6be;
  margin: 20px -5px;
}
.honor-medals span {
  padding: 8px 2px;
  border-bottom: 1px solid #d4af3740;
}
.tier-medals {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.tier-medals > div {
  position: relative;
  overflow: hidden;
  padding: 13px;
  background: linear-gradient(110deg, #9e1f1b, #4d1912);
  border: 1px solid #d4af37a0;
  border-radius: 5px;
  font-size: 13px;
  color: #f8e6be;
}
.tier-medals > div:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, #f8e6be30, transparent 65%);
  transform: translateX(-100%);
  animation: sweep 5s infinite;
}
@keyframes sweep {
  50%,
  100% {
    transform: translateX(100%);
  }
}
.batch-card h3 {
  margin: 14px 0 6px;
}
.batch-card .record-product {
  margin-top: 12px;
}
.batch-card progress {
  width: 100%;
  accent-color: #d4af37;
}
.batch-card > button {
  margin-top: 10px;
}
.shipping-card {
  background: #23433866;
  border: 1px solid #8aa58355;
  padding: 14px;
  margin: 14px 0;
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.badge.pending_address {
  background: #b77a2b;
  color: #fff3d0;
}
.batch-card p {
  line-height: 1.8;
}
textarea {
  width: 100%;
  background: #211610;
  color: #f8e6be;
  border: 1px solid #947645;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  resize: vertical;
}
dialog {
  max-height: 90dvh;
  overflow: auto;
}
#addressSummary {
  font-size: 12px;
  line-height: 1.7;
  color: #dbbf88;
}
#winHint {
  font-size: 12px;
  line-height: 1.7;
}
#redeemAddressDialog > button {
  margin: 8px 5px 8px 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero:before,
  .hero:after,
  .tier-medals > div:after {
    animation: none;
  }
}
.collection-stage {
  justify-content: flex-end;
  padding-bottom: 30px;
}
.collection-stage .family {
  width: 120%;
  margin-bottom: 8px;
  z-index: 1;
}
.collection-stage .bottle {
  bottom: 77px;
  right: 0;
  z-index: 2;
}
.gold-podium {
  position: relative;
  z-index: 0;
  min-height: 56px;
  padding-top: 20px;
}
.gala-seal {
  top: 22px;
}
.gala-dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.3;
  background-image:
    radial-gradient(circle, #f8e6be 0 1px, transparent 1.8px),
    radial-gradient(circle, #d4af37 0 0.8px, transparent 1.5px);
  background-size:
    181px 251px,
    293px 379px;
  animation: falling-gold 26s linear infinite;
}
@keyframes falling-gold {
  to {
    background-position:
      40px 502px,
      -30px 758px;
  }
}
.badge.pending_address {
  animation: address-glow 2s ease-in-out infinite alternate;
}
@keyframes address-glow {
  to {
    box-shadow: 0 0 16px #d4af3780;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gala-dust,
  .badge.pending_address {
    animation: none;
  }
}
