.strides-capture-methods {
  margin-top: 18px;
}

.strides-live-launch span {
  color: #ffb4b4;
  font-size: 18px;
}

.strides-method-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--v2-muted);
  font: 11px var(--v2-mono);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 14px 0;
}

.strides-method-divider:before,
.strides-method-divider:after {
  content: "";
  height: 1px;
  background: var(--v2-hair);
  flex: 1;
}

.strides-live-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  background: #020617;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.strides-live-sheet {
  box-sizing: border-box;
  width: min(100%, 720px);
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto auto auto;
  gap: 8px;
  padding: calc(env(safe-area-inset-top, 0) + 8px) 0 calc(env(safe-area-inset-bottom, 0) + 8px);
  overflow: hidden;
}

.strides-live-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 0 12px;
  min-height: 0;
}

.strides-live-head strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

.strides-live-head span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.25;
  margin-top: 2px;
}

.strides-live-close {
  border: 0;
  background: #1e293b;
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 22px;
  line-height: 1;
}

.strides-live-view {
  position: relative;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strides-live-view video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.strides-live-time {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #020617b8;
  border-radius: 999px;
  padding: 6px 10px;
  font: 600 12px monospace;
}

.strides-live-actions {
  display: flex;
  justify-content: center;
  min-height: 54px;
  align-items: center;
  padding: 0 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.strides-live-record {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: transparent;
  padding: 6px;
}

.strides-live-record span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ef4444;
}

.strides-live-record.recording span {
  border-radius: 8px;
  transform: scale(.5);
}

.strides-live-record:disabled {
  opacity: .4;
}

.strides-live-use {
  min-width: min(180px, calc(100vw - 32px));
  min-height: 44px;
}

.strides-live-status {
  text-align: center;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.25;
  margin: 0 12px;
  min-height: 14px;
}

.strides-live-error {
  margin: 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #7f1d1d;
  color: #fee2e2;
  font-size: 12px;
}

.strides-wizard .strides-live-sheet {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-left: 14px;
  padding-right: 14px;
}

.strides-wizard-step {
  min-height: 0;
}

.strides-wizard-step h2 {
  font-size: 22px;
  line-height: 1.12;
  margin: 8px 0;
}

.strides-wizard-step p,
.strides-wizard-note {
  font-size: 12px;
  line-height: 1.35;
}

.strides-wizard-cards {
  display: grid;
  gap: 8px;
}

.strides-wizard-cards button {
  min-height: 64px;
}

@media (max-width: 699px) and (orientation: landscape) {
  .strides-live-sheet {
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    column-gap: 8px;
    padding: calc(env(safe-area-inset-top, 0) + 6px) calc(env(safe-area-inset-right, 0) + 8px) calc(env(safe-area-inset-bottom, 0) + 6px) calc(env(safe-area-inset-left, 0) + 8px);
  }

  .strides-live-head,
  .strides-live-view,
  .strides-live-error {
    grid-column: 1;
  }

  .strides-live-actions {
    grid-column: 2;
    grid-row: 1 / 4;
    min-height: 0;
    align-self: center;
    padding: 0;
  }

  .strides-live-status {
    grid-column: 1;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .strides-live-sheet {
    gap: 6px;
    grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
  }

  .strides-live-time {
    top: 8px;
    left: 8px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .strides-live-record {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-width: 3px;
  }

  .strides-live-error {
    padding: 8px 10px;
    font-size: 11px;
  }
}

@media (min-width: 700px) {
  .strides-live-modal {
    align-items: center;
    padding: 20px;
  }

  .strides-live-sheet {
    height: auto;
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .strides-live-view {
    aspect-ratio: 16 / 9;
    max-height: 68vh;
    border-radius: 14px;
  }

  .strides-live-record {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }
}
