/* Карусель удачи: спокойная тёмно-бирюзовая палитра, один акцент (латунь), без декоративных излишеств */
.wheel-page{--bg:#0b3640;--bg2:#082a33;--card:#10444f;--line:#1f5966;--ink:#f3ece0;--muted:#a8bfc2;--brass:#d8b36a;--brass-d:#b8924a;--red:#a8353b;
  background:radial-gradient(900px 520px at 50% 18%,#14515e 0%,var(--bg) 60%,var(--bg2) 100%);color:var(--ink);padding:136px 16px 80px;min-height:100vh;font-family:'Montserrat',system-ui,sans-serif;position:relative;overflow:hidden;isolation:isolate}
.wheel-wrap{max-width:520px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center}
.wheel-eyebrow{letter-spacing:.24em;text-transform:uppercase;font-size:11.5px;font-weight:600;color:var(--brass);margin:0 0 10px}
.wheel-hello{margin:0 0 8px;color:var(--muted);font-size:14px}
.wheel-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(42px,9vw,64px);line-height:1;font-weight:600;margin:0 0 6px;color:var(--ink);letter-spacing:.005em}
.carousel{position:relative;width:min(100%,400px);aspect-ratio:1/1;margin:0 auto 14px}
.carousel-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;z-index:1}
.carousel-frame--b{opacity:0}
.carousel-shadow{position:absolute;left:18%;right:18%;bottom:6%;height:7%;border-radius:50%;background:#031a20;opacity:.55;filter:blur(14px);z-index:0}
.wheel-lead{margin:0 0 22px;color:var(--muted);font-size:15px;line-height:1.6;max-width:400px}
.wheel-btn{appearance:none;border:0;cursor:pointer;font-family:inherit;font-weight:600;font-size:16px;border-radius:12px;padding:17px 24px;width:100%;max-width:400px;text-decoration:none;display:inline-block;text-align:center;transition:background-color .15s,transform .1s,opacity .15s}
.wheel-btn:focus-visible,.wheel-reg input:focus-visible,.wheel-x:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.wheel-btn--primary{background:var(--brass);color:#1b2a2c;letter-spacing:.02em}
.wheel-btn--primary:hover{background:#e3c07b}
.wheel-btn--primary:active{transform:translateY(1px)}
.wheel-btn--primary:disabled{opacity:.5;cursor:not-allowed;background:var(--brass)}
.wheel-btn--ghost{background:transparent;color:var(--ink);border:1px solid var(--line);margin-top:14px;font-weight:500}
.wheel-btn--ghost:hover{background:#0f4350}
.wheel-btn--sm{font-size:14px;padding:11px 18px;width:auto;margin-top:12px}
.wheel-link{margin-top:20px;color:var(--brass);font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:4px}
.wheel-msg{min-height:22px;margin:12px 0 0;color:#f2b8a6;font-size:14px}
.wheel-stub{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px;max-width:400px;width:100%}
.wheel-stub strong{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;color:var(--ink);margin-bottom:6px}
.wheel-stub p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}
.wheel-reg{width:100%;max-width:400px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px 20px;display:flex;flex-direction:column;gap:12px;text-align:left}
.wheel-reg-title{margin:0 0 2px;font-size:16px;font-weight:600;color:var(--ink);text-align:center}
.wheel-reg input[type=text],.wheel-reg input[type=email],.wheel-reg input[type=tel]{width:100%;box-sizing:border-box;background:var(--bg2);border:1px solid var(--line);color:var(--ink);border-radius:10px;padding:14px;font-size:15px;font-family:inherit}
.wheel-reg input::placeholder{color:#7d9a9f}
.wheel-reg input:focus{border-color:var(--brass);outline:none}
.wheel-consent{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:12.5px;line-height:1.5;cursor:pointer}
.wheel-consent input{margin-top:3px;accent-color:var(--brass);flex:none}
.wheel-consent a{color:var(--brass);text-decoration:underline}
.wheel-reg .wheel-btn{max-width:none;margin-top:4px}
.wheel-prizes{width:100%;max-width:760px;margin:54px auto 0;padding-top:30px;border-top:1px solid var(--line);text-align:left}
.wheel-prizes h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:28px;margin:0 0 14px;color:var(--ink);text-align:center}
.wheel-prizes ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 26px}
.wheel-prizes li{display:flex;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px;line-height:1.4}
.wheel-dialog{border:0;border-radius:16px;padding:0;max-width:440px;width:calc(100% - 32px);background:var(--bg);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.55);font-family:'Montserrat',system-ui,sans-serif}
.wheel-dialog::backdrop{background:rgba(3,20,25,.78);backdrop-filter:blur(3px)}
.wheel-dialog-body{padding:32px 26px 26px;text-align:center;position:relative}
.wheel-x{position:absolute;top:10px;right:12px;background:none;border:0;color:var(--muted);font-size:30px;line-height:1;cursor:pointer;padding:6px 10px}
.wheel-dialog-eyebrow{margin:0 0 8px;color:var(--brass);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.wheel-dialog-title{margin:0 0 10px;font-family:'Cormorant Garamond',Georgia,serif;font-size:32px;line-height:1.1;font-weight:600;color:var(--ink)}
.wheel-dialog-text{margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.55}
.wheel-code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:28px;font-weight:700;letter-spacing:.08em;color:var(--ink);background:var(--bg2);border:1px dashed var(--brass-d);border-radius:10px;padding:16px 10px;user-select:all}
.wheel-dialog-note{margin:16px 0 18px;color:var(--muted);font-size:13px;line-height:1.6}
.wheel-dialog-note b{color:var(--ink)}
.wheel-history{list-style:none;margin:8px 0 0;padding:0;text-align:left;display:flex;flex-direction:column;gap:10px;max-height:56vh;overflow:auto}
.wheel-history li{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.wheel-history .h-title{font-weight:600;font-size:15px}
.wheel-history .h-code{font-family:ui-monospace,Menlo,monospace;color:var(--brass);font-weight:700;letter-spacing:.05em;margin-top:4px}
.wheel-history .h-meta{color:#8aa5a9;font-size:12px;margin-top:4px}
.wheel-history .h-st{display:inline-block;font-size:11px;font-weight:600;border-radius:99px;padding:2px 9px;margin-left:6px;background:#1d5a49;color:#bdf0d4}
.wheel-history .h-st.redeemed{background:#3a4a4d;color:#d0dadc}
.wheel-history .h-st.expired{background:#5a2c30;color:#f3c2c4}
.wheel-embed .carousel{width:min(100%,320px)}
.wheel-embed .wheel-title{font-size:40px}
.wheel-embed .wheel-lead{font-size:13.5px;margin-bottom:14px}
.wheel-embed .wheel-prizes{margin-top:34px}
@media (max-width:640px){.wheel-page{padding-top:128px}.wheel-code{font-size:23px}.wheel-prizes ul{grid-template-columns:1fr}}

/* Праздничный фон */
.wheel-deco{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.wheel-wrap,.wheel-prizes{position:relative;z-index:2}
.wheel-snow{position:absolute;inset:0;width:100%;height:100%;z-index:3}
.wheel-garland{position:absolute;left:0;top:64px;width:100%;height:92px;z-index:1}
.gl-bulb{animation:gl-tw 2.4s ease-in-out infinite;filter:drop-shadow(0 0 5px currentColor)}
@keyframes gl-tw{0%,100%{opacity:1}50%{opacity:.35}}
.wheel-forest{position:absolute;top:380px;width:max(560px,40%);max-width:760px;height:auto;opacity:.95;-webkit-mask-image:linear-gradient(90deg,transparent,#000 20%),linear-gradient(180deg,#000 45%,transparent 88%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 20%),linear-gradient(180deg,#000 45%,transparent 88%);mask-composite:intersect}
.wheel-forest--l{left:0}
.wheel-forest--r{right:0;transform:scaleX(-1)}
@media (max-width:900px){.wheel-forest{top:430px;width:380px}.wheel-forest--l{left:-90px}.wheel-forest--r{right:-90px}}
@media (prefers-reduced-motion:reduce){.gl-bulb{animation:none}}
[hidden]{display:none!important}
.wheel-facts{margin:0 0 20px;max-width:520px;color:var(--muted);font-size:12.5px;line-height:1.6}

/* Окна находятся вне .wheel-page, поэтому переменные палитры задаём и для них */
.wheel-dialog{--bg:#0b3640;--bg2:#082a33;--card:#10444f;--line:#1f5966;--ink:#f3ece0;--muted:#a8bfc2;--brass:#d8b36a;--brass-d:#b8924a;background:#0b3640}
.wheel-dialog .wheel-btn--primary{background:#d8b36a;color:#1b2a2c}
