@import url("/wheel-stage2.css?v=stage2a");
#lc-wheel-launch{position:fixed;bottom:63px;left:50%;transform:translateX(-50%);z-index:1200;width:78px;height:48px;border-radius:78px 78px 10px 10px;border:3px solid #ffd66d;box-shadow:0 0 17px #d65aff,0 0 8px #ffce6c;background:conic-gradient(#ffd23c,#fe569d,#8e4bff,#37d4ed,#54ef80,#ffd23c);color:#fff;font-size:25px;cursor:pointer;text-shadow:0 2px 5px #150a30}
#lc-wheel-modal[hidden]{display:none!important}#lc-wheel-modal{position:fixed;inset:0;z-index:99990;display:grid;place-items:center;background:#070410df;padding:12px;overflow:auto;color:#fff;font-family:system-ui,sans-serif}#lc-wheel-modal .wheel-panel{position:relative;width:min(96vw,440px);max-height:95vh;overflow:auto;padding:18px;border-radius:24px;border:2px solid #d99bff;background:linear-gradient(145deg,#30114f,#0b1535 70%,#371451);box-shadow:0 0 35px #b24cff80,inset 0 2px 12px #ffffff22;text-align:center}#lc-wheel-modal button,.lc-wheel-admin button{border:1px solid #ffda7e;border-radius:12px;padding:10px 16px;background:linear-gradient(145deg,#fbd864,#9b4fe7);font-weight:800;color:#170a28;cursor:pointer}#lc-wheel-modal button:disabled{opacity:.4;cursor:not-allowed}#lc-wheel-modal input{width:90%;padding:12px;border-radius:12px;background:#170e35;color:white;border:1px solid #b7a3e9;text-transform:uppercase;letter-spacing:3px;text-align:center}#lc-wheel-modal .wheel-close{position:absolute;right:9px;top:9px;padding:4px 10px}#lc-wheel-disc{width:min(75vw,310px);height:min(75vw,310px);margin:15px auto;border:10px ridge #f9c94e;border-radius:50%;box-shadow:0 0 25px #ffe16d,0 0 30px #7d4afe,inset 0 0 18px #fff6;position:relative;transition:transform 4.2s cubic-bezier(.12,.8,.13,1);background:conic-gradient(#ffd03c 0deg 18deg,#ed59ae 18deg 36deg,#47cbea 36deg 54deg,#8b62ef 54deg 72deg,#5cde85 72deg 90deg,#ffa03b 90deg 108deg,#ffd03c 108deg 126deg,#ed59ae 126deg 144deg,#47cbea 144deg 162deg,#8b62ef 162deg 180deg,#5cde85 180deg 198deg,#ffa03b 198deg 216deg,#ffd03c 216deg 234deg,#ed59ae 234deg 252deg,#47cbea 252deg 270deg,#8b62ef 270deg 288deg,#5cde85 288deg 306deg,#ffa03b 306deg 324deg,#ffd03c 324deg 342deg,#ed59ae 342deg 360deg)}#lc-wheel-disc .wheel-slice-label{position:absolute;left:50%;top:50%;font-size:8px;font-weight:900;color:#180a2e;text-shadow:0 1px #fff9;transform:rotate(var(--a)) translateY(-120px) rotate(90deg);transform-origin:center;white-space:nowrap}#lc-wheel-disc:after{content:'🌙';position:absolute;inset:42%;border-radius:50%;background:#5c2d98;border:3px solid gold;display:grid;place-items:center;font-size:20px}#lc-wheel-pointer{font-size:28px;color:#ffe373;margin-bottom:-25px;position:relative;z-index:1}#lc-wheel-modal .wheel-boxes{display:flex;gap:8px;justify-content:center;margin:15px 0}#lc-wheel-modal .wheel-boxes button{font-size:45px;padding:12px;background:linear-gradient(130deg,#ae64ff,#ffcf75);box-shadow:0 0 18px #e6a7ff}#lc-wheel-modal .wheel-games{display:grid;grid-template-columns:1fr 1fr;gap:7px;text-align:left;margin:15px 0}#lc-wheel-modal .wheel-games label{font-size:12px;background:#ffffff16;padding:8px;border-radius:8px}#lc-wheel-modal .wheel-games input{width:auto}#lc-wheel-modal .wheel-message{min-height:24px;color:#ffe69d}#lc-wheel-modal .wheel-timer{font-variant-numeric:tabular-nums;font-size:25px;font-weight:900;color:#9dffb8}.lc-wheel-admin{background:#100b25;color:#eee;font:16px system-ui,sans-serif}.wheel-admin-panel{max-width:760px;margin:20px auto;padding:20px;border:1px solid #9161d6;border-radius:20px;background:#211439}.wheel-admin-panel a{color:#d6b3ff}.wheel-odds-row{display:flex;justify-content:space-between;align-items:center;padding:7px;border-bottom:1px solid #ffffff25}.wheel-odds-row input{width:110px;padding:8px;background:#120a24;color:#fff;border:1px solid #8561bd;border-radius:8px}.wheel-claim{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid #ffffff22;flex-wrap:wrap}
@media(min-width:850px){#lc-wheel-launch{bottom:18px;left:auto;right:20px;transform:none;border-radius:50%;height:70px}}

/* Homepage wheel visual upgrade — appearance only; all server rules unchanged. */
#lc-wheel-launch{width:108px;height:68px;bottom:58px;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;isolation:isolate;filter:drop-shadow(0 4px 7px #120722);animation:lc-launch-float 3.2s ease-in-out infinite}#lc-wheel-launch:focus-visible{outline:3px solid #fff3a8;outline-offset:5px}#lc-wheel-launch .lc-wheel-mini{position:absolute;left:50%;top:-8px;display:block;width:100px;height:100px;transform:translateX(-50%);border:6px ridge #ffe68e;border-radius:50%;background:repeating-conic-gradient(from 0deg,#f8d53e 0deg 18deg,#ff5caa 18deg 36deg,#7e4eff 36deg 54deg,#38d8e9 54deg 72deg,#5ee27b 72deg 90deg);box-shadow:0 0 0 3px #7c36d5,0 0 20px #e76bff, inset 0 0 15px #fff8,0 8px 3px #3e165f;animation:lc-mini-turn 18s linear infinite;z-index:-1}#lc-wheel-launch .lc-wheel-mini-core{position:absolute;inset:35%;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#fff5c0,#a75ee4 58%,#3b145f);border:2px solid #ffe58c;border-radius:50%;color:#fff7c7;font-size:22px;text-shadow:0 0 8px #fff}#lc-wheel-launch .lc-wheel-launch-caption{position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);padding:3px 13px;border-radius:20px;background:linear-gradient(#fff3ad,#d99629 52%,#7a3b14);border:2px solid #fff1b0;color:#38114d;font:bold 11px system-ui;letter-spacing:2px;box-shadow:0 2px 9px #ffb940}#lc-wheel-launch:hover .lc-wheel-mini{animation-duration:4s}#lc-wheel-modal .wheel-panel{background:radial-gradient(ellipse at 50% -20%,#8d37a6 0%,transparent 48%),linear-gradient(145deg,#321258,#10102e 67%,#361047);border:2px solid #f5c96b;box-shadow:0 0 0 4px #6e2a9e,0 12px 60px #b94cff88,inset 0 1px 18px #fff3}#lc-wheel-modal .wheel-panel h2{font-weight:900;color:#ffe7a0;text-shadow:0 2px 0 #7d3694,0 0 20px #e578ff}#lc-wheel-disc{border:12px ridge #ffdf72;box-shadow:0 0 0 4px #a25a17,0 0 28px #ffdb67,0 0 50px #9d43e5,inset 0 0 20px #fff8;transform-style:preserve-3d}#lc-wheel-disc .wheel-slice-label{font-size:clamp(7px,1.8vw,9px);font-weight:1000;text-shadow:0 1px 1px #fff}#lc-wheel-pointer{filter:drop-shadow(0 2px 3px #000);text-shadow:0 0 8px #fff1a3}#lc-wheel-modal .wheel-boxes button{transition:transform .25s,filter .25s}#lc-wheel-modal .wheel-boxes button:hover{transform:translateY(-9px) scale(1.08);filter:brightness(1.2)}@keyframes lc-mini-turn{to{transform:translateX(-50%) rotate(360deg)}}@keyframes lc-launch-float{50%{translate:0 -4px}}@media(min-width:850px){#lc-wheel-launch{width:108px;height:108px;bottom:24px;right:24px;left:auto;transform:none}#lc-wheel-launch .lc-wheel-mini{top:0}}@media(prefers-reduced-motion:reduce){#lc-wheel-launch,#lc-wheel-launch .lc-wheel-mini{animation:none}}

/* Phase 3: six-color high-contrast wheel finish, both launcher and expanded wheel. */
#lc-wheel-disc {
 background: repeating-conic-gradient(from 0deg,
 #ffe500 0deg 18deg,
 #00d77b 18deg 36deg,
 #ff871b 36deg 54deg,
 #ff48ad 54deg 72deg,
 #8f48f9 72deg 90deg,
 #02d9f1 90deg 108deg) !important;
 border-color:#ffe28a;
 box-shadow:0 0 0 4px #a25a17,0 0 28px #ffdb67,0 0 50px #9d43e5,inset 0 0 20px #fff8;
}
#lc-wheel-launch .lc-wheel-mini {
 background: repeating-conic-gradient(from 0deg,
 #ffe500 0deg 18deg,
 #00d77b 18deg 36deg,
 #ff871b 36deg 54deg,
 #ff48ad 54deg 72deg,
 #8f48f9 72deg 90deg,
 #02d9f1 90deg 108deg) !important;
}
#lc-wheel-launch:active .lc-wheel-mini{filter:brightness(1.18)}

/* Edge-reveal realistic wheel launcher. Only affects the floating launcher, not the prize wheel modal. */
#lc-wheel-launch {position:fixed!important;left:auto!important;right:0!important;bottom:clamp(90px,20vh,220px)!important;top:auto!important;width:clamp(138px,19vw,190px)!important;height:clamp(138px,19vw,190px)!important;transform:translateX(51%)!important;translate:none!important;animation:none!important;border:0!important;border-radius:50%!important;padding:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 5px 15px #120722)!important;font-size:0!important;line-height:0!important;cursor:pointer;touch-action:manipulation;transition:transform .42s cubic-bezier(.2,.85,.2,1),filter .3s ease!important;z-index:1200;isolation:isolate;}
#lc-wheel-launch::before {content:"";position:absolute;inset:0;background:url('/assets/lc-realistic-wheel.png') center/contain no-repeat;animation:lc-edge-wheel-spin 9s linear infinite;filter:drop-shadow(0 0 8px #f4c963);pointer-events:none;}
#lc-wheel-launch:hover,#lc-wheel-launch:focus-visible,#lc-wheel-launch.lc-wheel-revealed {transform:translateX(0)!important;filter:drop-shadow(0 0 22px #ffcf65)!important;}
#lc-wheel-launch:hover::before,#lc-wheel-launch:focus-visible::before,#lc-wheel-launch.lc-wheel-revealed::before {animation-duration:2.8s;}
#lc-wheel-launch .lc-wheel-mini,#lc-wheel-launch .lc-wheel-mini-core,#lc-wheel-launch .lc-wheel-launch-caption {display:none!important;}
#lc-wheel-launch:focus-visible {outline:3px solid #fff3a8;outline-offset:4px;}
@keyframes lc-edge-wheel-spin {to{transform:rotate(360deg)}}
@media (max-width:600px) {#lc-wheel-launch{width:150px!important;height:150px!important;bottom:clamp(95px,19vh,180px)!important;}}
@media (prefers-reduced-motion:reduce) {#lc-wheel-launch::before {animation:none!important;}#lc-wheel-launch{transition:none!important;}}

/* Bottom-center placement only: retain realistic art and all existing behavior. */
#lc-wheel-launch {
  left:50%!important;
  right:auto!important;
  bottom:0!important;
  top:auto!important;
  transform:translate(-50%, 51%)!important;
}
#lc-wheel-launch:hover,
#lc-wheel-launch:focus-visible,
#lc-wheel-launch.lc-wheel-revealed {
  transform:translate(-50%, 0)!important;
}
/* Previous interaction duration: 2.8s; 50% faster rotation = 1.8667s/revolution. */
#lc-wheel-launch:hover::before,
#lc-wheel-launch:focus-visible::before,
#lc-wheel-launch.lc-wheel-revealed::before {
  animation-duration:1.8667s!important;
}
@media(max-width:600px) {
  #lc-wheel-launch {
    left:50%!important;
    right:auto!important;
    bottom:0!important;
    transform:translate(-50%, 51%)!important;
    z-index:40!important; /* allow fixed smartphone navigation to sit in front */
  }
  #lc-wheel-launch:hover,
  #lc-wheel-launch:focus-visible,
  #lc-wheel-launch.lc-wheel-revealed {
    transform:translate(-50%, 0)!important;
  }
}

/* Mobile half-circle above dock: preserve all other wheel styles. */
@media(max-width:600px){
 #lc-wheel-launch{
   bottom:calc(var(--lc-wheel-dock-top, 110px) - 75px)!important;
   z-index:40!important;
   opacity:1;
   visibility:visible;
   transition:transform .42s cubic-bezier(.2,.85,.2,1),filter .3s ease,opacity .5s ease,visibility .5s ease!important;
 }
 #lc-wheel-launch.lc-wheel-games-hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
}

/* Mobile-only R11: large resting semicircle above dock; normal size on interaction.
   Position is based on the dock top measured by existing wheel-mobile-arc.js. */
@media (max-width:600px) {
  #lc-wheel-launch {
    --lc-wheel-rest-size: clamp(230px, 65vw, 310px);
    width: var(--lc-wheel-rest-size)!important;
    height: var(--lc-wheel-rest-size)!important;
    /* 40% of resting wheel above dock, remaining 60% behind it. */
    bottom: calc(var(--lc-wheel-dock-top, 110px) - var(--lc-wheel-rest-size) * 0.60)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    transform-origin:50% 50%;
    transition:width .42s ease,height .42s ease,bottom .42s ease,transform .42s ease,opacity .5s ease,visibility .5s ease!important;
  }
  #lc-wheel-launch:hover,
  #lc-wheel-launch:focus-visible,
  #lc-wheel-launch.lc-wheel-revealed {
    width:150px!important;
    height:150px!important;
    bottom:calc(var(--lc-wheel-dock-top, 110px) - 75px)!important;
    transform:translateX(-50%)!important;
  }
}
