:root {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --card: #ffffff;
  --card-2: #f2f2f5;
  --line: rgba(0, 0, 0, 0.08);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --yellow: #f5c518;
  --gold: #8a6200;
  --ink: #1d1d1f;
  --danger: #d70015;
  --radius: 18px;
  --nav: 52px;
  --font: "Segoe UI", system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #e7e7ec; color: var(--text); font-family: var(--font); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

#app {
  height: 100dvh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.phone {
  width: min(430px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}
@media (display-mode: standalone) {
  .phone {
    padding-top: max(var(--safe-top), 32px);
    padding-bottom: max(var(--safe-bottom), 24px);
  }
}

.screen {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 16px calc(var(--nav) + 18px);
}
.phone, .phone * {
  scrollbar-width: none;
}
.phone *::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.screen.no-nav { padding-bottom: 28px; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 750;
}
h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.sub { color: var(--muted); margin: 8px 0 0; line-height: 1.4; }

.icon-btn, .back {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f2f2f5;
  display: grid;
  place-items: center;
  color: var(--text);
}
.back { border: 0; background: transparent; color: #000; }
.back svg { width: 24px; height: 24px; display: block; }
.back.float { position: absolute; top: 12px; left: 12px; background: #fff; z-index: 2; border: 1px solid var(--line); }

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.chip, .tab {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #f2f2f5;
  color: var(--muted);
}
.chip.on, .tab.on {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2f2f5;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  height: 54px;
  margin-bottom: 12px;
}
.field input, .field textarea {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  min-width: 0;
}
.field textarea { height: 90px; resize: none; padding: 14px 0; }
.field.tall { height: auto; align-items: flex-start; }

.btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.02em;
}
.btn.ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn.slim { width: auto; height: 40px; padding: 0 16px; }
.link {
  background: none;
  border: 0;
  color: var(--gold);
  font-weight: 700;
  padding: 0;
}
.row-end { display: flex; justify-content: flex-end; margin: 4px 0 16px; }

.socials { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.social {
  width: 52px; height: 52px; border-radius: 16px;
  border: 1px solid var(--line); background: #f2f2f5;
  display: grid; place-items: center; font-weight: 800;
}
.or { text-align: center; color: var(--faint); margin: 18px 0; font-size: 14px; }
.fine { text-align: center; color: var(--muted); margin-top: 22px; }

.hero-photo {
  height: 220px;
  margin: -18px -16px 18px;
  background: #eee;
  position: relative;
  overflow: hidden;
}
.hero-photo.short { height: 160px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.stories { display: flex; gap: 14px; overflow: auto; padding-bottom: 8px; margin-bottom: 8px; }
.story { width: 68px; text-align: center; background: none; border: 0; color: var(--text); font-size: 12px; }
.avatar {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 750;
  background: #eef2f6;
  color: var(--text);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f5c518;
}
.story .avatar { margin: 0 auto 6px; }
.avatar.sm { width: 36px; height: 36px; font-size: 13px; box-shadow: none; }
.avatar.lg { width: 84px; height: 84px; font-size: 28px; }

.post { margin: 0 -16px 18px; }
.post-head, .meta, .caption { padding: 0 16px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-head .who { display: flex; flex-direction: column; gap: 2px; }
.feed-tabs { display: flex; gap: 18px; align-items: center; }
.feed-tabs button {
  background: none; border: 0; color: var(--muted);
  font-size: 20px; font-weight: 750; letter-spacing: -0.03em;
  padding: 6px 0 8px; position: relative;
}
.feed-tabs button.on { color: var(--text); }
.feed-tabs button.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--gold);
}
.nav svg { width: 22px; height: 22px; display: block; }
.scene { width: 100%; height: 100%; display: block; }
.post-photo {
  height: 280px;
  background: #eee;
  overflow: hidden;
}
.post-photo img { width: 100%; height: 100%; object-fit: cover; }
.post-photo.silver { background: linear-gradient(120deg, #3a4250, #d7dde6 40%, #8a5a32); }
.post-photo.yellow { background: linear-gradient(120deg, #c6a20a, #f3e27a 45%, #2a2414); }
.post-photo.black { background: linear-gradient(120deg, #111, #444 40%, #1a120c); }
.actions { display: flex; gap: 16px; align-items: center; padding: 10px 16px 0; }
.actions button { background: none; border: 0; color: var(--text); display: flex; gap: 6px; align-items: center; }
.actions .spacer { margin-left: auto; }
.caption { margin-top: 8px; line-height: 1.35; }
.itinerary { margin: 10px 16px 0; }
.itinerary ol { list-style: none; margin: 0; padding: 0; }
.itinerary li {
  position: relative; padding: 0 0 14px 22px; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25;
}
.itinerary li:last-child { padding-bottom: 0; }
.itinerary li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 8px; height: 8px; border-radius: 50%;
  background: #111; z-index: 1;
}
.itinerary li::after {
  content: ""; position: absolute; left: 3.5px; top: 12px; bottom: -4px; width: 1px; background: #e4e4e7;
}
.itinerary li:last-child::before { background: #fff; box-shadow: inset 0 0 0 1.5px #111; }
.itinerary li:last-child::after { display: none; }
.itinerary li:not(:first-child):not(:last-child)::before { width: 6px; height: 6px; left: 1px; top: 5px; background: #c7c7cc; }
.itinerary .trip {
  display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 0;
  color: #8e8e8e; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;
}
.itinerary .trip .tag {
  margin-inline-start: auto; color: #111; background: #f2f2f4; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 700;
}
.caption b { display: block; }
.tags { color: #0a66c2; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.card-pad { padding: 14px; }
.photo-card {
  display: block; width: 100%; padding: 0; margin: 0 0 12px;
  border: 0; background: none; border-radius: 18px; overflow: hidden;
}
.photo-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.photo-card .card-pad { display: block; text-align: left; }
.vehicle { display: grid; grid-template-columns: 1fr auto; }
.vehicle .copy { padding: 14px; }
.vehicle .shot { min-height: 110px; width: 148px; }
.vehicle .post-photo { height: 100%; min-height: 110px; }
.kicker { color: var(--muted); font-size: 13px; }

.list-btn {
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.list-btn small { display: block; color: var(--muted); margin-top: 3px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tile { aspect-ratio: 1; background: #eee; border: 0; padding: 0; overflow: hidden; }
.tile img, .thumb { width: 100%; height: 100%; object-fit: cover; }
.thumb { width: 84px; height: 84px; border-radius: 12px; }
.stats { display: flex; gap: 22px; }
.stats b { display: block; font-size: 18px; }
.stats span { color: var(--muted); font-size: 12px; }

.nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  height: calc(var(--nav) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255,255,255,.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav button {
  background: none; border: 0; color: var(--faint);
  font-size: 11px; display: grid; gap: 4px; justify-items: center;
}
.nav button.on { color: #000; }
.nav button { color: #000; }
.nav svg { width: 26px; height: 26px; }

.screen.ig-auth {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.ig-auth-mid {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.ig-logo {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}
.ig-logo.sm { font-size: 44px; }
.wego-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  white-space: nowrap;
}
.wego-slot {
  position: relative;
  display: inline-block;
  height: 1em;
  margin: 0 0.16em;
  overflow: hidden;
  vertical-align: top;
}
.wego-sizer { visibility: hidden; }
.wego-reel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  animation: wego-roll 20s linear infinite;
}
.wego-reel i {
  height: 1em;
  font-style: normal;
  line-height: 1;
  text-align: center;
}
@keyframes wego-roll {
  0%, 9% { transform: translateY(0); }
  12.5%, 21.5% { transform: translateY(-1em); }
  25%, 34% { transform: translateY(-2em); }
  37.5%, 46.5% { transform: translateY(-3em); }
  50%, 59% { transform: translateY(-4em); }
  62.5%, 71.5% { transform: translateY(-5em); }
  75%, 84% { transform: translateY(-6em); }
  87.5%, 96.5% { transform: translateY(-7em); }
  100% { transform: translateY(-8em); }
}
@media (prefers-reduced-motion: reduce) {
  .wego-reel { animation: none; }
}
.ig-auth-bottom { padding: 0 32px 36px; }
.ig-blue {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #0095f6;
  color: #fff;
  font-weight: 650;
  font-size: 14px;
}
.ig-text {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  border: 0;
  background: none;
  color: #0095f6;
  font-weight: 650;
  font-size: 14px;
}
.ig-auth > .back { margin: 8px 4px 0 8px; align-self: flex-start; }
.ig-auth-form {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 32px 12px;
}
.ig-auth-form .ig-logo { display: block; margin: 48px 0 28px; text-align: center; }
.ig-auth-form .ig-logo.sm { margin: 8px 0 14px; }
.ig-lead {
  margin: 0 12px 18px;
  text-align: center;
  color: #737373;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}
.ig-field {
  display: flex;
  align-items: center;
  height: 44px;
  margin: 0 0 8px;
  padding: 0 12px;
  background: #fafafa;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
}
.ig-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
}
.ig-field input::placeholder, .ig-auth .field input::placeholder { color: #8e8e8e; }
.ig-field:focus-within, .ig-auth .field:focus-within {
  background: #fff;
  border-color: #a8a8a8;
}
.ig-auth .phone-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0 0 8px;
  background: #fafafa;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  overflow: hidden;
}
.ig-auth .phone-row .dial {
  flex: none;
  height: auto;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  border-inline-end: 1px solid #dbdbdb;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  gap: 6px;
}
.ig-auth .phone-row .field {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.ig-auth .phone-row .field input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 14px;
  text-overflow: ellipsis;
}
.ig-auth .phone-row:focus-within {
  background: #fff;
  border-color: #a8a8a8;
}
.ig-auth .dial-sheet { margin: 0 0 12px; }
.ig-auth-form .ig-blue { margin-top: 6px; }
.ig-hint {
  margin: 18px 0 0;
  text-align: center;
  color: #0095f6;
  font-size: 13px;
  font-weight: 650;
}
.ig-legal {
  margin: 18px 4px 0;
  text-align: center;
  color: #8e8e8e;
  font-size: 12px;
  line-height: 1.45;
}
.ig-auth-bar {
  flex: none;
  border-top: 1px solid #dbdbdb;
  padding: 18px 16px 18px;
  text-align: center;
  font-size: 14px;
}
.ig-auth-bar button {
  border: 0;
  background: none;
  padding: 0;
  color: #0095f6;
  font-weight: 650;
}
.ig-auth-form h1 {
  margin: 36px 0 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-align: center;
}
.ig-auth-form .sub {
  margin: 0 0 20px;
  text-align: center;
  color: #737373;
  font-size: 14px;
  line-height: 1.4;
}
.ig-auth .otp { margin: 0 0 12px; }
.ig-auth .otp input {
  height: 48px;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  background: #fafafa;
  font-size: 22px;
  letter-spacing: .4em;
}
.ig-auth .otp input:focus { background: #fff; box-shadow: none; border-color: #a8a8a8; }
.screen.no-nav.auth {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.auth-photo {
  position: relative;
  flex: none;
  align-self: stretch;
  width: 100%;
  height: 32%;
  min-height: 168px;
  max-height: 228px;
  background: #d5dde4;
  overflow: hidden;
}
.screen.auth.intro .auth-photo { height: 54%; max-height: 480px; min-height: 300px; }
.screen.auth.intro .auth-sheet { text-align: left; }
.auth-photo img { width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: 42% 42%; }
.auth-sheet { width: 100%; }
.auth-sheet {
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin-top: -20px;
  padding: 22px 22px 20px;
  border-radius: 22px 22px 0 0;
  background: #fff;
  position: relative;
}
.auth-mark { margin: 0 0 12px; font-size: 15px; font-weight: 750; letter-spacing: -0.04em; }
.auth-sheet h1 { font-size: 30px; letter-spacing: -0.045em; }
.auth-sheet .sub { margin: 8px 0 20px; max-width: 300px; font-size: 15px; line-height: 1.45; }
.auth-label { display: block; margin: 0 0 14px; color: #6e6e73; font-size: 13px; font-weight: 650; }
.auth-sheet > p.auth-label { margin-bottom: 0; }
.auth-label .field { margin: 8px 0 0; background: #f6f6f8; border-color: transparent; border-radius: 14px; height: 52px; }
.auth-sheet .field:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px #111; }
.field-ico { display: grid; color: #8e8e93; flex: none; }
.field-ico svg { width: 18px; height: 18px; display: block; }
.steps { display: flex; gap: 6px; margin: 2px 0 18px; }
.steps i { width: 22px; height: 3px; border-radius: 99px; background: #e6e6ea; }
.steps i.on { width: 36px; background: #111; }
.otp { display: block; margin: 4px 0 18px; }
.otp input {
  width: 100%; height: 64px; border: 0; border-radius: 14px; background: #f6f6f8;
  text-align: center; font-size: 28px; font-weight: 700; letter-spacing: .42em; text-indent: .42em;
}
.otp input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px #111; }
.otp input::placeholder { color: #c7c7cc; letter-spacing: .42em; }
.auth-sheet .phone-row { margin: 8px 0 18px; }
.auth-sheet .dial { background: #f6f6f8; border-color: transparent; border-radius: 14px; height: 52px; }
.auth-sheet .dial-sheet { margin: 0 0 14px; }
.auth-sheet .btn {
  width: 100%;
  height: 52px;
  margin: 0;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
}
.auth-sheet .fine { margin-top: 16px; line-height: 1.5; }
.screen.auth .link { color: #111; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.post { content-visibility: auto; contain-intrinsic-size: auto 560px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.note { color: var(--muted); font-size: 13px; line-height: 1.4; }
.empty-home { padding: 36px 24px 12px; text-align: center; }
.empty-home b { display: block; font-size: 17px; margin-bottom: 6px; }
.empty-home p { color: #8e8e8e; font-size: 14px; line-height: 1.45; margin: 0 0 16px; }
.empty-home .btn { width: auto; min-width: 160px; }
.add-shot { display: grid; place-items: center; min-height: 280px; background: #f6f6f8; color: #8e8e8e; font-weight: 650; cursor: pointer; }
.add-shot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ph-fill { display: block; width: 92px; height: 72px; border-radius: 12px; background: #f3f3f5; }
.garage-row .ph, .avatar .ph { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: #f3f3f5; color: #1d1d1f; font-weight: 700; }
img[src=""] { display: none; }
.screen.ig { padding: 0 0 calc(var(--nav) + 8px); background: #fff; }
.ig-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 4px; }
.wordmark { background: none; border: 0; font-size: 24px; font-weight: 750; letter-spacing: -0.05em; padding: 0; }
.ig-tools, .ig-actions { display: flex; gap: 8px; align-items: center; }
.icon-plain { background: none; border: 0; padding: 4px; display: grid; }
.icon-plain svg, .actions svg, .more { width: 26px; height: 26px; }
.story .avatar {
  width: 64px; height: 64px; padding: 2px;
  background: conic-gradient(#f9ce34, #ee2a7b, #6228d7, #f9ce34);
  box-shadow: none;
}
.story .avatar span, .avatar.sm span, .avatar.lg span {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 50%; background: #f3f3f3; box-shadow: inset 0 0 0 2px #fff;
}
.story .avatar.you { background: #ddd; }
.stories { border-bottom: 1px solid #efefef; padding: 8px 12px 10px; margin: 0; }
.post { margin: 0 0 8px; border-bottom: 1px solid #efefef; padding-bottom: 10px; }
.post-head { padding: 8px 12px; margin: 0; }
.post-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; border: 0; padding: 0; display: block; background: #eee; }
.actions { padding: 8px 10px 0; gap: 12px; }
.actions button { padding: 0; }
.likes { padding: 6px 14px 0; font-weight: 700; font-size: 14px; }
.caption { padding: 2px 14px 0; font-size: 14px; }
.post.words .caption { font-size: 16px; line-height: 1.45; padding-top: 8px; }
.word-post { margin: 0; padding: 14px 16px; border-bottom: 1px solid #efefef; font-size: 15px; line-height: 1.45; }
.note-bubble {
  position: absolute; left: 0; right: 0; top: -24px;
  max-width: 140px; margin: 0 auto; padding: 4px 8px; border-radius: 12px; background: #fff;
  border: 1px solid #efefef; font-size: 11px; line-height: 1.3; color: #111;
  z-index: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.story .note-bubble { position: static; display: block; margin: 0 auto 6px; }
.note-bubble.quiet { color: #8e8e8e; }
.note-tray { display: flex; gap: 8px; overflow: auto; padding: 0 12px 10px; }
.note-chip {
  flex: none; max-width: 220px; border: 0; background: #f3f3f3; color: #111;
  border-radius: 999px; padding: 8px 12px; font-size: 13px;
}
.slide-line { margin: 0; padding: 8px 14px 0; font-size: 14px; }
.pick-frames { display: flex; gap: 6px; padding: 8px 16px 0; }
.pick-frames button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #dbdbdb; background: #fff; font-size: 12px;
}
.pick-frames button.on { background: #111; color: #fff; border-color: #111; }
.follow-going { color: #111; }
.sync-link { margin: 0; padding: 0 16px 12px; font-size: 13px; line-height: 1.4; word-break: break-all; color: #8e8e8e; }
.stories { padding-top: 36px; }
.caption b { display: inline; margin-right: 4px; }
.comments, .when, .more { background: none; border: 0; color: #8e8e8e; }
.comments { display: block; padding: 4px 14px 0; font-size: 14px; }
.when { padding: 4px 14px 0; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.more { margin-left: auto; color: #000; font-weight: 700; letter-spacing: 1px; }
.ig-search { margin: 8px 12px 10px; border: 0; border-radius: 10px; background: #efefef; height: 40px; }
.ig-grid { gap: 1px; margin: 0; }
.ig-grid .tile { position: relative; aspect-ratio: 1; width: 100%; }
.ig-grid .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ig-prof { display: flex; align-items: center; gap: 28px; padding: 8px 16px 12px; }
.ig-bio { padding: 0 16px 12px; }
.ig-bio p { margin: 2px 0 0; }
.ig-actions { padding: 0 16px 8px; }
.ig-actions .btn { height: 34px; border-radius: 8px; background: #efefef; font-weight: 650; font-size: 14px; }
.highlights { border: 0; }
.avatar.lg { width: 86px; height: 86px; box-shadow: none; background: none; font-size: 32px; }
.dm { width: 100%; display: flex; gap: 12px; align-items: center; background: none; border: 0; text-align: left; padding: 8px 16px; }
.dm small { display: block; color: #8e8e8e; font-weight: 400; }
.thread { display: flex; flex-direction: column; }
.bubble { max-width: 75%; margin: 4px 16px; padding: 10px 14px; border-radius: 18px; line-height: 1.35; }
.bubble.in { background: #efefef; align-self: flex-start; }
.bubble.out { background: #3797f0; color: #fff; align-self: flex-end; }
.composer { margin-top: auto; display: flex; gap: 8px; align-items: center; border-top: 1px solid #efefef; padding: 10px 12px; background: #fff; }
.composer input { flex: 1; border: 1px solid #dbdbdb; border-radius: 22px; padding: 10px 14px; outline: none; }
.ig-top .ig-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; margin: 0; }
.more-dots { font-size: 22px; font-weight: 700; letter-spacing: 1px; line-height: 1; min-width: 36px; }
.ig-top > .back, .ig-top > span { min-width: 32px; }
.cmt, .cmt-copy {
  background: none; border: 0; color: inherit; font: inherit; text-align: left;
}
.cmt {
  width: 100%; display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 16px; border-bottom: 1px solid #efefef;
}
.cmt-copy { flex: 1; padding: 0; }
.cmt p { margin: 0; font-size: 14px; line-height: 1.35; }
.cmt b { margin-right: 6px; }
.cmt small { display: block; color: #8e8e8e; font-size: 12px; margin-top: 2px; }
.mini { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex: none; }
.mini-btn { border: 0; padding: 0; background: none; }
.follow {
  border: 0; background: #0095f6; color: #fff; border-radius: 8px;
  font-weight: 650; font-size: 14px; padding: 7px 16px;
}
.follow.on { background: #efefef; color: #000; }
.screen.comments { flex: 1; min-height: 0; height: auto; display: flex; flex-direction: column; padding-bottom: 0; }
.screen.comments .composer { position: sticky; bottom: 0; }
.screen.ig .hero-photo { margin: 0 0 12px; }
.screen.ig > h1, .screen.ig > .sub, .screen.ig > .fine, .screen.ig > .or, .screen.ig > .kicker, .screen.ig > .note { padding-left: 16px; padding-right: 16px; }
.screen.ig > .back { margin: 12px 16px 0; }
.screen.ig > .chips, .screen.ig > .row-end, .screen.ig > .field { margin-left: 16px; margin-right: 16px; }
.screen.ig > .btn { width: calc(100% - 32px); margin: 8px 16px 16px; height: 44px; border-radius: 8px; background: #0095f6; color: #fff; font-weight: 650; }
.phone-row { display: flex; gap: 8px; align-items: center; margin: 0 16px 12px; }
.phone-row .field { flex: 1; margin: 0; }
.dial {
  display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 16px; background: #f2f2f5; color: #000; font-weight: 700;
}
.flag { font-size: 20px; line-height: 1; display: grid; place-items: center; }
.flag-img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.dial-sheet {
  margin: 0 16px 12px; border: 1px solid #efefef; border-radius: 16px; background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08); overflow: hidden;
}
.dial-sheet .field { margin: 10px; }
.dial-list { max-height: 240px; overflow: auto; }
.dial-row {
  width: 100%; display: flex; gap: 12px; align-items: center; padding: 10px 14px;
  border: 0; border-top: 1px solid #efefef; background: #fff; text-align: start;
}
.dial-row span:last-child { display: flex; flex-direction: column; min-width: 0; }
.dial-row b { font-size: 15px; }
.dial-row small { color: #8e8e8e; }
.dial-row.on { background: #f7f7f7; }
.screen.ig > .btn.ghost { background: #efefef; color: #000; }
.screen.ig .ig-actions .btn { width: auto; margin: 0; height: 34px; background: #efefef; color: #000; }
.screen.ig .link { color: #0095f6; }
.screen.ig .tabs { margin: 0; padding: 0 8px; gap: 0; border-bottom: 1px solid #efefef; }
.screen.ig .tab { background: transparent; border-radius: 0; border-bottom: 1px solid transparent; color: #8e8e8e; padding: 12px 14px; }
.screen.ig .tab.on { background: transparent; color: #000; border-bottom-color: #000; }
.screen.ig .chip { background: #fff; border: 1px solid #dbdbdb; color: #000; }
.screen.ig .chip.on { background: #000; color: #fff; }
.screen.ig .list-btn, .screen.ig .card { border: 0; border-radius: 0; margin: 0; border-bottom: 1px solid #efefef; background: #fff; }

.home-top .wordmark { flex: 1; text-align: center; font-size: 22px; }
.wordmark.handle { font-size: 20px; display: inline-flex; align-items: center; gap: 2px; }
.feed-switch { display: flex; gap: 18px; padding: 2px 16px 0; border-bottom: 1px solid #efefef; }
.feed-switch button { background: none; border: 0; color: #8e8e8e; font-weight: 650; padding: 8px 0 10px; border-bottom: 1px solid transparent; }
.feed-switch button.on { color: #000; border-bottom-color: #000; }
.story .avatar { position: relative; }
.avatar .plus {
  position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; border-radius: 50%;
  background: #0095f6; color: #fff; border: 2px solid #fff; font-style: normal; font-size: 14px;
  display: grid; place-items: center; line-height: 1; box-shadow: none;
}
.mini-follow { padding: 4px 10px; font-size: 13px; }
.post-head .who { flex: 1; }
.likes { background: none; border: 0; padding: 6px 14px 0; display: block; text-align: left; }
.post-photo { position: relative; }
.burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.burst svg { width: 96px; height: 96px; animation: pop .7s ease forwards; }
@keyframes pop { 0% { transform: scale(.2); opacity: 0; } 35% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }
.screen.reels { padding: 0; background: #000; color: #fff; }
.reel-label {
  position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  height: 48px; margin-bottom: -48px; padding: 0 12px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.reel-label .icon-plain { color: #fff; }
.reel { position: relative; height: 100%; min-height: 100%; scroll-snap-align: start; background: #111; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel-side { position: absolute; right: 8px; bottom: 24px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.reel-side button { background: none; border: 0; color: #fff; display: grid; justify-items: center; gap: 2px; padding: 0; }
.reel-side svg { width: 28px; height: 28px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.reel-side small { font-size: 12px; }
.reel-meta { position: absolute; left: 12px; right: 72px; bottom: 18px; text-shadow: 0 1px 4px rgba(0,0,0,.55); }
.reel-meta p { margin: 4px 0 0; }
.story-view { position: relative; padding: 0; background: #000; flex: 1; min-height: 0; height: auto; }
.story-view > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-ui { position: absolute; inset: 0; display: flex; flex-direction: column; color: #fff; }
.story-bar { height: 3px; margin: 10px 10px 0; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; }
.story-bar i { display: block; height: 100%; width: 40%; background: #fff; }
.story-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.story-top small { color: rgba(255,255,255,.8); }
.story-top .icon-plain { margin-left: auto; color: #fff; }
.story-reply { margin-top: auto; display: flex; gap: 8px; padding: 12px; }
.story-reply input { flex: 1; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; padding: 10px 14px; outline: none; }
.story-reply .icon-plain { color: #fff; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 128px; gap: 1px; }
.mosaic .tile { height: 100%; aspect-ratio: auto; position: relative; }
.mosaic .tile.tall { grid-row: span 2; }
.mosaic .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explore-chips { padding: 0 12px 10px; flex-wrap: nowrap; overflow: auto; }
.grid-tabs { display: flex; border-top: 1px solid #efefef; }
.grid-tabs button { flex: 1; background: none; border: 0; border-top: 1px solid transparent; margin-top: -1px; padding: 10px; color: #8e8e8e; }
.grid-tabs button.on { color: #000; border-top-color: #000; }
.grid-tabs svg { width: 22px; height: 22px; }
.play { position: absolute; top: 8px; right: 8px; color: #fff; font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.stats button { background: none; border: 0; padding: 0; text-align: center; }
.emojis { display: flex; justify-content: space-between; gap: 4px; padding: 8px 12px 0; border-top: 1px solid #efefef; }
.emojis button { background: none; border: 0; font-size: 22px; padding: 4px; }
.cmt small button { background: none; border: 0; color: #8e8e8e; font-weight: 650; padding: 0; }
.sheet-back { position: absolute; inset: 0; z-index: 30; }
.sheet-dim { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.45); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 16px 16px 0 0; padding: 6px 0 calc(12px + var(--safe-bottom)); }
.sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: #dbdbdb; margin: 6px auto 8px; }
.sheet button { width: 100%; background: none; border: 0; text-align: left; padding: 14px 18px; font-weight: 650; }

.icon-wrap { position: relative; display: grid; }
.badge, .nav-dot { width: 8px; height: 8px; border-radius: 50%; background: #ed4956; display: block; }
.badge { position: absolute; top: 0; right: 0; border: 1px solid #fff; }
.nav button { position: relative; }
.nav-dot { position: absolute; top: 2px; right: 8px; }
.dm { position: relative; }
.dm .nav-dot { top: 18px; right: 16px; }
.dm.unread b { font-weight: 800; }
.avatar.live { position: relative; }
.avatar.sm.live::after { content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #2ecc71; border: 2px solid #fff; }
.post-head .who { background: none; border: 0; padding: 0; text-align: left; display: flex; flex-direction: column; }
.caption button, .cmt p button, .cmt b button, .reel-meta button, .story-top button {
  display: inline;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  vertical-align: baseline;
}
.morecap { background: none; border: 0; color: #8e8e8e; padding: 0; }
.post-photo .shot { position: absolute; inset: 0; border: 0; padding: 0; background: #eee; }
.post-photo .shot img { width: 100%; height: 100%; object-fit: cover; }
.zone { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 18px; }
.zone.prev { left: 8px; }
.zone.next { right: 8px; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.dots i.on { background: #0095f6; }
.story-hit { position: absolute; top: 72px; bottom: 78px; width: 36%; border: 0; background: transparent; z-index: 1; }
.story-hit.left { left: 0; }
.story-hit.right { right: 0; }
.reel .story-hit.right { right: 64px; }
.reel-side, .reel-meta, .reel-label, .story-top, .story-reply, .story-bars { z-index: 2; }
.story-bars { display: flex; gap: 3px; margin: 10px 8px 0; }
.story-bars i { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; }
.story-bars i.done { background: #fff; }
.story-bars i.now::after { content: ""; display: block; height: 100%; width: 0; background: #fff; animation: loadbar 4s linear forwards; }
.reel-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.3); }
.reel-progress i { display: block; height: 100%; width: 0; background: #fff; animation: loadbar 5s linear forwards; }
.reel { overflow: hidden; }
.reel img.drift { animation: drift 5s linear forwards; }
@keyframes loadbar { to { width: 100%; } }
@keyframes drift { to { transform: scale(1.06); } }
.avatar.cover { background: #fff; overflow: hidden; padding: 2px; }
.avatar.cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.story .avatar.cover { background: #fff; }
.group { margin: 0; padding: 16px 16px 4px; font-weight: 700; }
.pick-row { display: flex; gap: 6px; overflow: auto; padding: 8px 12px; }
.pick { width: 72px; height: 72px; flex: none; padding: 0; border: 2px solid transparent; background: #eee; position: relative; }
.pick.on { border-color: #000; }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick.file { display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pick.file input { position: absolute; inset: 0; opacity: 0; font-size: 0; color: transparent; }
.albums { display: flex; gap: 14px; padding: 4px 16px 12px; }
.album { width: 76px; background: none; border: 0; padding: 0; text-align: center; }
.album img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; }
.album.on img { outline: 2px solid #000; outline-offset: 2px; }
.album span { display: block; font-size: 12px; margin-top: 4px; }
.bubble.photo { padding: 4px; background: transparent; }
.bubble.photo img { width: 180px; height: 220px; object-fit: cover; border-radius: 16px; }
.reel-meta small { display: block; opacity: .85; margin-top: 4px; }

.week { padding: 4px 0 6px; }
.week-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 6px; }
.week-head b { font-size: 16px; }
.week-head .link { border: 0; background: none; color: #0095f6; font: inherit; font-weight: 650; font-size: 14px; }
.week-card {
  display: grid; grid-template-columns: 108px 1fr; width: calc(100% - 32px); margin: 0 16px 10px;
  border: 1px solid #efefef; border-radius: 16px; background: #fff; text-align: start; overflow: hidden; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.week-card > img { width: 108px; height: 100%; min-height: 112px; object-fit: cover; background: #eee; }
.week-card .body { display: block; padding: 10px 12px 12px; min-width: 0; }
.week-card b { display: block; font-size: 16px; }
.week-card small { display: block; color: #8e8e8e; font-size: 13px; margin-top: 2px; }
.week-cars { display: flex; gap: 6px; margin-top: 8px; }
.week-cars img { width: 48px; height: 36px; object-fit: cover; border-radius: 8px; background: #eee; }
.week-empty {
  display: block; width: calc(100% - 32px); margin: 0 16px 10px; padding: 16px;
  border: 1px solid #efefef; border-radius: 16px; background: #fff; text-align: start;
  color: #1d1d1f; font: inherit; font-weight: 650;
}
.plate-bar {
  position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%);
  width: 18%; height: 7%; min-width: 54px; min-height: 16px; border-radius: 3px;
  background: rgba(236,236,240,.96); box-shadow: 0 1px 6px rgba(0,0,0,.16); pointer-events: none;
}
.plate-shot { border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.plate-line { margin: 8px 16px 0; color: #8e8e8e; font-size: 13px; }
.plate-note { margin: -2px 16px 0; color: #8e8e8e; font-size: 12px; font-weight: 650; }
.convoy-map {
  position: relative; height: 220px; margin: 8px 16px 12px; border-radius: 18px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 30%),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(255,255,255,.35) 28px, rgba(255,255,255,.35) 29px),
    linear-gradient(180deg, #e7f2ea, #d5e4ee);
}
.convoy-map::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 48%; height: 8px; border-radius: 999px; background: #fff;
}
.convoy-map.quiet { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 16px; color: #1d1d1f; }
.convoy-map.quiet b { font-size: 16px; }
.convoy-map.quiet span, .convoy-map.quiet small { display: block; color: #3a3a3c; font-size: 13px; margin-top: 4px; }
.convoy-dot {
  position: absolute; transform: translate(-50%, -50%); background: #fff; color: #1d1d1f;
  border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.convoy-dot.me { background: #0095f6; color: #fff; }
.meet-flag {
  position: absolute; left: 12px; top: 12px; font-style: normal; font-size: 12px; font-weight: 700;
  background: #fff; border-radius: 999px; padding: 4px 8px;
}
.cmt small.share { color: #0095f6; font-weight: 700; }
.route-card {
  display: flex; flex-direction: column; align-items: flex-start;
  width: calc(100% - 32px); margin: 8px 16px 4px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: start;
}
.route-card b { font-size: 15px; }
.route-card span { color: #8e8e8e; font-size: 13px; margin-top: 2px; }
.now { padding: 12px 0 2px; border-bottom: 1px solid #efefef; }
.now-head { display: flex; align-items: center; gap: 8px; padding: 0 16px 8px; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.now-head i, .now-banner i {
  width: 8px; height: 8px; border-radius: 50%; background: #ed4956; flex: none;
  box-shadow: 0 0 0 0 rgba(237, 73, 86, .55);
  animation: livepulse 1.6s ease-out infinite;
}
@keyframes livepulse {
  70% { box-shadow: 0 0 0 7px rgba(237, 73, 86, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 73, 86, 0); }
}
.now-row { display: flex; gap: 10px; overflow: auto; padding: 0 16px 12px; scrollbar-width: none; }
.now-row::-webkit-scrollbar { display: none; }
.now-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center;
  min-width: 268px; border: 0; background: #fafafa; border-radius: 16px; padding: 8px; text-align: start;
}
.now-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.now-card b { display: block; font-size: 15px; }
.now-card small { display: block; color: #8e8e8e; font-size: 12px; margin-top: 2px; }
.live-pill {
  flex: none; align-self: center; background: #ed4956; color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 750; padding: 4px 8px; letter-spacing: .02em;
}
.now-banner {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 16px 8px; padding: 12px; background: #fff5f6; border-radius: 14px;
}
.now-banner b { display: block; font-size: 14px; }
.now-banner span { display: block; margin-top: 2px; color: #8e8e8e; font-size: 13px; font-weight: 500; }
.here-row { display: flex; gap: 8px; padding: 0 16px 8px; }
.here-row .avatar { width: 36px; height: 36px; }
.prof-live { display: flex; flex-direction: column; gap: 8px; padding: 4px 16px 12px; }
.prof-event {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center;
  width: 100%; border: 1px solid #efefef; background: #fff; border-radius: 16px;
  padding: 8px; text-align: start;
}
.prof-event img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.prof-event .kicker { display: flex; align-items: center; gap: 6px; color: #ed4956; font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.prof-event .kicker i { width: 7px; height: 7px; border-radius: 50%; background: #ed4956; box-shadow: 0 0 0 0 rgba(237,73,86,.55); animation: livepulse 1.6s ease-out infinite; }
.prof-event strong { display: block; margin-top: 3px; font-size: 16px; }
.prof-event small { display: block; margin-top: 2px; color: #8e8e8e; font-size: 13px; }
.prof-event .thumbs { display: flex; gap: 4px; margin-top: 8px; }
.prof-event .thumbs img { width: 42px; height: 32px; object-fit: cover; border-radius: 6px; }
.convoy { display: flex; gap: 10px; overflow: auto; padding: 0 16px 14px; scrollbar-width: none; }
.convoy::-webkit-scrollbar { display: none; }
.convoy-car { width: 156px; flex: none; border: 0; background: none; padding: 0; text-align: start; }
.convoy-car .shot { position: relative; display: block; }
.convoy-car img.car { width: 156px; height: 112px; object-fit: cover; border-radius: 14px; display: block; background: #eee; }
.convoy-car img.who { position: absolute; left: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.convoy-car b { display: block; margin-top: 6px; font-size: 13px; }
.convoy-car small { display: block; color: #8e8e8e; font-size: 12px; margin-top: 1px; }
.install {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 10px; align-items: center;
  margin: 8px 16px 4px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.install img { width: 44px; height: 44px; border-radius: 12px; grid-row: span 2; }
.install b { font-size: 14px; padding-inline-end: 22px; }
.install p { margin: 0; color: #8e8e8e; font-size: 12px; }
.install .btn {
  grid-column: 1 / -1; height: 36px; margin: 4px 0 0; border-radius: 8px;
  background: #1d1d1f; color: #fff; font-size: 14px; font-weight: 650;
}
.install .wa { grid-column: 1 / -1; text-align: center; color: #0095f6; font-weight: 650; font-size: 13px; text-decoration: none; }
.install .x { position: absolute; top: 8px; inset-inline-end: 8px; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 16px 12px; }
.qr-wrap svg { width: 180px; height: 180px; }
.qr-wrap p { margin: 0; color: #8e8e8e; font-size: 13px; text-align: center; }
a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; margin-top: 8px; }
.sheet a { display: block; width: 100%; text-align: start; padding: 14px 18px; font-weight: 650; color: inherit; text-decoration: none; }
.phone[dir="rtl"] .back { transform: scaleX(-1); }
.phone[dir="rtl"] .cmt, .phone[dir="rtl"] .cmt-copy, .phone[dir="rtl"] .dm { text-align: right; }

button.tag { background: none; border: 0; padding: 0; color: #00376b; font-weight: 600; }
.tag-count { margin: 0; padding: 4px 16px 8px; color: #8e8e8e; font-size: 13px; }
.reel-meta .tag { color: #fff; }

.prof-cover { position: relative; height: 148px; background: #ececec; overflow: hidden; }
.prof-cover img, .prof-cover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-video {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,.62); color: #fff; border-radius: 999px;
  padding: 6px 10px; font-size: 12px; font-weight: 700;
}
.cover-video svg { width: 16px; height: 16px; }
.cover-video input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.prof-id { position: relative; padding: 48px 16px 0; }
.prof-id .avatar.photo {
  position: absolute; top: -42px; inset-inline-start: 16px;
  width: 92px; height: 92px; padding: 0; overflow: hidden;
  box-shadow: 0 0 0 3px #fff; background: #f2f2f2; font-size: 32px;
}
.prof-page.plain .prof-id { padding: 6px 16px 0; }
.prof-page.plain .prof-id .avatar.photo {
  position: static; width: 86px; height: 86px; margin: 2px 0 12px; box-shadow: none;
}
.prof-id .avatar.photo span { font-weight: 700; }
.ig-grid .empty-home, .prof-page > .empty-home { grid-column: 1 / -1; padding-top: 28px; }
.prof-id .avatar.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.prof-id h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 6px; }
.tick { width: 16px; height: 16px; flex: 0 0 16px; display: inline-block; vertical-align: -3px; }
.who b .tick, .caption b .tick, .cmt-copy .tick { width: 14px; height: 14px; margin-left: 4px; }
.verify-hero { margin: 8px 16px 16px; padding: 18px; border-radius: 18px; background: #f6f6f6; }
.verify-hero .tick { width: 28px; height: 28px; }
.verify-hero b { display: block; margin-top: 8px; font-size: 18px; }
.verify-hero p { margin: 6px 0 0; color: #3a3a3c; font-size: 14px; line-height: 1.4; }
.map-pin b .tick { width: 12px; height: 12px; margin-left: 4px; vertical-align: -2px; }
.prof-id .at { margin: 2px 0 0; color: #8e8e8e; font-size: 14px; }
.prof-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.prof-meta span { background: #f3f3f3; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 650; }
.prof-id .bio { margin: 10px 0 0; font-size: 14px; line-height: 1.4; }
.prof-stats { display: flex; margin: 14px 16px 10px; border: 1px solid #efefef; border-radius: 14px; overflow: hidden; }
.prof-stats div, .prof-stats button { flex: 1; background: none; border: 0; padding: 10px 4px; text-align: center; border-inline-start: 1px solid #efefef; }
.prof-stats div:first-child, .prof-stats button:first-child { border-inline-start: 0; }
.prof-stats b { display: block; font-size: 16px; }
.prof-stats span { color: #8e8e8e; font-size: 12px; }
.prof-actions { display: flex; align-items: stretch; gap: 8px; padding: 0 16px 12px; }
.prof-actions > .btn,
.prof-actions > a.btn,
.prof-actions > .follow {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.prof-page .story .avatar { background: #e4e4e4; }

.story-wrap { position: relative; width: 72px; flex: none; }
.story-add {
  position: absolute; top: 46px; right: 0; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff;
  background: #0095f6; color: #fff; padding: 0; font-size: 16px; line-height: 1;
}
.avatar.shotface { padding: 0; overflow: hidden; background: #eee; }
.avatar.shotface img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.story .avatar.shotface { padding: 2px; background: conic-gradient(#f9ce34, #ee2a7b, #6228d7, #f9ce34); }
.story .avatar.you.shotface { background: #ddd; }
.story .avatar.shotface img { box-shadow: inset 0 0 0 2px #fff; }
.face-btn { border: 0; background: none; padding: 0; display: grid; }
.nav button { min-width: 48px; min-height: 44px; }
.icon-plain { min-width: 36px; min-height: 36px; place-items: center; }
.actions button { min-width: 32px; min-height: 32px; justify-content: center; }
.cmt.mid { align-items: center; }
.cmt .follow { flex: none; align-self: center; white-space: nowrap; }
.mini.round { border-radius: 50%; }

.inbox .dm-people { border-bottom: 1px solid #efefef; margin: 0; padding: 4px 12px 12px; }
.inbox .dm-people .story { width: 72px; font-size: 12px; }
.dm { gap: 12px; padding: 8px 16px; min-height: 72px; }
.dm .avatar.sm { width: 56px; height: 56px; }
.dm-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dm-copy b { font-size: 15px; }
.dm-copy small { color: #8e8e8e; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm time { color: #8e8e8e; font-size: 12px; flex: none; }
.dm.unread b, .dm.unread small { color: #000; font-weight: 700; }
.dm .nav-dot { position: static; width: 8px; height: 8px; margin-left: 4px; }
.avatar.live { position: relative; }
.avatar.sm.live::after, .dm-people .avatar.live::after {
  content: ""; position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: #2ecc71; border: 2px solid #fff;
}

.screen.thread-screen { flex: 1; min-height: 0; height: auto; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-top { padding: 8px 8px 8px 4px; border-bottom: 1px solid #efefef; gap: 4px; }
.chat-who { flex: 1; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: start; min-width: 0; }
.chat-who span { display: flex; flex-direction: column; min-width: 0; }
.chat-who b { font-size: 15px; }
.chat-who small { color: #8e8e8e; font-size: 12px; font-weight: 400; }
.chat-who .avatar.sm { width: 34px; height: 34px; }
.chat-log { flex: 1; overflow: auto; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 0 18px; }
.msg { position: relative; display: flex; flex-direction: column; max-width: 78%; margin: 2px 0 8px; }
.msg.in { align-self: flex-start; }
.msg.out { align-self: flex-end; }
.msg .bubble { max-width: 100%; margin: 1px 12px; border: 0; text-align: start; cursor: pointer; appearance: none; font: inherit; }
.msg .bubble.in, .msg .bubble.out { align-self: auto; }
.react-bar {
  display: flex; gap: 2px; align-self: center; margin: 0 16px 6px; padding: 4px 6px;
  background: #fff; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.react-bar button { border: 0; background: none; font-size: 22px; line-height: 1; padding: 2px 4px; }
.react-badge {
  position: absolute; bottom: -6px; border: 0; background: #fff; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,.16); font-size: 13px; line-height: 1; padding: 2px 4px;
}
.msg.in .react-badge { right: 6px; left: auto; }
.msg.out .react-badge { left: 6px; right: auto; }
.phone[dir="rtl"] .msg.in .react-badge { left: 6px; right: auto; }
.phone[dir="rtl"] .msg.out .react-badge { right: 6px; left: auto; }
.chat-time { align-self: center; color: #8e8e8e; font-size: 12px; margin: 10px 0 6px; }
.chat-seen { align-self: flex-end; margin: 2px 18px 0; color: #8e8e8e; font-size: 12px; font-weight: 650; }
.chat-empty { text-align: center; padding: 24px; }
.bubble { max-width: 74%; margin: 1px 12px; padding: 8px 12px; border-radius: 18px; font-size: 15px; line-height: 1.35; }
.bubble p { margin: 0; }
.bubble .who { display: block; font-size: 12px; font-weight: 700; color: #0095f6; margin-bottom: 2px; }
.bubble.in { background: #efefef; color: #000; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: linear-gradient(180deg, #7c4dff, #3797f0); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.photo { padding: 3px; }
.bubble.photo img { width: 200px; max-width: 100%; height: 240px; object-fit: cover; border-radius: 16px; display: block; }
.bubble.photo.only { background: transparent; }
.bubble.photo p { margin: 6px 8px 4px; }
.ig-composer { margin: 0; padding: 8px 8px 12px; gap: 6px; border-top: 1px solid #efefef; background: #fff; }
.ig-composer input { background: #efefef; border: 0; height: 42px; border-radius: 22px; }
.cam { position: relative; overflow: hidden; }
.cam input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.send-btn { width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: #0095f6; color: #fff; display: grid; place-items: center; padding: 0; }
.send-btn svg { width: 16px; height: 16px; }
.phone[dir="rtl"] .bubble.in { border-bottom-left-radius: 18px; border-bottom-right-radius: 4px; }
.phone[dir="rtl"] .bubble.out { border-bottom-right-radius: 18px; border-bottom-left-radius: 4px; }

.route-lead { padding: 0 16px 4px; }
.route-search { display: flex; gap: 8px; align-items: center; padding: 0 12px 8px; }
.route-search .field { flex: 1; margin: 0; }
.route-search .btn { width: auto; height: 40px; margin: 0; border-radius: 10px; padding: 0 14px; background: #1d1d1f; color: #fff; }
.route-chips .chip { white-space: nowrap; }
.route-chips { padding: 4px 16px 0; flex-wrap: nowrap; overflow: auto; }
.route-here { display: inline-block; margin: 10px 16px; }
.stop { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid #efefef; }
.stop > b { width: 28px; height: 28px; border-radius: 50%; background: #1d1d1f; color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.stop span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.stop small { color: #8e8e8e; font-size: 12px; min-height: 14px; }
.stop button { width: 32px; height: 32px; border: 0; background: #f3f3f3; border-radius: 8px; flex: none; }
.route-empty { padding: 4px 16px 0; }
.screen.route-screen {
  position: absolute; top: var(--safe-top); right: 0; bottom: var(--safe-bottom); left: 0;
  height: auto; min-height: 0;
  display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0;
}
.route-scroll { flex: 1; min-height: 0; overflow: auto; padding-bottom: 8px; scrollbar-width: none; }
.route-scroll::-webkit-scrollbar { display: none; }
.route-dock { flex: none; background: #fff; border-top: 1px solid #efefef; padding: 8px 16px 10px; }
.route-dock .btn { width: 100%; height: 44px; margin: 0; border-radius: 10px; background: #0095f6; color: #fff; font-weight: 650; }
.route-dock .btn.ghost { height: 34px; margin-top: 4px; background: transparent; color: #1d1d1f; }
.route-dock .btn[disabled] { opacity: .55; }
.route-dock .map-links { padding: 0 0 8px; }
.route-map-wrap { position: relative; margin: 4px 16px 8px; flex: none; }
.route-map-wrap .route-map { width: 100%; height: 300px; margin: 0; border-radius: 18px; display: block; background: #e7eef3; }
.route-float {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: #fff; border-radius: 12px; padding: 8px 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  display: flex; gap: 8px; align-items: baseline;
}
.route-float b { font-size: 16px; }
.route-float span, .route-float.quiet { color: #1d1d1f; font-size: 13px; font-weight: 650; }
.route-map-wrap .map-credit {
  position: absolute; right: 10px; top: 10px; margin: 0; padding: 2px 6px;
  max-width: 70%; text-align: right; line-height: 1.25;
  background: rgba(255,255,255,.9); border-radius: 6px; font-size: 10px;
}
.route-list { list-style: none; margin: 0; padding: 8px 16px 4px; }
.route-stop { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; min-height: 48px; }
.route-stop i {
  width: 28px; height: 28px; border-radius: 50%; background: #0095f6; color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700;
}
.route-stop i.start, .route-stop i.end { background: #1d1d1f; }
.route-stop span { min-width: 0; display: flex; flex-direction: column; }
.route-stop strong { font-size: 15px; }
.route-stop small { color: #8e8e8e; font-size: 12px; }
.stop-tools { display: flex; gap: 4px; align-items: center; }
.stop-tools button, .stop-proof {
  width: 32px; height: 32px; border: 0; border-radius: 8px; background: #f3f3f3;
  display: grid; place-items: center; padding: 0; font-size: 12px; color: #1d1d1f;
}
.stop-proof { position: relative; overflow: hidden; color: #1d1d1f; }
.stop-proof svg { width: 16px; height: 16px; display: block; }
.stop-proof input { position: absolute; inset: 0; opacity: 0; }
.stop-proof img { width: 100%; height: 100%; object-fit: cover; }
.route-leg {
  margin: 0 0 0 13px; padding: 2px 0 2px 24px; min-height: 16px;
  border-left: 2px solid #e6e6e6; color: #8e8e8e; font-size: 12px; list-style: none;
}
.route-screen .map-links { padding-bottom: 8px; }
.route-screen .map-links a { background: #fff; border: 1px solid #efefef; }
.route-stats { display: flex; margin: 0 16px 12px; border: 1px solid #efefef; border-radius: 14px; overflow: hidden; }
.route-stats div { flex: 1; text-align: center; padding: 10px 4px; border-inline-start: 1px solid #efefef; }
.route-stats div:first-child { border-inline-start: 0; }
.route-stats b { display: block; font-size: 16px; }
.route-stats span { color: #8e8e8e; font-size: 12px; }
.map-links { display: flex; gap: 8px; padding: 0 16px 12px; }
.map-links a { flex: 1; text-align: center; text-decoration: none; background: #efefef; color: #000; border-radius: 8px; padding: 10px 4px; font-weight: 650; font-size: 13px; }
.proof-row { display: flex; gap: 8px; overflow: auto; padding: 0 16px 8px; }
.proof-row .pick { width: auto; min-width: 72px; height: 36px; padding: 0 10px; border-radius: 8px; }
.screen.reels {
  flex: 1;
  min-height: 0;
  height: auto;
  max-height: none;
  padding: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  background: #000;
  scrollbar-width: none;
}
.screen.reels::-webkit-scrollbar { display: none; }
.screen.reels .reel {
  height: 100%;
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.screen.reels .reel img.drift { animation: none; }
.screen.reels .reel.active img.drift { animation: drift 8s linear forwards; }
.screen.reels .reel-progress i { width: 0; animation: none; }
.screen.reels .reel.active .reel-progress i { animation: loadbar 8s linear forwards; }
html.wego-app,
html.wego-app body,
html.wego-app #app,
html.wego-app .phone {
  height: 100%;
  max-height: 100%;
}
html.wego-inset .phone { padding-top: 0; padding-bottom: 0; }
html.wego-app .screen.reels {
  height: auto;
  max-height: none;
}
html.wego-app .screen.reels .reel,
html.wego-app .reel {
  height: 100%;
  min-height: 100%;
  max-height: none;
}
html.wego-app .story-view,
html.wego-app .story-view > img,
html.wego-app .screen.thread-screen,
html.wego-app .screen.comments {
  height: 100%;
  max-height: 100%;
  min-height: 0;
}

.car-tile span {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 18px 6px 6px; text-align: start;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff; font-size: 11px; font-weight: 650;
}
.car-id { padding: 14px 16px 0; }
.car-id h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.car-id .at { margin: 4px 0 0; color: #8e8e8e; font-size: 14px; }
.car-page .prof-actions .btn {
  flex: 1; width: auto; height: 36px; margin: 0; border-radius: 8px;
  background: #efefef; color: #1d1d1f; font-size: 14px; font-weight: 650;
}
.build-row { padding-top: 8px; padding-bottom: 8px; }
.car-note { padding: 8px 16px 4px; }
.car-strip { display: flex; gap: 10px; overflow: auto; padding: 0 16px 16px; }
.car-strip button { width: 92px; flex: none; border: 0; background: none; padding: 0; text-align: start; }
.car-strip img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; }
.car-strip span { display: block; margin-top: 4px; font-size: 11px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.garage-sum { display: flex; margin: 8px 16px 4px; border: 1px solid #efefef; border-radius: 14px; overflow: hidden; }
.garage-sum div { flex: 1; padding: 12px 6px; text-align: center; }
.garage-sum div + div { border-inline-start: 1px solid #efefef; }
.garage-sum b { display: block; font-size: 16px; }
.garage-sum span { color: #8e8e8e; font-size: 12px; }
.garage-row {
  width: 100%; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center;
  border: 0; border-bottom: 1px solid #efefef; background: #fff; text-align: start; padding: 12px 16px;
}
.garage-row img { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; background: #eee; }
.garage-row b { display: block; font-size: 16px; }
.garage-row small { display: block; color: #8e8e8e; font-size: 13px; margin-top: 2px; }
.garage-row .drive { color: #0095f6; font-style: normal; font-weight: 700; }
.car-photo {
  position: relative; display: block; height: 210px; margin: 8px 16px 16px;
  border-radius: 18px; background: #f3f3f3; overflow: hidden; color: #8e8e8e; font-weight: 650;
}
.car-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-photo span { position: absolute; inset: 0; display: grid; place-items: center; }
.car-photo em {
  position: absolute; right: 10px; bottom: 10px; z-index: 1; pointer-events: none;
  font-style: normal; font-size: 12px; font-weight: 700; color: #1d1d1f;
  background: rgba(255,255,255,.94); border-radius: 999px; padding: 6px 10px;
}
.car-photo input {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; padding: 0;
  border: 0; opacity: 0; cursor: pointer; font-size: 0; color: transparent;
}
.car-photo input::file-selector-button,
.car-photo input::-webkit-file-upload-button { display: none; }
.car-form .car-label { margin: 14px 16px 8px; font-size: 12px; font-weight: 700; color: #8e8e8e; }
.car-form .car-hint { margin-top: 0; }
.pick-row, .color-row, .pick-wrap { display: flex; gap: 8px; padding: 0 16px; }
.pick-row { overflow: auto; scrollbar-width: none; padding-bottom: 2px; }
.pick-row::-webkit-scrollbar { display: none; }
.pick-row button, .pick-wrap button {
  flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #efefef;
  background: #fff; font: inherit; font-size: 14px; font-weight: 650; color: #1d1d1f;
}
.pick-row button.on, .pick-wrap button.on { background: #111; color: #fff; border-color: #111; }
.pick-wrap { flex-wrap: wrap; }
.color-row { gap: 10px; overflow: auto; scrollbar-width: none; padding-bottom: 4px; }
.color-row::-webkit-scrollbar { display: none; }
.swatch {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111; }
.car-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
.car-split > div { min-width: 0; }
.car-form .field.tall textarea { height: auto; min-height: 96px; }
.car-form .field input::placeholder, .car-form .field textarea::placeholder { color: #b0b0b5; }
.event-sheet { padding: 16px 16px 0; }
.event-sheet h2 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.event-kicker { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: #8e8e8e; font-size: 13px; font-weight: 700; }
.event-kicker.live { color: #ed4956; }
.event-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #ed4956; box-shadow: 0 0 0 0 rgba(237,73,86,.55); animation: livepulse 1.6s ease-out infinite; }
.event-page .prof-stats b { font-size: 15px; }
.event-actions { display: flex; gap: 8px; padding: 4px 16px 8px; }
.event-actions .btn { flex: 1; width: auto; height: 44px; margin: 0; border-radius: 10px; background: #0095f6; color: #fff; font-weight: 700; }
.event-actions .btn.quiet, .event-actions .btn.primary.quiet { background: #efefef; color: #1d1d1f; }
.event-actions .btn[disabled] { opacity: .7; }
.event-links { display: flex; gap: 8px; padding: 0 16px 14px; }
.event-links a, .event-links button {
  flex: 1; height: 40px; border: 1px solid #efefef; border-radius: 10px; background: #fff;
  color: inherit; font-weight: 650; text-decoration: none; display: grid; place-items: center;
}
.event-links button[disabled] { color: #8e8e8e; }
.event-note { margin: 0; padding: 10px 16px 0; font-size: 15px; line-height: 1.45; }
.event-count { margin: 8px 0 0; font-size: 14px; font-weight: 650; }
.event-host {
  width: 100%; display: flex; align-items: center; gap: 12px;
  margin-top: 8px; padding: 12px 16px; border: 0; border-top: 1px solid #efefef;
  background: #fff; text-align: start;
}
.event-host small { display: block; color: #8e8e8e; font-size: 12px; font-weight: 650; }
.event-host b { display: block; margin-top: 1px; font-size: 15px; }
.event-facts { padding: 4px 16px 8px; }
.event-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #efefef; }
.event-facts span { color: #8e8e8e; font-size: 14px; font-weight: 650; }
.event-facts b { font-size: 14px; font-weight: 650; text-align: end; }
.event-menu { border-top: 1px solid #efefef; margin-top: 4px; }
.event-menu button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; border-bottom: 1px solid #efefef; padding: 14px 16px; text-align: start;
}
.event-menu b { font-size: 15px; font-weight: 650; }
.event-menu span { color: #8e8e8e; font-size: 13px; font-weight: 500; text-align: end; }
.event-menu button[disabled] b, .event-menu button[disabled] span { color: #8e8e8e; }
.event-fact p { font-weight: 700; }
.event-fact small { font-size: 14px; color: #1d1d1f; }
.event-cover {
  position: relative; display: grid; place-items: center; height: 210px; margin: 8px 16px 14px;
  border-radius: 18px; background: #f3f3f3; overflow: hidden; color: #8e8e8e; font-weight: 650;
}
.event-cover img { width: 100%; height: 100%; object-fit: cover; }
.event-cover input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.event-cover em {
  position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.94); border-radius: 999px; padding: 6px 10px; color: #1d1d1f;
}
.event-when { display: grid; gap: 8px; padding: 0 16px; min-width: 0; }
.event-when .field { margin: 0; min-width: 0; overflow: hidden; }
.event-when .field span { flex: none; color: #8e8e8e; font-size: 14px; font-weight: 650; }
.event-create .field input[type="date"], .event-create .field input[type="time"] {
  flex: 1 1 0; width: 0; min-width: 0; max-width: 100%;
  font: inherit; font-size: 16px; min-height: 54px; text-align: end;
}
.event-create .event-cities { padding-bottom: 4px; }
.event-host { margin-top: 8px; }

.toast {
  position: absolute; left: 16px; right: 16px; bottom: 88px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 14px; padding: 12px 14px; font-size: 14px;
}

.ig-top .share {
  background: none; border: 0; color: #111; font-weight: 700; font-size: 15px;
  padding: 0; min-width: 52px; text-align: end;
}
.ig-top .share:disabled { color: #c7c7c7; }
.post-photo.add-shot {
  display: grid; place-items: center; aspect-ratio: 1; background: #fafafa;
  border-bottom: 1px solid #efefef; color: #111; cursor: pointer; position: relative;
}
.add-copy { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 24px; }
.add-copy i {
  width: 72px; height: 72px; border-radius: 50%; background: #fff;
  border: 1px solid #e6e6e6; display: grid; place-items: center; margin-bottom: 6px;
}
.add-copy i svg { width: 30px; height: 30px; }
.add-copy b { font-size: 17px; font-weight: 700; }
.add-copy small { max-width: 230px; color: #8e8e8e; font-size: 14px; font-weight: 500; line-height: 1.4; }
.compose-cap {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border-bottom: 1px solid #efefef;
}
.compose-cap textarea {
  flex: 1; border: 0; outline: none; resize: none; min-height: 72px;
  font: inherit; font-size: 15px; line-height: 1.4; padding: 8px 0 0; background: transparent;
}
.compose-cap textarea::placeholder { color: #b0b0b5; }
.compose-cap .avatar.sm.bare {
  width: 36px; height: 36px; background: #f3f3f3; color: #1d1d1f; box-shadow: none; flex: none;
}
.compose-cap .avatar.sm.bare svg { width: 20px; height: 20px; }
.loc-row {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 16px; height: 52px;
  border-bottom: 1px solid #efefef; background: #fff;
}
.loc-row span { font-weight: 650; }
.loc-row input {
  flex: 1; border: 0; outline: none; text-align: end; font: inherit; background: transparent; min-width: 0;
}
.loc-row input::placeholder { color: #b0b0b5; }
.compose-cars { padding: 12px 16px 16px; }
.avatar .blank { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #f3f3f3; }
.avatar .blank svg { width: 22px; height: 22px; }
.avatar.sm .blank svg { width: 18px; height: 18px; }
.highlights .avatar.mark { background: #fff; box-shadow: inset 0 0 0 1px #e6e6e6; }
.highlights .avatar.mark .blank { background: #fff; box-shadow: none; }
.highlights .avatar.mark svg { width: 22px; height: 22px; }
.prof-cover.empty { background: #fafafa; border-bottom: 1px solid #efefef; }
.cover-hint { position: absolute; left: 16px; bottom: 16px; color: #8e8e8e; font-size: 13px; font-weight: 650; }
.info-row { padding: 16px; border-bottom: 1px solid #efefef; }
.info-row b { display: block; font-size: 16px; }
.info-row p { margin: 4px 0 0; color: #8e8e8e; font-size: 14px; line-height: 1.45; }
.cmt.set { align-items: center; }
.cmt.set .go { margin-inline-start: auto; transform: scaleX(-1); color: #c7c7c7; display: grid; }
.cmt.set .go svg { width: 18px; height: 18px; }
.club-field {
  display: block; padding: 16px 16px 14px; border-bottom: 1px solid #efefef;
}
.club-field span {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #8e8e8e;
}
.club-field input {
  width: 100%; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 17px; font-weight: 650; padding: 0;
}
.club-field input::placeholder { color: #b0b0b5; font-weight: 500; }
.emirate-list { background: #fff; }
.emirate {
  width: 100%; height: 48px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; border: 0; border-bottom: 1px solid #efefef; background: #fff;
  font: inherit; font-size: 16px; text-align: start;
}
.emirate.on { font-weight: 700; }
.emirate svg { width: 18px; height: 18px; flex: none; }
.club-about { display: block; padding: 4px 16px 12px; border-bottom: 1px solid #efefef; }
.club-about textarea {
  width: 100%; min-height: 72px; border: 0; outline: none; resize: none;
  font: inherit; font-size: 16px; line-height: 1.4; background: transparent; padding: 8px 0 0;
}
.club-about textarea::placeholder { color: #b0b0b5; }
.club-create .ig-top .share { min-width: 64px; }
.edit-photo { position: relative; overflow: hidden; container-type: inline-size; }
.edit-photo img { display: block; }
.screen.compose .edit-photo.post-photo {
  aspect-ratio: auto; height: 46vh; max-height: 46vh; background: #111;
}
.screen.compose .edit-photo img { width: 100%; height: 100%; object-fit: contain; }
.screen.compose .filter-row { position: sticky; bottom: 0; z-index: 5; background: #fff; }
.ink-live {
  position: absolute; z-index: 4; max-width: 86%;
  transform: translate(-50%, -50%);
  text-align: center; font-size: calc(7cqw * var(--ink-s, 1)); font-weight: 750; line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.45); cursor: grab; touch-action: none;
  word-break: break-word; user-select: none;
}
.ink-live.off { display: none; }
.ink-panel {
  margin: 4px 16px 8px; padding: 12px; background: #fff;
  border: 1px solid #efefef; border-radius: 18px;
}
.ink-write { display: block; }
.ink-write input {
  width: 100%; height: 44px; border: 0; outline: none; border-radius: 12px;
  background: #f6f6f6; padding: 0 14px; font: inherit; font-size: 16px; font-weight: 650;
}
.ink-write input::placeholder { color: #b0b0b5; font-weight: 500; }
.ink-size { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ink-size span { color: #111; font-weight: 750; font-size: 13px; line-height: 1; }
.ink-size span.lg { font-size: 22px; }
.ink-size input[type="range"] {
  flex: 1; height: 28px; margin: 0; accent-color: #111; cursor: pointer;
}
.mention-row { display: flex; gap: 8px; overflow: auto; padding: 0 16px 10px; scrollbar-width: none; }
.mention-row::-webkit-scrollbar { display: none; }
.mention-row button {
  flex: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #efefef;
  background: #fff; font: inherit; font-size: 14px; font-weight: 650;
}
.mentions { padding: 0 8px; }
.mentions[hidden] { display: none; }
.tag.mention { color: #00376b; font-weight: 650; }
.drive-live { margin: 4px 16px 16px; }
.belt-note {
  margin: 0 0 10px; padding: 14px 14px 13px; border-radius: 18px; background: #111; color: #fff;
}
.belt-note b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.belt-note span { display: block; margin-top: 4px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.35; font-weight: 500; }
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gauges div {
  background: #fff; border: 1px solid #efefef; border-radius: 18px; padding: 14px 14px 12px;
}
.gauges b {
  display: block; font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.gauges span { display: block; margin-top: 6px; color: #8e8e8e; font-size: 13px; font-weight: 650; }
.unit-pick {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; padding: 3px;
  background: #efefef; border-radius: 999px;
}
.unit-pick button {
  height: 32px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: 13px; font-weight: 700; color: #8e8e8e;
}
.unit-pick button.on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.see-me {
  width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid #efefef; border-radius: 18px; background: #fff;
  text-align: start; font: inherit;
}
.see-me b { display: block; font-size: 15px; }
.see-me small { display: block; margin-top: 2px; color: #8e8e8e; font-size: 12px; font-weight: 500; }
.see-me i {
  margin-inline-start: auto; width: 48px; height: 28px; border-radius: 999px;
  background: #e5e5ea; position: relative; flex: none;
}
.see-me i::after {
  content: ""; position: absolute; top: 2px; inset-inline-start: 2px;
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.see-me.on i { background: #111; }
.see-me.on i::after { transform: translateX(20px); }
[dir="rtl"] .see-me.on i::after { transform: translateX(-20px); }
.edit-tools { display: flex; gap: 8px; padding: 12px 16px 8px; }
.edit-tools button {
  flex: 1; height: 36px; border-radius: 999px; border: 1px solid #efefef;
  background: #fff; font: inherit; font-size: 14px; font-weight: 700;
}
.edit-tools button.on { background: #111; color: #fff; border-color: #111; }
.filter-row { display: flex; gap: 12px; overflow: auto; padding: 4px 16px 14px; }
.filter-row button { width: 68px; flex: none; border: 0; background: none; padding: 0; color: #8e8e8e; }
.filter-row img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; display: block; }
.filter-row button.on img { border-color: #111; }
.filter-row small { display: block; margin-top: 4px; font-size: 11px; }
.filter-row button.on small { color: #111; font-weight: 700; }
.ink-colors { display: flex; gap: 10px; padding: 12px 2px 2px; }
.ink-colors button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #dbdbdb; padding: 0; }
.ink-colors button.on { box-shadow: 0 0 0 2px #111; }
.home-tools { display: flex; align-items: center; gap: 2px; }
.home-tools .icon-plain { position: relative; }
.home-tools .nav-dot { top: 4px; right: 4px; }
.map-live {
  width: calc(100% - 32px); margin: 8px 16px 0; display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border: 0; border-radius: 14px; background: #111; color: #fff; text-align: start;
}
.map-live i { width: 8px; height: 8px; border-radius: 50%; background: #3dd68c; flex: none; }
.map-live b { font-size: 14px; }
.map-live span { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 500; }
.map-status { margin: 12px 16px; padding: 14px; border-radius: 18px; background: #f6f6f6; }
.map-status.on { background: #111; color: #fff; }
.map-status b { display: block; font-size: 16px; }
.map-status span { display: block; margin-top: 4px; color: #8e8e8e; font-size: 13px; line-height: 1.35; }
.map-status.on span { color: rgba(255,255,255,.72); }
.map-note b { display: block; font-size: 16px; }
.map-note p { margin: 6px 0 0; color: #8e8e8e; font-size: 14px; line-height: 1.4; }
.arrange {
  display: block; margin: 0 16px 8px auto; border: 0; background: none;
  color: #111; font-weight: 700; font-size: 14px;
}
.tile-wrap { position: relative; aspect-ratio: 1; min-width: 0; }
.tile-wrap .tile { width: 100%; height: 100%; }
.pin-mark {
  position: absolute; z-index: 2; top: 6px; left: 6px; padding: 2px 6px; border-radius: 999px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 10px; font-weight: 700; font-style: normal;
}
.tile-move {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 6px;
}
.tile-move button {
  width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92);
  font-size: 16px; line-height: 1;
}
.pin-tag {
  display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 999px;
  background: #111; color: #fff; font-size: 10px; font-weight: 700; vertical-align: 1px;
}
.story .avatar.close { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f7a4d; }
.story-stick {
  position: relative; z-index: 3; margin: auto 48px 12px; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.story-card, .story-chip {
  background: rgba(0,0,0,.55); color: #fff; border-radius: 16px; padding: 10px 12px; text-align: center;
}
.story-card { width: min(240px, 100%); }
.story-card b { display: block; margin-bottom: 8px; }
.story-card button, .story-card input {
  width: 100%; margin-top: 6px; height: 36px; border: 0; border-radius: 10px; background: #fff; color: #111; font-weight: 700;
}
.story-card button.on { background: #111; color: #fff; }
.story-chip { font-weight: 700; font-size: 13px; }
.story-chip.green { background: #1f7a4d; }
.story-save {
  position: relative; z-index: 3; margin: 0 16px 18px auto; height: 36px; padding: 0 14px;
  border: 0; border-radius: 999px; background: #fff; color: #111; font-weight: 700;
}
.story-draft { min-height: 280px; background: #111; }
.story-draft .story-chip { position: absolute; left: 12px; bottom: 12px; z-index: 2; }
.edit-tools { flex-wrap: wrap; }
.edit-tools button { flex: 1 1 30%; }
.highlights.real { padding-top: 0; }
.capture-gate { display: grid; gap: 10px; padding: 16px; }
.capture-choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 18px; border: 1px solid #efefef; border-radius: 18px; background: #fff;
  text-align: start; font: inherit; position: relative;
}
.capture-choice i { width: 28px; height: 28px; display: grid; }
.capture-choice svg { width: 28px; height: 28px; }
.capture-choice b { font-size: 17px; }
.capture-choice small { color: #8e8e8e; font-size: 13px; }
.capture-choice input { position: absolute; inset: 0; opacity: 0; font-size: 0; color: transparent; }
.cam-screen { background: #000; color: #fff; position: relative; height: 100%; }
.cam-screen #cam { width: 100%; height: 100%; object-fit: cover; background: #111; }
.cam-top, .cam-bar, .cam-modes { position: absolute; left: 0; right: 0; z-index: 2; display: flex; align-items: center; }
.cam-top { top: 0; justify-content: space-between; padding: 12px 16px; }
.cam-top button, .cam-side { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; }
.cam-top svg, .cam-side svg { width: 22px; height: 22px; }
.cam-modes { bottom: 108px; justify-content: center; gap: 8px; }
.cam-modes button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.7); font-weight: 700; }
.cam-modes button.on { background: #fff; color: #111; }
.cam-bar { bottom: 28px; justify-content: space-between; padding: 0 36px; }
.cam-side { display: grid; place-items: center; position: relative; overflow: hidden; }
.cam-side input { position: absolute; inset: 0; opacity: 0; }
#shutter { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #fff; background: #fff; padding: 0; }
#shutter.rec { background: #ff3b30; border-color: #ff3b30; box-shadow: 0 0 0 6px rgba(255,255,255,.35); }
.video-post video { width: 100%; height: 100%; object-fit: cover; background: #111; }
.sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; height: 32px; padding: 0 12px;
  border: 0; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-weight: 700; font-size: 13px;
}
.ink-size input { flex: 1; min-width: 0; height: 40px; border: 0; border-radius: 12px; background: #f6f6f6; padding: 0 12px; }
.screen.map-page { padding: 0; overflow: hidden; position: relative; background: #e7e3de; }
.map-page #osm { position: absolute; inset: 0; z-index: 1; background: #e7e3de; }
.map-page .leaflet-container { width: 100%; height: 100%; background: #e7e3de; font: inherit; }
.map-page .leaflet-container img { max-width: none !important; }
.map-page .leaflet-bottom { bottom: 248px; }
.map-page .leaflet-control-attribution { background: rgba(255,255,255,.88); font-size: 10px; margin: 0 0 0 8px; }
.map-fallback { margin: 120px 24px; color: #3a3a3c; font-size: 14px; }
.map-top { position: absolute; z-index: 500; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; }
.map-top .back, .map-locate {
  width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: 50%;
  background: #fff; color: #111; box-shadow: 0 2px 12px rgba(0,0,0,.14); display: grid; place-items: center;
}
.map-locate svg { width: 20px; height: 20px; display: block; }
.map-pill { flex: 1; min-width: 0; background: #111; color: #fff; border-radius: 999px; padding: 8px 14px; }
.map-pill b { display: block; font-size: 13px; font-weight: 700; }
.map-pill span { display: block; color: rgba(255,255,255,.72); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-sheet {
  position: absolute; z-index: 500; left: 12px; right: 12px; bottom: 12px;
  background: rgba(255,255,255,.96); border-radius: 22px; padding: 14px;
  box-shadow: 0 10px 32px rgba(0,0,0,.16);
}
.map-sheet p { margin: 0 0 12px; color: #3a3a3c; font-size: 13px; line-height: 1.45; }
.map-sheet .chips { margin: 0 0 12px; }
.map-share { width: 100%; height: 46px; border: 0; border-radius: 12px; background: #111; color: #fff; font: inherit; font-weight: 650; font-size: 15px; }
.map-pin { background: transparent !important; border: 0 !important; }
.map-pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #111; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.28); }
.map-pin.me i { width: 18px; height: 18px; margin: -2px; box-shadow: 0 0 0 6px rgba(17,17,17,.16), 0 0 0 3px #fff; }
.map-pin.place i { width: 10px; height: 10px; background: #fff; box-shadow: 0 0 0 2px #111; }
.map-pin b {
  position: absolute; left: 18px; top: -4px; white-space: nowrap; background: #fff; color: #111;
  font-size: 11px; font-weight: 700; line-height: 1.2; padding: 3px 7px; border-radius: 999px;
  box-shadow: 0 1px 6px rgba(0,0,0,.16);
}
.map-pin.ridepin b { left: 46px; top: 8px; }
.ride { position: relative; display: block; width: 48px; height: 48px; }
.ride.car { transform-origin: 50% 72%; }
.ride.car .shadow { position: absolute; left: 8px; top: 34px; width: 32px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.28); filter: blur(1.5px); }
.ride.car .body {
  position: absolute; left: 12px; top: 4px; width: 24px; height: 38px; border-radius: 9px 9px 6px 6px;
  background: linear-gradient(90deg, #b9b9b9, #fff 42%, #8d8d8d);
  transform: perspective(70px) rotateX(52deg);
  box-shadow: 0 10px 0 #111, inset 0 0 0 1px rgba(255,255,255,.7);
}
.ride.car .glass { position: absolute; left: 3px; right: 3px; top: 9px; height: 11px; border-radius: 3px; background: linear-gradient(#d7f1ff, #2f6fed); }
.ride.car .lamp { position: absolute; left: 3px; right: 3px; bottom: 3px; height: 3px; border-radius: 2px; background: #ffe14a; box-shadow: 0 0 6px #ffe14a; }
.ride.fun, .ride.mine { display: grid; place-items: center; width: 40px; height: 40px; margin: 4px; border-radius: 14px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.28); }
.ride.fun svg { width: 24px; height: 24px; stroke: #111; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ride.mine img, .map-page .leaflet-container .ride.mine img { width: 40px; height: 40px; max-width: 40px; object-fit: cover; border-radius: 14px; }
.mark-row { display: flex; gap: 8px; overflow: auto; margin: 0 0 10px; padding-bottom: 2px; }
.mark-row .mark {
  flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ececec; border-radius: 14px; background: #fff;
  display: grid; place-items: center; position: relative; padding: 0; overflow: hidden; color: #111;
}
.mark-row .mark.on { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.mark-row .ride { width: 36px; height: 36px; }
.mark-row .ride.car { transform: scale(.62) !important; }
.mark-row .ride.fun, .mark-row .ride.mine { width: 32px; height: 32px; margin: 0; box-shadow: none; }
.mark-row .ride.fun svg { width: 20px; height: 20px; }
.mark-row label.mark { font-size: 9px; font-weight: 750; letter-spacing: .02em; text-align: center; line-height: 1.1; }
.mark-row label.mark input { position: absolute; inset: 0; opacity: 0; }
.screen.ig.gate > .btn { background: #111; color: #fff; height: 52px; border-radius: 14px; font-weight: 700; }
.screen.ig.gate > .sub { max-width: 280px; }
