/* ─────────────────────────────────────────────────────────────
   LINDATECH 前台样式 V3 · 明亮暖调
   暖白底 + 墨棕文字 + 暖橙强调；圆角卡片、大留白、轻动效
   只给前台页面用；后台仍用 main.css
   不依赖任何外部字体 / CDN，国内访问不卡
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:        #FBF8F4;
  --paper:     #FFFFFF;
  --tint:      #F4EEE6;
  --tint-2:    #F6EFE7;
  --line:      #ECE4DA;
  --line-2:    #DDD2C5;
  --ink:       #2A211C;
  --ink-2:     #5E5148;
  --ink-3:     #7A6C62;
  --accent:    #C8470D;
  --accent-dk: #A83A08;
  --accent-bg: #FDEBDD;
  --dark:      #2A211C;
  --dark-2:    #211A16;
  --on-dark:   #FBF8F4;
  --on-dark-2: #D9CEC2;
  --ok:        #1E7A46;
  --err:       #B3261E;

  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 0 18px 44px rgba(74, 46, 24, .08);
  --ff: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--ff); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── 布局 ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec { padding: 88px 0; }
.sec--tight { padding: 56px 0; }
.sec--white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--tint { background: var(--tint); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > .split__side { flex: 1 1 320px; min-width: 0; }
.split > .split__main { flex: 2 1 520px; min-width: 0; }
.stack { display: flex; flex-direction: column; }

/* ── 文字 ── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--accent-dk); }
.eyebrow--line::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.22; letter-spacing: .5px; }
.h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; line-height: 1.3; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.4; }
.lede { font-size: 18px; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.hl { color: var(--accent); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.sec-head__t { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.more { font-size: 15px; font-weight: 700; color: var(--accent-dk); padding: 10px 0; }
.more:hover { text-decoration: underline; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 26px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 700; line-height: 1.3; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); box-shadow: 0 10px 24px rgba(200, 71, 13, .24); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--lg { min-height: 54px; padding: 14px 34px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 9px 20px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ── 导航 ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 34px; object-fit: contain; }
.brand__t { display: flex; flex-direction: column; line-height: 1.25; }
.brand__zh { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.brand__en { font-size: 11px; font-weight: 700; letter-spacing: 2.4px; color: var(--ink-3); }
.nav__links { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav__link { padding: 12px 0; position: relative; color: var(--ink); }
.nav__link:hover, .nav__link.is-active { color: var(--accent-dk); }
.nav__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.lang a { padding: 10px 6px; color: var(--ink-3); }
.lang a.active { color: var(--ink); font-weight: 700; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

/* ── 首屏 ── */
.hero { padding: 72px 0 36px; }
.hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__text .lede { max-width: 520px; }
.hero__media { flex: 1 1 480px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); flex: none; }
.video-card { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--tint-2); box-shadow: var(--shadow); }
.video-card img, .video-card video { width: 100%; height: 100%; object-fit: cover; }
.play-pill { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r-pill); padding: 8px 22px 8px 8px; box-shadow: 0 10px 30px rgba(74, 46, 24, .14); text-align: left; transition: transform .2s; }
.play-pill:hover { transform: translateY(-2px); }
.play-pill__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.play-pill__ico::before { content: ""; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.play-pill__t { display: flex; flex-direction: column; line-height: 1.35; }
.play-pill__t b { font-size: 15px; }
.play-pill__t span { font-size: 12px; color: var(--ink-3); }

/* ── 数字条 ── */
.facts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; }
.fact b { font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: .5px; }
.fact b small { font-size: 24px; font-weight: 800; }
.fact > span { font-size: 15px; color: var(--ink-2); }

/* ── 卡片 ── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card--plain { border: none; }
.card--soft { background: var(--bg); border: none; }
.card p { font-size: 15px; color: var(--ink-2); }
.card__no { font-size: 15px; font-weight: 800; color: var(--accent-dk); }
.cat-card { background: var(--bg); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; transition: transform .25s, box-shadow .25s, background .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--paper); }
.cat-card img { width: 64px; height: 64px; }
.cat-card p { font-size: 15px; color: var(--ink-2); flex-grow: 1; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--accent-dk); }
.cat-card__foot em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.scene-card { background: var(--paper); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.scene-card svg { width: 44px; height: 44px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene-card p { font-size: 15px; color: var(--ink-2); }

/* 产品卡 */
.prod { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod__img { position: relative; aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .4s; }
.prod:hover .prod__img img { transform: scale(1.04); }
.prod__img--ph { background: var(--tint-2); }
.prod__img--ph img { width: 44%; height: auto; padding: 0; opacity: .9; }
.prod__badge { position: absolute; left: 14px; top: 14px; background: var(--accent-bg); color: var(--accent-dk); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: var(--r-pill); }
.prod__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.prod__pn { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--ink-3); }
.prod__name { font-size: 19px; font-weight: 700; line-height: 1.4; }
.prod__name a:hover { color: var(--accent-dk); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-2); }
.chips span { background: var(--tint); border-radius: var(--r-pill); padding: 4px 12px; }
.prod__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }

/* 流程 / 质检 */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.qc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); border-top: 2px solid var(--ink); }
.qc > div { padding: 26px 24px 8px 0; display: flex; flex-direction: column; gap: 8px; }
.qc p { font-size: 15px; color: var(--ink-2); }

/* ── 产品目录页 ── */
.page-head { padding: 64px 0 36px; }
.page-head .lede { margin-top: 14px; max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--accent-dk); }
.crumbs b { color: var(--ink); font-weight: 500; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); font-size: 15px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.tab em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab.is-active em { color: #D9CEC2; }
.search { display: flex; align-items: center; gap: 8px; flex: 0 1 340px; min-width: 240px; }
.search input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); font-size: 15px; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.resultbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px 0 22px; font-size: 14px; color: var(--ink-2); }
.resultbar b { color: var(--ink); }
.sorts { display: flex; align-items: center; gap: 4px; }
.sorts a { padding: 10px 12px; border-radius: 10px; color: var(--ink-2); }
.sorts a:hover { color: var(--ink); }
.sorts a.is-active { color: var(--accent-dk); font-weight: 700; }
.empty { background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 56px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ── 产品详情 ── */
.detail { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.detail__gallery { flex: 1 1 420px; min-width: 0; }
.detail__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.gallery__main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery__main--ph { background: var(--tint-2); }
.gallery__main--ph img { width: 42%; height: auto; padding: 0; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-bg); }
.desc { font-size: 16px; color: var(--ink-2); white-space: pre-line; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; font-weight: 500; color: var(--ink-3); padding-right: 16px; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line); }
.note { font-size: 13px; color: var(--ink-3); }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.perks div { background: var(--tint); border-radius: 16px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; }
.perks b { font-size: 16px; color: var(--ink); }

/* ── 新闻 ── */
.news-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card time { font-size: 13px; color: var(--ink-3); letter-spacing: .5px; }
.news-card p { font-size: 15px; color: var(--ink-2); flex-grow: 1; }
.news-card .more { padding: 0; }
.article { max-width: 760px; margin: 0 auto; }
.article__body { margin-top: 32px; font-size: 17px; line-height: 1.9; color: var(--ink); }
.article__body p { margin: 0 0 18px; }
.article__body h2, .article__body h3 { font-size: 22px; font-weight: 700; margin: 34px 0 12px; line-height: 1.4; }
.article__body ul, .article__body ol { margin: 0 0 18px; padding-left: 22px; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 8px; }
.article__body img { border-radius: var(--r-sm); margin: 20px 0; height: auto; }
.article__body a { color: var(--accent-dk); text-decoration: underline; }

/* ── 询盘带 / 表单 ── */
.rfq { background: var(--dark); color: var(--on-dark); }
.rfq__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 88px; padding-bottom: 88px; }
.rfq__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.rfq__text p { color: var(--on-dark-2); }
.rfq__lines { display: flex; flex-direction: column; gap: 6px; }
.rfq__lines a, .rfq__lines span { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 0; color: var(--on-dark); }
.rfq__lines b { font-size: 18px; letter-spacing: .5px; }
.rfq__lines em { font-style: normal; font-size: 14px; color: var(--on-dark-2); }
.form { background: var(--bg); color: var(--ink); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.rfq .form { flex: 1 1 420px; min-width: 0; }
.form--page { background: var(--paper); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field label i { font-style: normal; color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid #CDBFAF; background: #fff; font-size: 15px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.form__msg { display: none; font-size: 14px; border-radius: var(--r-sm); padding: 10px 14px; }
.form__msg.is-ok { display: block; background: #E6F4EC; color: var(--ok); }
.form__msg.is-err { display: block; background: #FBE9E7; color: var(--err); }
.form__hint { font-size: 13px; color: var(--ink-2); }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.side-card + .side-card { margin-top: 16px; }
.side-card small { font-size: 13px; color: var(--ink-3); }
.side-card b { font-size: 19px; }
.side-card a:hover { color: var(--accent-dk); }
.side-card span { font-size: 14px; color: var(--ink-2); }

/* ── 页脚 ── */
.footer { background: var(--dark-2); color: var(--on-dark-2); }
.footer__in { padding-top: 52px; padding-bottom: 34px; display: flex; flex-direction: column; gap: 30px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 380px; font-size: 14px; }
.footer__brand div { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 48px; height: 31px; object-fit: contain; }
.footer__brand b { font-size: 17px; color: var(--on-dark); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.footer__col { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.footer__col h4 { font-size: 14px; font-weight: 700; color: var(--on-dark); margin-bottom: 8px; }
.footer__col a, .footer__col span { padding: 6px 0; color: var(--on-dark-2); }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #3D332C; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: #B5A89B; }
.footer__bottom a:hover { color: #fff; }

/* ── 移动端底部栏 ── */
.mbar { display: none; }

/* ── 滚动淡入（没有 JS 时内容照常显示） ── */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .prod, .cat-card, .news-card, .prod__img img { transition: none; }
}

/* ── 响应式 ── */
@media (max-width: 980px) {
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 32px 16px; box-shadow: 0 20px 30px rgba(74, 46, 24, .08); }
  .nav.is-open .nav__links { display: flex; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link.is-active::after { display: none; }
  .nav__right .btn { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 60px 0; }
  .hero { padding: 40px 0 24px; }
  .hero__in { gap: 32px; }
  .page-head { padding: 40px 0 24px; }
  .rfq__in { padding-top: 60px; padding-bottom: 60px; gap: 36px; }
  .form { padding: 24px 20px; }
  .detail { gap: 32px; }
  .nav__links { padding: 8px 20px 16px; }
  .lang a { padding: 10px 4px; }
  .play-pill { left: 12px; bottom: 12px; padding: 6px 16px 6px 6px; }
  .play-pill__ico { width: 40px; height: 40px; }
  .fact b { font-size: 34px; }
  body { padding-bottom: 68px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(251, 248, 244, .96); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .mbar a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-pill); font-size: 15px; font-weight: 700; border: 1px solid var(--line-2); background: var(--paper); }
  .mbar a.is-main { background: var(--accent); border-color: var(--accent); color: #fff; }
}
