html:has(.robot-replay-dialog[open]){overflow:hidden}
.robot-replay-dialog{
  padding:0;margin:auto;border:2px solid #334853;border-radius:18px;
  overflow:hidden;max-width:none;max-height:none;
  color:#eef7f4;background:#101b22;box-shadow:0 14px 70px #080c16b0;
  width:min(77rem,96vw);height:min(58rem,92vh);height:min(58rem,92dvh);
}
.robot-replay-dialog[open]{display:grid;grid-template: auto minmax(0,1fr) / minmax(0,1fr)}
.robot-replay-dialog::backdrop{background:#101320c7}
.robot-replay-head{
  position:static;display:flex;justify-content:space-between;align-items:center;min-width:0;gap:1rem;padding:.65rem 1rem;
  background:#17262e;border-bottom:1px solid #344956;
}
.robot-replay-head h2{margin:0;font-size:clamp(1rem,2.6vw,1.25rem);line-height:1.2;color:#eef7f4}
.robot-replay-head button{
  flex:none;width:44px;height:44px;min-width:44px;min-height:44px;line-height:1;background:#21333c;color:#fff;
  border:1px solid #527581;border-radius:10px;cursor:pointer;font-size:1.55rem;
}
.robot-replay-head button:is(:hover,:focus-visible){background:#304a54}
.robot-replay-dialog iframe{display:block;width:100%;height:100%;min-height:0;border:0;background:#101b22}
@media(max-width:560px){.robot-replay-dialog{width:calc(100vw - 12px);height:94vh;height:94dvh;border-radius:12px}.robot-replay-head{padding:.45rem .7rem}}
