/* ==========================================================================
   Navigation (v3.42.0) — desktop panels, phone menu, tab bar
   Works with both designs; follows light/dark through the --v-* tokens.
   ========================================================================== */
#site-header, .nvm, .v4-tabbar {
  --n-bg: var(--v-night, #0b0b0c);
  --n-surface: var(--v-surface, #141416);
  --n-raised: var(--v-raised, #1a1a1d);
  --n-line: var(--v-line, #27272a);
  --n-hair: var(--v-hair, #1c1c1f);
  --n-text: var(--v-text, #f4f4f5);
  --n-text2: var(--v-text-2, #d4d4d8);
  --n-muted: var(--v-muted, #a1a1aa);
  --n-amber: #f5a623;
  --n-ink: var(--v-amber-ink, #f5a623);
  --n-soft: var(--v-amber-soft, rgba(245,166,35,.14));
  --n-sans: var(--v-sans, 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif);
  --n-display: var(--v-display, var(--n-sans));
  --n-shadow: 0 24px 60px rgba(0,0,0,.45);
}
[data-theme="light"] #site-header, [data-theme="light"] .nvm, [data-theme="light"] .v4-tabbar { --n-shadow: 0 24px 60px rgba(24,24,27,.14); }

#site-header { --hdr-h: 64px; height: 64px; }
.nv-ic { display: block; flex: 0 0 auto; }

/* ── Header row ─────────────────────────────────────────────────────────── */
#site-header .hdr-wrap { max-width: 1280px; gap: 0; }
#site-header .hdr-logo { margin-right: 28px; }

.nv { display: none; align-items: center; gap: 2px; height: 100%; }
.nv-item { height: 100%; display: flex; align-items: center; }
.nv-door {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px;
  border: 0; border-radius: 11px; background: none; cursor: pointer;
  font: 600 15px/1 var(--n-sans); letter-spacing: -.01em; color: var(--n-muted) !important; text-decoration: none; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nv-door .nv-ic { opacity: .6; transition: transform .2s; }
.nv-door:hover, .nv-door[aria-expanded="true"] { color: var(--n-text) !important; background: rgba(128,128,128,.1); }
.nv-door[aria-expanded="true"] .nv-ic { transform: rotate(180deg); opacity: 1; }
.nv-door.is-cur { color: var(--n-text) !important; }
.nv-door.is-cur::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: -12px; height: 3px; border-radius: 3px 3px 0 0; background: var(--n-amber); }
.nv-door:focus-visible, .nv-r a:focus-visible, .nv-r button:focus-visible { outline: 2px solid var(--n-amber); outline-offset: 2px; }

.nv-r { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* search — a wide field on desktop, an icon on phones */
#site-header .nv-search {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; width: 42px; padding: 0; justify-content: center;
  border: 1px solid var(--n-line); border-radius: 12px; background: var(--n-surface); color: var(--n-text2); cursor: pointer;
  font: 500 14px/1 var(--n-sans); transition: border-color .15s, background .15s;
}
#site-header .nv-search:hover { border-color: rgba(245,166,35,.5); }
.nv-search-l, .nv-search kbd { display: none; }
.nv-search kbd { margin-left: auto; padding: 3px 7px; border: 1px solid var(--n-line); border-radius: 6px; font: 700 11px/1 var(--n-sans); color: var(--n-muted); background: transparent; }

.nv-log {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px 0 12px; border-radius: 12px;
  background: var(--n-amber); color: #0b0b0c !important; font: 800 14px/1 var(--n-sans); text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(245,166,35,.25); transition: transform .15s, box-shadow .15s;
}
.nv-log:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(245,166,35,.35); }
.nv-signin { display: inline-flex; align-items: center; height: 42px; padding: 0 10px; font: 700 14px/1 var(--n-sans); color: var(--n-text2) !important; text-decoration: none; white-space: nowrap; }
.nv-signin:hover { color: var(--n-text) !important; }
.nv-join {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; min-width: 42px; padding: 0 14px; border-radius: 12px;
  border: 1px solid rgba(245,166,35,.5); color: var(--n-ink) !important; font: 800 14px/1 var(--n-sans); text-decoration: none; white-space: nowrap;
}
.nv-join:hover { background: var(--n-soft); }
.nv-join-s { display: none; }

.nv-bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--n-line); border-radius: 12px; background: var(--n-surface); color: var(--n-text2); cursor: pointer;
}
.nv-bell:hover { color: var(--n-text); border-color: rgba(245,166,35,.5); }
.nv-bell .hdr-nt { top: -5px; right: -5px; box-shadow: 0 0 0 2px var(--n-bg); }

.nv-menu {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 12px; background: none; color: var(--n-text); cursor: pointer;
}
.nv-menu:hover { background: rgba(128,128,128,.1); }

/* avatars */
.nv-ava.rp-ava, .nv-r .rp-ava, .nvm .rp-ava, .nv-faces .rp-ava {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; border-radius: 50%;
  font-weight: 800; color: #fff; background: hsl(var(--h, 30) 55% 42%);
}
.nv-r .rp-ava img, .nvm .rp-ava img, .nv-faces .rp-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-ava { width: 34px; height: 34px; font-size: 14px; }
.nv-ava--lg { width: 46px; height: 46px; font-size: 18px; }
.nv-ava--xl { width: 56px; height: 56px; font-size: 22px; }

/* account menu (desktop) */
.nv-me { position: relative; }
.nv-me-b { display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 6px 0 4px; border: 0; border-radius: 22px; background: none; color: var(--n-muted); cursor: pointer; }
.nv-me-b .rp-ava { box-shadow: 0 0 0 2px var(--n-bg), 0 0 0 3.5px var(--n-amber); }
.nv-me-b:hover { color: var(--n-text); }
.nv-me-m {
  position: absolute; right: 0; top: calc(100% + 10px); width: 280px; padding: 8px; z-index: 30;
  border: 1px solid var(--n-line); border-radius: 18px; background: var(--n-surface); box-shadow: var(--n-shadow);
  animation: nvIn .16s ease;
}
.nv-me-m[hidden] { display: none; }
.nv-me-m > a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; font: 600 14px/1.2 var(--n-sans); color: var(--n-text2) !important; text-decoration: none; }
.nv-me-m > a .nv-ic { color: var(--n-muted); }
.nv-me-m > a:hover { background: rgba(128,128,128,.1); color: var(--n-text) !important; }
.nv-me-m > a.nv-me-top { padding: 10px; }
.nv-me-top span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nv-me-top b { font: 800 16px/1.15 var(--n-display); color: var(--n-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-me-top small { font-size: 12.5px; color: var(--n-ink); font-weight: 700; }
.nv-me-st { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 4px 8px; }
.nv-me-st span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 11px; background: rgba(128,128,128,.08); font: 600 11.5px/1 var(--n-sans); color: var(--n-muted); }
.nv-me-st b { font: 800 17px/1 var(--n-display); color: var(--n-text); }
.nv-me-m > a.nv-me-out { margin-top: 4px; border-top: 1px solid var(--n-line); border-radius: 0 0 11px 11px; padding-top: 12px; color: var(--n-muted) !important; }

/* ── Panels ─────────────────────────────────────────────────────────────── */
.nvp {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  background: var(--n-bg); border-bottom: 1px solid var(--n-line); box-shadow: var(--n-shadow);
  animation: nvIn .18s ease;
}
.nvp[hidden] { display: none; }
.nvp-in { max-width: 1280px; margin: 0 auto; padding: 26px 24px 30px; display: grid; gap: 28px; }
.nvp-k { margin: 0 0 12px; font: 800 11px/1 var(--n-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--n-muted); }
@keyframes nvIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* dim the page under an open panel (the header's blur makes fixed children header-sized, so hang it off the panel) */
.nvp::after { content: ''; position: absolute; left: 0; right: 0; top: calc(100% + 1px); height: 100vh; background: rgba(0,0,0,.42); pointer-events: none; animation: nvFade .2s ease; }
@keyframes nvFade { from { opacity: 0; } }

/* links with icon + description */
.nv-lk { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 14px; text-decoration: none; color: inherit !important; transition: background .15s; }
.nv-lk:hover { background: rgba(128,128,128,.09); }
.nv-lk-i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--n-soft); color: var(--n-ink); }
.nv-lk-t { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
.nv-lk-t em, .nvm-wide > em { margin-left: auto; font: 700 13px/1 var(--n-sans); font-style: normal; color: var(--n-muted); font-variant-numeric: tabular-nums; }
.nv-lk-t b { font: 700 15px/1.2 var(--n-sans); color: var(--n-text); }
.nv-lk-t small { font: 500 13px/1.35 var(--n-sans); color: var(--n-muted); }
.nv-lk.is-on .nv-lk-i { background: var(--n-amber); color: #0b0b0c; }
.nv-lk.is-on b { color: var(--n-ink); }

.nvp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; align-content: start; }
.nvp-grid--1 { grid-template-columns: 1fr; }
.nvp-th { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
.nvp-cm { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.nvp-mv { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }

/* now-showing posters */
.nv-posters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.nv-posters a { display: block; text-decoration: none; color: inherit !important; }
.nv-posters img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: var(--n-raised); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.35); transition: transform .2s, box-shadow .2s; }
.nv-posters a:hover img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--n-amber), 0 14px 30px rgba(0,0,0,.45); }
.nv-posters b { display: block; margin-top: 9px; font: 700 13px/1.25 var(--n-sans); color: var(--n-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-posters small { display: block; margin-top: 2px; font-size: 12px; color: var(--n-muted); }
.nvp-mv-r { display: flex; flex-direction: column; gap: 2px; padding-left: 24px; border-left: 1px solid var(--n-line); }
.nv-lk--big .nv-lk-i { background: var(--n-amber); color: #0b0b0c; }

/* map card + area chips */
.nv-map .d0 { fill: rgba(255,255,255,.22); }
.nv-map .d1 { fill: rgba(245,166,35,.75); }
.nv-map .d2 { fill: #ffc85a; }
.nv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-chips a { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 17px; border: 1px solid var(--n-line); font: 600 13px/1 var(--n-sans); color: var(--n-text2) !important; text-decoration: none; }
.nv-chips a:hover { border-color: rgba(245,166,35,.6); color: var(--n-ink) !important; }

/* community card — always night-sky dark */
.nv-cmcard { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 280px; padding: 22px; border-radius: 22px; color: #f4f4f5;
  background: radial-gradient(110% 80% at 70% 30%, #2a1d0b, #0d0d0f 65%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nv-map--bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.nv-cmcard .nv-map--bg { left: 38%; width: 62%; }
.nv-cmcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,15,.98) 34%, rgba(13,13,15,.55) 55%, transparent 80%); z-index: 1; }
.nv-cmcard-t { position: relative; z-index: 2; width: 100%; max-width: 330px; }
.nv-nums { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.nv-nums li { display: flex; flex-direction: column; gap: 3px; }
.nv-nums b { font: 800 26px/1 var(--n-display); letter-spacing: -.03em; color: #fff; }
.nv-nums b small { font-size: 15px; color: rgba(255,255,255,.55); font-weight: 700; }
.nv-nums span { font: 600 12px/1 var(--n-sans); color: rgba(244,244,245,.65); }
.nv-faces { display: flex; align-items: center; margin-bottom: 14px; }
.nv-faces > a + a, .nv-faces > .rp-ava + .rp-ava { margin-left: -9px; }
.nv-faces .rp-ava { width: 34px; height: 34px; font-size: 13px; box-shadow: 0 0 0 3px #111113; }
.nv-faces small { margin-left: 12px; font: 700 12.5px/1.2 var(--n-sans); color: rgba(244,244,245,.75); }
.nv-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 13px; background: #f5a623; color: #0b0b0c !important; font: 800 15px/1 var(--n-sans); text-decoration: none; box-shadow: 0 8px 24px rgba(245,166,35,.3); }
.nv-btn:hover { background: #ffb84a; }

/* ── Desktop on ─────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .nv { display: flex; }
  .nv-menu { display: none; }
  #site-header .hdr-hamburger { display: none; }
}
@media (min-width: 1180px) {
  #site-header .nv-search { width: 290px; padding: 0 10px 0 14px; justify-content: flex-start; color: var(--n-muted); }
  .nv-search-l, .nv-search kbd { display: inline; }
}
@media (min-width: 900px) and (max-width: 1060px) {
  #site-header .hdr-logo-tld { display: none; }
  #site-header .hdr-logo { margin-right: 14px; }
  .nv-door { padding: 0 10px; font-size: 14.5px; }
  .nv-signin { display: none; }
  .nvp-th, .nvp-mv { grid-template-columns: 1fr; }
  .nvp-th .nvp-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .nv-posters { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nv-posters li:nth-child(6) { display: none; }
  .nvp-mv-r { padding: 18px 0 0; border: 0; border-top: 1px solid var(--n-line); flex-direction: row; flex-wrap: wrap; }
  .nvp-mv-r .nv-lk { flex: 1 1 240px; }
}

/* ── Phones ─────────────────────────────────────────────────────────────── */
@media (max-width: 899px) {
  #site-header { --hdr-h: 58px; height: 58px; }
  #site-header .hdr-wrap { padding: 0 8px 0 16px; gap: 6px; }
  #site-header .hdr-logo { margin-right: auto; }
  .nv-dt { display: none !important; }
  .nv-r { gap: 4px; }
  #site-header .nv-search, .nv-bell { width: 42px; height: 42px; border: 0; background: none; color: var(--n-text); }
  #site-header .nv-search:hover, .nv-bell:hover { background: rgba(128,128,128,.1); }
  .nv-join { height: 36px; padding: 0 12px; font-size: 13.5px; margin-right: 2px; }
}
@media (max-width: 899px) { .nv-join-f { display: none; } }
@media (max-width: 359px) {
  .nv-join { width: 42px; padding: 0; border: 0; }
  .nv-join-l { display: none; }
  .nv-join-s { display: inline-flex; color: var(--n-ink); }
}

/* the old drawer and hamburger are gone */
.hdr-mobile-nav, .hdr-hamburger span { display: none !important; }

/* ── Phone menu ─────────────────────────────────────────────────────────── */
.nvm { position: fixed; inset: 0; z-index: 100000; font-family: var(--n-sans); }
.nvm[hidden] { display: none; }
.nvm-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .22s; }
.nvm-p {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; overscroll-behavior: contain;
  padding: 0 16px calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--n-bg); color: var(--n-text);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
.nvm.is-in .nvm-bg { opacity: 1; }
.nvm.is-in .nvm-p { transform: none; }
html.nvm-on, html.nvm-on body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .nvm-p, .nvm-bg { transition: none; } }

.nvm-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 58px; margin: 0 -16px 6px; padding: 0 8px 0 16px; background: var(--n-bg); }
.nvm-ttl { font: 800 13px/1 var(--n-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--n-muted); }
.nvm-x { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: none; color: var(--n-text); cursor: pointer; }

.nvm-me { padding: 16px; border-radius: 22px; background: var(--n-surface); border: 1px solid var(--n-line); }
.nvm-me-a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit !important; }
.nvm-me-a .rp-ava { box-shadow: 0 0 0 3px var(--n-surface), 0 0 0 5px var(--n-amber); }
.nvm-me-a > span { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nvm-me-a b { font: 800 20px/1.1 var(--n-display); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvm-me-a small { display: inline-flex; align-items: center; gap: 4px; font: 700 13px/1 var(--n-sans); color: var(--n-ink); }
.nvm-me .nv-me-st { margin: 14px 0 12px; }
.nvm-me-b { display: flex; gap: 8px; }
.nvm-me-b .nvm-log { flex: 1 1 auto; }
.nvm-inv { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(245,166,35,.5); color: var(--n-ink) !important; font: 800 15px/1 var(--n-sans); text-decoration: none; }
.nvm-log { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 14px; background: var(--n-amber); color: #0b0b0c !important; font: 800 15px/1 var(--n-sans); text-decoration: none; }

.nvm-join { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 120px 18px 18px; border-radius: 22px; color: #f4f4f5;
  background: radial-gradient(110% 80% at 70% 25%, #2a1d0b, #0d0d0f 65%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nvm-join .nv-map--bg { height: 190px; bottom: auto; }
.nvm-join::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40px, rgba(13,13,15,.96) 190px); }
.nvm-join > div { position: relative; z-index: 2; }
.nvm-join .nv-faces { margin-bottom: 14px; }
.nvm-join-b { display: flex; align-items: center; gap: 16px; }
.nvm-join .nv-btn { flex: 1 1 auto; height: 48px; }
.nvm-signin { font: 800 15px/1 var(--n-sans); color: #fff !important; text-decoration: none; padding: 12px 6px; }

.nvm-search { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; margin: 14px 0 4px; padding: 0 16px; border: 1px solid var(--n-line); border-radius: 14px; background: var(--n-surface); color: var(--n-muted); font: 500 15px/1 var(--n-sans); cursor: pointer; text-align: left; }
.nvm-search .nv-ic { color: var(--n-ink); }

.nvm-h { margin: 24px 2px 10px; font: 800 11.5px/1 var(--n-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--n-muted); }

.nvm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nvm-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: 16px; background: var(--n-surface); border: 1px solid var(--n-line); text-decoration: none; color: var(--n-text2) !important; text-align: center; }
.nvm-tile span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; background: var(--n-soft); color: var(--n-ink); }
.nvm-tile b { font: 700 12.5px/1.15 var(--n-sans); }
.nvm-tile.is-on { border-color: var(--n-amber); }
.nvm-tile.is-on span { background: var(--n-amber); color: #0b0b0c; }
.nvm-tile:active { transform: scale(.97); }
@media (max-width: 340px) { .nvm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.nvm-wide { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--n-surface); border: 1px solid var(--n-line); text-decoration: none; color: var(--n-text) !important; }
.nvm-wide.is-on { border-color: var(--n-amber); }
.nvm-wide > span:not(.nvm-stack):not(.nvm-wide-i) { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.nvm-wide b { font: 800 16px/1.15 var(--n-sans); }
.nvm-wide small { font-size: 13px; color: var(--n-muted); }
.nvm-wide > .nv-ic { color: var(--n-muted); }
.nvm-me-a > .nv-ic { margin-left: auto; color: var(--n-muted); }
.nvm-join { padding-top: 96px; }
.nvm-stack { display: flex; flex: 0 0 auto; }
.nvm-stack img { width: 40px; height: 60px; object-fit: cover; border-radius: 7px; box-shadow: 0 0 0 2px var(--n-surface), 0 6px 14px rgba(0,0,0,.35); }
.nvm-stack img + img { margin-left: -16px; }
.nvm-stack img:nth-child(1) { transform: rotate(-6deg); }
.nvm-stack img:nth-child(3) { transform: rotate(6deg); }
.nvm-wide--2 { margin-top: 8px; }
.nvm-wide-i { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: var(--n-soft); color: var(--n-ink); }

.nvm-rows { display: flex; flex-direction: column; border-radius: 18px; background: var(--n-surface); border: 1px solid var(--n-line); overflow: hidden; }
.nvm-row { display: flex; align-items: center; gap: 13px; padding: 12px 14px; text-decoration: none; color: inherit !important; }
.nvm-row + .nvm-row { border-top: 1px solid var(--n-line); }
.nvm-row > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nvm-row b { font: 700 15px/1.2 var(--n-sans); color: var(--n-text); }
.nvm-row small { font-size: 12.5px; line-height: 1.3; color: var(--n-muted); }
.nvm-row .nv-lk-i { flex-basis: 38px; width: 38px; height: 38px; }
.nvm-row.is-on b { color: var(--n-ink); }
.nvm-row.is-on .nv-lk-i { background: var(--n-amber); color: #0b0b0c; }

.nvm .nv-chips a { height: 36px; }
.nvm-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--n-line); }
.nvm-foot a { display: flex; align-items: center; gap: 10px; padding: 11px 6px; font: 600 14px/1 var(--n-sans); color: var(--n-muted) !important; text-decoration: none; }
.nvm-foot a.is-on { color: var(--n-ink) !important; }

/* ── Phone tab bar (new design) ─────────────────────────────────────────── */
@media (max-width: 899px) {
  body.ht-v4 { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .v4-tabbar {
    position: fixed; left: 0; right: 0; bottom: var(--ht-anchor-h, 0px); top: auto; z-index: 950;
    height: auto; padding: 0 6px env(safe-area-inset-bottom, 0px); display: flex; align-items: stretch; justify-content: space-around;
    background: var(--v-tab-bg, rgba(14,14,16,.985)); border: 0; border-top: 1px solid var(--n-line); border-radius: 0; box-shadow: 0 -8px 24px rgba(0,0,0,.18);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .15s; will-change: transform;   /* v3.54.0: solid, not a live blur: no repaint on every scroll frame */
  }
  html.ntab-hide .v4-tabbar { transform: translateY(calc(100% + var(--ht-anchor-h, 0px))); }
  html.nvm-on .v4-tabbar { transform: translateY(110%); }
  .v4-tab {
    position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    height: 62px; min-height: 0; font: 700 11px/1 var(--n-sans); color: var(--n-muted); text-decoration: none; -webkit-tap-highlight-color: transparent;
  }
  .v4-tab.is-current { color: var(--n-text); }
  .v4-tab.is-current::before { content: ''; position: absolute; top: -1px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--n-amber); }
  .v4-tab.is-current .nv-ic { color: var(--n-ink); }
  .v4-tab > .nv-ic { margin: 5.5px 0; }
  .v4-tab--log i { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 34px; border-radius: 12px; background: var(--n-amber); color: #0b0b0c; box-shadow: 0 6px 18px rgba(245,166,35,.35); }
  .v4-tab--log { color: var(--n-text); }
  .v4-tab:active .nv-ic, .v4-tab:active i { transform: scale(.9); }
  body.ht-v4:not(.single-ht_movie) .htsr-nudge,
  body.ht-v4:not(.single-ht_movie) .ht-toast,
  body.ht-v4:not(.single-ht_movie) .clr-toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

@media print { .nv, .nv-r, .nvm, .v4-tabbar { display: none !important; } }
