@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --ink: #18251f;
  --muted: #738077;
  --paper: #fbf8f1;
  --card: #ffffff;
  --line: #e8e3d8;
  --green: #275e4a;
  --green-deep: #153d30;
  --lime: #dce9b6;
  --coral: #ee7254;
  --shadow: 0 16px 44px rgba(31, 55, 44, .09);
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(232, 227, 216, .8);
  background: rgba(251, 248, 241, .9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 14px 14px 17px 17px;
  background: var(--green);
  transform: rotate(-2deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 12px;
  left: 8px;
  bottom: 8px;
  border-radius: 3px 3px 16px 16px;
  background: var(--paper);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  right: 4px;
  top: 5px;
  border-radius: 100% 0 100% 0;
  background: var(--lime);
  transform: rotate(-24deg);
}

.brand-mark i,
.brand-mark i::before,
.brand-mark i::after {
  position: absolute;
  top: 8px;
  width: 1px;
  height: 11px;
  content: "";
  border-radius: 5px;
  background: rgba(255,255,255,.7);
}

.brand-mark i { left: 21px; }
.brand-mark i::before { left: -6px; top: 3px; }
.brand-mark i::after { left: 6px; top: -1px; }

.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy b { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; }
.brand-copy small { margin-top: 6px; font-size: 8px; color: var(--muted); letter-spacing: .22em; }

.desktop-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; }
.desktop-nav a { position: relative; padding: 28px 2px 25px; color: #627067; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--green-deep); font-weight: 700; }
.desktop-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 17px; width: 18px; height: 3px;
  border-radius: 99px; background: var(--coral); transform: translateX(-50%);
}

.login-button {
  min-width: 68px;
  padding: 10px 18px;
  border: 1px solid #d9d5cc;
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  transition: .2s ease;
}
.login-button:hover { border-color: var(--green); color: white; background: var(--green); }

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr .92fr;
  align-items: center;
  gap: 76px;
  padding-block: 66px 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow.light { color: #dce9b6; }

.hero h1 {
  margin: 22px 0 20px;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 72px);
  line-height: 1.17;
  letter-spacing: -.05em;
}
.hero h1 em { position: relative; color: var(--green); font-style: normal; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 2%; right: -1%; bottom: 2px; z-index: -1;
  height: 12px; border-radius: 50%; background: var(--lime); transform: rotate(-1deg);
}
.hero-copy > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }

.search-box {
  height: 62px;
  display: flex;
  align-items: center;
  margin-top: 36px;
  padding: 6px 6px 6px 20px;
  border: 1px solid #dfdbd0;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 36px rgba(35, 60, 49, .08);
}
.search-icon { position: relative; width: 18px; height: 18px; margin-right: 12px; border: 2px solid #829087; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; right: -5px; bottom: -2px; background: #829087; transform: rotate(45deg); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #a6ada8; }
.search-box button {
  height: 48px;
  padding: 0 25px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: var(--green);
  cursor: pointer;
}

.hot-search { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; font-size: 12px; }
.hot-search span { color: #9ba39d; }
.hot-search button { padding: 0; border: 0; color: #536158; background: transparent; cursor: pointer; }
.hot-search button:hover { color: var(--coral); }

.hero-visual { position: relative; min-height: 465px; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 6% -3% -4%;
  border-radius: 49% 51% 42% 58% / 53% 42% 58% 47%;
  background: #e4ebd3;
  transform: rotate(-4deg);
}
.hero-visual img {
  position: absolute;
  width: 86%;
  height: 91%;
  right: 0;
  top: 0;
  border-radius: 49% 51% 45% 55% / 45% 42% 58% 55%;
  object-fit: cover;
  box-shadow: 0 25px 50px rgba(35, 64, 49, .18);
}
.hero-card {
  position: absolute;
  left: -2%;
  bottom: 7%;
  z-index: 2;
  width: 215px;
  padding: 18px 20px;
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.hero-card span { display: block; margin-bottom: 8px; color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.hero-card strong { display: block; font-family: var(--serif); font-size: 18px; }
.hero-card small { display: block; margin-top: 7px; color: var(--muted); }
.visual-note {
  position: absolute; right: -4%; top: 6%; z-index: 2; width: 76px; height: 76px; display: grid; place-items: center;
  border-radius: 50%; color: white; background: var(--coral); font-family: var(--serif); font-size: 12px; line-height: 1.5;
  text-align: center; transform: rotate(9deg); box-shadow: 0 10px 25px rgba(238,114,84,.28);
}

.category-section { padding-block: 30px 94px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading.compact { align-items: center; }
.section-heading h2 { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; }
.section-heading p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.text-button { padding: 8px 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.text-button span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-button:hover { color: var(--green); }
.text-button:hover span { transform: translateX(4px); }

.category-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 10px 19px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: rgba(255,255,255,.7);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.category-item:hover, .category-item.active { transform: translateY(-4px); border-color: #dfe6d4; box-shadow: 0 12px 30px rgba(34,57,47,.08); }
.category-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 19px; font-size: 28px; }
.category-icon.peach { background: #fde2d8; }
.category-icon.yellow { background: #f9edbf; }
.category-icon.green { background: #e1edd8; }
.category-icon.purple { background: #ebe0ef; }
.category-icon.blue { background: #ddebf0; }
.category-icon.orange { background: #f6e2c9; }
.category-item b { font-size: 14px; }
.category-item small { margin-top: 6px; color: #9aa29d; font-size: 11px; }

.recipe-section { padding-block: 90px 110px; border-top: 1px solid var(--line); }
.recipe-tabs { display: flex; padding: 4px; border-radius: 99px; background: #eeebe4; }
.recipe-tabs button { padding: 9px 17px; border: 0; border-radius: 99px; color: #78837c; background: transparent; cursor: pointer; }
.recipe-tabs button.active { color: white; background: var(--green); box-shadow: 0 5px 12px rgba(39,94,74,.2); }

.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.recipe-card { overflow: hidden; border: 1px solid #ebe7de; border-radius: 24px; background: var(--card); transition: transform .25s, box-shadow .25s; }
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.recipe-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.12fr .88fr; }
.recipe-image { position: relative; min-height: 248px; overflow: hidden; background: #e9e5dc; }
.recipe-card.featured .recipe-image { min-height: 100%; }
.recipe-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: transform .6s ease; }
.recipe-card:hover .recipe-image img { transform: scale(1.04); }
.time-tag { position: absolute; left: 15px; top: 15px; padding: 7px 10px; border-radius: 99px; color: white; background: rgba(24,37,31,.7); backdrop-filter: blur(8px); font-size: 11px; }
.favorite { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.92); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 5px 12px rgba(0,0,0,.08); }
.favorite.saved { color: var(--coral); }

.recipe-info { padding: 23px; }
.recipe-card.featured .recipe-info { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.recipe-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recipe-meta span { padding: 5px 8px; border-radius: 7px; color: var(--green); background: #edf3e7; font-size: 10px; font-weight: 800; }
.recipe-meta small { color: #9ca49f; font-size: 10px; }
.recipe-info h3 { margin: 15px 0 9px; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.recipe-info > p { min-height: 43px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.author { display: flex; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid #eeeae2; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; margin-right: 10px; border-radius: 50%; font-family: var(--serif); font-size: 12px; }
.avatar.avocado { color: #35583f; background: #dce8c7; }
.avatar.pink { color: #8a4f59; background: #f1dce0; }
.avatar.cocoa { color: #6a493a; background: #e8d8cf; }
.avatar.blue { color: #3d6170; background: #d9e7eb; }
.author > span:nth-child(2) { display: flex; flex-direction: column; }
.author b { font-size: 11px; }
.author small { margin-top: 3px; color: #a2a8a4; font-size: 9px; }
.author i { margin-left: auto; color: #9ca59f; font-style: normal; }
.load-more { display: block; margin: 42px auto 0; padding: 13px 24px; border: 1px solid #d8d4ca; border-radius: 99px; background: transparent; cursor: pointer; }
.load-more:hover { color: white; border-color: var(--green); background: var(--green); }
.load-more span { margin-left: 6px; }
.empty-state { margin: 40px 0 0; color: var(--muted); text-align: center; }
.recipe-card[hidden] { display: none !important; }

/* Ad slots stay completely absent unless ads.js activates them on the target host. */
.ad-slot {
  display: none;
}

.ad-slot.is-active {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 26px 16px;
  overflow: hidden;
  border: 1px solid rgba(216, 212, 202, .78);
  border-radius: 22px;
  background: rgba(255, 255, 255, .52);
}

.ad-slot--native.is-active { min-height: 330px; margin-block: 0 72px; }
.ad-slot--banner.is-active { min-height: 114px; margin-block: -44px 66px; }
.ad-slot--tower.is-active { min-height: 365px; margin-block: -64px 78px; }
.ad-slot--skyscraper.is-active { min-height: 665px; margin-block: 78px; }
.ad-slot--mobile-banner.is-active { min-height: 104px; margin-block: -62px 72px; }

.ad-slot--in-grid.is-active {
  grid-column: 1 / -1;
  min-height: 314px;
  margin: 8px 0;
}

.ad-label {
  position: absolute;
  top: 8px;
  left: 50%;
  color: #9ca49f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.ad-direct-stage {
  position: relative;
  flex: 0 0 auto;
  overflow: visible;
}

.ad-direct-mount {
  transform-origin: top left;
}

.ad-direct-stage--native {
  width: min(100%, 1040px);
  min-height: 280px;
}

.ad-direct-native { width: 100%; min-height: 280px; }

.collection-section { overflow: hidden; color: white; background: var(--green-deep); }
.collection-inner { min-height: 415px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.collection-copy { padding-block: 65px; }
.collection-copy h2 { margin: 16px 0 17px; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); line-height: 1.35; letter-spacing: -.04em; }
.collection-copy p { max-width: 440px; margin: 0; color: rgba(255,255,255,.65); line-height: 1.8; }
.collection-copy button, .collection-copy .collection-link { display: inline-block; margin-top: 29px; padding: 13px 22px; border: 0; border-radius: 99px; color: var(--green-deep); background: var(--lime); font-weight: 700; cursor: pointer; }
.collection-copy button span, .collection-copy .collection-link span { margin-left: 8px; }
.collection-cards { position: relative; min-height: 360px; }
.mini-card {
  position: absolute; width: 240px; height: 285px; padding: 25px; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 26px; background-size: cover; background-position: center; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.mini-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(transparent 30%, rgba(5,22,16,.88)); }
.mini-card > * { position: relative; z-index: 1; }
.mini-card span { position: absolute; top: 20px; left: 20px; padding: 6px 9px; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--green-deep); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.mini-card strong { font-family: var(--serif); font-size: 20px; }
.mini-card small { margin-top: 7px; color: rgba(255,255,255,.68); }
.mini-card.first { left: 4%; top: 17%; z-index: 3; transform: rotate(-7deg); background-image: url('https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=600&q=80'); }
.mini-card.second { left: 34%; top: 8%; z-index: 2; transform: rotate(3deg); background-image: url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=600&q=80'); }
.mini-card.third { left: 64%; top: 17%; z-index: 1; transform: rotate(10deg); background-image: url('https://images.unsplash.com/photo-1543353071-873f17a7a088?auto=format&fit=crop&w=600&q=80'); }

.tips-section { padding-block: 100px 120px; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tips-grid article { min-height: 180px; display: flex; gap: 20px; padding: 27px; border-top: 2px solid var(--ink); background: rgba(255,255,255,.55); }
.tips-grid article > span { color: var(--coral); font-family: var(--serif); font-size: 13px; }
.tips-grid h3 { margin: 0 0 13px; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.tips-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.site-footer { padding: 38px 0 48px; border-top: 1px solid var(--line); background: #f4f0e7; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner p, .footer-inner > small { color: #8e9791; font-size: 11px; }
.footer-brand .brand-mark { width: 37px; height: 37px; }
.footer-brand .brand-mark::before { width: 24px; height: 10px; left: 7px; bottom: 7px; }
.footer-brand .brand-copy b { font-size: 18px; }

.mobile-nav { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 35px; z-index: 50; max-width: calc(100% - 40px); padding: 12px 20px;
  border-radius: 99px; color: white; background: rgba(21,61,48,.94); box-shadow: var(--shadow); font-size: 13px;
  opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 35px; }
  .hero h1 { font-size: 44px; }
  .category-list { grid-template-columns: repeat(3, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-card.featured { grid-column: span 2; }
  .collection-inner { gap: 30px; }
  .mini-card { width: 190px; height: 240px; }
  .mini-card.first { left: 0; }
  .mini-card.second { left: 27%; }
  .mini-card.third { left: 53%; }
}

@media (max-width: 680px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .section-shell, .header-inner { width: min(100% - 30px, 520px); }
  .site-header { position: static; border-bottom: 0; }
  .header-inner { height: 70px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px 12px 15px 15px; }
  .brand-mark::before { width: 25px; height: 10px; left: 7px; bottom: 7px; }
  .brand-copy b { font-size: 19px; }
  .desktop-nav { display: none; }
  .login-button { min-width: auto; padding: 8px 14px; font-size: 12px; }

  .hero { min-height: auto; display: flex; flex-direction: column; gap: 36px; padding-block: 32px 58px; }
  .hero-copy { width: 100%; }
  .hero h1 { margin: 18px 0 16px; font-size: clamp(38px, 11vw, 52px); line-height: 1.24; }
  .hero-copy > p { max-width: 330px; font-size: 14px; line-height: 1.75; }
  .search-box { height: 56px; margin-top: 26px; padding-left: 16px; border-radius: 15px; }
  .search-box button { height: 44px; padding-inline: 20px; }
  .hot-search { flex-wrap: nowrap; gap: 11px; overflow-x: auto; padding-bottom: 3px; white-space: nowrap; scrollbar-width: none; }
  .hot-search::-webkit-scrollbar { display: none; }
  .hero-visual { width: 100%; min-height: 370px; }
  .hero-visual img { width: 92%; height: 94%; }
  .hero-card { left: 0; bottom: 1%; width: 185px; padding: 15px 17px; }
  .visual-note { right: -2%; top: 4%; width: 66px; height: 66px; font-size: 10px; }

  .category-section { padding-block: 22px 70px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading.compact { display: flex; align-items: end; }
  .section-heading h2 { font-size: 28px; }
  .text-button { font-size: 12px; white-space: nowrap; }
  .category-list { display: flex; gap: 10px; width: calc(100vw - max(15px, calc((100vw - 520px) / 2))); padding-right: 15px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .category-list::-webkit-scrollbar { display: none; }
  .category-item { min-width: 112px; padding: 17px 8px 15px; scroll-snap-align: start; }
  .category-icon { width: 51px; height: 51px; margin-bottom: 10px; border-radius: 17px; font-size: 24px; }

  .recipe-section { padding-block: 68px 80px; }
  .recipe-tabs { margin-top: 24px; overflow-x: auto; }
  .recipe-tabs button { flex: 1; padding: 8px 13px; white-space: nowrap; font-size: 12px; }
  .recipe-grid { display: block; }
  .recipe-card, .recipe-card.featured { display: grid; grid-template-columns: 42% 58%; margin-bottom: 14px; border-radius: 18px; }
  .recipe-image, .recipe-card.featured .recipe-image { min-height: 190px; }
  .recipe-info, .recipe-card.featured .recipe-info { display: block; padding: 16px; }
  .recipe-meta { display: block; }
  .recipe-meta small { display: none; }
  .recipe-info h3 { margin: 10px 0 7px; font-size: 16px; line-height: 1.48; }
  .recipe-info > p { display: -webkit-box; min-height: auto; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; }
  .author { margin-top: 12px; padding-top: 11px; }
  .avatar { width: 26px; height: 26px; margin-right: 7px; }
  .author small, .author i { display: none; }
  .time-tag { left: 9px; top: 9px; padding: 5px 7px; font-size: 9px; }
  .favorite { right: 8px; top: 8px; width: 31px; height: 31px; font-size: 20px; }
  .load-more { margin-top: 30px; }

  .ad-slot.is-active { width: calc(100% - 30px); padding-inline: 10px; border-radius: 17px; }
  .ad-slot--native.is-active { min-height: 322px; margin-block: -18px 54px; }
  .ad-slot--banner.is-active { min-height: 96px; margin-block: -38px 54px; }
  .ad-slot--in-grid.is-active { width: 100%; min-height: 294px; margin: 14px 0; }
  .ad-slot--tower.is-active { min-height: 354px; margin-block: -34px 58px; }
  .ad-slot--skyscraper.is-active { min-height: 654px; margin-block: 58px; }
  .ad-slot--mobile-banner.is-active { min-height: 90px; margin-block: -40px 54px; }

  .collection-inner { min-height: 650px; display: block; overflow: hidden; }
  .collection-copy { padding: 60px 0 10px; }
  .collection-copy h2 { font-size: 33px; }
  .collection-copy p { font-size: 13px; }
  .collection-cards { min-height: 330px; margin-top: 8px; }
  .mini-card { width: 185px; height: 235px; padding: 20px; }
  .mini-card.first { left: -3%; top: 20%; }
  .mini-card.second { left: 28%; top: 9%; }
  .mini-card.third { left: 59%; top: 20%; }
  .mini-card strong { font-size: 16px; }

  .tips-section { padding-block: 75px; }
  .tips-grid { grid-template-columns: 1fr; gap: 11px; }
  .tips-grid article { min-height: auto; padding: 22px; border-top-width: 1px; }
  .site-footer { padding-block: 32px; }
  .footer-inner { display: block; }
  .footer-inner p { margin: 20px 0 10px; }

  .mobile-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(66px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; padding: 8px 8px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(220,216,207,.9); background: rgba(255,255,255,.96); backdrop-filter: blur(15px);
  }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; color: #8a938e; background: transparent; font-size: 19px; }
  .mobile-nav small { font-size: 9px; }
  .mobile-nav .active { color: var(--green); }
  .mobile-nav > button:nth-child(3) span { width: 42px; height: 42px; display: grid; place-items: center; margin-top: -18px; border-radius: 50%; color: white; background: var(--coral); font-size: 25px; box-shadow: 0 7px 18px rgba(238,114,84,.28); }
  .toast { bottom: calc(83px + env(safe-area-inset-bottom)); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
