:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #66736f;
  --line: rgba(24, 33, 31, 0.16);
  --paper: #f5fbf7;
  --surface: rgba(255, 255, 255, 0.72);
  --green: #1d8a68;
  --tiffany: #6fd8cf;
  --mint: #baf4d2;
  --aqua: #79dce9;
  --shadow: 0 22px 70px rgba(28, 103, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 22%, rgba(111, 216, 207, 0.38), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(186, 244, 210, 0.42), transparent 32%),
    radial-gradient(circle at 50% 72%, rgba(121, 220, 233, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(233, 250, 243, 0.76)),
    var(--paper);
  background-size:
    130% 130%,
    130% 130%,
    150% 150%,
    100% 100%,
    100% 100%;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Arial, sans-serif;
  animation: ambient-light 18s ease-in-out infinite alternate;
}

@keyframes ambient-light {
  0% {
    background-position:
      0% 0%,
      100% 12%,
      50% 100%,
      0 0,
      0 0;
  }
  100% {
    background-position:
      12% 8%,
      88% 0%,
      42% 86%,
      0 0,
      0 0;
  }
}

@keyframes glow-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.64;
  }
  100% {
    transform: translate3d(2%, 3%, 0) scale(1.04);
    opacity: 0.92;
  }
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
}

.phone-frame {
  position: relative;
  overflow: clip;
  width: min(390px, calc(100vw - 32px));
  height: min(844px, calc(100vh - 48px));
  min-height: 640px;
  border: 1px solid rgba(24, 33, 31, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 18%, rgba(111, 216, 207, 0.36), transparent 35%),
    radial-gradient(circle at 82% 24%, rgba(186, 244, 210, 0.44), transparent 34%),
    radial-gradient(circle at 54% 78%, rgba(121, 220, 233, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(234, 251, 245, 0.84));
  box-shadow:
    0 30px 90px rgba(28, 103, 84, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.48) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.72), transparent 25%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 30%, transparent 72%, rgba(31, 138, 104, 0.08));
  mix-blend-mode: soft-light;
  animation: glow-drift 22s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .phone-frame::after {
    animation: none;
  }

  .chat-stage,
  .hero-logo,
  .chat-log,
  .app-header,
  .settings-page {
    transition-duration: 1ms;
  }
}

.chat-stage {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 16px 46px;
  transition:
    transform 460ms cubic-bezier(0.18, 0.92, 0.18, 1),
    width 420ms ease,
    justify-content 420ms ease,
    align-items 420ms ease,
    gap 420ms ease,
    padding 420ms ease;
}

.phone-frame.settings-open .chat-stage {
  transform: translateX(18%) scale(0.96);
}

.app-header {
  position: absolute;
  top: 18px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.city-status {
  position: absolute;
  left: 50%;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 44px;
  border: 1px solid rgba(29, 138, 104, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 34px rgba(28, 103, 84, 0.1);
  max-width: 150px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 820;
  opacity: 0;
  padding: 5px 24px 6px;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  transition: opacity 220ms ease;
  white-space: nowrap;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.city-name-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.phone-frame.has-city .city-status {
  opacity: 1;
}

.city-meta-line {
  position: absolute;
  top: 54px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 220ms ease;
}

.phone-frame.has-city .city-meta-line {
  opacity: 1;
}

.phone-frame.is-chatting .app-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.owl-button,
.chat-plus-button,
.chat-history-button,
.profile-back {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.owl-button {
  width: 34px;
  height: 38px;
  padding: 0;
}

.header-owl {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-avatar {
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 34%, #ffffff 0 13%, transparent 14%),
    linear-gradient(145deg, var(--tiffany), var(--green));
  box-shadow: inset 0 0 0 1px rgba(24, 33, 31, 0.12);
}

.chat-plus-button {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #d9ff00;
  box-shadow: 0 14px 30px rgba(139, 196, 0, 0.22);
  font-size: 1.9rem;
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1;
}

.header-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.chat-history-button {
  display: grid;
  place-items: center;
  width: 38px;
  min-height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 10px 22px rgba(28, 103, 84, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.chat-history-button span {
  width: 18px;
  height: 15px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  position: relative;
}

.chat-history-button span::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(32deg);
}

.hero-logo {
  display: flex;
  width: min(250px, 70vw);
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
  filter: drop-shadow(0 14px 22px rgba(28, 103, 84, 0.12));
  transform-origin: center;
  transform: translateX(0);
  transition:
    width 420ms ease,
    transform 420ms ease,
    margin 420ms ease;
}

.hero-logo-owl {
  width: 48px;
  height: 54px;
  object-fit: contain;
}

.hero-logo span {
  color: var(--ink);
  font-size: 1.58rem;
  font-weight: 820;
  letter-spacing: 0;
}

.chat-log {
  display: flex;
  width: 100%;
  max-height: 180px;
  min-height: 0;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 2px;
  scrollbar-width: thin;
  transition:
    width 420ms ease,
    max-height 420ms ease,
    flex 420ms ease;
}

.chat-log:empty {
  display: none;
}

.message {
  width: fit-content;
  max-width: min(88%, 600px);
  padding: 12px 15px;
  border: 1px solid rgba(24, 33, 31, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  line-height: 1.45;
  box-shadow: 0 12px 36px rgba(34, 47, 43, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.message p {
  margin: 0;
}

.message.ai {
  align-self: flex-start;
}

.message.user {
  align-self: flex-end;
  border-color: rgba(35, 100, 170, 0.22);
  background: rgba(235, 242, 251, 0.76);
  color: var(--ink);
}

.composer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 8px 9px 8px 10px;
  border: 1px solid rgba(24, 33, 31, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.composer-geo-button {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(111, 216, 207, 0.16);
  color: rgba(24, 33, 31, 0.62);
  font-size: 1rem;
  font-weight: 850;
}

.composer-geo-button:active {
  background: rgba(111, 216, 207, 0.28);
  color: var(--ink);
}

.composer:focus-within {
  border-color: rgba(29, 138, 104, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 4px rgba(111, 216, 207, 0.2),
    var(--shadow);
}

.composer input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.composer input::placeholder {
  color: rgba(24, 33, 31, 0.56);
}

.send-button {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 900;
}

.prompt-row {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.city-suggestions {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.quick-suggestions {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.quick-suggestions.is-visible {
  display: flex;
}

.city-suggestions.is-visible {
  display: flex;
}

.prompt-row button,
.city-suggestions button,
.quick-suggestions button {
  min-height: 36px;
  border: 1px solid rgba(24, 33, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  padding: 0 13px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.prompt-row button:hover,
.city-suggestions button:hover,
.quick-suggestions button:hover {
  border-color: rgba(29, 138, 104, 0.34);
  color: var(--ink);
}

.chat-stage.depth-1 {
  justify-content: center;
  gap: 16px;
  padding-bottom: 132px;
}

.chat-stage.depth-1 .hero-logo {
  opacity: 0;
  transform: translateY(-16px) scale(0.82);
  pointer-events: none;
}

.chat-stage.is-chatting .hero-logo {
  opacity: 0;
  transform: translateY(-16px) scale(0.82);
  pointer-events: none;
}

.chat-stage.depth-1 .chat-log {
  display: flex;
  max-height: 28vh;
}

.chat-stage.depth-2 {
  width: 100%;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  padding-bottom: 190px;
}

.chat-stage.depth-2 .hero-logo {
  width: min(210px, 60vw);
  align-self: flex-start;
}

.chat-stage.depth-2 .chat-log {
  display: flex;
  width: 100%;
  max-height: 42vh;
}

.chat-stage.depth-3 {
  width: 100%;
  min-height: 0;
  align-items: stretch;
  justify-content: start;
  gap: 12px;
  padding: 112px 16px 94px;
}

.chat-stage.depth-3 .hero-logo {
  width: 46px;
  height: 48px;
  align-self: flex-start;
  margin: 0 0 4px;
  opacity: 0;
  transform: translateY(-10px) scale(0.82);
  pointer-events: none;
}

.chat-stage.depth-3 .chat-log {
  display: flex;
  width: 100%;
  max-height: none;
  flex: 1 1 auto;
  padding: 8px 0 6px;
}

.chat-stage.depth-3 .composer {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: auto;
  margin-top: auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 44px rgba(28, 103, 84, 0.18);
}

.phone-frame.keyboard-open .chat-stage {
  justify-content: start;
  padding-top: 78px;
  padding-bottom: 314px;
}

.phone-frame.keyboard-open .chat-stage.depth-0 {
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 304px;
}

.phone-frame.keyboard-open .chat-stage.depth-1 {
  padding-bottom: 316px;
}

.phone-frame.keyboard-open .chat-stage.depth-2 {
  padding-bottom: 328px;
}

.phone-frame.keyboard-open .chat-stage.depth-3 {
  padding-bottom: 382px;
}

.phone-frame.keyboard-open .chat-stage.depth-3 .composer {
  bottom: 286px;
}

.phone-frame.keyboard-open .chat-stage.depth-3 .chat-log {
  padding-bottom: 74px;
}

.chat-stage.is-chatting .prompt-row {
  display: none;
}

.chat-stage.depth-3 .quick-suggestions,
.chat-stage.depth-3 .city-suggestions {
  display: none;
}

.smart-keyboard {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  z-index: 3;
  display: grid;
  gap: 10px;
  padding: 16px 12px 14px;
  border: 1px solid rgba(24, 33, 31, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 216, 207, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 248, 244, 0.96));
  box-shadow:
    0 -18px 54px rgba(28, 103, 84, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 18px));
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.18, 0.92, 0.18, 1);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.smart-keyboard.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.keyboard-keys {
  display: grid;
  gap: 8px;
}

.key-row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
}

.key-row.middle {
  padding: 0 13px;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.key-row.bottom {
  grid-template-columns: 42px minmax(0, 1fr) 42px 82px;
}

.keyboard-keys button {
  display: grid;
  min-width: 0;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(24, 33, 31, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.84);
  color: #15201d;
  box-shadow:
    0 3px 0 rgba(24, 33, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  font-size: 1.04rem;
  font-weight: 820;
}

.keyboard-keys button:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 rgba(24, 33, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.keyboard-keys .wide-key,
.keyboard-keys .send-key {
  font-size: 0.74rem;
}

.keyboard-keys .space-key {
  border-radius: 13px;
  color: var(--muted);
}

.keyboard-keys .send-key {
  border-color: rgba(29, 138, 104, 0.18);
  background: var(--ink);
  color: #ffffff;
  box-shadow:
    0 3px 0 rgba(24, 33, 31, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.discover-page {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 8px 10px 10px;
  background:
    radial-gradient(circle at 86% 12%, rgba(111, 216, 207, 0.46), transparent 28%),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.86), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(221, 250, 244, 0.82) 44%, rgba(255, 255, 255, 0.96) 76%);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 260ms ease,
    transform 460ms cubic-bezier(0.18, 0.92, 0.18, 1);
}

.discover-page.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.discover-top-title {
  min-height: 22px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  text-align: center;
}

.discover-close {
  position: absolute;
  top: 13px;
  left: 18px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.discover-header {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 54px;
  align-items: start;
  min-height: 162px;
  padding: 26px 14px 12px;
}

.discover-owl {
  width: 46px;
  height: 52px;
  object-fit: contain;
}

.discover-city-block {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 4px;
}

.discover-city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 176px);
  min-height: 48px;
  border: 1px solid rgba(111, 216, 207, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 28px rgba(28, 103, 84, 0.08);
  color: #111817;
  font-size: 1.1rem;
  font-weight: 880;
  letter-spacing: 0;
}

.discover-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4c5552;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.discover-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.discover-plus,
.discover-chat {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #0f1514;
}

.discover-plus {
  width: 50px;
  min-height: 50px;
  background: #d9ff00;
  box-shadow: 0 16px 28px rgba(139, 196, 0, 0.22);
  font-size: 2rem;
  font-weight: 560;
  line-height: 1;
}

.discover-chat {
  width: 43px;
  min-height: 43px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 10px 22px rgba(28, 103, 84, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.discover-chat span {
  position: relative;
  width: 21px;
  height: 17px;
  border: 2px solid #111817;
  border-radius: 50%;
}

.discover-chat span::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #111817;
  border-bottom: 2px solid #111817;
  transform: rotate(34deg);
}

.discover-panel {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 0 88px 18px;
  border-radius: 30px 30px 26px 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 -8px 36px rgba(28, 103, 84, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  scrollbar-width: none;
}

.discover-panel::-webkit-scrollbar {
  display: none;
}

.discover-section h1,
.nearby-section h2 {
  margin: 0;
  color: #111817;
  font-size: 1.38rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.discover-section p {
  margin: 6px 18px 16px 0;
  color: #53625f;
  font-size: 0.86rem;
  font-weight: 650;
}

.discover-categories {
  display: grid;
  grid-auto-columns: 86px;
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 18px 8px 0;
  scrollbar-width: none;
}

.discover-categories::-webkit-scrollbar,
.place-row::-webkit-scrollbar {
  display: none;
}

.category-card {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 84px;
  border: 1px solid rgba(24, 33, 31, 0.06);
  border-radius: 18px;
  color: #19211f;
  font-size: 0.72rem;
  font-weight: 780;
  box-shadow:
    0 10px 18px rgba(28, 103, 84, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.category-card span {
  font-size: 1.9rem;
  line-height: 1;
}

.category-card.mint {
  background: linear-gradient(145deg, rgba(224, 255, 249, 0.96), rgba(176, 240, 224, 0.96));
}

.category-card.lemon {
  background: linear-gradient(145deg, rgba(255, 255, 214, 0.98), rgba(244, 247, 167, 0.98));
}

.category-card.lilac {
  background: linear-gradient(145deg, rgba(238, 232, 255, 0.98), rgba(210, 200, 252, 0.92));
}

.category-card.sky {
  background: linear-gradient(145deg, rgba(230, 248, 255, 0.98), rgba(190, 226, 247, 0.94));
}

.nearby-section {
  margin-top: 22px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 18px;
}

.section-title-row > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.section-title-row button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(111, 216, 207, 0.22);
  color: var(--green);
  padding: 0 9px;
  font-size: 0.7rem;
  font-weight: 850;
}

.live-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tiffany);
}

.place-row {
  display: grid;
  grid-auto-columns: 232px;
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 18px 12px 0;
  scrollbar-width: none;
}

.place-card {
  position: relative;
  display: flex;
  min-height: 166px;
  overflow: hidden;
  align-items: end;
  padding: 14px;
  border-radius: 22px;
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(14, 29, 27, 0.18);
}

.place-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 18%, rgba(4, 11, 10, 0.2) 46%, rgba(4, 11, 10, 0.78) 100%),
    var(--place-art);
  background-size: cover;
}

.place-card > * {
  position: relative;
  z-index: 1;
}

.place-card.dumbo {
  --place-art:
    radial-gradient(circle at 22% 22%, rgba(255, 192, 132, 0.76), transparent 24%),
    linear-gradient(135deg, #385d76, #7d9a9a 42%, #263d45);
}

.place-card.west {
  --place-art:
    radial-gradient(circle at 72% 28%, rgba(238, 167, 105, 0.48), transparent 25%),
    linear-gradient(135deg, #243c33, #7c6954 48%, #1f2d28);
}

.place-card.times {
  --place-art:
    radial-gradient(circle at 42% 22%, rgba(255, 55, 96, 0.68), transparent 16%),
    radial-gradient(circle at 72% 34%, rgba(49, 189, 255, 0.64), transparent 19%),
    linear-gradient(135deg, #121b2f, #38496a 52%, #151a22);
}

.place-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(111, 216, 207, 0.9);
  color: #073b35;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 870;
}

.place-card h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
}

.place-card p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
}

.place-card small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 780;
}

.discover-nav {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 68px;
  align-items: center;
  border: 1px solid rgba(24, 33, 31, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 -6px 24px rgba(28, 103, 84, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.discover-nav button {
  position: relative;
  display: grid;
  gap: 3px;
  justify-items: center;
  border: 0;
  background: transparent;
  color: #6d7673;
  font-size: 0.66rem;
  font-weight: 780;
}

.discover-nav button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 1.28rem;
}

.discover-nav button.active {
  color: var(--green);
}

.discover-nav button.active span {
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 1rem;
}

.discover-nav b {
  position: absolute;
  top: -5px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #d9ff00;
  color: #12302b;
  font-size: 0.62rem;
}

.settings-page {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background:
    radial-gradient(circle at 28% 18%, rgba(111, 216, 207, 0.36), transparent 36%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(230, 249, 243, 0.96));
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition:
    opacity 280ms ease,
    transform 460ms cubic-bezier(0.18, 0.92, 0.18, 1);
}

.settings-page.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.profile-back {
  align-self: flex-start;
  min-height: 36px;
  padding: 0;
  color: var(--green);
  font-weight: 760;
}

.profile-hero {
  margin-top: 78px;
}

.profile-avatar {
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
}

.profile-hero p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.profile-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family:
    "New York", "Iowan Old Style", Georgia, -apple-system, BlinkMacSystemFont,
    serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0;
}

.profile-list {
  display: grid;
  gap: 10px;
  margin-top: 42px;
}

.profile-list button {
  min-height: 52px;
  border: 1px solid rgba(24, 33, 31, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  text-align: left;
  padding: 0 16px;
  font-weight: 680;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.saved-chats {
  margin-top: 32px;
}

.saved-chats h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.saved-chats p {
  margin: 0;
  color: var(--muted);
}

.saved-chats button {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(24, 33, 31, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-align: left;
  padding: 0 14px;
  font-weight: 680;
}

@media (max-width: 460px) {
  .app-shell {
    padding: 0;
  }

  .phone-frame {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .app-header {
    position: fixed;
    top: 18px;
    left: 16px;
    right: 16px;
  }
}
