.grove-replay {
  --grove-ink: #e7eee1;
  --grove-dim: #afc1b5;
  --grove-line: #3c534b;
  --grove-accent: #bee7a3;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  color-scheme: dark;
  background: #112a25;
  color: var(--grove-ink);
  border: 1px solid #344a40;
  border-radius: 9px;
  font: 13px/1.35 var(--sans, system-ui, sans-serif);
  text-align: left;
}
.grove-replay [hidden] {
  display: none !important;
}
.grove-replay a {
  color: inherit;
}
.grove-replay :is(button, a, input, canvas):focus-visible {
  outline: 2px solid #f0c279;
  outline-offset: 2px;
}
.grove-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin: 0;
  padding: 11px 15px 10px;
}
.grove-heading h2 {
  margin: 0;
  color: var(--grove-ink);
  font: 400 clamp(25px, 4.5vw, 32px)/1.02 var(--serif, Georgia, serif);
  letter-spacing: -0.035em;
}
.grove-heading h2 em {
  color: #c3dda8;
  font-weight: inherit;
}
.grove-heading a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 28px;
  font-size: 12px;
  font-weight: 530;
  text-decoration: none;
}
.grove-heading a:hover,
.grove-replay figcaption a:hover {
  text-decoration: underline;
}
.grove-heading svg {
  width: 15px;
  height: 15px;
}
.grove-frame {
  position: relative;
  isolation: isolate;
  margin-inline: 9px;
  overflow: hidden;
  aspect-ratio: 1.86;
  border: 1px solid #385147;
  border-radius: 4px;
  background: #0a201c;
}
.grove-poster,
.grove-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.grove-poster {
  object-fit: cover;
}
.grove-canvas {
  position: absolute;
  inset: 0;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.grove-canvas:focus-visible {
  outline-offset: -3px !important;
}
.grove-canvas:active {
  cursor: grabbing;
}
.grove-hud,
.grove-orbit,
.grove-legend,
.grove-controls,
.grove-readouts {
  display: flex;
  align-items: center;
}
.grove-hud {
  position: absolute;
  inset: 7px 8px auto;
  justify-content: space-between;
  pointer-events: none;
  font: 10px/1.3 var(--mono, monospace);
  letter-spacing: 0.01em;
}
.grove-fix,
.grove-clock {
  display: inline-flex;
  align-items: center;
  padding: 3px 5px;
  color: #dbe9db;
  border-radius: 3px;
  background: #0c211edf;
  white-space: nowrap;
}
.grove-fix::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #afe391;
}
.grove-fix.outage::before {
  background: #f3b55e;
}
.grove-orbit {
  position: absolute;
  bottom: 5px;
  right: 5px;
  padding: 1px;
  gap: 1px;
  border-radius: 4px;
  background: #102a24ed;
  border: 1px solid #476058;
}
.grove-orbit button,
.grove-controls button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  box-sizing: border-box;
  min-width: 0;
  padding: 0;
  color: var(--grove-ink);
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  appearance: none;
}
.grove-orbit button {
  width: 25px;
  height: 25px;
}
.grove-orbit svg {
  width: 14px;
  height: 14px;
}
.grove-orbit button:hover,
.grove-controls button:hover {
  background: #355447;
}
.grove-legend {
  gap: 13px;
  flex-wrap: wrap;
  margin: 6px 15px 0;
  color: var(--grove-dim);
  font: 10px/1.3 var(--mono, monospace);
}
.grove-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.grove-legend i {
  display: inline-block;
  width: 15px;
  height: 0;
  border-top: 2px dashed #d9eee7;
}
.grove-legend span:nth-child(2) i {
  border-top: 2px solid #63e3c8;
}
.grove-controls {
  gap: 9px;
  margin: 7px 14px 0;
}
.grove-controls button {
  min-width: 58px;
  min-height: 30px;
  gap: 4px;
  padding: 2px 7px;
  border: 1px solid #688272;
  font: 600 12px var(--sans, sans-serif);
}
.grove-controls button span {
  color: #c0d2c0;
  font-size: 10px;
}
.grove-scrub {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
}
.grove-scrub::after {
  content: "";
  position: absolute;
  pointer-events: none;
  bottom: 1px;
  left: var(--outage-from);
  width: var(--outage-width);
  height: 2px;
  background: #e6ac68;
  border-radius: 2px;
}
.grove-controls input {
  width: 100%;
  flex: 1;
  min-width: 24px;
  height: 26px;
  margin: 0;
  accent-color: #b6de94;
  cursor: pointer;
}
.grove-end {
  color: var(--grove-dim);
  font: 10px var(--mono, monospace);
  white-space: nowrap;
}
.grove-readouts {
  align-items: stretch;
  gap: 0;
  margin: 9px 15px 0;
  border-top: 1px solid var(--grove-line);
  border-bottom: 1px solid var(--grove-line);
}
.grove-readouts > div {
  min-width: 0;
  flex: 1;
  padding: 7px 4px 7px 0;
}
.grove-readouts > div + div {
  padding-left: 12px;
  border-left: 1px solid var(--grove-line);
}
.grove-readouts dt {
  color: var(--grove-dim);
  font-size: 11px;
}
.grove-readouts dd {
  margin: 1px 0 0;
  color: #e8f0df;
  font: 14px/1.2 var(--mono, monospace);
  font-variant-numeric: tabular-nums;
}
.grove-readouts abbr[title] {
  text-decoration: none;
}
.grove-replay figcaption {
  margin: 0;
  padding: 9px 15px 10px;
  color: var(--grove-dim);
  font: 11px/1.35 var(--sans, sans-serif);
}
.grove-replay figcaption a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (pointer: coarse) {
  .grove-orbit button {
    width: 31px;
    height: 28px;
  }
  .grove-controls button {
    min-height: 34px;
  }
}
