:root {
  --bg: #fafaf8;
  --paper: #ffffff;
  --ink: #131311;
  --muted: #8a867f;
  --line: rgba(19, 19, 17, 0.1);
  --soft-line: rgba(19, 19, 17, 0.06);
  --black: #0c0c0b;
  --radius: 16px;
  --radius-small: 10px;
  --header-h: 52px;
  --nav-h: calc(60px + env(safe-area-inset-bottom, 0px));
  --app-width: 560px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "SF Pro Text", -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-row::-webkit-scrollbar,
.banner-track::-webkit-scrollbar,
.card-media::-webkit-scrollbar,
.collections::-webkit-scrollbar,
.column-scroll::-webkit-scrollbar,
.product-media::-webkit-scrollbar,
.reco-row::-webkit-scrollbar,
.stories::-webkit-scrollbar {
  display: none;
}

.chip-row,
.banner-track,
.card-media,
.collections,
.column-scroll,
.product-media,
.reco-row,
.stories {
  scrollbar-width: none;
}

/* Header */

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  margin-inline: auto;
  max-width: var(--app-width);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--soft-line);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.app-header.is-visible {
  transform: translateY(0);
}

.brand {
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 15px;
}

.burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.cart-button {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.cart-button svg {
  width: 21px;
  height: 21px;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

/* Menu sheet */

.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  margin-inline: auto;
  max-width: var(--app-width);
  background: var(--bg);
  padding: 10px 18px calc(var(--nav-h) + 20px);
  overflow-y: auto;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.sheet-close {
  position: relative;
  width: 40px;
  height: 40px;
}

.sheet-close::before,
.sheet-close::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.sheet-close::before {
  transform: rotate(45deg);
}

.sheet-close::after {
  transform: rotate(-45deg);
}

.menu-group {
  margin-top: 22px;
}

.menu-group-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.menu-item {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 24px;
  font-weight: 800;
  padding: 8px 0;
  border-bottom: 1px solid var(--soft-line);
}

/* Layout */

.app-main {
  max-width: var(--app-width);
  margin-inline: auto;
  min-height: 100svh;
}

.view {
  padding-bottom: calc(var(--nav-h) + 16px);
}

.view[hidden] {
  display: none;
}

.view-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 8px 0 14px;
}

/* Bottom nav */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  margin-inline: auto;
  max-width: var(--app-width);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--soft-line);
}

.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bottom-nav button svg {
  width: 23px;
  height: 23px;
}

.bottom-nav button.is-active {
  color: var(--ink);
}

/* Home */

.home-brand {
  padding: 18px 18px 4px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.stories {
  display: flex;
  gap: 14px;
  padding: 10px 18px 14px;
  overflow-x: auto;
}

.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  width: 68px;
}

.story-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(
    from 210deg,
    hsl(var(--ring, 20) 70% 60%),
    hsl(calc(var(--ring, 20) + 70) 65% 55%),
    hsl(var(--ring, 20) 70% 60%)
  );
}

.story.is-viewed .story-ring {
  background: var(--line);
}

.story-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.story-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Banners */

.banners {
  position: relative;
}

.banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 0 18px;
}

.banner {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  height: min(66svh, 520px);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px;
  color: #fff;
  text-align: left;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.42));
}

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

.banner-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 6px;
}

.banner-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

.banner-cta {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  align-self: flex-start;
  padding-bottom: 2px;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 4px;
}

.banner-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s;
}

.banner-dots span.is-active {
  background: var(--ink);
}

/* Advantage scroll block */

.advantage {
  height: 360svh;
}

.advantage-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 14px) 18px calc(var(--nav-h) + 24px);
}

.advantage-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.advantage-stages {
  position: relative;
  flex: 1;
  min-height: 0;
}

.advantage-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.advantage-stage.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stage-num {
  font-size: clamp(84px, 30vw, 150px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  transform: translateY(calc(var(--par, 0) * -26px));
}

.stage-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 14px 0 8px;
  text-transform: uppercase;
}

.stage-text {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}

.stage-link {
  margin-top: 16px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
}

.advantage-meter {
  display: flex;
  gap: 6px;
}

.advantage-meter span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}

.advantage-meter span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.advantage-meter span.is-done::after {
  transform: scaleX(1);
}

/* Catalog */

.view-catalog {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: calc(var(--header-h) + 6px) 0 var(--nav-h);
}

.view-catalog[hidden] {
  display: none;
}

.catalog-filters {
  padding: 4px 0 2px;
  border-bottom: 1px solid var(--soft-line);
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 5px 18px;
}

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.catalog-body {
  flex: 1;
  min-height: 0;
  display: flex;
}

.cat-rail {
  flex: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  border-right: 1px solid var(--soft-line);
  overflow-y: auto;
}

.rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.rail-btn svg {
  width: 22px;
  height: 22px;
}

.rail-btn.is-active {
  background: var(--ink);
  color: #fff;
}

.collections {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.collection-column {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.column-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 16px 8px;
}

.column-head strong {
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

.column-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 10px;
  align-content: start;
}

.group-label {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(var(--bg) 75%, transparent);
  padding: 10px 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.column-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Product card */

.card {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 4.3;
  border-radius: var(--radius-small);
  overflow: hidden;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.card-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background-color: #ececea;
  background-size: cover;
  background-position: center;
}

.card-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.card-fav svg {
  width: 16px;
  height: 16px;
}

.card-fav.is-active svg {
  fill: var(--ink);
}

.card-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}

.card-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.card-dots span.is-active {
  background: #fff;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 2px;
}

.card-price {
  font-size: 14px;
  font-weight: 800;
}

.card-price s {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

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

/* Product page */

.view-product {
  padding-top: var(--header-h);
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.product-back svg {
  width: 16px;
  height: 16px;
}

.product-media {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  aspect-ratio: 3 / 4;
  margin: 0 18px;
  border-radius: var(--radius);
  overflow-y: hidden;
}

.product-media .card-slide {
  border-radius: 0;
}

.product-body {
  padding: 16px 18px 0;
}

.product-name {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  margin: 6px 0 0;
}

.product-price s {
  margin-left: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.option-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px;
}

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

.stock-line {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.stock-line.is-low {
  color: #b4552d;
}

.add-cart {
  margin-top: 18px;
  width: 100%;
  padding: 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-details {
  margin-top: 22px;
  border-top: 1px solid var(--soft-line);
}

.product-details details {
  border-bottom: 1px solid var(--soft-line);
}

.product-details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.product-details summary::-webkit-details-marker {
  display: none;
}

.product-details summary::after {
  content: "+";
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
}

.product-details details[open] summary::after {
  content: "–";
}

.product-details p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.reco-title {
  font-size: 15px;
  font-weight: 900;
  margin: 26px 0 12px;
  padding: 0 18px;
}

.reco-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 18px;
}

.reco-row .card {
  flex: 0 0 128px;
}

/* Favorites */

.view-favorites,
.view-account,
.view-info,
.view-cart {
  padding-top: calc(var(--header-h) + 6px);
  padding-inline: 18px;
}

/* Cart */

.cart-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-line);
}

.cart-thumb {
  flex: 0 0 64px;
  height: 82px;
  border-radius: var(--radius-small);
  background-color: #ececea;
  background-size: cover;
  background-position: center;
}

.cart-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-name {
  font-size: 13px;
  font-weight: 700;
}

.cart-meta {
  font-size: 12px;
  color: var(--muted);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.qty button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.qty span {
  font-size: 13px;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

.cart-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.cart-side strong {
  font-size: 14px;
}

.cart-remove {
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0 0;
  font-size: 14px;
}

.cart-total strong {
  font-size: 18px;
  font-weight: 900;
}

.fav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 10px;
}

.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Account */

.account-card {
  background: var(--paper);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}

.account-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
}

.account-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.loyalty-value {
  font-size: 30px;
  font-weight: 900;
  margin: 8px 0 2px;
}

.loyalty-bar {
  height: 5px;
  border-radius: 3px;
  background: var(--soft-line);
  margin: 12px 0 6px;
  overflow: hidden;
}

.loyalty-bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 3px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
  font-size: 13px;
}

.order-row:last-child {
  border-bottom: 0;
}

.order-row span {
  color: var(--muted);
  font-size: 12px;
}

.ref-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-small);
  font-size: 13px;
  font-weight: 600;
}

.ref-link button {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Info pages */

.info-body p {
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 46ch;
}

/* Story viewer */

.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.96);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.story-viewer[hidden] {
  display: none;
}

.story-frame {
  position: relative;
  width: 100%;
  max-width: var(--app-width);
  overflow: hidden;
}

.story-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px 90px;
  color: #fff;
}

.story-slide .slide-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 8px;
}

.story-slide .slide-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0;
}

.story-slide .slide-text {
  margin: 10px 0 0;
  font-size: 14px;
  opacity: 0.85;
  max-width: 36ch;
}

.story-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 14px 0;
  z-index: 3;
}

.story-bars {
  display: flex;
  gap: 4px;
}

.story-bars i {
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.story-bars i span {
  display: block;
  height: 100%;
  background: #fff;
  width: 0;
}

.story-bars i.is-done span {
  width: 100%;
}

.story-bars i.is-active span {
  animation: storyFill var(--story-ms, 5000ms) linear forwards;
}

@keyframes storyFill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: #fff;
}

.story-title {
  font-size: 13px;
  font-weight: 700;
}

.sheet-close-light {
  color: #fff;
}

.story-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;
  z-index: 2;
}

.story-zone-prev {
  left: 0;
}

.story-zone-next {
  right: 0;
  width: 62%;
}

.story-cta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 26px;
  z-index: 3;
}

.story-cta button {
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

/* Toast */

.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Desktop adaptation: mobile layout centered as an app column */

@media (min-width: 640px) {
  body {
    background: #efeeea;
  }

  .app-main,
  .app-header,
  .bottom-nav,
  .menu-sheet {
    box-shadow: 0 0 0 1px var(--soft-line);
  }

  .app-main {
    background: var(--bg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
