
#mq-replay-launcher{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:8800;
  min-height:44px;
  padding:0 14px;
  border:1px solid rgba(185,211,63,.72);
  background:rgba(6,10,8,.94);
  color:#ddea8b;
  font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.08em;
  cursor:pointer;
  box-shadow:0 10px 34px rgba(0,0,0,.35);
}

#mq-replay-selector[hidden]{
  display:none!important;
}

#mq-replay-selector{
  position:fixed;
  inset:0;
  z-index:8799;
  display:grid;
  place-items:end center;
  padding:18px;
  background:rgba(0,0,0,.42);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.mq-replay-sheet{
  width:min(760px,100%);
  max-height:min(82vh,760px);
  overflow:auto;
  border:1px solid rgba(145,165,154,.55);
  background:#07100c;
  color:#d7dfda;
  box-shadow:0 24px 90px rgba(0,0,0,.62);
}

.mq-replay-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  padding:16px 18px;
  border-bottom:1px solid rgba(145,165,154,.28);
  background:#07100c;
}

.mq-replay-kicker,
.mq-replay-label{
  color:#829087;
  font-size:10px;
  letter-spacing:.12em;
}

.mq-replay-head h2{
  margin:4px 0 0;
  color:#eef2ee;
  font-size:18px;
}

.mq-replay-close{
  min-width:44px;
  min-height:44px;
  border:1px solid #39483f;
  background:#0b1510;
  color:#c6d0ca;
  cursor:pointer;
}

.mq-replay-body{
  padding:18px;
}

.mq-replay-empty{
  margin-bottom:16px;
  padding:14px;
  border:1px dashed #4b5a52;
  color:#9eaaa3;
  background:#09110d;
}

.mq-replay-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.mq-replay-field{
  display:grid;
  gap:7px;
}

.mq-replay-field select{
  min-height:44px;
  width:100%;
  border:1px solid #425047;
  background:#09120e;
  color:#d8e0db;
  padding:0 10px;
  font:inherit;
}

.mq-replay-arm-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0;
}

.mq-replay-arm{
  min-height:42px;
  padding:0 12px;
  border:1px solid #425047;
  background:#09120e;
  color:#aab6af;
  font:inherit;
  cursor:pointer;
}

.mq-replay-arm[aria-pressed="true"]{
  border-color:#b9d33f;
  color:#e6f46e;
  box-shadow:inset 0 2px 0 #b9d33f;
}

.mq-replay-meta{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:5px 12px;
  padding:14px;
  border:1px solid rgba(145,165,154,.24);
  background:#08100c;
  font-size:10px;
}

.mq-replay-meta dt{
  color:#7e8b83;
}

.mq-replay-meta dd{
  margin:0;
  overflow-wrap:anywhere;
  color:#bcc7c0;
}

.mq-replay-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:16px;
}

.mq-replay-actions button,
.mq-replay-actions a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 13px;
  border:1px solid #46564c;
  background:#0a1510;
  color:#c7d1ca;
  font:inherit;
  text-decoration:none;
  cursor:pointer;
}

.mq-replay-actions .primary{
  border-color:#b9d33f;
  color:#e5f36c;
}

.mq-replay-actions :disabled,
.mq-replay-actions [aria-disabled="true"]{
  opacity:.42;
  cursor:not-allowed;
}

.mq-replay-status{
  margin-top:12px;
  color:#829087;
  font-size:10px;
}

@media(max-width:640px){
  #mq-replay-selector{
    padding:0;
    place-items:end stretch;
  }

  .mq-replay-sheet{
    width:100%;
    max-height:92vh;
    border-left:0;
    border-right:0;
    border-bottom:0;
  }

  .mq-replay-grid{
    grid-template-columns:1fr;
  }

  #mq-replay-launcher{
    right:12px;
    bottom:12px;
  }
}
