:root {
  --bg: #d7c1a2;
  --phone: #0f0f0f;
  --screen: #ffffff;
  --text: #191919;
  --muted: #767676;
  --line: #ececec;
  --primary: #f28c28;
  --primary-deep: #e66f14;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  --app-vh: 100dvh;
  --bottom-nav-height: 86px;
  --bottom-safe-space: calc(var(--bottom-nav-height) + 30px + env(safe-area-inset-bottom, 0px));
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
  font-family: "Trebuchet MS", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #a98b68 0%, #d6c1a6 45%, #c7b091 100%);
  overscroll-behavior: none;
}

button,
input {
  font: inherit;
}

.stage {
  min-height: var(--app-vh);
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: none;
}

.phone {
  width: 390px;
  height: min(820px, var(--app-vh));
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 46px;
  background: var(--phone);
  box-shadow: var(--shadow);
  padding: 12px;
}

.notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 178px;
  height: 30px;
  background: #090909;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.status-bar,
.app,
.bottom-nav,
.home-indicator,
.fab {
  position: relative;
  z-index: 2;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 10px 18px 0;
  color: white;
  font-size: 14px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icons span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.8px solid white;
  border-radius: 50%;
}

.status-icons .battery {
  width: 18px;
  border-radius: 4px;
}

.app {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 8px;
  background: var(--screen);
  height: auto;
  border-radius: 34px;
  padding: 18px 16px calc(var(--bottom-safe-space) + 8px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app[data-page="home"] {
  overflow: hidden;
  padding-top: 18px;
}

.app::-webkit-scrollbar {
  display: none;
}

.app.is-swipe-preview {
  box-shadow: -18px 0 40px rgba(15, 15, 15, 0.1);
}

body.is-workout-live .bottom-nav,
body.is-workout-live .fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
}

body.is-workout-live .app {
  padding: max(env(safe-area-inset-top), 12px) 16px calc(env(safe-area-inset-bottom) + 22px);
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdfb, #fff6ee 46%, #fffdf9);
  overflow: hidden;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand-copy {
  min-width: 0;
  flex: 0 1 auto;
}

.home-screen {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

.home-static {
  flex: 0 0 auto;
  background: var(--screen);
}

.home-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-safe-space) + 8px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-scroll-area::-webkit-scrollbar {
  display: none;
}

.brand h1,
.brand p,
.section-head h2,
.card-copy h3,
.card-copy p {
  margin: 0;
}

.brand h1 {
  font-size: clamp(24px, 8.6vw, 38px);
  line-height: 0.95;
  white-space: nowrap;
}

.brand p {
  margin-top: 2px;
  color: #3d3d3d;
  font-weight: 700;
  font-size: clamp(16px, 4.8vw, 24px);
  white-space: nowrap;
}

.top-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.top-utility--home {
  margin-top: 0;
}

.location-switch {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-align: left;
}

.location-switch strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.top-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.utility-chip,
.identity-chip {
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  background: #f3f3f3;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
}

.utility-chip--accent,
.identity-chip {
  background: rgba(242, 140, 40, 0.14);
  color: #9d580f;
}

.locate-icon {
  width: 14px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.locate-icon::before,
.locate-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.locate-icon::before {
  width: 7px;
  height: 1.6px;
}

.locate-icon::after {
  width: 1.6px;
  height: 7px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(180deg, #ffb548, var(--primary-deep));
}

.location-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  font-size: 15px;
}

.pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.18);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #f5f6f7;
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #8f8f8f;
  font-size: 15px;
}

.search-box button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
}

.search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid #9b9b9b;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: #9b9b9b;
  transform: rotate(45deg);
  border-radius: 999px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  border-bottom: 1px solid var(--line);
}

.tab {
  border: 0;
  background: transparent;
  padding: 12px 0 13px;
  font-size: 18px;
  color: #555;
  position: relative;
}

.tab.is-active {
  color: #111;
  font-weight: 700;
}

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
}

.section-head h2 {
  font-size: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin-top: 10px;
}

.home-scroll-area .card-grid {
  margin-top: 8px;
}

.card {
  border: 1px solid #ededed;
  border-radius: 16px;
  background: white;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.06);
}

.card--interactive {
  cursor: pointer;
}

.card-cover {
  position: relative;
  height: 116px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.card-cover-image,
.profile-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 160ms ease;
}

.card-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.18));
}

.image-shell {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #ececec, #f6f6f6);
}

.image-shell::before,
.image-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.image-shell::before {
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.72) 34%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, #ebebeb, #f5f5f5);
  background-size: 180% 100%, 100% 100%;
  animation: image-shell-shimmer 1.4s linear infinite;
}

.image-shell::after {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #c7c7c7 0 18%, transparent 19%),
    linear-gradient(180deg, transparent 0 40%, #c7c7c7 41% 72%, transparent 73%),
    linear-gradient(180deg, #f6f6f6, #e7e7e7);
  box-shadow: 0 10px 22px rgba(20, 20, 20, 0.06);
}

.image-shell--avatar::after {
  width: 34px;
  height: 34px;
}

.image-shell.is-loaded::before,
.image-shell.is-loaded::after {
  opacity: 0;
}

.image-shell.is-failed::before,
.image-shell.is-failed::after {
  opacity: 1;
}

.image-shell .avatar-image,
.image-shell .card-cover-image,
.image-shell .profile-cover-image {
  opacity: 0;
}

.image-shell.is-loaded .avatar-image,
.image-shell.is-loaded .card-cover-image,
.image-shell.is-loaded .profile-cover-image {
  opacity: 1;
}

.card-cover.gym {
  background:
    linear-gradient(135deg, rgba(20, 20, 20, 0.18), rgba(20, 20, 20, 0.02)),
    linear-gradient(180deg, #8a8a8a 0%, #dddddd 52%, #b8b8b8 100%);
}

.card-cover.coach {
  background:
    radial-gradient(circle at 50% 24%, #ffd7bb 0 20%, transparent 21%),
    linear-gradient(180deg, transparent 0 28%, #1d1d1d 29% 62%, transparent 63%),
    linear-gradient(180deg, #f0f0f0 0%, #fcfcfc 100%);
}

.card-copy {
  padding: 10px 10px 12px;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-title-copy {
  min-width: 0;
  flex: 1;
}

.card-copy h3 {
  font-size: 14px;
  line-height: 1.4;
  min-height: 39px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.card-role {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar--card {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.meta-line,
.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.meta-line {
  margin-top: 6px;
  font-size: 12px;
  color: #6b6b6b;
}

.desc {
  margin-top: 4px;
  font-size: 12px;
  color: #7a7a7a;
  min-height: 34px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.star {
  color: var(--primary);
  font-weight: 700;
}

.price-line {
  margin-top: 8px;
  align-items: flex-end;
}

.price {
  color: #a85d10;
  font-size: 15px;
  font-weight: 800;
}

.cta {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  font-size: 12px;
  background: linear-gradient(180deg, #ffab42, var(--primary-deep));
}

.page-header,
.booking-top,
.booking-bottom,
.summary-card,
.profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-header {
  margin-bottom: 14px;
}

.page-header h1,
.page-label,
.map-card h2,
.discover-topbar h2,
.map-card p,
.discover-topbar p,
.info-card p,
.profile-meta p {
  margin: 0;
}

.page-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f6f6f6;
  color: #444;
}

.search-box--compact {
  margin-top: 0;
}

.mini-button--accent {
  color: white;
  background: linear-gradient(180deg, #ffab42, var(--primary-deep));
}

.location-card,
.helper-card,
.role-entry {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.05);
}

.location-card,
.helper-card {
  margin-top: 14px;
  padding: 16px;
}

.location-card h2,
.helper-card p,
.role-entry p {
  margin: 0;
}

.location-card h2 {
  margin-top: 4px;
  font-size: 22px;
}

.location-card p,
.helper-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.section-title-row h3 {
  margin: 0;
}

.text-link {
  border: 0;
  background: transparent;
  color: #8a6227;
  padding: 0;
}

.tag-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.mini-tag {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: #f5f5f5;
  color: #666;
}

.mini-tag.is-active {
  background: rgba(242, 140, 40, 0.14);
  color: #9d580f;
}

.map-card,
.info-card,
.summary-card,
.booking-card,
.detail-card,
.profile-card,
.menu-item,
.community-card,
.discover-avatar-card,
.discover-feed-card,
.profile-hero,
.rating-card,
.review-card,
.swipe-tip,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.05);
}

.map-card {
  margin-top: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(242, 140, 40, 0.12), rgba(242, 140, 40, 0.02)),
    linear-gradient(180deg, #fffdf8, #ffffff);
}

.map-card h2,
.location-card h2 {
  margin-top: 4px;
  font-size: 24px;
}

.map-card p,
.location-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.stack-list,
.menu-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.discover-avatar-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-top: 12px;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.discover-avatar-rail::-webkit-scrollbar {
  display: none;
}

.discover-avatar-card {
  min-width: 112px;
  min-height: 178px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  text-align: center;
  scroll-snap-align: start;
}

.discover-feed-top,
.swipe-tip,
.swipe-tip-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.discover-avatar-button,
.discover-feed-author {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  color: inherit;
}

.discover-avatar-button {
  flex: 1;
}

.discover-avatar-button strong,
.discover-feed-author strong {
  display: block;
}

.discover-avatar-button p,
.discover-feed-author p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.section-title-row--discover-feed {
  margin-top: 20px;
}

.section-title-row--discover-recommended {
  margin-top: 6px;
}

.avatar--discover {
  width: 58px;
  height: 58px;
  font-size: 24px;
  box-shadow: 0 10px 18px rgba(230, 111, 20, 0.2);
}

.avatar--following {
  width: 54px;
  height: 54px;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.08);
}

.discover-avatar-card .follow-button {
  width: 100%;
  margin-top: auto;
}

.follow-state {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6f4f1;
  color: #6b5a45;
  font-size: 12px;
  font-weight: 600;
}

.discover-feed-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.discover-feed-card {
  padding: 16px;
}

.discover-feed-author {
  flex-direction: row;
  align-items: center;
  text-align: left;
}

.discover-feed-content {
  margin: 12px 0 0;
  line-height: 1.6;
}

.discover-feed-meta {
  margin-top: 12px;
}

.discover-feed-actions {
  margin-top: 10px;
}

.empty-card--compact {
  min-width: 220px;
  padding: 16px;
}

.managed-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.managed-chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f2f2f2;
  color: #666;
}

.managed-chip.is-active {
  background: rgba(242, 140, 40, 0.16);
  color: #9d580f;
  font-weight: 700;
}

.info-card {
  padding: 15px;
}

.info-card strong,
.booking-card strong,
.profile-meta strong {
  display: block;
}

.info-card p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.info-card span {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #8c5c19;
}

.info-card--teal {
  background:
    linear-gradient(135deg, rgba(41, 153, 142, 0.12), rgba(41, 153, 142, 0.02)),
    linear-gradient(180deg, #ffffff, #fbffff);
}

.community-card {
  padding: 16px;
}

.community-head,
.community-actions,
.review-head,
.timeline-head,
.profile-title-row,
.profile-actions,
.profile-stats,
.community-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.community-head {
  align-items: flex-start;
}

.community-identity {
  display: flex;
  gap: 12px;
  align-items: center;
}

.community-identity p,
.community-bio,
.review-card p,
.timeline-card p,
.profile-handle,
.profile-bio,
.rating-desc {
  margin: 0;
}

.community-identity p,
.community-bio,
.community-meta span,
.profile-handle,
.profile-bio,
.rating-desc,
.timeline-card small {
  color: var(--muted);
}

.community-bio {
  margin-top: 10px;
  line-height: 1.5;
}

.community-meta {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
}

.community-meta span {
  font-size: 12px;
}

.community-actions {
  margin-top: 12px;
  justify-content: flex-start;
}

.follow-button {
  min-width: 76px;
  height: 34px;
  border: 1px solid rgba(230, 111, 20, 0.2);
  border-radius: 999px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #9d580f;
  background: #fff4e2;
}

.follow-button.is-active {
  color: #6b5a45;
  border-color: #e7e0d8;
  background: #f6f4f1;
}

.follow-button--card {
  width: 72px;
  min-width: 72px;
  height: 32px;
  padding: 0;
  flex-shrink: 0;
  align-self: flex-end;
}

.summary-card {
  margin-top: 4px;
  padding: 16px;
}

.detail-card {
  margin-top: 16px;
  padding: 16px;
}

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

.detail-item {
  padding: 14px;
  border-radius: 16px;
  background: #faf7f1;
}

.detail-item span,
.detail-item p {
  color: var(--muted);
}

.detail-item span {
  display: block;
  font-size: 12px;
}

.detail-item strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.detail-item p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.detail-item--price {
  border: 1px solid #efe6d9;
  background: linear-gradient(180deg, #fffaf4, #ffffff);
}

.helper-note--detail {
  margin-top: 12px;
}

.summary-card div {
  flex: 1;
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.summary-card strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.summary-card--profile strong {
  font-size: 22px;
}

.result-tip {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.booking-card {
  padding: 16px;
}

.booking-card p {
  margin: 8px 0 14px;
  color: var(--muted);
}

.status-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.14);
  color: #9d580f;
  font-size: 12px;
}

.booking-bottom span {
  color: var(--muted);
  font-size: 13px;
}

.profile-card {
  justify-content: flex-start;
  margin-top: 4px;
  padding: 16px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  color: white;
  font-weight: 700;
  background: linear-gradient(180deg, #ffab42, var(--primary-deep));
}

.avatar--photo {
  background: transparent;
}

.avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--large {
  width: 68px;
  height: 68px;
  font-size: 26px;
  position: relative;
  z-index: 2;
}

.profile-meta p {
  margin-top: 5px;
  color: var(--muted);
}

.profile-hero {
  overflow: hidden;
  padding: 0;
}

.profile-cover {
  height: 110px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 22%),
    linear-gradient(135deg, rgba(242, 140, 40, 0.95), rgba(47, 140, 136, 0.85));
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.16));
}

.profile-hero-content {
  padding: 0 16px 16px;
  margin-top: -16px;
  position: relative;
  z-index: 2;
}

.profile-heading {
  margin-top: 10px;
}

.profile-title-row h2 {
  margin: 0;
  font-size: 24px;
}

.role-badge,
.score-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.14);
  color: #9d580f;
  font-size: 12px;
}

.profile-handle {
  margin-top: 6px;
}

.profile-bio {
  margin-top: 8px;
  line-height: 1.5;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.profile-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff3d9;
  color: #8d6425;
  font-size: 12px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.profile-stats div {
  padding: 12px;
  border-radius: 14px;
  background: #faf7f1;
  text-align: center;
}

.profile-stats strong {
  display: block;
  font-size: 22px;
}

.profile-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.community-meta--profile {
  margin-top: 12px;
}

.profile-actions {
  margin-top: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.managed-strip--dashboard {
  margin-bottom: 12px;
}

.dashboard-card,
.account-section,
.moment-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.05);
}

.dashboard-card,
.account-section {
  padding: 16px;
}

.dashboard-profile-row,
.dashboard-profile-main,
.dashboard-stats,
.dashboard-assistant,
.moment-card-head,
.moment-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-profile-main {
  justify-content: flex-start;
}

.dashboard-profile-main h2,
.dashboard-profile-main p,
.dashboard-profile-main span,
.dashboard-assistant p,
.moment-card-head strong,
.moment-card-head span,
.moment-card-foot span {
  margin: 0;
}

.dashboard-profile-main h2 {
  font-size: 22px;
}

.dashboard-profile-main p,
.dashboard-profile-main span,
.dashboard-assistant p,
.moment-card-head span,
.moment-card-foot span {
  color: var(--muted);
}

.dashboard-profile-main p {
  margin-top: 4px;
}

.dashboard-profile-main span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.dashboard-stats {
  margin-top: 16px;
}

.dashboard-stats div {
  flex: 1;
  padding: 14px 10px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(180deg, #fdfaf5, #f8f4ee);
}

.dashboard-stats strong {
  display: block;
  font-size: 24px;
}

.dashboard-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-assistant {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff5e7, #fffaf3);
}

.dashboard-assistant strong {
  display: block;
  font-size: 14px;
}

.dashboard-assistant p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.dashboard-checkin {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.18), transparent 38%),
    linear-gradient(180deg, #fff7ef, #fffdf9);
  border: 1px solid rgba(242, 140, 40, 0.14);
}

.dashboard-checkin--go {
  padding: 18px;
}

.dashboard-checkin-head,
.dashboard-go-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-go-row {
  margin-top: 14px;
  align-items: flex-end;
}

.dashboard-go-copy strong,
.dashboard-go-copy p {
  display: block;
  margin: 0;
}

.dashboard-go-copy strong {
  font-size: 18px;
}

.dashboard-go-copy p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.dashboard-go-button,
.workout-go-button {
  border: 0;
  color: white;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffab42, var(--primary-deep));
  box-shadow: 0 16px 28px rgba(242, 140, 40, 0.24);
}

.dashboard-go-button {
  min-width: 92px;
  height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  flex-shrink: 0;
}

.dashboard-go-button--live {
  background: linear-gradient(180deg, #f6a84a, #f0861f);
}

.dashboard-checkin-copy h3,
.dashboard-checkin-copy p {
  margin: 0;
}

.dashboard-checkin-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: #9d580f;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-checkin-copy h3 {
  margin-top: 10px;
  font-size: 20px;
}

.dashboard-checkin-copy p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-checkin-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dashboard-checkin-pills--toolbar {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.dashboard-checkin-pills--toolbar::-webkit-scrollbar {
  display: none;
}

.dashboard-checkin-pills span,
.checkin-inline-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.1);
  color: #8d561a;
  font-size: 12px;
}

.workout-type-chip {
  border: 1px solid #eee3d7;
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
  background: #fff;
  color: #6a5a45;
  font-size: 13px;
  flex-shrink: 0;
}

.workout-type-chip.is-active {
  border-color: rgba(242, 140, 40, 0.35);
  background: rgba(242, 140, 40, 0.12);
  color: #9d580f;
}

.workout-type-chip.is-empty {
  color: var(--muted);
}

.account-section {
  margin-top: 16px;
}

.helper-card--my-feature {
  margin-top: 12px;
}

.profile-subpage-stack {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.account-tile {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf5, #ffffff);
  padding: 14px 10px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: inherit;
  text-align: center;
}

.account-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #c76512;
  font-size: 16px;
  font-weight: 700;
  background: rgba(242, 140, 40, 0.14);
}

.account-tile strong {
  font-size: 13px;
}

.account-tile span:last-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.checkin-feature-card {
  overflow: hidden;
}

.sport-picker-sheet {
  padding-top: 10px;
}

.sport-picker-handle {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  margin: 0 auto 12px;
  background: #ebe7e0;
}

.section-title-row--sport-picker {
  align-items: flex-start;
}

.sport-picker-section-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.sport-picker-section {
  display: grid;
  gap: 10px;
}

.sport-picker-label {
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
}

.checkin-sport-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.checkin-sport-button {
  border: 1px solid #eee3d4;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fcfaf7);
  padding: 14px 16px;
  color: inherit;
  text-align: left;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon title mark"
    "icon hint mark";
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  box-shadow: 0 10px 22px rgba(20, 20, 20, 0.04);
}

.checkin-sport-button::after {
  content: "";
  grid-area: mark;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ddd5c8;
  background: #fff;
}

.checkin-sport-button.is-active {
  border-color: rgba(242, 140, 40, 0.4);
  background: linear-gradient(180deg, rgba(242, 140, 40, 0.12), #fff8ee);
  box-shadow: 0 12px 24px rgba(242, 140, 40, 0.12);
}

.checkin-sport-button.is-active::after {
  border-color: rgba(242, 140, 40, 0.65);
  background:
    radial-gradient(circle at center, rgba(242, 140, 40, 0.95) 0 48%, transparent 54%),
    #fff;
}

.checkin-sport-icon {
  grid-area: icon;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(242, 140, 40, 0.12);
  color: #a35c12;
  font-size: 15px;
  font-weight: 700;
}

.checkin-sport-button strong,
.checkin-sport-button small {
  margin: 0;
}

.checkin-sport-button strong {
  grid-area: title;
  font-size: 15px;
}

.checkin-sport-button small {
  grid-area: hint;
  color: var(--muted);
  line-height: 1.45;
}

.workout-launcher-list,
.device-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.workout-studio-card {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.12), transparent 34%),
    linear-gradient(180deg, #fff9f3, #ffffff);
}

.workout-studio-head {
  align-items: flex-start;
}

.workout-studio-head h3 {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.18;
}

.workout-type-strip {
  margin-top: 16px;
}

.workout-type-strip--live {
  margin-top: 0;
  margin-bottom: 14px;
}

.workout-start-panel {
  margin-top: 16px;
  border-radius: 28px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.18), transparent 32%),
    linear-gradient(180deg, #fff7ee, #fffaf6 48%, #ffffff);
  border: 1px solid rgba(242, 140, 40, 0.12);
  box-shadow: 0 18px 34px rgba(242, 140, 40, 0.08);
}

.workout-start-copy h2,
.workout-start-copy p,
.workout-start-meta span,
.workout-start-footer span {
  margin: 0;
}

.workout-start-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: #9d580f;
  font-size: 12px;
  font-weight: 700;
}

.workout-start-copy h2 {
  margin-top: 12px;
  font-size: 32px;
  line-height: 1.04;
}

.workout-start-copy p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.52;
}

.workout-start-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.workout-start-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #7a674d;
  font-size: 12px;
}

.workout-go-orb {
  width: 154px;
  height: 154px;
  margin: 20px auto 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 2px;
  color: white;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(180deg, #ffb654, var(--primary-deep));
  box-shadow: 0 22px 38px rgba(242, 140, 40, 0.28);
}

.workout-go-orb small,
.workout-go-orb strong {
  display: block;
  line-height: 1;
}

.workout-go-orb small {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.workout-go-orb strong {
  font-size: 34px;
  font-weight: 800;
}

.workout-start-footer {
  margin-top: 18px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.workout-start-footer span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.workout-launcher-row,
.device-row {
  border: 1px solid #eee4d8;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fcfaf7);
  padding: 14px 16px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  box-shadow: 0 10px 22px rgba(20, 20, 20, 0.04);
}

.workout-launcher-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.workout-launcher-main .checkin-sport-icon {
  flex-shrink: 0;
}

.workout-launcher-main strong,
.workout-launcher-main p,
.device-row strong,
.device-row p {
  margin: 0;
}

.workout-launcher-main p,
.device-row p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.workout-launcher-action {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: #9d580f;
  font-size: 13px;
  font-weight: 700;
}

.workout-live-screen {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 12px;
}

.workout-live-screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.workout-live-picker {
  border: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: #8c520f;
  font-weight: 700;
}

.workout-live-picker--static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.workout-session-card--live {
  min-height: calc(var(--app-vh) - 150px);
  padding: 18px 18px 22px;
  color: #2d221a;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.18), transparent 22%),
    linear-gradient(180deg, #fffdfb, #fff7ef 56%, #fff3e8);
  box-shadow: 0 24px 44px rgba(242, 140, 40, 0.14);
}

.workout-live-top,
.workout-live-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workout-live-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.1);
  color: #8d5112;
  font-size: 12px;
  font-weight: 700;
}

.workout-live-chip--muted {
  min-width: 0;
  max-width: 68%;
  color: #7e6b58;
  font-weight: 600;
}

.workout-live-chip--accent {
  background: rgba(255, 244, 230, 0.95);
  color: #a35f12;
}

.workout-live-value {
  margin-top: 28px;
  text-align: center;
}

.workout-live-value strong,
.workout-live-value span {
  display: block;
  margin: 0;
}

.workout-live-value strong {
  font-size: clamp(58px, 18vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--primary-deep);
}

.workout-live-value span {
  margin-top: 10px;
  color: #8a7763;
  font-size: 13px;
}

.workout-live-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.workout-live-stat-grid div {
  padding: 14px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(242, 140, 40, 0.08);
}

.workout-live-stat-grid span,
.workout-live-stat-grid strong {
  display: block;
  margin: 0;
}

.workout-live-stat-grid span {
  color: #8a7763;
  font-size: 12px;
}

.workout-live-stat-grid strong {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.05;
}

.workout-live-actions {
  margin-top: 22px;
  justify-content: center;
}

.workout-live-side,
.workout-live-finish {
  border: 0;
}

.workout-live-side {
  min-width: 84px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(111, 87, 61, 0.1);
  color: #6c5542;
}

.workout-live-side--pause.is-active {
  background: rgba(242, 140, 40, 0.18);
  color: #9e5c11;
}

.workout-live-finish {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fffdf9;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(180deg, #ffb24b, var(--primary-deep));
  box-shadow: 0 16px 32px rgba(242, 140, 40, 0.28);
}

.summary-card--health {
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.14), transparent 34%),
    linear-gradient(180deg, #fffaf4, #ffffff);
}

.action-row--checkin {
  margin-top: 16px;
}

.section-title-row--moments {
  margin-top: 20px;
}

.page-header--workout-live {
  margin-bottom: 10px;
}

.profile-subpage-stack--live {
  min-height: 100%;
}

.moments-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.feature-follow-list {
  display: grid;
  gap: 12px;
}

.feature-follow-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.05);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.feature-follow-main {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: inherit;
}

.feature-follow-main strong,
.feature-follow-main p {
  margin: 0;
}

.feature-follow-main p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.moment-card {
  padding: 16px;
}

.moment-card-head {
  margin-bottom: 10px;
}

.moment-card-head strong {
  display: block;
  font-size: 15px;
}

.moment-card-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.moment-card p {
  margin: 0;
  line-height: 1.6;
}

.checkin-inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.moment-card-foot {
  margin-top: 12px;
  font-size: 12px;
}

.checkin-history-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.checkin-history-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.checkin-history-item strong,
.checkin-history-item p,
.checkin-history-meta span,
.checkin-history-meta strong {
  margin: 0;
}

.checkin-history-item p,
.checkin-history-meta span {
  color: var(--muted);
  margin-top: 4px;
}

.checkin-history-meta {
  text-align: right;
}

.checkin-history-item .mini-button {
  margin-top: 10px;
}

.route-share-card {
  display: grid;
  gap: 14px;
}

.route-detail-card {
  display: grid;
  gap: 14px;
}

.route-share-map-shell {
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f8f1, #e8eef8);
  border: 1px solid rgba(35, 35, 35, 0.06);
}

.route-share-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
}

.route-share-map-head strong,
.route-share-map-head p {
  margin: 0;
}

.route-share-map-head strong {
  font-size: 18px;
}

.route-share-map-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.route-share-map-canvas {
  padding: 0 12px 12px;
}

.route-share-map-canvas--detail {
  padding-bottom: 18px;
}

.route-share-map-shell--action {
  cursor: pointer;
}

.route-share-map-hint {
  display: block;
  margin-top: 10px;
  color: #8a7763;
  font-size: 12px;
}

.route-map-live {
  min-height: 228px;
  height: 228px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8f4, #edf1f7);
}

.route-share-map-shell--detail .route-map-live,
.route-share-map-shell--detail .route-map-empty,
.route-share-map-shell--detail .route-map-svg {
  min-height: 52vh;
  height: 52vh;
}

.route-map-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.route-map-empty {
  min-height: 228px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(180deg, #f7f8f4, #edf1f7);
  padding: 24px;
}

.route-share-stat-board {
  border-radius: 26px;
  padding: 18px;
  color: #2d221a;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdfb, #fff5eb 56%, #fff9f4);
  box-shadow: 0 18px 34px rgba(242, 140, 40, 0.12);
}

.route-share-stat-board--detail {
  padding-bottom: 22px;
}

.route-share-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.route-share-topline span {
  display: block;
  color: #8a7763;
  font-size: 12px;
}

.route-share-topline strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  line-height: 1;
}

.route-share-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.route-share-grid div {
  min-width: 0;
}

.route-share-grid span {
  display: block;
  color: #8a7763;
  font-size: 12px;
}

.route-share-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.15;
}

.route-share-stat-board .result-tip {
  margin-top: 16px;
  color: #7c6957;
}

.route-share-stat-board .mini-button {
  background: rgba(111, 87, 61, 0.08);
  color: #6c5542;
}

.device-row .status-pill,
.device-row .mini-button {
  flex-shrink: 0;
}

.swipe-tip {
  margin-top: 4px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
}

.swipe-tip-copy {
  justify-content: flex-start;
}

.swipe-tip-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.12);
}

.timeline-list,
.review-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.timeline-card,
.review-card {
  padding: 14px;
}

.timeline-head,
.review-head {
  margin-bottom: 8px;
}

.timeline-author,
.post-comment-item,
.post-comment-head,
.post-action-bar,
.post-comment-composer,
.chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-author p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.timeline-card p,
.review-card p {
  line-height: 1.5;
}

.timeline-media-grid,
.compose-preview-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.timeline-media-grid {
  grid-template-columns: repeat(2, 1fr);
}

.timeline-media-grid.is-single {
  grid-template-columns: 1fr;
}

.timeline-media-card,
.compose-preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f4f4;
}

.timeline-media-image,
.compose-preview-image {
  display: block;
  width: 100%;
  height: 188px;
  object-fit: cover;
}

.timeline-media-video,
.compose-preview-video {
  display: block;
  width: 100%;
  height: 188px;
  object-fit: cover;
  background: #000;
}

.timeline-card small {
  display: inline-block;
  margin-top: 10px;
}

.timeline-card--compact {
  padding: 16px;
}

.post-action-bar {
  flex-wrap: wrap;
  margin-top: 12px;
}

.post-action-count {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6f6f6;
  color: #666;
  font-size: 13px;
}

.post-comment-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.post-comment-item {
  align-items: flex-start;
}

.avatar--comment {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.post-comment-body {
  flex: 1;
  padding: 10px 12px;
  border-radius: 14px;
  background: #faf7f1;
}

.post-comment-head {
  justify-content: space-between;
  align-items: flex-start;
}

.post-comment-head span {
  color: var(--muted);
  font-size: 12px;
}

.post-comment-body p {
  margin: 6px 0 0;
  line-height: 1.5;
}

.post-comment-composer {
  align-items: stretch;
  margin-top: 12px;
}

.post-comment-composer input,
.chat-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.rating-card {
  margin-top: 18px;
  padding: 16px;
}

.rating-desc {
  margin-top: 8px;
  line-height: 1.5;
}

.rating-stars {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.rating-star {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  color: #b2a9a0;
  font-size: 20px;
}

.rating-star.is-active {
  background: rgba(242, 140, 40, 0.18);
  color: #e57a16;
}

.review-input {
  width: 100%;
  min-height: 84px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  resize: vertical;
}

.role-entry-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.role-entry {
  width: 100%;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  color: var(--text);
}

.role-entry strong {
  display: block;
  margin-bottom: 6px;
}

.role-entry p {
  color: var(--muted);
  line-height: 1.45;
}

.menu-item {
  width: 100%;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: var(--text);
}

.empty-card {
  grid-column: 1 / -1;
  padding: 20px;
  border-radius: 16px;
  border: 1px dashed #d8d8d8;
  color: var(--muted);
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 9;
}

.overlay[hidden] {
  display: none;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.42);
  border-radius: 34px;
}

.overlay-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 88px;
  max-height: calc(100% - 124px);
  overflow-y: auto;
  padding: 18px;
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.overlay-panel--welcome {
  bottom: auto;
  top: 80px;
}

.overlay-panel--register {
  bottom: 88px;
}

.overlay-panel--compose {
  bottom: 88px;
}

.overlay-panel--chat {
  bottom: 88px;
}

.overlay-panel--following {
  bottom: 88px;
  padding: 18px 16px 16px;
}

.overlay-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.overlay-head--following {
  align-items: flex-start;
}

.overlay-head h2,
.overlay-head p {
  margin: 0;
}

.overlay-head h2 {
  margin-top: 4px;
}

.overlay-head p:last-child {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.close-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  font-size: 22px;
  line-height: 1;
}

.following-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(32, 32, 32, 0.06);
}

.following-tab,
.following-count {
  font-size: 13px;
  line-height: 1;
}

.following-tab {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: #9d580f;
  font-weight: 700;
}

.following-count {
  color: var(--muted);
  font-weight: 600;
}

.following-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.following-row {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.04);
}

.following-row-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.following-copy {
  min-width: 0;
}

.following-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.following-name-row strong {
  font-size: 16px;
}

.following-name-row span,
.following-handle,
.following-copy small {
  color: var(--muted);
}

.following-name-row span {
  font-size: 12px;
}

.following-handle,
.following-summary,
.following-copy small {
  margin: 0;
}

.following-handle {
  margin-top: 2px;
  font-size: 12px;
}

.following-summary {
  margin-top: 6px;
  color: #313131;
  font-size: 14px;
  line-height: 1.45;
}

.following-copy small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}

.following-action {
  min-width: 84px;
  align-self: center;
}

.role-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.welcome-grid,
.role-selector,
.city-chip-row {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.role-selector {
  grid-template-columns: repeat(3, 1fr);
}

.city-chip-row {
  grid-template-columns: repeat(2, 1fr);
}

.welcome-card,
.role-option,
.city-chip {
  border: 0;
  text-align: left;
  border-radius: 18px;
  padding: 14px;
  background: #f5f5f5;
  color: #565656;
}

.welcome-card strong,
.role-option strong {
  display: block;
  color: var(--text);
}

.welcome-card p,
.role-option span {
  display: block;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.welcome-card.is-active,
.role-option.is-active,
.city-chip.is-active {
  background: rgba(242, 140, 40, 0.14);
  color: #9d580f;
}

.form-field--spaced {
  margin-top: 14px;
}

.compose-profile-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.compose-chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f3f3;
  color: #575757;
}

.compose-chip.is-active {
  background: rgba(242, 140, 40, 0.16);
  color: #9d580f;
  font-weight: 700;
}

.compose-chip-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  color: white;
  font-size: 12px;
  background: linear-gradient(180deg, #ffab42, var(--primary-deep));
}

.register-avatar-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #faf7f1;
}

.register-avatar-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.upload-picker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #ece4d9;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffaf4, #ffffff);
  position: relative;
  overflow: hidden;
}

.upload-picker-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-picker-copy {
  flex: 1;
}

.upload-picker-copy strong,
.upload-picker-copy p {
  display: block;
}

.upload-picker-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.upload-picker-preview {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f4;
  flex-shrink: 0;
}

.upload-picker-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-picker-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f5f5f5;
  color: #8b8b8b;
  font-size: 24px;
  flex-shrink: 0;
}

.avatar--register-preview {
  width: 56px;
  height: 56px;
}

.helper-note--compact {
  margin: 4px 0 0;
}

.compose-input {
  width: 100%;
  min-height: 180px;
  border: 0;
  border-radius: 0;
  padding: 14px 0 4px;
  background: transparent;
  font-size: 18px;
  line-height: 1.7;
  resize: none;
}

.compose-preview-grid {
  grid-template-columns: repeat(2, 1fr);
}

.compose-preview-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: white;
  font-size: 11px;
}

.compose-form {
  display: grid;
  gap: 0;
}

.compose-nav,
.compose-author,
.compose-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compose-nav {
  margin-bottom: 14px;
}

.compose-nav strong {
  font-size: 16px;
}

.compose-nav-button {
  border: 0;
  background: transparent;
  color: #6f6f6f;
  padding: 0;
}

.compose-submit-top {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  color: white;
  font-weight: 700;
  background: linear-gradient(180deg, #ffab42, var(--primary-deep));
}

.compose-author {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.compose-author p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.compose-tools {
  justify-content: flex-start;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0ece6;
}

.compose-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #666;
  cursor: pointer;
}

.compose-footer-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.chat-thread {
  display: grid;
  gap: 10px;
  max-height: 52vh;
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 2px;
}

.chat-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 6px;
  background: #f6f6f6;
}

.chat-bubble.is-self {
  margin-left: auto;
  border-radius: 18px 18px 6px 18px;
  background: #fff1de;
}

.chat-bubble strong,
.chat-bubble span {
  display: block;
}

.chat-bubble p {
  margin: 6px 0 0;
  line-height: 1.55;
}

.chat-bubble span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.chat-form {
  margin-top: 14px;
  align-items: stretch;
}

.role-tab {
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  background: #f3f3f3;
  color: #575757;
}

.role-tab.is-active {
  background: rgba(242, 140, 40, 0.14);
  color: #9d580f;
  font-weight: 700;
}

.register-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.helper-inline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f6f6f6;
  color: #5f5f5f;
  font-size: 12px;
}

.helper-inline span {
  line-height: 1.4;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field--wheel {
  position: relative;
}

.form-field span {
  font-size: 13px;
  color: #444;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.form-field textarea {
  min-height: 86px;
  resize: vertical;
}

.wheel-trigger {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff, #fcfaf8);
  color: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.04);
}

.wheel-trigger-copy {
  min-width: 0;
}

.wheel-trigger-copy strong,
.wheel-trigger-copy small {
  display: block;
}

.wheel-trigger-copy strong {
  font-size: 20px;
  line-height: 1.1;
}

.wheel-trigger-copy small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.4;
}

.wheel-trigger-mark {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: #9d580f;
  font-size: 13px;
  font-weight: 700;
}

.register-wheel-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.register-wheel-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(14, 12, 10, 0.32);
}

.register-wheel-card {
  position: relative;
  width: min(100%, 560px);
  border-radius: 28px 28px 0 0;
  background: #fff;
  padding: 12px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -16px 40px rgba(15, 12, 8, 0.16);
}

.register-wheel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.register-wheel-head h3,
.register-wheel-summary strong,
.register-wheel-summary span {
  margin: 0;
}

.register-wheel-head h3 {
  font-size: 26px;
}

.register-wheel-summary {
  margin-top: 14px;
  text-align: center;
}

.register-wheel-summary strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
}

.register-wheel-summary span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.register-wheel-frame {
  position: relative;
  height: 276px;
  margin-top: 16px;
  overflow: hidden;
}

.register-wheel-frame::before,
.register-wheel-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 2;
  pointer-events: none;
}

.register-wheel-frame::before {
  top: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0));
}

.register-wheel-frame::after {
  bottom: 0;
  background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0));
}

.register-wheel-highlight {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 52px;
  transform: translateY(-50%);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f1, #fffdf9);
  border: 1px solid rgba(242, 140, 40, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.register-wheel-list {
  height: 100%;
  overflow-y: auto;
  padding: 112px 0;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.register-wheel-list::-webkit-scrollbar {
  display: none;
}

.register-wheel-option {
  width: 100%;
  height: 52px;
  border: 0;
  background: none;
  color: #c6b9a7;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.register-wheel-option span {
  font-size: 28px;
  letter-spacing: -0.02em;
}

.register-wheel-option small {
  color: inherit;
  font-size: 13px;
}

.register-wheel-option.is-active {
  color: #231b12;
}

.primary-submit {
  border: 0;
  border-radius: 16px;
  padding: 13px 16px;
  color: white;
  font-weight: 700;
  background: linear-gradient(180deg, #ffab42, var(--primary-deep));
}

.helper-note,
.success-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

@keyframes image-shell-shimmer {
  from {
    background-position: 160% 0, 0 0;
  }
  to {
    background-position: -40% 0, 0 0;
  }
}

.helper-note {
  color: var(--muted);
}

.success-note {
  color: #167a43;
}

.bottom-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: var(--bottom-nav-height);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 18px 36px rgba(22, 18, 14, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 8px;
  z-index: 22;
}

.nav-link {
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #707070;
}

.nav-link small {
  font-size: 11px;
}

.nav-link.is-active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link--ghost {
  pointer-events: none;
}

.nav-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.nav-icon.home {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  transform: rotate(45deg) scale(0.78);
}

.nav-icon.compass,
.nav-icon.user {
  border-radius: 50%;
}

.nav-icon.calendar {
  border-radius: 4px;
  position: relative;
}

.nav-icon.calendar::before,
.nav-icon.calendar::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 3px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.nav-icon.calendar::before {
  left: 3px;
}

.nav-icon.calendar::after {
  right: 3px;
}

.fab {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: white;
  font-size: 32px;
  line-height: 1;
  background: linear-gradient(180deg, #ff9f37, var(--primary-deep));
  box-shadow: 0 14px 28px rgba(242, 140, 40, 0.42);
  z-index: 23;
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 999px;
  background: #111;
}

@media (max-width: 460px) {
  body {
    overflow: hidden;
  }

  .stage {
    padding: 0;
    min-height: var(--app-vh);
    height: var(--app-vh);
    overflow: hidden;
  }

  .phone {
    width: 100vw;
    height: var(--app-vh);
    border-radius: 0;
    padding: 0;
  }

  .notch {
    top: 0;
  }

  .status-bar {
    padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 0;
  }

  .app {
    min-height: 0;
    border-radius: 0;
    padding-top: max(calc(env(safe-area-inset-top, 0px) + 28px), 44px);
    padding-bottom: calc(var(--bottom-safe-space) + 10px);
  }

  .bottom-nav {
    left: 0;
    right: 0;
    bottom: env(safe-area-inset-bottom, 0px);
    border-radius: 26px 26px 0 0;
  }

  .home-indicator {
    bottom: calc(var(--bottom-nav-height) + 10px + env(safe-area-inset-bottom, 0px));
  }

  .overlay-backdrop {
    border-radius: 0;
  }

  .overlay-panel {
    left: 0;
    right: 0;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
  }

  .checkin-sport-grid,
  .checkin-form-grid {
    grid-template-columns: 1fr;
  }

  .workout-stat-grid {
    grid-template-columns: 1fr;
  }

  .workout-launcher-row,
  .device-row {
    align-items: flex-start;
  }

  .dashboard-go-row,
  .workout-go-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-go-button {
    width: 100%;
  }

  .workout-go-button {
    width: 100px;
    height: 100px;
    align-self: center;
  }
}

body.mobile-preview {
  overflow: hidden;
  background: var(--screen);
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--app-vh);
}

.mobile-preview .stage {
  padding: 0;
  min-height: var(--app-vh);
  height: var(--app-vh);
  overflow: hidden;
  background: var(--screen);
  position: fixed;
  inset: 0;
  width: 100%;
}

.mobile-preview .phone {
  width: 100vw;
  height: var(--app-vh);
  border-radius: 0;
  padding: 0;
  background: var(--screen);
  box-shadow: none;
}

.mobile-preview .phone::before {
  display: none;
}

.mobile-preview .notch,
.mobile-preview .status-bar,
.mobile-preview .home-indicator {
  display: none;
}

.mobile-preview .app {
  margin-top: 0;
  border-radius: 0;
  padding-top: max(calc(env(safe-area-inset-top, 0px) + 14px), 32px);
  padding-bottom: calc(var(--bottom-safe-space) + 4px);
}

.mobile-preview .app[data-page="home"] {
  padding-top: max(calc(env(safe-area-inset-top, 0px) + 14px), 32px);
}

.mobile-preview .app,
.mobile-preview .home-scroll-area,
.mobile-preview .stage,
.mobile-preview .phone {
  overscroll-behavior-y: none;
}

.mobile-preview .brand {
  justify-content: flex-start;
}

.mobile-preview .brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.mobile-preview .brand h1 {
  font-size: clamp(22px, 8vw, 34px);
}

.mobile-preview .brand p {
  font-size: clamp(15px, 4.6vw, 22px);
}

.mobile-preview .top-utility {
  gap: 8px;
}

.mobile-preview .location-switch strong {
  font-size: 17px;
}

.mobile-preview .utility-chip,
.mobile-preview .identity-chip {
  min-height: 38px;
  padding: 10px 12px;
  font-size: 14px;
}

.mobile-preview .account-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mobile-preview .bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  padding: 0 8px env(safe-area-inset-bottom, 0px);
  border-radius: 26px 26px 0 0;
}

.mobile-preview .fab {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.mobile-preview .overlay-backdrop {
  border-radius: 0;
}

.mobile-preview .overlay-panel {
  left: 0;
  right: 0;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  border-radius: 24px 24px 0 0;
}
