:root {
  color-scheme: light;
  --red: #e50914;
  --red-dark: #b40710;
  --ink: #15171c;
  --muted: #667085;
  --line: #e6e8ee;
  --panel: #0d0f14;
  --panel-2: #171a22;
  --white: #ffffff;
  --bg: #e9edf3;
  --green: #14a44d;
  --amber: #d97706;
  --shadow: 0 18px 46px rgba(16, 24, 40, 0.22);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.25;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top left, rgba(229, 9, 20, 0.16), transparent 28%),
    linear-gradient(135deg, #f5f7fb 0%, #dfe5ee 100%);
  color: var(--ink);
  display: grid;
  place-items: center;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select {
  font-size: 16px;
  line-height: 1.2;
}

.phone {
  width: min(100vw, 432px);
  height: min(100vh, 920px);
  height: min(100dvh, 920px);
  min-height: min(680px, 100dvh);
  background: #f4f6f9;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: 24px;
}

@media (max-width: 520px) {
  body {
    display: block;
    background: #f4f6f9;
  }

  .phone {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    box-shadow: none;
    border-radius: 0;
  }
}

.topbar {
  height: 74px;
  padding: 7px 0 9px 12px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background: transparent;
  box-shadow: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9;
  isolation: isolate;
  pointer-events: none;
}

.topbar>* {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.topbar::before {
  position: absolute;
  left: 0;
  bottom: -15px;
  z-index: 1;
  width: 176px;
  height: 28px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 28' preserveAspectRatio='none'%3E%3Cpath d='M0 3 L40 22 L176 22 L40 25 Z' fill='%23e50914'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 1px rgba(229, 9, 20, 0.12));
  pointer-events: none;
}

.profile-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #05070a;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.16);
}

.profile-btn.logged {
  background: #fff;
  color: #05070a;
  border: 1px solid rgba(229, 9, 20, 0.22);
}

.profile-btn i {
  width: 26px;
  height: 26px;
}

.brandline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 6px;
  padding-left: 2px;
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.72));
}

.speed-mark {
  width: 44px;
  height: 20px;
  flex: 0 0 44px;
  background: url("assets/logo.png") center / contain no-repeat;
  border-radius: 0;
  opacity: 1;
}

.brandline strong {
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  margin: -2px 0 -8px -2px;
}

.service-row::-webkit-scrollbar {
  display: none;
}

.service {
  flex: 0 0 clamp(112px, 31vw, 126px);
  min-height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef0f4;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 6px 7px;
  box-shadow: 0 5px 14px rgba(16, 24, 40, 0.12);
  color: #15171c;
  scroll-snap-align: start;
}

.profile-btn:active,
.service:active {
  transform: none;
  filter: none;
}

.service>span:last-child {
  min-width: 0;
}

.service.active {
  background: #fff;
  color: #05070a;
  border-color: var(--red);
  box-shadow: 0 5px 14px rgba(16, 24, 40, 0.12);
}

.service-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f0f2f5;
  color: #15171c;
}

.service.active .service-icon {
  background: var(--red);
  color: #fff;
}

.service-icon i {
  width: 20px;
  height: 20px;
}

.service-title {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-meta {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.1;
  opacity: 0.76;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(27deg, transparent 0 47%, rgba(255, 255, 255, 0.9) 48% 52%, transparent 53%),
    linear-gradient(112deg, transparent 0 45%, rgba(255, 255, 255, 0.9) 46% 50%, transparent 51%),
    linear-gradient(83deg, transparent 0 43%, rgba(255, 255, 255, 0.78) 44% 47%, transparent 48%),
    linear-gradient(154deg, transparent 0 44%, rgba(255, 255, 255, 0.76) 45% 49%, transparent 50%),
    #e9edf2;
}

.map::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(255, 255, 255, 0.86) 26px 30px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.86) 32px 36px);
  opacity: 0.82;
  transform: rotate(-10deg) scale(1.16);
}

.map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 65%, rgba(94, 180, 118, 0.20) 66% 75%, transparent 76%),
    linear-gradient(20deg, rgba(94, 180, 118, 0.22) 0 12%, transparent 13%),
    linear-gradient(250deg, transparent 0 68%, rgba(94, 180, 118, 0.18) 69% 82%, transparent 83%);
  pointer-events: none;
}

.map-label {
  position: absolute;
  z-index: 2;
  color: #707782;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.9;
  transform: rotate(-13deg);
  white-space: nowrap;
}

.label-a {
  left: 28px;
  top: 104px;
}

.label-b {
  right: 34px;
  top: 44px;
}

.label-c {
  left: 190px;
  top: 214px;
  color: #386fd9;
}

.label-d {
  right: 20px;
  top: 252px;
  transform: rotate(-65deg);
}

.label-e {
  left: 36px;
  bottom: 198px;
  color: #2f8f55;
  transform: rotate(0deg);
}

.route-svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-svg path {
  stroke: var(--red);
  stroke-width: 5.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 4px rgba(229, 9, 20, 0.22));
}

.pin {
  position: absolute;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--red);
  box-shadow: 0 8px 18px rgba(229, 9, 20, 0.25);
  display: grid;
  place-items: center;
}

.pin::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
}

.pin-start {
  left: 89px;
  top: 324px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: none;
  border: 4px solid white;
  box-shadow: 0 0 0 18px rgba(229, 9, 20, 0.12), 0 0 0 38px rgba(229, 9, 20, 0.05);
}

.pin-start::after {
  display: none;
}

.pin-end {
  right: 78px;
  top: 120px;
}

.bubble {
  position: absolute;
  z-index: 4;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2b313b;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  max-width: calc(100% - 52px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.bubble i {
  width: 17px;
  height: 17px;
  color: var(--red);
}

.bubble-start {
  left: 24px;
  top: 272px;
}

.bubble-end {
  right: 28px;
  top: 72px;
}

.bubble .chev {
  width: 15px;
  height: 15px;
  color: #111827;
}

.locate {
  position: absolute;
  z-index: 10;
  right: 17px;
  bottom: calc(min(56dvh, 430px) - 58px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: #0d1117;
  display: grid;
  place-items: center;
  border: 0;
  box-shadow:
    0 10px 22px rgba(16, 24, 40, 0.18),
    0 1px 5px rgba(16, 24, 40, 0.08);
  pointer-events: auto;
}

.locate::before {
  display: none;
}

.locate i {
  width: 28px;
  height: 28px;
  stroke-width: 2.7;
  position: relative;
  z-index: 1;
}

.sheet {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at right bottom, rgba(255, 255, 255, 0.018), transparent 30%),
    linear-gradient(180deg, rgba(4, 5, 8, 0.992), #010205 100%);
  color: white;
  border-radius: 28px 28px 0 0;
  padding: 9px 24px calc(12px + env(safe-area-inset-bottom));
  min-height: 0;
  max-height: min(56dvh, 430px);
  overflow-y: auto;
  box-shadow: 0 -16px 32px rgba(16, 24, 40, 0.24);
  overscroll-behavior: contain;
}

.sheet::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  z-index: 0;
  width: 118px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 118 17' preserveAspectRatio='none'%3E%3Cpath d='M0 15.5 L58 5 L118 1 L61 8 Z' fill='%23e50914'/%3E%3Cpath d='M7 16 L65 10 L105 7.6 L64 12 Z' fill='%23e50914' opacity='.58'/%3E%3Cpath d='M19 16.3 L72 14 L95 12.8 L71 15.5 Z' fill='%23e50914' opacity='.32'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.sheet::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 12px;
  z-index: 0;
  width: 118px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 118 17' preserveAspectRatio='none'%3E%3Cpath d='M0 15.5 L58 5 L118 1 L61 8 Z' fill='%23e50914'/%3E%3Cpath d='M7 16 L65 10 L105 7.6 L64 12 Z' fill='%23e50914' opacity='.58'/%3E%3Cpath d='M19 16.3 L72 14 L95 12.8 L71 15.5 Z' fill='%23e50914' opacity='.32'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}

.sheet-inner {
  position: relative;
  z-index: 1;
}

.grab {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  margin: 0 auto 10px;
}

.auth-card,
.panel-card {
  display: grid;
  gap: 8px;
}

.sheet-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet-title i {
  width: 21px;
  height: 21px;
  color: var(--red);
}

.subtle {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.field-row {
  display: grid;
  grid-template-columns: 42px 1fr 22px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.field-row>div:nth-child(2) {
  min-width: 0;
}

.round-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #11151d;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.round-icon.origin-icon {
  border-color: rgba(229, 9, 20, 0.38);
  color: var(--red);
}

.round-icon.destination-icon {
  border-color: rgba(34, 197, 94, 0.35);
  color: #22c55e;
}

.round-icon i {
  width: 20px;
  height: 20px;
}

.line-title {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: white;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-input {
  font-size: 15px;
}

.line-input,
.note-input,
.auth-input {
  width: 100%;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: white;
  outline: none;
  font-weight: 400;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-input::placeholder,
.note-input::placeholder,
.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 400;
}

.field-row .chev {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.note-box {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 11px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.75);
}

.note-box i,
.note-box svg,
.currency-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
}

.note-box i,
.note-box svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.35;
}

.currency-icon {
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.optional {
  font-size: 12px;
  line-height: 1;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.primary {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  margin-top: 4px;
  background: linear-gradient(180deg, #f20b17 0%, #b90009 100%);
  color: white;
  font-size: 17.5px;
  font-weight: 1000;
  font-style: italic;
  box-shadow: 0 12px 24px rgba(185, 0, 9, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.primary i,
.primary svg {
  position: relative;
  z-index: 1;
}

.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ghost {
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 900;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

.danger {
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(229, 9, 20, 0.45);
  color: #fff;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.auth-input-wrap {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  min-width: 0;
}

.recaptcha-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.status {
  min-height: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.cards {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.cards:empty {
  display: none;
}

.trip-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.trip-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.trip-top strong {
  font-size: 14px;
  line-height: 1.15;
}

.badge {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 10px;
  font-weight: 1000;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.badge.green {
  background: rgba(20, 164, 77, 0.2);
  color: #98f3b9;
}

.badge.amber {
  background: rgba(217, 119, 6, 0.22);
  color: #ffd9a0;
}

.badge.red {
  background: rgba(229, 9, 20, 0.2);
  color: #ffadb3;
}

.price {
  font-size: 17px;
  line-height: 1.1;
  font-weight: 1000;
  color: white;
  text-align: right;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.empty {
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  font-size: 13px;
}

details {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

pre {
  max-height: 180px;
  overflow: auto;
  background: #05070a;
  border-radius: 12px;
  padding: 10px;
  color: #d6e9ff;
  font-size: 11px;
  white-space: pre-wrap;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(5, 7, 10, 0.52);
  display: grid;
  align-items: end;
}

.modal-card {
  background:
    radial-gradient(circle at right bottom, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(17, 19, 26, 0.99), #08090d 100%);
  color: white;
  border-radius: 26px 26px 0 0;
  padding: 14px 22px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.32);
  max-height: 82vh;
  overflow: auto;
  overscroll-behavior: contain;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.modal-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: grid;
  place-items: center;
}

.modal-close i {
  width: 22px;
  height: 22px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 12px;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
}

.profile-avatar i {
  width: 26px;
  height: 26px;
}

@media (max-width: 390px) {
  .topbar {
    height: 78px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0 8px 10px;
  }

  .profile-btn {
    width: 42px;
    height: 42px;
  }

  .profile-btn i {
    width: 23px;
    height: 23px;
  }

  .brandline {
    gap: 7px;
    margin-bottom: 6px;
  }

  .speed-mark {
    width: 38px;
    height: 18px;
    flex-basis: 38px;
  }

  .brandline strong {
    font-size: 13px;
  }

  .service-row {
    gap: 6px;
  }

  .service {
    min-height: 40px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 5px;
    padding: 5px 6px;
    border-radius: 8px;
  }

  .service-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }

  .service-icon i {
    width: 18px;
    height: 18px;
  }

  .service-title {
    font-size: 12.5px;
  }

  .service-meta {
    font-size: 10px;
  }

  .map {
    top: 0;
  }

  .sheet {
    border-radius: 24px 24px 0 0;
    padding: 9px 18px calc(8px + env(safe-area-inset-bottom));
    max-height: min(59dvh, 440px);
  }

  .sheet::before,
  .sheet::after {
    top: 11px;
    width: 104px;
    height: 15px;
  }

  .sheet::before {
    left: 15px;
  }

  .sheet::after {
    right: 15px;
  }

  .field-row {
    grid-template-columns: 39px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .round-icon {
    width: 36px;
    height: 36px;
  }

  .line-title {
    font-size: 14px;
  }

  .note-box {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .primary {
    font-size: 17px;
    min-height: 48px;
    padding: 0 22px;
  }

  .locate {
    right: 15px;
    bottom: calc(min(59dvh, 440px) - 52px);
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 340px) {
  .brandline strong {
    font-size: 12px;
  }

  .service {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 5px;
  }

  .service-icon {
    width: 24px;
    height: 24px;
  }

  .service-title {
    font-size: 12px;
  }

  .service-meta {
    font-size: 9.5px;
  }

  .bubble {
    padding: 0 10px;
    gap: 6px;
    font-size: 11px;
  }

  .sheet {
    padding-inline: 15px;
  }

  .sheet::before,
  .sheet::after {
    width: 88px;
    height: 14px;
  }

  .field-row {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    gap: 9px;
  }

  .round-icon {
    width: 34px;
    height: 34px;
  }

  .line-title {
    font-size: 13px;
  }

  .primary {
    font-size: 16px;
    padding: 0 18px;
  }

}

@media (max-height: 760px) {
  .phone {
    min-height: 100dvh;
  }

  .topbar {
    height: 70px;
  }

  .map {
    top: 0;
  }

  .brandline {
    margin-bottom: 5px;
  }

  .service {
    min-height: 38px;
  }

  .sheet {
    max-height: min(61dvh, 398px);
    padding-top: 8px;
  }

  .grab {
    margin-bottom: 8px;
  }

  .field-row {
    padding: 5px 0;
  }

  .note-box {
    min-height: 36px;
  }

  .primary {
    min-height: 46px;
  }

  .locate {
    bottom: calc(min(61dvh, 398px) - 48px);
  }
}

@media (max-height: 660px) {
  .topbar {
    height: 64px;
    padding-block: 6px;
  }

  .map {
    top: 0;
  }

  .profile-btn {
    width: 40px;
    height: 40px;
  }

  .service {
    min-height: 34px;
    padding-block: 4px;
  }

  .service-meta {
    display: none;
  }

  .sheet {
    max-height: 64dvh;
  }

  .line-input,
  .note-input,
  .auth-input {
    min-height: 30px;
  }

  .cards {
    margin-top: 8px;
  }
}

.hidden {
  display: none !important;
}
