/* =====================================================================
   CLEAR NOTE — Header, menu sheet, splash + button radius (loaded last)
   Theme-aware: follows html[data-cn-theme] / body.cn-light-theme, which
   theme.js already sets (System / Light / Dark).
   ===================================================================== */

:root {
  --nv-bg: #000;
  --nv-card: #0f0f0f;
  --nv-ink: #fff;
  --nv-mu: #9ca3af;
  --nv-ln: #1f1f1f;
  --nv-g: #22c55e;
  --nv-gt: #4ade80;
  --nv-tint: #0f1f14;
  --nv-sp: #050706;
  --nv-on: #000;
  --nv-br: 12px;
  --nv-ease: cubic-bezier(.22, .61, .36, 1);
  --nv-top: 76px;
}
:root[data-cn-theme="light"],
body.cn-light-theme {
  --nv-bg: #fff;
  --nv-card: #fff;
  --nv-ink: #101828;
  --nv-mu: #667085;
  --nv-ln: #dfe7e2;
  --nv-g: #16a34a;
  --nv-gt: #15803d;
  --nv-tint: #ecf7ef;
  --nv-sp: #fff;
  --nv-on: #fff;
}

.nv-i {
  width: 22px; height: 22px; flex: none; display: block;
  stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ============ SPLASH ============ */
#cn-preloader.cn-preloader {
  background: var(--nv-sp);
  color: var(--nv-ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}
.cn-sp-mark { position: relative; display: grid; place-items: center; width: 84px; height: 84px; }
.cn-sp-logo {
  position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 20px;
  opacity: 0; transform: scale(.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25), 0 0 0 1px rgba(128, 128, 128, .22);
  animation: nv-sp-in 1s var(--nv-ease) .1s forwards;
}
.cn-sp-glow {
  position: absolute; inset: -34px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(34, 197, 94, .30) 0%, rgba(34, 197, 94, 0) 68%);
  animation: nv-sp-glow 2.4s ease-in-out .2s infinite;
}
.cn-sp-dots { display: flex; gap: 8px; margin-top: 34px; opacity: 0; animation: nv-sp-fade .6s var(--nv-ease) .5s forwards; }
.cn-sp-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--nv-g); animation: nv-sp-dot 1.2s ease-in-out .6s infinite; }
.cn-sp-dots i:nth-child(2) { animation-delay: .8s; }
.cn-sp-dots i:nth-child(3) { animation-delay: 1s; }
.cn-sp-word {
  position: absolute; left: 0; right: 0; text-align: center;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 34px);
  font: 500 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 5px; text-transform: uppercase; color: var(--nv-ink);
  opacity: 0; animation: nv-sp-fade .9s var(--nv-ease) .6s forwards;
}
.cn-sp-word em { font-style: normal; color: var(--nv-gt); }
@keyframes nv-sp-in { to { opacity: 1; transform: none; } }
@keyframes nv-sp-fade { to { opacity: 1; } }
@keyframes nv-sp-glow { 0%, 100% { opacity: 0; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes nv-sp-dot { 0%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .cn-sp-logo, .cn-sp-dots, .cn-sp-word { animation-duration: .01s; animation-delay: 0s; }
  .cn-sp-dots i, .cn-sp-glow { animation: none; }
}

/* ============ HEADER ============ */
body .cn-header.cn-hd {
  position: sticky; top: 0; z-index: 60; width: 100%;
  background: var(--nv-bg) !important;
  border-bottom: 1px solid var(--nv-ln) !important;
  padding-top: env(safe-area-inset-top, 0px);
  box-shadow: none;
  color: var(--nv-ink);
}
.cn-hd-bar {
  max-width: 100rem; margin: 0 auto; height: 76px;
  display: flex; align-items: center; gap: 4px;
  padding: 0 10px 0 14px; transition: height .2s;
}
@media (min-width: 768px) { .cn-hd-bar { padding: 0 1.5rem; gap: 10px; } }
@media (min-width: 1024px) { .cn-hd-bar { padding: 0 5rem; } }
.cn-hd-left { flex: 1 1 auto; min-width: 0; display: flex; }
.cn-hd-right { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
@media (min-width: 821px) { /* equal side columns keep the search centred */
  .cn-hd-left, .cn-hd-right { flex: 1 1 0; min-width: 0; }
}
.cn-hd-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--nv-ink); text-decoration: none; }
.cn-hd-logo {
  width: 42px; height: 42px; border-radius: 11px; flex: none; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(128, 128, 128, .25); transition: all .2s;
}
.cn-hd-bt { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.cn-hd-wm {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: 26px;
  letter-spacing: -.6px; white-space: nowrap; transition: font-size .2s;
}
.cn-hd-wm em { font-style: normal; color: var(--nv-gt); }
.cn-hd-tg {
  font-size: 10px; letter-spacing: 1.6px; color: var(--nv-mu); margin-top: 5px;
  text-transform: uppercase; white-space: nowrap; max-height: 12px; overflow: hidden; transition: all .2s;
}
.cn-hd.sm .cn-hd-bar { height: 60px; }
.cn-hd.sm .cn-hd-logo { width: 36px; height: 36px; }
.cn-hd.sm .cn-hd-wm { font-size: 22px; }
.cn-hd.sm .cn-hd-tg { max-height: 0; margin: 0; opacity: 0; }

/* Desktop search keeps its existing behaviour; only restyled to match */
.cn-hd .cn-desktop-search {
  flex: 0 1 480px; width: auto; height: 44px; margin: 0;
  border-radius: var(--nv-br); background: var(--nv-card); border: 1px solid var(--nv-ln);
}
.cn-hd .cn-desktop-search .nv-i { width: 18px; height: 18px; color: var(--nv-mu); }
.cn-hd .cn-desktop-search input { color: var(--nv-ink); }
.cn-hd .cn-desktop-search input::placeholder { color: var(--nv-mu); }
.cn-hd .cn-desktop-search span { color: var(--nv-mu); border-color: var(--nv-ln); }
.cn-hd .cn-desktop-search:focus-within { border-color: var(--nv-g); }

/* Icon buttons */
.cn-hd-ib {
  width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--nv-ink); cursor: pointer; flex: none;
  transition: background .15s;
}
.cn-hd-ib:hover { background: var(--nv-tint); }
.cn-hd-ib[aria-expanded="true"] { background: var(--nv-tint); }
.cn-hd-ib:focus-visible, .cn-hd-login:focus-visible, .cn-mi:focus-visible, .cn-tl:focus-visible,
.cn-ft:focus-visible, .cn-sb1:focus-visible, .cn-sb2:focus-visible, .cn-ch a:focus-visible {
  outline: 2px solid var(--nv-g); outline-offset: 2px;
}
.cn-hd-menu .nv-ic-x { display: none; }
.cn-hd-menu[aria-expanded="true"] .nv-ic-menu { display: none; }
.cn-hd-menu[aria-expanded="true"] .nv-ic-x { display: block; }

.cn-hd-login {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin: 0 4px;
  border-radius: var(--nv-br); background: var(--nv-g); color: var(--nv-on);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.cn-hd-av {
  position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--nv-tint); border: 1.5px solid var(--nv-g); color: var(--nv-gt);
  font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.cn-hd-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
#cnAcctBtn .cn-hd-av::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--nv-g); border: 2px solid var(--nv-bg);
}
#cnAcctBtn .cn-hd-av.has-unread::after { background: #ef4444; }

/* Account popover */
.cn-hd-pop {
  position: absolute; right: 10px; top: calc(100% - 8px); z-index: 5;
  width: min(300px, calc(100vw - 20px)); padding: 8px;
  background: var(--nv-card); border: 1px solid var(--nv-ln); border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25); display: none; color: var(--nv-ink);
}
.cn-hd-pop.open { display: block; animation: nv-pop .16s var(--nv-ease); }
@keyframes nv-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) { .cn-hd-pop { right: 1.5rem; } }
@media (min-width: 1024px) { .cn-hd-pop { right: 5rem; } }
.cn-hd-who { display: flex; gap: 12px; align-items: center; padding: 10px; border-bottom: 1px solid var(--nv-ln); margin-bottom: 6px; min-width: 0; }
.cn-hd-who .cn-hd-av { width: 44px; height: 44px; font-size: 14px; }
.cn-hd-who > div { min-width: 0; }
.cn-hd-who b { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn-hd-who span:not(.cn-hd-av) { font-size: 12px; color: var(--nv-mu); }
.cn-mi {
  display: flex; gap: 12px; align-items: center; width: 100%; padding: 11px 10px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--nv-ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left;
}
.cn-mi:hover { background: var(--nv-tint); }
.cn-mi.dn { color: #ef4444; }
.cn-mi .n { margin-left: auto; background: #ef4444; color: #fff; font-size: 11px; font-weight: 600; border-radius: 99px; padding: 2px 7px; }
.cn-hd-pop form { margin: 0; }

/* ============ MENU SHEET ============ */
.cn-hd-overlay {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nv-top);
  z-index: 9000; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.cn-hd-overlay.active { opacity: 1; visibility: visible; }
.cn-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--nv-top); z-index: 9100;
  background: var(--nv-bg); color: var(--nv-ink); overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px calc(env(safe-area-inset-bottom, 0px) + 20px);
  opacity: 0; transform: translateY(-10px); visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.cn-sheet.active { opacity: 1; transform: none; visibility: visible; }
.cn-sheet-in { max-width: 560px; margin: 0 auto; }
@media (min-width: 768px) {
  .cn-hd-overlay { display: block; }
  .cn-sheet {
    left: auto; right: 1.5rem; bottom: auto; width: 440px;
    top: calc(var(--nv-top) + 8px);
    max-height: calc(100vh - var(--nv-top) - 24px);
    max-height: calc(100dvh - var(--nv-top) - 24px);
    border: 1px solid var(--nv-ln); border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  }
}
@media (min-width: 1024px) { .cn-sheet { right: 5rem; } }

.cn-sheet .cn-sheet-search { position: relative; margin: 0 0 14px; }
.cn-sheet-search .nv-i { position: absolute; left: 14px; top: 13px; color: var(--nv-mu); pointer-events: none; }
.cn-sheet-search input {
  width: 100%; height: 48px; padding: 0 14px 0 44px; font: inherit; font-size: 16px; /* 16px stops iOS zoom */
  border: 1px solid var(--nv-ln); border-radius: 14px; background: var(--nv-card); color: var(--nv-ink); outline: 0;
}
.cn-sheet-search input:focus { border-color: var(--nv-g); }
.cn-sheet-search input::placeholder { color: var(--nv-mu); }

.cn-sheet .tag { font-size: 10px; font-weight: 600; letter-spacing: .3px; padding: 3px 8px; border-radius: 99px; background: #ef4444; color: #fff; line-height: 1; }
.cn-sheet .tag.hot { background: #f59e0b; color: #1c1100; }

.cn-ft {
  display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 12px; position: relative;
  border-radius: 20px; background: linear-gradient(135deg, #14532d, #15803d); color: #fff; text-decoration: none;
}
.cn-ft .bx { width: 50px; height: 50px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; }
.cn-ft b { display: block; font-size: 18px; font-weight: 600; }
.cn-ft .s { display: block; font-size: 13px; color: #bbf7d0; }
.cn-ft .tag { position: absolute; top: 12px; right: 14px; }
.cn-ft .ar { margin-left: auto; margin-top: 22px; }

.cn-gr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.cn-tl {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 6px 12px; border: 1px solid var(--nv-ln); background: var(--nv-card); color: var(--nv-ink);
  border-radius: 18px; font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: center;
  text-decoration: none; cursor: pointer;
}
.cn-tl:active, .cn-tl:hover { background: var(--nv-tint); }
.cn-tl.active { border-color: var(--nv-g); color: var(--nv-gt); }
.cn-tl .tag { position: absolute; top: 8px; right: 8px; }
.cn-tl .bx { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--nv-tint); color: var(--nv-gt); display: flex; align-items: center; justify-content: center; }

.cn-lab { font-size: 11px; letter-spacing: 1.6px; color: var(--nv-mu); text-transform: uppercase; margin: 16px 2px 8px; }
.cn-ch { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.cn-ch::-webkit-scrollbar { display: none; }
.cn-ch a {
  flex: none; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--nv-ln);
  font-size: 14px; background: var(--nv-card); color: var(--nv-ink); text-decoration: none;
}
.cn-sb1, .cn-sb2 {
  display: flex; align-items: center; justify-content: center; height: 54px; margin-bottom: 10px;
  border-radius: var(--nv-br); font-weight: 600; font-size: 16px; text-decoration: none; font-family: inherit;
}
.cn-sb1 { background: var(--nv-g); color: var(--nv-on); }
.cn-sb2 { border: 1px solid var(--nv-ln); background: var(--nv-card); color: var(--nv-ink); }
.cn-pr { display: flex; gap: 10px; }
.cn-pr > * { flex: 1; }
.cn-sheet form { margin: 0; }
.cn-so {
  display: block; width: 100%; text-align: center; color: #ef4444; font: inherit; font-size: 14px;
  font-weight: 600; padding: 8px; background: none; border: 0; cursor: pointer;
}

/* Small phones */
@media (max-width: 380px) {
  .cn-hd-bar { padding: 0 6px 0 10px; }
  .cn-hd-wm { font-size: 22px; }
  .cn-hd.sm .cn-hd-wm { font-size: 20px; }
  .cn-hd-logo { width: 36px; height: 36px; }
  .cn-hd-tg { letter-spacing: 1.1px; font-size: 9px; }
  .cn-hd-login { padding: 0 14px; margin: 0 2px; }
  .cn-gr { gap: 8px; }
  .cn-tl { font-size: 12.5px; }
}
@media (max-width: 350px) {
  .cn-hd-tg { letter-spacing: .5px; font-size: 8px; }
  .cn-hd-wm { font-size: 20px; }
  .cn-hd-brand { gap: 8px; }
  .cn-hd-ib { width: 40px; height: 40px; min-width: 40px; }
}
/* Desktop search takes over from ~820px (existing breakpoint) */
@media (max-width: 820px) { .cn-hd .cn-desktop-search { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .cn-sheet, .cn-hd-overlay, .cn-hd-bar, .cn-hd-logo, .cn-hd-wm, .cn-hd-tg { transition: none; }
  .cn-hd-pop.open { animation: none; }
}

/* ============ BUTTONS: 12px radius ============ */
body .cn-btn,
body a.cn-btn,
body button.cn-btn,
body .cn-btn-sm,
body .cn-btn-md,
body .cn-btn-lg,
body .cn-hero-cta a,
body .cn-newsletter-form button,
body .cn-business-filter-submit,
body .cn-inbox-filters .cn-btn,
body.cn-light-theme .cn-notifications-page .cn-inbox-filters .cn-btn,
body .cn-modal-actions .cn-btn,
body .cn-modal-actions button,
body .cn-modal-actions a,
body .cn-cookie-actions button {
  border-radius: 12px !important;
}

/* ============ Reading tools (article + review pages) ============ */
.cn-hd-rt[aria-expanded="true"] { background: var(--nv-tint); color: var(--nv-gt); }
.cn-rt { max-width: 100rem; margin: 0 auto; padding: 0 10px 10px; }
.cn-rt[hidden] { display: none; }
.cn-rt-row { display: flex; align-items: center; gap: 4px; padding: 4px; background: var(--nv-tint); border-radius: 16px; animation: nv-pop .16s var(--nv-ease); }
.cn-rt-b { flex: 1 1 0; min-width: 0; min-height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; border: 0; border-radius: 12px; background: none; color: var(--nv-ink); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; line-height: 1.1; text-align: center; }
.cn-rt-b:hover { background: rgba(128,128,128,.14); }
.cn-rt-b i { font-size: 18px; }
.cn-rt-b .nv-i { width: 20px; height: 20px; }
.cn-rt-b[aria-pressed="true"] .nv-i { fill: var(--nv-g); stroke: var(--nv-g); }
.cn-rt-x { flex: 0 0 44px; border-left: 1px solid var(--nv-ln); border-radius: 0 12px 12px 0; }
@media (min-width: 768px) { .cn-rt { padding: 0 1.5rem 10px; } .cn-rt-row { max-width: 420px; margin-left: auto; } }
@media (min-width: 1024px) { .cn-rt { padding: 0 5rem 10px; } }

/* Menu close row + partners */
.cn-sheet-top { display: flex; align-items: center; justify-content: space-between; margin: -6px 0 8px; font-weight: 700; font-size: 18px; }
.cn-partners a { white-space: nowrap; }

/* Account popover: fixed so nothing clips it, above the menu sheet */
.cn-hd-pop { position: fixed; top: calc(var(--nv-top, 76px) - 6px); z-index: 9200; }
.cn-hd-pop.open { display: block; }

/* ===== Header: shrink on scroll (-4px logo), menu button crosses into an X ===== */
body .cn-hd .cn-hd-logo { width: 42px !important; height: 42px !important; }
body .cn-hd.sm .cn-hd-logo { width: 38px !important; height: 38px !important; }
body .cn-hd.sm .cn-hd-bar { height: 58px; }
@media (max-width: 380px) {
  body .cn-hd .cn-hd-logo { width: 36px !important; height: 36px !important; }
  body .cn-hd.sm .cn-hd-logo { width: 32px !important; height: 32px !important; }
}
.cn-hd-menu.is-open .nv-ic-menu { display: none !important; }
.cn-hd-menu.is-open .nv-ic-x { display: block !important; }
.cn-hd-menu.is-open { background: var(--nv-tint); }
.cn-hd-menu .nv-i { animation: none; }
.cn-hd-menu.is-open .nv-ic-x { animation: nv-spin .22s var(--nv-ease); }
@keyframes nv-spin { from { transform: rotate(-90deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

/* Reading toolbar: small login pill / account */
.cn-rt-login { flex: 0 0 auto; margin: 0 4px; padding: 8px 14px; border-radius: 99px; background: var(--nv-g); color: var(--nv-on); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cn-rt-me { text-decoration: none; flex: 0 0 auto; padding: 4px 10px; }
.cn-rt-me .cn-hd-av { width: 26px; height: 26px; font-size: 10px; }
.cn-rt-x { flex: 0 0 38px; }

/* ===== Menu open: the header must stay put (html+body both overflow:hidden made body a scroller and the sticky header scrolled away) ===== */
html.cn-menu-scroll-lock { overflow: hidden !important; }
html.cn-menu-scroll-lock body { overflow: visible !important; }

/* ===== Reading toolbar: clean grid ===== */
html body .cn-rt { padding: 0 10px 10px; }
html body .cn-rt-row { display: grid !important; grid-template-columns: repeat(4, 1fr) 40px; align-items: stretch; gap: 2px; padding: 4px; background: var(--nv-tint); border-radius: 16px; margin: 0; max-width: none; }
html body .cn-rt-b { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 54px; padding: 6px 2px !important; margin: 0 !important; border: 0; border-radius: 12px; background: none; color: var(--nv-ink); font-size: 11.5px; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; }
html body .cn-rt-b i { font-size: 19px; height: 20px; display: block; }
html body .cn-rt-b .nv-i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html body .cn-rt-b[aria-pressed="true"] .nv-i { fill: var(--nv-g); stroke: var(--nv-g); }
html body .cn-rt-x { border-left: 1px solid var(--nv-ln); border-radius: 0 12px 12px 0; opacity: .75; }
@media (min-width: 768px) { html body .cn-rt-row { max-width: 440px; margin-left: auto; } }

/* ===== Footer v2: same logo as the top bar, tidy two-column layout, no dead space ===== */
body { padding-bottom: 0 !important; }
.cn-footer.cn-footer--v2 { padding: 26px 20px 14px; margin: 0; background: var(--nv-sp, var(--nv-card)); border-top: 1px solid var(--nv-ln); }
.cn-footer--v2 .cn-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; max-width: 80rem; margin: 0 auto; }
.cn-footer--v2 .cn-footer-brand { grid-column: 1 / -1; }
.cn-footer--v2 .cn-footer-brandlink { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.cn-footer--v2 .cn-footer-tagline { margin: 12px 0 0; color: var(--nv-mu); font-size: 14px; }
.cn-footer--v2 .cn-footer-col h4 { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--nv-mu); font-weight: 700; }
.cn-footer--v2 .cn-footer-col a { display: block; padding: 7px 0; font-size: 15px; color: var(--nv-ink); }
.cn-footer--v2 .cn-footer-col a.active { color: var(--nv-gt); font-weight: 600; }
.cn-footer--v2 .cn-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: 80rem; margin: 18px auto 0; padding-top: 14px; border-top: 1px solid var(--nv-ln); }
.cn-footer--v2 .cn-footer-legal a { color: var(--nv-mu); font-size: 13.5px; }
.cn-footer--v2 .cn-footer-bottom { max-width: 80rem; margin: 0 auto; padding: 10px 0 0; border: 0; text-align: left; color: var(--nv-mu); font-size: 13px; }
.cn-footer--v2 .cn-footer-bottom p { margin: 0; }
@media (max-width: 1023px) { .cn-footer.cn-footer--bn { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 768px) { .cn-footer--v2 .cn-footer-grid { grid-template-columns: 2fr 1fr 1fr; } .cn-footer--v2 .cn-footer-brand { grid-column: auto; } }


/* ===== Cards: only 3px from each screen edge on phones (text keeps its own comfortable padding) ===== */
@media (max-width: 767px) {
  /* site containers are 5px + 5px from the edge; pull card grids out to 3px */
  .cn-grid, .cn-home-discovery-grid { margin-left: -7px !important; margin-right: -7px !important; }
  .cn-home-panel { margin-left: -7px; margin-right: -7px; }
  /* account dashboard + manage */
  .cn-dash, .cn-m { margin-left: -7px; margin-right: -7px; }
  .cn-dash-me, .cn-dash-h { padding-left: 10px; padding-right: 10px; }
  /* article + review pages (page text keeps 18px; cards go to 3px) */
  html body.cn-article-page main .cn-glass:not(.cn-rd-body), html body.cn-review-page main .cn-glass,
  html body.cn-article-page .cn-rd-writer, html body.cn-article-page .cn-rd-cover, html body.cn-review-page .cn-rd-cover-wrap,
  .cn-rv-rate, .cn-rv-dates, .cn-rv-by, .cn-rd-take, .cn-rd-faqwrap { margin-left: -15px !important; margin-right: -15px !important; }
  .cn-rd-faqwrap .cn-faq-h { padding-left: 15px; }
  html body.cn-review-page .cn-rv-toc { padding-left: 15px !important; padding-right: 15px !important; }
}

/* ===== Cookie notice: small, above the bottom menu ===== */
.cn-cc { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 9400; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--nv-card, #101914); color: var(--nv-ink, #fff); border: 1px solid var(--nv-ln, #223029); box-shadow: 0 8px 28px rgba(0,0,0,.28); transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .25s ease; font-size: 12.5px; line-height: 1.35; }
.cn-cc[hidden] { display: none; }
.cn-cc.is-in { transform: none; opacity: 1; }
.cn-cc--nav { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
.cn-cc-tx { margin: 0; flex: 1; min-width: 0; }
.cn-cc-tx a { color: var(--nv-gt, #16a34a); font-weight: 600; }
.cn-cc-ac { display: flex; gap: 6px; flex: none; }
.cn-cc-b { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--nv-ln, #223029); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cn-cc-b--p { background: var(--nv-g, #16a34a); border-color: var(--nv-g, #16a34a); color: #fff; }
@media (max-width: 400px) { .cn-cc { flex-wrap: wrap; } .cn-cc-ac { width: 100%; } .cn-cc-b { flex: 1; } }
/* install row in the menu */
.cn-m-install { width: 100%; margin: 12px 0 0; padding: 12px; border: 0; border-radius: 12px; background: var(--nv-tint); color: var(--nv-gt); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.cn-m-install[hidden], .cn-m-install-ios[hidden] { display: none; }
.cn-m-install-ios { margin: 10px 0 0; font-size: 13px; color: var(--nv-mu); }
/* placeholder images keep the layout and fill their frame */
img.cn-ph { object-fit: cover; background: #0f3d22; }
