@font-face {
  font-family: "Uber Move";
  src: url("../assets/fonts/UberMoveLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uber Move";
  src: url("../assets/fonts/UberMoveRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uber Move";
  src: url("../assets/fonts/UberMoveMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uber Move";
  src: url("../assets/fonts/UberMoveBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #68707c;
  --panel: rgba(255, 255, 255, 0.88);
  --stroke: rgba(16, 24, 40, 0.12);
  --button: #111318;
  --button-muted: rgba(255, 255, 255, 0.94);
  --device-width: 393px;
  --device-height: 852px;
  --device-radius: 47px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family:
    "Uber Move", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: #e8ecf1;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

#map,
.mapboxgl-canvas,
.mapboxgl-canvas-container {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.prototype-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100dvh;
  padding: 24px 16px;
  overflow: auto;
  background: #e8ecf1;
}

.device-frame {
  position: relative;
  flex: 0 0 auto;
  width: var(--device-width);
  height: var(--device-height);
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--device-radius);
  background: #fff;
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  isolation: isolate;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
}

.has-map #map {
  visibility: visible;
}

.mapboxgl-map {
  font-family:
    "Uber Move", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.pickup-walk-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #286fef;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.busy-area-overlay {
  position: absolute;
  width: 142px;
  height: 228px;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-200px, -200px);
  transition: visibility 180ms ease;
}

.has-map .busy-area-overlay.is-visible {
  visibility: visible;
}

.busy-area-glow {
  position: absolute;
  z-index: 1;
  inset: 8px -18px 0;
  border-radius: 999px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 196, 45, 0.5) 0%,
      rgba(255, 196, 45, 0.28) 38%,
      rgba(255, 196, 45, 0.1) 64%,
      rgba(255, 196, 45, 0) 100%
    );
  filter: blur(5px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.busy-area-overlay.is-visible .busy-area-glow {
  opacity: 1;
}

.busy-area-badge {
  position: absolute;
  z-index: 4;
  top: 31px;
  left: 43px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffc42d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    0 1px 4px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 180ms ease;
}

.busy-area-overlay.is-visible .busy-area-badge {
  opacity: 1;
}

.busy-area-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: end;
  justify-content: center;
  gap: 2px;
  padding: 9px 8px 8px;
  border: 3px solid #ffc42d;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.18);
}

.busy-area-icon span {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: #ffc42d;
}

.busy-area-icon span:nth-child(1) {
  height: 6px;
}

.busy-area-icon span:nth-child(2) {
  height: 9px;
}

.busy-area-icon span:nth-child(3) {
  height: 12px;
}

.busy-area-icon span:nth-child(4) {
  height: 8px;
}

.route-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
  opacity: 1;
  transition: opacity 220ms ease;
}

.has-map .route-overlay {
  visibility: visible;
}

.page-pickup .route-overlay {
  opacity: 0;
}

.user-location-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  visibility: hidden;
}

.has-map.page-pickup .user-location-overlay {
  visibility: visible;
}

.selected-pickup-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  visibility: hidden;
}

.has-map.page-pickup .selected-pickup-overlay {
  visibility: visible;
}

.pickup-spots-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  visibility: hidden;
}

.has-map.page-pickup .pickup-spots-overlay {
  visibility: visible;
}

.has-map.page-pickup.is-pickup-zoomed-out:not(.is-pickup-context-visible)
  .pickup-spots-overlay {
  visibility: hidden;
}

.route-hints-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  visibility: hidden;
}

.has-map.page-pickup .route-hints-overlay.is-visible {
  visibility: visible;
}

.route-hint-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-100px, -100px);
  opacity: 0;
  transition: opacity 160ms ease;
}

.route-hints-overlay.is-visible .route-hint-marker {
  opacity: 1;
}

.route-hint-pill {
  height: 22px;
  gap: 4px;
  padding: 3px 8px 3px 8px;
  border-radius: 999px;
  color: #000;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.route-hint-pill img {
  width: 16px;
  height: 16px;
}

.route-hint-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.route-hint-icon img {
  width: 16px;
  height: 16px;
}

.route-hint-walk-time {
  height: 26px;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #fff;
  background: #286fef;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(40, 111, 239, 0.28);
  white-space: nowrap;
}

.route-hint-walk-time img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.pickup-spot-marker {
  position: absolute;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  transform: translate(-100px, -100px);
  border: 2px solid #000;
  border-radius: 999px;
  color: #000;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

.pickup-spot-marker.is-selected {
  width: 30px;
  height: 30px;
  color: #fff;
  background: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
}

.is-pickup-zoomed-out .pickup-spot-marker,
.is-pickup-zoomed-out .pickup-spot-marker.is-selected {
  width: 8px;
  height: 8px;
  border: 2px solid #000;
  color: transparent;
  background: #fff;
  font-size: 0;
  box-shadow: none;
}

.selected-pickup-marker {
  position: absolute;
  width: 178px;
  height: 61px;
  transform: translate(-100px, -100px);
}

.is-pickup-zoomed-out .selected-pickup-marker {
  width: 34px;
  height: 56px;
}

.selected-pickup-label {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  height: 31px;
  max-width: 178px;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
  white-space: nowrap;
}

.is-pickup-zoomed-out .selected-pickup-label {
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  max-width: none;
  transform: none;
  padding: 0;
  border-radius: 999px;
  background: #000;
  color: transparent;
  font-size: 0;
}

.is-pickup-zoomed-out .selected-pickup-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
}

.selected-pickup-line {
  position: absolute;
  top: 29px;
  left: 50%;
  width: 2px;
  height: 19px;
  transform: translateX(-50%);
  background: #000;
}

.is-pickup-zoomed-out .selected-pickup-line {
  top: 32px;
  width: 2px;
  height: 24px;
}

.selected-pickup-dot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 19px;
  height: 19px;
  transform: translateX(-50%);
  border: 4px solid #000;
  border-radius: 999px;
  background: #fff;
}

.is-pickup-zoomed-out .selected-pickup-dot {
  display: none;
}

.user-location-marker {
  position: absolute;
  width: 35px;
  height: 24px;
  transform: translate(-100px, -100px);
}

.user-direction {
  position: absolute;
  left: 9.5px;
  top: 4px;
  width: 28px;
  height: 20px;
  transform: rotate(var(--user-heading, 0deg));
  transform-origin: 0 10px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  background: linear-gradient(
    90deg,
    rgba(0, 108, 255, 0.36) 0%,
    rgba(0, 108, 255, 0.14) 54%,
    rgba(0, 108, 255, 0) 100%
  );
}

.user-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 19px;
  height: 19px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #0a7cff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.map-point {
  position: absolute;
  display: grid;
  grid-template-columns: 16px 186px;
  align-items: center;
  gap: 8px;
  transform: translate(-8px, -8px);
}

.point-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.point-icon-circle {
  border-radius: 999px;
  background: #ffffff;
  border: 5px solid #000;
}

.point-icon-square {
  border: 5px solid #000;
  border-radius: 0px;
  background: #fff;
}

.point-label {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 186px;
  height: 36px;
  overflow: hidden;
  padding-left: 12px;
  color: #000;
  background: #fff;
}

.point-label-destination {
  padding-left: 0;
}

.eta-block {
  display: flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  background: #000;
  white-space: nowrap;
}

.eta-number {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.eta-unit {
  font-size: 8px;
  font-weight: 300;
  line-height: 1;
}

.point-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
}

.point-title {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.point-address {
  overflow: hidden;
  color: #4b5560;
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: -webkit-fill-available;
}

.point-chevron {
  display: grid;
  width: 28px;
  height: 36px;
  flex: 0 0 28px;
  place-items: center;
  color: #000;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

h1,
h2,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.phone-prototype {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #000;
  pointer-events: none;
}

.map-scrim {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 308px;
  background: transparent;
  pointer-events: none;
}

.back-button {
  position: absolute;
  top: 55px;
  left: 8px;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #000;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  pointer-events: auto;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-button img {
  display: block;
  width: 16.6px;
  height: 15px;
  object-fit: contain;
}

/* Stage 1 ride selection only — no map back control */
body:not(.page-pickup):not(.page-wait-match):not(.page-wait-arrive):not(.page-find-driver)
  .back-button {
  display: none;
}

.ride-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: var(--sheet-height, 514px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 28px;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  transition:
    height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height;
}

.ride-sheet.is-dragging {
  transition: none;
}

.sheet-expanded .back-button {
  opacity: 0;
  transform: translateY(-12px) scale(0.92);
  pointer-events: none;
}

.sheet-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.sheet-handle::before {
  content: "";
  width: 55px;
  height: 4px;
  border-radius: 999px;
  background: #c8c8c8;
}

.ride-sheet.is-dragging .sheet-handle {
  cursor: grabbing;
}

.event-alert {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  gap: 7px;
  margin: 0 16px 12px;
  color: #f02d10;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.alert-icon {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #f02d10;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ride-list {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  gap: 0px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 16px 150px;
  border-top: 3px solid #f4f4f4;
  -webkit-overflow-scrolling: touch;
}

.phone-prototype:not(.sheet-expanded) .ride-list {
  overflow-y: hidden;
}

.ride-list-item {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  width: 100%;
  height: 83px;
  min-height: 83px;
  max-height: 83px;
  margin: 0;
  padding: 0 16px 0 0;
  border: 3px solid transparent;
  border-radius: 16px;
  color: #000;
  background: transparent;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
}

.ride-list-item.is-selected {
  border-color: #000;
}

.sheet-collapsed .ride-list-item:not(.is-selected) {
  display: none;
}

.ride-list-item:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.24);
  outline-offset: 2px;
}

.ride-visual {
  display: block;
  width: 67px;
  height: 51px;
  object-fit: contain;
  object-position: center;
}

.ride-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ride-title {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #000;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.rider-count {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.ride-list-item.is-selected .rider-count {
  display: inline-flex;
}

.rider-count img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.ride-meta {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
}

.ride-price {
  display: grid;
  justify-items: end;
  gap: 4px;
  padding-left: 12px;
  white-space: nowrap;
}

.discounted-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.current-price {
  color: #000;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.1;
}

.old-price {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-decoration: line-through;
}

.promo-tag {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.checkout-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 100%;
  padding: 8px 16px 39px;
  border-top: 1px solid #d5d9de;
  background: #fff;
  pointer-events: auto;
}

.pickup-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: none;
  width: 100%;
  height: var(--pickup-sheet-height, 530px);
  padding-bottom: 24px;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  overflow: hidden;
  transition: height 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pickup-sheet.is-dragging {
  transition: none;
}

.page-pickup .ride-sheet,
.page-pickup .checkout-bar {
  display: none;
}

.page-pickup .pickup-sheet {
  display: block;
}

.pickup-sheet.is-collapsed .walk-options h3,
.pickup-sheet.is-collapsed .pickup-choice:not(.is-selected) {
  display: none;
}

.pickup-sheet.is-collapsed .pickup-sheet-header {
  gap: 6px;
  padding: 40px 16px 16px;
}

.pickup-sheet.is-collapsed .pickup-sheet-content {
  gap: 0;
  padding: 10px 24px 0;
}

.pickup-sheet.is-collapsed .walk-options {
  gap: 0;
}

.pickup-sheet.is-collapsed .pickup-location-card,
.pickup-sheet.is-collapsed .walk-option {
  height: 82px;
  border-color: #000;
  border-radius: 10px;
}

.pickup-sheet.is-collapsed .pickup-location-card {
  padding-right: 16px;
}

.pickup-sheet.is-collapsed .confirm-pickup-button {
  display: block;
  bottom: 24px;
  width: calc(100% - 48px);
  height: 56px;
}

.pickup-sheet-header {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 44px 16px 12px;
  text-align: center;
}

.pickup-sheet-header h2 {
  margin: 0;
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
}

.pickup-sheet-header p {
  margin: 0;
  color: #707076;
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
}

.pickup-sheet-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px;
}

.pickup-location-card {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  width: 100%;
  height: 74px;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border: 2px solid #f3f3f3;
  border-radius: 8px;
  color: #000;
  background: #fff;
  text-align: left;
}

.pickup-choice.is-selected {
  border-color: #000;
}

.pickup-location-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}

.pickup-location-title {
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 29px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pickup-location-address {
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pickup-search-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 999px;
  background: #f5f5f5;
}

.pickup-search-icon img {
  width: 26px;
  height: 26px;
}

.walk-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.walk-options h3 {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
}

.walk-option {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  width: 100%;
  height: 82px;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border: 2px solid #f3f3f3;
  border-radius: 14px;
  color: #000;
  background: #fff;
  text-align: left;
}

.walk-step {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 999px;
  color: #000;
  background: #f3f3f3;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.walk-option-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
}

.walk-option-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.walk-option-title {
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.walk-option-price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.walk-option-price img {
  width: 13px;
  height: 15px;
}

.walk-option-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
}

.walk-option-meta img {
  width: 16px;
  height: 16px;
}

.confirm-pickup-button {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: calc(100% - 50px);
  height: 56px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #000;
  font-size: 18px;
  font-weight: 500;
}

.payment-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.visa-badge {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-right: 12px;
  border-radius: 6px;
  color: #fff;
  background: #1652f0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.payment-row span:nth-child(2) {
  font-size: 18px;
  font-weight: 400;
}

.chevron {
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 12px;
  margin-top: 12px;
}

.choose-button,
.schedule-button {
  height: 56px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.choose-button {
  color: #fff;
  background: #000;
  font-size: 18px;
  font-weight: 500;
}

.schedule-button {
  display: grid;
  place-items: center;
  background: #eeeeee;
}

.schedule-button img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.token-panel button {
  min-height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--ink);
  background: var(--button-muted);
  cursor: pointer;
}

.token-panel button {
  color: #fff;
  border-color: var(--button);
  background: var(--button);
}

.token-panel button:focus-visible,
.token-panel input:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.22);
  outline-offset: 3px;
}

.token-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.22);
}

.token-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.token-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.token-panel input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

@media (max-width: 560px) {
  :root {
    --device-width: 100vw;
    --device-height: 100dvh;
    --device-radius: 0px;
  }

  .prototype-shell {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    padding: 0;
    overflow: hidden;
    background: #fff;
  }

  .device-frame {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .phone-prototype {
    overflow: visible;
  }

  .token-panel form {
    grid-template-columns: 1fr;
  }
}
