
/* ── Mobile nav overrides ── */
@media (max-width: 768px) {
  .util-bar      { display: none; }
  .nav-inner     { padding: 0 1rem; height: 60px; }
  .nav-items     { display: none; }
  .nav-hamburger { display: none; }
  .nav-cta       { display: none; }
  .nav-logo      { margin-right: 0; }
  .nav-logo .logo-text { display: flex !important; }
  .logo-name     { font-size: 1.33rem; -webkit-text-stroke: 1px var(--water-1); max-width: calc(100vw - 80px); }
  .logo-tagline  { font-size: 0.90rem; letter-spacing: 0.14em; }
  .mega-overlay  { top: 60px; }
  .mob-tabbar    { display: flex !important; }
  .mob-sheet     { display: block; }
  body           { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* ── Tab bar shell ── */
.mob-tabbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  width: 100%;
  background: #f7f4f0; border-top: 1px solid #ddd5c8;
  height: calc(58px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(0,62,81,0.12);
  box-sizing: border-box;
}
.mob-tabbar-inner { display: flex; width: 100%; height: 58px; }

/* ── Individual tab ── */
.mob-tab {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; cursor: pointer;
  border: none; background: none; padding: 0;
  border-top: 3px solid transparent;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit; user-select: none; -webkit-user-select: none;
  transition: background 0.15s, border-color 0.15s;
}
.mob-tab * { pointer-events: none; }
.mob-tab:active { background: rgba(0,62,81,0.04); }
.mob-tab-pip { width: 28px; height: 10px; border-radius: 3px; transition: opacity 0.15s; opacity: 1; }
.mob-tab-label {
  font-family: var(--f-label);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1;
  color: #6b7a6e; white-space: nowrap; transition: color 0.15s;
}
.mob-tab.active { border-top-color: var(--tab-colour); }
.mob-tab.active .mob-tab-label { color: var(--tab-colour); }

/* ── More tab ── */
.mob-tab-more .mob-tab-icon { display: flex; flex-direction: column; gap: 3px; width: 16px; }
.mob-tab-more .mob-tab-icon span { display: block; height: 2px; border-radius: 1px; background: #6b7a6e; transition: background 0.15s; }
.mob-tab-more.active .mob-tab-icon span { background: #0a1a1f; }
.mob-tab-more.active .mob-tab-label { color: #0a1a1f; }
.mob-tab-more.active { border-top-color: #0a1a1f; }

/* ── Sheet backdrop ── */
.mob-sheet-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,20,30,0.45); z-index: 290;
  backdrop-filter: blur(2px);
}
.mob-sheet-backdrop.show { display: block; }

/* ── Bottom sheet ── */
.mob-sheet {
  display: none;
  position: fixed; bottom: calc(58px + env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 295;
  background: #f7f4f0; border-radius: 14px 14px 0 0;
  padding: 10px 14px 8px;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  max-height: 80vh; overflow-y: auto;
}
.mob-sheet.open { display: block; transform: translateY(0); }
.mob-sheet-handle { width: 36px; height: 4px; border-radius: 2px; background: #ddd5c8; margin: 0 auto 14px; }
.mob-sheet-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px; border-radius: 8px;
  text-decoration: none; color: #0a1a1f;
  font-family: var(--f-body); font-size: 1.05rem; font-weight: 500;
}
.mob-sheet-row:active { background: #e8e2da; }
.mob-sheet-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mob-sheet-divider { height: 1px; background: #ddd5c8; margin: 6px 0; }
.mob-sheet-util {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 12px; border-radius: 8px;
  text-decoration: none; color: #6b7a6e;
  font-family: var(--f-body); font-size: 1rem;
}
.mob-sheet-util:active { background: #e8e2da; }
