.rv-root {
  --rv-text: var(--lg-ink, #f5f7fa);
  --rv-muted: var(--lg-muted, rgba(245, 247, 250, 0.72));
  --rv-fill: var(--lg-fill, rgba(255, 255, 255, 0.12));
  --rv-fill-hover: var(--lg-fill-hover, rgba(255, 255, 255, 0.18));
  --rv-fill-press: var(--lg-fill-press, rgba(255, 255, 255, 0.24));
  --rv-line: var(--lg-line, rgba(255, 255, 255, 0.2));
  --rv-ink: var(--lg-ink, #f5f7fa);
  --rv-tint: var(--lg-tint, #f5f7fa);
  --rv-tint-text: var(--lg-tint-text, #0c0e13);
  --rv-danger: var(--lg-danger, #ff9a92);
  --rv-card: var(--lg-card, #000);
  --rv-gap: clamp(10px, 2dvh, 16px);
  --rv-cap: clamp(44px, 6.4dvh, 52px);
  --rv-row: clamp(24px, 3.6dvh, 38px);
  --rv-pad: clamp(14px, 2.4dvh, 20px);
  --rv-pgap: clamp(8px, 1.4dvh, 12px);
  --rv-small: clamp(13px, 1.9dvh, 15px);
  --rv-w-panel: clamp(360px, 36vw, 440px);
  --rv-ar: 862 / 612;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rv-w-panel);
  grid-template-rows: var(--rv-cap) minmax(0, 1fr) var(--rv-cap);
  gap: var(--rv-gap);
  padding: var(--rv-gap) max(var(--rv-gap), env(safe-area-inset-right, 0px)) max(var(--rv-gap), env(safe-area-inset-bottom, 0px)) max(var(--rv-gap), env(safe-area-inset-left, 0px));
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: transparent;
  color: var(--rv-text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rv-root *,
.rv-root *::before,
.rv-root *::after {
  box-sizing: border-box;
}

:where(.rv-root) :where(button, textarea, a) {
  font: inherit;
  color: inherit;
}

:where(.rv-root) :where(button) {
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rv-root button:focus-visible,
.rv-root textarea:focus-visible,
.rv-root a:focus-visible {
  outline: 2px solid var(--rv-ink);
  outline-offset: 2px;
}

.rv-num {
  font-variant-numeric: tabular-nums;
}

.rv-hidden {
  visibility: hidden;
}

.rv-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rv-top {
  --lg-r: var(--lg-r-cap, 26px);
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: var(--rv-cap);
  padding: 0 4px 0 18px;
  border-radius: var(--lg-r);
}

.rv-root[data-view="tasks"] > .rv-top {
  grid-column: 1 / -1;
}

.rv-title {
  margin: 0 6px 0 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.rv-waiting {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin-right: 8px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--rv-tint);
  color: var(--rv-tint-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.rv-frameno {
  margin: 0 4px 0 6px;
  padding-left: 12px;
  box-shadow: inset 1px 0 0 var(--rv-line);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.rv-vid {
  min-width: 0;
  padding-left: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--rv-muted);
}

.rv-time {
  padding-left: 6px;
  font-size: 13px;
  color: var(--rv-muted);
  white-space: nowrap;
}

.rv-grow {
  flex: 1;
}

.rv-topbtn {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 150ms;
}

.rv-topbtn:active {
  background: var(--rv-fill-press);
}

.rv-user {
  flex: none;
  max-width: 12em;
  padding: 0 8px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--rv-muted);
}

.rv-stage {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--lg-r-card, 30px);
  background: var(--rv-card);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 48px rgba(0, 0, 0, 0.45);
}

.rv-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.rv-shape,
.rv-tag {
  cursor: pointer;
}

.rv-stage-msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.rv-stage-msg[hidden] {
  display: none;
}

.rv-empty {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  pointer-events: auto;
}

.rv-empty--over {
  --lg-r: 26px;
  padding: 20px;
}

.rv-empty-h {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.rv-muted {
  margin: 0;
  color: var(--rv-muted);
  text-wrap: pretty;
}

.rv-error-text {
  margin: 0;
  color: var(--rv-text);
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 154, 146, 0.14);
  box-shadow: inset 0 0 0 1px var(--rv-danger);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.rv-overbtn {
  --lg-r: 22px;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 22px;
}

.rv-overbtn[hidden] {
  display: none;
}

.rv-toast-area {
  position: fixed;
  left: max(var(--rv-gap), env(safe-area-inset-left, 0px));
  right: max(var(--rv-gap), env(safe-area-inset-right, 0px));
  bottom: max(var(--rv-gap), env(safe-area-inset-bottom, 0px));
  z-index: 6;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.rv-toast {
  --lg-r: 26px;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: var(--rv-cap);
  padding: 4px 4px 4px 20px;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 500;
  animation: rv-toast-in 200ms cubic-bezier(0.2, 0, 0, 1);
}

.rv-toast-text {
  min-width: 0;
  padding: 4px 0;
  line-height: 1.3;
}

.rv-toast-text:last-child {
  padding-right: 16px;
}

.rv-toast-btn {
  flex: none;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 22px;
  background: var(--rv-fill) !important;
  font-size: 15px;
  font-weight: 700;
  color: var(--rv-ink) !important;
  transition: background-color 150ms;
}

@keyframes rv-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rv-bar {
  --lg-r: var(--lg-r-cap, 26px);
  grid-column: 1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  padding: 0 22px;
  border-radius: var(--lg-r);
}

.rv-hint {
  min-width: 0;
  font-size: 14px;
  color: var(--rv-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-pos {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--rv-muted);
  white-space: nowrap;
}

.rv-panel {
  --lg-r: var(--lg-r-panel, 34px);
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--rv-pgap);
  min-height: 0;
  min-width: 0;
  padding: var(--rv-pad);
  border-radius: var(--lg-r);
}

.rv-phead {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rv-tasks {
  grid-column: 1 / -1;
  grid-row: 2 / -1;
  min-height: 0;
  overflow-y: auto;
  margin: 0 calc(-1 * var(--rv-gap));
  padding: clamp(8px, 2.4dvh, 24px) var(--rv-gap) 96px;
}

.rv-root:not([data-view="tasks"]) > .rv-tasks,
.rv-root[data-view="tasks"] > .rv-stage,
.rv-root[data-view="tasks"] > .rv-bar,
.rv-root[data-view="tasks"] > .rv-panel {
  display: none;
}

.rv-tasks-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rv-tasks-title {
  margin: 0 0 10px 4px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rv-tasks-empty {
  margin: 0 0 4px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--rv-fill);
  color: var(--rv-muted);
}

.rv-root .rv-task {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px 12px 20px;
  border-radius: 20px;
  background: var(--rv-fill);
  text-align: left;
  transition: background-color 150ms, transform 100ms;
}

.rv-root .rv-task:disabled {
  opacity: 0.5;
  cursor: default;
}

.rv-root .rv-task:active:not(:disabled) {
  transform: scale(0.99);
  background: var(--rv-fill-press);
}

.rv-task-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rv-task-n {
  flex: none;
  font-size: 15px;
  font-weight: 600;
}

.rv-task-back {
  flex: none;
  font-size: 14px;
  color: var(--rv-muted);
}

.rv-task .rv-icon {
  flex: none;
  color: var(--rv-muted);
}

.rv-root .rv-tasks-refresh {
  align-self: flex-start;
  margin-top: 6px;
}

@media (hover: hover) {
  .rv-root .rv-task:hover:not(:disabled) {
    background-color: var(--rv-fill-hover);
  }
}

.rv-users {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.rv-users-label {
  flex: 1 0 100%;
  margin: 0 0 0 4px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--rv-muted);
}

.rv-root .rv-uchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  max-width: 100%;
  padding: 0 13px;
  border-radius: 20px;
  background: var(--rv-fill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms, color 150ms;
}

.rv-root .rv-uchip > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-root .rv-uchip small {
  font-size: 13px;
  font-weight: 500;
  color: var(--rv-muted);
}

.rv-root .rv-uchip[aria-pressed="true"] {
  background: var(--rv-tint);
  color: var(--rv-tint-text);
}

.rv-root .rv-uchip[aria-pressed="true"] small {
  color: var(--rv-tint-text);
}

.rv-pbody {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -6px;
  padding: 2px 6px;
  display: flex;
  flex-direction: column;
  gap: var(--rv-pgap);
  scrollbar-width: thin;
  scrollbar-color: var(--rv-line) transparent;
}

.rv-pfoot {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv-status {
  margin: 0 0 0 4px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--rv-muted);
}

.rv-marked {
  margin: 0;
  min-height: var(--rv-row);
  display: flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 14px;
  background: var(--rv-fill);
  font-size: var(--rv-small);
  font-weight: 600;
  line-height: 1.3;
  color: var(--rv-text);
}

.rv-trail {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 1px 14px;
  border-radius: 16px;
  background: var(--rv-fill);
}

.rv-trow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--rv-row);
  padding: 1px 0;
  font-size: var(--rv-small);
  line-height: 1.25;
}

.rv-trow + .rv-trow {
  box-shadow: inset 0 1px 0 var(--rv-line);
}

.rv-trow dt {
  flex: none;
  color: var(--rv-muted);
}

.rv-trow dd {
  margin: 0;
  min-width: 0;
  font-weight: 700;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-olist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.rv-olist > li {
  display: flex;
  min-width: 0;
  max-width: 100%;
}

.rv-orow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 30px;
  padding: 2px 8px 2px 3px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
  transition: background-color 150ms, box-shadow 150ms;
}

.rv-orow[aria-pressed="true"] {
  background: var(--rv-fill-press);
  box-shadow: inset 0 0 0 1.5px var(--rv-ink);
}

.rv-orow--old {
  color: var(--rv-muted);
}

.rv-orow-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rv-tagpill {
  flex: none;
  padding: 1px 8px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: #0b0c0e;
  white-space: nowrap;
}

.rv-tagpill--zone {
  background: rgba(11, 12, 14, 0.85);
  color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
  font-size: 14px;
  line-height: 1.35;
}

.rv-swatch {
  flex: none;
  width: 24px;
  height: 0;
  border-top: 2px dotted var(--rv-muted);
}

.rv-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 16px;
  background: var(--rv-fill);
}

.rv-h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rv-muted);
}

.rv-note-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.rv-h2 {
  margin: 2px 0 0 4px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.rv-composer {
  flex: 0 1 auto;
  gap: 10px;
}

.rv-textarea {
  width: 100%;
  min-height: clamp(92px, 15dvh, 132px);
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--rv-fill);
  box-shadow: inset 0 0 0 1px var(--rv-line);
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

.rv-textarea::placeholder {
  color: var(--rv-muted);
}

.rv-counter {
  align-self: flex-end;
  min-height: 18px;
  font-size: 13px;
  line-height: 18px;
  color: var(--rv-muted);
}

.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 24px;
  background: var(--rv-fill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 150ms, color 150ms, box-shadow 150ms, transform 100ms;
}

.rv-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.rv-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.rv-root .rv-btn--primary {
  min-height: 60px;
  border-radius: 30px;
  background: var(--rv-tint);
  color: var(--rv-tint-text);
  font-size: 19px;
  font-weight: 700;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 10px 26px rgba(0, 0, 0, 0.28);
}

.rv-btn--big {
  min-height: 60px;
}

.rv-btn--second {
  background: var(--rv-fill) !important;
}

.rv-root .rv-btn--plain {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: var(--rv-fill);
}

.rv-btn--ghost {
  width: 100%;
  background: var(--rv-fill) !important;
  color: var(--rv-danger) !important;
}

.rv-btn--decided {
  background: var(--rv-fill-press) !important;
  box-shadow: inset 0 0 0 2px var(--rv-ink);
}

.rv-root .rv-btn--primary.rv-btn--decided {
  background: var(--rv-tint) !important;
  box-shadow: 0 0 0 3px rgba(12, 14, 19, 0.85), 0 0 0 5px var(--rv-ink), 0 10px 26px rgba(0, 0, 0, 0.28);
}

.rv-btn--decided > .rv-icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 11px;
  background: var(--rv-ink);
  color: var(--rv-tint-text);
  stroke-width: 3;
}

.rv-btn--primary.rv-btn--decided > .rv-icon {
  background: var(--rv-tint-text);
  color: var(--rv-tint);
}

.rv-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.rv-sep {
  display: flex;
  min-width: 0;
}

.rv-dock {
  padding-top: 2px;
}

.rv-dock[inert] {
  opacity: 0.6;
}

@media (hover: hover) {
  .rv-topbtn:hover,
  .rv-orow:hover {
    background: var(--rv-fill);
  }

  .rv-orow[aria-pressed="true"]:hover {
    background: var(--rv-fill-press);
  }

  .rv-root .rv-btn--plain:hover:not(:disabled),
  .rv-toast-btn:hover {
    background: var(--rv-fill-hover) !important;
  }

  .rv-btn--second:hover:not(:disabled),
  .rv-btn--ghost:hover:not(:disabled) {
    background: var(--rv-fill-hover) !important;
  }

  .rv-root .rv-uchip:hover:not([aria-pressed="true"]) {
    background: var(--rv-fill-hover);
  }

  .rv-root .rv-btn--primary:hover:not(:disabled) {
    background: #fff;
  }
}

@media (max-width: 899px), (orientation: portrait) {
  .rv-root[data-view="frame"] .rv-toast-area {
    top: calc(var(--rv-gap) * 2 + 60px);
    bottom: auto;
  }
}

@media (max-width: 599px) {
  .rv-root[data-view="frame"] .rv-toast-area {
    top: 116px;
  }
}

@media (min-width: 900px) and (orientation: landscape) {
  .rv-root[data-view="frame"] .rv-toast-area {
    right: calc(var(--rv-w-panel) + 2 * var(--rv-gap));
  }

  .rv-root[data-view="frame"] .rv-toast {
    flex: 1;
  }

  .rv-root[data-view="frame"] .rv-toast-text {
    flex: 1;
  }

  .rv-root[data-view="frame"]:has(.rv-toast) > .rv-bar > * {
    visibility: hidden;
  }
}

@media (max-width: 1279px) and (min-width: 900px) and (orientation: landscape) {
  .rv-time {
    display: none;
  }
}

@media (max-width: 899px), (orientation: portrait), (max-height: 899px) {
  .rv-dock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }

  .rv-dock > .rv-error-text,
  .rv-dock > .rv-btn--big,
  .rv-dock > .rv-two {
    grid-column: 1 / -1;
  }

  .rv-dock .rv-two {
    gap: 6px;
  }

  .rv-dock .rv-btn {
    min-height: clamp(40px, 5.8dvh, 44px);
    padding: 2px 10px;
    border-radius: 22px;
  }

  .rv-root .rv-dock .rv-btn--primary {
    min-height: clamp(46px, 7dvh, 52px);
    border-radius: 26px;
    font-size: 18px;
  }

  .rv-dock > .rv-btn--second,
  .rv-dock > .rv-sep .rv-btn {
    gap: 6px;
    font-size: 14px;
    line-height: 1.15;
  }

  .rv-dock > .rv-sep {
    margin: 0;
  }
}

@media (max-width: 899px), (orientation: portrait) {
  .rv-root {
    --rv-row: clamp(26px, 2.8dvh, 34px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--rv-cap) minmax(0, 1fr) var(--rv-cap) auto;
    gap: 12px;
  }

  .rv-root[data-view="tasks"] {
    grid-template-rows: var(--rv-cap) minmax(0, 1fr);
  }

  .rv-top {
    grid-column: 1;
  }

  .rv-stage {
    grid-column: 1;
    grid-row: 2;
  }

  .rv-bar {
    grid-row: 3;
  }

  .rv-panel {
    grid-column: 1;
    grid-row: 4;
    max-height: 64dvh;
  }

  .rv-pbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
  }

  .rv-pbody > * {
    grid-column: 1 / -1;
  }

  .rv-pbody > .rv-trail {
    grid-column: 1;
  }

  .rv-pbody > .rv-olist,
  .rv-pbody > .rv-trail + .rv-muted {
    grid-column: 2;
  }

  .rv-pbody.rv-composer {
    display: flex;
    align-items: stretch;
  }

  .rv-time {
    display: none;
  }
}

@media (max-width: 599px) {
  .rv-root {
    --rv-gap: 12px;
    --rv-cap: 48px;
    --rv-row: 34px;
    --rv-small: 14px;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 10px;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  .rv-root[data-view="tasks"] {
    grid-template-rows: auto auto;
  }

  .rv-stage {
    aspect-ratio: var(--rv-ar);
    max-height: 70vh;
    width: 100%;
  }

  .rv-panel {
    max-height: none;
    padding: 16px;
  }

  .rv-tasks {
    overflow: visible;
    padding-top: 12px;
  }

  .rv-pbody {
    display: flex;
    align-items: stretch;
    overflow: visible;
  }

  .rv-dock {
    position: sticky;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    z-index: 4;
    gap: 8px;
    margin: 0 -8px;
    padding: 8px;
    border-radius: 30px;
    background: rgba(22, 26, 36, 0.62);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 0.5px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  .rv-dock .rv-btn {
    min-height: 52px;
  }

  .rv-root .rv-dock .rv-btn--primary {
    min-height: 52px;
  }

  .rv-top {
    height: auto;
    flex-wrap: wrap;
    row-gap: 0;
    padding: 4px 4px 4px 16px;
  }

  .rv-bar {
    padding: 8px 18px;
  }

  .rv-dock .rv-btn--second .rv-icon,
  .rv-dock .rv-btn--ghost .rv-icon {
    display: none;
  }

  .rv-dock .rv-btn--second.rv-btn--decided .rv-icon,
  .rv-dock .rv-btn--ghost.rv-btn--decided .rv-icon {
    display: block;
  }

  .rv-dock > .rv-btn--second,
  .rv-dock > .rv-sep .rv-btn {
    font-size: 15px;
  }

  .rv-vid,
  .rv-user {
    display: none;
  }

  .rv-grow {
    flex-basis: 100%;
    height: 0;
  }

  .rv-grow + * {
    margin-left: -11px;
  }

  .rv-title {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .rv-topbtn {
    min-height: 44px;
    padding: 0 11px;
  }

  .rv-hint {
    white-space: normal;
    line-height: 1.35;
  }

  .rv-tasks-title {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-root * {
    transition: none !important;
    animation: none !important;
  }

  .rv-btn:active:not(:disabled) {
    transform: none;
  }
}
