:root {
  --ink: #5a315f;
  --pink: #ff6683;
  --pink-dark: #e94c70;
  --yellow: #ffd65a;
  --cream: #fff8df;
  --purple: #7954c8;
  --shadow: 0 18px 45px rgba(121, 56, 91, 0.18);
}

* { box-sizing: border-box; }

html { min-height: 100%; overflow-x: hidden; background: #fff0cf; }

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.92) 0 24px, transparent 25px),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,.65) 0 18px, transparent 19px),
    linear-gradient(180deg, #86dffc 0%, #c8f1ff 37%, #fff1bf 72%, #ffdfb4 100%);
}

body::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  z-index: -1;
  background:
    radial-gradient(120px 80px at 5% 100%, #78d990 99%, transparent 100%),
    radial-gradient(180px 95px at 25% 105%, #9ce29b 99%, transparent 100%),
    radial-gradient(160px 80px at 76% 106%, #86dc92 99%, transparent 100%),
    radial-gradient(130px 85px at 97% 104%, #6fd084 99%, transparent 100%);
}

button { font: inherit; }

.topbar {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; color: #754074; }
.brand-badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; background: #fff7d4; box-shadow: 0 5px 0 #eab85e; font-size: 24px; }

.sound-button {
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.72);
  color: #6f477a;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(67,119,151,.13);
  transition: transform .2s ease, background .2s ease;
}
.sound-button:hover { transform: translateY(-2px); background: #fff; }
.sound-button:focus-visible, .spin-button:focus-visible, .again-button:focus-visible, .close-button:focus-visible { outline: 4px solid #6542b8; outline-offset: 4px; }
.top-actions{display:flex;align-items:center;gap:9px}.mode-link{display:flex;align-items:center;gap:5px;padding:9px 14px;border:2px solid rgba(255,255,255,.9);border-radius:999px;color:#754878;background:rgba(255,248,211,.82);box-shadow:0 7px 20px rgba(67,119,151,.13);font-size:14px;font-weight:900;text-decoration:none;transition:transform .2s ease,background .2s ease}.mode-link:hover{transform:translateY(-2px);background:#fff8d3}

.page-shell { width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding-bottom: 30px; }
.hero-copy { position: relative; text-align: center; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 17px; border-radius: 999px; background: rgba(255,255,255,.68); color: #905178; font-size: 14px; font-weight: 900; letter-spacing: 2px; }
.hero-copy h1 { margin: 8px 0 0; font-size: clamp(43px, 7vw, 77px); line-height: 1.06; color: #fff; letter-spacing: 7px; -webkit-text-stroke: 5px #ee5f79; paint-order: stroke fill; text-shadow: 0 7px 0 #c84268, 0 12px 20px rgba(102,50,88,.2); }
.hero-copy p { margin: 10px 0 13px; font-size: clamp(17px, 2vw, 22px); font-weight: 900; color: #744979; letter-spacing: 3px; }

.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 24px; align-items: center; }
.wheel-stage { min-width: 0; position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 18px 40px 9px; }
.wheel-wrap { width: min(580px, 64vw); aspect-ratio: 1; position: relative; z-index: 2; filter: drop-shadow(0 20px 18px rgba(104,58,80,.2)); }
.wheel-rim { position: absolute; inset: 0; padding: 34px; border-radius: 50%; background: linear-gradient(145deg, #ffef8d, #f9b632 40%, #ffec80 68%, #e89427); box-shadow: inset 0 0 0 7px #fff1a4, inset 0 0 0 13px #e97a35, 0 6px 0 #bf6544; }
#wheelCanvas { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 8px rgba(255,255,255,.8); transition: transform 5.8s cubic-bezier(.11,.63,.09,1); will-change: transform; backface-visibility:hidden; }
.pointer { position: absolute; z-index: 6; top: -12px; left: 50%; transform: translateX(-50%); width: 54px; height: 82px; background: linear-gradient(90deg, #e83a59, #ff778d 48%, #d72e54); clip-path: polygon(50% 100%, 2% 26%, 14% 8%, 50% 0, 86% 8%, 98% 26%); filter: drop-shadow(0 5px 1px rgba(113,49,62,.35)); }
.pointer-dot { position: absolute; width: 21px; height: 21px; top: 10px; left: 17px; border-radius: 50%; background: #fff4a6; box-shadow: inset 0 -4px 0 #f4bc45; }
.wheel-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 23%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; color: white; background: radial-gradient(circle at 35% 28%, #ff95a6, #ef4d70 45%, #c82c58 75%); border: 7px solid #ffec8a; box-shadow: 0 0 0 5px #e17a39, 0 6px 15px rgba(79,35,50,.35); text-shadow: 0 3px 0 #a2284d; }
.wheel-hub span { font-size: clamp(11px, 1.7vw, 20px); font-weight: 1000; letter-spacing: 1px; }
.wheel-hub b { font-size: clamp(17px, 3vw, 34px); line-height: 1; color: #fff19a; }
.bulb { position: absolute; z-index: 3; width: 17px; aspect-ratio: 1; border-radius: 50%; background: #fffbe7; box-shadow: 0 0 9px 4px #fff193, inset 0 -3px 0 #ecc85c; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(var(--a)) translateY(calc(-1 * (min(290px, 32vw) - 13px))); }
.bulb-1{--a:0deg}.bulb-2{--a:30deg}.bulb-3{--a:60deg}.bulb-4{--a:90deg}.bulb-5{--a:120deg}.bulb-6{--a:150deg}.bulb-7{--a:180deg}.bulb-8{--a:210deg}.bulb-9{--a:240deg}.bulb-10{--a:270deg}.bulb-11{--a:300deg}.bulb-12{--a:330deg}
.wheel-wrap.spinning .bulb:nth-of-type(odd) { animation: blink .3s infinite alternate; }
.wheel-wrap.spinning .bulb:nth-of-type(even) { animation: blink .3s .15s infinite alternate; }
@keyframes blink { to { background: #ff728f; box-shadow: 0 0 10px 5px #ff9aad, inset 0 -3px 0 #d84c67; } }

.character-cats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.character-sticker { position: absolute; display: block; width: 112px; aspect-ratio: 1; object-fit: cover; border: 5px solid rgba(255,255,255,.95); border-radius: 28px; box-shadow: 0 9px 0 rgba(211,127,112,.55), 0 17px 28px rgba(84,56,75,.18); transform-origin: 50% 90%; }
.cat-peek { left: -9px; bottom: 34px; transform: rotate(-7deg); animation: peekPop 2.2s ease-in-out infinite; }
.cat-orange { right: -8px; bottom: 28px; transform: rotate(7deg); animation: catWave 2.5s -.8s ease-in-out infinite; }
.cat-bow { left: 28px; top: 34px; width: 88px; transform: rotate(5deg); animation: pawBounce 1.7s -.45s ease-in-out infinite; }
.cat-sunset { right: 24px; top: 26px; width: 88px; aspect-ratio: .78; object-position: center 34%; transform: rotate(-5deg); animation: sunSway 3s -.35s ease-in-out infinite; }
@keyframes peekPop { 0%,100%{translate:0 4px;scale:.96} 50%{translate:0 -9px;scale:1.03;rotate:3deg} }
@keyframes catWave { 0%,100%{translate:0 0;rotate:0deg} 35%{translate:0 -8px;rotate:-5deg} 70%{translate:0 -3px;rotate:4deg} }
@keyframes pawBounce { 0%,100%{translate:0 0;scale:1} 45%{translate:0 -12px;scale:1.04 .97} 62%{translate:0 -4px;scale:.98 1.02} }
@keyframes sunSway { 0%,100%{translate:0 1px;rotate:-3deg} 50%{translate:4px -7px;rotate:4deg} }

.action-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 13px; min-width: 0; }
.spin-button { position: relative; overflow: hidden; width: 100%; min-height: 126px; border: 5px solid white; border-radius: 31px; cursor: pointer; color: #fff; background: linear-gradient(165deg, #ff8a9d 0%, #ff5577 52%, #e23f68 100%); box-shadow: 0 11px 0 #be3158, 0 20px 28px rgba(110,42,73,.22), inset 0 3px 0 rgba(255,255,255,.45); text-shadow: 0 3px 0 #b52e58; transition: transform .15s ease, filter .15s ease; }
.spin-button:hover { transform: translateY(-3px); filter: saturate(1.08); }
.spin-button:active { transform: translateY(6px); box-shadow: 0 5px 0 #be3158, 0 10px 18px rgba(110,42,73,.18); }
.spin-button:disabled { cursor: wait; filter: grayscale(.1); }
.spin-main { position: relative; z-index: 2; display: block; font-size: 30px; font-weight: 1000; letter-spacing: 3px; }
.spin-hint { position: relative; z-index: 2; display: block; margin-top: 6px; font-size: 13px; font-weight: 800; opacity: .93; }
.button-shine { position: absolute; width: 95px; height: 170px; top: -30px; left: -120px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: rotate(20deg); animation: buttonShine 2.8s infinite; }
@keyframes buttonShine { 55%,100% { left: 120%; } }
.status-line { min-height: 42px; margin: 0; padding: 10px; border-radius: 15px; text-align: center; font-size: 14px; font-weight: 900; background: rgba(255,255,255,.66); color: #7c4972; }
.recent-card { padding: 13px; border-radius: 21px; background: rgba(255,255,255,.76); box-shadow: 0 8px 22px rgba(91,70,92,.12); }
.recent-label { display: block; margin-bottom: 8px; text-align: center; color: #9a6281; font-size: 12px; font-weight: 900; }
.recent-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.recent-pill { padding: 5px 8px; border-radius: 99px; background: #fff1b8; color: #76435c; font-size: 12px; font-weight: 900; }

.friend-parade { margin: 22px auto 0; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.5vw, 20px); }
.friend-photo { width: 91px; aspect-ratio: 1; display: block; object-fit: cover; border: 4px solid #fff; border-radius: 25px; box-shadow: 0 7px 0 #e6ad75, 0 13px 22px rgba(86,56,78,.15); transform-origin:50% 90%; }
.mouse-heart { animation: mouseHop 1.45s ease-in-out infinite; }
.mouse-suit { object-position: center 25%; animation: mouseMarch 2s -.5s ease-in-out infinite; }
.mouse-flower { animation: flowerDance 2.4s -1s ease-in-out infinite; }
.mouse-cheese { object-position:center; animation: cheeseDash 1.8s -.7s ease-in-out infinite; }
@keyframes mouseHop { 0%,100%{translate:0 1px;scale:1} 45%{translate:0 -10px;scale:1.03 .97} }
@keyframes mouseMarch { 0%,100%{translate:-4px 0;rotate:-3deg} 50%{translate:5px -5px;rotate:3deg} }
@keyframes flowerDance { 0%,100%{rotate:-4deg;translate:0 0} 50%{rotate:5deg;translate:0 -7px} }
@keyframes cheeseDash { 0%,100%{translate:-6px 0;rotate:-3deg} 45%{translate:7px -5px;rotate:3deg} 55%{translate:5px -8px;rotate:1deg} }
.character-sticker:not(.motion-visible),.friend-photo:not(.motion-visible){animation-play-state:paused}
.page-hidden .character-sticker,.page-hidden .friend-photo,.spinning-active .character-sticker,.spinning-active .friend-photo,.spinning-active .cloud,.spinning-active .star,.spinning-active .button-shine{animation-play-state:paused!important}
.parade-sign { align-self: center; display: flex; align-items: center; gap: 8px; padding: 10px 17px; border: 3px solid #fff; border-radius: 999px; color: #d64c6d; background: rgba(255,248,220,.91); box-shadow: 0 6px 0 #eab85e; font-size: 14px; white-space: nowrap; }
.parade-sign span { font-size: 21px; }
.prize-board { position: relative; margin-top: 16px; padding: 22px 25px 25px; border: 4px solid rgba(255,255,255,.9); border-radius: 32px; background: rgba(255,248,224,.94); box-shadow: var(--shadow), inset 0 0 0 3px #f8cc80; }
.board-title { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.board-title > span { font-size: 32px; animation: float 2s ease-in-out infinite alternate; }
.board-title > span:last-child { animation-delay: -1s; }
@keyframes float { to { transform: translateY(-7px) rotate(6deg); } }
.board-title h2 { margin: 0; font-size: 25px; color: #d64c6d; letter-spacing: 2px; }
.board-title p { margin: 3px 0 0; color: #946678; font-size: 13px; font-weight: 800; }
.prize-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; }
.prize-item { position: relative; min-height: 99px; padding: 12px 5px 8px; border: 2px solid rgba(255,255,255,.9); border-radius: 19px; text-align: center; background: var(--card, #fff); box-shadow: 0 5px 0 var(--card-shadow, #e8c27a); }
.prize-icon { display: block; font-size: 39px; line-height: 1.05; filter: drop-shadow(0 3px 0 rgba(105,61,75,.12)); }
.prize-icon-image { width: 64px; height: 45px; margin: -2px auto 2px; object-fit: cover; border-radius: 10px; }
.prize-name { display: block; margin-top: 5px; min-height: 30px; font-size: 12px; font-weight: 1000; line-height: 1.25; color: #6a405b; }
.footer-note { display:block; width:100%; margin:19px 0 0; padding:4px 0; border:0; text-align:center; font-size:13px; font-weight:900; color:rgba(92,62,84,.74); letter-spacing:2px; background:transparent; cursor:default; }

.sky-decor { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; width: 150px; height: 42px; border-radius: 99px; background: rgba(255,255,255,.72); }
.cloud::before,.cloud::after { content:""; position:absolute; bottom:0; border-radius:50%; background:inherit; }
.cloud::before { width:72px; height:72px; left:25px; }.cloud::after { width:60px; height:60px; right:19px; }
.cloud-one { top: 130px; left: 3%; animation: drift 12s ease-in-out infinite alternate; }.cloud-two { top: 230px; right: 2%; transform: scale(.72); animation: drift 10s -3s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: 28px 6px; } }
.star { position: absolute; color: #fff087; font-size: 30px; filter: drop-shadow(0 3px 0 #eb9a59); animation: twinkle 1.4s infinite alternate; }
.star-one { left: 12%; top: 29%; }.star-two { right: 9%; top: 15%; animation-delay: -.5s; }.star-three { right: 18%; top: 42%; font-size: 20px; animation-delay: -.9s; }
@keyframes twinkle { to { transform: scale(.7) rotate(20deg); opacity:.55; } }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(74,35,75,.45); backdrop-filter: blur(5px); animation: fadeIn .3s ease; }
.result-card { position: relative; overflow: hidden; width: min(410px, 100%); padding: 40px 28px 28px; border: 7px solid #fff; border-radius: 38px; text-align: center; background: linear-gradient(180deg,#fff9c8,#fff0d0 70%,#ffd8c8); box-shadow: 0 25px 70px rgba(62,28,65,.35), inset 0 0 0 5px #ffb75b; animation: popIn .55s cubic-bezier(.15,.9,.26,1.35); }
@keyframes fadeIn { from {opacity:0} } @keyframes popIn { from { opacity:0; transform:translateY(45px) scale(.7) rotate(-4deg) } }
.result-rays { position: absolute; inset: -80px; opacity:.18; background: repeating-conic-gradient(#f68d48 0 12deg, transparent 12deg 24deg); animation: rotate 14s linear infinite; }
@keyframes rotate { to { transform:rotate(360deg); } }
.result-card > *:not(.result-rays) { position: relative; z-index: 1; }
.close-button { position: absolute!important; right: 13px; top: 10px; width: 35px; height: 35px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.7); color: #9a5670; font-size: 27px; line-height: 1; }
.result-crown { font-size: 42px; line-height: 1; animation: crownBounce .7s infinite alternate; } @keyframes crownBounce { to { transform:translateY(-6px) rotate(6deg); } }
.result-kicker { margin: 8px 0 1px; color:#cf5875; font-size:14px; font-weight:1000; letter-spacing:3px; }
.result-card h2 { margin:0; color:#ef4f72; font-size:36px; text-shadow:0 3px 0 #ffc45f; }
.result-gift { margin:12px auto 4px; width:92px; height:92px; display:grid; place-items:center; border-radius:50%; font-size:52px; background:#fff; box-shadow:0 7px 0 #f1be62; }
.result-prize-image { display:block; width:78px; height:62px; object-fit:cover; border-radius:13px; }
.result-label { margin:14px 0 2px; color:#8d6574; font-size:13px; font-weight:900; }
.result-prize { margin:0; color:#9c3761; font-size:29px; font-weight:1000; line-height:1.25; }
.result-message { margin:10px 0 18px; color:#80606d; font-size:14px; font-weight:800; }
.again-button { width:100%; border:4px solid white; border-radius:18px; padding:13px; cursor:pointer; color:white; background:linear-gradient(#ff7992,#ee4b70); box-shadow:0 6px 0 #bd345b; font-size:18px; font-weight:1000; letter-spacing:2px; }

#confettiCanvas { position: fixed; inset:0; z-index:40; pointer-events:none; width:100%; height:100%; }

.settings-modal[hidden] { display:none; }
.settings-modal { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:18px; }
.settings-backdrop { position:absolute; inset:0; background:rgba(57,31,65,.58); backdrop-filter:blur(8px); }
.settings-panel { position:relative; z-index:1; width:min(720px,100%); max-height:min(900px,calc(100vh - 36px)); overflow:auto; padding:25px; border:5px solid #fff; border-radius:30px; background:linear-gradient(180deg,#fff9df,#fff2d9); box-shadow:0 30px 90px rgba(52,26,60,.4),inset 0 0 0 3px #f4c56e; animation:popIn .4s cubic-bezier(.15,.9,.26,1.2); }
.settings-header { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.settings-header p { margin:0 0 2px; color:#aa6981; font-size:12px; font-weight:900; letter-spacing:2px; }
.settings-header h2 { margin:0; color:#d94f70; font-size:29px; }
.settings-close { flex:0 0 auto; width:42px; height:42px; border:0; border-radius:50%; color:#9b5d74; background:#fff; cursor:pointer; font-size:30px; line-height:1; box-shadow:0 4px 0 #e9c78b; }
.settings-summary { margin:18px 0 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 16px; border-radius:18px; background:#fff; box-shadow:0 5px 0 #efd19a; }
.settings-summary div { display:flex; align-items:baseline; gap:10px; }.settings-summary span{font-size:13px;font-weight:900;color:#936779}.settings-summary strong{font-size:25px;color:#48aa72}.settings-summary p{margin:0;color:#946b79;font-size:12px;font-weight:800}.settings-summary.invalid strong{color:#e34f6f}.settings-summary.invalid p{color:#d83f64}
.settings-list { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.settings-row { display:grid; grid-template-columns:minmax(0,1fr) 108px; align-items:center; gap:10px; min-height:56px; padding:8px 9px 8px 13px; border:2px solid #fff; border-radius:16px; background:var(--row-bg,#fff); box-shadow:0 3px 0 var(--row-shadow,#e9c68b); }
.settings-prize { min-width:0; display:flex; align-items:center; gap:8px; color:#684257; font-size:13px; font-weight:900; line-height:1.25; }.settings-prize i{font-style:normal;font-size:23px}.settings-prize span{overflow-wrap:anywhere}
.settings-input-wrap { position:relative; }.settings-input-wrap input{width:100%; height:38px; padding:5px 27px 5px 8px; border:2px solid #edc7a4; border-radius:11px; color:#753f5a; background:#fff; font-weight:1000; text-align:right; outline:none}.settings-input-wrap input:focus{border-color:#d75d83;box-shadow:0 0 0 3px rgba(224,92,131,.16)}.settings-input-wrap b{position:absolute;right:9px;top:9px;color:#a47786;font-size:12px}
.settings-device-note { margin:15px 0 3px; color:#92717c; font-size:12px; text-align:center; font-weight:800; }.settings-status{min-height:20px;margin:4px 0;text-align:center;color:#3b9b67;font-size:13px;font-weight:900}
.settings-actions { display:grid; grid-template-columns:1fr 1fr 1.15fr; gap:9px; margin-top:11px; }.settings-actions button{min-height:48px;border:3px solid #fff;border-radius:15px;cursor:pointer;font-size:13px;font-weight:1000}.settings-secondary{color:#85526a;background:#ffefbd;box-shadow:0 5px 0 #d9ab58}.settings-restore{background:#e5f4ff;box-shadow:0 5px 0 #92bfd8}.settings-save{color:#fff;background:linear-gradient(#ff7891,#e84c70);box-shadow:0 5px 0 #b6375a}.settings-save:disabled{cursor:not-allowed;filter:grayscale(.75);opacity:.58}.settings-actions button:active{translate:0 3px;box-shadow:0 2px 0 rgba(113,63,78,.35)}

@media (max-width: 900px) {
  .game-layout { grid-template-columns: 1fr; }
  .action-card { width: min(560px, 100%); margin: 0 auto; display:grid; grid-template-columns: 1fr 1fr; align-items:center; }
  .spin-button { min-height:100px; }.status-line{min-height:auto}.recent-card{grid-column:1/-1}
  .wheel-wrap { width: min(590px, 78vw); }
  .bulb { transform: translate(-50%,-50%) rotate(var(--a)) translateY(calc(-1 * (min(295px, 39vw) - 13px))); }
  .prize-grid { grid-template-columns: repeat(5,1fr); }
  .wheel-stage { flex-direction: column; align-items: center; }
  .character-cats { position: static; width: min(590px, 92vw); display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
  .character-sticker { position: static; width: 82px; border-width: 4px; border-radius: 21px; }
  .cat-bow,.cat-sunset { width: 72px; }.cat-sunset{aspect-ratio:1}
  .friend-photo { width: 78px; }.parade-sign { padding: 9px 12px; font-size: 12px; }
}

@media (max-width: 620px) {
  .topbar { height:64px; width:calc(100% - 22px); }.brand{font-size:15px}.brand-badge{width:37px;height:37px;font-size:20px}.top-actions{gap:5px}.mode-link{padding:7px 9px;font-size:11px}.sound-button{font-size:0;padding:8px 11px}.sound-button span:first-child{font-size:20px}
  .page-shell { width:calc(100% - 18px); }.hero-copy h1{font-size:43px;-webkit-text-stroke-width:4px;letter-spacing:3px}.hero-copy p{font-size:15px;margin-bottom:4px}.eyebrow{font-size:12px}
  .wheel-stage { padding:28px 3px 5px; }.wheel-wrap{width:min(96vw,520px);filter:none}.wheel-rim{padding:24px;box-shadow:inset 0 0 0 7px #fff1a4,inset 0 0 0 13px #e97a35,0 6px 0 #bf6544}.pointer{top:-9px;width:43px;height:66px}.pointer-dot{width:17px;height:17px;left:13px;top:8px}.wheel-hub{border-width:5px}.bulb{width:12px; transform:translate(-50%,-50%) rotate(var(--a)) translateY(calc(-1 * (min(48vw,260px) - 9px)))}
  .character-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:3px auto 20px;width:100%}.character-sticker,.cat-bow,.cat-sunset{width:100%;max-width:82px;justify-self:center;border-width:3px;border-radius:17px;box-shadow:0 5px 0 rgba(211,127,112,.55),0 10px 18px rgba(84,56,75,.13)}.action-card{display:flex;gap:12px}.spin-button{min-height:91px}.spin-main{font-size:25px}.status-line{font-size:13px}.friend-parade{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:17px}.friend-photo{width:100%;max-width:82px;justify-self:center;border-width:3px;border-radius:18px;box-shadow:0 5px 0 #e6ad75,0 10px 18px rgba(86,56,78,.13)}.parade-sign{grid-column:1/-1;grid-row:1;justify-self:center;padding:7px 13px}.prize-board{padding:18px 12px 20px;border-radius:25px}.prize-grid{grid-template-columns:repeat(3,1fr);gap:8px}.prize-item{min-height:98px}.prize-icon{font-size:42px}.board-title h2{font-size:21px}.board-title>span{font-size:24px}
  .sky-decor{position:absolute}.cloud,.star,.button-shine{animation:none!important}.modal-backdrop,.settings-backdrop{backdrop-filter:none}.result-card{padding:34px 21px 23px}.result-prize{font-size:24px}
  .settings-modal{padding:8px}.settings-panel{max-height:calc(100vh - 16px);padding:19px 13px;border-radius:24px}.settings-list{grid-template-columns:1fr}.settings-row{grid-template-columns:minmax(0,1fr) 100px}.settings-summary{align-items:flex-start}.settings-summary p{max-width:135px;text-align:right}.settings-actions{grid-template-columns:1fr 1fr}.settings-save{grid-column:1/-1}.settings-header h2{font-size:25px}
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; }
  #wheelCanvas { transition-duration:2.8s!important; }
}
