/* Joda Rings · DS-089 · .jr- prefixed */
.jr { font: 400 14px/1.6 ui-sans-serif, system-ui, sans-serif; }
.jr-stage { position: relative; height: 200px; max-width: 380px; margin: 0 auto; }
.jr-ring {
  position: absolute; top: 34px; width: 96px; height: 96px;
  border: 7px solid var(--c); border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(0,0,0,.35), 0 0 14px rgba(252,211,77,.18);
  transition: left .9s cubic-bezier(.3, 1.3, .4, 1);
}
.jr-ring::after {                    /* gem dot */
  content: ''; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; background: var(--c); border-radius: 3px;
  clip-path: polygon(50% 0, 100% 60%, 50% 100%, 0 60%);
}
.jr-ring span {
  position: absolute; top: 104px; left: 50%; transform: translateX(-50%);
  color: #8B93A7; font: 600 12px/1 inherit; white-space: nowrap;
}
.jr-r1 { left: 8%; }  .jr-r2 { left: 66%; }
.jr-go .jr-r1 { left: calc(50% - 82px); }
.jr-go .jr-r2 { left: calc(50% - 14px); }
.jr-flash {
  position: absolute; top: 74px; left: 50%; transform: translate(-50%,-50%) scale(0);
  width: 8px; height: 8px; border-radius: 50%; background: #FFF;
  box-shadow: 0 0 18px 6px rgba(253,230,138,.9);
}
.jr-go .jr-flash { animation: jrPop .6s .85s forwards; }
@keyframes jrPop {
  0% { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  60% { transform: translate(-50%,-50%) scale(3.4); opacity: .9; }
  100% { transform: translate(-50%,-50%) scale(7); opacity: 0; }
}
.jr-rm .jr-ring { transition: none; }
.jr-rm .jr-flash { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .jr-ring { transition: none; }
  .jr-go .jr-flash { animation: none; opacity: 0; }
}

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
