html,body{margin:0;height:100%;background:#000;overflow:hidden;overscroll-behavior:none;touch-action:none}
#vp{position:fixed;left:0;top:0;width:100%;height:100%;background:#000;overflow:hidden}
#stage{position:absolute;left:0;top:0;width:720px;height:1511px;background:#000;overflow:hidden;transform-origin:0 0;
  font-family:Arial,Helvetica,sans-serif;color:#fff;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
#stage div{position:absolute;box-sizing:border-box}
.im{background-repeat:no-repeat;background-size:100% 100%;}
.tx{white-space:pre;line-height:1.17}.c{text-align:center}.b{font-weight:700}
.btn{cursor:pointer}
.hide{display:none!important}

/* wheel */
#disc{will-change:transform}
#glow{opacity:0;transition:opacity .1s;background:url(assets/ho1.png) 0 0/100% 100% no-repeat}
#glow.on{opacity:1}
#glow{filter:saturate(1.35) brightness(.96)}
@keyframes glowp{from{filter:brightness(1)}to{filter:brightness(.86)}}
.chip{border-radius:50%}
.chip.sel{box-shadow:0 0 0 5px #ffd21e,0 0 16px 6px rgba(255,210,30,.8)}


/* popups */
#dim{background:rgba(0,0,0,.5)}

.sb::-webkit-scrollbar{display:none}.sb{scrollbar-width:none;touch-action:pan-y}

/* rim lights: two groups switch on and off in turn */
.bulb{pointer-events:none}
.on1{animation:bulbA 1.25s steps(1,end) infinite}
.off1{animation:bulbCover 1.25s steps(1,end) infinite}
@keyframes bulbA{0%{opacity:1}50%{opacity:0}}
@keyframes bulbCover{0%{opacity:1}50%{opacity:0}}

/* popup layers are transparent to clicks except the pictures, buttons and lists, so a tap outside the box reaches the dim layer and closes it */
.pp{pointer-events:none}
.pp .im,.pp .btn,.pp .sb{pointer-events:auto}
