/* Black & Red scene. Sizes are design pixels inside the FL box. */
/* Shared parts (sunburst, title, postmark, sparkles) come from the scene kit in fl-frame.css. */
.br .fl-title .r { color: var(--red); }

/* wheel */
.br-wheel-wrap { position: absolute; left: 50%; width: 590px; height: 590px; margin-left: -295px; top: 196px; z-index: 2; }
.is-tall .br-wheel-wrap { width: 560px; height: 560px; margin-left: -280px; top: 176px; }
.br-shadow { position: absolute; left: 8%; right: 8%; bottom: -26px; height: 52px; border-radius: 50%; background: rgba(43, 29, 26, .18); filter: blur(6px); }
.br-wheel { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; filter: drop-shadow(0 10px 0 rgba(11, 90, 89, .35)); }
.br-wheel .seg.is-black { fill: #fff8ea; }
.br-wheel .seg.is-red { fill: #fbdc9a; }
.br-wheel .seg { transition: fill .3s; }
.br-wheel .seg.is-win { fill: #fff; animation: br-glow .45s ease-in-out 6 alternate; }
@keyframes br-glow { to { fill: #f2b134; } }
.br-wheel .medal { fill: #2b1d1a; opacity: .12; }
.br-wheel .medal-in { fill: #fff8ea; stroke: #2b1d1a; stroke-width: 3; }
.br-wheel .bulb.a { fill: #f2b134; }
.br-wheel .bulb.b { fill: #fff8ea; }
.br-wheel .bulb { animation: br-bulb 1.2s steps(2) infinite; }
.br-wheel .bulb.b { animation-delay: .6s; }
@keyframes br-bulb { 50% { fill: #fff3c4; } }
.br.is-spinning .br-wheel .bulb { animation-duration: .3s; }

.br-hub {
  position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 8px var(--paper), 0 0 0 14px var(--ink), 0 8px 18px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--paper); text-align: center;
}
.br-hub span { font: 800 15px/1.1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; }
.br-hub b { font: 400 28px/1 var(--font-brand); margin: 2px 0; }
.br-pointer { position: absolute; left: 50%; top: -40px; width: 64px; height: 86px; margin-left: -32px; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .25)); z-index: 3; }
.br.is-spinning .br-pointer { animation: br-flick .12s ease-in-out infinite alternate; transform-origin: 50% 30%; }
@keyframes br-flick { to { transform: rotate(-7deg); } }

@media (prefers-reduced-motion: reduce) {
  .br-wheel .bulb { animation: none; }
}
