#ogs-wheel{font:15px/1.5 Arial,sans-serif;color:#12314b}#ogs-wheel *{box-sizing:border-box}#ogs-wheel [hidden]{display:none!important}#ogs-wheel button{font:inherit;cursor:pointer;border:0;border-radius:12px;padding:12px 18px;min-height:44px;background:#008fc4;color:#fff}#ogs-wheel button:disabled{opacity:.6;cursor:wait}#ogs-wheel a{color:#007ba8}#ogs-wheel .wheel-launch{position:fixed;right:24px;bottom:110px;z-index:1040;max-width:230px;box-shadow:0 4px 20px #12314b25}#ogs-wheel dialog{width:min(620px,calc(100% - 24px));max-height:90vh;padding:24px;border:0;border-radius:24px;background:#fff;color:#12314b;text-align:center;overflow:auto}#ogs-wheel dialog::backdrop{background:#12314b80}#ogs-wheel .wheel-close{position:absolute;right:10px;top:10px;background:#edf6fa;color:#12314b;font-size:24px;padding:5px 14px}#ogs-wheel .wheel-bot{width:120px;height:120px;object-fit:contain}#ogs-wheel .wheel-stage{width:260px;height:280px;position:relative;margin:12px auto}#ogs-wheel .wheel-pointer{position:absolute;top:0;left:calc(50% - 12px);font-size:25px;color:#fa8b24;z-index:1}#ogs-wheel .wheel-disc{position:absolute;top:16px;width:260px;height:260px;border-radius:50%;background:conic-gradient(from -22.5deg,#008fc4 0 45deg,#eaf3f7 45deg 90deg,#123f60 90deg 135deg,#eaf3f7 135deg 180deg,#008fc4 180deg 225deg,#eaf3f7 225deg 270deg,#123f60 270deg 315deg,#eaf3f7 315deg 360deg);transition:transform 2.8s cubic-bezier(.12,.7,.15,1)}#ogs-wheel .wheel-disc span{position:absolute;font-weight:bold;font-size:12px;width:70px;transform:translate(-50%,-50%)}#ogs-wheel .wheel-disc span:nth-child(odd){color:white}#ogs-wheel .wheel-terms{font-size:12px;color:#536879}#ogs-wheel [data-spin]{background:#fa8b24;color:#12314b;margin:14px}#ogs-wheel [data-offers]{display:grid;grid-template-columns:1fr 1fr;gap:12px}#ogs-wheel .wheel-offer{background:#eff7fa;border-radius:16px;padding:16px}#ogs-wheel .wheel-offer img{width:100%;height:130px;object-fit:contain;background:white;border-radius:12px}#ogs-wheel [data-result] img{width:180px;height:150px;object-fit:contain}#ogs-wheel [data-error]{color:#a82121}#ogs-wheel[data-bot-state=win] .wheel-bot{animation:ogs-wheel-jump 1s ease-in-out 2}#ogs-wheel[data-bot-state=spin] .wheel-bot{animation:ogs-wheel-jump .7s ease-in-out 4}@keyframes ogs-wheel-jump{0%,100%{transform:translateY(0)}40%{transform:translateY(-10px) rotate(-5deg)}70%{transform:rotate(5deg)}}@media(max-width:420px){#ogs-wheel [data-offers]{grid-template-columns:1fr}#ogs-wheel dialog{padding:22px 14px}}@media(prefers-reduced-motion:reduce){#ogs-wheel .wheel-disc{transition:none}#ogs-wheel .wheel-bot{animation:none!important}}
#ogs-wheel [data-prizes]{display:flex;justify-content:center;gap:12px;margin:4px 0 16px}#ogs-wheel [data-prizes] figure{margin:0;padding:8px;flex:1;max-width:210px;border:1px solid #dfedf3;border-radius:12px;background:#fff}#ogs-wheel [data-prizes] img{width:100%;height:76px;object-fit:contain}#ogs-wheel [data-prizes] figcaption{font-size:13px;font-weight:bold;margin-top:4px}

/* Gift launcher: the prize claim keeps its existing labeled button. */
#ogs-wheel:not([data-bot-state="win"]) .wheel-launch {
  right:12px; bottom:98px; width:80px; height:80px; padding:0;
  font-size:0; line-height:0; background:transparent; box-shadow:none;
}
#ogs-wheel:not([data-bot-state="win"]) .wheel-launch::before,
#ogs-wheel:not([data-bot-state="win"]) .wheel-launch::after {
  content:""; position:absolute; pointer-events:none;
}
#ogs-wheel:not([data-bot-state="win"]) .wheel-launch::before {
  inset:0;
  background:url("ogs-cadeaurad-cadeau-20261125.webp") center / contain no-repeat;
  filter:drop-shadow(0 4px 4px #7b350b28);
  transform-origin:50% 80%;
}
#ogs-wheel:not([data-bot-state="win"]) .wheel-launch::after {
  inset:-3px -3px auto -5px; height:35px; opacity:0;
  background:
    radial-gradient(ellipse 1.2px 6px at 6px 11px,#f58a17 90%,transparent),
    radial-gradient(ellipse 6px 1.2px at 6px 11px,#f58a17 90%,transparent),
    radial-gradient(ellipse 1.1px 4px at calc(100% - 5px) 24px,#ffb02e 90%,transparent),
    radial-gradient(ellipse 4px 1.1px at calc(100% - 5px) 24px,#ffb02e 90%,transparent);
}
#ogs-wheel .wheel-launch:focus-visible {
  outline:2px solid #008cba; outline-offset:3px;
}
@media (max-width:480px) {
  #ogs-wheel:not([data-bot-state="win"]) .wheel-launch {
    right:4px; bottom:84px; width:72px; height:72px;
  }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #ogs-wheel:not([data-bot-state="win"]) .wheel-launch:is(:hover,:focus-visible)::before {
    animation:ogs-cadeaurad-hop 720ms cubic-bezier(.32,.05,.28,1);
  }
  #ogs-wheel:not([data-bot-state="win"]) .wheel-launch:is(:hover,:focus-visible)::after {
    animation:ogs-cadeaurad-twinkle 550ms 65ms ease-out;
  }
}
@keyframes ogs-cadeaurad-hop {
  0%,100% { transform:none; }
  28% { transform:translateY(-9px) rotate(-10deg) scale(1.055); }
  53% { transform:translateY(-4px) rotate(8deg) scale(1.025); }
  74% { transform:translateY(1px) rotate(-4deg); }
  88% { transform:translateY(-1px) rotate(2deg); }
}
@keyframes ogs-cadeaurad-twinkle {
  0% { opacity:0; transform:scale(.4) translateY(3px); }
  36% { opacity:1; transform:scale(1) translateY(-3px); }
  100% { opacity:0; transform:scale(.55) translateY(-9px); }
}

/* On touch, animate before opening the dialog. */
@media (prefers-reduced-motion:no-preference) {
  #ogs-wheel:not([data-bot-state="win"]) .wheel-launch.wheel-launch--tap::before {
    animation:ogs-cadeaurad-hop 500ms cubic-bezier(.32,.05,.28,1);
  }
  #ogs-wheel:not([data-bot-state="win"]) .wheel-launch.wheel-launch--tap::after {
    animation:ogs-cadeaurad-twinkle 435ms 45ms ease-out;
  }
}
