/* Maintenance update queue: stations over a conveyor belt with rolling update packages. */
.jp-maint-queue{position:relative;background:var(--ink);color:#fff;padding:100px 0 110px;overflow:hidden}
.jp-maint-queue .mt-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:30px;align-items:end;margin-bottom:50px}
.jp-maint-queue .mt-title{color:#fff}
.jp-maint-queue .mt-head p{font-size:17px;max-width:30em;color:#c9d3da}
.jp-maint-queue .line{position:relative;max-width:100%}
.jp-maint-queue .stations{display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:12px}
.jp-maint-queue .st{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding-bottom:58px}
.jp-maint-queue .st .ic{width:66px;height:66px;border-radius:20px;border:3px solid var(--ink);box-shadow:4px 4px 0 #000;background:var(--c);display:grid;place-items:center;transition:transform .5s var(--spring),box-shadow .3s}
.jp-maint-queue .st .ic svg{width:30px;height:30px;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.jp-maint-queue .st-title{color:#fff;font-size:clamp(17px,1.8vw,24px);margin:14px 0 6px}
.jp-maint-queue .st p{font-size:14px;color:#c9d3da;max-width:14em;line-height:1.45}
.jp-maint-queue .st::after{content:"";position:absolute;left:50%;bottom:0;width:4px;height:44px;margin-left:-2px;background:repeating-linear-gradient(to bottom,#4a4e52 0 6px,transparent 6px 11px);transition:background .2s}
.jp-maint-queue .st.hit .ic{transform:translateY(-8px) rotate(-8deg) scale(1.1);box-shadow:6px 10px 0 #000}
.jp-maint-queue .st.hit::after{background:repeating-linear-gradient(to bottom,var(--c) 0 6px,transparent 6px 11px)}
.jp-maint-queue .belt{position:relative;height:96px;border:3px solid #000;border-radius:48px;background:#2a2c2e;box-shadow:0 10px 0 #000;overflow:hidden}
.jp-maint-queue .treads{position:absolute;inset:auto 0 0 0;height:20px;width:calc(100% + 48px);background:repeating-linear-gradient(90deg,#3a3d40 0 22px,#232527 22px 48px);border-top:3px solid #000;animation:jp-maint-queue-tread 1s linear infinite}
@keyframes jp-maint-queue-tread{to{transform:translateX(-48px)}}
.jp-maint-queue .roller{position:absolute;bottom:-14px;width:46px;height:46px;border-radius:50%;border:3px solid #000;background:conic-gradient(var(--sun) 0 25%,#b07f00 0 50%,var(--sun) 0 75%,#b07f00 0);animation:jp-maint-queue-turn 1.2s linear infinite}
@keyframes jp-maint-queue-turn{to{transform:rotate(360deg)}}
.jp-maint-queue .roller.l{left:-16px}
.jp-maint-queue .roller.r{right:-16px}
.jp-maint-queue .pkg{position:absolute;left:0;top:10px;width:136px;height:56px;padding:7px 10px;border-radius:12px;border:3px solid var(--ink);background:#fff;color:var(--ink);box-shadow:3px 3px 0 #000;will-change:transform}
.jp-maint-queue .pkg[hidden]{display:none}
.jp-maint-queue .pkg b{display:block;font:700 13px/1.15 var(--jp-display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jp-maint-queue .pkg .dots{display:flex;gap:5px;margin-top:7px}
.jp-maint-queue .pkg .dots i{width:14px;height:14px;border-radius:5px;border:2px solid var(--ink);background:#e5e9ec;transition:background .2s,transform .4s var(--spring)}
.jp-maint-queue .pkg .dots i.on{background:#2fbf71;transform:scale(1.2)}
.jp-maint-queue .pkg.done{background:var(--blue)}
.jp-maint-queue .pkg .bump{display:block;transition:transform .35s var(--spring)}
.jp-maint-queue .now{margin-top:26px;text-align:center;color:#c9d3da;font-size:15px;min-height:1.6em}
.jp-maint-queue .now b{color:var(--sun)}

.jp-maint-queue.off *{animation-play-state:paused!important}

@media (max-width:980px){
  .jp-maint-queue .mt-head{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:700px){
  .jp-maint-queue .st p{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .jp-maint-queue .st .ic{width:46px;height:46px;border-radius:14px}
  .jp-maint-queue .st .ic svg{width:22px;height:22px}
  .jp-maint-queue .st-title{font-size:13px;letter-spacing:0}
  .jp-maint-queue .stations{gap:4px}
  .jp-maint-queue .st{padding-bottom:40px}
  .jp-maint-queue .st::after{height:30px}
  .jp-maint-queue .belt{height:80px}
  .jp-maint-queue .pkg{width:92px;height:46px;padding:5px 7px;top:8px;border-radius:10px}
  .jp-maint-queue .pkg b{font-size:11px}
  .jp-maint-queue .pkg .dots{gap:3px;margin-top:5px}
  .jp-maint-queue .pkg .dots i{width:11px;height:11px;border-radius:4px}
}
