/* 页面布局与文字层级；盘面几何、动画和四套配色由 styles.css 维护。 */
body {
  font-family: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
body[data-theme="platinum"] { --muted: #80695f; }

.topbar {
  max-width: 1536px;
  height: 68px;
  padding: 0 40px;
}
.brand strong { font-size: 17px; letter-spacing: .06em; }
.brand small { font-size: 10px; letter-spacing: .1em; }
.header-center { font-size: 11px; letter-spacing: .06em; }
.admin-link { font-size: 13px; }
.section-wrap { width: min(1440px, calc(100% - 64px)); }
.choose { padding-top: 22px; }
.section-heading { align-items: center; margin-bottom: 16px; }
.section-heading h1,
.section-heading.small h2,
.play-heading h2,
.card-copy strong {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: .025em;
}
.section-heading h1 { font-size: 30px; line-height: 1.4; margin: 0; }
.section-heading h1 em { margin-left: .15em; }
.choose-note { font-size: 13px; letter-spacing: 0; margin: 0; }

.wheel-selector { gap: 12px; }
.wheel-card {
  min-height: 76px;
  padding: 8px 18px 8px 10px;
  gap: 7px;
}
.card-art { width: 58px; height: 58px; margin-right: 3px; }
.card-copy small { display: none; }
.card-copy strong { font-size: 20px; line-height: 1.4; white-space: nowrap; }
.card-selected { font-size: 12px; margin-top: 3px; letter-spacing: 0; }
.card-check { top: 8px; right: 10px; font-size: 12px; }

.play { padding-top: 18px; }
.play-shell { grid-template-columns: minmax(0, 1fr) 400px; }
.wheel-area { padding: 14px 18px 20px; }
.wheel-top-label { display: none; }
.wheel-holder { width: min(100%, 760px); }
.stage-orbit { width: 88%; }
.orbit-two { width: 96%; }
.wheel-caption {
  margin-top: 4px;
  gap: 14px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: .04em;
}
.probability-disclaimer { font-size: 12px; margin-top: 8px; max-width: none; }
body[data-theme] .wheel-holder { --art-label-radius: 24.5; }
.wheel-holder .wheel-slot {
  width: 24%;
  transform: translate(-50%, -50%) rotate(var(--label-angle));
}
.wheel-holder .wheel-slot .wheel-sector-name {
  display: block;
  width: 100%;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.wheel-holder .wheel-sector-name.is-hit {
  color: var(--tone);
  font-weight: 600;
  text-shadow: 0 0 12px color-mix(in srgb, var(--tone) 65%, transparent);
}

.play-copy { padding: 34px 30px; }
.wheel-english { font-size: 11px; letter-spacing: .15em; }
.play-heading h2 { font-size: 34px; margin-top: 5px; line-height: 1.4; }
.wheel-number { font-size: 42px; line-height: 1; }
.play-description { font-size: 14px; letter-spacing: 0; line-height: 1.8; margin: 12px 0 24px; }
.grand-preview { padding: 16px; gap: 12px; margin-bottom: 10px; }
.grand-preview small { font-size: 12px; letter-spacing: .04em; margin-bottom: 5px; }
.grand-preview strong { font-size: 16px; font-weight: 600; line-height: 1.7; }
.play-copy label { font-size: 15px; font-weight: 500; margin: 18px 0 8px; }
.play-copy input { height: 52px; font-size: 16px; border-radius: 8px; padding: 0 14px; }
.play-copy input::placeholder { opacity: 1; }
.play-copy .form-notice { font-size: 13px; line-height: 1.7; min-height: 24px; margin: 10px 0 12px; }
.draw-button { min-height: 56px; font-size: 16px; letter-spacing: .08em; }
.play-foot { font-size: 12px; line-height: 1.7; margin-top: 16px; letter-spacing: 0; }

.prizes { padding: 32px 0; }
.section-heading.small { margin-bottom: 16px; }
.section-heading.small h2 { margin: 0; font-size: 24px; }
.collection-label { display: none; }
.prize-grid { gap: 12px; }
.prize-item { min-height: 74px; padding: 16px 18px; gap: 14px; }
.prize-item p { font-size: 14px; line-height: 1.8; }
.grand-badge { font-size: 11px; padding: 3px 7px; }
.prize-note { font-size: 13px; margin-top: 20px; }
footer { max-width: 1536px; margin: auto; padding: 22px 40px; font-size: 10px; letter-spacing: .06em; }
.footer-brand { font-size: 13px; }
.footer-brand small { font-size: 9px; }
footer button { font-size: 12px; }

/* 中奖信息可直接截图核对。 */
.result-inner h2 { font-family: inherit; font-weight: 600; letter-spacing: .03em; }
.result-prize { font-size: 24px; }
.result-table { font-size: 14px; line-height: 2; overflow-wrap: anywhere; }
.result-inner p { font-size: 13px; }
.result-inner .eyebrow { font-size: 11px; letter-spacing: .1em; }
.result-inner .dialog-action { min-height: 50px; font-size: 15px; }
.admin-header h2 { font-family: inherit; font-weight: 600; }
.admin-dialog table { font-size: 13px; }
.admin-dialog th { font-size: 12px; }
.admin-dialog .field label, .admin-login label { font-size: 14px; }
.admin-hint, .admin-message, .admin-login p, .admin-nav button { font-size: 13px; }
.admin-dialog input, .admin-dialog select { font-size: 14px; }

@media (min-width: 1700px) {
  .wheel-holder { width: min(100%, 800px); }
  .play-copy { padding: 38px 34px; }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .play-shell { grid-template-columns: minmax(0, 1fr) 350px; }
  .play-copy { padding: 28px 24px; }
  .wheel-area { padding-left: 10px; padding-right: 10px; }
  .wheel-holder .wheel-slot .wheel-sector-name { font-size: 15px; }
  .card-copy strong { font-size: 18px; }
  .card-art { width: 50px; height: 50px; }
}

@media (max-width: 1024px) {
  .topbar { padding: 0 24px; }
  .header-center { display: none; }
  .section-wrap { width: calc(100% - 48px); }
  .choose-note { display: none; }
  .play-shell { display: flex; flex-direction: column; }
  .wheel-area { padding: 12px 12px 20px; }
  .wheel-holder { width: min(100%, 680px); }
  .play-copy {
    padding: 30px 36px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .play-copy form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .play-copy label[for="customerId"] { grid-area: 1 / 1; }
  .play-copy label[for="activationCode"] { grid-area: 1 / 2; }
  #customerId { grid-area: 2 / 1; }
  #activationCode { grid-area: 2 / 2; }
  #drawNotice, #drawButton { grid-column: 1 / -1; }
  .play-description { margin-bottom: 18px; }
  .play-copy .grand-preview { max-width: none; }
  .wheel-caption { font-size: 15px; }
  .wheel-holder .wheel-slot .wheel-sector-name { font-size: 16px; }
  .wheel-card { padding: 8px; gap: 5px; }
  .card-art { width: 48px; height: 48px; margin-right: 0; }
  .card-copy strong { font-size: 17px; }
  .card-selected { font-size: 11px; }
  .prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 700px) {
  .topbar { height: 60px; padding: 0 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 8px; }
  .admin-link { font-size: 12px; }
  .section-wrap { width: calc(100% - 28px); }
  .choose { padding-top: 16px; }
  .section-heading { margin-bottom: 14px; }
  .section-heading h1 { font-size: 24px; line-height: 1.45; letter-spacing: .01em; }
  .wheel-selector { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .wheel-card {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 7px 3px;
    min-height: 88px;
    border-radius: 10px;
    text-align: center;
  }
  .card-art { width: 47px; height: 47px; margin: 0; }
  .card-copy strong { font-size: 14px; line-height: 1.5; font-weight: 600; letter-spacing: 0; }
  .card-selected { display: none; }
  .card-check { font-size: 10px; right: 6px; top: 4px; }
  .play.section-wrap { width: calc(100% - 12px); }
  .play { padding-top: 14px; }
  .play-shell { border-radius: 20px; }
  .wheel-area { padding: 8px 0 16px; }
  .wheel-holder { width: min(100%, 560px); }
  .wheel-caption { font-size: 13px; letter-spacing: .02em; gap: 10px; margin-top: 2px; }
  .probability-disclaimer { font-size: 11px; padding: 0 12px; margin-top: 8px; }
  .wheel-holder .wheel-slot { width: 24%; }
  .wheel-holder .wheel-slot .wheel-sector-name { font-size: 12px; line-height: 1.3; }
  body[data-theme="diamond"] .wheel-slot .wheel-sector-name.is-grand { font-size: 11px; }
  .play-copy { padding: 24px 22px; }
  .play-heading h2 { font-size: 30px; }
  .wheel-english { font-size: 10px; }
  .wheel-number { font-size: 38px; }
  .play-description { font-size: 13px; margin: 10px 0 18px; }
  .grand-preview { padding: 14px; }
  .grand-preview strong { font-size: 15px; }
  .play-copy form { display: flex; flex-direction: column; gap: 0; }
  .play-copy label { font-size: 14px; margin: 16px 0 8px; }
  .play-copy input { height: 50px; }
  .draw-button { min-height: 54px; }
  .play-foot { font-size: 11px; margin-top: 14px; }
  .prizes { padding: 26px 0; }
  .section-heading.small h2 { font-size: 22px; }
  .prize-item { padding: 14px 16px; min-height: 66px; gap: 12px; align-items: center; }
  .prize-item p { font-size: 14px; line-height: 1.75; }
  .prize-item.is-grand { padding-right: 14px; }
  .grand-badge { position: static; font-size: 11px; }
  .prize-note { font-size: 12px; }
  footer { padding: 20px 16px; }
  footer > .footer-brand + span { display: none; }
  .result-inner { padding: 36px 22px 26px; }
  .result-prize { font-size: 21px; }
}

@media (max-width: 520px) {
  .prize-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (max-width: 359px) {
  .section-wrap { width: calc(100% - 24px); }
  .section-heading h1 { font-size: 22px; }
  .wheel-selector { gap: 6px; }
  .card-art { width: 42px; height: 42px; }
  .card-copy strong { font-size: 13px; }
  .wheel-card { min-height: 80px; }
  .wheel-holder .wheel-slot .wheel-sector-name { font-size: 11px; }
  body[data-theme="diamond"] .wheel-slot .wheel-sector-name.is-grand { font-size: 10px; }
  .wheel-caption { font-size: 12px; gap: 8px; }
  .probability-disclaimer { font-size: 10px; }
  .play-copy { padding: 24px 18px; }
}

