:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #637083;
  --paper: #000;
  --panel: rgba(255, 255, 255, 0.94);
  --line: rgba(20, 33, 61, 0.12);
  --green: #16a34a;
  --green-dark: #0d7f3a;
  --blue: #2563eb;
  --red: #ef4444;
  --yellow: #f7b801;
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #000;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.interactive-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 150ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.interactive-button:not(:disabled):hover {
  filter: brightness(1.06);
}

.interactive-button.is-pressing {
  transform: scale(0.96);
  filter: brightness(1.14);
}

.button-pop {
  animation: buttonPop 280ms ease-out;
}

.button-soft {
  animation: none;
}

#loginForm .primary-button.interactive-button.is-pressing,
#googleSignInButton.interactive-button.is-pressing {
  transform: none;
  filter: brightness(1.025);
  box-shadow:
    0 10px 24px rgba(13, 127, 58, 0.18),
    inset 0 0 0 999px rgba(255, 255, 255, 0.06);
}

.anim-jelly {
  animation: jellyEffect 0.7s ease;
}

.button-ripple {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  transform: scale(0);
  animation: buttonRipple 520ms ease-out forwards;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-shell {
  width: min(100%, 460px);
  height: 100dvh;
  min-height: 100dvh;
  margin: 0 auto;
  background: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.06);
}

@media (orientation: landscape) and (max-height: 540px) and (hover: none) and (pointer: coarse) {
  html,
  body {
    width: 100%;
    height: 100%;
  }

  .app-shell {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-width: none;
  }

  .screen {
    height: 100%;
    min-height: 100%;
  }
}

.screen {
  height: 100dvh;
  min-height: 100dvh;
  padding: 18px;
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-screen {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: clamp(12px, 2.5dvh, 22px);
  background: #000 url("./assets/HawaiiThemeBG.png") center / cover no-repeat;
}

.auth-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: clamp(10px, 1.7dvh, 16px);
  width: min(100%, 380px);
  height: min(100%, 852px);
  max-height: calc(100dvh - 28px);
  overflow: hidden;
  padding: clamp(18px, 3dvh, 28px);
  padding-bottom: clamp(54px, 8dvh, 72px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
}

.profile-strip,
.top-bar,
.map-header,
.mode-panel,
.location-wait-message,
.pin-card,
.nav-panel,
.modal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.aloha-exclusive-badge {
  justify-self: center;
  align-self: center;
  width: max-content;
  padding: 5px 12px;
  border: 1px solid rgba(217, 108, 22, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #12356a;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.auth-hero {
  overflow: hidden;
  justify-self: center;
  width: min(104%, 386px);
  aspect-ratio: 1280 / 832;
  height: auto;
  min-height: auto;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auth-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-brand {
  letter-spacing: 0;
  text-transform: none;
}

.map-brand-super {
  color: #14213d;
}

.map-brand-parker {
  color: #d96c16;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 11vw, 3.15rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-size: 1.28rem;
  line-height: 1.1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: clamp(18px, 3dvh, 28px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.auth-card:has(#loginForm:not(.is-hidden)) {
  display: flex;
  flex-direction: column;
  padding-top: clamp(30px, 5dvh, 48px);
  padding-right: clamp(16px, 2.7dvh, 24px);
  padding-bottom: clamp(18px, 3dvh, 28px);
  padding-left: clamp(16px, 2.7dvh, 24px);
}

.auth-card:has(#loginForm:not(.is-hidden)) .auth-hero {
  width: min(100%, 372px);
}

.auth-card:has(#loginForm:not(.is-hidden)) .auth-hero img {
  transform: translateY(-14px) scale(1.15);
  transform-origin: center top;
}

.auth-card:has(#loginForm:not(.is-hidden)) .aloha-exclusive-badge {
  transform: translateY(-12px);
}

.auth-card:has(#loginForm:not(.is-hidden)) .auth-tabs {
  margin-top: auto;
}

.auth-card:has(#loginForm:not(.is-hidden)) .auth-tabs,
.auth-card:has(#loginForm:not(.is-hidden)) #loginForm > * {
  transform: translateY(clamp(18px, 3.4dvh, 32px));
}

.tab {
  min-height: clamp(34px, 5dvh, 42px);
  color: #5f6877;
  background: transparent;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: none;
}

.tab.interactive-button:not(:disabled):hover,
.primary-button.interactive-button:not(:disabled):hover,
.secondary-button.interactive-button:not(:disabled):hover,
.go-button.interactive-button:not(:disabled):hover {
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.tab.is-active {
  color: white;
  background: #143a6f;
  box-shadow:
    0 12px 22px rgba(20, 58, 111, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.auth-form {
  display: grid;
  gap: clamp(9px, 1.45dvh, 14px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: clamp(40px, 6.2dvh, 48px);
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 0 13px;
}

textarea {
  min-height: 72px;
  padding: 12px 13px;
  resize: vertical;
  font: inherit;
  line-height: 1.35;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.password-row {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 19px;
  min-height: 19px;
  accent-color: var(--green);
}

.primary-button,
.secondary-button,
.google-signin-button,
.go-button,
.action-button,
.text-button,
.restore-nav,
.exit-route {
  min-height: clamp(40px, 6.2dvh, 48px);
  border-radius: var(--radius);
  font-weight: 900;
}

.primary-button,
.go-button {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.24);
}

.primary-button:active,
.go-button:active,
.action-button:active {
  transform: translateY(1px);
}

.secondary-button {
  background: rgba(20, 33, 61, 0.08);
  color: var(--ink);
}

.auth-card label {
  color: #12356a;
}

.auth-card input {
  min-height: clamp(42px, 6.2dvh, 52px);
  border-color: rgba(20, 33, 61, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0 15px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.auth-card .password-row {
  grid-template-columns: 1fr 46px;
}

.auth-card .login-input-row,
.auth-card .login-password-row {
  position: relative;
  display: block;
}

.auth-card .login-input-row input,
.auth-card .login-password-row input {
  padding-left: 46px;
}

.auth-card .login-password-row input {
  padding-right: 48px;
}

.auth-card .login-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #12356a;
  pointer-events: none;
  transform: translateY(-50%);
}

.auth-card .login-field-icon svg {
  width: 20px;
  height: 20px;
}

.auth-card .login-password-row .reveal-password,
.auth-card .signup-password-row .reveal-password {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 34px;
  height: 34px;
  min-height: 34px;
  color: #12356a;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}

.auth-card .login-password-row .reveal-password .eye-open-icon,
.auth-card .signup-password-row .reveal-password .eye-open-icon,
.auth-card .login-password-row .reveal-password.is-visible .eye-closed-icon,
.auth-card .signup-password-row .reveal-password.is-visible .eye-closed-icon {
  display: none;
}

.auth-card .login-password-row .reveal-password.is-visible .eye-open-icon,
.auth-card .signup-password-row .reveal-password.is-visible .eye-open-icon {
  display: block;
}

.auth-card .primary-button {
  background: #143a6f;
  box-shadow: 0 14px 28px rgba(20, 58, 111, 0.24);
}

.auth-card .auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #5f6877;
  font-size: 0.76rem;
  font-weight: 800;
}

.auth-card .auth-divider span {
  height: 1px;
  background: rgba(20, 33, 61, 0.24);
}

.auth-card .auth-divider strong {
  font: inherit;
}

.auth-card .secondary-button {
  background: rgba(20, 58, 111, 0.08);
}

.auth-card .google-signin-button {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  background: #fff;
  color: #14213d;
  border: 1px solid rgba(20, 33, 61, 0.16);
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.1);
}

.auth-card .google-signin-button svg {
  width: 22px;
  height: 22px;
}

.auth-card .admin-button {
  justify-self: center;
  min-width: 86px;
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid rgba(20, 33, 61, 0.16);
  background: rgba(20, 33, 61, 0.06);
  color: #14213d;
  font-size: 0.78rem;
  box-shadow: none;
}

.signup-helper {
  margin: 0;
  color: #637083;
  font-size: clamp(0.86rem, 2.6dvh, 1rem);
  font-weight: 750;
  line-height: 1.35;
}

.signup-progress-card {
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 22px rgba(20, 33, 61, 0.08);
}

.signup-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #12356a;
  font-size: 0.86rem;
  font-weight: 900;
}

#signupProgressPercentage {
  color: #2563eb;
  white-space: nowrap;
}

.signup-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(20, 33, 61, 0.1);
}

.signup-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #143a6f, #2563eb);
  transition: width 180ms ease;
}

.auth-card:has(#signupForm:not(.is-hidden)) {
  gap: clamp(10px, 1.6dvh, 14px);
  padding: clamp(18px, 3dvh, 28px);
  padding-top: clamp(22px, 3.5dvh, 32px);
  background: rgba(255, 255, 255, 0.91);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.auth-card:has(#signupForm:not(.is-hidden)) .auth-hero {
  display: block;
  width: min(54%, 190px);
  height: clamp(86px, 14dvh, 116px);
  min-height: 0;
}

.auth-card:has(#signupForm:not(.is-hidden)) .auth-tabs {
  gap: 8px;
  margin-top: 0;
}

.auth-card:has(#signupForm:not(.is-hidden)) .tab {
  min-height: clamp(34px, 5dvh, 42px);
}

.auth-card:has(#signupForm:not(.is-hidden)) .auth-form {
  gap: clamp(8px, 1.15dvh, 11px);
}

.auth-card:has(#signupForm:not(.is-hidden)) label {
  gap: 4px;
  font-size: 0.8rem;
}

.auth-card:has(#signupForm:not(.is-hidden)) input {
  display: block;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
}

.auth-card:has(#signupForm:not(.is-hidden)) .signup-input-row,
.auth-card:has(#signupForm:not(.is-hidden)) .signup-password-row {
  position: relative;
  display: block;
}

.auth-card:has(#signupForm:not(.is-hidden)) .signup-input-row input,
.auth-card:has(#signupForm:not(.is-hidden)) .signup-password-row input {
  padding-left: 46px;
}

.auth-card:has(#signupForm:not(.is-hidden)) .signup-password-row input {
  padding-right: 48px;
}

.auth-card:has(#signupForm:not(.is-hidden)) .password-row {
  width: 100%;
  height: 44px;
  min-height: 0;
  max-height: 44px;
}

.auth-card:has(#signupForm:not(.is-hidden)) .password-row .icon-button {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 34px;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  border-radius: 12px;
  color: #12356a;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}

.auth-card:has(#signupForm:not(.is-hidden)) .check-row:has(.show-all-passwords) {
  display: none;
}

.auth-card:has(#signupForm:not(.is-hidden)) .primary-button {
  min-height: clamp(40px, 6.2dvh, 48px);
  margin-top: clamp(4px, 1dvh, 8px);
}

.auth-card:has(#signupForm:not(.is-hidden)) .message {
  min-height: 0;
  margin-bottom: 0;
  font-size: 0.82rem;
}

.text-button {
  min-width: 72px;
  background: transparent;
  color: var(--blue);
}

.message {
  min-height: 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.top-bar,
.map-header {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  transition: padding-bottom 220ms ease;
}

.map-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-profile-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e5e7eb;
  color: var(--ink);
  overflow: hidden;
}

.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #dcdad4;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-profile-avatar .profile-avatar {
  display: none;
}

.map-profile-avatar.has-image .profile-avatar {
  display: block;
}

.map-profile-avatar.has-image .map-profile-fallback {
  display: none;
}

.map-profile-fallback svg {
  width: 24px;
  height: 24px;
}

.map-header.hide-refresh-action #refreshLocationButton {
  display: none;
}

.map-header.hide-refresh-action .map-profile-avatar {
  order: 3;
}

.map-header.has-address-search {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-rows: auto;
}

.map-header.has-address-search.is-search-expanded {
  padding-bottom: 66px;
}

.map-header.has-address-search .map-profile-avatar {
  order: 3;
}

.address-search {
  position: static;
  order: -2;
  min-width: 0;
}

.map-header.has-address-search .address-search {
  grid-column: auto;
  grid-row: auto;
}

.map-header.has-address-search > div:not(.map-header-actions) {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.map-header.has-address-search .map-header-actions {
  grid-column: 3;
  grid-row: 1;
}

.address-search input {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: none;
  box-sizing: border-box;
  width: auto;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: var(--radius);
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
}

.address-search-lock-message {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: none;
  box-sizing: border-box;
  height: 48px;
  margin: 0;
  padding: 15px 14px;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.address-search.is-expanded input {
  display: block;
  animation: addressSearchInputIn 220ms ease-out 160ms both;
}

.address-search.is-locked-message .address-search-lock-message {
  display: block;
  animation: addressSearchInputIn 220ms ease-out 160ms both;
}

.address-search-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: #15233a;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.12);
}

.address-search-toggle > svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.address-search input:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(37, 99, 235, 0.16),
    0 12px 24px rgba(20, 33, 61, 0.14);
}

.address-search input:disabled {
  color: #7b8493;
  background: rgba(255, 255, 255, 0.74);
  cursor: not-allowed;
}

.address-search-icon {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  color: #15233a;
  pointer-events: none;
}

.address-search-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.address-search.is-unlocked .lock-icon,
.address-search:not(.is-unlocked) .unlock-icon {
  display: none;
}

.address-search.is-unlocked .address-search-icon {
  color: var(--green-dark);
}

.admin-clear-pins {
  background: rgba(254, 226, 226, 0.96);
  color: #b91c1c;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.16);
}

.admin-clear-pins.interactive-button:not(:disabled):hover {
  box-shadow:
    inset 0 0 0 2px rgba(185, 28, 28, 0.24),
    0 12px 24px rgba(185, 28, 28, 0.18);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(20, 33, 61, 0.07);
  color: var(--ink);
}

.icon-button.interactive-button:not(:disabled):hover {
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.glass {
  background: rgba(255, 255, 255, 0.86);
}

.app-shell.profile-swipe-transition {
  background: #000 url("./assets/HawaiiThemeBG.png") center / cover no-repeat;
}

.menu-screen {
  display: grid;
  place-items: center;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(12px, 2.5dvh, 22px);
  background: #000 url("./assets/HawaiiThemeBG.png") center / cover no-repeat;
}

.menu-card {
  display: grid;
  gap: clamp(10px, 1.6dvh, 14px);
  width: min(100%, 380px);
  min-height: min(678px, calc(100dvh - 28px));
  max-height: calc(100dvh - 28px);
  overflow: hidden;
  padding: clamp(16px, 2.7dvh, 24px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
}

#menuView .menu-card {
  position: relative;
  align-content: start;
  grid-template-rows: auto 1fr;
  height: min(594px, calc(100dvh - 28px));
  min-height: 0;
  background: rgba(255, 255, 255, 0.48);
}

#menuView .aloha-exclusive-badge {
  display: none;
}

.profile-card {
  margin-top: 1px;
  min-height: auto;
  align-content: start;
  gap: 14px;
}

#profileView > .profile-card {
  background: rgba(255, 255, 255, 0.48);
}

#userFolderView > .user-folder-card {
  background: rgba(255, 255, 255, 0.48);
}

#userFolderView .folder-tabs {
  background: transparent;
  box-shadow: none;
}

#userFolderView .folder-tab {
  min-height: 92px;
  padding-top: 8px;
}

#userFolderView .folder-lid,
#userFolderView .folder-body {
  width: min(100%, 88px);
  box-shadow: none;
}

#userFolderView .folder-lid {
  top: 22px;
  height: 28px;
}

#userFolderView .folder-lid::before {
  top: -8px;
  width: 32px;
  height: 12px;
}

#userFolderView .folder-body {
  min-height: 70px;
  gap: 6px;
  padding: 15px 6px 9px;
}

#userFolderView .folder-body svg {
  width: 25px;
  height: 25px;
}

#userFolderView .folder-body strong {
  font-size: 0.7rem;
}

.menu-screen.login-to-menu-transition .menu-card {
  animation: authToMenuCard 560ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.menu-screen.login-to-menu-transition .menu-logo {
  animation: authToMenuLogo 600ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.menu-screen.login-to-menu-transition .top-bar,
.menu-screen.login-to-menu-transition .profile-strip,
.menu-screen.login-to-menu-transition .action-button {
  animation: authToMenuContent 520ms ease-out both;
}

.menu-screen.login-to-menu-transition .profile-strip {
  animation-delay: 60ms;
}

.menu-screen.login-to-menu-transition .action-button:nth-child(1) {
  animation-delay: 120ms;
}

.menu-screen.login-to-menu-transition .action-button:nth-child(2) {
  animation-delay: 170ms;
}

.menu-screen.login-to-menu-transition .action-button:nth-child(3) {
  animation-delay: 220ms;
}

.menu-logo {
  justify-self: end;
  width: clamp(116px, 34vw, 158px);
}

.menu-logo img {
  display: block;
  width: 100%;
  height: auto;
}

#menuView .menu-logo {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: clamp(100px, 28vw, 128px);
  padding-left: 18px;
}

#menuView .menu-logo img {
  object-fit: contain;
}

.menu-screen .top-bar {
  min-height: 58px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.menu-screen .icon-button {
  width: 34px;
  height: 34px;
}

#menuView .menu-header {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(104px, 0.68fr);
  align-items: start;
  gap: 14px;
}

#menuView .profile-strip {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.profile-strip {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

#menuView .profile-strip {
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.menu-main-content {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 16px;
  min-height: 0;
  padding-top: 10px;
}

#menuView .menu-main-content::before {
  content: "";
  align-self: center;
  justify-self: center;
  width: min(78vw, 296px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: url("./assets/HawaiiThemeBG.png") center / 168% auto no-repeat;
  box-shadow:
    0 12px 26px rgba(20, 33, 61, 0.12),
    inset 0 0 0 1px rgba(20, 33, 61, 0.08);
}

.avatar-button {
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e5e7eb;
  color: var(--ink);
  position: relative;
}

#menuView .avatar-button {
  width: 34px;
  border-radius: 8px;
}

.avatar-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
}

.avatar-button.has-image img {
  display: block;
}

.avatar-button.has-image span {
  display: none;
}

.avatar-button span {
  font-weight: 950;
  font-size: 1.2rem;
}

.profile-icon-fallback {
  display: grid;
  place-items: center;
}

.profile-icon-fallback svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#menuView .profile-icon-fallback svg {
  width: 20px;
  height: 20px;
}

.profile-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#menuView .profile-copy strong,
#menuView .profile-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#menuView .profile-copy strong {
  font-size: 0.82rem;
  line-height: 1.14;
}

.profile-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

#menuView .profile-copy span {
  font-size: 0.72rem;
}

.profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.profile-page-title {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#profileView .profile-page-title {
  align-self: center;
  font-size: clamp(1.35rem, 8vw, 2rem);
}

#profileView #profileHomeButton {
  justify-self: end;
  width: 40px;
  height: 40px;
}

.profile-status-chip {
  display: inline-grid;
  gap: 3px;
  width: fit-content;
  margin-top: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.profile-status-chip span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-status-chip strong {
  color: #143a6f;
  font-size: 0.86rem;
  font-weight: 950;
}

.profile-points-progress {
  display: grid;
  gap: 6px;
  width: min(100%, 190px);
  margin-top: 10px;
}

.profile-points-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-points-progress-header strong {
  color: #143a6f;
  font-size: 0.78rem;
}

.profile-points-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(20, 33, 61, 0.11);
}

.profile-points-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #143a6f;
  transition: width 180ms ease;
}

.profile-avatar-large {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: #e5e7eb;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.profile-avatar-large img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-large.has-image img {
  display: block;
}

.profile-avatar-large.has-image span {
  display: none;
}

.profile-avatar-large .profile-icon-fallback svg {
  width: 42px;
  height: 42px;
}

.profile-avatar-large.profile-picture-click {
  animation: profilePictureClick 0.4s ease;
}

.profile-photo-menu {
  position: absolute;
  left: 108px;
  top: 72px;
  z-index: 4;
  display: grid;
  min-width: 174px;
  padding: 6px;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(20, 33, 61, 0.18);
}

.profile-photo-menu.profile-photo-menu-open {
  animation: profilePhotoMenuOpen 220ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.user-folder-screen .profile-photo-menu {
  left: 18px;
  top: 76px;
}

.profile-photo-menu button {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: left;
}

.profile-photo-menu button:hover {
  background: rgba(20, 33, 61, 0.07);
}

.profile-photo-menu svg {
  width: 19px;
  height: 19px;
  color: #143a6f;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-stat-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.profile-stat-card span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-stat-card strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.profile-stat-wide {
  grid-column: 1 / -1;
}

.profile-feedback-form {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.profile-rating-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.profile-rating {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.profile-rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.profile-rating-stars input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-rating-stars label {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  transition:
    color 160ms ease,
    transform 160ms ease,
    text-shadow 160ms ease;
}

.profile-rating-stars label:hover,
.profile-rating-stars label:hover ~ label,
.profile-rating-stars input:checked ~ label {
  color: #f7b801;
  text-shadow: 0 4px 12px rgba(247, 184, 1, 0.26);
}

.profile-rating-stars label:hover {
  transform: translateY(-1px) scale(1.06);
}

.profile-screen textarea {
  min-height: 178px;
  max-height: 178px;
  resize: none;
}

.profile-feedback-submit {
  min-height: 40px;
}

.profile-feedback-message {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.user-folder-card {
  width: min(100%, 380px);
  height: min(594px, calc(100dvh - 28px));
  min-height: 0;
  align-content: start;
  gap: 4px;
  padding: 48px 22px 22px;
}

.user-folder-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

.user-folder-header .profile-page-title {
  margin: 0;
}

.user-folder-panel {
  display: grid;
  gap: 0;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

.user-folder-screen .profile-hero {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  justify-self: center;
  width: min(100%, 330px);
  gap: 10px;
  padding: 10px;
}

.user-folder-screen .profile-page-title {
  font-size: clamp(1.05rem, 5vw, 1.35rem);
}

.user-folder-profile-copy {
  display: grid;
  align-self: center;
  gap: 2px;
  min-width: 0;
}

.user-folder-profile-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.user-folder-screen #userFolderHomeButton {
  justify-self: end;
  width: 34px;
  height: 34px;
}

.user-folder-screen #userFolderUploadButton {
  width: 64px;
  border-radius: 14px;
}

.user-folder-screen #userFolderUploadButton .profile-icon-fallback svg {
  width: 32px;
  height: 32px;
}

.folder-tabs {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: end;
  justify-content: center;
  min-height: 112px;
  padding: 0 4px 8px;
  overflow: visible;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.folder-tabs::before,
.folder-tabs::after {
  display: none;
  content: "";
  position: sticky;
  z-index: 2;
  width: 22px;
  align-self: stretch;
  flex: 0 0 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.folder-tabs::before {
  left: 0;
  margin-right: -22px;
  background: linear-gradient(90deg, rgba(246, 248, 252, 0.92), rgba(246, 248, 252, 0));
}

.folder-tabs::after {
  right: 0;
  margin-left: -22px;
  background: linear-gradient(90deg, rgba(246, 248, 252, 0), rgba(246, 248, 252, 0.92));
}

.folder-tabs.has-left-fade::before,
.folder-tabs.has-right-fade::after {
  opacity: 1;
}

.folder-tabs::-webkit-scrollbar {
  display: none;
}

.folder-tabs.is-dragging {
  cursor: grabbing;
}

.folder-tab {
  position: relative;
  display: grid;
  place-items: end center;
  flex: 0 0 calc((100% - 20px) / 3);
  min-height: 100px;
  padding: 10px 4px 0;
  overflow: visible;
  color: #14213d;
  background: transparent;
  touch-action: manipulation;
  translate: var(--folder-drag-x, 0) 0;
  transition:
    opacity 240ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 240ms cubic-bezier(0.19, 1, 0.22, 1),
    translate 180ms cubic-bezier(0.19, 1, 0.22, 1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.folder-tab.is-dial-hidden {
  display: none;
}

.folder-tab.is-dial-previous {
  order: 1;
}

.folder-tab.is-dial-active {
  order: 2;
}

.folder-tab.is-dial-next {
  order: 3;
}

.folder-tab:disabled {
  cursor: grab;
  pointer-events: none;
}

.folder-tabs.is-dragging .folder-tab {
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.folder-tabs.is-rotating-left .folder-tab {
  animation: menuDialSwipeLeft 260ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.folder-tabs.is-rotating-right .folder-tab {
  animation: menuDialSwipeRight 260ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.folder-lid,
.folder-body {
  width: min(100%, 98px);
  border: 1px solid rgba(20, 33, 61, 0.14);
  background: #fff4bf;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.1);
}

.folder-lid {
  position: absolute;
  top: 16px;
  height: 32px;
  border-radius: 8px 8px 5px 5px;
  transform-origin: bottom center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.folder-lid::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -10px;
  width: 36px;
  height: 14px;
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff4bf;
}

.folder-body {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  min-height: 78px;
  padding: 17px 6px 10px;
  border-radius: 8px;
}

.folder-body svg {
  width: 28px;
  height: 28px;
  color: #143a6f;
}

.folder-body strong {
  font-size: 0.74rem;
  line-height: 1.05;
  text-align: center;
}

.folder-tab.is-active {
  animation: folderSelectBounce 360ms ease-out;
}

.folder-tab.is-active .folder-lid,
.folder-tab.is-pressing .folder-lid {
  animation: folderLidOpenClose 360ms ease-out;
}

.folder-content {
  position: relative;
  box-sizing: border-box;
  height: 285px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  margin-top: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-radius: 7px var(--radius) var(--radius) var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.08);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  scrollbar-width: none;
}

.folder-content.is-drag-scrolling,
.user-folder-feedback-scroll.is-drag-scrolling {
  cursor: grabbing;
}

.folder-content::-webkit-scrollbar {
  display: none;
}

.folder-content:has(.user-folder-feedback-form:not(.is-hidden)) {
  padding: 12px;
}

.folder-content.anim-bounce-open {
  animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.folder-content.anim-bounce-close {
  animation: bounceOut 0.4s ease forwards;
}

.folder-content::before {
  content: none;
}

.folder-content h3 {
  position: relative;
  margin: 0 0 10px;
  color: #14213d;
  font-size: 1rem;
  line-height: 1.15;
}

.folder-content p {
  position: relative;
  max-height: none;
  overflow: visible;
  margin: 0;
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: justify;
  white-space: pre-line;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.user-folder-feedback-form {
  gap: 6px;
  position: relative;
  min-width: 0;
  overflow: visible;
  padding: 0;
}

.user-folder-feedback-scroll {
  max-height: 100%;
}

.folder-content:has(.user-folder-feedback-form:not(.is-hidden)) .user-folder-feedback-scroll {
  box-sizing: border-box;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  scrollbar-width: none;
}

.folder-content:has(.user-folder-feedback-form:not(.is-hidden)) .user-folder-feedback-scroll::-webkit-scrollbar {
  display: none;
}

.feedback-question {
  display: grid;
  gap: 6px;
  margin: 0;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.folder-content .feedback-question-text {
  position: static;
  max-height: none;
  overflow: visible;
  margin: 0;
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  white-space: pre-line;
}

.feedback-question label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.feedback-question input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--blue);
}

.user-folder-feedback-form .profile-rating {
  padding: 10px 12px;
}

.user-folder-feedback-form textarea {
  min-height: 72px;
  max-height: 96px;
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  resize: none;
}

.user-folder-comment-form label {
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.user-folder-comment-form {
  margin-top: 12px;
}

.user-folder-feedback-form .profile-feedback-submit {
  min-height: 36px;
  margin-top: 4px;
}

.app-shell.profile-swipe-transition .menu-screen {
  background: transparent;
}

#menuView.profile-slide-out,
#profileView.profile-slide-in,
#profileView.profile-slide-back-out,
#userFolderView.profile-slide-in,
#userFolderView.profile-slide-back-out,
#menuView.menu-slide-back-in {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 8;
  will-change: transform;
}

#menuView.profile-slide-out {
  animation: menuSlideOutLeft 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#profileView.profile-slide-in,
#userFolderView.profile-slide-in {
  z-index: 9;
  animation: profileSlideInRight 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#profileView.profile-slide-back-out,
#userFolderView.profile-slide-back-out {
  animation: profileSlideOutRight 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#menuView.menu-slide-back-in {
  z-index: 9;
  animation: menuSlideInLeft 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 102px);
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-inline: 0;
  padding: 16px 12px 14px;
  overflow: visible;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.action-button {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 9px;
  width: 102px;
  aspect-ratio: 1;
  height: 102px;
  min-height: 0;
  padding: 13px 8px 16px;
  overflow: hidden;
  color: var(--ink);
  text-align: center;
  font-size: clamp(0.62rem, 2.45vw, 0.74rem);
  font-weight: 900;
  line-height: 1.1;
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.12);
  animation: none;
  opacity: 1;
  transform: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition:
    opacity 240ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 240ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 240ms cubic-bezier(0.19, 1, 0.22, 1),
    translate 180ms cubic-bezier(0.19, 1, 0.22, 1);
}

.action-button span {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.action-button:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.action-grid.is-dragging .action-button {
  transition:
    opacity 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.action-button.is-carousel-active {
  opacity: 1;
  box-shadow: 0 17px 32px rgba(20, 58, 111, 0.28);
  transform: none;
}

.action-grid.is-rotating-left .action-button {
  animation: menuDialSwipeLeft 260ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.action-grid.is-rotating-right .action-button {
  animation: menuDialSwipeRight 260ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.action-button-primary {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 24px rgba(20, 58, 111, 0.24);
}

.action-button-muted {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 24px rgba(31, 41, 55, 0.18);
}

.action-button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
}

.action-button.interactive-button:not(:disabled):hover {
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.action-button.button-pop {
  animation: none;
}

.action-button.anim-jelly {
  animation: menuActionPress 520ms ease-out;
}

#mapHomeButton.a-18,
#signOutButton.a-18,
#profileHomeButton.a-18,
#profilePageButton.a-18,
#profileUploadButton.a-18 {
  animation: anim18 0.4s ease;
}

.action-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 46px;
}

.action-icon svg {
  width: 46px;
  height: 46px;
}

.action-icon svg path,
.action-icon svg rect,
.action-icon svg circle {
  stroke: #15233a;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-screen {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  padding: 0;
  position: relative;
  background: #000;
}

.map-header {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
}

.map-canvas {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  transform-origin: center center;
}

.map-canvas > .gm-style {
  position: relative;
  z-index: 0;
}

.map-canvas.is-vector-map .gm-style div[role="button"]:not([title="Available parking"]):not([title="Your location"]):not([aria-label="Available parking"]):not([aria-label="Your location"]),
.map-canvas.is-vector-map .gm-style a[href*="/maps/place/"],
.map-canvas.is-vector-map .gm-style a[href*="google.com/maps/place"] {
  display: none !important;
}

.map-theme-wash {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.35s ease,
    background 0.35s ease;
}

.map-canvas.is-shaking {
  animation: shake 420ms ease;
}

.map-effects {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.address-countdown {
  position: absolute;
  left: 50%;
  bottom: 94px;
  z-index: 6;
  transform: translateX(-50%);
  pointer-events: none;
}

.address-countdown:has(~ .nav-panel .restore-nav:not(.is-hidden)) {
  bottom: 128px;
}

.dashboard-countdown {
  display: grid;
  justify-items: center;
  width: min(150px, calc(100vw - 48px));
}

.dashboard-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-container {
  position: relative;
  width: 100%;
  margin: 5px auto 0;
  padding: 9px;
  background: #4a4a4a;
  border: 2px solid #000;
  border-radius: 50% 50% 15% 15% / 40% 40% 15% 15%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.dashboard-svg {
  display: block;
  width: 100%;
}

.gauge-bg {
  fill: none;
  stroke: #222;
  stroke-linecap: round;
  stroke-width: 6;
}

.gauge-progress {
  fill: none;
  stroke: #00ffcc;
  stroke-dasharray: 125.6;
  stroke-dashoffset: 125.6;
  stroke-linecap: round;
  stroke-width: 6;
  filter: drop-shadow(0 0 4px #00ffcc);
  transition: stroke-dashoffset 250ms linear, stroke 250ms linear, filter 250ms linear;
}

.dashboard-display {
  position: absolute;
  bottom: 20%;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
}

#addressCountdownSeconds {
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.unit {
  margin-top: 1px;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.map-canvas.warp-out {
  transform: scale(0.35);
  opacity: 0;
  transition:
    transform 320ms cubic-bezier(0.7, 0, 0.84, 0),
    opacity 220ms ease-in;
}

.map-canvas.warp-in {
  transform: scale(1);
  opacity: 1;
  transition:
    transform 460ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms ease-in-out;
}

.mode-panel,
.location-wait-message,
.pin-card,
.nav-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  z-index: 5;
}

.mode-panel {
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.mode-panel strong,
.pin-card strong,
.nav-summary strong {
  display: block;
  line-height: 1.15;
}

.mode-panel span,
.nav-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 3px;
}

.mode-panel .primary-button {
  min-width: 104px;
  padding: 0 16px;
}

.location-wait-message {
  bottom: 14px;
  display: grid;
  gap: 3px;
  padding: 12px;
  text-align: left;
}

.location-wait-message strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.15;
}

.location-wait-message span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.pin-card {
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
  padding: 13px;
}

.falling-pin {
  position: absolute;
  width: 63px;
  height: 42px;
  overflow: visible;
  transform: translate(-50%, -100%);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.34));
  animation: fallingPin 950ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

.falling-pin-crisp {
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.18));
  animation: fallingPinCrisp 950ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.falling-pin img {
  display: block;
  width: 100%;
  height: 100%;
}

.drop-reward-popup {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  padding: 7px 11px;
  color: white;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  border-radius: 999px;
  background: #047857;
  box-shadow: 0 10px 22px rgba(4, 120, 87, 0.34), 0 2px 5px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, 0) scale(0.88);
  animation: dropRewardPopup 1700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

.dust-burst {
  position: absolute;
  width: 1px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.dust-burst span {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%) scale(0.28);
  animation: dustBurst 1520ms ease-out forwards;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

.pin-card .eyebrow,
.pin-card strong,
.pin-card .parking-request-status,
.pin-card .go-button {
  grid-column: 1 / -1;
}

.parking-request-status,
.arrival-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.pin-card > .icon-button {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 38px;
  height: 38px;
}

.go-button {
  margin-top: 6px;
}

.nav-panel {
  bottom: 12px;
  padding: 10px;
  transform-origin: bottom center;
  will-change: transform, opacity;
}

.nav-panel.nav-panel-collapse {
  animation: navPanelCollapse 220ms ease-in both;
}

.nav-panel.nav-panel-expand {
  animation: navPanelExpand 360ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.nav-voice {
  display: grid;
  grid-template-columns: 44px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.09);
}

.voice-figure {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  color: var(--ink);
}

.voice-figure svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.6;
}

.voice-figure svg path,
.voice-figure svg circle {
  stroke: currentColor;
}

.voice-figure::before,
.voice-figure span {
  display: none !important;
}

.nav-voice p {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 750;
}

.nav-audio-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(20, 33, 61, 0.07);
}

.nav-audio-toggle .audio-off-icon {
  display: none;
}

.nav-audio-toggle.is-muted {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.nav-audio-toggle.is-muted .audio-on-icon {
  display: none;
}

.nav-audio-toggle.is-muted .audio-off-icon {
  display: block;
}

.nav-handle {
  display: block;
  width: 58px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(20, 33, 61, 0.22);
}

.nav-panel.hide-drag-handle .nav-handle {
  display: none;
}

.nav-summary {
  display: grid;
  grid-template-columns: 1fr 42px 132px;
  gap: 10px;
  align-items: end;
}

.nav-satellite-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(20, 33, 61, 0.07);
}

.nav-satellite-toggle.is-active {
  color: #0f766e;
  background: rgba(15, 118, 110, 0.14);
}

@media (orientation: landscape) and (max-height: 540px) and (hover: none) and (pointer: coarse) {
  .map-screen {
    height: 100%;
    min-height: 100%;
  }

  .map-header {
    top: max(8px, env(safe-area-inset-top));
    left: max(8px, env(safe-area-inset-left));
    right: auto;
    width: min(300px, 38vmax);
    padding: 8px;
    gap: 8px;
  }

  .map-header h2 {
    font-size: 1rem;
    line-height: 1.05;
  }

  .map-header .eyebrow {
    font-size: 0.58rem;
  }

  .map-header-actions {
    gap: 6px;
  }

  .map-header .icon-button,
  .map-profile-avatar,
  .nav-audio-toggle,
  .nav-satellite-toggle {
    width: 38px;
    height: 38px;
  }

  .map-canvas {
    height: 100%;
    min-height: 100%;
  }

  .mode-panel,
  .location-wait-message,
  .pin-card {
    left: max(8px, env(safe-area-inset-left));
    right: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(330px, 42vmax);
    padding: 10px;
  }

  .mode-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
  }

  .mode-panel .primary-button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
  }

  .nav-panel {
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: auto;
    width: min(340px, 42vmax);
    padding: 9px;
    overflow: hidden;
    transform-origin: center right;
  }

  #navExpanded {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    height: 100%;
    min-height: 0;
  }

  .nav-handle {
    display: none;
  }

  .nav-voice {
    grid-row: 1;
    grid-template-columns: 38px 1fr 38px;
    gap: 8px;
    padding: 7px;
    margin-bottom: 8px;
  }

  .voice-figure {
    width: 38px;
  }

  .voice-figure svg {
    width: 30px;
    height: 30px;
  }

  .nav-summary {
    grid-row: 2;
    grid-template-columns: 1fr 38px;
    align-items: center;
    gap: 8px;
  }

  .theme-select {
    grid-column: 1 / -1;
  }

  .route-directions {
    grid-row: 3;
    align-self: stretch;
    min-height: 0;
    max-height: none;
    overflow: auto;
  }

  .exit-route {
    grid-row: 4;
    align-self: end;
  }

  .arrival-actions {
    grid-row: 5;
  }

  .restore-nav {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: auto;
    width: min(230px, calc(100% - 20px));
  }

  .address-countdown {
    left: 50%;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: 132px;
  }
}

.theme-select-control {
  position: relative;
  display: block;
}

.theme-select-control.is-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: not-allowed;
}

.theme-status-icon {
  position: absolute;
  top: 50%;
  right: 22px;
  display: inline-flex;
  pointer-events: none;
  transform: translateY(-50%);
  color: #8a5a00;
}

.theme-status-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-status-icon .theme-unlock-icon,
.theme-status-icon.is-unlocked .theme-lock-icon {
  display: none;
}

.theme-status-icon.is-unlocked {
  color: #0f766e;
}

.theme-status-icon.is-unlocked .theme-unlock-icon {
  display: block;
}

.theme-select select {
  min-height: 42px;
  padding: 0 34px 0 8px;
}

.theme-select select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.theme-select-control.a-8 {
  animation: ddAnim8 0.35s ease-out;
}

.theme-locked-message {
  display: none;
  margin: 4px 0 0;
  color: #8a5a00;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15;
}

.theme-select-control.is-locked-message + .theme-locked-message {
  display: block;
}

.route-directions {
  max-height: 118px;
  overflow: auto;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.route-directions ol {
  margin: 0;
  padding-left: 20px;
}

.route-directions li + li {
  margin-top: 6px;
}

.route-directions li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.route-directions small {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.exit-route {
  width: 100%;
  margin-top: 10px;
}

.map-screen.theme-vintage {
  background: #2b1a09;
}

.map-screen.theme-vintage .map-canvas {
  margin: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 8px solid #2b1a09;
  border-radius: 10px;
  box-shadow:
    inset 0 0 24px rgba(43, 26, 9, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.45);
  filter: sepia(0.22) contrast(0.96);
}

.map-screen.theme-vintage .map-canvas .gm-style {
  filter: sepia(0.72) saturate(0.72) brightness(1.02) contrast(0.92) hue-rotate(-8deg);
  transition: filter 0.35s ease;
}

.map-screen.theme-vintage .map-theme-wash {
  opacity: 0.72;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 244, 214, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(96, 62, 24, 0.24), rgba(230, 197, 137, 0.42)),
    rgba(154, 106, 45, 0.48);
  mix-blend-mode: multiply;
}

.map-screen.theme-vintage .map-header {
  top: 16px;
  border: 2px solid #5a4112;
  border-radius: 4px;
  background: #b9944c;
  color: #2b1d04;
  box-shadow: 0 3px 8px rgba(43, 26, 9, 0.5);
  font-family: Georgia, "Times New Roman", serif;
}

.map-screen.theme-vintage .map-header h2,
.map-screen.theme-vintage .map-header .eyebrow {
  color: #2b1d04;
}

.map-screen.theme-vintage .map-header .icon-button {
  background: #7b5a24;
  color: #f2e6ce;
  border: 1px solid #4b3510;
}

.map-screen.theme-vintage .nav-panel {
  bottom: 0;
  left: 10px;
  right: 10px;
  padding: 18px 18px 14px;
  border: 8px solid #4a2f13;
  border-radius: 10px 10px 0 0;
  background:
    radial-gradient(circle at 82% 72%, rgba(116, 79, 34, 0.16), transparent 16%),
    radial-gradient(circle at 18% 86%, rgba(116, 79, 34, 0.13), transparent 14%),
    #f2e6ce;
  color: #2b1a09;
  box-shadow:
    inset 0 0 18px rgba(80, 48, 18, 0.25),
    0 -8px 20px rgba(0, 0, 0, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  backdrop-filter: none;
}

.map-screen.theme-vintage .nav-handle {
  background: #b7a284;
}

.map-screen.theme-vintage .nav-voice {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.map-screen.theme-vintage .voice-figure {
  border: 2px solid #5a4112;
  border-radius: 4px;
  background: #b9944c;
  box-shadow: 0 2px 5px rgba(43, 26, 9, 0.35);
}

.map-screen.theme-vintage .voice-figure svg {
  color: #2b1a09;
}

.map-screen.theme-vintage .nav-voice p,
.map-screen.theme-vintage .nav-summary strong,
.map-screen.theme-vintage .nav-summary span,
.map-screen.theme-vintage .route-directions,
.map-screen.theme-vintage .theme-select {
  color: #2b1a09;
}

.map-screen.theme-vintage .nav-summary {
  border-top: 1px solid rgba(94, 64, 24, 0.18);
  padding-top: 10px;
}

.map-screen.theme-vintage .theme-select select {
  border: 1px solid #8c754f;
  background: #f8edda;
  color: #2b1a09;
  font-family: Georgia, "Times New Roman", serif;
}

.map-screen.theme-vintage .route-directions {
  max-height: 150px;
  border: 1px solid rgba(92, 68, 38, 0.35);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(92, 68, 38, 0.12) 0 1px, transparent 1px) 0 0 / 24px 100%,
    #f6ecd7;
  font-size: 1rem;
  line-height: 1.45;
}

.map-screen.theme-vintage .route-directions ol {
  padding-left: 30px;
}

.map-screen.theme-vintage .route-directions li {
  position: relative;
}

.map-screen.theme-vintage .route-directions li:first-child::before {
  content: "A";
  position: absolute;
  left: -34px;
  top: -2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px dashed #761c19;
  border-radius: 50%;
  background: #a94442;
  color: #fff8e8;
  font-size: 0.85rem;
  font-weight: 900;
}

.map-screen.theme-vintage .route-directions small {
  color: #5c503d;
}

.map-screen.theme-vintage .exit-route {
  width: 100%;
  margin: 14px 0 0;
  box-sizing: border-box;
  border: 1px solid #360b0b;
  border-radius: 7px;
  background: #7b1d1d;
  color: #f2e6ce;
  box-shadow: 0 4px 9px rgba(43, 26, 9, 0.45);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.map-screen.theme-retro {
  background: #000;
}

.map-screen.theme-retro .map-canvas {
  margin: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: 6px solid #3d3c3a;
  border-radius: 0;
  box-shadow:
    inset 0 0 0 3px #161616,
    0 10px 24px rgba(0, 0, 0, 0.5);
  image-rendering: pixelated;
}

.map-screen.theme-retro .map-canvas .gm-style {
  filter: saturate(1.02) contrast(1.08) brightness(1.06);
  image-rendering: pixelated;
  transition: filter 0.35s ease;
}

.map-screen.theme-retro .map-theme-wash {
  opacity: 0.5;
  background:
    linear-gradient(0deg, rgba(20, 66, 30, 0.12) 50%, rgba(205, 244, 178, 0.06) 50%) 0 0 / 100% 4px,
    linear-gradient(90deg, rgba(112, 192, 92, 0.42), rgba(170, 230, 132, 0.4));
  mix-blend-mode: multiply;
}

.map-screen.theme-retro .map-header {
  top: 14px;
  border: 4px solid #b8b1a6;
  outline: 3px solid #1a1510;
  outline-offset: -7px;
  border-radius: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18) 50%, transparent 50%) 0 0 / 100% 4px,
    #52402e;
  color: #fff;
  box-shadow: 0 5px 0 #000;
  font-family: "Courier New", ui-monospace, monospace;
  text-shadow: 2px 2px 0 #000;
}

.map-screen.theme-retro .map-header h2,
.map-screen.theme-retro .map-header .eyebrow {
  color: #fff;
}

.map-screen.theme-retro .map-header .map-brand-super {
  color: #7dd3fc;
}

.map-screen.theme-retro .map-header .icon-button {
  border: 2px solid #fff;
  border-radius: 0;
  background: #111;
  color: #ffff55;
}

.map-screen.theme-retro .nav-panel {
  bottom: 0;
  left: 6px;
  right: 6px;
  padding: 8px;
  border: 5px solid #3d3c3a;
  border-radius: 0;
  background: #000;
  color: #fff;
  box-shadow: 0 -7px 0 #141414;
  font-family: "Courier New", ui-monospace, monospace;
  backdrop-filter: none;
}

.map-screen.theme-retro .nav-handle {
  width: 54px;
  height: 5px;
  margin-bottom: 8px;
  border-radius: 0;
  background: #b8b1a6;
}

.map-screen.theme-retro .nav-voice,
.map-screen.theme-retro .nav-summary,
.map-screen.theme-retro .route-directions {
  background:
    linear-gradient(rgba(0, 0, 0, 0.16) 50%, transparent 50%) 0 0 / 100% 4px,
    #52402e;
  border: 4px solid #b8b1a6;
  outline: 3px solid #1a1510;
  outline-offset: -7px;
  border-radius: 0;
}

.map-screen.theme-retro .nav-voice {
  grid-template-columns: 38px 1fr 38px;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px;
}

.map-screen.theme-retro .voice-figure {
  width: 38px;
  border: 2px solid #fff;
  border-radius: 0;
  background: #000;
}

.map-screen.theme-retro .voice-figure svg {
  color: #ffff55;
}

.map-screen.theme-retro .nav-audio-toggle {
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 0;
  background: #111;
  color: #ffff55;
}

.map-screen.theme-retro .nav-satellite-toggle {
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 0;
  background: #111;
  color: #ffff55;
}

.map-screen.theme-retro .nav-voice p,
.map-screen.theme-retro .nav-summary strong,
.map-screen.theme-retro .nav-summary span,
.map-screen.theme-retro .theme-select,
.map-screen.theme-retro .route-directions {
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.map-screen.theme-retro .nav-summary {
  grid-template-columns: 1fr 38px 118px;
  padding: 14px 10px 10px;
  text-align: center;
}

.map-screen.theme-retro .nav-summary .eyebrow {
  color: #fff;
  font-size: 0;
  text-shadow: 2px 2px 0 #000;
}

.map-screen.theme-retro .nav-summary .eyebrow::after {
  content: "MISSION OBJECTIVE:";
  display: block;
  font-size: 0.78rem;
  line-height: 1.2;
}

.map-screen.theme-retro .nav-summary strong {
  display: block;
  margin-top: 3px;
  color: #ffff55;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.map-screen.theme-retro .nav-summary span {
  color: #ffff55;
  font-size: 0.78rem;
}

.map-screen.theme-retro .theme-select {
  text-align: left;
}

.map-screen.theme-retro .theme-select select {
  min-height: 38px;
  border: 3px solid #fff;
  border-radius: 0;
  background: #000;
  color: #ffff55;
  font-family: "Courier New", ui-monospace, monospace;
  font-weight: 900;
}

.map-screen.theme-retro .route-directions {
  max-height: 120px;
  margin-top: 8px;
  padding: 10px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1) 50%, transparent 50%) 0 0 / 100% 4px,
    #c3b091;
  color: #000;
  text-shadow: none;
  font-size: 0.82rem;
  line-height: 1.35;
}

.map-screen.theme-retro .route-directions::before {
  content: "TRAVEL LOG";
  display: block;
  margin-bottom: 6px;
  color: #000;
  font-size: 0.72rem;
  font-weight: 900;
}

.map-screen.theme-retro .route-directions ol {
  padding-left: 18px;
}

.map-screen.theme-retro .route-directions li {
  color: #000;
  text-shadow: none;
}

.map-screen.theme-retro .route-directions li:first-child::before {
  content: "A";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border: 2px solid #000;
  background: #55ff55;
  color: #000;
  font-weight: 900;
}

.map-screen.theme-retro .route-directions li:first-child {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.map-screen.theme-retro .route-directions small {
  color: #111;
}

.map-screen.theme-retro .exit-route {
  width: 100%;
  margin: 12px 0 4px;
  box-sizing: border-box;
  border: 4px solid #fff;
  outline: 4px solid #880000;
  border-radius: 0;
  background: #ff2222;
  color: #fff;
  box-shadow: 0 6px 0 #550000;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.9rem;
  font-weight: 900;
  text-shadow: 2px 2px 0 #000;
}

.map-screen.theme-retro .exit-route::before {
  content: "GAME OVER";
  display: block;
  color: #000;
  font-size: 0.64rem;
  line-height: 1;
  text-shadow: none;
}

.map-screen.theme-retro .restore-nav {
  border: 4px solid #fff;
  border-radius: 0;
  background: #ff2222;
  color: #fff;
  box-shadow: 0 5px 0 #550000;
  font-family: "Courier New", ui-monospace, monospace;
  text-shadow: 2px 2px 0 #000;
}

.map-screen.theme-night {
  background: #060d0f;
}

.map-screen.theme-night .map-canvas {
  margin: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #1a292e;
  border-radius: 24px;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.58),
    inset 0 0 28px rgba(91, 242, 242, 0.08);
  filter: saturate(1.35) contrast(1.12) brightness(1.16);
}

.map-screen.theme-night .map-canvas .gm-style {
  filter: brightness(1.18) contrast(1.28) saturate(1.55);
  transition: filter 0.35s ease;
}

.map-screen.theme-night .map-theme-wash {
  opacity: 0.18;
  background:
    radial-gradient(circle at 58% 34%, rgba(91, 242, 242, 0.28), transparent 24%),
    linear-gradient(180deg, rgba(3, 18, 22, 0.08), rgba(2, 12, 15, 0.18));
  mix-blend-mode: screen;
}

.map-screen.theme-night .map-header {
  top: 16px;
  border: 1px solid rgba(91, 242, 242, 0.3);
  border-radius: 14px;
  background: rgba(12, 20, 23, 0.88);
  color: #f8fafc;
  box-shadow:
    0 0 18px rgba(91, 242, 242, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.map-screen.theme-night .map-header h2,
.map-screen.theme-night .map-header .eyebrow {
  color: #f8fafc;
}

.map-screen.theme-night .map-header .map-brand-super {
  color: #7dd3fc;
}

.map-screen.theme-night .map-header .icon-button {
  background: #111a1e;
  color: #5bf2f2;
  border: 1px solid #1c2b30;
}

.map-screen.theme-night .nav-panel {
  bottom: 0;
  left: 10px;
  right: 10px;
  padding: 20px 16px 14px;
  border: 1px solid #1a292e;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(circle at 50% 0, rgba(91, 242, 242, 0.12), transparent 34%),
    #0c1417;
  color: #e2e8f0;
  box-shadow:
    0 -16px 36px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.map-screen.theme-night .nav-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #5bf2f2, transparent);
  box-shadow: 0 0 12px #5bf2f2;
  pointer-events: none;
}

.map-screen.theme-night .nav-handle {
  background: #8b7351;
}

.map-screen.theme-night .nav-voice {
  grid-template-columns: 44px 1fr 42px;
  background: transparent;
  padding: 0;
  margin-bottom: 12px;
}

.map-screen.theme-night .voice-figure {
  background: transparent;
  color: #5bf2f2;
  box-shadow: none;
}

.map-screen.theme-night .voice-figure svg {
  color: #5bf2f2;
  filter: drop-shadow(0 0 8px rgba(91, 242, 242, 0.9));
}

.map-screen.theme-night .nav-audio-toggle {
  background: #111a1e;
  color: #5bf2f2;
  border: 1px solid #1c2b30;
  box-shadow: 0 0 14px rgba(91, 242, 242, 0.12);
}

.map-screen.theme-night .nav-voice p,
.map-screen.theme-night .nav-summary strong,
.map-screen.theme-night .nav-summary span,
.map-screen.theme-night .route-directions,
.map-screen.theme-night .theme-select {
  color: #e2e8f0;
}

.map-screen.theme-night .nav-summary {
  grid-template-columns: 1fr 42px 132px;
  gap: 12px;
  border-top: 1px solid rgba(91, 242, 242, 0.12);
  padding-top: 14px;
}

.map-screen.theme-night .nav-summary .eyebrow {
  color: #fff;
}

.map-screen.theme-night .nav-summary strong {
  color: #f8fafc;
  text-shadow: 0 0 10px rgba(91, 242, 242, 0.28);
}

.map-screen.theme-night .nav-summary span {
  color: #a0aec0;
}

.map-screen.theme-night .theme-select select {
  border: 1px solid #1c2b30;
  border-radius: 8px;
  background: #111a1e;
  color: #5bf2f2;
}

.map-screen.theme-night .route-directions {
  max-height: 144px;
  margin-top: 14px;
  border: 1px solid #1c2b30;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(91, 242, 242, 0.12), transparent 16%, transparent 84%, rgba(91, 242, 242, 0.08)),
    #111a1e;
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 16px rgba(91, 242, 242, 0.08);
  font-size: 0.9rem;
  line-height: 1.42;
}

.map-screen.theme-night .route-directions li:first-child::before {
  content: "A";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 4px;
  background: #e53e3e;
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(229, 62, 62, 0.42);
}

.map-screen.theme-night .route-directions li:first-child {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.map-screen.theme-night .route-directions small {
  color: #a0aec0;
}

.map-screen.theme-night .exit-route {
  width: 100%;
  margin-top: 14px;
  border: 1px solid #4a0e0e;
  border-radius: 10px;
  background: #8d1d1d;
  color: #fff;
  box-shadow:
    0 4px 12px rgba(155, 28, 28, 0.28),
    0 0 18px rgba(229, 62, 62, 0.2);
  font-size: 1rem;
  font-weight: 800;
}

.map-screen.theme-night .restore-nav {
  border: 1px solid #4a0e0e;
  border-radius: 10px;
  background: #8d1d1d;
  color: white;
  box-shadow: 0 0 18px rgba(229, 62, 62, 0.2);
}

.map-screen.theme-island {
  background: #0f5f66;
}

.map-screen.theme-island .map-canvas {
  margin: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 8px solid #94c3cc;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  filter: saturate(1.08) contrast(0.98);
}

.map-screen.theme-island .map-canvas .gm-style {
  filter: sepia(0.28) saturate(1.48) brightness(1.08) contrast(0.96) hue-rotate(-18deg);
  transition: filter 0.35s ease;
}

.map-screen.theme-island .map-theme-wash {
  opacity: 0.68;
  background:
    radial-gradient(circle at 10% 26%, rgba(134, 190, 78, 0.36), transparent 26%),
    linear-gradient(180deg, rgba(108, 182, 191, 0.26), rgba(255, 205, 108, 0.46)),
    rgba(230, 190, 94, 0.34);
  mix-blend-mode: multiply;
}

.map-screen.theme-island .map-header {
  top: 16px;
  border: 2px solid rgba(13, 110, 117, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.62), transparent 18%),
    #f7efd4;
  color: #0d6e75;
  box-shadow: 0 6px 18px rgba(41, 95, 78, 0.28);
}

.map-screen.theme-island .map-header h2,
.map-screen.theme-island .map-header .eyebrow {
  color: #0d6e75;
}

.map-screen.theme-island .map-header .icon-button {
  background: #e9dcb3;
  color: #0d6e75;
}

.map-screen.theme-island .nav-panel {
  bottom: 0;
  left: 8px;
  right: 8px;
  padding: 16px 14px 12px;
  border: 7px solid #94c3cc;
  border-top-color: #84572c;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(90deg, rgba(132, 87, 44, 0.12) 0 2px, transparent 2px 14px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.28), transparent 36%),
    #ebdcb9;
  color: #3b2a0c;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.28),
    0 -10px 26px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  overflow: hidden;
}

.map-screen.theme-island .nav-handle {
  background: #94c3cc;
  z-index: 2;
}

.map-screen.theme-island #navExpanded,
.map-screen.theme-island .restore-nav {
  position: relative;
  z-index: 1;
}

.map-screen.theme-island .nav-voice {
  grid-template-columns: 44px 1fr 42px;
  background: rgba(251, 246, 233, 0.72);
  position: relative;
  z-index: 1;
}

.map-screen.theme-island .voice-figure {
  background: #f7efd4;
  color: #0d6e75;
  border: 2px solid #dfcfab;
  box-shadow: 0 4px 12px rgba(13, 110, 117, 0.18);
}

.map-screen.theme-island .voice-figure svg {
  color: #0d6e75;
}

.map-screen.theme-island .nav-voice p,
.map-screen.theme-island .nav-summary strong,
.map-screen.theme-island .nav-summary span,
.map-screen.theme-island .route-directions,
.map-screen.theme-island .theme-select {
  color: #3b2a0c;
}

.map-screen.theme-island .nav-summary {
  border-top: 1px solid rgba(132, 87, 44, 0.18);
  padding-top: 10px;
  position: relative;
  z-index: 1;
}

.map-screen.theme-island .nav-summary .eyebrow {
  color: #0d6e75;
  font-size: 0;
}

.map-screen.theme-island .nav-summary .eyebrow::after {
  content: "gps navigation";
  font-size: 0.72rem;
}

.map-screen.theme-island .theme-select select {
  border: 1px solid #dfcfab;
  background: #fbf6e9;
  color: #0d6e75;
  font-weight: 800;
}

.map-screen.theme-island .route-directions {
  max-height: 142px;
  margin-top: 12px;
  border: 2px solid #dfcfab;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 52%, rgba(108, 182, 191, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(108, 182, 191, 0.2), transparent 26%, transparent 74%, rgba(108, 182, 191, 0.2)),
    #fbf6e9;
  box-shadow: inset 0 0 12px rgba(132, 87, 44, 0.1);
  font-size: 0.94rem;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.map-screen.theme-island .route-directions li:first-child::before {
  content: "A";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50% 50% 50% 0;
  background: #e2423f;
  color: white;
  font-weight: 900;
  transform: rotate(-45deg);
}

.map-screen.theme-island .route-directions li:first-child {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.map-screen.theme-island .route-directions small {
  color: #79663d;
}

.map-screen.theme-island .exit-route {
  width: 100%;
  margin-top: 10px;
  border-radius: 12px;
  background: #ff625d;
  color: #fff;
  box-shadow: 0 5px 14px rgba(255, 92, 86, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.map-screen.theme-island .exit-route::before {
  content: "Aloha, ";
}

.map-screen.theme-island .restore-nav {
  background: #ff625d;
  color: white;
}

.map-screen.theme-island .nav-panel::before,
.map-screen.theme-island .nav-panel::after,
.map-screen.theme-island .nav-voice::before,
.map-screen.theme-island .nav-voice::after,
.map-screen.theme-island .route-directions::before,
.map-screen.theme-island .route-directions::after,
.map-screen.theme-island .exit-route::after,
.map-screen.theme-island [class*="island-decor"] {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

.arrival-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.restore-nav {
  width: 100%;
  background: var(--ink);
  color: white;
  transform-origin: bottom center;
}

.restore-nav.restore-nav-pop {
  animation: restoreNavPop 320ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.modal-backdrop,
.celebration-overlay,
.warp-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 33, 61, 0.32);
}

.engagement-exit-dialog {
  z-index: 10020;
  background: rgba(10, 21, 37, 0.48);
}

.engagement-exit-dialog .modal {
  box-shadow: 0 22px 60px rgba(10, 21, 37, 0.28);
}

.handoff-test-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  place-content: center;
  gap: 14px;
  padding: 18px;
  background: rgba(20, 33, 61, 0.32);
}

.modal {
  width: min(100%, 380px);
  padding: 18px;
}

.handoff-test-overlay .modal {
  width: 100%;
  align-self: start;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.handoff-test-overlay .modal.is-handoff-active {
  opacity: 1;
  transform: translateY(-4px);
}

.handoff-test-overlay .modal-actions {
  grid-template-columns: 1fr;
}

.searching-driver-modal {
  min-height: 184px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.find-intro-dialog .modal-actions {
  grid-template-columns: 1fr;
}

.decline-reasons {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.decline-reasons button {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  text-align: left;
  font-weight: 850;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(20, 33, 61, 0.1);
}

@media (max-width: 680px) {
  .handoff-test-overlay {
    grid-template-columns: 1fr;
    align-content: center;
  }
}

.celebration-overlay {
  display: grid;
  place-items: center;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.28);
}

.celebration-message {
  width: min(86%, 340px);
  padding: 18px;
  color: white;
  text-align: center;
  border-radius: var(--radius);
  background: #0d7f3a;
  box-shadow: var(--shadow);
}

.celebration-overlay h2 {
  margin: 0;
}

.celebration-earned {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 260ms ease,
    margin-top 260ms ease,
    opacity 220ms ease,
    transform 260ms ease;
}

.celebration-earned.is-visible {
  max-height: 80px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

.celebration-burst,
.celebration-burst::before,
.celebration-burst::after {
  position: absolute;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow:
    0 -130px 0 #16a34a,
    92px -92px 0 #2563eb,
    130px 0 0 #ef4444,
    92px 92px 0 #f7b801,
    0 130px 0 #16a34a,
    -92px 92px 0 #2563eb,
    -130px 0 0 #ef4444,
    -92px -92px 0 #f7b801;
  animation: burst 850ms ease-out infinite alternate;
}

.celebration-burst::before,
.celebration-burst::after {
  content: "";
  inset: 0;
}

.celebration-burst::before {
  transform: rotate(22deg);
}

.celebration-burst::after {
  transform: rotate(44deg);
}

.warp-overlay {
  pointer-events: none;
  background: transparent;
  overflow: hidden;
}

.warp-overlay::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #000;
  transform: translate(-50%, -50%);
  animation: blackIris 900ms ease-in-out forwards;
}

.toast {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 20;
  pointer-events: none;
  width: min(calc(100% - 28px), 420px);
  padding: 12px 14px;
  border-radius: var(--radius);
  color: white;
  background: rgba(20, 33, 61, 0.94);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes shake {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(-3px, 2px, 0);
  }
  40% {
    transform: translate3d(4px, -1px, 0);
  }
  60% {
    transform: translate3d(-2px, -2px, 0);
  }
  80% {
    transform: translate3d(3px, 2px, 0);
  }
}

@keyframes fallingPin {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-100% - 360px)) scale(1.18) rotate(-7deg);
  }
  72% {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1);
  }
}

@keyframes fallingPinCrisp {
  0% {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 300px));
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -100%);
  }
}

@keyframes dropRewardPopup {
  0% {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.82);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  72% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.96);
  }
}

@keyframes dustBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.22);
  }
  14% {
    opacity: 0.95;
  }
  58% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.52);
  }
}

@keyframes burst {
  from {
    transform: scale(0.72) rotate(0deg);
    opacity: 0.7;
  }
  to {
    transform: scale(1.08) rotate(18deg);
    opacity: 1;
  }
}

@keyframes blackIris {
  from {
    width: 0;
    height: 0;
    opacity: 1;
  }
  42%,
  58% {
    width: 180vmax;
    height: 180vmax;
    opacity: 1;
  }
  to {
    width: 0;
    height: 0;
    opacity: 1;
  }
}

@keyframes talkPulse {
  0%,
  100% {
    transform: scaleX(0.75);
    opacity: 0.65;
  }
  50% {
    transform: scaleX(1.25);
    opacity: 1;
  }
}

@keyframes navPanelCollapse {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
  }
}

@keyframes navPanelExpand {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
  }
  62% {
    opacity: 1;
    transform: translateY(-4px) scale(1.012);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes restoreNavPop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  68% {
    opacity: 1;
    transform: translateY(-3px) scale(1.018);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authToMenuCard {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.975);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes authToMenuLogo {
  0% {
    opacity: 0.35;
    transform: translateY(10px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authToMenuContent {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menuSlideOutLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes profileSlideInRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes profileSlideOutRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes menuSlideInLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes buttonPop {
  0% {
    transform: scale(0.96);
  }
  58% {
    transform: scale(1.035);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes jellyEffect {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(1.25, 0.75, 1);
    background-color: #e5e7eb;
  }

  40% {
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    transform: scale3d(1.05, 0.95, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes menuActionPress {
  0% {
    transform: translateY(0) scale(1);
  }

  35% {
    transform: translateY(2px) scale(0.975);
  }

  68% {
    transform: translateY(-1px) scale(1.012);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes menuDialSwipeLeft {
  0% {
    translate: 18px 0;
  }

  100% {
    translate: 0 0;
  }
}

@keyframes menuDialSwipeRight {
  0% {
    translate: -18px 0;
  }

  100% {
    translate: 0 0;
  }
}

@keyframes addressSearchInputIn {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes folderSelectBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  42% {
    transform: translateY(-12px);
  }
}

@keyframes folderLidOpenClose {
  0%,
  100% {
    box-shadow: 0 10px 22px rgba(20, 33, 61, 0.1);
    transform: translateY(0) rotateX(0deg);
  }

  42% {
    box-shadow: 0 16px 28px rgba(20, 33, 61, 0.12);
    transform: translateY(-14px) rotateX(28deg);
  }
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.7);
  }
}

@keyframes anim18 {
  0%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(8px) scaleY(0.9);
  }

  70% {
    transform: translateY(-10px);
  }
}

@keyframes profilePictureClick {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  30% {
    transform: translateY(8px) scale(0.94, 0.9);
  }

  70% {
    transform: translateY(-10px) scale(1.03);
  }
}

@keyframes profilePhotoMenuOpen {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ddAnim8 {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes buttonRipple {
  from {
    opacity: 0.45;
    transform: scale(0);
  }
  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes menuButtonFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .interactive-button,
  .action-button,
  .map-canvas.is-shaking,
  .falling-pin,
  .dust-burst span,
  .nav-panel.nav-panel-collapse,
  .nav-panel.nav-panel-expand,
  .restore-nav.restore-nav-pop,
  .menu-screen.login-to-menu-transition .menu-card,
  .menu-screen.login-to-menu-transition .menu-logo,
  .menu-screen.login-to-menu-transition .top-bar,
  .menu-screen.login-to-menu-transition .profile-strip,
  .menu-screen.login-to-menu-transition .action-button,
  #menuView.profile-slide-out,
  #profileView.profile-slide-in,
  #profileView.profile-slide-back-out,
  #userFolderView.profile-slide-in,
  #userFolderView.profile-slide-back-out,
  #menuView.menu-slide-back-in {
    animation: none !important;
    transition: none !important;
  }

  .button-ripple {
    display: none;
  }

  .dust-burst {
    display: none;
  }
}

@media (min-width: 700px) {
  body {
    padding: 0;
  }

  .app-shell {
    height: 100dvh;
    min-height: 100dvh;
    border-radius: 18px;
    overflow: hidden;
  }

  .screen {
    height: 100dvh;
    min-height: 100dvh;
  }

  .menu-screen {
    height: 100dvh;
    min-height: 100dvh;
  }

  .map-canvas {
    height: 100dvh;
  }
}
