.order-up-shell{
  min-height:620px;
}
.order-up-intro{
  width:min(720px,100%);
  margin:42px auto 12px;
  text-align:center;
}
.order-up-label{
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,216,19,.12);
  color:var(--yellow);
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.order-up-intro h2{
  margin:12px 0 8px;
  color:#fff;
  font-size:clamp(28px,4vw,48px);
  line-height:1.02;
}
.order-up-intro p{
  max-width:650px;
  margin:0 auto;
  color:#d8d6ef;
  font-size:10px;
  line-height:1.55;
  font-weight:750;
}
.order-up-intro-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin:18px auto;
  max-width:540px;
}
.order-up-intro-stats>div{
  padding:11px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
}
.order-up-intro-stats strong,
.order-up-intro-stats span{
  display:block;
}
.order-up-intro-stats strong{
  color:var(--yellow);
  font-size:20px;
}
.order-up-intro-stats span{
  margin-top:2px;
  color:#d8d6ef;
  font-size:7px;
  font-weight:850;
}
.order-up-game{
  width:min(760px,100%);
  margin:26px auto 0;
}
.order-up-livebar{
  display:grid;
  grid-template-columns:1fr minmax(240px,.8fr);
  gap:14px;
  align-items:end;
  margin-bottom:15px;
}
.order-up-livebar>div:first-child{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.order-up-livebar span{
  color:#d8d6ef;
  font-size:8px;
  font-weight:900;
}
.order-up-livebar strong{
  color:var(--yellow);
  font-size:15px;
}
.order-up-progress-track{
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.11);
}
.order-up-progress-track span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--yellow),var(--green));
  transition:width .25s ease;
}
.order-up-prompt{
  margin-bottom:12px;
  padding:15px 17px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  background:rgba(255,255,255,.06);
}
.order-up-prompt>span{
  color:var(--yellow);
  font-size:8px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.order-up-prompt h2{
  margin:4px 0 3px;
  color:#fff;
  font-size:22px;
}
.order-up-prompt p{
  margin:0;
  color:#d8d6ef;
  font-size:9px;
  font-weight:750;
}
.order-up-list{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
  margin:0;
  padding:0;
  list-style:none;
}
.order-up-item{
  display:grid;
  grid-template-columns:34px 25px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  min-height:54px;
  padding:7px 8px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:11px;
  background:#fff;
  color:var(--navy);
  cursor:grab;
  transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;
}
.order-up-item:hover{
  border-color:var(--yellow);
  box-shadow:0 7px 18px rgba(12,10,61,.14);
}
.order-up-item.dragging{
  opacity:.55;
  transform:scale(.99);
}
.order-up-item.drag-over{
  border-color:var(--yellow);
  box-shadow:0 0 0 3px rgba(255,216,19,.18);
}
.order-up-rank{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:8px;
  background:#f1f0f8;
  color:var(--navy);
  font-size:9px;
  font-weight:950;
}
.order-up-handle{
  color:#aaa8bc;
  font-size:15px;
  letter-spacing:-4px;
  cursor:grab;
}
.order-up-item strong{
  min-width:0;
  font-size:9px;
  line-height:1.3;
}
.order-up-move-buttons{
  display:flex;
  gap:4px;
}
.order-up-move-buttons button{
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border:1px solid #deddea;
  border-radius:7px;
  background:#f8f7fb;
  color:var(--navy);
  font-size:11px;
  font-weight:950;
}
.order-up-move-buttons button:hover:not(:disabled){
  background:var(--navy);
  color:#fff;
}
.order-up-move-buttons button:disabled{
  opacity:.25;
}
.order-up-feedback{
  min-height:56px;
  margin-top:11px;
}
.order-up-feedback>span{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#d8d6ef;
  font-size:8px;
  line-height:1.45;
  font-weight:750;
}
.order-up-round-result{
  padding:13px;
  border-radius:13px;
  background:#fff;
  color:var(--ink);
}
.order-up-round-result>div:first-child{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
.order-up-round-result strong{
  color:var(--navy);
  font-size:17px;
}
.order-up-round-result span{
  color:var(--muted);
  font-size:8px;
  font-weight:800;
}
.order-up-correct-order{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--line);
}
.order-up-correct-order small{
  display:block;
  margin-bottom:7px;
  color:var(--orange);
  font-size:7px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.order-up-correct-order>div{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.order-up-correct-chip{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:5px 7px;
  border-radius:8px;
  background:#f3f2f8;
  color:var(--navy)!important;
  font-size:7px!important;
  font-weight:850!important;
}
.order-up-correct-chip b{
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  border-radius:5px;
  background:var(--navy);
  color:#fff;
  font-size:6px;
}
.order-up-confirm{
  display:block;
  width:min(420px,100%);
  min-height:48px;
  margin:12px auto 0;
  border:0;
  border-radius:11px;
  background:var(--yellow);
  color:var(--navy);
  font-size:10px;
  font-weight:950;
}
.order-up-confirm:disabled{
  opacity:.55;
}
@media(max-width:760px){
  .order-up-shell{min-height:580px}
  .order-up-intro{margin-top:26px}
  .order-up-livebar{grid-template-columns:1fr}
  .order-up-list{grid-template-columns:1fr}
  .order-up-item{
    grid-template-columns:31px 18px minmax(0,1fr) auto;
    min-height:51px;
  }
  .order-up-move-buttons button{
    width:31px;
    height:31px;
  }
  .order-up-round-result>div:first-child{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
}
@media(max-width:430px){
  .order-up-intro-stats{grid-template-columns:1fr 1fr 1fr}
  .order-up-intro-stats strong{font-size:16px}
  .order-up-item strong{font-size:8px}
}
.order-up-prompt-v35{
  padding:18px 20px;
  text-align:center;
}
.order-up-direction-block{
  display:grid;
  justify-items:center;
  gap:5px;
  margin-bottom:14px;
  padding:15px 18px;
  border-radius:15px;
  background:var(--yellow);
  color:var(--navy);
}
.order-up-direction-label{
  color:var(--navy)!important;
  font-size:8px!important;
  font-weight:950;
  letter-spacing:.13em;
}
.order-up-direction-block strong{
  color:var(--navy);
  font-size:clamp(28px,4.2vw,48px);
  line-height:.95;
  font-weight:950;
}
.order-up-direction-block em{
  color:#4a4272;
  font-size:11px;
  line-height:1.2;
  font-style:normal;
  font-weight:900;
}
.order-up-prompt-v35 h2{
  margin-top:2px;
  font-size:24px;
}
.order-up-prompt-v35 p{
  font-size:11px;
}
.order-up-sequence,
.order-up-choice-section{
  margin-top:14px;
}
.order-up-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.order-up-section-head>div{
  display:flex;
  align-items:baseline;
  gap:9px;
}
.order-up-section-head span{
  color:var(--yellow);
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
}
.order-up-section-head strong{
  color:#fff;
  font-size:11px;
}
.order-up-section-head small{
  color:#bdb9dc;
  font-size:8px;
  font-weight:750;
}
.order-up-locked-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
}
.order-up-locked-slot{
  display:grid;
  grid-template-columns:27px minmax(0,1fr);
  gap:7px;
  align-items:center;
  min-height:50px;
  padding:7px;
  border:1px dashed rgba(255,255,255,.25);
  border-radius:10px;
  background:rgba(255,255,255,.04);
}
.order-up-locked-slot>span{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border-radius:7px;
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:8px;
  font-weight:950;
}
.order-up-locked-slot strong{
  color:rgba(255,255,255,.4);
  font-size:8px;
  line-height:1.2;
}
.order-up-locked-slot.is-filled{
  border-style:solid;
  border-color:#a9dfa5;
  background:#f4fff2;
}
.order-up-locked-slot.is-filled>span{
  background:var(--green);
  color:#fff;
}
.order-up-locked-slot.is-filled strong{
  color:var(--navy);
}
.order-up-choice-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.order-up-choice{
  min-height:62px;
  padding:11px 14px;
  border:2px solid transparent;
  border-radius:12px;
  background:#fff;
  color:var(--navy);
  text-align:left;
  font-family:inherit;
  font-size:14px;
  line-height:1.25;
  font-weight:950;
  cursor:pointer;
  transition:
    transform .1s ease,
    border-color .1s ease,
    box-shadow .1s ease;
}
.order-up-choice:hover{
  transform:translateY(-1px);
  border-color:var(--yellow);
  box-shadow:0 8px 18px rgba(8,6,51,.14);
}
.order-up-choice:active{
  transform:translateY(1px);
}
.order-up-choice:focus-visible{
  outline:3px solid var(--yellow);
  outline-offset:2px;
}
.order-up-choice:disabled{
  opacity:.55;
  cursor:wait;
}
.order-up-next{
  margin-top:14px;
}
.order-up-next[hidden]{
  display:none!important;
}
@media(max-width:760px){
  .order-up-direction-block{
    padding:13px 12px;
  }
  .order-up-direction-block strong{
    font-size:30px;
  }
  .order-up-direction-block em{
    font-size:10px;
  }
  .order-up-locked-grid{
    grid-template-columns:1fr 1fr;
  }
  .order-up-choice-grid{
    grid-template-columns:1fr;
  }
  .order-up-choice{
    min-height:58px;
    font-size:15px;
  }
  .order-up-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
}
