/* =========================================================
   Grah Sundri — editorial magazine theme
   A unit of MNCPL
   ========================================================= */
:root {
  --paper: #fbf7f1;
  --paper-2: #f3ece2;
  --ink: #1b1514;
  --ink-2: #4a3f3c;
  --muted: #776963;
  --rule: #1b1514;
  --hair: #e2d7cb;
  --kumkum: #9e1b32;
  --kumkum-deep: #5c0f1d;
  --haldi: #c8902e;
  --mehendi: #3e5b3a;

  --serif-display: "Playfair Display", Georgia, serif;
  --serif-text: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --deva: "Tiro Devanagari Hindi", serif;

  --gutter: 16px;
  --appbar-h: 56px;
  --tabbar-h: 62px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--kumkum); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.deva { font-family: var(--deva); }
em { font-style: italic; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; font-family: var(--sans); font-size: .85rem; }
.skip-link:focus { left: 8px; }

/* ---------- Shared type ---------- */
.kicker {
  font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--kumkum);
}
.kicker.light { color: var(--haldi); }
.headline { font-family: var(--serif-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.deck { color: var(--ink-2); font-style: italic; }
.byline { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.byline b { color: var(--ink); font-weight: 600; }

.story { cursor: pointer; position: relative; }
.story .headline { transition: color .2s; }
@media (hover: hover) { .story:hover .headline { color: var(--kumkum); } }
.img-frame { overflow: hidden; background: var(--paper-2); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s; }
.img-frame img.loading { opacity: 0; }
@media (hover: hover) { .story:hover .img-frame img { transform: scale(1.04); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  padding: 12px 26px;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:hover { background: var(--kumkum); border-color: var(--kumkum); }
.btn:active { transform: scale(.98); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--mehendi); border-color: #fff; }
.btn-gold { background: var(--haldi); border-color: var(--haldi); color: var(--ink); }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .2s, color .2s; }
.icon-btn:hover { color: var(--kumkum); background: rgba(158, 27, 50, .06); }

/* ---------- Utility bar ---------- */
.utility { background: var(--ink); color: #e9e0d6; font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); letter-spacing: .06em; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 12px; }
.utility-mid { text-transform: uppercase; letter-spacing: .16em; }
.utility-link { color: var(--haldi); font-weight: 600; }

/* ---------- App bar (mobile only) ---------- */
.appbar { display: none; }

/* ---------- Masthead ---------- */
.masthead { text-align: center; padding: 34px 0 20px; }
.mast-hi { font-family: var(--deva); color: var(--kumkum); font-size: 1.25rem; letter-spacing: .1em; }
.mast-title {
  display: block; font-family: var(--serif-display); font-weight: 900;
  font-size: clamp(3.2rem, 11vw, 8.5rem); line-height: .95; letter-spacing: -.035em; margin: 4px 0 12px;
}
.mast-tag { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.mast-tag .deva { text-transform: none; letter-spacing: .02em; font-size: 1rem; color: var(--ink); }

/* ---------- Section nav ---------- */
.section-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 247, 241, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-top: 3px double var(--rule); border-bottom: 1px solid var(--rule);
}
.section-nav-inner { display: flex; align-items: center; gap: 8px; }
.nav-brand {
  font-family: var(--serif-display); font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0; transition: max-width .35s var(--ease), opacity .25s, margin .35s;
}
.section-nav.stuck .nav-brand { max-width: 160px; opacity: 1; margin-right: 18px; }
.section-links {
  flex: 1; min-width: 0; display: flex; gap: 18px; justify-content: safe center;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
  font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 13px 0;
}
.section-links::-webkit-scrollbar { display: none; }
.section-links a { position: relative; padding: 4px 0; }
.section-links a:hover, .section-links a.active { color: var(--kumkum); }
.section-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--kumkum); }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--hair); font-family: var(--sans); font-size: .82rem; }
.ticker-inner { display: flex; align-items: center; gap: 16px; padding: 10px 0; overflow: hidden; }
.ticker-label { background: var(--kumkum); color: #fff; font-weight: 700; font-size: max(.64rem, var(--fmin, 0px)); letter-spacing: .16em; text-transform: uppercase; padding: 4px 10px; flex-shrink: 0; }
.ticker-items {
  min-width: 0; display: flex; gap: 28px; white-space: nowrap; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.ticker-items::-webkit-scrollbar { display: none; }
.ticker-items a { color: var(--ink-2); padding: 4px 0; }
.ticker-items a:hover { color: var(--kumkum); }
.ticker-items a::before { content: "◆"; color: var(--haldi); font-size: max(.6rem, var(--fmin, 0px)); margin-right: 8px; vertical-align: 2px; }

/* ---------- Policy links + consent notes ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; flex-basis: 100%; order: 10; font-size: .76rem; }
.footer-legal a { color: #a99d95; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
.footer-legal a:hover { color: #f3d9a8; }
.news-consent { font-size: .78rem; line-height: 1.5; opacity: .8; margin-top: 10px; }
.news-consent a { text-decoration: underline; }
.brand-consent { margin: 4px 0 10px; color: #6a5e56; opacity: 1; }

/* ---------- Bazaar link in the section nav ---------- */
.nav-bazaar { flex-shrink: 0; font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--kumkum); padding: 5px 11px; border-radius: 999px; white-space: nowrap; margin-left: 4px; }
.nav-bazaar .deva { letter-spacing: 0; text-transform: none; font-weight: 400; font-size: .82rem; margin-left: 4px; color: #f3d9a8; }
.nav-bazaar:hover { background: var(--kumkum-deep); }
@media (min-width: 821px) { .nav-bazaar { display: none; } }   /* desktop: link lives in the top utility bar */
.utility-links { display: inline-flex; gap: 18px; }
.utility-link .deva { letter-spacing: 0; }

/* ---------- Live market prices ---------- */
.markets { background: var(--paper-2); border-bottom: 1px solid var(--hair); font-family: var(--sans); font-size: .8rem; }
.markets-inner { display: flex; align-items: center; gap: 16px; padding: 8px 0; }
.markets-label { color: var(--kumkum); font-weight: 700; font-size: max(.64rem, var(--fmin, 0px)); letter-spacing: .16em; text-transform: uppercase; flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.markets-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2e8b57; box-shadow: 0 0 0 3px rgba(46,139,87,.18); }
.markets-label .deva { letter-spacing: 0; text-transform: none; font-size: .78rem; font-weight: 400; }
.markets-items {
  min-width: 0; flex: 1; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}
.mk-track { display: inline-flex; width: max-content; animation: mk-scroll var(--mk-dur, 40s) linear infinite; }
.mk-set { display: inline-flex; gap: 32px; padding-right: 32px; }
.markets-items:hover .mk-track, .markets-items:focus-within .mk-track { animation-play-state: paused; }
@keyframes mk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mk { display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; border-radius: 3px; padding: 1px 4px; transition: background-color .3s; }
.mk + .mk::before { content: "◆"; color: var(--haldi); font-size: max(.5rem, var(--fmin, 0px)); margin: 0 22px 0 -24px; vertical-align: 2px; }
.mk.flash-up { animation: mk-flash-up 2s ease-out; }
.mk.flash-down { animation: mk-flash-down 2s ease-out; }
@keyframes mk-flash-up { 0%, 30% { background-color: rgba(31,122,69,.18); } 100% { background-color: transparent; } }
@keyframes mk-flash-down { 0%, 30% { background-color: rgba(158,27,50,.16); } 100% { background-color: transparent; } }
.mk-name { color: var(--ink-2); font-weight: 600; }
.mk-name.gold { color: var(--haldi); }
.mk-val { color: var(--ink); font-weight: 600; }
.mk-unit { color: var(--ink-2); font-size: max(.68rem, var(--fmin, 0px)); }
.mk-chg { font-size: max(.72rem, var(--fmin, 0px)); font-weight: 600; color: var(--ink-2); }
.mk-chg.up { color: #1f7a45; }
.mk-chg.down { color: var(--kumkum); }
.markets-time { color: var(--ink-2); font-size: max(.68rem, var(--fmin, 0px)); flex-shrink: 0; }
.markets-label::before { animation: mk-pulse 2s ease-in-out infinite; }
@keyframes mk-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(46,139,87,.18); } 50% { box-shadow: 0 0 0 5px rgba(46,139,87,.05); } }
.markets.stale .markets-label::before { background: #b3a79b; box-shadow: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .mk-track, .markets-label::before, .mk.flash-up, .mk.flash-down { animation: none; }
  .markets-items { overflow-x: auto; scrollbar-width: none; }
  .markets-items::-webkit-scrollbar { display: none; }
  .mk-set[aria-hidden] { display: none; }
}
@media (max-width: 820px) {
  .markets-inner { gap: 10px; padding: 7px 0; }
  .markets-label .deva, .markets-time { display: none; }
  .mk-set { gap: 26px; padding-right: 26px; }
  .mk + .mk::before { margin: 0 18px 0 -20px; }
}

/* ---------- Cover ---------- */
.cover { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 36px; padding: 40px 0 56px; }
.cover-index { border-right: 1px solid var(--hair); padding-right: 28px; }
.cover-index h3, .label-rule {
  font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px;
}
.cover-index ol { list-style: none; counter-reset: idx; }
.cover-index li { counter-increment: idx; border-bottom: 1px solid var(--hair); padding: 14px 0; }
.cover-index li::before { content: counter(idx, decimal-leading-zero); font-family: var(--serif-display); font-style: italic; color: var(--haldi); font-size: 1.1rem; display: block; }
.cover-index .headline { font-size: 1.02rem; }
.cover-index .kicker { font-size: max(.6rem, var(--fmin, 0px)); margin-top: 4px; display: block; }

.cover-lead .img-frame { aspect-ratio: 4 / 5; position: relative; }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: var(--paper); font-family: var(--sans); font-size: max(.64rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px;
}
.cover-lead .kicker { display: block; margin: 20px 0 8px; }
.cover-lead .headline { font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 900; line-height: 1.08; }
.cover-lead .deck { font-size: 1.15rem; margin: 12px 0 14px; }

.cover-side { display: flex; flex-direction: column; gap: 26px; border-left: 1px solid var(--hair); padding-left: 28px; }
.cover-side .story + .story { border-top: 1px solid var(--hair); padding-top: 26px; }
.cover-side .img-frame { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.cover-side .headline { font-size: 1.3rem; margin: 6px 0; }
.cover-side .deck { font-size: .92rem; }

/* ---------- Editor's letter ---------- */
.letter { background: var(--paper-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 72px 0; }
.letter-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr) 260px; gap: 48px; }
.letter-head h2 { font-family: var(--serif-display); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.05; margin-top: 10px; }
.letter-head h2 em { color: var(--kumkum); }
.letter-body p { margin-bottom: 1em; font-size: 1.08rem; }
.dropcap::first-letter {
  float: left; font-family: var(--serif-display); font-weight: 900;
  font-size: 4.6rem; line-height: .8; padding: 8px 10px 0 0; color: var(--kumkum);
}
.signoff { font-style: italic; color: var(--muted); }
.signoff span { display: block; font-family: var(--serif-display); font-size: 1.3rem; color: var(--ink); font-style: italic; }
.letter-pillars { display: grid; gap: 18px; align-content: start; }
.letter-pillars div { border-top: 1px solid var(--ink); padding-top: 10px; }
.letter-pillars .num { font-family: var(--serif-display); font-style: italic; color: var(--haldi); }
.letter-pillars h4 { font-family: var(--serif-display); font-size: 1.35rem; font-weight: 700; }
.letter-pillars p { font-family: var(--sans); font-size: .82rem; color: var(--muted); }

/* ---------- Section heads ---------- */
.dept { padding: 72px 0 24px; }
.sec-head { border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 36px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; }
.sec-head .kicker { flex-basis: 100%; }
.sec-head h2 { font-family: var(--serif-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.sec-head .deva { color: var(--haldi); font-size: 1.4rem; }
.sec-deck { flex-basis: 100%; color: var(--muted); font-style: italic; margin-top: 4px; }
.sec-more {
  margin-left: auto; font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--kumkum); padding: 8px 0; white-space: nowrap;
}
.sec-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.carousel-hint { display: none; }

/* layout A: feature + list */
.layout-a { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.layout-a .feature .img-frame { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.layout-a .feature .headline { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 8px 0 10px; }
.layout-a .feature .deck { font-size: 1.05rem; margin-bottom: 12px; }
.row-list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.row:first-child { padding-top: 0; }
.row .img-frame { aspect-ratio: 1; }
.row .headline { font-size: 1.15rem; margin: 4px 0 6px; }
.row .deck { font-size: .88rem; }

/* layout B: dark band, 3 columns */
.dept.dark { background: var(--ink); color: #efe6dc; padding-bottom: 72px; margin: 48px 0 0; }
.dept.dark .sec-head { border-top-color: var(--haldi); }
.dept.dark .kicker, .dept.dark .sec-more { color: var(--haldi); }
.dept.dark .deck, .dept.dark .sec-deck { color: #bfb2a8; }
.dept.dark .byline { color: #9b8f86; }
.dept.dark .byline b { color: #efe6dc; }
@media (hover: hover) { .dept.dark .story:hover .headline { color: var(--haldi); } }
.layout-b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.layout-b .img-frame { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.layout-b .headline { font-size: 1.45rem; margin: 6px 0 8px; }
.layout-b .deck { font-size: .95rem; margin-bottom: 10px; }

/* layout A mirrored (feature on the right) for visual rhythm */
.layout-a.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.layout-a.reverse .feature { order: 2; }

/* Aatmanirbhar: money stories + schemes panel */
.layout-money { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.money-stories { display: grid; gap: 24px; }
.money-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--hair); transition: box-shadow .25s, transform .25s var(--ease); }
@media (hover: hover) { .money-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(27,21,20,.3); } }
.money-card .img-frame { aspect-ratio: auto; min-height: 220px; }
.mc-text { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.mc-text .headline { font-size: 1.45rem; margin: 6px 0 8px; }
.mc-text .deck { font-size: .95rem; margin-bottom: 12px; }

.schemes { background: var(--ink); color: #e9e0d6; padding: 28px 28px 22px; position: relative; }
.schemes::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--haldi), var(--kumkum)); }
.schemes h3 { font-family: var(--serif-display); font-size: 1.6rem; line-height: 1.15; color: #fff; margin: 6px 0 14px; }
.scheme-list { list-style: none; counter-reset: sch; }
.scheme-list li { counter-increment: sch; padding: 14px 0 14px 38px; border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.scheme-list li::before { content: counter(sch, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--serif-display); font-style: italic; color: var(--haldi); font-size: 1.05rem; }
.scheme-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.scheme-top b { font-family: var(--serif-display); font-size: 1.05rem; color: #fff; }
.scheme-tag { font-family: var(--sans); font-size: max(.6rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--haldi); border: 1px solid rgba(200,144,46,.5); padding: 2px 7px; white-space: nowrap; }
.scheme-list p { font-size: .88rem; color: #b9ada5; margin-top: 4px; line-height: 1.5; }
.schemes-note { font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); color: #8a7e77; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; line-height: 1.5; }

/* Shringar: beauty spread */
.dept.beauty {
  --blush: #f7e6e1; --blush-2: #efd3cc; --rose: #b4485e;
  background: linear-gradient(180deg, var(--blush) 0%, #f3ddd7 100%);
  margin-top: 56px; padding: 80px 0 80px; position: relative; overflow: hidden;
}
.dept.beauty::before {
  content: attr(data-watermark); position: absolute; right: -2%; top: 10px;
  font-family: var(--deva); font-size: clamp(6rem, 17vw, 15rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(180, 72, 94, .2); pointer-events: none; user-select: none;
}
.dept.beauty .wrap { position: relative; }
.dept.beauty .sec-head { border-top-color: var(--kumkum-deep); }
.dept.beauty .sec-head h2 { color: var(--kumkum-deep); }
.dept.beauty .sec-head .deva { color: var(--rose); }

.layout-beauty { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .95fr); gap: 28px; align-items: stretch; }

.beauty-feature { position: relative; min-height: 560px; overflow: hidden; background: var(--kumkum-deep); }
.beauty-feature .img-frame { position: absolute; inset: 0; }
.beauty-feature .img-frame img { object-position: center 30%; }
.bf-text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 28px 28px; color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(42, 9, 16, .55) 40%, rgba(42, 9, 16, .92) 100%);
}
.bf-tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 10px; background: #fff; color: var(--kumkum-deep);
  font-family: var(--sans); font-size: max(.62rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.bf-text .kicker { display: block; color: #f3d9a8; }
.bf-text .headline { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 900; margin: 6px 0 10px; color: #fff; }
.bf-text .deck { color: rgba(255,255,255,.88); font-size: 1rem; margin-bottom: 10px; }
.bf-text .byline { color: rgba(255,255,255,.7); }
.bf-text .byline b { color: #fff; }
@media (hover: hover) { .beauty-feature:hover .headline { color: #f3d9a8; } }

.beauty-mid, .beauty-side { display: flex; flex-direction: column; gap: 24px; }
.bc { background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--blush-2); transition: box-shadow .25s, transform .25s var(--ease); }
@media (hover: hover) { .bc:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(92, 15, 29, .35); } }
.bc .img-frame { aspect-ratio: 16 / 10; }
.bc-text { padding: 16px 18px 18px; }
.bc .headline { font-size: 1.2rem; margin: 4px 0 6px; }
.bc .deck { font-size: .9rem; }

/* compact side card (sunscreen) */
.beauty-side .bc { flex-direction: row; }
.beauty-side .bc .img-frame { aspect-ratio: auto; width: 120px; flex-shrink: 0; }
.beauty-side .bc .bc-text { padding: 14px 16px; }
.beauty-side .bc .headline { font-size: 1.08rem; }
.beauty-side .bc .deck { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.layout-beauty { align-items: start; }
.beauty-feature { align-self: stretch; }

.shade-finder { background: #fff; border-top: 3px solid var(--rose); padding: 20px 20px 18px; }
.shade-finder .kicker { color: var(--rose); }
.shade-finder h4 { font-family: var(--serif-display); font-size: 1.35rem; line-height: 1.2; margin: 4px 0 6px; }
.sf-q { font-size: .9rem; color: var(--muted); font-style: italic; margin-bottom: 12px; }
.sf-options { display: grid; gap: 6px; }
.sf-options button {
  display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; text-align: left;
  border: 1px solid var(--hair); background: var(--paper); font-family: var(--sans); font-size: .82rem; font-weight: 500;
  transition: border-color .2s, background .2s;
}
.sf-options button i { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.sf-options button:hover { border-color: var(--rose); }
.sf-options button[aria-checked="true"] { border-color: var(--rose); background: #fbeef0; font-weight: 700; box-shadow: inset 3px 0 0 var(--rose); }
.sf-result:not(:empty) { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--hair); animation: rise .3s var(--ease); }
.sf-name { font-family: var(--serif-display); font-weight: 700; font-size: 1.1rem; color: var(--kumkum-deep); }
.sf-text { font-size: .88rem; color: var(--ink-2); margin: 4px 0 10px; line-height: 1.55; }
.sf-label { font-family: var(--sans); font-size: max(.62rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.sf-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sf-swatches span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--sans); font-size: max(.64rem, var(--fmin, 0px)); color: var(--ink-2); text-align: center; line-height: 1.2; }
.sf-swatches i { width: 100%; height: 26px; border-radius: 13px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.sf-link { display: inline-block; margin-top: 12px; font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); font-weight: 600; color: var(--rose); }
.sf-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* layout C: numbered row of 4 */
.layout-c { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.layout-c .story { border-top: 1px solid var(--ink); padding-top: 14px; }
.layout-c .img-frame { aspect-ratio: 4 / 3; margin: 12px 0 14px; }
.layout-c .headline { font-size: 1.2rem; margin: 4px 0 6px; }
.layout-c .deck { font-size: .9rem; }
.layout-c .n { font-family: var(--serif-display); font-style: italic; font-size: 2rem; color: var(--haldi); line-height: 1; }

/* ---------- Pull quote ---------- */
.pullquote { text-align: center; padding: 88px 0; background: var(--kumkum); color: #fff; margin-top: 56px; }
.pq-hi { font-size: clamp(1.5rem, 4vw, 2.9rem); line-height: 1.45; }
.pq-en { font-family: var(--serif-display); font-style: italic; font-size: 1.15rem; color: #f3d9a8; margin-top: 12px; }

/* ---------- Wellness desk ---------- */
.desk {
  padding: 88px 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(200,144,46,.12), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(62,91,58,.10), transparent 45%),
    var(--paper-2);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.desk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 32px; }
.desk-head h2 { font-family: var(--serif-display); font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; margin-top: 6px; }
.desk-head h2 em { color: var(--kumkum); }
.desk-deck { color: var(--muted); font-style: italic; margin-top: 6px; }
.desk-privacy {
  display: flex; gap: 10px; align-items: flex-start; max-width: 330px;
  font-family: var(--sans); font-size: .78rem; line-height: 1.5; color: var(--ink-2);
  background: rgba(255,255,255,.7); border: 1px solid var(--hair); padding: 12px 14px;
}
.desk-privacy svg { color: var(--mehendi); flex-shrink: 0; margin-top: 1px; }
.desk-privacy b { color: var(--ink); }

.desk-shell {
  display: grid; grid-template-columns: 272px minmax(0, 1fr);
  background: #fff; border: 1px solid var(--ink);
  box-shadow: 0 30px 60px -30px rgba(27,21,20,.25);
}

/* tool switcher */
.desk-nav { display: flex; flex-direction: column; border-right: 1px solid var(--hair); background: var(--paper); }
.desk-nav [role="tab"] {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 20px 20px;
  border-bottom: 1px solid var(--hair); position: relative; transition: background .2s;
}
.desk-nav [role="tab"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background .2s; }
.desk-nav [role="tab"]:hover { background: #fff; }
.desk-nav [aria-selected="true"] { background: #fff; }
.desk-nav [aria-selected="true"]::before { background: var(--kumkum); }
.dn-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: transform .25s var(--ease); }
.dn-icon svg { width: 22px; height: 22px; }
.dn-cycle { background: #fbe4e7; color: var(--kumkum); }
.dn-bmi   { background: #e6eee3; color: var(--mehendi); }
.dn-water { background: #e2eef6; color: #2f6f9f; }
.desk-nav [aria-selected="true"] .dn-icon { transform: scale(1.06); }
.dn-text b { display: block; font-family: var(--serif-display); font-size: 1.12rem; font-weight: 700; line-height: 1.2; }
.dn-text small { display: block; font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); color: var(--muted); margin-top: 2px; }

/* panels */
.panel { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); min-height: 560px; }
.panel.active { animation: rise .35s var(--ease); }
.panel-form { padding: 32px 30px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 22px; }
.panel-form h3 { font-family: var(--serif-display); font-size: 1.7rem; line-height: 1.15; }
.panel-deck { font-size: .93rem; color: var(--muted); font-style: italic; margin-top: -14px; line-height: 1.5; }
.panel-result { padding: 32px 34px; background: linear-gradient(180deg, #fff, #fdfaf6); min-width: 0; }

/* fields */
.field { display: grid; gap: 8px; }
.field-label { font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.hint { font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); color: var(--muted); line-height: 1.45; }
.field input[type="date"], .mini input, .stepper input {
  font-family: var(--serif-text); font-size: 1.05rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hair); min-height: 50px; padding: 10px 14px; width: 100%;
  border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .mini input:focus, .stepper input:focus { outline: none; background: #fff; border-color: var(--kumkum); box-shadow: 0 0 0 3px rgba(158,27,50,.12); }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.mini { position: relative; display: block; }
.mini input { padding-right: 44px; }
.mini > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: .8rem; color: var(--muted); pointer-events: none; }
.height-ft { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.stepper { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto 50px; align-items: center; border: 1px solid var(--hair); background: var(--paper); }
.stepper:focus-within { border-color: var(--kumkum); box-shadow: 0 0 0 3px rgba(158,27,50,.12); }
.stepper button { height: 50px; font-size: 1.4rem; color: var(--ink); transition: background .15s, color .15s; }
.stepper button:hover { background: var(--ink); color: #fff; }
.stepper button:active { transform: scale(.94); }
.stepper input { border: 0; background: transparent; text-align: right; padding: 0 6px 0 0; font-family: var(--serif-display); font-weight: 700; font-size: 1.35rem; box-shadow: none !important; }
.stepper .unit { font-family: var(--sans); font-size: .8rem; color: var(--muted); padding-right: 6px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg button { min-height: 42px; padding: 0 8px; font-family: var(--sans); font-size: .76rem; font-weight: 600; transition: background .2s, color .2s; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.seg button:not([aria-checked="true"]):hover { background: var(--paper); }

.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { position: relative; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.toggle span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--hair); background: var(--paper); font-family: var(--sans); font-size: .8rem; font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.toggle input:checked + span { background: #e2eef6; border-color: #2f6f9f; color: #1d4f75; font-weight: 600; }
.toggle input:focus-visible + span { outline: 2px solid var(--kumkum); outline-offset: 2px; }

/* empty state */
.empty-state { height: 100%; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 1px dashed var(--hair); }
.es-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--haldi); font-size: 1.8rem; margin-bottom: 16px; }
.es-icon svg { width: 34px; height: 34px; }
.es-title { font-family: var(--serif-display); font-size: 1.3rem; font-weight: 700; }
.es-text { color: var(--muted); font-size: .95rem; max-width: 300px; margin-top: 4px; }

/* result blocks */
.res-hero { padding: 22px 24px; color: #fff; margin-bottom: 18px; position: relative; overflow: hidden; }
.res-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cycle-hero { background: linear-gradient(135deg, var(--kumkum), #c2384f); }
.water-hero { background: linear-gradient(135deg, #2f6f9f, #4a93c4); }
.bmi-hero { background: linear-gradient(135deg, var(--mehendi), #5b7f55); }
.bmi-hero.under { background: linear-gradient(135deg, #2f6f9f, #4a93c4); }
.bmi-hero.over  { background: linear-gradient(135deg, #b07415, var(--haldi)); }
.bmi-hero.obese { background: linear-gradient(135deg, var(--kumkum-deep), var(--kumkum)); }
.res-eyebrow { font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.res-big { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; margin: 4px 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.res-sub { font-size: .95rem; opacity: .92; }
.pill { font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; background: #fff; color: var(--ink); }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { border: 1px solid var(--hair); border-top: 3px solid var(--kumkum); padding: 12px 14px; background: #fff; }
.stat.fertile { border-top-color: var(--haldi); }
.stat.ovulation { border-top-color: #b07415; }
.stat.healthy { border-top-color: var(--mehendi); }
.stat-k { display: block; font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat-v { display: block; font-family: var(--serif-display); font-weight: 700; font-size: 1.15rem; margin-top: 2px; }

.res-tip { background: var(--paper); border-left: 3px solid var(--mehendi); padding: 14px 16px; font-size: .97rem; margin-bottom: 12px; }
.res-note { font-family: var(--sans); font-size: .76rem; color: var(--muted); line-height: 1.55; margin-top: 10px; }
.res-note.warn { color: var(--kumkum-deep); background: #fbe4e7; padding: 10px 12px; }

/* calendar */
.cal { border: 1px solid var(--hair); padding: 14px 14px 12px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-family: var(--serif-display); font-weight: 700; font-size: 1.1rem; }
.cal-nav { width: 40px; height: 40px; font-size: 1.4rem; border: 1px solid var(--hair); transition: background .2s, color .2s; }
.cal-nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week span { text-align: center; font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-d {
  aspect-ratio: 1; display: grid; place-items: center; font-family: var(--sans); font-size: .84rem; font-weight: 500;
  border-radius: 50%; position: relative; max-height: 46px; margin: 0 auto; width: 100%; max-width: 46px;
}
.cal-d.past { color: #b3a79f; }
.cal-d.period { background: var(--kumkum); color: #fff; }
.cal-d.period.past { background: #e7b6be; color: #fff; }
.cal-d.fertile { background: #fbecd2; color: #7a5313; }
.cal-d.fertile.past { background: #f7f0e4; color: #c1a77d; }
.cal-d.ovulation { background: #fff; color: #7a5313; box-shadow: inset 0 0 0 2px var(--haldi); font-weight: 700; }
.cal-d.today { box-shadow: 0 0 0 2px var(--ink); font-weight: 700; }
.cal-d.today::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hair); font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg.period { background: var(--kumkum); }
.lg.fertile { background: #fbecd2; border: 1px solid #ecd3a6; }
.lg.ovulation { box-shadow: inset 0 0 0 2px var(--haldi); }
.lg.today { box-shadow: inset 0 0 0 2px var(--ink); }

/* BMI gauge */
.gauge { margin: 6px 0 22px; padding-top: 30px; }
.gauge-bar { display: flex; height: 12px; position: relative; }
.g.under { background: #8fb8d6; } .g.healthy { background: var(--mehendi); } .g.over { background: var(--haldi); } .g.obese { background: var(--kumkum); }
.gauge-marker { position: absolute; top: -8px; width: 2px; height: 28px; background: var(--ink); transform: translateX(-1px); transition: left .5s var(--ease); }
.gauge-marker b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); padding: 2px 7px; white-space: nowrap; }
.gauge-ticks { position: relative; height: 18px; font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); color: var(--muted); }
.gauge-ticks span { position: absolute; top: 4px; transform: translateX(-50%); }
.gauge-labels { display: flex; font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.gauge-labels span:nth-child(1) { flex: 3.5; } .gauge-labels span:nth-child(2) { flex: 4.5; } .gauge-labels span:nth-child(3) { flex: 2; } .gauge-labels span:nth-child(4) { flex: 10; text-align: right; }

/* water tracker */
.tracker { border: 1px solid var(--hair); background: #fff; padding: 16px; margin-bottom: 16px; }
.tracker-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--sans); font-size: .85rem; margin-bottom: 10px; }
.tracker-reset { font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; }
.tracker-reset:hover { color: var(--kumkum); }
.progress { height: 6px; background: #e2eef6; margin-bottom: 14px; }
.progress span { display: block; height: 100%; background: #2f6f9f; transition: width .4s var(--ease); }
.glasses { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 8px; }
.glass { height: 50px; display: grid; place-items: center; transition: transform .15s; }
.glass:hover { transform: translateY(-2px); }
.glass:active { transform: scale(.92); }
.glass svg { width: 28px; height: 38px; }
.glass .gl-line { stroke: #9cc0dc; }
.glass .gl-fill { fill: transparent; transition: fill .25s; }
.glass.full .gl-line { stroke: #2f6f9f; }
.glass.full .gl-fill { fill: #4a93c4; }
.tracker-hint { font-family: var(--sans); font-size: .76rem; color: var(--muted); margin-top: 10px; }
.breakdown { list-style: none; border-top: 1px solid var(--hair); }
.breakdown li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: .93rem; }
.breakdown li b { font-family: var(--sans); font-size: .85rem; }
.breakdown li.total { border-bottom: 2px solid var(--ink); font-weight: 600; }

.fineprint { font-family: var(--sans); font-size: .76rem; color: var(--muted); text-align: center; margin-top: 20px; }
.clear-data { font-family: var(--sans); font-size: .76rem; font-weight: 600; color: var(--kumkum); text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; margin-left: 6px; }
.clear-data:hover { color: var(--kumkum-deep); }

/* ---------- Archive ---------- */
.archive { padding: 80px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  min-height: 38px; font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--hair); padding: 8px 14px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .count { opacity: .55; margin-left: 4px; }
.archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.archive-grid .img-frame { aspect-ratio: 4 / 3; margin-bottom: 12px; }
.archive-grid .headline { font-size: 1.15rem; margin: 4px 0 6px; }
.archive-grid .deck { font-size: .88rem; }
.archive-grid .story { animation: rise .4s var(--ease) both; }
.archive-more { text-align: center; margin-top: 40px; }

/* ---------- Subscribe ---------- */
.subscribe {
  background:
    radial-gradient(circle at 90% 10%, rgba(200,144,46,.28), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(0,0,0,.25), transparent 50%),
    var(--kumkum);
  color: #fff; padding: 80px 0;
}
.subscribe-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.subscribe .kicker.light { color: #f3d9a8; }
.subscribe h2 { font-family: var(--serif-display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; margin-top: 10px; }
.subscribe h2 em { color: #f3d9a8; }
.subscribe p { color: rgba(255,255,255,.82); }
.news-form { display: flex; margin-top: 22px; background: #fff; padding: 5px; }
.news-form input { flex: 1; min-width: 0; min-height: 50px; background: transparent; border: 0; padding: 12px 14px; color: var(--ink); font-family: var(--serif-text); font-size: 1rem; }
.news-form input::placeholder { color: #9a8d87; }
.news-form input:focus { outline: none; }
.news-form:focus-within { box-shadow: 0 0 0 3px rgba(243,217,168,.6); }
.news-form .btn-gold:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-msg { color: #f3d9a8 !important; margin-top: 14px; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #15100f; color: #d9cec4; padding-top: 72px; overflow: hidden; }
.footer a { transition: color .2s; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }

.footer-hi { color: var(--haldi); font-size: 1.05rem; letter-spacing: .08em; }
.footer-title { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1; color: #fff; margin: 4px 0 6px; }
.footer-motto { color: #f3d9a8; font-size: 1.15rem; }
.footer-mission { font-size: .98rem; color: #a99d95; margin: 16px 0 28px; max-width: 380px; line-height: 1.6; }
.footer-label { font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8a7e77; margin-bottom: 12px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); color: #e9e0d6;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.social a:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.social a[data-net="instagram"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social a[data-net="facebook"]:hover  { background: #1877f2; }
.social a[data-net="youtube"]:hover   { background: #ff0000; }
.social a[data-net="whatsapp"]:hover  { background: #25d366; }
.social a[data-net="x"]:hover         { background: #000; border-color: #444; }
.social a[data-net="linkedin"]:hover  { background: #0a66c2; }

.footer-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; }
.footer-col summary {
  list-style: none; cursor: default; pointer-events: none;
  font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--haldi); display: inline-block;
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a, .footer-linkbtn {
  display: inline-block; padding: 5px 0; font-size: .98rem; color: #c9bdb3; text-align: left;
  background-image: linear-gradient(var(--haldi), var(--haldi)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 92%;
  transition: color .2s, background-size .3s var(--ease);
}
.footer-col a:hover, .footer-linkbtn:hover { color: #fff; background-size: 100% 1px; }
#footerCats { grid-template-columns: 1fr 1fr; column-gap: 20px; }

/* ---------- Women's helplines (footer) ---------- */
.helplines { padding: 40px 0 8px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 40px; }
.help-head { margin-bottom: 22px; }
.help-head .footer-label .deva { letter-spacing: 0; text-transform: none; font-size: .8rem; font-weight: 400; color: #b8aaa1; }
.help-title { font-family: var(--serif-display); font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; font-weight: 700; line-height: 1.15; }
.help-sub { color: #a99d95; font-size: .95rem; margin-top: 6px; }
.help-sub a { color: #f3d9a8; font-weight: 700; border-bottom: 1px solid currentColor; }
.help-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.help-card a {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); border-radius: 4px;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.help-card a:hover, .help-card a:focus-visible { border-color: var(--haldi); background: rgba(200,144,46,.08); }
@media (hover: hover) { .help-card a:hover { transform: translateY(-2px); } }
.help-num { font-family: var(--sans); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; color: #f3d9a8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.help-num::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.help-name { font-family: var(--sans); font-size: .8rem; color: #e9e0d6; line-height: 1.35; }
.help-hi { font-size: .82rem; color: #8a7e77; }
.help-urgent a { background: var(--kumkum); border-color: var(--kumkum); }
.help-urgent a:hover, .help-urgent a:focus-visible { background: #b42340; border-color: #f3d9a8; }
.help-urgent .help-num { color: #fff; }
.help-urgent .help-hi { color: #f3d9a8; }
@media (max-width: 1100px) { .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .helplines { padding: 32px 0; text-align: left; }
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .help-card a { padding: 12px; }
  .help-num { font-size: 1.2rem; }
  .help-num::before { width: 12px; height: 12px; margin-right: 6px; }
  .help-num-long { font-size: .98rem; letter-spacing: 0; }
  .help-name { font-size: max(.74rem, var(--fmin, 0px)); }
  .help-urgent { grid-column: span 1; }
}

.footer-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 32px 0 0; padding: 18px 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
}
.footer-note svg { color: var(--haldi); flex-shrink: 0; margin-top: 2px; }
.footer-note p { font-size: .9rem; color: #a99d95; line-height: 1.6; }
.footer-note strong { color: #e9e0d6; }

.footer-watermark {
  text-align: center; white-space: nowrap; line-height: 1.4;
  font-size: clamp(2.6rem, 9.5vw, 8.5rem); color: transparent;
  -webkit-text-stroke: 1px rgba(243, 217, 168, .26);
  margin: 36px 0 0; padding: 0 0 .1em; user-select: none; pointer-events: none;
}

.footer-bar { background: #0e0a09; position: relative; }
.footer-bar-inner {
  display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap;
  padding: 18px 0; font-family: var(--sans); font-size: .76rem; color: #8a7e77;
}
.footer-unit { letter-spacing: .16em; text-transform: uppercase; }
.footer-unit strong { color: #f3d9a8; letter-spacing: .2em; }
.to-top {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.18); color: #e9e0d6;
  font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.to-top:hover { background: var(--haldi); border-color: var(--haldi); color: var(--ink); }

/* ---------- Tab bar (mobile) ---------- */
.tabbar { display: none; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(27, 21, 20, .5); animation: fade .25s; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw);
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  padding: max(16px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  animation: slide-in .32s var(--ease);
  box-shadow: 20px 0 60px rgba(0,0,0,.18);
}
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 3px double var(--ink); margin-bottom: 8px; }
.drawer-title { display: block; font-family: var(--serif-display); font-weight: 900; font-size: 1.8rem; letter-spacing: -.02em; line-height: 1.1; }
.drawer-tag { color: var(--kumkum); font-size: .95rem; }
.drawer-label { font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 20px 0 6px; }
.drawer-cats, .drawer-links { list-style: none; }
.drawer-cats a, .drawer-links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--hair); min-height: 48px;
}
.drawer-cats .name { font-family: var(--serif-display); font-size: 1.12rem; font-weight: 600; }
.drawer-cats .hi { font-family: var(--deva); color: var(--haldi); font-size: .9rem; }
.drawer-cats a:hover .name, .drawer-links a:hover { color: var(--kumkum); }
.drawer-links a { font-family: var(--sans); font-size: .9rem; font-weight: 500; }
.drawer-foot { margin-top: 28px; font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.drawer-foot strong { color: var(--ink); }

/* ---------- Search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 130; background: rgba(27, 21, 20, .45); animation: fade .2s; }
.search-panel {
  background: var(--paper); max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding-top: env(safe-area-inset-top); animation: drop .3s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.search-bar { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding: 18px 0 14px; position: sticky; top: 0; background: var(--paper); z-index: 1; }
.search-bar input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: var(--serif-display); font-style: italic; font-size: clamp(1.3rem, 3vw, 2rem); padding: 4px 0;
}
.search-bar input:focus { outline: none; }
.search-bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-cancel { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 10px 4px; min-height: 44px; }
.search-cancel:hover { color: var(--kumkum); }
.search-body { padding: 8px 0 40px; }
.search-popular .chips { margin-bottom: 8px; }
.search-count { font-family: var(--sans); font-size: .76rem; color: var(--muted); margin: 16px 0 4px; }
.search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.search-results .row { padding: 16px 0; grid-template-columns: minmax(0, 1fr) 88px; }
.search-results .row:first-child { padding-top: 16px; }
.search-results mark { background: rgba(200, 144, 46, .3); color: inherit; padding: 0 2px; }
.search-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); font-style: italic; }

/* ---------- Article reader ---------- */
.reader { position: fixed; inset: 0; z-index: 140; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; animation: fade .25s; }
.reader-bar {
  position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: env(safe-area-inset-top) 12px 0; min-height: 56px;
  background: rgba(251, 247, 241, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink);
}
.reader-brand { font-family: var(--serif-display); font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; }
.reader-back, .reader-share {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px;
  font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.reader-back { justify-self: start; }
.reader-share { justify-self: end; }
.reader-back:hover, .reader-share:hover { color: var(--kumkum); }
.reader-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--kumkum); transition: width .1s linear; }
.reader-article { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.ra-head > .kicker { display: block; text-align: center; }
.reader-article h1 { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; text-align: center; margin: 14px 0; letter-spacing: -.02em; }
.ra-head > .deck { text-align: center; font-size: 1.22rem; margin-bottom: 16px; }
.ra-head > .byline { text-align: center; margin-bottom: 32px; }
.reader-article figure { margin: 0 -40px 36px; }
.reader-article figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.reader-article figcaption { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); color: var(--muted); margin-top: 8px; padding: 0 40px; }
.reader-body { font-size: 1.15rem; line-height: 1.78; }
.reader-body > p:first-child::first-letter {
  float: left; font-family: var(--serif-display); font-weight: 900; font-size: 4.8rem; line-height: .8; padding: 8px 12px 0 0; color: var(--kumkum);
}
.reader-body p, .reader-body ul, .reader-body ol { margin-bottom: 1.1em; }
.reader-body ul, .reader-body ol { padding-left: 1.3em; }
.reader-body li { margin-bottom: .5em; padding-left: .2em; }
.reader-body li::marker { color: var(--kumkum); }
.reader-note { border-top: 1px solid var(--ink); margin-top: 40px; padding-top: 14px; font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.related { margin-top: 56px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.related .img-frame { aspect-ratio: 4 / 3; margin-bottom: 10px; }
.related .headline { font-size: 1.05rem; margin-top: 4px; }

/* ---------- Share ---------- */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
  border: 1px solid var(--hair); background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.share-btn:active { transform: scale(.96); }
.share-whatsapp svg { color: #25d366; }
.share-facebook svg { color: #1877f2; }
.share-x svg        { color: #000; }
.share-linkedin svg { color: #0a66c2; }
.share-copy svg     { color: var(--kumkum); }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-x:hover        { background: #000;    border-color: #000;    color: #fff; }
.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-copy:hover     { background: var(--ink); border-color: var(--ink); color: #fff; }
.share-btn:hover svg  { color: currentColor; }

/* under the byline: round icon buttons */
.share-row.compact { justify-content: center; margin: -14px 0 30px; }
.share-row.compact .share-btn { width: 42px; padding: 0; justify-content: center; border-radius: 50%; }
.share-row.compact .share-btn span { display: none; }

/* end of article */
.share-block { margin-top: 40px; padding: 26px 24px; background: var(--paper-2); border-top: 3px solid var(--ink); text-align: center; }
.share-block-title { font-family: var(--serif-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; line-height: 1.35; }
.share-block-title em { display: block; font-family: var(--serif-text); font-weight: 400; font-size: 1rem; color: var(--muted); margin-top: 2px; }
.share-row.full { justify-content: center; }

/* top-bar menu */
.share-pop {
  position: absolute; top: calc(100% + 8px); right: 12px; z-index: 5; width: 230px;
  background: #fff; border: 1px solid var(--ink); box-shadow: 0 18px 40px rgba(27,21,20,.18);
  padding: 12px; animation: drop .2s var(--ease);
}
.share-pop-title { font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 10px; }
.share-row.vertical { flex-direction: column; gap: 4px; }
.share-row.vertical .share-btn { border-color: transparent; justify-content: flex-start; width: 100%; font-size: .85rem; }


/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; font-family: var(--sans); font-size: .85rem; padding: 12px 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animations ---------- */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1100px) {
  .cover { grid-template-columns: minmax(0, 1fr) 300px; }
  .cover-index { grid-column: 1 / -1; grid-row: 2; border-right: 0; padding-right: 0; }
  .cover-index ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .letter-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .letter-head { grid-column: 1 / -1; }
  .layout-c, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-links { justify-content: flex-start; }
  .desk-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .layout-beauty { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .beauty-feature { grid-row: span 2; }
  .beauty-side { grid-column: 2; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-form { border-right: 0; border-bottom: 1px solid var(--hair); }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 820px) {
  :root { --gutter: 18px; }
  html { scroll-padding-top: calc(var(--appbar-h) + 8px); }
  body { font-size: 16px; }

  /* Chrome */
  .utility { display: none; }
  .appbar {
    display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
    position: sticky; top: 0; z-index: 60;
    height: calc(var(--appbar-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 6px 0;
    background: rgba(251, 247, 241, .94);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
  }
  .appbar.scrolled { border-bottom-color: var(--hair); box-shadow: 0 6px 20px rgba(27,21,20,.06); }
  .appbar-brand { text-align: center; line-height: 1; }
  .appbar-title { display: block; font-family: var(--serif-display); font-weight: 900; font-size: 1.55rem; letter-spacing: -.025em; }
  .appbar-hi { display: block; font-family: var(--deva); font-size: max(.72rem, var(--fmin, 0px)); color: var(--kumkum); margin-top: 2px; letter-spacing: .08em; }

  .masthead { padding: 4px 0 14px; }
  .mast-hi, .mast-title, .mast-sep { display: none; }
  .mast-tag { display: flex; flex-direction: column; gap: 2px; }
  .mast-tag .deva { font-size: 1.05rem; }
  .mast-en { font-size: max(.62rem, var(--fmin, 0px)); letter-spacing: .22em; }

  .section-nav { position: static; border-top-width: 3px; }
  .nav-brand, .nav-search { display: none; }
  .section-links {
    gap: 20px; padding: 12px 0; font-size: max(.7rem, var(--fmin, 0px));
    margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .ticker { font-size: .8rem; }
  .ticker-inner { gap: 12px; }

  /* Cover */
  .cover { display: flex; flex-direction: column; gap: 0; padding: 20px 0 36px; }
  .cover-lead { order: 1; }
  .cover-lead .img-frame { aspect-ratio: 4 / 5; margin-inline: calc(-1 * var(--gutter)); }
  .cover-lead .kicker { margin-top: 16px; }
  .cover-lead .headline { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .cover-lead .deck { font-size: 1.05rem; }
  .cover-side { order: 2; border-left: 0; padding-left: 0; gap: 0; margin-top: 28px; border-top: 1px solid var(--ink); }
  .cover-side .story + .story { border-top: 0; padding-top: 0; }
  .cover-side .story {
    display: grid; grid-template-columns: minmax(0, 1fr) 96px; column-gap: 14px; align-content: start;
    padding: 16px 0; border-bottom: 1px solid var(--hair);
  }
  .cover-side .img-frame { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 1; margin: 0; }
  .cover-side .kicker, .cover-side .headline, .cover-side .deck { grid-column: 1; }
  .cover-side .headline { font-size: 1.12rem; margin: 4px 0; }
  .cover-side .deck { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cover-index { order: 3; margin-top: 32px; }
  .cover-index ol {
    display: grid; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) 4px; scroll-padding-inline: var(--gutter);
  }
  .cover-index ol::-webkit-scrollbar { display: none; }
  .cover-index li { scroll-snap-align: start; border: 1px solid var(--hair); background: #fff; padding: 14px 16px; }
  .cover-index h3 { margin-bottom: 0; }

  /* Letter */
  .letter { padding: 48px 0; }
  .letter-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .letter-body p { font-size: 1.02rem; }
  .dropcap::first-letter { font-size: 3.9rem; }
  .letter-pillars { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 8px; }
  .letter-pillars h4 { font-size: 1.2rem; }

  /* Section heads */
  .dept { padding: 48px 0 8px; }
  .dept.dark { padding-bottom: 48px; margin-top: 40px; }
  .sec-head { margin-bottom: 24px; column-gap: 12px; }
  .sec-head h2 { font-size: 2.1rem; }
  .sec-head .deva { font-size: 1.15rem; }
  .sec-deck { font-size: .95rem; }

  /* Row list (shared) */
  .row { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 16px 0; }
  .row:first-child { padding-top: 16px; }
  .row .headline { font-size: 1.08rem; }
  .row .deck { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Layout A */
  .layout-a { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .layout-a .feature .img-frame { margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; }
  .layout-a .feature .headline { font-size: 1.75rem; }
  .layout-a .feature .deck { font-size: 1rem; }

  /* Layouts B & C become swipe carousels */
  .layout-b, .layout-c {
    display: grid; grid-auto-flow: column; grid-template-columns: none; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .layout-b::-webkit-scrollbar, .layout-c::-webkit-scrollbar { display: none; }
  .layout-b { grid-auto-columns: 76%; }
  .layout-c { grid-auto-columns: 72%; }
  .layout-b > *, .layout-c > * { scroll-snap-align: start; }
  .layout-b .headline { font-size: 1.25rem; }
  .layout-b .deck, .layout-c .deck { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .layout-c .headline { font-size: 1.12rem; }
  .layout-c .n { font-size: 1.6rem; }
  .carousel-hint {
    display: flex; align-items: center; gap: 8px; margin-top: 16px;
    font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  }
  .dept.dark .carousel-hint { color: #9b8f86; }
  .carousel-dots { display: flex; gap: 6px; margin-left: auto; }
  .carousel-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; transition: opacity .2s, width .2s; }
  .carousel-dots i.on { opacity: 1; width: 16px; border-radius: 3px; }

  /* Layout A mirrored + money */
  .layout-a.reverse { grid-template-columns: minmax(0, 1fr); }
  .layout-a.reverse .feature { order: 0; }
  .layout-money { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .money-stories { gap: 12px; }
  .money-card { grid-template-columns: minmax(0, 1fr) 104px; }
  .money-card .img-frame { order: 2; min-height: 0; }
  .mc-text { padding: 14px 16px; }
  .mc-text .headline { font-size: 1.08rem; margin: 4px 0; }
  .mc-text .deck { font-size: .84rem; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mc-text .byline { display: none; }
  .schemes { margin-inline: calc(-1 * var(--gutter)); padding: 26px var(--gutter) 20px; }
  .schemes h3 { font-size: 1.4rem; }

  /* Shringar */
  .dept.beauty { padding: 48px 0; margin-top: 40px; }
  .dept.beauty::before { font-size: 6.5rem; top: 24px; }
  .layout-beauty { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .beauty-feature { grid-row: auto; min-height: 0; aspect-ratio: 4 / 5; margin-inline: calc(-1 * var(--gutter)); }
  .beauty-side { grid-column: auto; }
  .bf-text { padding: 90px var(--gutter) 22px; }
  .bf-text .headline { font-size: 1.75rem; }
  .bf-text .deck { font-size: .95rem; }
  .beauty-mid, .beauty-side { gap: 12px; }
  .beauty-side { margin-top: 4px; }
  .bc { flex-direction: row-reverse; align-items: stretch; }
  .bc .img-frame { aspect-ratio: auto; width: 108px; flex-shrink: 0; }
  .bc-text { padding: 14px 14px 14px 16px; flex: 1; min-width: 0; }
  .bc .headline { font-size: 1.05rem; }
  .bc .deck { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .beauty-side .shade-finder { order: 2; }

  /* Pull quote */
  .pullquote { padding: 56px 0; margin-top: 40px; }
  .pq-en { font-size: 1rem; }

  /* Wellness desk */
  .desk { padding: 52px 0; }
  .desk-head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 20px; }
  .desk-head h2 { font-size: 2.2rem; }
  .desk-privacy { max-width: none; }
  .desk-shell { grid-template-columns: minmax(0, 1fr); margin-inline: calc(-1 * var(--gutter)); border-left: 0; border-right: 0; }
  .desk-nav {
    flex-direction: row; border-right: 0; border-bottom: 1px solid var(--hair);
    position: sticky; top: calc(var(--appbar-h) + env(safe-area-inset-top)); z-index: 5;
  }
  .desk-nav [role="tab"] { flex: 1; flex-direction: column; gap: 6px; padding: 12px 4px 10px; border-bottom: 0; text-align: center; }
  .desk-nav [role="tab"] + [role="tab"] { border-left: 1px solid var(--hair); }
  .desk-nav [role="tab"]::before { top: auto; right: 0; width: auto; height: 3px; }
  .dn-icon { width: 38px; height: 38px; }
  .dn-icon svg { width: 20px; height: 20px; }
  .dn-text b { font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); font-weight: 600; }
  .dn-text small { display: none; }
  .panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .panel-form { padding: 22px var(--gutter); border-right: 0; border-bottom: 1px solid var(--hair); gap: 18px; }
  .panel-form h3 { font-size: 1.45rem; }
  .panel-result { padding: 20px var(--gutter) 24px; }
  .empty-state { min-height: 220px; }
  .res-hero { padding: 18px; }
  .res-big { font-size: 2rem; }
  .stat-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat-row > .stat:first-child:nth-last-child(3) { grid-column: 1 / -1; }
  .stat-v { font-size: 1.05rem; }
  .cal { padding: 12px 8px 10px; }
  .cal-grid { gap: 3px; }
  .cal-d { font-size: .8rem; }
  .glasses { grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 6px; }

  /* Phone home: keep the first screen calm */
  .ticker { display: none; }
  .letter-more { display: none; }

  /* Archive */
  .archive { padding: 56px 0; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .chips::-webkit-scrollbar { display: none; }
  .archive-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .archive-grid .story {
    display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hair);
  }
  .archive-grid .img-frame { aspect-ratio: 1; margin: 0; }
  .archive-grid .headline { font-size: 1.05rem; }
  .archive-grid .deck { font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .archive-more { margin-top: 24px; }
  .archive-more .btn { width: 100%; }

  /* Subscribe */
  .subscribe { padding: 56px 0; }
  .subscribe-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .news-form { flex-direction: column; gap: 6px; }
  .news-form .btn { width: 100%; }

  /* Footer */
  .footer { padding-top: 48px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 8px; border-bottom: 0; }
  .footer-brand { text-align: center; }
  .footer-mission { margin-inline: auto; }
  .social { justify-content: center; }
  .social a { width: 46px; height: 46px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .footer-col { border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-col summary {
    pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 0; margin: 0; padding: 18px 0; min-height: 56px;
  }
  .footer-col summary::after {
    content: ""; width: 10px; height: 10px; border-right: 2px solid var(--haldi); border-bottom: 2px solid var(--haldi);
    transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
  }
  .footer-col[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
  .footer-col ul { padding-bottom: 16px; }
  .footer-col a, .footer-linkbtn { padding: 8px 0; }
  .footer-note { margin-top: 28px; }
  .footer-watermark { margin-top: 28px; font-size: 12.5vw; -webkit-text-stroke-width: .8px; }
  .footer-bar-inner { flex-direction: column; text-align: center; gap: 6px; padding: 20px 0 24px; }
  /* room for the bottom tab bar, filled with the footer's own colour */
  .footer-bar { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .to-top { margin: 10px 0 0; }

  /* Tab bar */
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(251, 247, 241, .96);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--hair);
    transition: transform .3s var(--ease);
  }
  .tabbar.hide { transform: translateY(100%); }
  .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-family: var(--sans); font-size: max(.62rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .06em; color: var(--muted);
  }
  .tab svg { width: 22px; height: 22px; }
  .tab.active, .tab:active { color: var(--kumkum); }
  .toast { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 14px); }

  /* Search */
  .search { background: var(--paper); }
  .search-panel { min-height: 100%; box-shadow: none; animation: fade .2s; }
  .search-bar { padding: 10px 0; gap: 10px; }
  .search-bar input { font-size: 1.3rem; }
  .search-results { grid-template-columns: minmax(0, 1fr); }
  .search-popular .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }

  /* Reader */
  .reader-article { padding-top: 28px; }
  .reader-article h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); text-align: left; }
  .ra-head > .kicker, .ra-head > .deck, .ra-head > .byline { text-align: left; }
  .ra-head > .deck { font-size: 1.08rem; }
  .ra-head > .byline { margin-bottom: 22px; }
  .reader-article figure { margin: 0 calc(-1 * var(--gutter)) 28px; }
  .reader-article figure img { aspect-ratio: 4 / 3; }
  .reader-article figcaption { padding: 0 var(--gutter); }
  .reader-body { font-size: 1.08rem; }
  .reader-body > p:first-child::first-letter { font-size: 4rem; }
  .reader-brand { font-size: 1.15rem; }
  .reader-back span, .reader-share span { display: none; }
  .share-row.compact { justify-content: flex-start; margin: -8px 0 24px; }
  .share-block { margin-inline: calc(-1 * var(--gutter)); padding: 24px var(--gutter); text-align: left; }
  .share-row.full { display: grid; grid-template-columns: 1fr 1fr; }
  .share-row.full .share-btn { justify-content: center; min-height: 46px; }
  .share-row.full .share-whatsapp { grid-column: 1 / -1; background: #25d366; border-color: #25d366; color: #fff; }
  .share-row.full .share-whatsapp svg { color: #fff; }
  .related-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .related .story { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .related .img-frame { aspect-ratio: 1; margin: 0; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .layout-b { grid-auto-columns: 82%; }
  .layout-c { grid-auto-columns: 78%; }
  .row { grid-template-columns: minmax(0, 1fr) 84px; }
  .archive-grid .story { grid-template-columns: 88px minmax(0, 1fr); }
}

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

/* ---------- E-Magazine flipbook ---------- */
.emag { padding: 72px 0 40px; background: linear-gradient(180deg, var(--paper) 0%, #f3ebe0 100%); }
.emag-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.emag-now { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--ink); min-width: 0; }
.emag-now span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kumkum); flex: none; box-shadow: 0 0 0 4px rgba(158, 27, 50, .15); }
.emag-upload { cursor: pointer; min-height: 42px; padding: 10px 20px; }
.emag-stage {
  --emag-ratio: 1.35;
  position: relative; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 12px;
  background: radial-gradient(ellipse at center, #3a2a26 0%, #1b1514 75%);
  border-radius: 6px; overflow: hidden;
}
.emag-book {
  width: 100%;
  max-width: calc((100vh - 240px) / var(--emag-ratio) * 2);
  min-width: 260px;
  margin-inline: auto;
}
.emag-book .stf__parent { margin-inline: auto; }
.emag-page { background: #fff; overflow: hidden; }
.emag-page img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.emag-page .emag-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--sans); font-size: .75rem; color: var(--muted);
  background: repeating-linear-gradient(45deg, #faf6f0, #faf6f0 12px, #f3ece2 12px, #f3ece2 24px);
}
.emag-loading {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #f4e9dc; font-family: var(--sans); font-size: .9rem; text-align: center; padding: 20px;
  background: rgba(27, 21, 20, .85);
}
.emag-loading.error { color: #ffd2cf; }
.emag-loading.error .emag-spinner { display: none; }
.emag-spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--haldi); animation: emagSpin .9s linear infinite; }
@keyframes emagSpin { to { transform: rotate(360deg); } }
.emag-progress { width: min(260px, 70%); height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden; }
.emag-progress span { display: block; height: 100%; width: 0; background: var(--haldi); transition: width .25s; }
.emag-drop {
  position: absolute; inset: 10px; z-index: 6; display: grid; place-items: center;
  border: 2px dashed var(--haldi); border-radius: 6px; background: rgba(27, 21, 20, .9);
  color: #fff; font-family: var(--sans); font-weight: 600; text-align: center; padding: 20px;
}
.emag-controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.emag-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--hair); background: #fff; border-radius: 50%;
  transition: background .2s, color .2s, border-color .2s;
}
.emag-btn svg { width: 18px; height: 18px; }
.emag-btn:hover:not(:disabled) { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.emag-btn:disabled { opacity: .35; cursor: default; }
.emag-count { min-width: 92px; text-align: center; font-family: var(--sans); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.emag-hint { text-align: center; margin-top: 10px; font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.emag-stage:fullscreen { border-radius: 0; padding: 16px; }
.emag-stage:fullscreen .emag-book { max-width: calc((100vh - 40px) / var(--emag-ratio) * 2); }
@media (max-width: 700px) {
  .emag { padding: 48px 0 28px; }
  .emag-stage { padding: 16px 8px; min-height: 300px; }
  .emag-book { max-width: calc((100vh - 220px) / var(--emag-ratio)); }
  .emag-bar { flex-direction: column; align-items: stretch; }
  .emag-upload { width: 100%; }
  .emag-btn { width: 40px; height: 40px; }
  .emag-btn[data-emag="first"], .emag-btn[data-emag="last"] { display: none; }
}
.emag-pick { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.emag-pick select {
  min-height: 42px; padding: 8px 36px 8px 14px; border: 1px solid var(--ink); background: #fff; border-radius: 0;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b1514' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
@media (max-width: 700px) {
  .emag-pick { flex-direction: column; align-items: stretch; gap: 6px; }
  .emag-pick select { width: 100%; }
}

/* ---------- Content from the admin editor ---------- */
.reader-body img { max-width: 100%; height: auto; }
.reader-body figure.image { margin: 1.5em 0; }
.reader-body figure.image figcaption { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: 6px; }
.reader-body iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 1.5em 0; }
.reader-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-family: var(--sans); font-size: .9rem; display: block; overflow-x: auto; }
.reader-body th, .reader-body td { border: 1px solid var(--hair); padding: 8px 10px; text-align: left; }
.reader-body th { background: #f3ebe0; }
.reader-body blockquote { border-left: 3px solid var(--kumkum); margin: 1.5em 0; padding: .2em 0 .2em 1em; font-style: italic; color: var(--kumkum-deep); }
.reader-body h2, .reader-body h3, .reader-body h4 { font-family: var(--serif-display); line-height: 1.2; margin: 1.4em 0 .5em; }

/* ---------- Brand logo (replaces the text title) ---------- */
/* logo.png has a transparent background */
.mast-logo, .appbar-logo, .nav-brand img { height: auto; }
.mast-title { margin: 0 auto 14px; width: fit-content; }
.mast-logo { width: clamp(280px, 46vw, 600px); margin-inline: auto; }
.nav-brand img { width: 110px; }
.section-nav.stuck .nav-brand { max-width: 120px; }
.appbar-logo { width: 120px; margin-inline: auto; }
.footer-logo { width: min(300px, 100%); height: auto; }
.footer-title:has(.footer-logo) { margin: 0 0 14px; line-height: 0; }

/* =========================================================
   Dadi Maa ka Nuskha (remedy library)
   ========================================================= */
.nk {
  --hand: "Kalam", "Tiro Devanagari Hindi", cursive;
  --leaf: #2f4a2b; --leaf-2: #3e5b3a; --leaf-soft: #e8efe2;
  --parch: #f7f0e1; --parch-2: #fbf6ec; --gold: #c8902e; --gold-soft: #fbefd6;
  --nk-line: rgba(62, 91, 58, .14);
  position: relative; overflow: hidden; padding: 96px 0 88px;
  background:
    radial-gradient(circle at 1px 1px, rgba(62,91,58,.07) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(900px 400px at 0% 0%, rgba(200,144,46,.14), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(62,91,58,.12), transparent 60%),
    var(--parch);
  border-top: 1px solid #eadfca; border-bottom: 1px solid #eadfca;
}
.nk .kicker { color: var(--leaf-2); }

/* Header */
.nk-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.nk-head h2 { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -.025em; margin: 12px 0 8px; color: var(--ink); }
.nk-hi { font-family: var(--hand); font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--kumkum); }
.nk-intro { font-family: var(--serif-text); font-style: italic; color: var(--muted); font-size: 1.05rem; margin: 12px auto 0; max-width: 560px; }
.nk-stats { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0; margin-top: 26px; }
.nk-stats li { display: grid; padding: 0 26px; border-left: 1px solid #e0d3bb; }
.nk-stats li:first-child { border-left: 0; }
.nk-stats b { font-family: var(--serif-display); font-size: 1.9rem; font-weight: 700; color: var(--leaf); line-height: 1.1; }
.nk-stats span { font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Feature card */
.nk-feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: 22px; overflow: hidden; background: var(--parch-2);
  box-shadow: 0 30px 60px -30px rgba(47, 74, 43, .45), 0 2px 0 rgba(255,255,255,.6) inset; border: 1px solid #e6dac3;
  scroll-margin-top: 90px;
}
.nkf-left {
  position: relative; color: #fff; padding: 34px 34px 28px; display: flex; flex-direction: column; gap: 6px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0) 0 0 / 18px 18px,
    radial-gradient(400px 260px at 100% 0%, rgba(200,144,46,.35), transparent 70%),
    linear-gradient(160deg, var(--leaf-2), var(--leaf));
}
.nkf-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.nkf-label { font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f3d9a8; }
.nk-tag { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.nkf-icon { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 3rem; background: var(--parch); box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 14px 30px -10px rgba(0,0,0,.4); margin-bottom: 10px; }
.nkf-hi { font-family: var(--hand); font-weight: 700; font-size: 2.2rem; line-height: 1.15; color: #f3d9a8; }
.nkf-name { font-family: var(--serif-display); font-size: 1.7rem; line-height: 1.15; font-weight: 700; }
.nkf-for { font-family: var(--serif-text); font-style: italic; color: rgba(255,255,255,.85); margin-top: 4px; }
.nkf-for span { font-family: var(--sans); font-style: normal; font-size: max(.62rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f3d9a8; margin-right: 8px; }
.nkf-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 6px; }
.nkf-meta div { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 12px; }
.nkf-meta dt { font-family: var(--sans); font-size: max(.62rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f3d9a8; }
.nkf-meta dd { font-family: var(--sans); font-size: .82rem; font-weight: 500; margin-top: 3px; line-height: 1.35; }
.nkf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nkf-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; font-family: var(--sans); font-size: .8rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); transition: background .2s, color .2s; }
.nkf-btn:hover { background: rgba(255,255,255,.2); }
.nkf-btn.on { background: #fff; color: var(--kumkum); border-color: #fff; }
.nkf-btn.wa { background: #25d366; border-color: #25d366; color: #fff; }
.nkf-btn.wa:hover { filter: brightness(1.06); }
.nkf-nav { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .8rem; color: rgba(255,255,255,.7); letter-spacing: .08em; }
.nkf-nav b { color: #fff; font-size: 1rem; }
.nkf-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.35); transition: background .2s, color .2s; }
.nkf-arrow:hover { background: var(--parch); color: var(--leaf); }
.nkf-random { margin-left: auto; font-family: var(--sans); font-size: .78rem; font-weight: 600; color: #f3d9a8; border-bottom: 1px dashed rgba(243,217,168,.6); padding: 4px 0; }
.nkf-random:hover { color: #fff; }

.nkf-page {
  padding: 34px 40px 34px 64px; display: grid; gap: 18px; align-content: start; position: relative;
  background:
    linear-gradient(90deg, transparent 40px, rgba(158,27,50,.28) 40px 41px, transparent 41px),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--nk-line) 31px 32px),
    var(--parch-2);
}
.nkf-page.turn-next { animation: nkIn .45s var(--ease); }
.nkf-page.turn-prev { animation: nkInBack .45s var(--ease); }
@keyframes nkIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes nkInBack { from { opacity: 0; transform: translateX(-18px); } }
.nkf-h { font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--kumkum); line-height: 32px; display: flex; gap: 10px; align-items: baseline; }
.nkf-h small { font-family: var(--hand); font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; }
.nkf-need { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.nkf-need label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-family: var(--hand); font-size: 1.18rem; line-height: 32px; color: #2b2320; }
.nkf-need input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin-top: 7px; border: 1.5px solid var(--leaf-2); border-radius: 5px; flex: none; display: grid; place-items: center; cursor: pointer; background: #fff; transition: background .15s; }
.nkf-need input:checked { background: var(--leaf-2); }
.nkf-need input:checked::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.nkf-need input:checked + span { text-decoration: line-through; text-decoration-color: rgba(62,91,58,.6); color: var(--muted); }
.nkf-steps { list-style: none; counter-reset: st; display: grid; }
.nkf-steps li { counter-increment: st; position: relative; padding-left: 40px; font-family: var(--hand); font-size: 1.2rem; line-height: 32px; color: #2b2320; }
.nkf-steps li::before { content: counter(st); position: absolute; left: 0; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf-2); color: #fff; font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 700; display: grid; place-items: center; }
.nkf-why, .nkf-care { font-family: var(--serif-text); font-size: .98rem; line-height: 1.6; padding: 14px 16px; border-radius: 12px; }
.nkf-why b, .nkf-care b { display: block; font-family: var(--sans); font-size: max(.64rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.nkf-why { background: var(--leaf-soft); color: #23381f; border: 1px solid #cfdcc5; }
.nkf-why b { color: var(--leaf-2); }
.nkf-care { background: #fff6d9; color: #4a3b12; border: 1px solid #f0dc8a; transform: rotate(-.4deg); box-shadow: 0 6px 14px -10px rgba(120,90,10,.5); }
.nkf-care b { color: #8a6414; }

/* Blocks */
.nk-block { margin-top: 80px; }
.nk-block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.nk-block-head h3 { font-family: var(--serif-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin-top: 6px; max-width: 640px; }
.nk-block-note { font-family: var(--serif-text); font-style: italic; color: var(--muted); max-width: 360px; }
.nk-search { display: flex; align-items: center; gap: 10px; width: min(380px, 100%); height: 48px; padding: 0 18px; background: #fff; border: 1.5px solid #e0d3bb; border-radius: 999px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.nk-search:focus-within { border-color: var(--leaf-2); box-shadow: 0 0 0 4px rgba(62,91,58,.12); }
.nk-search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--sans); font-size: .92rem; color: var(--ink); min-width: 0; }

.nk-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.nk-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid #e3d7c1; font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.nk-chip span:last-child { font-size: max(.7rem, var(--fmin, 0px)); color: var(--muted); background: var(--parch); padding: 1px 7px; border-radius: 999px; }
.nk-chip:hover { border-color: var(--leaf-2); }
.nk-chip.on { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.nk-chip.on span:last-child { background: rgba(255,255,255,.18); color: #fff; }
.nk-chip.saved { color: var(--kumkum); }
.nk-chip.saved.on { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }

.nk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.nk-card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 18px; cursor: pointer;
  background: #fff; border: 1px solid #ebe1cf; border-radius: 18px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.nk-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(47,74,43,.45); border-color: #d7c8aa; }
.nk-card:focus-visible { outline: 2px solid var(--leaf-2); outline-offset: 3px; }
.nk-card.current { border-color: var(--leaf-2); box-shadow: 0 0 0 2px var(--leaf-2); }
.nk-card-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: var(--parch); margin-bottom: 10px; }
.nk-card-cat { font-family: var(--sans); font-size: max(.64rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-2); }
.nk-card-hi { font-family: var(--hand); font-size: 1.3rem; color: var(--kumkum-deep); line-height: 1.3; margin-top: 4px; }
.nk-card h4 { font-family: var(--serif-display); font-size: 1.15rem; line-height: 1.25; font-weight: 700; }
.nk-card-for { font-family: var(--serif-text); font-style: italic; font-size: .92rem; color: var(--muted); }
.nk-card-foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.nk-card-foot span { font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 500; color: #5a4f48; background: var(--parch-2); border: 1px solid #efe5d3; padding: 3px 8px; border-radius: 6px; }
.nk-heart { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #b8a99a; transition: color .2s, background .2s, transform .15s; }
.nk-heart:hover { background: #fdf0f2; color: var(--kumkum); }
.nk-heart.on { color: var(--kumkum); }
.nk-heart:active { transform: scale(.88); }
.nk-empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; background: #fff; border: 1.5px dashed #e0d3bb; border-radius: 18px; display: grid; gap: 4px; justify-items: center; }
.nk-empty span { font-size: 2.4rem; }
.nk-empty b { font-family: var(--serif-display); font-size: 1.3rem; }
.nk-empty p { color: var(--muted); font-family: var(--serif-text); font-style: italic; max-width: 420px; }
.nk-more { text-align: center; margin-top: 28px; }
.nk-more .btn { border-color: var(--leaf); color: var(--leaf); }
.nk-more .btn:hover { background: var(--leaf); color: #fff; }

/* Pantry */
.nk-pantry { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.nk-spice { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: var(--parch-2); border: 1px solid #eadfca; }
.nk-spice-top { display: flex; gap: 14px; align-items: center; }
.nk-spice-icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid #eadfca; display: grid; place-items: center; font-size: 1.7rem; flex: none; }
.nk-spice-hi { font-family: var(--hand); font-size: 1.35rem; line-height: 1.1; color: var(--kumkum-deep); }
.nk-spice h4 { font-family: var(--serif-display); font-size: 1.1rem; font-weight: 700; }
.nk-spice h4 small { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 500; color: var(--muted); margin-left: 4px; }
.nk-spice-use { font-family: var(--sans); font-size: .85rem; color: var(--ink); }
.nk-spice-use b { display: block; font-size: max(.62rem, var(--fmin, 0px)); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-2); margin-bottom: 2px; }
.nk-spice-tip { font-family: var(--serif-text); font-size: .9rem; line-height: 1.5; color: #3d3633; }
.nk-spice-care { font-family: var(--sans); font-size: .75rem; color: #8a6414; background: var(--gold-soft); padding: 8px 10px; border-radius: 10px; line-height: 1.45; }
.nk-spice-link { margin-top: auto; align-self: flex-start; font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--leaf); border-bottom: 1.5px solid currentColor; padding: 2px 0; }
.nk-spice-link:hover { color: var(--kumkum); }

/* Seasons */
.nk-seasons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.nk-season { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border-radius: 18px; background: #fff; border: 1px solid #eadfca; }
.nk-season.now { background: linear-gradient(170deg, var(--leaf-2), var(--leaf)); color: #fff; border-color: var(--leaf); box-shadow: 0 24px 40px -24px rgba(47,74,43,.7); transform: translateY(-6px); }
.nk-now { position: absolute; top: -11px; left: 18px; font-family: var(--sans); font-size: max(.62rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: #fff; padding: 4px 10px; border-radius: 999px; }
.nk-season-top { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.nk-season-icon { font-size: 1.7rem; }
.nk-season-hi { font-family: var(--hand); font-size: 1.25rem; line-height: 1; color: var(--kumkum-deep); }
.nk-season.now .nk-season-hi { color: #f3d9a8; }
.nk-season h4 { font-family: var(--serif-display); font-size: 1.1rem; font-weight: 700; line-height: 1.1; }
.nk-season-en { font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); color: var(--muted); }
.nk-season.now .nk-season-en { color: rgba(255,255,255,.75); }
.nk-season-label { font-family: var(--sans); font-size: max(.6rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-2); margin-top: 6px; }
.nk-season.now .nk-season-label { color: #f3d9a8; }
.nk-season ul { list-style: none; display: grid; gap: 3px; }
.nk-season li, .nk-season-easy { font-family: var(--serif-text); font-size: .88rem; line-height: 1.45; }
.nk-season li::before { content: "✓ "; color: var(--leaf-2); font-weight: 700; }
.nk-season.now li::before { color: #f3d9a8; }
.nk-season-easy { color: var(--muted); font-style: italic; }
.nk-season.now .nk-season-easy { color: rgba(255,255,255,.8); }

/* Doctor */
.nk-doctor { margin-top: 80px; padding: 32px; border-radius: 22px; background: #fff; border: 1px solid #f1d4d9; box-shadow: 0 0 0 6px rgba(158,27,50,.04); }
.nk-doctor-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.nk-doctor-ic { width: 56px; height: 56px; border-radius: 16px; background: #fdecef; display: grid; place-items: center; font-size: 1.8rem; flex: none; }
.nk-doctor h3 { font-family: var(--serif-display); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.nk-doctor-head p { color: var(--muted); font-family: var(--serif-text); margin-top: 4px; }
.nk-flags { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.nk-flags li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fdf6f7; font-family: var(--sans); font-size: .88rem; line-height: 1.45; color: #3d2a2d; }
.nk-flags li span { font-size: 1.1rem; line-height: 1.2; }
.nk-fine { margin-top: 20px; font-family: var(--sans); font-size: .76rem; color: var(--muted); line-height: 1.6; border-top: 1px solid #f1e6e8; padding-top: 16px; }

@media (max-width: 1100px) {
  .nk-seasons { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
}
@media (max-width: 900px) {
  .nk { padding: 60px 0 56px; }
  .nk-feature { grid-template-columns: 1fr; }
  .nkf-left { padding: 26px 22px 22px; }
  .nkf-page { padding: 26px 20px 26px 44px; background:
    linear-gradient(90deg, transparent 26px, rgba(158,27,50,.28) 26px 27px, transparent 27px),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--nk-line) 31px 32px), var(--parch-2); }
  .nkf-need { grid-template-columns: 1fr; }
  .nk-block, .nk-doctor { margin-top: 56px; }
  .nk-stats li { padding: 0 14px; }
  .nk-stats b { font-size: 1.5rem; }
  .nk-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .nk-chips::-webkit-scrollbar { display: none; }
  .nk-chip { flex: none; }
  .nk-flags { grid-template-columns: 1fr; }
  .nk-doctor { padding: 22px 18px; }
}
@media (max-width: 600px) {
  .nk-seasons { grid-template-columns: repeat(6, 78%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 14px var(--gutter) 8px; scrollbar-width: none; }
  .nk-season { scroll-snap-align: start; }
  .nk-seasons::-webkit-scrollbar { display: none; }
  .nk-pantry { grid-template-columns: repeat(12, 80%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .nk-spice { scroll-snap-align: start; }
  .nk-pantry::-webkit-scrollbar { display: none; }
  .nkf-meta { grid-template-columns: 1fr 1fr; }
  .nkf-meta div:last-child:nth-child(3) { grid-column: 1 / -1; }
  .nkf-hi { font-size: 1.9rem; }
  .nkf-name { font-size: 1.4rem; }
  .nk-grid { grid-template-columns: 1fr; }
  .nk-head h2 { font-size: 2.5rem; }
}

/* ---------- Compact remedy library (index rows) ---------- */
#nkLibrary .nk-block-head { margin-bottom: 18px; }
.nk-chips { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-bottom: 18px; padding-bottom: 4px; scrollbar-width: none; }
.nk-chips::-webkit-scrollbar { display: none; }
.nk-chip { flex: none; height: 34px; padding: 0 12px; font-size: .78rem; font-weight: 500; background: transparent; }
.nk-chip span:last-child { background: transparent; padding: 0; font-weight: 600; }
.nk-chip.on span:last-child { background: transparent; color: rgba(255,255,255,.8); }

.nk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; background: #fff; border: 1px solid #ebe1cf; border-radius: 18px; padding: 8px 20px; }
.nk-row { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-bottom: 1px dashed #e8dcc6; cursor: pointer; border-radius: 10px; transition: background .15s; min-width: 0; }
.nk-row:hover { background: var(--parch-2); }
.nk-row:focus-visible { outline: 2px solid var(--leaf-2); outline-offset: -2px; }
.nk-row.current { background: var(--leaf-soft); }
.nk-row-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--parch); display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.nk-row-main { flex: 1; min-width: 0; }
.nk-row-title { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden; }
.nk-row-title b { font-family: var(--serif-display); font-size: 1.02rem; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.nk-row-hi { font-family: var(--hand); font-size: 1rem; color: var(--kumkum-deep); overflow: hidden; text-overflow: ellipsis; }
.nk-row-sub { font-family: var(--sans); font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.nk-row-cat { color: var(--leaf-2); font-weight: 600; margin-left: 8px; padding-left: 8px; border-left: 1px solid #e0d3bb; }
.nk-row-time { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 500; color: #5a4f48; white-space: nowrap; flex: none; }
.nk-row .nk-heart { position: static; width: 32px; height: 32px; flex: none; }
.nk-row .nk-heart svg { width: 16px; height: 16px; }
.nk-more { margin-top: 18px; }
@media (max-width: 900px) {
  .nk-list { grid-template-columns: 1fr; padding: 4px 12px; }
  .nk-row-time { display: none; }
}
@media (max-width: 600px) {
  .nk-row-title { flex-wrap: wrap; white-space: normal; row-gap: 0; }
  .nk-row-title b { white-space: normal; }
  .nk-row-hi { font-size: .95rem; }
}

/* =========================================================
   Kaki Da Dhaba
   ========================================================= */
.dhaba {
  --sign: "Yatra One", "Tiro Devanagari Hindi", serif;
  --chalk: "Kalam", cursive;
  --veg: #1f9d55; --nonveg: #b3261e; --dh: var(--veg);
  --mustard: #f6b819; --truck-red: #d7262e; --truck-green: #128a4a; --truck-blue: #1565c0;
  --paper: #fff8ec;
  position: relative; overflow: hidden; padding: 88px 0 96px; color: #f5ead8;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(246,184,25,.22), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(215,38,46,.14), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 92px),
    #2a1c15;
  transition: --dh .4s;
}
.dhaba.is-nonveg { --dh: var(--nonveg); }

/* --- Signboard --- */
.dh-sign {
  position: relative; max-width: 760px; margin: 0 auto 44px; padding: 34px 28px 30px; text-align: center; color: #3a1d0b;
  background:
    radial-gradient(circle at 18px 18px, rgba(255,255,255,.35) 3px, transparent 4px) 0 0 / 100% 100% no-repeat,
    linear-gradient(180deg, #ffd34d, var(--mustard));
  border-radius: 18px;
  border: 6px solid var(--truck-red);
  box-shadow: 0 0 0 6px var(--truck-green), 0 0 0 12px var(--truck-blue), 0 26px 60px -20px rgba(0,0,0,.7), 0 0 80px rgba(246,184,25,.25);
  transform: rotate(-.6deg);
}
.dh-sign::before, .dh-sign::after {   /* truck-art side flowers */
  content: "✿"; position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; color: var(--truck-red);
  text-shadow: 3px 3px 0 var(--truck-green);
}
.dh-sign::before { left: 18px; } .dh-sign::after { right: 18px; }
.dh-bulbs { position: absolute; left: 22px; right: 22px; top: -18px; height: 12px;
  background: radial-gradient(circle, #fff6c4 0 4px, #ffcf3f 5px, transparent 6px) 0 0 / 28px 12px repeat-x;
  filter: drop-shadow(0 0 6px #ffd34d); animation: bulbs 1.4s steps(2) infinite; }
.dh-bulbs.bottom { top: auto; bottom: -18px; animation-delay: .7s; }
@keyframes bulbs { 50% { opacity: .55; } }
.dh-est { font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--truck-red); }
.dh-sign h2 { display: grid; gap: 0; margin: 6px 0 4px; line-height: 1; }
.dh-hi { font-family: var(--sign); font-size: clamp(2.8rem, 7vw, 4.6rem); color: var(--truck-red); text-shadow: 3px 3px 0 #3a1d0b, 5px 5px 0 rgba(0,0,0,.15); }
.dh-en { font-family: var(--sign); font-size: clamp(1.2rem, 2.6vw, 1.6rem); letter-spacing: .14em; text-transform: uppercase; color: #3a1d0b; margin-top: 4px; }
.dh-tag { font-family: var(--chalk); font-size: 1.15rem; color: #5b2e12; }

/* --- Veg / non-veg switch --- */
.dh-switch-row { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 30px; }
.dh-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 2px 8px rgba(0,0,0,.4); }
.dh-opt { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 28px; border-radius: 999px; font-family: var(--sans); font-size: .95rem; font-weight: 700; letter-spacing: .04em; color: rgba(245,234,216,.65); transition: color .3s; min-width: 150px; }
.dh-opt[aria-selected="true"] { color: #fff; }
.dh-thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--dh); box-shadow: 0 8px 24px -6px var(--dh); transition: transform .45s cubic-bezier(.5,1.6,.4,1), background .4s; }
.dhaba.is-nonveg .dh-thumb { transform: translateX(100%); }
.dh-hint { font-family: var(--chalk); font-size: .98rem; color: rgba(245,234,216,.6); }

/* Indian food marks */
.fmark { width: 18px; height: 18px; border: 2px solid; border-radius: 3px; display: inline-grid; place-items: center; background: #fff; flex: none; }
.fmark i { display: block; }
.fmark.veg { border-color: var(--veg); }
.fmark.veg i { width: 8px; height: 8px; border-radius: 50%; background: var(--veg); }
.fmark.nonveg { border-color: #7b3f00; }
.fmark.nonveg i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid #7b3f00; }
.fmark.lg { width: 30px; height: 30px; border-width: 3px; }
.fmark.lg.veg i { width: 13px; height: 13px; }
.fmark.lg.nonveg i { border-left-width: 8px; border-right-width: 8px; border-bottom-width: 14px; }

/* --- Stage: special + board --- */
.dh-stage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; touch-action: pan-y; }
.dh-special {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border-radius: 26px;
  background: var(--paper); color: #2b1a10; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  border-top: 6px solid var(--dh); transition: border-color .4s; scroll-margin-top: 90px;
}
.dh-special.slide-left { animation: dhSlideL .5s var(--ease); }
.dh-special.slide-right { animation: dhSlideR .5s var(--ease); }
.dh-special.pop .dh-plate { animation: dhPop .5s var(--ease); }
@keyframes dhSlideL { from { opacity: 0; transform: translateX(40px) rotate(.6deg); } }
@keyframes dhSlideR { from { opacity: 0; transform: translateX(-40px) rotate(-.6deg); } }
@keyframes dhPop { from { transform: scale(.85) rotate(-20deg); opacity: .4; } }

.dh-plate-wrap {
  position: relative; display: grid; place-items: center; padding: 56px 24px 40px;
  background:
    repeating-linear-gradient(92deg, rgba(0,0,0,.06) 0 3px, transparent 3px 14px),
    linear-gradient(160deg, #8a5a33, #5e3a1f);   /* wooden table */
}
.dh-ribbon { position: absolute; top: 18px; left: -6px; background: var(--dh); color: #fff; font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px 7px 18px; border-radius: 0 6px 6px 0; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); transition: background .4s; }
.dh-plate {
  position: relative; width: 220px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle, #f7e2a8 0 54%, #c99a3c 55%, #f3d27c 58%, #b8862c 62%, #e9c262 66%, #a8781f 70%, transparent 71%);
  box-shadow: 0 22px 34px -12px rgba(0,0,0,.6), inset 0 -6px 14px rgba(120,80,10,.35);
}
.dh-plate::before, .dh-plate::after {   /* rising steam */
  content: ""; position: absolute; top: -30px; width: 10px; height: 46px; border-radius: 50%;
  border-left: 3px solid rgba(255,255,255,.55); filter: blur(1px); animation: steam 2.6s ease-in-out infinite;
}
.dh-plate::before { left: 44%; } .dh-plate::after { left: 56%; animation-delay: 1.3s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(14px) scaleX(1); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-16px) scaleX(-1); } }
.dh-food { font-size: 6.6rem; line-height: 1; filter: drop-shadow(0 8px 6px rgba(0,0,0,.35)); }
.dh-plate.photo { background: #c99a3c; padding: 10px; }
.dh-plate.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dh-plate-wrap .fmark { position: absolute; bottom: 18px; right: 18px; }

.dh-info { padding: 30px 32px 30px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.dh-region { font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--dh); transition: color .4s; }
.dh-name-hi { font-family: var(--sign); font-size: 1.7rem; color: #8a3b12; line-height: 1.1; }
.dh-name { font-family: var(--serif-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.dh-desc { font-family: var(--serif-text); font-style: italic; color: #6b5444; }
.dh-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.dh-facts div { text-align: center; padding: 10px 6px; border-radius: 14px; background: #fbefd9; border: 1px dashed #e5c99a; }
.dh-facts b { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 700; }
.dh-facts span { font-family: var(--sans); font-size: max(.62rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8c7260; }
.dh-chillies span { filter: grayscale(1); opacity: .3; font-size: .85rem; }
.dh-chillies span.on { filter: none; opacity: 1; }
.dh-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 26px; margin-top: 14px; }
.dh-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dh-label { font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a3b12; margin-bottom: 8px; }
.dh-label small { font-family: var(--chalk); font-size: .9rem; letter-spacing: 0; text-transform: none; color: #a08a78; font-weight: 400; margin-left: 6px; }
.dh-serves { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: #2b1a10; color: #fff; margin-bottom: 8px; }
.dh-serves button { width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 1.1rem; font-weight: 700; line-height: 1; transition: background .2s; }
.dh-serves button:hover { background: var(--dh); }
.dh-serves span { font-family: var(--sans); font-size: .76rem; padding: 0 4px; }
.dh-ing { list-style: none; display: grid; gap: 2px; }
.dh-ing label { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; border-bottom: 1px dotted #e3cfae; cursor: pointer; font-family: var(--sans); font-size: .86rem; line-height: 1.4; }
.dh-ing input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1.5px solid #c29b62; border-radius: 4px; flex: none; margin-top: 2px; display: grid; place-items: center; cursor: pointer; background: #fff; }
.dh-ing input:checked { background: var(--dh); border-color: var(--dh); }
.dh-ing input:checked::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.dh-ing input:checked + span { text-decoration: line-through; color: #a08a78; }
.dh-steps { list-style: none; counter-reset: s; display: grid; gap: 10px; }
.dh-steps li { counter-increment: s; position: relative; padding: 2px 0 0 40px; font-family: var(--serif-text); font-size: .95rem; line-height: 1.55; cursor: pointer; transition: opacity .2s; }
.dh-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sign); font-size: .95rem; color: #fff; background: #2b1a10; }
.dh-steps li.done { opacity: .45; text-decoration: line-through; }
.dh-steps li.done::before { content: "✓"; background: var(--dh); }
.dh-tip { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: #fff1c7; border: 2px dashed #e9b949; transform: rotate(-.4deg); }
.dh-tip-face { font-size: 2.2rem; line-height: 1; }
.dh-tip b { display: block; font-family: var(--sign); font-size: 1.05rem; color: #8a3b12; font-weight: 400; }
.dh-tip div { font-family: var(--chalk); font-size: 1.08rem; line-height: 1.45; color: #4a3014; }
.dh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dh-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-family: var(--sans); font-size: .82rem; font-weight: 700; background: #2b1a10; color: #fff; transition: transform .15s, background .2s; }
.dh-btn:hover { transform: translateY(-2px); }
.dh-btn.wa { background: #25d366; }
.dh-btn.ghost { background: transparent; color: #2b1a10; border: 1.5px solid #2b1a10; }
.dh-empty { padding: 40px; text-align: center; font-family: var(--chalk); font-size: 1.2rem; }

/* --- Chalkboard menu --- */
.dh-board {
  position: sticky; top: 80px; padding: 26px 22px 22px; border-radius: 14px; color: #f2efe6;
  background:
    radial-gradient(400px 220px at 30% 0%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0) 0 0 / 6px 6px,
    #1f2b24;
  border: 12px solid #6b4423;
  box-shadow: inset 0 0 0 2px #4a2e17, inset 0 0 40px rgba(0,0,0,.5), 0 30px 60px -30px rgba(0,0,0,.8);
}
.dh-board::before { content: ""; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 70px; height: 14px; border-radius: 4px; background: #c9a227; box-shadow: 0 2px 0 #7a5d0e; } /* hanging hook */
.dh-board-head { text-align: center; margin-bottom: 14px; }
.dh-board-title { font-family: var(--chalk); font-weight: 700; font-size: 1.9rem; line-height: 1; text-decoration: underline wavy rgba(242,239,230,.5); text-underline-offset: 8px; }
.dh-board-sub { display: block; font-family: var(--chalk); color: rgba(242,239,230,.6); margin-top: 8px; }
.dh-courses { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
.dh-course { font-family: var(--chalk); font-size: .95rem; color: rgba(242,239,230,.7); padding: 2px 10px; border-radius: 999px; border: 1px dashed rgba(242,239,230,.3); }
.dh-course:hover { color: #fff; }
.dh-course.on { color: #1f2b24; background: #f2efe6; border-color: #f2efe6; }
.dh-menu { list-style: none; display: grid; gap: 2px; max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.dh-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; color: #f2efe6; text-align: left; transition: background .2s; }
.dh-item:hover { background: rgba(255,255,255,.06); }
.dh-item.on { background: rgba(255,255,255,.1); box-shadow: inset 3px 0 0 var(--dh); }
.dh-item-icon { font-size: 1.3rem; }
.dh-item-name { display: grid; min-width: 0; }
.dh-item-name b { font-family: var(--chalk); font-weight: 700; font-size: 1.08rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-item-name small { font-family: var(--sign); font-size: .78rem; color: rgba(242,239,230,.55); }
.dh-dots { flex: 1; min-width: 12px; border-bottom: 2px dotted rgba(242,239,230,.35); transform: translateY(4px); }
.dh-item-time { font-family: var(--chalk); font-size: .95rem; color: #ffd34d; white-space: nowrap; }

/* --- Tips --- */
.dh-tips { margin-top: 72px; }
.dh-tips-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dh-kicker { font-family: var(--sans); font-size: max(.7rem, var(--fmin, 0px)); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mustard); }
.dh-tips h3 { font-family: var(--sign); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; color: #fff; margin-top: 4px; }
.dh-tips-nav { display: flex; gap: 8px; }
.dh-round { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(245,234,216,.35); color: #fff; font-size: 1.5rem; line-height: 1; transition: background .2s, color .2s; }
.dh-round:hover { background: var(--mustard); color: #2b1a10; border-color: var(--mustard); }
.dh-tips-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 60px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 4px 22px; scrollbar-width: none; }
.dh-tips-track::-webkit-scrollbar { display: none; }
.dh-tipcard {
  position: relative; scroll-snap-align: start; padding: 26px 20px 20px; border-radius: 6px; background: #fff7e2; color: #3a2414;
  transform: rotate(var(--tilt)); box-shadow: 0 18px 30px -16px rgba(0,0,0,.7); transition: transform .25s;
}
.dh-tipcard:hover { transform: rotate(0) translateY(-4px); }
.dh-tipcard::before { content: ""; position: absolute; top: -10px; left: 50%; width: 80px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: rgba(246,184,25,.75); box-shadow: 0 2px 4px rgba(0,0,0,.2); } /* tape */
.dh-tipcard-no { position: absolute; top: 12px; right: 14px; font-family: var(--sign); color: #c9a27a; }
.dh-tipcard-icon { font-size: 2rem; }
.dh-tipcard h4 { font-family: var(--serif-display); font-size: 1.12rem; font-weight: 700; margin: 8px 0 6px; line-height: 1.2; }
.dh-tipcard p { font-family: var(--chalk); font-size: 1.05rem; line-height: 1.45; color: #5a3e28; }

@media (max-width: 1100px) {
  .dh-stage { grid-template-columns: 1fr; }
  .dh-board { position: static; }
  .dh-menu { max-height: none; }
}
@media (max-width: 900px) {
  .dhaba { padding: 64px 0 72px; }
  .dh-special { grid-template-columns: 1fr; }
  .dh-plate-wrap { padding: 50px 20px 34px; }
  .dh-plate { width: 190px; }
  .dh-food { font-size: 5.6rem; }
  .dh-info { padding: 24px 20px; }
  .dh-cols { grid-template-columns: 1fr; gap: 18px; }
  .dh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-sign { padding: 28px 46px 24px; }
  .dh-sign::before { left: 8px; font-size: 1.8rem; } .dh-sign::after { right: 8px; font-size: 1.8rem; }
  .dh-opt { min-width: 0; padding: 0 20px; height: 46px; }
  .dh-tips-track { grid-auto-columns: 78%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .dh-tips-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dh-bulbs, .dh-plate::before, .dh-plate::after { animation: none; } }
.dh-plate-wrap { align-items: start; }
.dh-plate { position: sticky; top: 150px; }
@media (max-width: 900px) { .dh-plate { position: relative; top: 0; } }

/* =========================================================
   Direct ad slots
   ========================================================= */
.ad-wrap { padding: 28px 0; }
.ad-top { padding: 14px 0 6px; }
.ad-foot { padding: 40px 0; }
.ad-slot { position: relative; display: block; max-width: 100%; margin-inline: auto; }
.ad-slot.ad-top, .ad-slot.ad-footer { max-width: 970px; }
.ad-slot.ad-article { max-width: 728px; margin: 36px auto 8px; }
.ad-label { display: block; text-align: center; font-family: var(--sans); font-size: max(.58rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-link { display: block; aspect-ratio: var(--ad-ratio); overflow: hidden; border-radius: 6px; background: #f3ebe0; box-shadow: 0 1px 0 var(--hair); }
.ad-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
a.ad-link:hover img { transform: scale(1.015); }

/* "Your ad here" */
.ad-empty {
  aspect-ratio: var(--ad-ratio); min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 16px 20px; text-align: center; border-radius: 8px; border: 2px dashed #d9c7ad;
  background: repeating-linear-gradient(-45deg, rgba(200,144,46,.06) 0 14px, transparent 14px 28px), #fbf6ee;
  transition: border-color .2s;
}
.ad-empty:hover { border-color: var(--kumkum); }
.ad-empty-tag { font-family: var(--sans); font-size: max(.6rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--kumkum); }
.ad-empty-title { font-family: var(--serif-display); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 900; line-height: 1.05; color: var(--ink); }
.ad-empty-sub { font-family: var(--serif-text); font-style: italic; font-size: .92rem; color: var(--muted); }
.ad-empty-size { font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 600; color: #8b7b6f; letter-spacing: .04em; }
.ad-ctas { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ad-cta { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); font-weight: 700; color: var(--ink); background: #fff; border: 1px solid #d9c7ad; transition: background .2s, color .2s; }
.ad-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ad-cta.wa { background: #25d366; color: #fff; border-color: #25d366; }
/* thin strips: one line */
.ad-top .ad-empty, .ad-footer .ad-empty { flex-direction: row; flex-wrap: wrap; column-gap: 16px; row-gap: 4px; padding: 10px 20px; }
.ad-top .ad-empty-sub, .ad-footer .ad-empty-sub { display: none; }
.ad-top .ad-empty-title, .ad-footer .ad-empty-title { font-size: 1.35rem; }
.ad-top .ad-ctas, .ad-footer .ad-ctas { margin-top: 0; }

@media (max-width: 700px) {
  .ad-link, .ad-empty { aspect-ratio: var(--ad-mratio); }
  .ad-wrap { padding: 20px 0; }
  .ad-top .ad-empty, .ad-footer .ad-empty { flex-direction: column; padding: 10px 14px; }
  .ad-top .ad-ctas, .ad-footer .ad-ctas, .ad-top .ad-empty-size, .ad-footer .ad-empty-size { display: none; }
  .ad-top .ad-empty-title, .ad-footer .ad-empty-title { font-size: 1.15rem; }
}

/* =========================================================
   Our Clients
   ========================================================= */
.clients { padding: 84px 0 72px; background: linear-gradient(180deg, var(--paper) 0%, #f4ece0 100%); overflow: hidden; border-top: 1px solid var(--hair); }
.cl-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.cl-head h2 { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 10px; }
.cl-sub { font-family: var(--serif-text); color: var(--muted); font-size: 1.05rem; }
.cl-sub b { color: var(--kumkum); font-weight: 600; }

.cl-marquee { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cl-row { overflow: hidden; }
.cl-track { list-style: none; display: flex; gap: 18px; width: max-content; animation: clScroll calc(var(--n) * 4.2s) linear infinite; }
.cl-track.rev { animation-direction: reverse; }
.cl-marquee:hover .cl-track, .cl-marquee:focus-within .cl-track { animation-play-state: paused; }
@keyframes clScroll { to { transform: translateX(calc(-50% - 9px)); } }

.cl-tile {
  flex: none; width: 200px; height: 112px; display: grid; place-items: center; padding: 14px 18px;
  background: #fff; border: 1px solid #ebe0d0; border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 24px -18px rgba(60, 30, 10, .45);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.cl-tile:hover { transform: translateY(-4px); border-color: #d9c7ad; box-shadow: 0 18px 30px -18px rgba(60, 30, 10, .55); }
.cl-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cl-foot { text-align: center; margin-top: 36px; }

@media (max-width: 700px) {
  .clients { padding: 60px 0 52px; }
  .cl-tile { width: 150px; height: 86px; padding: 10px 12px; border-radius: 12px; }
  .cl-marquee, .cl-track { gap: 12px; }
  @keyframes clScroll { to { transform: translateX(calc(-50% - 6px)); } }
}
/* No motion: show everyone as a tidy grid instead */
@media (prefers-reduced-motion: reduce) {
  .cl-marquee { -webkit-mask-image: none; mask-image: none; width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
  .cl-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .cl-tile[aria-hidden="true"] { display: none; }
  .cl-row + .cl-row .cl-track { margin-top: 0; }
}
/* fit every logo inside its tile */
.cl-tile { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cl-tile img { max-width: 164px; max-height: 80px; }
@media (max-width: 700px) { .cl-tile img { max-width: 126px; max-height: 62px; } }

/* ---------- "Next: your brand" tile + register CTA ---------- */
.cl-next { padding: 0; border: 2px dashed var(--kumkum); background: linear-gradient(135deg, #fff6f3, #fdecef); box-shadow: none; }
.cl-next button { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 14px; color: var(--kumkum); text-align: left; }
.cl-next-plus { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--kumkum); color: #fff; font-size: 1.6rem; line-height: 1; animation: nextPulse 2.4s ease-in-out infinite; }
@keyframes nextPulse { 50% { box-shadow: 0 0 0 8px rgba(158, 27, 50, .12); } }
.cl-next-txt b { display: block; font-family: var(--serif-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.15; }
.cl-next-txt small { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .04em; color: var(--kumkum); }
.cl-next:hover { border-style: solid; }

.cl-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; text-align: left;
  padding: 30px 36px; border-radius: 20px; color: #fff;
  background: radial-gradient(500px 220px at 100% 0%, rgba(200,144,46,.35), transparent 70%), linear-gradient(120deg, var(--kumkum-deep), var(--kumkum));
  box-shadow: 0 24px 50px -28px rgba(92, 15, 29, .8);
}
.cl-cta-text { flex: 1 1 420px; }
.cl-cta-kicker { font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f3d9a8; }
.cl-cta-kicker .deva { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.cl-cta h3 { font-family: var(--serif-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.2; margin: 6px 0 6px; }
.cl-cta-text > p:last-child { font-family: var(--serif-text); color: rgba(255,255,255,.82); }
.cl-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cl-register { min-height: 52px; padding: 0 28px; font-size: .82rem; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.cl-cta-link { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
.cl-cta-link:hover { border-bottom-color: #fff; }

/* ---------- Register dialog ---------- */
.brand-dlg { border: 0; padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 24px); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.brand-dlg::backdrop { background: rgba(27, 21, 20, .55); backdrop-filter: blur(3px); }
.brand-dlg[open] { animation: dlgIn .25s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.brand-form { position: relative; padding: 30px 28px 26px; }
.brand-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.brand-x:hover { background: #f1e7da; color: var(--ink); }
.brand-form h2 { font-family: var(--serif-display); font-size: 1.9rem; font-weight: 900; line-height: 1.1; margin: 6px 0 6px; }
.brand-lead { font-family: var(--serif-text); color: var(--muted); margin-bottom: 18px; }
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.brand-grid label { display: grid; gap: 5px; font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); font-weight: 600; color: #4a3f3a; }
.brand-grid .full { grid-column: 1 / -1; }
.brand-grid input, .brand-grid textarea { width: 100%; padding: 10px 12px; border: 1px solid #dccbb5; border-radius: 10px; background: #fff; font-family: var(--sans); font-size: .92rem; font-weight: 400; color: var(--ink); }
.brand-grid textarea { resize: vertical; min-height: 80px; }
.brand-grid input:focus, .brand-grid textarea:focus { outline: none; border-color: var(--kumkum); box-shadow: 0 0 0 3px rgba(158,27,50,.12); }
.brand-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brand-err { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #a3191f; font-family: var(--sans); font-size: .84rem; }
.brand-submit { width: 100%; margin-top: 18px; min-height: 50px; }
.brand-form.sent > :not(.brand-done):not(.brand-x) { display: none; }
.brand-done { text-align: center; padding: 20px 0 6px; display: grid; justify-items: center; gap: 8px; }
.brand-done-ic { width: 64px; height: 64px; border-radius: 50%; background: #e3f2e8; color: #2f7a4b; display: grid; place-items: center; font-size: 2rem; font-weight: 700; }
.brand-done h3 { font-family: var(--serif-display); font-size: 1.6rem; }
.brand-done p { font-family: var(--serif-text); color: var(--muted); margin-bottom: 8px; }

@media (max-width: 700px) {
  .cl-cta { padding: 24px 20px; text-align: center; }
  .cl-cta-actions { width: 100%; }
  .cl-register { width: 100%; }
  .cl-next button { flex-direction: column; gap: 4px; text-align: center; }
  .cl-next-plus { width: 30px; height: 30px; font-size: 1.2rem; }
  .cl-next-txt b { font-size: .9rem; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-form { padding: 26px 18px 20px; }
}
.brand-dlg { margin: auto; position: fixed; inset: 0; height: fit-content; }

/* =========================================================
   App feel on phones (also used by the installed / Play Store app)
   ========================================================= */
@media (max-width: 820px) {
  .tabbar { grid-template-columns: repeat(5, 1fr); }
  .tab { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  .tab svg {
    box-sizing: content-box; padding: 4px 16px; border-radius: 999px;
    transition: background-color .25s var(--ease), transform .15s var(--ease);
  }
  .tab.active svg { background: rgba(158, 27, 50, .1); }
  .tab:active svg { transform: scale(.9); }
  .appbar, .section-links, .drawer-cats, .drawer-links { -webkit-user-select: none; user-select: none; }
  .icon-btn:active { background: rgba(27, 21, 20, .06); border-radius: 999px; }
  /* press feedback on story cards, like a native list */
  .story { transition: opacity .15s; }
  .story:active { opacity: .72; }
}

/* Installed app only: html.is-app is set by app.js */
html.is-app { -webkit-text-size-adjust: 100%; }
html.is-app .drawer-install { display: none; }
@media (max-width: 820px) {
  /* the app icon already says Grah Sundri, so the logo row can be tighter */
  html.is-app .masthead { padding: 2px 0 10px; }
  html.is-app .mast-en { display: none; }
}

/* Brand logo used in place of the "Grah Sundri" text */
.drawer-logo { display: block; width: 150px; height: auto; margin-bottom: 4px; }
.reader-brand { line-height: 0; }
.reader-logo { width: 96px; height: auto; }
.inline-logo { display: inline-block; height: 1.5em; width: auto; vertical-align: -.38em; margin: 0 .04em; }
.signoff-brand { margin-top: 6px; }
.signoff-logo { display: block; width: 150px; height: auto; }

/* =========================================================
   PHONE APP SHELL (html.m-shell is set by script.js on phones)
   Bottom tabs switch screens; content is native-style cards.
   Desktop is not affected.
   ========================================================= */
@media (max-width: 820px) {
  html.m-shell {
    --card: #fff;
    --r-lg: 20px;
    --r-md: 16px;
    --r-sm: 12px;
    --lift: 0 1px 2px rgba(27, 21, 20, .05), 0 10px 26px -14px rgba(27, 21, 20, .22);
  }
  html.m-shell body { background: #f6f0e7; }

  /* ---- screens ---- */
  html.m-shell [data-screen]:not(.on) { display: none !important; }
  html.m-shell .masthead,
  html.m-shell .nav-bazaar,
  html.m-shell .footer-watermark { display: none; }

  /* ---- top app bar ---- */
  html.m-shell .appbar { background: rgba(251, 247, 241, .97); border-bottom: 1px solid var(--hair); }
  html.m-shell .appbar-logo { width: 112px; }

  /* ---- category chips under the app bar (Home) ---- */
  html.m-shell .section-nav {
    position: sticky; top: calc(var(--appbar-h) + env(safe-area-inset-top)); z-index: 55;
    background: rgba(251, 247, 241, .97); border: 0; border-bottom: 1px solid var(--hair);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  html.m-shell .section-links {
    gap: 8px; padding: 10px var(--gutter) 10px 0; justify-content: flex-start;
    font-size: .8rem; letter-spacing: 0; text-transform: none; -webkit-mask-image: none; mask-image: none;
  }
  html.m-shell .section-links a {
    padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--hair);
    color: var(--ink); font-weight: 600;
  }
  html.m-shell .section-links a.active { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
  html.m-shell .section-links a.active::after { display: none; }

  html.m-shell .markets { background: transparent; border: 0; }
  html.m-shell .markets-inner {
    margin-top: 12px; padding: 8px 12px; background: var(--card); border-radius: 999px; box-shadow: var(--lift);
  }

  /* ---- ads as rounded cards ---- */
  html.m-shell .ad-wrap { padding-block: 12px; }
  html.m-shell .ad-slot { border-radius: var(--r-md); overflow: hidden; }

  /* ---- shared card look ---- */
  html.m-shell .cover-lead,
  html.m-shell .cover-side .story,
  html.m-shell .cover-index li,
  html.m-shell .layout-a .feature,
  html.m-shell .row,
  html.m-shell .layout-c > .story,
  html.m-shell .layout-b > .story,
  html.m-shell .bc,
  html.m-shell .money-card,
  html.m-shell .archive-grid .story {
    background: var(--card); border: 0; border-radius: var(--r-md); box-shadow: var(--lift); overflow: hidden;
  }
  html.m-shell .story:active { opacity: 1; transform: scale(.985); }
  html.m-shell .story { transition: transform .15s var(--ease); }

  /* ---- cover: hero card + list cards ---- */
  html.m-shell .cover { padding: 14px 0 8px; }
  html.m-shell .cover-lead { border-radius: var(--r-lg); }
  html.m-shell .cover-lead .img-frame { margin: 0; aspect-ratio: 4 / 4.4; }
  html.m-shell .cover-lead .badge { top: 14px; left: 14px; border-radius: 999px; padding: 6px 12px; }
  html.m-shell .cover-lead > :not(.img-frame) { margin-inline: 18px; }
  html.m-shell .cover-lead .kicker { margin-top: 16px; }
  html.m-shell .cover-lead .headline { font-size: clamp(1.6rem, 7vw, 2rem); }
  html.m-shell .cover-lead .deck { font-size: .98rem; margin: 8px 18px 10px; }
  html.m-shell .cover-lead .byline { margin-bottom: 18px; }
  html.m-shell .cover-side { margin-top: 14px; border-top: 0; gap: 10px; }
  html.m-shell .cover-side .story { padding: 12px; border-bottom: 0; grid-template-columns: minmax(0, 1fr) 88px; }
  html.m-shell .cover-side .img-frame { border-radius: var(--r-sm); overflow: hidden; }
  html.m-shell .cover-index { margin-top: 22px; }
  html.m-shell .cover-index h3 { border-bottom: 0; padding-bottom: 0; }
  html.m-shell .cover-index ol { padding-bottom: 14px; }
  html.m-shell .cover-index li { padding: 14px 16px; }

  /* ---- section headers: compact, app style ---- */
  html.m-shell .dept { padding: 26px 0 4px; }
  html.m-shell .dept.beauty { padding: 30px 0 24px; margin-top: 18px; }
  html.m-shell .sec-head { border-top: 0; padding-top: 0; margin-bottom: 14px; align-items: center; }
  html.m-shell .sec-head .kicker { font-size: max(.62rem, var(--fmin, 0px)); }
  html.m-shell .sec-head h2 { font-size: 1.55rem; }
  html.m-shell .sec-head .deva { font-size: 1rem; }
  html.m-shell .sec-deck { display: none; }
  html.m-shell .sec-more {
    font-size: max(.66rem, var(--fmin, 0px)); letter-spacing: .06em; padding: 6px 12px; border-radius: 999px;
    background: rgba(158, 27, 50, .08); text-decoration: none;
  }

  /* ---- layout A: featured card + swipe rail ---- */
  html.m-shell .layout-a { gap: 14px; }
  html.m-shell .layout-a .feature .img-frame { margin: 0; aspect-ratio: 16 / 10; }
  html.m-shell .layout-a .feature > :not(.img-frame) { margin-inline: 16px; }
  html.m-shell .layout-a .feature .kicker { display: inline-block; margin-top: 14px; }
  html.m-shell .layout-a .feature .headline { font-size: 1.4rem; margin: 6px 16px 6px; }
  html.m-shell .layout-a .feature .deck { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.m-shell .layout-a .feature .byline { margin-bottom: 16px; }
  html.m-shell .row-list {
    display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
  }
  html.m-shell .row-list::-webkit-scrollbar { display: none; }
  html.m-shell .row { display: flex; flex-direction: column; padding: 0; scroll-snap-align: start; }
  html.m-shell .row:first-child { padding-top: 0; }
  html.m-shell .row .img-frame { order: -1; width: 100%; aspect-ratio: 16 / 11; }
  html.m-shell .row > div:not(.img-frame) { padding: 12px 14px 14px; }
  html.m-shell .row .headline { font-size: 1rem; line-height: 1.25; }
  html.m-shell .row .deck { display: none; }

  /* ---- carousels (layout B/C) as cards ---- */
  html.m-shell .layout-b, html.m-shell .layout-c { gap: 12px; padding-bottom: 14px; }
  html.m-shell .layout-c { grid-auto-columns: 66%; }
  html.m-shell .layout-c > .story, html.m-shell .layout-b > .story { border-top: 0; padding: 0 0 14px; }
  html.m-shell .layout-c > .story > :not(.img-frame), html.m-shell .layout-b > .story > :not(.img-frame) { margin-inline: 14px; }
  html.m-shell .layout-c .n { display: none; }
  html.m-shell .layout-c .img-frame, html.m-shell .layout-b .img-frame { margin: 0 0 12px; aspect-ratio: 16 / 11; }
  html.m-shell .carousel-hint { display: none; }

  /* ---- Shringar / money ---- */
  html.m-shell .beauty-feature { margin-inline: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; }
  html.m-shell .bc .img-frame { width: 96px; }
  html.m-shell .shade-finder { border-radius: var(--r-md); }
  html.m-shell .schemes { margin-inline: 0; border-radius: var(--r-lg); }
  html.m-shell .money-card .img-frame { border-radius: 0; }

  /* ---- pull quote as a card ---- */
  html.m-shell .pullquote { margin: 26px var(--gutter) 6px; padding: 30px 20px; border-radius: var(--r-lg); }

  /* ---- All stories ---- */
  html.m-shell .archive { padding: 30px 0 18px; }
  html.m-shell .archive .sec-head, html.m-shell .archive-head { margin-bottom: 12px; }
  html.m-shell .chip { border-radius: 999px; background: var(--card); text-transform: none; letter-spacing: 0; font-size: .8rem; min-height: 34px; padding: 6px 14px; }
  html.m-shell .chip.active { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
  html.m-shell .archive-grid { gap: 10px; }
  html.m-shell .archive-grid .story { padding: 10px; border-bottom: 0; }
  html.m-shell .archive-grid .img-frame { border-radius: var(--r-sm); overflow: hidden; }
  html.m-shell .archive-more .btn { border-radius: 999px; }

  /* ---- subscribe ---- */
  html.m-shell .subscribe { margin: 10px var(--gutter) 18px; padding: 26px 20px; border-radius: var(--r-lg); }
  html.m-shell .subscribe input, html.m-shell .subscribe button { border-radius: 999px; }

  /* ---- other screens: tighter tops ---- */
  html.m-shell .emag, html.m-shell .desk, html.m-shell .nk, html.m-shell .dhaba, html.m-shell .letter, html.m-shell .clients { padding-top: 24px; }
  html.m-shell .letter { margin-top: 0; }
  html.m-shell .nk-stats { display: none; }
  html.m-shell .desk-shell { margin-inline: 0; border-radius: var(--r-lg); overflow: clip; border: 0; box-shadow: var(--lift); background: var(--card); }
  html.m-shell .desk-privacy { border-radius: var(--r-sm); }
  html.m-shell input, html.m-shell select { border-radius: var(--r-sm); }

  /* ---- footer: slim ---- */
  html.m-shell .footer { padding-top: 28px; margin-top: 8px; }
  html.m-shell .footer-top { gap: 18px; }
  html.m-shell .footer-logo { width: 170px; }
  html.m-shell .footer-mission { display: none; }
  html.m-shell .helplines { margin-top: 18px; }
}

/* =========================================================
   ARTICLE PAGE: app style on phones
   (desktop keeps the centred magazine layout)
   ========================================================= */
.ra-author, .ra-dock { display: none; }

@media (max-width: 820px) {
  .reader { background: var(--paper); }

  /* top bar: light, with round icon buttons */
  .reader-bar { border-bottom: 1px solid var(--hair); background: rgba(251, 247, 241, .96); }
  .reader-back, .reader-share {
    width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center;
    border-radius: 50%; background: rgba(27, 21, 20, .06);
  }
  .reader-back:active, .reader-share:active { background: rgba(27, 21, 20, .12); }
  .reader-progress { height: 3px; border-radius: 0 3px 3px 0; }

  /* hero photo first, then the title on a rounded sheet over it */
  .reader-article { display: flex; flex-direction: column; padding: 0 var(--gutter) 0; }
  .reader-article figure { order: -1; margin: 0 calc(-1 * var(--gutter)); }
  .reader-article figure img { aspect-ratio: 4 / 3.3; display: block; }
  .reader-article figcaption {
    position: relative; margin: -28px 0 0; padding: 0 calc(var(--gutter) + 4px) 34px;
    text-align: right; color: rgba(255, 255, 255, .85); font-size: max(.66rem, var(--fmin, 0px)); text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
  }
  .ra-head {
    position: relative; z-index: 1; margin: -26px calc(-1 * var(--gutter)) 0; padding: 22px var(--gutter) 6px;
    background: var(--paper); border-radius: 24px 24px 0 0;
  }
  .ra-head::before {
    content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px;
    border-radius: 2px; background: rgba(27, 21, 20, .14);
  }
  .ra-head > .kicker {
    display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px;
    background: rgba(158, 27, 50, .08); font-size: max(.64rem, var(--fmin, 0px));
  }
  .reader-article h1 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); line-height: 1.12; margin: 12px 0 10px; }
  .ra-head > .deck { font-size: 1.02rem; line-height: 1.55; margin-bottom: 18px; }
  .ra-head > .byline { display: none; }

  /* author row */
  .ra-author { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
  .ra-avatar {
    width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
    background: var(--kumkum); color: #fff; font-family: var(--serif-display); font-weight: 700; font-size: 1.15rem;
  }
  .ra-who { display: flex; flex-direction: column; line-height: 1.3; font-family: var(--sans); }
  .ra-who b { font-size: .9rem; }
  .ra-who small { font-size: .76rem; color: var(--muted); }
  .share-row.compact { margin: 14px 0 6px; gap: 10px; }
  .share-row.compact .share-btn { width: 40px; min-height: 40px; height: 40px; }

  /* body text: comfortable reading */
  .reader-body { font-size: 1.1rem; line-height: 1.75; padding-top: 18px; }
  .reader-body h2, .reader-body h3 { font-size: 1.35rem; margin: 1.5em 0 .5em; }
  .reader-body ul, .reader-body ol { padding-left: 1.15em; }
  .reader-body img, .reader-body iframe { border-radius: 14px; }
  .reader-body blockquote { background: rgba(158, 27, 50, .05); border-radius: 0 12px 12px 0; padding: .7em 1em; }
  .reader-body small { font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); color: var(--muted); }

  /* health note as an info card */
  .reader-note {
    display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; padding: 14px 16px;
    border: 0; border-radius: 14px; background: #f1e9dd; line-height: 1.5;
  }
  .reader-note::before {
    content: "i"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ink); color: var(--paper); font: italic 700 max(.72rem, var(--fmin, 0px))/1 Georgia, serif; margin-top: 1px;
  }
  .reader-article .ad-slot { border-radius: 16px; overflow: hidden; margin-top: 22px; }

  /* share card */
  .share-block {
    margin: 26px 0 0; padding: 22px 18px; border-top: 0; border-radius: 20px; text-align: center;
    background: #fff; box-shadow: 0 1px 2px rgba(27, 21, 20, .05), 0 10px 26px -14px rgba(27, 21, 20, .22);
  }
  .share-block-title { font-size: 1.15rem; }
  .share-row.full { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .share-row.full .share-btn { width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 50%; justify-content: center; }
  .share-row.full .share-btn span { display: none; }
  .share-row.full .share-whatsapp {
    flex-basis: 100%; width: auto; border-radius: 999px; gap: 8px; margin-bottom: 4px;
    background: #25d366; border-color: #25d366; color: #fff;
  }
  .share-row.full .share-whatsapp span { display: inline; font-size: .9rem; }

  /* read next: swipe rail of cards */
  .related { margin-top: 30px; }
  .related .label-rule { border-bottom: 0; padding-bottom: 0; font-size: max(.72rem, var(--fmin, 0px)); }
  .related-grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 64%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 12px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related .story {
    display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; scroll-snap-align: start;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(27, 21, 20, .05), 0 10px 26px -14px rgba(27, 21, 20, .22);
  }
  .related .img-frame { aspect-ratio: 16 / 11; margin: 0; }
  .related .story > div:not(.img-frame) { padding: 12px 14px 14px; }
  .related .headline { font-size: 1rem; line-height: 1.25; }

  /* sticky bottom action bar */
  .ra-dock {
    display: flex; align-items: center; gap: 10px; position: sticky; bottom: 0; z-index: 3;
    margin: 8px calc(-1 * var(--gutter)) 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 247, 241, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--hair);
  }
  .ra-dock button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px;
    font-family: var(--sans); font-weight: 600; font-size: .88rem; transition: transform .12s;
  }
  .ra-dock button:active { transform: scale(.96); }
  .ra-dock-share { padding: 0 18px; background: #25d366; color: #fff; }
  .ra-dock-copy { width: 46px; flex: none; background: #fff; border: 1px solid var(--hair); color: var(--ink); }
  .ra-dock-next {
    flex: 1; min-width: 0; justify-content: space-between; padding: 0 12px 0 16px; background: var(--ink); color: var(--paper); text-align: left;
  }
  .ra-dock-next span { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .ra-dock-next small { font-size: max(.62rem, var(--fmin, 0px)); letter-spacing: .1em; text-transform: uppercase; color: var(--haldi); }
  .ra-dock-next b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .82rem; font-weight: 600; }
  .ra-dock-next svg { flex: none; }
}

/* =========================================================
   NEWSLETTER: "One letter a week. Written for you."
   A red card with what's inside, a pill form, and a
   hand-written letter peeking out of an envelope.
   ========================================================= */
.subscribe, html.m-shell .subscribe {
  background: none; color: var(--ink); padding: 72px 0; margin: 0; border-radius: 0;
}
.subscribe p { color: inherit; }
.sub-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 48px; align-items: center; padding: 56px 56px 56px 60px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(200, 144, 46, .38), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, .28), transparent 55%),
    linear-gradient(135deg, #a51f37 0%, #8a1529 60%, #6e1022 100%);
  box-shadow: 0 30px 60px -30px rgba(110, 16, 34, .55);
}
/* soft rangoli dots in the background */
.sub-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%); mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
}
.sub-main, .sub-letter { position: relative; }

.sub-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--sans); font-size: max(.68rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f3d9a8;
}
.sub-kicker .deva { letter-spacing: 0; text-transform: none; font-weight: 400; font-size: .85rem; }
.sub-dot { width: 7px; height: 7px; border-radius: 50%; background: #f3d9a8; box-shadow: 0 0 0 4px rgba(243, 217, 168, .2); }
.subscribe h2 { font-family: var(--serif-display); font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.04; margin: 18px 0 12px; color: #fff; letter-spacing: -.015em; }
.subscribe h2 em { color: #f3d9a8; }
.sub-lede { font-size: 1.08rem; color: rgba(255, 255, 255, .85) !important; max-width: 34em; }

.sub-inside { list-style: none; padding: 0; margin: 24px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sub-inside li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .13);
}
.sub-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: rgba(255, 255, 255, .12); }
.sub-inside b { font-family: var(--sans); font-size: .86rem; font-weight: 600; color: #fff; }
.sub-inside small { font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); color: rgba(255, 255, 255, .68); }

.subscribe .news-form, html.m-shell .subscribe .news-form {
  display: flex; flex-direction: row; align-items: center; gap: 6px; margin: 0; padding: 6px 6px 6px 16px;
  background: #fff; border-radius: 999px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45);
}
.nf-ic { flex: none; color: #9a8d87; }
.subscribe .news-form input, html.m-shell .subscribe .news-form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 6px; border: 0; border-radius: 0; background: transparent;
  font-family: var(--sans); font-size: .98rem; color: var(--ink);
}
.subscribe .news-form:focus-within { box-shadow: 0 0 0 3px rgba(243, 217, 168, .65), 0 14px 30px -14px rgba(0, 0, 0, .45); }
.nf-btn, html.m-shell .subscribe .nf-btn {
  flex: none; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--haldi); color: #1b1514; font-family: var(--sans); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  transition: background .2s, transform .12s;
}
.nf-btn:hover { background: #d9a03a; }
.nf-btn:active { transform: scale(.97); }
.subscribe .news-consent { margin-top: 12px; font-size: .76rem; color: rgba(255, 255, 255, .7); opacity: 1; }
.subscribe .news-msg { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #f3d9a8 !important; }

/* the letter */
.sub-letter { padding: 10px 10px 70px; }
.sl-paper {
  position: relative; z-index: 1; transform: rotate(-3deg); padding: 30px 30px 80px; border-radius: 6px; color: var(--ink);
  background:
    linear-gradient(90deg, transparent 38px, rgba(158, 27, 50, .22) 38px, rgba(158, 27, 50, .22) 39px, transparent 39px),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(27, 21, 20, .08) 31px 32px),
    #fffaf0;
  background-position: 0 0, 0 18px, 0 0;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
}
.sl-stamp {
  position: absolute; top: 18px; right: 18px; width: 70px; height: 78px; padding: 6px; transform: rotate(6deg);
  background: #fff; border-radius: 3px;
  -webkit-mask: radial-gradient(circle at 4px 4px, transparent 2.6px, #000 3px) -4px -4px / 9px 9px;
  mask: radial-gradient(circle at 4px 4px, transparent 2.6px, #000 3px) -4px -4px / 9px 9px;
}
.sl-stamp img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.sl-date { padding-left: 20px; font-family: var(--sans); font-size: max(.66rem, var(--fmin, 0px)); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; }
.sl-hi { padding-left: 20px; margin-top: 10px; font-family: "Kalam", var(--deva); font-weight: 700; font-size: 1.7rem; line-height: 1.3; color: var(--kumkum) !important; }
.sl-line { padding: 4px 56px 0 20px; font-family: "Kalam", cursive; font-size: 1.12rem; line-height: 32px; color: #3a2d29 !important; }
.sl-sign { padding-left: 20px; margin-top: 8px; font-family: "Kalam", cursive; font-size: 1rem; line-height: 1.4; color: #3a2d29 !important; }
.sl-sign img { display: block; width: 116px; height: auto; margin-top: 4px; }
.sl-envelope {
  position: absolute; z-index: 2; left: -4px; right: -4px; bottom: 0; height: 128px; border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #ecd3a0, #e0bd7e);
  clip-path: polygon(0 0, 50% 48%, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 -2px 0 rgba(0, 0, 0, .04) inset;
}
.sl-envelope::after {
  content: ""; position: absolute; left: 50%; top: 40%; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c8384f, #8a1529); box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

@media (hover: hover) {
  .sub-letter .sl-paper { transition: transform .5s var(--ease); }
  .sub-card:hover .sl-paper { transform: rotate(-1.5deg) translateY(-10px); }
}

@media (max-width: 1100px) {
  .sub-card { grid-template-columns: minmax(0, 1fr); padding: 44px; }
  .sub-letter { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 820px) {
  .subscribe, html.m-shell .subscribe { padding: 18px 0 22px; }
  .sub-card { gap: 8px; padding: 28px 20px 8px; border-radius: 24px; }
  .sub-kicker { font-size: max(.6rem, var(--fmin, 0px)); padding: 5px 11px; }
  .subscribe h2 { font-size: 2.05rem; margin: 14px 0 8px; }
  .sub-lede { font-size: .98rem; }
  .sub-inside { gap: 8px; margin: 18px 0 20px; }
  .sub-inside li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 9px 10px; border-radius: 14px; }
  .sub-ic { width: 34px; height: 34px; border-radius: 10px; font-size: 1.05rem; }
  .sub-inside b { font-size: .78rem; line-height: 1.25; }
  .sub-inside small { font-size: max(.66rem, var(--fmin, 0px)); line-height: 1.3; }
  .nf-btn, html.m-shell .subscribe .nf-btn { padding: 0 16px; font-size: .84rem; }
  .sub-letter { padding: 18px 6px 56px; }
  .sl-paper { padding: 22px 20px 64px; }
  .sl-stamp { width: 54px; height: 60px; top: 14px; right: 14px; }
  .sl-hi { font-size: 1.4rem; }
  .sl-line { font-size: 1rem; padding-right: 8px; }
  .sl-envelope { height: 100px; }
}
@media (max-width: 370px) {
  .subscribe .news-form { flex-wrap: wrap; border-radius: 22px; padding: 6px 6px 6px 14px; }
  .nf-btn { width: 100%; }
}

/* ===== Language button placement ===== */
.utility-links .lang-btn { height: 26px; padding: 0 9px; font-size: max(.7rem, var(--fmin, 0px)); border-color: rgba(233, 224, 214, .35); color: #e9e0d6; }
.utility-links { align-items: center; }
@media (max-width: 820px) {
  .appbar { grid-template-columns: 88px 1fr 88px; }
  .appbar > .icon-btn:first-child { justify-self: start; }
  .appbar-right { display: flex; align-items: center; justify-content: flex-end; }
}
@media (min-width: 821px) { .appbar-right { display: none; } }

/* ===== Policy notes ===== */
.help-src { margin-top: 14px; font-family: var(--sans); font-size: .76rem; line-height: 1.5; color: rgba(239, 230, 220, .7); }
.help-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.schemes-note a { color: inherit; text-decoration: underline; }
.markets-info { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; font-size: max(.72rem, var(--fmin, 0px)); color: var(--muted); text-decoration: none; vertical-align: 1px; }
.markets-info:hover { color: var(--kumkum); }
/* inside the installed / Play Store app, empty "Your ad here" boxes are hidden (real ads still show, labelled "Advertisement") */
html.is-app .ad-wrap:has(.ad-empty), html.is-app .ad-slot:has(.ad-empty) { display: none; }

/* =========================================================
   Story pages (/story/<id>): one page per article for Google and shared links
   ========================================================= */
.mast-h1 { margin: 0; font: inherit; line-height: 0; }
.story-page { background: var(--paper); }
.sp-top {
  position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 241, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair);
  padding-top: env(safe-area-inset-top);
}
.sp-top-inner { max-width: 1100px; margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sp-logo img { width: 116px; height: auto; display: block; }
.sp-actions { display: inline-flex; align-items: center; gap: 10px; }
.sp-home { font-family: var(--sans); font-size: .8rem; font-weight: 700; color: var(--kumkum); padding: 8px 14px; border-radius: 999px; background: rgba(158, 27, 50, .08); }
.sp-crumbs { max-width: 760px; margin: 18px auto 0; padding: 0 var(--gutter); display: flex; gap: 8px; font-family: var(--sans); font-size: .76rem; color: var(--muted); }
.sp-crumbs a { color: var(--kumkum); }
.sp-article { padding-top: 20px; }
.sp-article .related a.story { color: inherit; text-decoration: none; }
.sp-cta { margin: 36px 0 12px; text-align: center; }
.sp-cta-btn { display: inline-block; padding: 14px 22px; border-radius: 999px; background: var(--kumkum); color: #fff; font-family: var(--sans); font-weight: 700; font-size: .9rem; line-height: 1.35; }
.sp-foot { border-top: 1px solid var(--hair); padding: 22px var(--gutter) calc(28px + env(safe-area-inset-bottom)); text-align: center; font-family: var(--sans); font-size: .78rem; color: var(--muted); }
.sp-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 8px; }
.sp-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 820px) {
  .sp-crumbs { display: none; }
  .sp-article { padding-top: 0; }
}
.sp-article figure img { height: auto; }

/* =========================================================
   Recipe / remedy / category / sitemap pages (made by the server)
   ========================================================= */
.gp-hi { font-family: var(--deva); font-weight: 400; color: var(--haldi); font-size: .62em; white-space: nowrap; }
.gp-answer { font-style: normal; }
.gp-chips { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.gp-chips li { font-family: var(--sans); font-size: .76rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hair); }
.gp-icon { order: -1; display: grid; place-items: center; font-size: 5rem; height: 200px; margin: 0 calc(-1 * var(--gutter)); background: linear-gradient(135deg, #f6e7cf, #f1d9c5); }
.gp-page .reader-body h2 { margin-top: 1.2em; }
.gp-care { background: #fff7d6 !important; border-left-color: #c8902e !important; color: var(--ink) !important; font-style: normal !important; }
.gp-updated { font-family: var(--sans); font-size: .76rem; color: var(--muted); margin-top: 18px; }
.gp-more { margin-top: 30px; }
.gp-more ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.gp-more a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hair); font-family: var(--sans); font-size: .88rem; font-weight: 600; color: var(--ink); }
.gp-hub { max-width: 1000px; margin: 0 auto; padding: 24px var(--gutter) 40px; }
.gp-hub-head { margin-bottom: 22px; }
.gp-hub-head h1 { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 6px 0 8px; }
.gp-hub-head .deck { color: var(--muted); font-style: italic; }
.gp-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gp-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(27,21,20,.05), 0 10px 26px -14px rgba(27,21,20,.22); }
.gp-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.gp-card b { display: block; font-family: var(--serif-display); font-size: 1.05rem; line-height: 1.25; }
.gp-card small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; color: var(--muted); font-size: .84rem; }
.gp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.gp-cats a { font-family: var(--sans); font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--hair); color: var(--ink); }
.gp-cats a[aria-current] { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.gp-sitemap h2 { font-family: var(--serif-display); font-size: 1.5rem; margin: 30px 0 10px; border-top: 2px solid var(--ink); padding-top: 12px; }
.gp-sitemap h3 { font-family: var(--sans); font-size: .9rem; margin: 18px 0 6px; }
.gp-sitemap h3 a { color: var(--kumkum); }
.gp-cols { columns: 2 260px; column-gap: 28px; padding-left: 1.1em; margin: 0; }
.gp-cols li { margin: 0 0 6px; break-inside: avoid; }
.gp-cols a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
.gp-cols small { color: var(--muted); }
.ra-head > a.kicker { text-decoration: none; }
.about-faq { border: 1px solid var(--hair); border-radius: 14px; background: #fff; margin: 10px 0; padding: 0 16px; }
.about-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.about-faq summary::after { content: "+"; float: right; color: var(--kumkum); font-weight: 700; }
.about-faq[open] summary::after { content: "−"; }
.about-faq p { padding: 0 0 14px; margin: 0; }
@media (min-width: 821px) { .gp-icon { order: 0; margin: 0 0 28px; border-radius: 18px; } }

/* =========================================================
   Section page (phones): full-screen, app-style
   ========================================================= */
.catview { position: fixed; inset: 0; z-index: 130; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; animation: cvIn .3s var(--ease); }
@keyframes cvIn { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .catview { animation: none; } }

.cv-bar {
  position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  min-height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 6px 0;
  background: rgba(251, 247, 241, .96); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.cv-bar.scrolled { border-bottom-color: var(--hair); box-shadow: 0 6px 20px rgba(27, 21, 20, .06); }
.cv-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: rgba(27, 21, 20, .06); }
.cv-icon:active { background: rgba(27, 21, 20, .12); }
.cv-bar-title {
  text-align: center; font-family: var(--serif-display); font-weight: 800; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.cv-bar.scrolled .cv-bar-title { opacity: 1; transform: none; }

.cv-page { padding: 0 var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.cv-hero { padding: 14px 0 16px; }
.cv-kicker { font-family: var(--sans); font-size: max(.64rem, var(--fmin, 0px)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--kumkum); }
.cv-hero h1 { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2.1rem, 10vw, 2.7rem); line-height: 1.05; letter-spacing: -.02em; margin: 6px 0 8px; }
.cv-hero h1 .deva { font-family: var(--deva); font-weight: 400; font-size: .5em; color: var(--haldi); letter-spacing: 0; white-space: nowrap; }
.cv-deck { color: var(--muted); font-style: italic; font-size: 1rem; line-height: 1.5; }
.cv-count { display: inline-block; margin-top: 12px; font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(158, 27, 50, .08); color: var(--kumkum); }

.cv-chips {
  position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 2; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter)) 14px; padding: 10px var(--gutter);
  background: rgba(251, 247, 241, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.cv-chips::-webkit-scrollbar { display: none; }
.cv-chips button {
  flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--hair); background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: .8rem; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s;
}
.cv-chips button.on { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }

.cv-feature { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(27,21,20,.05), 0 12px 30px -16px rgba(27,21,20,.28); margin-bottom: 16px; }
.cv-feature .img-frame { aspect-ratio: 16 / 10; margin: 0; border-radius: 0; }
.cv-feature-text { padding: 14px 16px 16px; }
.cv-feature .headline { font-size: 1.4rem; line-height: 1.2; margin: 6px 0 6px; }
.cv-feature .deck { font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cv-feature .byline { margin-top: 10px; }

.cv-list { display: grid; gap: 10px; }
.cv-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 14px; align-items: center;
  padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(27,21,20,.05), 0 8px 22px -16px rgba(27,21,20,.25);
}
.cv-row .img-frame { aspect-ratio: 1; margin: 0; border-radius: 12px; overflow: hidden; }
.cv-row .headline { font-size: 1.02rem; line-height: 1.25; margin: 4px 0 4px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cv-meta { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); color: var(--muted); }
.cv-row:active, .cv-feature:active { transform: scale(.985); }
.cv-row, .cv-feature { transition: transform .15s var(--ease); }

.cv-more {
  display: block; width: 100%; margin-top: 16px; padding: 14px; border-radius: 999px; border: 1px solid var(--hair); background: #fff;
  font-family: var(--sans); font-weight: 700; font-size: .88rem; color: var(--kumkum);
}
.cv-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.cv-empty-ic { font-size: 2.4rem; margin-bottom: 8px; }
.cv-empty b { color: var(--ink); }

/* the section page is for phones; on wider screens the archive filter is used instead */
@media (min-width: 821px) { .catview { display: none !important; } }

/* side menu: section rows look tappable, with a chevron (opens the section page) */
@media (max-width: 820px) {
  .drawer-cats a { position: relative; padding-right: 24px; }
  .drawer-cats a::after { content: "›"; position: absolute; right: 2px; top: 50%; transform: translateY(-52%); font-size: 1.3rem; color: var(--muted); }
  .drawer-cats a:active { background: rgba(158, 27, 50, .06); }
}
.cv-page.one-section .cv-row .kicker, .cv-page.one-section .cv-feature .kicker { display: none; }
.cv-page.one-section .cv-row .headline { margin-top: 0; }

/* Section page header: logo always visible at the top, swaps to the section name while scrolling */
.cv-bar { border-bottom-color: var(--hair); }
.cv-bar-center { position: relative; display: grid; place-items: center; min-width: 0; height: 44px; }
.cv-bar-center > * { grid-area: 1 / 1; }
.cv-logo { width: 112px; height: auto; transition: opacity .2s, transform .2s; }
.cv-bar .cv-bar-title { max-width: 100%; }
.cv-bar.scrolled .cv-logo { opacity: 0; transform: translateY(-6px); }

/* =========================================================
   Section page: pinned header that shrinks on scroll + pagination
   ========================================================= */
.cv-bar .cv-bar-title { display: none; }
.cv-bar.scrolled .cv-logo { opacity: 1; transform: none; }
.cv-head {
  position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 2;
  margin: 0 calc(-1 * var(--gutter)) 14px; padding: 0 var(--gutter);
  background: rgba(251, 247, 241, .97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .2s;
}
.cv-head .cv-chips { position: static; margin: 0 calc(-1 * var(--gutter)); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cv-hero h1 { transition: font-size .22s var(--ease), margin .22s var(--ease); }
.catview.collapsed .cv-head { box-shadow: 0 8px 22px -14px rgba(27, 21, 20, .35); border-bottom: 1px solid var(--hair); }
.catview.collapsed .cv-kicker, .catview.collapsed .cv-deck { display: none; }
.catview.collapsed .cv-hero { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 2px; }
.catview.collapsed .cv-hero h1 { font-size: 1.45rem; margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catview.collapsed .cv-count { margin-top: 0; flex: none; }

.cv-pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 22px 0 6px; flex-wrap: wrap; }
.cv-pager button {
  min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hair); background: #fff;
  font-family: var(--sans); font-weight: 700; font-size: .9rem; color: var(--ink); transition: background .15s, color .15s, transform .12s;
}
.cv-pager button.on { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.cv-pager button:active:not(:disabled) { transform: scale(.94); }
.cv-pager .cv-step { font-size: 1.25rem; line-height: 1; color: var(--kumkum); }
.cv-pager button:disabled { opacity: .35; }
.cv-gap { color: var(--muted); padding: 0 2px; }

/* =========================================================
   Bottom menu on every screen (phones)
   ========================================================= */
@media (max-width: 820px) {
  .tabbar { z-index: 160; }
  body.locked .tabbar { transform: none; }
  /* leave room for it at the bottom of every overlay screen */
  .catview .cv-page { padding-bottom: calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom)); }
  .reader-article { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .ra-dock { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
  .search-panel { padding-bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); }
  .drawer-panel { padding-bottom: calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom)); }
  /* separate pages (policies, About, story/recipe/remedy/category pages) */
  body.pl-page, body.story-page { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Smooth scrolling on phones (no jitter)
   ========================================================= */
@media (max-width: 820px) {
  /* 1. Blur behind pinned bars is redrawn on every frame and stutters on phones: use solid colour instead */
  .appbar, .section-nav, .tabbar, .cv-bar, .cv-chips, .sp-top, .reader-bar, .ra-dock, .desk-nav,
  html.m-shell .appbar, html.m-shell .section-nav {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  .appbar, html.m-shell .appbar, .section-nav, html.m-shell .section-nav, .cv-bar, .cv-chips, .sp-top, .reader-bar, .ra-dock { background-color: #fbf7f1 !important; }
  .tabbar { background: #fbf7f1; will-change: transform; transform: translateZ(0); }
  .tabbar.hide { transform: translate3d(0, 100%, 0); }

  /* 2. Cards don't jump when a swipe starts on them: feedback only after the finger rests (script adds .pressed) */
  .story:active, html.m-shell .story:active, .cv-row:active, .cv-feature:active { transform: none; opacity: 1; }
  .story.pressed, .cv-row.pressed, .cv-feature.pressed { transform: scale(.985); opacity: .9; }

  /* 3. Section page: only opacity changes in the top bar (logo ⇄ section name), nothing changes height */
  .cv-bar .cv-bar-title { display: block; opacity: 0; transform: translateY(6px); font-size: 1.02rem; }
  .cv-bar .cv-bar-title small { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 700; color: var(--kumkum); margin-left: 4px; }
  .cv-bar.scrolled .cv-bar-title { opacity: 0; transform: translateY(6px); }
  .cv-bar.titled .cv-bar-title, .cv-bar.scrolled.titled .cv-bar-title { opacity: 1; transform: none; }
  .cv-bar.titled .cv-logo, .cv-bar.scrolled.titled .cv-logo { opacity: 0; transform: translateY(-6px); }
  .cv-chips { border-bottom: 1px solid var(--hair); }

  /* 4. Lists of cards don't repaint while scrolling past */
  .cv-row, .cv-feature, .gp-card { contain: layout paint; }
}
/* 5. Magazine size uses the stable screen height, so it doesn't resize when the address bar hides */
@supports (height: 100svh) {
  .emag-book { max-width: calc((100svh - 240px) / var(--emag-ratio) * 2); }
  @media (max-width: 700px) { .emag-book { max-width: calc((100svh - 220px) / var(--emag-ratio)); } }
}

/* =========================================================
   Section page: fixed section header (title, description, count, chips)
   It floats above the stories, so shrinking it never moves the content.
   ========================================================= */
@media (max-width: 820px) {
  .cv-headfix {
    position: fixed; left: 0; right: 0; top: calc(56px + env(safe-area-inset-top)); z-index: 2;
    padding: 0 var(--gutter); background: #fbf7f1; border-bottom: 1px solid var(--hair);
    transition: box-shadow .2s;
  }
  .cv-headfix .cv-chips { position: static; top: auto; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 12px; background: none; border-bottom: 0; }
  .cv-body { padding-top: calc(var(--cvhead, 300px) + 14px); }
  .cv-hero { transition: padding .2s var(--ease); }
  .cv-hero h1 { transition: font-size .2s var(--ease), margin .2s var(--ease); }

  /* shrunk: one compact title line + count, then the chips */
  .catview.collapsed .cv-headfix { box-shadow: 0 10px 24px -16px rgba(27, 21, 20, .4); }
  .catview.collapsed .cv-kicker, .catview.collapsed .cv-deck { display: none; }
  .catview.collapsed .cv-hero { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 0; }
  .catview.collapsed .cv-hero h1 { font-size: 1.4rem; margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .catview.collapsed .cv-count { margin-top: 0; flex: none; }

  /* the top bar keeps the logo (the section name is always visible in the fixed header) */
  .cv-bar .cv-bar-title { display: none !important; }
  .cv-bar .cv-logo { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Shorts (YouTube) — section, cards, phone feed, desktop player
   ========================================================= */
.shorts { padding: 56px 0 24px; }
.shorts-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.shorts-rail::-webkit-scrollbar { display: none; }
.short-card { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #1b1514; scroll-snap-align: start; text-align: left; }
.short-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.short-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.short-play { position: absolute; top: 10px; right: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-size: max(.7rem, var(--fmin, 0px)); }
.short-card-title { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; color: #fff; font-family: var(--sans); font-size: .8rem; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) { .short-card:hover img { transform: scale(1.05); } }
.shorts-feed { display: none; }
.shorts-teaser { display: none; }
.shorts-empty { grid-column: 1 / -1; text-align: center; padding: 36px 16px; color: var(--muted); border: 1px dashed var(--hair); border-radius: 18px; }
.shorts-empty .se-ic { font-size: 2.2rem; }
.shorts-empty b { color: var(--ink); }
.se-btn { display: inline-block; margin-top: 12px; padding: 10px 18px; border-radius: 999px; background: #e62117; color: #fff; font-family: var(--sans); font-weight: 700; font-size: .85rem; }

/* desktop player */
.short-modal { border: 0; padding: 0; background: transparent; overflow: visible; }
.short-modal::backdrop { background: rgba(10, 8, 8, .82); }
.short-modal-frame { width: min(400px, 90vw, calc((100vh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; }
.short-modal-frame iframe { width: 100%; height: 100%; border: 0; }
.short-modal-x { position: absolute; top: -14px; right: -48px; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; }
.short-modal-yt { display: block; margin-top: 12px; text-align: center; color: #fff; font-family: var(--sans); font-weight: 600; font-size: .85rem; }

@media (max-width: 820px) {
  /* six tabs */
  .tabbar { grid-template-columns: repeat(6, 1fr) !important; }
  .tab svg { padding: 4px 12px !important; }
  .tab span { font-size: max(.58rem, var(--fmin, 0px)); letter-spacing: .03em; }

  /* Home: small teaser row */
  html.m-shell .shorts-teaser:not([hidden]) { display: block; padding: 22px var(--gutter) 6px; }
  .st-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
  .st-head h2 { font-family: var(--serif-display); font-size: 1.55rem; font-weight: 900; }
  .st-head .deva { font-size: 1rem; color: var(--haldi); font-weight: 400; }
  .st-all { font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); font-weight: 700; color: var(--kumkum); padding: 6px 12px; border-radius: 999px; background: rgba(158, 27, 50, .08); }
  html.m-shell .shorts-teaser .shorts-rail { grid-auto-columns: 132px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }

  /* Shorts tab: full-screen swipe feed */
  html.m-shell .shorts { padding: 0; background: #000; }
  html.m-shell .shorts > .wrap { display: none; }
  html.m-shell .shorts-feed {
    display: block; height: calc(100dvh - var(--appbar-h) - env(safe-area-inset-top) - var(--tabbar-h) - env(safe-area-inset-bottom));
    overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; background: #000;
  }
  html.m-shell .shorts-feed::-webkit-scrollbar { display: none; }
  html[data-app-screen="shorts"] .footer, html[data-app-screen="shorts"] .ad-foot { display: none; }
  .short-slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; }
  .short-stage, .short-frame { position: absolute; inset: 0; }
  .short-poster { width: 100%; height: 100%; object-fit: cover; }
  .short-frame iframe { width: 100%; height: 100%; border: 0; }
  .short-frame { background: transparent; }   /* the thumbnail stays visible until the video has loaded on top of it */
  .short-info {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 60px 16px 16px; color: #fff; pointer-events: none;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
  }
  .short-title { font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .short-meta { font-family: var(--sans); font-size: max(.74rem, var(--fmin, 0px)); opacity: .75; margin-top: 4px; }
  .short-actions { display: flex; gap: 8px; margin-top: 10px; pointer-events: auto; }
  .short-actions a, .short-actions button { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-family: var(--sans); font-size: .78rem; font-weight: 700; border: 1px solid rgba(255,255,255,.25); }
  .short-hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; font-family: var(--sans); font-size: max(.72rem, var(--fmin, 0px)); pointer-events: none; animation: hintFade 4s 1s forwards; }
  @keyframes hintFade { to { opacity: 0; } }
  html.m-shell .shorts-feed .shorts-empty { margin: 40px var(--gutter); color: #d9cfc6; border-color: rgba(255,255,255,.2); }
  html.m-shell .shorts-feed .shorts-empty b { color: #fff; }
}
@media (min-width: 821px) { .shorts-teaser { display: none !important; } }

/* =========================================================
   Bottom menu: modern floating dock (phones)
   Active tab = cream pill with icon + name; others are icons.
   ========================================================= */
@media (max-width: 820px) {
  :root, .bz-page { --tabbar-h: 80px; }          /* dock (62) + gap (12) + breathing room: used for page spacing */
  .tabbar {
    display: flex !important; align-items: center; justify-content: space-between; gap: 2px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); top: auto;
    height: 62px !important; padding: 0 8px !important;
    background: #1b1514 !important; border: 1px solid rgba(255, 255, 255, .06) !important; border-radius: 24px;
    box-shadow: 0 18px 36px -14px rgba(27, 21, 20, .55), 0 2px 6px rgba(27, 21, 20, .18);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .tabbar.hide { transform: translate3d(0, calc(100% + 32px), 0) !important; }
  .tabbar .tab {
    flex: 0 0 auto; display: inline-flex !important; flex-direction: row !important; align-items: center; justify-content: center; gap: 0 !important;
    height: 44px; min-width: 44px; padding: 0 11px; border-radius: 999px;
    color: rgba(251, 247, 241, .62) !important; text-decoration: none;
    transition: background-color .3s ease, color .3s ease, padding .3s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar .tab svg { width: 22px !important; height: 22px !important; padding: 0 !important; background: none !important; flex: none; transition: transform .15s; }
  .tabbar .tab span {
    max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
    font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: .78rem !important; font-weight: 700; letter-spacing: 0 !important; text-transform: none;
    transition: max-width .3s ease, opacity .2s ease, margin .3s ease;
  }
  .tabbar .tab.active { background: #fbf7f1; color: #9e1b32 !important; padding: 0 14px 0 12px; }
  .tabbar .tab.active span { max-width: 90px; opacity: 1; margin-left: 7px; }
  .tabbar .tab.active svg { background: none !important; }
  .tabbar .tab:active svg { transform: scale(.88); }
  .tabbar .tab:not(.active):hover { color: #fbf7f1 !important; }
  .tabbar .tab:focus-visible { outline: 2px solid #c8902e; outline-offset: 2px; }
}
@media (max-width: 360px) {
  .tabbar .tab { padding: 0 8px; min-width: 40px; }
  .tabbar .tab.active span { max-width: 70px; }
}
/* Shorts: the feed runs full height behind the floating dock */
@media (max-width: 820px) {
  html.m-shell .shorts-feed { height: calc(100dvh - var(--appbar-h) - env(safe-area-inset-top)); }
  .short-info { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 6px); }
  html[data-app-screen="shorts"] .tabbar { background: rgba(27, 21, 20, .9) !important; border-color: rgba(255,255,255,.12) !important; }
}
/* story page: the Share / Next-story bar's background runs down behind the floating dock (no text peeking through) */
@media (max-width: 820px) {
  .ra-dock { bottom: 0 !important; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 4px) !important; border-bottom: 0 !important; }
  .reader-article { padding-bottom: 0; }
}

/* =========================================================
   Page-changing effects
   ========================================================= */
/* moving between pages (Home → Bazaar → a story page…): smooth cross-fade, the dock stays put */
@view-transition { navigation: auto; }
@media (max-width: 820px) {
  .tabbar { view-transition-name: dock; }
  .appbar { view-transition-name: appbar; }
}
::view-transition-group(dock), ::view-transition-group(appbar) { animation-duration: 0s; }
::view-transition-old(root) { animation: vt-fade-out .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-fade-in .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
/* switching tabs: the new screen slides in from the side you're heading to */
html[data-vt="forward"]::view-transition-old(root) { animation: vt-out-left .26s cubic-bezier(.4, 0, 1, 1) both; }
html[data-vt="forward"]::view-transition-new(root) { animation: vt-in-right .34s cubic-bezier(.2, .8, .2, 1) both; }
html[data-vt="back"]::view-transition-old(root) { animation: vt-out-right .26s cubic-bezier(.4, 0, 1, 1) both; }
html[data-vt="back"]::view-transition-new(root) { animation: vt-in-left .34s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-out-left { to { opacity: 0; transform: translateX(-36px); } }
@keyframes vt-in-right { from { opacity: 0; transform: translateX(36px); } }
@keyframes vt-out-right { to { opacity: 0; transform: translateX(36px); } }
@keyframes vt-in-left { from { opacity: 0; transform: translateX(-36px); } }
/* browsers without View Transitions */
html[data-vt-fallback="forward"].m-shell [data-screen].on { animation: vt-in-right .32s cubic-bezier(.2, .8, .2, 1) both; }
html[data-vt-fallback="back"].m-shell [data-screen].on { animation: vt-in-left .32s cubic-bezier(.2, .8, .2, 1) both; }

/* opening & closing screens (story, section page, menu, search) */
@keyframes push-in { from { transform: translateX(100%); } }
@keyframes push-out { to { transform: translateX(100%); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes slide-out-left { to { transform: translateX(-100%); } }
@media (max-width: 820px) {
  .reader { animation: push-in .34s cubic-bezier(.2, .8, .2, 1); box-shadow: -12px 0 30px -18px rgba(27, 21, 20, .5); }
  .catview { animation: push-in .34s cubic-bezier(.2, .8, .2, 1); box-shadow: -12px 0 30px -18px rgba(27, 21, 20, .5); }
  .reader.leaving, .catview.leaving { animation: push-out .22s cubic-bezier(.4, 0, 1, 1) forwards; }
}
@media (min-width: 821px) { .reader.leaving { animation: fade-out .2s forwards; } }
.search.leaving { animation: fade-out .18s forwards; }
.drawer.leaving .drawer-panel { animation: slide-out-left .22s cubic-bezier(.4, 0, 1, 1) forwards; }
.drawer.leaving .drawer-backdrop { animation: fade-out .22s forwards; }
.drawer.leaving, .search.leaving, .reader.leaving, .catview.leaving { pointer-events: none; }

/* section page: list fades in on chip / page change */
.cv-body.cv-swap { animation: vt-fade-in .28s cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  .reader, .catview, .reader.leaving, .catview.leaving, .search.leaving, .drawer.leaving .drawer-panel, .cv-body.cv-swap,
  html[data-vt-fallback].m-shell [data-screen].on { animation: none !important; }
}
/* dock and top bar don't cross-fade: they switch instantly while the page moves */
::view-transition-old(dock), ::view-transition-old(appbar) { animation: none; opacity: 0; }
::view-transition-new(dock), ::view-transition-new(appbar) { animation: none; }

/* ===== WhatsApp share sheet + /app page ===== */
.wa-share { border: 0; padding: 0; margin: auto; width: min(440px, 100%); max-width: 100%; max-height: 92dvh; border-radius: 24px; background: var(--paper); color: var(--ink); overflow: hidden; }
.wa-share::backdrop { background: rgba(27, 21, 20, .55); }
.wa-box { display: flex; flex-direction: column; max-height: 92dvh; padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); }
.wa-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wa-head h2 { font-family: var(--serif-display); font-size: 1.3rem; }
.wa-head button { width: 40px; height: 40px; border-radius: 50%; background: rgba(27, 21, 20, .07); font-size: 1.4rem; line-height: 1; }
.wa-bubble { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px; border-radius: 16px; background: #e3f7d4; }
.wa-bubble img { display: block; width: 100%; height: auto; border-radius: 10px; }
.wa-bubble img[hidden] { display: none; }
.wa-wait { padding: 60px 10px; text-align: center; font-family: var(--sans); font-size: .85rem; color: #4d5f42; }
.wa-text { padding: 10px 6px 4px; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--sans); font-size: .84rem; line-height: 1.5; }
.wa-note { min-height: 1.5em; margin: 6px 0; text-align: center; font-family: var(--sans); font-size: .78rem; color: var(--muted); }
.wa-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wa-acts button { min-height: 46px; border-radius: 999px; border: 1px solid var(--hair); background: #fff; font-family: var(--sans); font-size: .84rem; font-weight: 700; }
.wa-acts .wa-send { grid-column: 1 / -1; min-height: 50px; background: #128c4a; border-color: #128c4a; color: #fff; font-size: .95rem; }
.wa-acts button:disabled { opacity: .5; }
@media (max-width: 820px) { .wa-share { margin: auto 0 0; width: 100%; border-radius: 24px 24px 0 0; } }
.app-page { max-width: 560px; margin: 0 auto; padding: 32px var(--gutter) 40px; text-align: center; }
.app-page > img { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 26px; border: 1px solid var(--hair); }
.app-page h1 { font-family: var(--serif-display); font-weight: 900; font-size: 2rem; line-height: 1.15; }
.app-btn { display: block; width: 100%; margin: 14px 0 0; padding: 16px; border: 0; border-radius: 999px; background: var(--kumkum); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1rem; text-align: center; }
.app-btn[hidden] { display: none; }
.app-how { margin-top: 24px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); text-align: left; font-family: var(--sans); font-size: .9rem; line-height: 1.6; }
.app-how p + p { margin-top: 8px; }
.sp-cta .sp-app { display: inline-block; margin-top: 12px; font-family: var(--sans); font-weight: 700; color: var(--kumkum); }

/* =========================================================
   Phone polish: text at least 12px, dock with a name under every icon
   ========================================================= */
@media (max-width: 820px) {
  :root { --fmin: 12px; }
  .tabbar { gap: 0; padding: 0 6px !important; }
  .tabbar .tab, .tabbar .tab.active { flex: 1 1 0; min-width: 0; height: 52px; padding: 0 2px; flex-direction: column !important; gap: 3px !important; border-radius: 18px; }
  .tabbar .tab { color: rgba(251, 247, 241, .78) !important; }
  .tabbar .tab.active { color: #9e1b32 !important; }
  .tabbar .tab span, .tabbar .tab.active span { display: block; max-width: 100%; margin: 0; opacity: 1; overflow: hidden; text-overflow: ellipsis; font-size: 12px !important; font-weight: 600; line-height: 1.25; }
}
@media (max-width: 389px) { .tabbar .tab span, .tabbar .tab.active span { font-size: 11px !important; } }
/* six tabs: names fit on one line */
@media (max-width: 430px) { .tabbar .tab span, .tabbar .tab.active span { font-size: 11px !important; letter-spacing: -.02em !important; } }
@media (max-width: 374px) { .tabbar .tab span, .tabbar .tab.active span { font-size: 10.5px !important; } }
@media (max-width: 820px) {
  /* cover photo leaves room for its headline above the dock */
  html.m-shell .cover-lead .img-frame { aspect-ratio: auto; width: 100%; height: min(100vw - 36px, 42svh); }
  html.m-shell .ad-top:not([hidden]) ~ main .cover-lead .img-frame { height: min(100vw - 36px, 30svh); }
  html.m-shell .cover-lead .img-frame img { object-position: 50% 8%; }
}
.ad-slot[data-ad-slot="bazaar"] { --ad-ratio: 1200 / 250; --ad-mratio: 600 / 500; }
.ad-slot.ad-article { --ad-ratio: 728 / 250; --ad-mratio: 600 / 500; }

/* =========================================================
   Kaki Da Dhaba on phones: recipe app (menu, Ask Kaki, recipe page, cooking)
   ========================================================= */
.dhm, .dhpage { display: none; }
.dhf:not([open]) { display: none; }
@media (max-width: 820px) {
  .dhaba, .dhpage, .dhf { --line: #ebe0d2; --gold: #e8b23e; --soft: #f5ecdf; --veg: #1f9d55; --nonveg: #b3261e; --ui: "Poppins", "Inter", system-ui, -apple-system, sans-serif; }
  .dhaba .dh-stage, .dhaba .dh-sign, .dhaba .dh-switch-row { display: none; }
  html.m-shell .dhaba, .dhaba { padding: 0 0 28px; color: var(--ink); background: #fbf7f1; }
  .dhm { display: block; padding-top: 20px; font-family: var(--ui); }
  .dhm button, .dhpage button, .dhf button { font-family: var(--ui); }
  .dhm img, .dhpage img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .dhm .fmark, .dhpage .fmark { width: 14px; height: 14px; border-width: 1.5px; border-radius: 2px; }
  .dhm .fmark.veg i, .dhpage .fmark.veg i { width: 6px; height: 6px; }
  .dhm .fmark.nonveg i, .dhpage .fmark.nonveg i { border-left-width: 4px; border-right-width: 4px; border-bottom-width: 7px; }
  .dhm button:focus-visible, .dhpage button:focus-visible, .dhf button:focus-visible { outline: 2px solid var(--kumkum); outline-offset: 2px; }

  /* top */
  .dhm-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .dhm-greet { font-size: 1rem; line-height: 1.3; color: var(--ink); }
  .dhm-name { font-family: var(--ui); font-size: 1.8rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
  .dhm-sub { font-size: .9rem; line-height: 1.4; color: var(--muted); }
  .dhm-round { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
  .dhm-round i { position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--kumkum); border: 1.5px solid #fff; }
  .dhm-round[aria-pressed="true"] { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
  .dhm-search { display: flex; align-items: center; gap: 10px; height: 54px; margin: 18px 0; padding: 0 6px 0 16px; border-radius: 27px; background: #f4ebde; border: 1px solid var(--line); }
  .dhm-search:focus-within { border-color: var(--kumkum); }
  .dhm-search svg { flex: none; }
  .dhm-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-family: var(--ui); font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
  .dhm-search input::placeholder, .kk-box input::placeholder { color: var(--muted); opacity: 1; }
  .dhm-search button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
  .dhm-search button.on { background: var(--kumkum); color: #fff; }

  /* banner */
  .dhm-banner { position: relative; overflow: hidden; min-height: 222px; padding: 20px; border-radius: 22px; background: #1d1110; color: #fff; }
  .dhm-banner > img { position: absolute; top: -18px; right: -70px; width: 290px; height: 218px; -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 48%); mask-image: linear-gradient(90deg, transparent 2%, #000 48%); }
  .dhm-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #1d1110 30%, rgba(29, 17, 16, .55) 58%, rgba(29, 17, 16, 0) 80%), linear-gradient(0deg, #1d1110 8%, rgba(29, 17, 16, 0) 45%); }
  .dhm-banner > div { position: relative; z-index: 2; max-width: 74%; }
  .dhm-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #3e5b3a; font-size: .8rem; font-weight: 500; line-height: 1.3; }
  .dhm-banner h3 { margin-top: 12px; font-family: var(--ui); font-size: 1.28rem; font-weight: 600; line-height: 1.22; letter-spacing: -.015em; }
  .dhm-banner p { margin-top: 6px; font-size: .82rem; line-height: 1.45; color: rgba(255, 255, 255, .9); }
  .dhm-banner button { display: inline-flex; align-items: center; gap: 14px; height: 46px; margin-top: 14px; padding: 0 16px 0 20px; border-radius: 999px; background: var(--gold); color: #2a1712; font-size: .96rem; font-weight: 600; }
  .dhm-banner .kaki { position: absolute; z-index: 2; right: 8px; bottom: 0; width: 98px; height: 98px; }

  /* courses */
  .dhm-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 22px -6px 0; }
  .dhm-cats button { display: grid; justify-items: center; gap: 8px; min-width: 0; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--ink); }
  .dhm-cats button > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; }
  .dhm-cats .c-breakfast > span { background: #fdf0cf; color: #b87a0c; }
  .dhm-cats .c-main > span { background: #e2ecd9; color: #3e5b3a; }
  .dhm-cats .c-snack > span { background: #fbe1d3; color: #b8501f; }
  .dhm-cats .c-sweet > span { background: #f9dfe3; color: #9e1b32; }
  .dhm-cats .c-drink > span { background: #eadfd3; color: #6b4423; }
  .dhm-cats button[aria-pressed="true"] { font-weight: 700; color: var(--kumkum); }
  .dhm-cats button[aria-pressed="true"] > span { background: var(--kumkum); color: #fff; }

  /* section heads */
  .dhm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 18px 0 8px; scroll-margin-top: 80px; }
  .dhm-head h3 { font-family: var(--ui); font-size: 1.2rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
  .dhm-head button { height: 44px; padding: 0 2px 0 12px; font-size: .88rem; font-weight: 500; color: var(--muted); }
  .dhm-types { display: flex; gap: 8px; margin-bottom: 14px; }
  .dhm-types button { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 17px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; }
  .dhm-types button[aria-pressed="true"] { border-color: var(--kumkum); box-shadow: inset 0 0 0 1px var(--kumkum); color: var(--kumkum); font-weight: 600; }

  /* dish cards */
  .dhm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .dhm-card { position: relative; min-width: 0; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(70, 40, 15, .05), 0 10px 24px -12px rgba(70, 40, 15, .2); }
  .dhm-card > button:first-child { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 8px; text-align: left; border-radius: 22px; }
  .dhm-card:active { transform: scale(.985); }
  .dhm-pic { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 1 / .92; border-radius: 16px; overflow: hidden; background: var(--soft); }
  .dhm-pic img { filter: saturate(.94) contrast(1.02); }
  .dhm-chip { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1; }
  .dhm-tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #2a1712; font-size: 12px; font-weight: 600; line-height: 1.3; }
  .dhm-txt { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 11px 6px 6px; }
  .dhm-txt b { font-size: .95rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .dhm-hi { font-family: var(--ui); font-size: .8rem; line-height: 1.5; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dhm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; font-size: .78rem; line-height: 1.4; color: var(--ink-2); }
  .dhm-meta > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
  .dhm-card .dhm-meta { margin-top: auto; padding-top: 9px; justify-content: space-between; }
  .dhm-heart { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
  .dhm-heart svg { box-sizing: content-box; width: 17px; height: 17px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .95); }
  .dhm-card .dhm-heart { position: absolute; top: 9px; right: 9px; }
  .dhm-heart[aria-pressed="true"] { color: var(--kumkum); }
  .dhm-heart[aria-pressed="true"] path { fill: currentColor; }
  /* today's special: one wide card on top */
  .dhm-card.lead { grid-column: 1 / -1; }
  .dhm-card.lead .dhm-pic { aspect-ratio: 16 / 9.6; }
  .dhm-card.lead .dhm-txt { padding: 14px 8px 8px; }
  .dhm-card.lead b { font-size: 1.2rem; }
  .dhm-card.lead .dhm-hi { font-size: .88rem; }
  .dhm-card.lead .dhm-meta { justify-content: flex-start; gap: 4px 18px; font-size: .82rem; }
  .dhm-desc { margin-top: 5px; font-size: .86rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .dhm-nophoto { display: grid; place-items: center; width: 100%; height: 100%; padding: 12px; text-align: center; font-family: var(--ui); font-size: 1.2rem; line-height: 1.3; color: #8a6a3c; background: var(--soft); }
  .dhm-none { grid-column: 1 / -1; padding: 28px 0; font-family: var(--ui); font-size: .92rem; line-height: 1.5; color: var(--ink-2); }

  /* kitchen notes */
  .dhaba .ad-wrap { padding: 24px 0 0; }
  .dh-tips { margin-top: 28px; }
  .dh-tips-head { margin-bottom: 4px; }
  .dh-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--kumkum); }
  .dh-kicker, .dh-kicker span { font-family: var(--ui); }
  .dh-tips h3 { font-family: var(--ui); font-weight: 600; font-size: 1.2rem; letter-spacing: -.015em; color: var(--ink); }
  .dh-tips-track { gap: 12px; padding-block: 8px 0; scroll-padding-inline: var(--gutter); }
  .dh-tipcard { transform: none; padding: 16px; border-radius: 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
  .dh-tipcard::before, .dh-tipcard-icon { display: none; }
  .dh-tipcard-no { position: static; display: inline-block; padding: 3px 9px; border-radius: 999px; background: #fdf0cf; font-family: var(--ui); font-size: 12px; font-weight: 600; color: #8a5a08; }
  .dh-tipcard h4 { margin: 8px 0 4px; font-family: var(--ui); font-size: 1rem; font-weight: 600; }
  .dh-tipcard p { font-family: var(--ui); font-size: .88rem; line-height: 1.5; color: var(--ink-2); }

  /* ---- full-screen pages ---- */
  .dhpage { display: block; position: fixed; inset: 0; z-index: 130; overflow-y: auto; overscroll-behavior: contain; background: #fbf7f1; color: var(--ink); font-family: var(--ui); animation: push-in .34s cubic-bezier(.2, .8, .2, 1); box-shadow: -12px 0 30px -18px rgba(27, 21, 20, .5); }
  .dhpage.leaving { animation: push-out .22s cubic-bezier(.4, 0, 1, 1) forwards; pointer-events: none; }
  /* recipe and cooking have their own button at the bottom, so the dock steps aside */
  body:has(#dhview:not([hidden]):not(.leaving)) .tabbar, body:has(#dhcook:not([hidden]):not(.leaving)) .tabbar { transform: translate3d(0, calc(100% + 32px), 0) !important; visibility: hidden; }
  .dv-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(27, 21, 20, .16); }
  .dv-bar { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; height: calc(66px + env(safe-area-inset-top)); margin-bottom: calc(-66px - env(safe-area-inset-top)); padding: env(safe-area-inset-top) 14px 0; pointer-events: none; }
  .dv-bar button { pointer-events: auto; }
  .dv-bar { transition: background-color .2s; border-bottom: 1px solid transparent; }
  .dv-bar.solid { background: #fbf7f1; border-bottom-color: var(--line); pointer-events: auto; }
  .dv-bar.solid .dv-ic { box-shadow: none; border: 1px solid var(--line); }
  .dv-bar-title { padding: 0 10px; text-align: center; font-size: 1.05rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s; }
  .dv-bar.solid .dv-bar-title { opacity: 1; }
  .dv-hero { position: relative; width: 100%; height: min(92vw, 44svh); background: var(--soft); }
  .dv-pills { position: absolute; left: 18px; bottom: 40px; display: flex; gap: 10px; }
  .dv-pills span { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 500; }
  .dv-sheet { position: relative; margin-top: -26px; padding: 22px 18px calc(116px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fbf7f1; }
  .dv-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
  .dv-title h2 { font-family: var(--ui); font-size: 1.55rem; font-weight: 600; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
  .dv-title .dhm-heart { flex: none; margin: -4px -8px 0 0; }
  .dv-title .dhm-heart svg { width: 25px; height: 25px; background: none; }
  .dv-hi { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-family: var(--ui); font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
  .dv-reg { font-family: var(--ui); font-size: .84rem; color: var(--muted); }
  .dv-desc { margin-top: 6px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
  .dv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 4px; }
  .dv-facts div { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; padding: 11px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
  .dv-facts svg { grid-column: 1; grid-row: 1 / span 2; color: var(--kumkum); }
  .dv-facts dt { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 1.3; color: var(--muted); }
  .dv-facts dd { grid-row: 1; grid-column: 2; font-size: .86rem; font-weight: 600; line-height: 1.3; }
  .dv-count { font-size: .86rem; color: var(--muted); }
  .dv-serves { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; font-size: .92rem; }
  .dv-serves span { flex: 1; color: var(--ink-2); }
  .dv-serves b { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
  .dv-serves button { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; line-height: 1; }
  .dv-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 3.6); gap: 10px; margin: 0 -18px; padding: 0 18px 4px; overflow-x: auto; scrollbar-width: none; }
  .dv-tiles::-webkit-scrollbar, .kk-ings::-webkit-scrollbar { display: none; }
  .dv-tiles button { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; min-width: 0; padding: 12px 6px; border-radius: 16px; background: var(--soft); text-align: center; }
  .dv-thumb { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 4px; border-radius: 50%; overflow: hidden; background: #fff; color: #a8884f; }
  .dv-tiles b { font-size: .8rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
  .dv-tiles small { font-size: .78rem; line-height: 1.3; color: var(--muted); }
  .dv-tiles button[aria-pressed="true"] { background: #e2ecd9; }
  .dv-tiles button[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #3e5b3a; color: #fff; font-size: 12px; font-weight: 700; }
  .dv-ing { list-style: none; border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 2px 14px; }
  .dv-ing li + li { border-top: 1px solid var(--line); }
  .dv-ing label { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; font-size: .95rem; line-height: 1.4; }
  .dv-ing .dv-thumb { flex: none; order: -1; width: 42px; height: 42px; margin: 0; }
  .dv-ing label > span:last-child { flex: 1; }
  .dv-ing input { order: 2; appearance: none; -webkit-appearance: none; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid #c5b5a3; border-radius: 8px; background: #fff; }
  .dv-ing input:checked { background: #3e5b3a; border-color: #3e5b3a; }
  .dv-ing input:checked::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
  .dv-ing input:checked ~ span:last-child { text-decoration: line-through; color: var(--muted); }
  .dv-steps { list-style: none; display: grid; gap: 12px; }
  .dv-steps li { position: relative; }
  .dv-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 46px; bottom: -14px; width: 2px; background: var(--line); }
  .dv-steps button { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; width: 100%; text-align: left; }
  .dv-no { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 8px; border-radius: 50%; background: var(--gold); color: #2a1712; font-size: .95rem; font-weight: 700; }
  .dv-steps button > span:last-child { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: .9rem; line-height: 1.6; }
  .dv-steps button[aria-pressed="true"] .dv-no { background: #3e5b3a; color: #fff; font-size: 0; }
  .dv-steps button[aria-pressed="true"] .dv-no::after { content: "✓"; font-size: 1rem; }
  .dv-steps button[aria-pressed="true"] > span:last-child { color: var(--muted); background: transparent; }
  .dv-tip { margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: #fdf0cf; }
  .dv-tip b { font-size: .9rem; font-weight: 600; color: #7a4f06; }
  .dv-tip p { margin-top: 3px; font-size: .94rem; line-height: 1.5; color: #43300f; }
  .dv-wa { display: block; width: 100%; height: 52px; margin-top: 16px; border-radius: 999px; background: #fff; border: 1px solid #128c4a; color: #0d6f3a; font-size: .96rem; font-weight: 600; text-align: center; }
  .dv-credit { margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--muted); }
  .dv-credit summary { min-height: 40px; display: flex; align-items: center; text-decoration: underline; cursor: pointer; }
  .dv-credit a { text-decoration: underline; }
  .dv-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; gap: 10px; padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); background: #fbf7f1; border-top: 1px solid var(--line); }
  .dv-cta.two { grid-template-columns: 1fr 2fr; }
  .dv-cta button { display: flex; align-items: center; justify-content: center; gap: 12px; height: 56px; border-radius: 999px; background: var(--kumkum); color: #fff; font-size: 1.05rem; font-weight: 600; }
  .dv-cta button.alt { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .dv-cta button:disabled { opacity: .4; }
  @supports not selector(:has(*)) { .dv-cta { bottom: var(--tabbar-h); } }

  /* ---- Ask Kaki ---- */
  .kk-bar { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 8px; min-height: calc(70px + env(safe-area-inset-top)); padding: calc(8px + env(safe-area-inset-top)) 14px 8px; text-align: center; background: #fbf7f1; }
  .kk-bar h2 { font-family: var(--ui); font-size: 1.28rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kk-bar p { font-size: .84rem; line-height: 1.3; color: var(--kumkum); }
  .kk-body { padding: 6px 16px calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); }
  .kk-hello { display: flex; align-items: flex-end; gap: 10px; }
  .kk-hello .kaki { flex: none; width: 92px; height: 92px; }
  .kk-hello p { flex: 1; padding: 16px 18px; border-radius: 22px 22px 22px 4px; background: #f6e3d6; font-size: .96rem; line-height: 1.45; }
  .kk-hello b { display: block; font-weight: 600; }
  .kk-box { margin-top: 16px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
  .kk-box label { display: block; font-size: .94rem; font-weight: 500; color: var(--ink-2); }
  .kk-box input { width: 100%; height: 52px; margin-top: 10px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fbf7f1; font-family: var(--ui); font-size: 16px; color: var(--ink); outline: 0; }
  .kk-box input:focus { border-color: var(--kumkum); }
  .kk-ings { display: flex; gap: 6px; margin: 14px -16px 0; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
  .kk-ings button { flex: none; display: grid; justify-items: center; gap: 2px; width: 72px; padding: 6px 2px 8px; border-radius: 14px; font-size: .78rem; line-height: 1.3; }
  .kk-ings .dv-thumb { width: 52px; height: 52px; background: var(--soft); }
  .kk-ings button[aria-pressed="true"] { background: #e2ecd9; font-weight: 600; }
  .kk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .kk-btns button { height: 48px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
  .kk-btns button.main { background: var(--gold); border-color: var(--gold); color: #2a1712; font-weight: 600; }
  .kk-btns button[aria-pressed="true"] { border-color: var(--kumkum); box-shadow: inset 0 0 0 1px var(--kumkum); color: var(--kumkum); font-weight: 600; }
  .kk-list { display: grid; gap: 12px; }
  .kk-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) 20px; align-items: center; gap: 12px; width: 100%; padding-right: 12px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-align: left; }
  .kk-pic { display: block; width: 104px; height: 104px; background: var(--soft); }
  .kk-txt { display: grid; gap: 5px; padding: 8px 0; }
  .kk-txt b { font-size: .95rem; font-weight: 600; line-height: 1.25; }
  .kk-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  .kk-tags i { padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 12px; line-height: 1.4; }
  .t-y { background: #fdf0cf; color: #7a4f06; } .t-g { background: #e2ecd9; color: #304a2d; } .t-r { background: #f9dfe3; color: #8a1529; } .t-b { background: #eadfd3; color: #5b3a1e; }
  .kk-row .dhm-meta { margin-top: 0; }

  /* ---- cooking ---- */
  #dhcook { display: flex; flex-direction: column; }
  .ck-track { display: flex; gap: 5px; padding: 4px 18px 0; }
  .ck-track i { flex: 1; height: 5px; border-radius: 99px; background: var(--line); }
  .ck-track i.on { background: #3e5b3a; } .ck-track i.now { background: var(--gold); }
  .ck-body { flex: 1; display: grid; justify-items: center; align-content: center; gap: 20px; padding: 24px 22px 130px; text-align: center; }
  .ck-no { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #2a1712; font-size: 1.6rem; font-weight: 700; }
  .ck-text { font-size: 1.3rem; font-weight: 500; line-height: 1.42; letter-spacing: -.01em; text-wrap: pretty; }
  .ck-timer { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  .ck-timer.up { background: #e2ecd9; border-color: #3e5b3a; }
  .ck-pic { display: block; width: 210px; height: 210px; border-radius: 50%; overflow: hidden; }
  .ck-done { font-family: var(--ui); font-weight: 600; font-size: 1.8rem; line-height: 1.3; }
  .ck-sub { font-size: 1rem; color: var(--muted); margin-top: -14px; }

  /* ---- filter sheet ---- */
  .dhf { border: 0; width: 100%; max-width: 100%; margin: auto 0 0; padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fbf7f1; color: var(--ink); font-family: var(--ui); }
  .dhf::backdrop { background: rgba(27, 21, 20, .5); }
  .dhf-head { display: flex; align-items: center; justify-content: space-between; }
  .dhf-head h2 { font-family: var(--ui); font-size: 1.24rem; font-weight: 700; }
  .dhf-head button { width: 44px; height: 44px; border-radius: 50%; background: rgba(27, 21, 20, .06); font-size: 1.4rem; line-height: 1; }
  .dhf p { margin: 14px 0 8px; font-size: .9rem; font-weight: 600; }
  .dhf-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .dhf-row button { height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; }
  .dhf-row button[aria-pressed="true"] { background: var(--kumkum); border-color: var(--kumkum); color: #fff; font-weight: 600; }
  .dhf-acts { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 22px; }
  .dhf-acts button { height: 54px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 1rem; font-weight: 600; }
  .dhf-acts .main { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
}
@media (max-width: 360px) { .dhm-cats button > span { width: 52px; height: 52px; border-radius: 18px; } .dhm-types button { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .dhpage, .dhpage.leaving { animation: none; } }

/* =========================================================
   Phones: no page footer; it sits in the side menu (moved there by app.js)
   ========================================================= */
.menu-btn { display: none; }
@media (max-width: 820px) {
  .footer, .sp-foot { display: none; }
  .menu-btn { display: grid; flex: none; margin-left: -10px; }
  .bz-top-inner, .pl-top-inner, .sp-top-inner { gap: 8px; }
  /* room under the last section for the bottom menu (the footer used to give it) */
  html.m-shell body, body.bz-page { padding-bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)); }
  html.m-shell[data-app-screen="shorts"] body { padding-bottom: 0; }
  .drawer .footer, .drawer .sp-foot { display: block; margin: 0; padding: 0; background: none; color: var(--ink-2); border: 0; overflow: visible; text-align: left; }
  .drawer .footer .wrap { width: 100%; margin: 0; }
  .drawer .footer-title, .drawer .footer-motto, .drawer .footer-mission, .drawer .footer-watermark, .drawer .to-top, .drawer .footer-col:has(a[href$="#emagazine"]) { display: none !important; }
  .drawer > .drawer-panel:has(#drawerCats) .footer-col-wide { display: none; }
  .drawer .footer-top { display: flex; flex-direction: column; gap: 0; padding: 0; }
  .drawer .footer-cols { order: -1; display: block; border: 0; }
  .drawer .footer-col { border-bottom: 1px solid var(--hair); }
  .drawer .footer-col summary { min-height: 52px; padding: 0; display: flex; align-items: center; justify-content: space-between; font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
  .drawer .footer-col summary::after { border-color: var(--muted); }
  .drawer .footer-col ul { display: block; padding: 0 0 10px; }
  .drawer .footer-col a, .drawer .footer-linkbtn { display: flex; align-items: center; min-height: 44px; padding: 0 0 0 12px; font-size: .9rem; color: var(--ink-2); }
  .drawer .footer-brand { text-align: left; }
  .drawer .footer-label, .drawer .help-head .footer-label, .drawer .help-head .footer-label .deva { margin: 22px 0 10px; color: var(--muted); }
  .drawer .help-head .footer-label { margin: 0 0 4px; }
  .drawer .social { justify-content: flex-start; gap: 8px; }
  .drawer .social a { width: 44px; height: 44px; background: #fff; border-color: var(--hair); color: var(--ink); }
  .drawer .helplines { margin-top: 24px; padding: 18px 14px; border: 0; border-radius: 18px; background: #f3e6dc; }
  .drawer .help-head { margin-bottom: 12px; }
  .drawer .help-title { font-size: 1.25rem; color: var(--ink); }
  .drawer .help-sub { font-size: .84rem; line-height: 1.5; color: var(--ink-2); }
  .drawer .help-sub a, .drawer .help-src a { color: var(--kumkum); }
  .drawer .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .drawer .help-card a { padding: 11px; border-radius: 12px; background: #fff; border-color: transparent; }
  .drawer .help-num { font-size: 1.08rem; color: var(--kumkum); }
  .drawer .help-num-long { font-size: .84rem; }
  .drawer .help-num-long::before { margin-right: 4px; }
  .drawer .help-name { font-size: 12px; color: var(--ink); }
  .drawer .help-hi { font-size: 12px; color: var(--muted); }
  .drawer .help-urgent a { background: var(--kumkum); }
  .drawer .help-urgent .help-num, .drawer .help-urgent .help-name { color: #fff; }
  .drawer .help-urgent .help-hi { color: #f7dcb0; }
  .drawer .help-src { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--muted); }
  .drawer .footer-note { display: block; margin: 18px 0 0; padding: 0; border: 0; background: none; }
  .drawer .footer-note svg { display: none; }
  .drawer .footer-note p, .drawer .bz-credits { font-size: 12.5px !important; line-height: 1.6; color: var(--muted) !important; }
  .drawer .footer-note strong { color: var(--ink); }
  .drawer .footer-bar { margin-top: 18px; padding: 0 !important; background: none; border-top: 1px solid var(--hair); }
  .drawer .footer-bar-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 0 0; text-align: left; font-size: 12px; color: var(--muted); }
  .drawer .footer-unit strong { color: var(--ink); }
  .drawer .footer-legal { order: -1; display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 0 12px; margin-bottom: 8px; }
  .drawer .footer-legal a, .drawer .sp-foot nav a { display: flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: .84rem; color: var(--ink-2); text-decoration: none; }
  .drawer .sp-foot { margin-top: 14px; font-size: 12px; color: var(--muted); }
  .drawer .sp-foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
}
@media (max-width: 820px) {
  .drawer .social { gap: 6px; }
  .drawer .footer-col summary { padding-right: 8px; }
  .drawer .footer, .drawer .footer .wrap, .drawer .footer-top { margin-top: 0 !important; padding-top: 0 !important; }
  .drawer .footer-top { padding-bottom: 0 !important; }
  .drawer .help-num-long { font-size: .76rem; letter-spacing: -.01em; }
  .pl-top-inner .pl-back { display: none; }            /* the menu button and the dock's Home cover it */
}

/* =========================================================
   Phone home: logo bar, icon tiles, live bar, cover carousel
   ========================================================= */
.hm-tiles, .hm-live, .hm-hero, .drawer-quick { display: none; }
.hm-sheet:not([open]) { display: none; }
@media (max-width: 820px) {
  :root { --appbar-h: 64px; }
  html.m-shell[data-app-screen="home"] body { background: radial-gradient(340px 300px at 100% 330px, #f9e6e4 0, rgba(249, 230, 228, 0) 72%), radial-gradient(240px 200px at 0 620px, #f9eae6 0, rgba(249, 234, 230, 0) 72%), #fbf7f1; }
  html.m-shell .appbar { border-bottom-color: transparent; }
  html.m-shell .appbar.scrolled { border-bottom-color: var(--hair); }
  html.m-shell .appbar-logo { width: 138px; }
  .appbar [data-lang-slot] { display: none; }
  .appbar .icon-btn { color: var(--ink); }
  .hm-bell { position: relative; }
  .hm-bell i { position: absolute; top: 8px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: #c9314f; border: 2px solid #fbf7f1; }

  /* tiles */
  html.m-shell .section-nav, html.m-shell .section-nav.stuck { position: static; background: none !important; border: 0; box-shadow: none; }
  .section-nav .section-links { display: none !important; }
  .section-nav .section-nav-inner { display: block; padding: 0; }
  .hm-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 -10px; padding: 10px 0 14px; }
  .hm-tiles > * { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; text-align: center; color: var(--ink); -webkit-tap-highlight-color: transparent; }
  .hm-tiles i { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #8f1b31; background: linear-gradient(160deg, #fff, #fbeceb); border: 1px solid #f3dcda; box-shadow: 0 8px 16px -10px rgba(143, 27, 49, .45), inset 0 1px 0 #fff; transition: transform .16s var(--ease); }
  .hm-tiles svg { width: 29px; height: 29px; }
  .hm-tiles .f { fill: #f3c9cc; }
  .hm-tiles .more i { background: linear-gradient(160deg, #fff, #f8efdf); border-color: #f0e2c8; color: #8a5a12; }
  .hm-tiles .more .f { fill: #f1d9a4; }
  .hm-tiles > *:active i { transform: scale(.94); }
  .hm-tiles .on { font-weight: 600; color: #8f1b31; }
  .hm-tiles .on i { color: #fff; background: linear-gradient(160deg, #b3243f, #8f1b31); border-color: #8f1b31; }
  .hm-tiles .on .f { fill: rgba(255, 255, 255, .24); }

  /* live bar: LIVE stays, prices slide past */
  html.m-shell .markets-inner { position: relative; display: flex; align-items: center; gap: 0; height: 48px; margin-top: 2px; padding: 0 6px 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(90, 30, 30, .05), 0 8px 18px -10px rgba(90, 30, 30, .18); }
  .markets .markets-label { gap: 9px; padding-right: 12px; border-right: 1px solid #f0d9d6; color: var(--ink); font-size: .84rem; letter-spacing: 0; line-height: 24px; }
  .markets .markets-label::before { width: 9px; height: 9px; background: #1f7a3a; box-shadow: 0 0 0 4px #e3efe4; }
  .markets .markets-label .deva, .markets .markets-info, .markets .markets-time { display: none; }
  .markets .markets-items { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; border-radius: 0 999px 999px 0; }
  .markets .mk { font-size: .84rem; }
  .markets .mk-name, .markets .mk-name.gold { color: var(--ink); font-weight: 500; }
  .markets .mk-val { font-weight: 700; }
  .markets .mk + .mk::before { content: ""; align-self: center; width: 1px; height: 18px; background: #f0d9d6; margin: 0 14px 0 -16px; }
  .hm-live { display: block; position: absolute; inset: 0; width: 100%; border-radius: 999px; }      /* the whole bar is one button */

  /* cover carousel */
  html.m-shell .cover .cover-lead, html.m-shell .cover .cover-side { display: none; }
  .hm-hero { display: block; position: relative; order: -1; min-width: 0; }
  .hm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; overscroll-behavior-x: contain; box-shadow: 0 18px 34px -20px rgba(90, 15, 25, .55); }
  .hm-track::-webkit-scrollbar { display: none; }
  html.m-shell .hm-slide.story { position: relative; flex: 0 0 100%; min-width: 0; height: 352px; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: var(--tone); color: #fff; transform: none; }
  .hm-slide > img { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 12%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%); mask-image: linear-gradient(90deg, transparent, #000 42%); }
  .hm-slide > img.zoom { right: -52px; width: 74%; transform: scale(1.36); transform-origin: 52% 8%; }
  .hm-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tone) 22%, transparent 66%); opacity: .82; }
  .hm-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; width: 58%; height: 100%; padding: 18px 0 18px 18px; }
  .hm-badge { flex: none; padding: 7px 12px; border-radius: 999px; background: #fffaf5; color: #2a1512; font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.2; }
  .hm-text h2 { margin-top: 10px; font-family: var(--serif-display); line-height: 1.08; color: #fff; }
  .hm-text h2 span { font-size: clamp(1.45rem, 6.700vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; padding-bottom: 2px; }
  .hm-text h2 em { margin-top: 3px; font-size: clamp(1.02rem, 4.600vw, 1.18rem); font-weight: 600; font-style: italic; line-height: 1.16; color: #f6dfc0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; padding-bottom: 2px; }
  .hm-rule { flex: none; width: 62px; height: 3px; margin: 9px 0; border-radius: 3px; background: linear-gradient(90deg, #e8b23e, rgba(232, 178, 62, .25)); }
  .hm-text p { flex: none; margin-bottom: 12px; font-family: var(--sans); font-size: .82rem; line-height: 1.42; color: rgba(255, 255, 255, .94); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .hm-text h2 { flex: none; }
  .hm-read { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; margin-top: auto; padding: 0 18px; border-radius: 999px; background: #fffaf5; color: #8f1b31; font-family: var(--sans); font-size: .9rem; font-weight: 600; }
  .hm-dots { position: absolute; z-index: 2; right: 8px; bottom: 6px; display: flex; }
  .hm-dots button { display: grid; place-items: center; width: 26px; height: 44px; }
  .hm-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
  .hm-dots button::before { transition: width .3s var(--ease), background-color .3s; }
  .hm-dots button { width: 22px; }
  .hm-dots button.on { width: 32px; }
  .hm-dots button.on::before { background: #fff; width: 22px; border-radius: 99px; }
  .hm-hero ~ .cover-index { margin-top: 22px; }

  /* sheets */
  .hm-sheet { border: 0; width: 100%; max-width: 100%; max-height: 82dvh; margin: auto 0 0; padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fcf8f4; color: var(--ink); font-family: var(--sans); }
  .hm-sheet::backdrop { background: rgba(27, 21, 20, .5); }
  .hm-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
  .hm-sheet-head h2 { font-family: var(--serif-display); font-size: 1.4rem; font-weight: 800; }
  .hm-sheet-head button { width: 44px; height: 44px; border-radius: 50%; background: rgba(27, 21, 20, .06); font-size: 1.4rem; line-height: 1; }
  .hm-new { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hair); }
  .hm-new img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
  .hm-new small { display: block; font-size: 12px; font-weight: 600; color: var(--kumkum); }
  .hm-new b { display: block; font-family: var(--serif-display); font-size: 1.02rem; line-height: 1.25; }
  .hm-push { width: 100%; height: 50px; margin-top: 16px; border-radius: 999px; background: var(--kumkum); color: #fff; font-size: .94rem; font-weight: 600; }
  #hmPriceList > div { display: grid; grid-template-columns: 1fr auto 74px; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: .98rem; font-variant-numeric: tabular-nums; }
  #hmPriceList small { font-size: 12px; font-weight: 400; color: var(--muted); }
  #hmPriceList .mk-chg { text-align: right; font-size: .84rem; }
  .hm-fine { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--muted); }
  .hm-fine a { text-decoration: underline; }
  .drawer-quick { display: grid; gap: 8px; margin-top: 12px; }
  .drawer-quick button { min-height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--hair); font-family: var(--sans); font-size: .9rem; font-weight: 500; text-align: left; }
}
@media (max-width: 820px) { body.locked .gs-install { display: none; } }   /* never over a menu, story or recipe */
@media (max-width: 374px) { .hm-tiles { margin: 0 -14px; } .hm-tiles i { width: 56px; height: 56px; } .hm-text p { -webkit-line-clamp: 3; } }

/* =========================================================
   Phone Wellness Desk
   ========================================================= */
.wd-art, .wd-leaf, .wd-ic, .wd-go, .wd-more { display: none; }
@media (max-width: 820px) {
  html.m-shell[data-app-screen="wellness"] body { background: linear-gradient(180deg, #fdf8f5, #fdf1ef 420px, #fdf6f3); }
  .appbar .icon-btn[data-action="menu"] { color: #9e1b32; }
  html.m-shell .desk { padding: 12px 0 28px; background: none; border: 0; }
  html.m-shell .desk-head { position: relative; display: block; border: 0; padding: 0; margin: 0 0 16px; }
  .desk-head > div { position: relative; z-index: 1; min-height: 150px; padding: 10px 0 0; }
  .desk-head .kicker { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; letter-spacing: .03em; text-transform: none; color: #b01f45; }
  .wd-leaf { display: block; flex: none; }
  html.m-shell .desk-head h2 { max-width: 64%; margin-top: 8px; font-size: clamp(1.75rem, 8vw, 2.15rem); line-height: 1.08; text-transform: capitalize; }
  .desk-head h2 em { white-space: nowrap; }
  .desk-deck { max-width: 60%; margin-top: 8px; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
  .wd-art { display: block; position: absolute; z-index: 0; right: -10px; top: 0; width: 46%; max-width: 190px; height: auto; }
  html.m-shell .desk-privacy { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 13px 18px; border: 1px solid #f8d9db; border-radius: 22px; background: #fdebec; font-family: var(--sans); font-size: .82rem; line-height: 1.45; color: #3d2a28; }
  .desk-privacy svg { width: 24px; height: 24px; margin: 0; color: #a5163a; }

  /* tiles */
  html.m-shell .desk-shell { display: block; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  html.m-shell .desk-nav { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border: 0; background: none !important; transform: none; }
  html.m-shell .desk-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 88px; padding: 10px 2px; border: 0 !important; border-radius: 18px; background: #fff7f5; color: var(--ink); text-align: center; box-shadow: 0 1px 2px rgba(120, 20, 45, .06), 0 8px 18px -12px rgba(120, 20, 45, .3); }
  .desk-nav [role="tab"]::before { display: none; }
  .desk-nav .dn-icon, .desk-nav [aria-selected="true"] .dn-icon { display: grid; place-items: center; width: 30px; height: 30px; background: none; color: #a5163a; transform: none; }
  .desk-nav .dn-icon svg { width: 28px; height: 28px; }
  .desk-nav .dn-text b { font-size: 12px; font-weight: 500; letter-spacing: -.015em; white-space: nowrap; }
  html.m-shell .desk-nav [aria-selected="true"] { background: linear-gradient(160deg, #b51d3c, #8f1230); color: #fff; box-shadow: 0 12px 20px -12px rgba(143, 18, 48, .8); }
  .desk-nav [aria-selected="true"] .dn-icon { color: #fff; }

  /* form card */
  .panel { display: block; }
  .panel[hidden] { display: none; }
  .panel-form { margin-top: 16px; padding: 18px 18px 20px; border: 0; border-radius: 26px; background: #fff; box-shadow: 0 1px 2px rgba(120, 20, 45, .05), 0 16px 34px -22px rgba(120, 20, 45, .35); gap: 18px; }
  .panel-form h3 { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; font-weight: 800; }
  .wd-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: #fde4e6; color: #a5163a; }
  .panel-deck { margin-top: -8px; font-family: var(--sans); font-size: .86rem; font-style: normal; line-height: 1.5; color: var(--ink-2); }
  .field-label { font-size: .76rem; letter-spacing: .08em; }
  .field input[type="date"], .mini input { min-height: 54px; border-radius: 16px; border: 1.500px solid #f4d5d7; background-color: #fff5f4; font-family: var(--sans); font-size: 1rem; }
  .field input[type="date"] { padding-left: 52px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e1b32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 16px 50%; background-size: 23px; }
  .stepper { grid-template-columns: 58px minmax(0, 1.120fr) minmax(0, 1fr) 58px; border: 1.500px solid #f4d5d7; border-radius: 16px; background: #fff5f4; overflow: hidden; }
  .stepper button { height: 54px; font-size: 1.6rem; font-weight: 400; color: #b01f45; }
  .stepper input { min-height: 52px; border-radius: 0; font-size: 1.5rem; padding-right: 8px; background: none !important; }
  .stepper .unit { font-size: .92rem; }
  .hint { position: relative; padding-left: 26px; font-size: .78rem; }
  .hint::before { content: "i"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.400px solid currentColor; font: 600 11px/1 var(--sans); }
  .seg { padding: 4px; gap: 4px; border: 1.500px solid #f4d5d7; border-radius: 16px; background: #fff5f4; }
  .seg button { min-height: 44px; border: 0 !important; border-radius: 12px; font-size: .86rem; }
  .seg button[aria-checked="true"] { background: #a5163a; color: #fff; }
  .toggle span { min-height: 44px; border: 1.500px solid #f4d5d7; border-radius: 999px; background: #fff5f4; font-size: .86rem; }
  .toggle input:checked + span { background: #fde4e6; border-color: #a5163a; color: #8f1230; }
  .wd-go { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 54px; margin-top: 4px; border-radius: 999px; background: linear-gradient(160deg, #b51d3c, #8f1230); color: #fff; font-family: var(--sans); font-size: .98rem; font-weight: 600; }
  .wd-go:active { transform: scale(.985); }

  /* result */
  .panel-result { margin-top: 16px; padding: 0; background: none; scroll-margin-top: calc(var(--appbar-h) + 12px); }
  .panel-result .empty-state { position: relative; overflow: hidden; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; justify-content: stretch; min-height: 0; height: auto; padding: 18px; border: 1px solid #f8d9db; border-radius: 24px; background: #fdebec; text-align: left; }
  .panel-result .empty-state::after { content: ""; position: absolute; right: -34px; top: -50px; width: 120px; height: 120px; border-radius: 50%; background: rgba(240, 160, 170, .22); }
  .panel-result .es-icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; background: #fbd5d9; color: #a5163a; font-size: 1.4rem; }
  .panel-result .es-icon svg { width: 24px; height: 24px; }
  .panel-result .es-title { align-self: end; font-size: 1.08rem; line-height: 1.25; }
  .panel-result .es-text { align-self: start; max-width: none; font-family: var(--sans); font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
  .res-hero { border-radius: 24px; margin-bottom: 12px; }
  .cycle-hero, .bmi-hero.over, .bmi-hero.obese { border-radius: 24px; }
  .cycle-hero { background: linear-gradient(150deg, #b51d3c, #8f1230); }
  .pill { border-radius: 999px; }
  .stat { border: 0; border-radius: 18px; padding: 14px; box-shadow: 0 8px 20px -14px rgba(120, 20, 45, .35); }
  .cal { border: 0; border-radius: 22px; padding: 16px 12px 14px; box-shadow: 0 12px 28px -20px rgba(120, 20, 45, .4); }
  .cal-nav { width: 44px; height: 44px; border-radius: 50%; border-color: #f4d5d7; }
  .cal-d { border-radius: 12px; }
  .res-tip { border: 0; border-radius: 18px; background: #eef3e8; }
  .res-note.warn { border-radius: 14px; }
  .desk .fineprint { margin-top: 18px; padding: 0 4px; text-align: center; }

  /* more-tools sheet */
  .wd-row { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 14px; width: 100%; padding: 12px 0; text-align: left; border-bottom: 1px solid var(--hair); }
  .wd-row i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #fde4e6; color: #a5163a; }
  .wd-row b { display: block; font-size: 1rem; font-weight: 600; }
  .wd-row small { font-size: .82rem; color: var(--muted); }
}
@media (max-width: 820px) { html.m-shell .wd-more { font: inherit; } }

/* ===== Dock: light bar, the open tab is a kumkum pill ===== */
@media (max-width: 820px) {
  .tabbar { background: #fffaf7 !important; border: 1px solid #f3e1dc !important; border-radius: 28px; box-shadow: 0 14px 34px -14px rgba(110, 20, 40, .34), 0 2px 8px rgba(110, 20, 40, .08); }
  .tabbar .tab { color: #2a1b18 !important; }
  .tabbar .tab.active { background: linear-gradient(160deg, #b51d3c, #8f1230); color: #fff !important; border-radius: 22px; }
  .tabbar .tab:not(.active):hover { color: #9e1b32 !important; }
  html[data-app-screen="shorts"] .tabbar { background: #fffaf7 !important; border-color: #f3e1dc !important; }
}
@media (max-width: 820px) {
  html.m-shell .desk-nav { grid-template-columns: 1.12fr repeat(3, minmax(0, 1fr)); gap: 7px; margin-inline: -4px; }
  .desk-deck { max-width: 55%; }
  .wd-art { width: 43%; }
  .panel-result .empty-state::after { z-index: 0; }
  .panel-result .empty-state > * { position: relative; z-index: 1; }
}
@media (max-width: 374px) { .desk-nav .dn-text b { white-space: normal; display: block; max-width: 62px; line-height: 1.2; } }

/* =========================================================
   Phone Wellness: Dadi Maa ka Nuskha (same look as the Wellness Desk)
   ========================================================= */
.nk-art { display: none; }
@media (max-width: 820px) {
  .toast { border-radius: 16px; text-align: center; }
  html.m-shell[data-app-screen="wellness"] .appbar { background-color: #fdf8f5 !important; }
  .nkpage { --hand: "Kalam", "Tiro Devanagari Hindi", cursive; --leaf: #2f4a2b; --leaf-2: #3e5b3a; --leaf-soft: #e8efe2; --parch: #f7f0e1; --parch-2: #fbf6ec; --gold: #c8902e; --gold-soft: #fbefd6; --nk-line: transparent; }
  html.m-shell .nk { padding: 14px 0 28px; background: none; border: 0; overflow: visible; }
  .nk .kicker { font-family: var(--sans); font-size: .84rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: #b01f45; }
  .nk .kicker .deva { font-size: .92em; }

  /* heading */
  .nk-head { position: relative; min-height: 168px; margin: 0 0 18px; text-align: left; }
  .nk-head .kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 62%; line-height: 1.3; }
  .nk-head .kicker .wd-leaf { margin-right: 0; }
  .nk-head h2 { max-width: 62%; margin: 8px 0 4px; font-size: clamp(1.75rem, 8vw, 2.15rem); line-height: 1.06; font-weight: 900; }
  .nk-hi { max-width: 60%; font-family: var(--deva); font-size: 1rem; line-height: 1.45; color: #a5163a; }
  .nk-intro { max-width: none; margin: 12px 0 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
  .nk-art { display: block; position: absolute; right: -10px; top: 0; width: 42%; max-width: 180px; height: auto; }

  /* remedy card */
  .nk-feature { display: block; border: 0; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(120, 20, 45, .05), 0 16px 34px -22px rgba(120, 20, 45, .35); }
  .nkf-left { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; row-gap: 0; padding: 18px 18px 16px; color: var(--ink); background: linear-gradient(180deg, #fdebec, #fff 250px); }
  .nkf-left > * { grid-column: 1 / -1; }
  .nkf-top { margin-bottom: 14px; }
  .nkf-label { padding: 6px 12px; border-radius: 999px; background: #a5163a; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .nk-tag { padding: 6px 12px; border: 0; background: #fff; color: #8f1230; font-size: 12px; }
  .nkf-left > .nkf-icon { grid-column: 1; grid-row: 2 / span 2; width: 64px; height: 64px; margin: 0; border-radius: 20px; font-size: 2.1rem; background: #fff; box-shadow: 0 8px 18px -12px rgba(120, 20, 45, .5); }
  .nkf-left > .nkf-name { grid-column: 2; grid-row: 2; align-self: end; font-size: 1.28rem; line-height: 1.18; }
  .nkf-left > .nkf-hi { grid-column: 2; grid-row: 3; align-self: start; font-family: var(--deva); font-weight: 400; font-size: 1.05rem; line-height: 1.5; color: #a5163a; }
  .nkf-for { margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
  .nkf-for span { font-size: .88rem; letter-spacing: 0; text-transform: none; color: #8f1230; margin-right: 6px; }
  .nkf-meta { display: flex; gap: 8px; margin: 14px 0 0; }
  .nkf-meta div { flex: 1 1 0; min-width: 0; padding: 10px 11px; border: 0; border-radius: 14px; background: #fff3f2; }
  .nkf-meta dt { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
  .nkf-meta dt span { display: none; }
  .nkf-meta dd { margin-top: 1px; font-size: .84rem; font-weight: 600; line-height: 1.3; }
  .nkf-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .nkf-btn { flex-direction: column; justify-content: center; gap: 4px; height: 62px; padding: 0; border: 1.500px solid #f4d5d7; border-radius: 16px; background: #fff; color: #8f1230; font-size: 12px; font-weight: 500; }
  .nkf-btn:hover { background: #fff5f4; }
  .nkf-btn.on { background: #a5163a; border-color: #a5163a; color: #fff; }
  .nkf-btn.wa { background: #e9f7ee; border-color: #bfe6cd; color: #0d6f3a; }
  .nkf-nav { margin-top: 12px; padding: 6px; border-radius: 999px; background: #fff3f2; color: var(--muted); letter-spacing: 0; }
  .nkf-nav b { color: var(--ink); }
  .nkf-arrow { width: 44px; height: 44px; border: 0; background: #fff; color: #a5163a; box-shadow: 0 4px 10px -6px rgba(120, 20, 45, .5); }
  .nkf-random { min-height: 44px; margin: 0 12px 0 auto; padding: 0; border: 0; color: #a5163a; font-size: .84rem; }
  .nkf-page { padding: 6px 18px 20px; gap: 16px; background: #fff; }
  .nkf-h { align-items: baseline; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--ink); margin-bottom: 4px; }
  .nkf-h small { font-family: var(--sans); font-size: .8rem; }
  .nkf-need label { align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; border-bottom: 1px solid #f6e4e3; font-family: var(--sans); font-size: .94rem; line-height: 1.4; }
  .nkf-need input { width: 24px; height: 24px; margin: 0; border: 1.500px solid #e0b3b8; border-radius: 8px; }
  .nkf-need input:checked { background: #a5163a; border-color: #a5163a; }
  .nkf-steps { gap: 12px; margin-top: 6px; }
  .nkf-steps li { padding: 5px 0 0 46px; font-family: var(--sans); font-size: .94rem; line-height: 1.55; min-height: 34px; }
  .nkf-steps li::before { top: 0; width: 34px; height: 34px; background: #fde4e6; color: #8f1230; font-size: .88rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
  .nkf-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: -8px; width: 2px; background: #fbe4e5; }
  .nkf-why, .nkf-care { border: 0; border-radius: 18px; padding: 15px 16px; font-family: var(--sans); font-size: .9rem; transform: none; box-shadow: none; }
  .nkf-why b, .nkf-care b { font-size: .88rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .nkf-why { background: #eef3e8; } .nkf-care { background: #fff1d3; }

  /* blocks */
  html.m-shell .nk-block, html.m-shell .nk-doctor { margin-top: 34px; }
  .nk-block-head, #nkLibrary .nk-block-head { display: block; margin-bottom: 14px; padding: 0; border: 0; }
  .nk-block-head h3 { margin-top: 2px; font-size: 1.42rem; font-weight: 800; line-height: 1.18; text-wrap: balance; }
  .nk-block-note { max-width: none; margin-top: 4px; font-family: var(--sans); font-style: normal; font-size: .86rem; line-height: 1.5; }
  #nkLibrary { scroll-margin-top: calc(var(--appbar-h) + 10px); }
  .nk-search { width: 100%; height: 54px; margin-top: 12px; border: 1.500px solid #f4d5d7; border-radius: 18px; background: #fff; }
  .nk-search:focus-within { border-color: #a5163a; box-shadow: 0 0 0 3px rgba(165, 22, 58, .1); }
  .nk-search input { font-size: 16px; -webkit-appearance: none; appearance: none; }
  .nk-chips { gap: 8px; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 2px var(--gutter) 4px; }
  .nk-chip { height: 44px; padding: 0 16px; border: 1px solid #f4dcdb; background: #fff; font-size: .86rem; font-weight: 500; color: var(--ink); }
  .nk-chip.on { background: linear-gradient(160deg, #b51d3c, #8f1230); border-color: transparent; }
  .nk-list { display: grid; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; }
  .nk-row { gap: 14px; padding: 12px 6px 12px 12px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(120, 20, 45, .05), 0 10px 22px -18px rgba(120, 20, 45, .4); }
  .nk-row:hover, .nk-row.current { background: #fff; }
  .nk-row:active { background: #fff3f2; }
  .nk-row-icon { width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem; background: #fdebec; }
  .nk-row-title { display: block; white-space: normal; }
  .nk-row-title b { display: block; font-size: 1.02rem; line-height: 1.25; white-space: normal; }
  .nk-row-hi { display: block; font-family: var(--deva); font-size: .9rem; line-height: 1.45; color: #a5163a; }
  .nk-row-sub { margin-top: 2px; font-size: .8rem; white-space: normal; line-height: 1.35; }
  .nk-row-cat { display: none; }
  .nk-row .nk-heart { width: 44px; height: 44px; color: #b99aa0; }
  .nk-row .nk-heart.on { color: #a5163a; }
  .nk-row .nk-heart svg { width: 19px; height: 19px; }
  .nk-more .btn { width: 100%; height: 52px; border: 1.500px solid #a5163a; border-radius: 999px; color: #8f1230; background: none; font-size: .94rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .nk-empty { border: 0; border-radius: 22px; background: #fdebec; }

  /* kitchen staples */
  .nk-pantry { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 18px; scrollbar-width: none; }
  .nk-spice { scroll-snap-align: start; gap: 8px; padding: 16px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(120, 20, 45, .05), 0 12px 26px -20px rgba(120, 20, 45, .45); }
  .nk-spice-icon { border: 0; border-radius: 16px; background: #fdebec; }
  .nk-spice-hi { font-family: var(--deva); font-size: 1.02rem; line-height: 1.4; color: #a5163a; }
  .nk-spice-use { font-size: .88rem; font-weight: 500; }
  .nk-spice-use b { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #8f1230; }
  .nk-spice-tip { font-family: var(--sans); font-size: .86rem; }
  .nk-spice-care { border-radius: 12px; font-size: .8rem; background: #fff1d3; color: #6b4a08; }
  .nk-spice-link { min-height: 44px; border: 0; padding: 0; color: #a5163a; font-size: .88rem; }

  /* seasons: the season of now comes first */
  .nk-seasons { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 14px var(--gutter) 18px; scrollbar-width: none; }
  .nk-season { scroll-snap-align: start; padding: 18px; border: 0; border-radius: 22px; box-shadow: 0 1px 2px rgba(120, 20, 45, .05), 0 12px 26px -20px rgba(120, 20, 45, .45); }
  .nk-season.now { order: -1; transform: none; background: linear-gradient(160deg, #b51d3c, #8f1230); }
  .nk-now { font-size: 12px; letter-spacing: 0; text-transform: none; background: #e8b23e; color: #2a1712; }
  .nk-season-hi { font-family: var(--deva); font-size: 1.02rem; line-height: 1.4; color: #a5163a; }
  .nk-season.now .nk-season-hi, .nk-season.now .nk-season-label, .nk-season.now li::before { color: #f9dcae; }
  .nk-season-label { font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #8f1230; }
  .nk-season li, .nk-season-easy { font-family: var(--sans); font-size: .88rem; font-style: normal; }
  .nk-season li::before { color: #a5163a; }
  .nk-season.now .nk-season-easy, .nk-season.now .nk-season-en { color: rgba(255, 255, 255, .9); }

  /* doctor */
  .nk-doctor { padding: 20px 18px; border: 1px solid #f8d9db; border-radius: 26px; background: #fdebec; box-shadow: none; }
  .nk-doctor-head { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; align-items: center; margin-bottom: 14px; }
  .nk-doctor-head > div { display: contents; }
  .nk-doctor-ic { width: 52px; height: 52px; background: #fff; }
  .nk-doctor h3 { font-size: 1.22rem; }
  .nk-doctor-head p { grid-column: 1 / -1; margin-top: 8px; font-family: var(--sans); font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
  .nk-flags { gap: 0; padding: 2px 16px; border-radius: 20px; background: #fff; }
  .nk-flags li { align-items: center; padding: 13px 0; border-radius: 0; background: none; font-size: .9rem; }
  .nk-flags li + li { border-top: 1px solid #f8e4e4; }
  .nk-flags li span { flex: none; width: 24px; text-align: center; }
  .nk-fine { margin-top: 14px; padding-top: 0; border: 0; font-size: .8rem; }

  /* remedy page */
  .nkpage { font-family: var(--sans); background: linear-gradient(180deg, #fdf8f5, #fdf1ef); }
  .nkpage .kk-bar { background: #fdf8f5; }
  .nkpage .kk-bar h2 { font-family: var(--serif-display); font-weight: 800; }
  .nkpage button { font-family: var(--sans); }
  .nkv-body { padding: 8px 16px calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); }
  .nkpage .nkf-random { display: none; }
  .nkpage .nkf-nav { justify-content: space-between; }
}
@media (max-width: 820px) {
  .nk-ks { display: none; }
  .nk .nk-season.now { padding-top: 24px; box-shadow: 0 16px 28px -18px rgba(143, 18, 48, .7); }
  .nkf-nav span, .nkf-random { white-space: nowrap; }
  .nkf-btn { letter-spacing: -.02em; }
}
@media (max-width: 374px) { .nkf-nav { gap: 8px; } .nkf-random { margin-right: 6px; font-size: .78rem; } }

/* =========================================================
   Phones: the Wellness theme on the other pages (Home keeps its own look)
   blush page · white rounded cards · pink fields · kumkum buttons · Playfair headings
   ========================================================= */
.th-art, .kicker > .wd-leaf { display: none; }
@media (max-width: 820px) {
  :root { --kg: linear-gradient(160deg, #b51d3c, #8f1230); --blush: linear-gradient(180deg, #fdf8f5, #fdf1ef 420px, #fdf6f3); --pk: #fdebec; --pk2: #fff5f4; --pkl: #f4d5d7; --km: #a5163a; --soft-sh: 0 1px 2px rgba(120, 20, 45, .05), 0 14px 30px -22px rgba(120, 20, 45, .4); }
  .kicker > .wd-leaf { display: block; }
  .th-art { display: block; position: absolute; z-index: 0; right: -10px; top: 0; width: 42%; max-width: 180px; height: auto; }
  html.m-shell[data-app-screen="magazine"] body, html.m-shell[data-app-screen="rasoi"] body { background: var(--blush); }
  html.m-shell[data-app-screen="magazine"] .appbar, html.m-shell[data-app-screen="rasoi"] .appbar { background-color: #fdf8f5 !important; }
  .cv-bar, .cv-chips, .sp-top, .reader-bar, .ra-dock { background-color: #fdf8f5 !important; }

  /* ---- Magazine ---- */
  html.m-shell .emag, html.m-shell .letter, html.m-shell .clients { background: none; border: 0; }
  html.m-shell .emag { padding: 12px 0 8px; }
  .emag .kicker, .letter .kicker, .clients .kicker { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: .86rem; font-weight: 600; letter-spacing: .03em; text-transform: none; color: #b01f45; }
  html.m-shell .emag .sec-head { position: relative; display: block; min-height: 148px; margin: 0 0 12px; padding: 10px 0 0; border: 0; }
  html.m-shell .emag .sec-head > *:not(.th-art) { position: relative; z-index: 1; max-width: 60%; }
  html.m-shell .emag .sec-head h2 { margin-top: 8px; font-size: clamp(1.75rem, 8vw, 2.15rem); font-weight: 900; line-height: 1.08; }
  .emag .sec-head > .deva { display: block; margin: 0; font-size: 1.08rem; line-height: 1.5; color: var(--km); }
  html.m-shell .emag .sec-head .sec-deck { display: block; margin-top: 6px; font-size: .9rem; font-style: italic; line-height: 1.4; color: var(--ink-2); }
  .emag-bar { gap: 12px; margin-bottom: 14px; padding: 16px; border-radius: 24px; background: #fff; box-shadow: var(--soft-sh); }
  .emag-now { font-size: .95rem; }
  .emag-pick { font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--ink-2); }
  .emag-pick select { min-height: 54px; padding-left: 16px; border: 1.500px solid var(--pkl); border-radius: 16px; background-color: var(--pk2); font-size: 1rem; }
  .emag-stage { padding: 14px 8px; border-radius: 26px; background: #fff; box-shadow: var(--soft-sh); }
  .emag-loading { color: var(--ink); background: #fffaf8; }
  .emag-loading.error { color: #8f1230; }
  .emag-spinner { border-color: #f6dcdc; border-top-color: var(--km); }
  .emag-progress { background: #f6dcdc; } .emag-progress span { background: var(--km); }
  .emag-controls { gap: 10px; margin-top: 14px; }
  .emag-btn { width: 50px; height: 50px; border: 0; color: var(--km); box-shadow: var(--soft-sh); }
  .emag-btn[data-emag="next"] { background: var(--kg); color: #fff; }
  .emag-keys { display: none; }
  html.m-shell .letter { padding: 24px 0 0; }
  .letter-inner { gap: 14px; }
  .letter-head h2 { margin-top: 4px; font-size: 1.6rem; font-weight: 800; }
  .letter-body { padding: 20px 18px; border-radius: 26px; background: #fff; box-shadow: var(--soft-sh); }
  .letter-body p { font-size: 1.02rem; line-height: 1.65; }
  .letter-body p:last-child { margin-bottom: 0; }
  .letter-pillars { gap: 10px; margin: 0; }
  .letter-pillars div { padding: 14px 16px; border: 0; border-radius: 20px; background: var(--pk); }
  .letter-pillars .num { color: var(--km); }
  html.m-shell .clients { padding: 30px 0 12px; }
  .cl-head { margin-bottom: 18px; text-align: left; }
  .cl-head h2 { margin: 6px 0; font-size: 1.6rem; font-weight: 800; }
  .cl-sub { font-size: .94rem; line-height: 1.5; }
  .cl-tile { border: 0; border-radius: 18px; box-shadow: var(--soft-sh); }
  .cl-next { border: 1.500px dashed var(--km); background: var(--pk); }
  .cl-cta { padding: 24px 20px; border-radius: 26px; background: var(--kg); box-shadow: 0 18px 30px -20px rgba(143, 18, 48, .8); }
  .cl-cta-kicker { letter-spacing: 0; text-transform: none; font-size: .82rem; font-weight: 600; }
  .cl-register { min-height: 54px; border: 0; border-radius: 999px; background: #fff; color: #8f1230; font-size: .96rem; letter-spacing: 0; text-transform: none; }

  /* ---- Rasoi ---- */
  .dhaba, .dhpage, .dhf { --line: #f6e0df; --gold: #e8b23e; --soft: #fdebec; --ui: var(--sans); }
  html.m-shell .dhaba, .dhaba { background: none; }
  .dhm { padding-top: 12px; }
  .dhm-top { position: relative; display: block; min-height: 142px; padding-top: 10px; }
  .dhm-top > *:not(.th-art) { position: relative; z-index: 1; max-width: 60%; }
  .dhm-top .kicker { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: .86rem; font-weight: 600; letter-spacing: .03em; text-transform: none; color: #b01f45; }
  .dhm-name { margin-top: 6px; font-family: "Poppins", var(--deva); font-size: clamp(1.6rem, 7.400vw, 1.95rem); line-height: 1.3; white-space: nowrap; }
  .dhm-sub { font-family: var(--serif-text); font-style: italic; font-size: .94rem; color: var(--ink-2); }
  .dhm-find { display: flex; align-items: center; gap: 10px; margin: 14px 0 18px; }
  .dhm-search { flex: 1; min-width: 0; margin: 0; border: 1.500px solid var(--pkl); border-radius: 18px; background: #fff; }
  .dhm-round { width: 54px; height: 54px; border: 1.500px solid var(--pkl); border-radius: 18px; color: var(--km); }
  .dhm-round[aria-pressed="true"], .dhm-search button.on { background: var(--kg); border-color: transparent; }
  .dhm-banner { border-radius: 26px; background: #6f0f26; }
  .dhm-banner::before { background: linear-gradient(90deg, #7f1230 30%, rgba(127, 18, 48, .6) 58%, rgba(127, 18, 48, 0) 80%), linear-gradient(0deg, #7f1230 8%, rgba(127, 18, 48, 0) 45%); }
  .dhm-badge { background: rgba(255, 255, 255, .18); }
  .dhm-banner h3, .dhm-head h3, .dh-tips h3, .dv-title h2, .kk-bar h2, .dhf-head h2 { font-family: var(--serif-display); font-weight: 800; letter-spacing: -.01em; }
  .dhm-banner h3 { font-size: 1.36rem; } .dhm-head h3, .dh-tips h3 { font-size: 1.4rem; } .dv-title h2 { font-size: 1.7rem; }
  .dhm-banner button { background: #fff; color: #8f1230; }
  .dhm-cats { gap: 8px; margin: 18px 0 0; }
  .dhm-cats button { gap: 6px; min-height: 88px; align-content: center; border-radius: 18px; background: #fff; box-shadow: var(--soft-sh); }
  .dhm-cats button > span { width: 34px !important; height: 34px !important; background: none !important; color: var(--km) !important; }
  .dhm-cats button[aria-pressed="true"] { background: var(--kg); color: #fff; font-weight: 600; }
  .dhm-cats button[aria-pressed="true"] > span { color: #fff !important; }
  .dhm-types button[aria-pressed="true"] { background: var(--kg); border-color: transparent; box-shadow: none; color: #fff; }
  .dhm-card { border-radius: 24px; box-shadow: var(--soft-sh); }
  .dhm-hi, .dv-hi { font-family: var(--deva); color: var(--km); }
  .dhm-hi { font-size: .9rem; }
  .dhm-tag { background: var(--kg); color: #fff; }
  .dh-tips h3, .dh-kicker, .dh-kicker span { font-family: var(--serif-display); }
  .dh-kicker, .dh-kicker span { font-family: var(--sans); font-size: .86rem; color: #b01f45; }
  .dh-tipcard { border: 0; border-radius: 22px; box-shadow: var(--soft-sh); }
  .dh-tipcard-no { background: var(--pk); color: #8f1230; }
  .dhpage { background: linear-gradient(180deg, #fdf8f5, #fdf1ef); }
  .dv-sheet { background: #fdf6f4; }
  .dv-bar.solid, .kk-bar, .dv-cta { background: #fdf6f4; }
  .dv-facts div, .dv-steps button > span:last-child, .dv-ing, .kk-row, .kk-box { border: 0; box-shadow: var(--soft-sh); }
  .dv-facts div { border-radius: 18px; }
  .dv-tiles button { background: #fff; box-shadow: var(--soft-sh); }
  .dv-tiles { padding-bottom: 16px; }
  .dv-thumb { background: var(--pk2); color: #d48b98; }
  .dv-serves button { border-color: var(--pkl); color: var(--km); }
  .dv-no, .ck-no { background: #fde4e6; color: #8f1230; }
  .dv-steps li:not(:last-child)::before { background: #fbe0e2; }
  .dv-tip { background: #fff1d3; }
  .dv-cta button:not(.alt) { background: var(--kg); }
  .ck-track i.now { background: #e79aa3; } .ck-track i.on { background: var(--km); }
  .kk-hello p { background: var(--pk); }
  .kk-box input { border: 1.500px solid var(--pkl); border-radius: 16px; background: var(--pk2); }
  .kk-btns button.main { background: var(--kg); border-color: transparent; color: #fff; }
  .kk-btns button { border-color: var(--pkl); }
  .dhf, .hm-sheet { background: #fdf8f5; }
  .dhf-row button { border-color: var(--pkl); }
  .dhf-row button[aria-pressed="true"], .dhf-acts .main { background: var(--kg); border-color: transparent; }

  /* ---- section page, story, search, menu ---- */
  .catview, .reader, .search, .search-panel { background: linear-gradient(180deg, #fdf8f5, #fdf1ef); }
  .cv-head, .cv-headfix, .cv-chips { background-color: #fdf8f5 !important; }
  .cv-kicker, .cv-hero .kicker { font-size: .86rem; font-weight: 600; letter-spacing: .03em; text-transform: none; color: #b01f45; }
  .cv-hero h1 .deva { color: var(--km); }
  .cv-count { background: var(--pk); color: #8f1230; }
  .cv-chips button { min-height: 42px; border-color: var(--pkl); }
  .cv-chips .on { background: var(--kg) !important; border-color: transparent !important; }
  .cv-feature, .cv-row, .cv-list > * { border: 0; border-radius: 24px; box-shadow: var(--soft-sh); }
  .cv-pager .on { background: var(--kg); }
  .cv-icon { background: #fff; box-shadow: 0 2px 10px rgba(120, 20, 45, .12); }
  .ra-head, .ra-head::before { background-color: #fdf6f4; }
  .ra-head > .kicker { background: var(--pk); color: #8f1230; font-size: .8rem; letter-spacing: 0; text-transform: none; }
  .ra-avatar { background: var(--kg) !important; }
  .reader-note { border: 0; border-radius: 18px; background: #fff1d3; color: #5c4210; }
  .reader-note::before { background: #8a6414; }
  .share-block { border: 0; border-radius: 24px; background: #fff; box-shadow: var(--soft-sh); }
  .ra-dock-next { background: var(--kg); }
  .ra-dock-next small { color: #f9dcae; letter-spacing: 0; text-transform: none; }
  .search-bar { margin-top: 8px; padding: 0 14px; border: 1.500px solid var(--pkl); border-radius: 18px; background: #fff; top: 8px; }
  .search-bar input { min-height: 52px; font-family: var(--sans); font-style: normal; font-size: 16px; }
  .search-bar input::placeholder { font-style: normal; }
  .search-cancel { font-size: .88rem; letter-spacing: 0; text-transform: none; color: var(--km); }
  .search .chip { min-height: 42px; border-color: var(--pkl); }
  .search-results { gap: 10px; }
  html.m-shell .search-results .row { display: grid; grid-template-columns: minmax(0, 1fr) 92px; align-items: center; gap: 12px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: var(--soft-sh); }
  html.m-shell .search-results .row .img-frame { order: 1; width: 92px; height: 92px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
  html.m-shell .search-results .row > div:not(.img-frame) { padding: 0 0 0 4px; }
  .search-results .kicker { letter-spacing: 0; text-transform: none; font-size: .78rem; }
  .drawer-panel { background: linear-gradient(180deg, #fdf8f5, #fdf1ef); }
  .drawer-head { border-bottom: 1px solid var(--pkl); }
  .drawer-cats a, .drawer-links a { border-bottom-color: #f6e0df; }
  .drawer-cats .hi { color: var(--km); }
  .drawer-label { font-size: .84rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: #b01f45; }
  .drawer-quick button { border: 0; border-radius: 16px; box-shadow: var(--soft-sh); }
  .drawer .helplines { background: var(--pk); border-radius: 24px; }
  .drawer .help-urgent a { background: var(--kg); }
  .drawer .helplines .footer-label, .drawer .footer-label { letter-spacing: .02em !important; text-transform: none; font-size: .84rem; color: #b01f45 !important; }

  /* ---- server-made pages (shared stories, recipes, remedies, sections, app) ---- */
  body.story-page { background: var(--blush); }
  .sp-top { position: sticky; top: 0; z-index: 60; }
  .sp-home { background: var(--pk) !important; color: #8f1230 !important; }
  .menu-btn { color: #9e1b32; }
  .gp-card, .gp-more a, .app-how { border: 0; border-radius: 22px; box-shadow: var(--soft-sh); }
  .gp-cats a { border-color: var(--pkl); min-height: 42px; display: inline-flex; align-items: center; }
  .app-btn, .sp-cta-btn { background: var(--kg) !important; }
}
@media (max-width: 820px) { body.story-page, .reader { background: #fdf6f4; } }

/* Shorts page while there are no videos yet: the light theme */
@media (max-width: 820px) {
  html:not(.has-shorts)[data-app-screen="shorts"] body, html:not(.has-shorts)[data-app-screen="shorts"] .shorts, html:not(.has-shorts)[data-app-screen="shorts"] .shorts-feed { background: linear-gradient(180deg, #fdf8f5, #fdf1ef) !important; }
  html:not(.has-shorts) .shorts-feed .shorts-empty { margin: 0 16px; padding: 40px 24px; border: 0; border-radius: 26px; background: #fff; color: var(--ink-2); text-align: center; box-shadow: 0 1px 2px rgba(120, 20, 45, .05), 0 16px 34px -22px rgba(120, 20, 45, .35); }
  html:not(.has-shorts) .shorts-feed .shorts-empty b { color: var(--ink); font-family: var(--serif-display); font-size: 1.4rem; font-weight: 800; }
  html:not(.has-shorts) .shorts-feed { display: grid !important; align-content: center; padding-bottom: 90px; }
  html:not(.has-shorts) .se-ic { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 50%; background: #fdebec; color: #a5163a; }
  html:not(.has-shorts)[data-app-screen="shorts"] .appbar { background-color: #fdf8f5 !important; }
}
