.pm-wheel-page {
  min-height: 100vh;
  padding: 36px 16px 80px;
  overflow: hidden;
  color: #fff2cd;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  position: relative;
  isolation: isolate;
  background: #f04b43;
}
.pm-wheel-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: 1400px;
  pointer-events: none;
  background: url('https://qimg.xiaohongshu.com/arkgoods/1040g3no325qe3icg580g4buts16bukupcnoedk8') center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
}
.pm-wheel-page * { box-sizing: border-box; }
.pm-wheel-inner { max-width: 920px; margin: 0 auto; }
body.pm-wheel-activity .playmac-app-guide { display: none !important; }
.pm-wheel-page h1 {
  margin: 12px 0 0;
  color: #fff1b9;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 950;
  letter-spacing: .06em;
  text-shadow: 0 4px #b02139, 0 9px 17px #78132caa;
}
.pm-wheel-stage { position: relative; padding: 38px 0 20px; }
.pm-wheel-stage::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 650px;
  height: 580px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, #fff0bc86, #ffd68336 47%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.pm-wheel-wrap {
  position: relative;
  width: min(500px, 84vw);
  height: min(500px, 84vw);
  margin: 0 auto;
  padding: 31px;
  border: 5px solid #ff9b65;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9380 0%, #e83037 28%, #ff7165 52%, #d91d34 75%, #fb765b 100%);
  box-shadow: 0 20px 32px #a5252eaa, 0 0 0 7px #f9a35d, 0 0 0 13px #d92835, inset 0 5px 10px #ffd2a58c, inset 0 -6px 12px #ac1e2f;
}
.pm-wheel-wrap::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  border: 2px solid #ffc398;
  border-radius: 50%;
  pointer-events: none;
}
.pm-wheel-bulb {
  position: absolute;
  z-index: 8;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fffdf4;
  box-shadow: 0 0 4px 2px #fff8d7, 0 0 13px 6px #ffda9f;
  pointer-events: none;
}
.pm-wheel-disc {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 5px solid #ba202d;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #f34c43, inset 0 0 16px #a51e2d77;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.pm-wheel-disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 23%, #fff8d04d, transparent 40%);
  pointer-events: none;
}
.pm-wheel-fixed { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.pm-wheel-pointer {
  position: absolute;
  z-index: 1;
  top: calc(50% - 151px);
  left: 50%;
  width: 70px;
  height: 110px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #e4323c, #fc6b5b 50%, #d91a36);
  filter: drop-shadow(0 5px 4px #a3262e);
  pointer-events: auto;
  cursor: pointer;
}
.pm-wheel-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: -17px;
  color: #c4363b;
  text-shadow: 0 1px #fff8;
  line-height: 1.08;
  overflow-wrap: anywhere;
  font-weight: 900;
  text-align: center;
}
.pm-wheel-icon { position: absolute; z-index: 2; top: 50%; left: 50%; display: flex; width: 31px; height: 31px; margin: -15.5px 0 0 -15.5px; align-items: center; justify-content: center; filter: drop-shadow(0 2px 1px #fff8); pointer-events: none; }
.pm-wheel-icon-builtin { color: #d3453e; }
.pm-wheel-icon svg { display: block; width: 100%; height: 100%; }
.pm-wheel-icon-builtin svg { fill: currentColor; }
.pm-wheel-icon-custom.has-icon-color svg *:not([fill="none"]) { fill: currentColor !important; }
.pm-wheel-icon-custom.has-icon-color svg [stroke]:not([stroke="none"]) { stroke: currentColor !important; }
.pm-wheel-icon i { font-size: 29px; line-height: 1; font-style: normal; }
.pm-wheel-icon svg [fill="none"], .pm-wheel-icon svg[fill="none"] { fill: none; }
.pm-wheel-icon svg [stroke="none"], .pm-wheel-icon svg[stroke="none"] { stroke: none; }
.pm-wheel-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border: 7px solid #ffe681;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 26%, #ffb591, #f34c4c 45%, #ce1c34);
  color: #fff3c6;
  box-shadow: 0 6px 10px #8c193c99, inset 0 2px 6px #fff7d1a6;
  text-shadow: 0 2px #981632;
  pointer-events: auto;
  cursor: pointer;
}
.pm-wheel-center:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.pm-wheel-center span { font-size: 10px; font-weight: 900; letter-spacing: .07em; }
.pm-wheel-center strong { font-size: 29px; line-height: 1.2; }
.pm-wheel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto; }
.pm-wheel-side-action { min-width: 135px; padding: 11px 18px; border: 1px solid #ffe2ac; border-radius: 100px; background: #ae2737c9; color: #fff2d0; font-size: 15px; font-weight: 800; cursor: pointer; }
.pm-wheel-side-action:hover { background: #c83541; }
.pm-wheel-cta {
  display: inline-flex;
  flex-direction: column;
  min-width: 255px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px 30px;
  border: 4px solid #fff0ba;
  border-radius: 100px;
  background: linear-gradient(180deg, #ffed9f, #ffcc65 50%, #f6a137);
  color: #aa2931 !important;
  box-shadow: 0 8px 0 #b04d2d, 0 15px 20px #6d132e81, inset 0 2px #fff9;
  font-size: 22px;
  font-weight: 950;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.pm-wheel-cta small { margin-top: 2px; font-size: 12px; font-weight: 800; line-height: 1.2; }
.pm-wheel-cta:hover { transform: translateY(-3px); box-shadow: 0 11px 0 #b04d2d, 0 20px 20px #6d132e81; }
.pm-wheel-cta:disabled { opacity: .6; cursor: wait; transform: none; }
.pm-wheel-notice { display: inline-block; padding: 12px 20px; border: 1px solid #ffe3ad; border-radius: 12px; background: #9c193280; }
.pm-wheel-result { min-height: 28px; margin: 20px 0 0; color: #fff0b7; font-weight: 850; }
.pm-wheel-rules,
.pm-wheel-records,
.pm-wheel-my-prizes,
.pm-wheel-winners {
  margin: 46px auto 0;
  padding: 26px 30px;
  border: 1px solid #ffcd91a3;
  border-radius: 22px;
  background: #941a3294;
  box-shadow: 0 12px 28px #69102748;
  text-align: left;
}
.pm-wheel-page h2 { margin: 0 0 16px; color: #fff0ba; font-size: 23px; font-weight: 900; }
.pm-wheel-rules p { margin: 9px 0; color: #fff0dc; line-height: 1.8; }
.pm-wheel-record-list { display: grid; gap: 8px; }
.pm-wheel-record-row { display: flex; justify-content: space-between; gap: 15px; padding: 11px 14px; border-radius: 10px; background: #fff2d91b; }
.pm-wheel-record-row time { flex-shrink: 0; color: #ffdcba; font-size: 12px; }
.pm-wheel-my-prizes article { margin: 9px 0; padding: 18px; border-radius: 14px; background: #fff6df; color: #84342e; }
.pm-wheel-my-prizes article strong { font-size: 16px; }
.pm-wheel-my-prizes article small { float: right; color: #a75f51; }
.pm-wheel-my-prizes article p { margin: 7px 0; }
.pm-wheel-claim { display: grid; gap: 8px; margin-top: 15px; }
.pm-wheel-claim input,
.pm-wheel-claim textarea { width: 100%; padding: 10px 12px; border: 1px solid #deb995; border-radius: 8px; background: #fff; }
.pm-wheel-claim button { justify-self: start; padding: 9px 18px; border: 0; border-radius: 8px; background: #b62538; color: #fff; cursor: pointer; }
.pm-wheel-marquee { height: 84px; overflow: hidden; border-radius: 12px; background: transparent; mask-image: linear-gradient(to bottom, transparent 0, #000 32%, #000 68%, transparent 100%); }
.pm-wheel-marquee-track { display: flex; flex-direction: column; will-change: transform; backface-visibility: hidden; }
.pm-wheel-marquee-track > span { display: flex; height: 28px; flex: 0 0 28px; align-items: center; justify-content: center; overflow: hidden; color: #fff8df; font-size: 14px; font-weight: 800; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 700px) {
  .pm-wheel-page { padding: 28px 12px 70px; }
  .pm-wheel-page h1 { font-size: 42px; }
  .pm-wheel-stage { padding: 31px 0 20px; }
  .pm-wheel-wrap { width: min(360px, 85vw); height: min(360px, 85vw); padding: 22px; }
  .pm-wheel-bulb { width: 11px; height: 11px; }
  .pm-wheel-label { min-height: 28px; margin-top: -14px; }
  .pm-wheel-icon { width: 23px; height: 23px; margin: -11.5px 0 0 -11.5px; }
  .pm-wheel-icon i { font-size: 22px; }
  .pm-wheel-pointer { top: calc(50% - 111px); height: 81px; width: 52px; }
  .pm-wheel-center { width: 79px; height: 79px; border-width: 5px; }
  .pm-wheel-center span { font-size: 8px; }
  .pm-wheel-center strong { font-size: 21px; }
  .pm-wheel-rules, .pm-wheel-records, .pm-wheel-my-prizes, .pm-wheel-winners { margin-top: 35px; padding: 22px 17px; }
  .pm-wheel-record-row { flex-direction: column; gap: 3px; }
}
@media (max-width: 420px) {
  .pm-wheel-wrap { width: min(310px, 82vw); height: min(310px, 82vw); padding: 19px; box-shadow: 0 17px 20px #a5252eaa, 0 0 0 5px #f9a35d, 0 0 0 10px #d92835; }
  .pm-wheel-disc { border-width: 3px; }
  .pm-wheel-icon { width: 21px; height: 21px; margin: -10.5px 0 0 -10.5px; }
  .pm-wheel-icon i { font-size: 20px; }
  .pm-wheel-pointer { top: calc(50% - 98px); height: 73px; width: 44px; }
  .pm-wheel-center { width: 69px; height: 69px; }
  .pm-wheel-center strong { font-size: 19px; }
  .pm-wheel-cta { min-width: 0; padding: 12px 14px; font-size: 18px; }
  .pm-wheel-controls { gap: 6px; }
  .pm-wheel-side-action { min-width: 0; padding: 10px 8px; font-size: 12px; white-space: nowrap; }
}


.pm-wheel-winners { width: min(680px, 92vw); margin: 13px auto 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: #fff4d2; }
.pm-wheel-winners > p { margin: 0; font-size: 13px; }
.pm-wheel-marquee { border: 0; background: transparent; }
.pm-wheel-rules { margin-top: 33px; }
.pm-wheel-dialog { width: min(660px, calc(100vw - 26px)); max-height: min(78vh, 750px); margin: auto; padding: 27px; overflow: auto; border: 2px solid #ffcf83; border-radius: 20px; background: #fff3db; color: #763b32; box-shadow: 0 20px 65px #43061b9c; }
.pm-wheel-dialog::backdrop { background: #3b0b21a8; backdrop-filter: blur(3px); }
.pm-wheel-dialog-close { position: absolute; top: 9px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #b92c3e; color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.pm-wheel-dialog h2 { color: #9c2b35; }
.pm-wheel-dialog .pm-wheel-records, .pm-wheel-dialog .pm-wheel-my-prizes { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.pm-wheel-dialog .pm-wheel-record-row { background: #f8dcbc; color: #71392e; }
.pm-wheel-dialog .pm-wheel-record-row time { color: #956858; }
.pm-wheel-dialog .pm-wheel-record-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 16px; color: #71392e; }
.pm-wheel-dialog .pm-wheel-record-stats span { display: grid; gap: 4px; flex: 1 1 100px; padding: 12px; border-radius: 10px; background: #f8dcbc; font-size: 13px; }
.pm-wheel-dialog .pm-wheel-record-stats strong { font-size: 18px; }
.pm-wheel-dialog .pm-wheel-record-note { color: #956858; font-size: 12px; }
.pm-wheel-result-dialog { width: min(440px, calc(100vw - 32px)); padding: 36px 28px 30px; text-align: center; }
.pm-wheel-result-dialog h2 { margin: 0 0 12px; font-size: clamp(26px, 5vw, 34px); line-height: 1.2; }
.pm-wheel-result-dialog p { margin: 0 0 26px; color: #75493d; font-size: 16px; line-height: 1.6; }
.pm-wheel-result-dialog .pm-wheel-result-confirm { min-width: 152px; min-height: 46px; padding: 11px 30px; border: 0; border-radius: 12px; background: #c72e43; color: #fff; box-shadow: 0 7px 18px #9d243334; font: inherit; font-size: 16px; font-weight: 800; line-height: 1.25; cursor: pointer; appearance: none; }
.pm-wheel-result-dialog .pm-wheel-result-confirm:hover { background: #ac2237; box-shadow: 0 9px 22px #9d243345; }
.pm-wheel-result-dialog .pm-wheel-result-confirm:focus-visible { outline: 3px solid #f4a93e; outline-offset: 3px; }
.pm-wheel-dialog .pm-wheel-my-prizes article { border: 1px solid #e6c49a; background: #fffaf0; }
