/* ---------- Numbers page (/numbers) ---------- */
.numbers-page {
  --cream: #faf6ee;
  --paper: #fffdf8;
  --text: #1d150c;
  --muted: #6b5b47;
  /* Warm gold for borders, focus rings and accents on cream (3:1 against it) */
  --gold-ink: #b98420;
  /* Big numbers and headings: a brighter warm-gold gradient, like the homepage headline but deep enough for cream */
  --gold-grad: linear-gradient(180deg, #e3b24a 0%, #d0961f 48%, #b47a12 100%);
  --line: rgba(138, 90, 43, .22);
  --field: #fff;
  --hint: #9a8a74;
  --on-bg: #1d150c;       /* selected chip, current page, badges */
  --on-fg: var(--gold);
  --tag-bg: rgba(138, 90, 43, .1);
  --tag-fg: #5a4020;
  --eyebrow: var(--text);
  --dim: #a39583;         /* numbers on hold */
  --hover: #fff;
  background: #0d0a07;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--gold); color: #1d150c; font-weight: 700; }
.skip:focus { top: 12px; }
.numbers-page :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.numbers-page .nx :focus-visible, .nx-dialog :focus-visible { outline-color: var(--gold-ink); }

.numbers-page .nav { position: sticky; top: 0; z-index: 20; background: rgba(20, 15, 11, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Banner photo (already carries the logo and "Find the perfect phone number") */
.nx-banner { background: #0d0a07; }
.nx-banner img { display: block; width: 100%; max-width: 1920px; height: auto; margin: 0 auto; }

/* Cream content area */
.nx { position: relative; background: transparent; color: var(--text); padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(48px, 6vw, 88px); }
.nx a { color: var(--text); text-decoration-color: var(--gold-ink); text-decoration-thickness: 2px; }
.nx .eyebrow, .nx-dialog .eyebrow { color: var(--eyebrow); margin-bottom: 10px; }

.nx-head { max-width: 1320px; margin: 0 auto 28px; text-align: center; }
.nx-head h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
}
/* Undo the homepage's gold-gradient headline: dark ink reads better on cream */
.nx h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); text-shadow: none; filter: none; }
.nx-sub { margin: 0 0 28px; font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-style: italic; color: var(--muted); }
.nx-sub a { text-decoration: underline; text-underline-offset: 3px; }

.nx-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(60, 40, 15, .08);
}
.nx-search:focus-within { border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(246, 196, 83, .35); }
.nx-search svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; }
.nx-search input { flex: 1; min-width: 0; padding: 12px 4px; border: 0; background: none; color: var(--text); font: 500 18px var(--sans); letter-spacing: .02em; }
.nx-search input:focus { outline: none; }
.nx-search input::placeholder { color: var(--hint); }
.nx-hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* Just Added strip: newest numbers you can reserve */
.nx-new {
  display: flex;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1d150c;
  color: var(--ink);
  overflow: hidden;
}
.nx-new h2 {
  flex: none;
  margin: 0;
  padding: 14px 18px;
  background: var(--gold);
  color: #1d150c;
  font: 700 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nx-new-window { position: relative; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nx-new-window::-webkit-scrollbar { display: none; }
.nx-new-list { display: flex; gap: 8px; margin: 0; padding: 8px 10px; list-style: none; white-space: nowrap; }
.nx-new-list button {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 6px 12px; border: 1px solid transparent; border-radius: 8px;
  background: none; color: var(--gold); cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.nx-new-list button:hover, .nx-new-list button:focus-visible { background: rgba(246, 196, 83, .1); border-color: rgba(246, 196, 83, .45); }
.nx-new-num { font-family: var(--display); font-size: 20px; font-weight: 600; }
.nx-new-go { font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.nx-new-list button:hover .nx-new-go { color: var(--gold); }

/* Sidebar + results */
.nx-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; max-width: 1320px; margin: 0 auto; align-items: start; }
.nx-refine {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.nx-refine-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.nx-refine h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 600; }
.nx-clear { white-space: nowrap; }
.nx-clear, .nx-link { padding: 0; border: 0; background: none; color: var(--text); font: 600 13px var(--sans); text-decoration: underline; text-decoration-color: var(--gold-ink); text-decoration-thickness: 2px; text-underline-offset: 2px; cursor: pointer; }
.nx-refine fieldset { margin: 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); margin-top: 16px; }
.nx-refine legend, .nx-usage legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.nx-refine legend { float: left; width: 100%; }
.nx-refine legend + * { clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--field);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background-color .15s, border-color .15s;
}
.chip:hover span { border-color: var(--gold-ink); }
.chip input:checked + span { background: var(--on-bg); border-color: var(--on-bg); color: var(--on-fg); }
.chip input:focus-visible + span { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.nx select, .nx-price input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  font: 500 15px var(--sans);
}
.nx-price { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.nx-price label { display: flex; align-items: center; gap: 4px; flex: 1; }
.nx-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.nx-apply { display: none; }

.nx-results { min-width: 0; outline: none; scroll-margin-top: 96px; }
.nx-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.nx-count { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.nx-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.nx-sort select { width: auto; padding: 8px 10px; font-size: 14px; }
.nx-sort label + select + label { margin-left: 8px; }
.nx-filters-btn { display: none; }
.nx-filters-btn svg { width: 18px; height: 18px; margin-right: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nx-active { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.nx-active:empty { display: none; }
.nx-active button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(246, 196, 83, .18);
  color: var(--text); font: 500 13px var(--sans);
  cursor: pointer;
}
.nx-active button span[aria-hidden] { font-size: 16px; line-height: 1; color: var(--gold-ink); }

/* Rows: a table on desktop, stacked cards on phones */
.nx-rows { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nx-row {
  display: grid;
  /* Style tags aren't shown on rows; they only power the Style filter */
  grid-template-columns: minmax(230px, 1.5fr) minmax(120px, .9fr) minmax(130px, 1fr) minmax(90px, .6fr) 200px;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: background-color .15s, border-color .15s;
}
.nx-row:hover { background: var(--hover); border-color: var(--gold-ink); }
.nx-num { display: flex; flex-direction: column; gap: 2px; }
.nx-display { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: .01em; white-space: nowrap; }
.nx-digits { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.nx-featured { align-self: flex-start; margin-top: 6px; padding: 3px 8px; border-radius: 4px; background: var(--on-bg); color: var(--on-fg); font: 700 10px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.nx-where { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; }
.nx-where small { font-size: 13px; font-weight: 400; color: var(--muted); }
.nx-also { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nx-also-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nx-also ul { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.nx-also li { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--text); }
.nx-also li.is-match { color: var(--gold-ink); }
.nx-pricecol { display: flex; flex-direction: column; gap: 2px; }
.nx-inquire, .nx-price-main { font-family: var(--display); font-size: 20px; font-weight: 600; }
.nx-price-sub { font-size: 12px; color: var(--muted); }
.nx-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.nx-act .btn { padding: 12px 20px; font-size: 15px; }
.nx-about { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.nx-onhold { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nx-act .btn, .nx-onhold { width: 100%; }
.nx-onhold { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 20px; border: 1px dashed var(--muted); border-radius: 8px; }
.nx-row.is-pending { background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--tag-bg) 12px 24px); cursor: not-allowed; }
.nx-row.is-pending:hover { border-color: var(--line); }
.nx-row.is-pending .nx-display { background: none; -webkit-text-fill-color: var(--dim); color: var(--dim); filter: none; }

.nx-loading { padding: 40px 0; text-align: center; color: var(--muted); }

/* Pagination */
.nx-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 24px; }
.nx-pages:empty { display: none; }
.nx-pages button {
  min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--text);
  font: 600 14px var(--sans); cursor: pointer;
}
.nx-pages button:hover:not(:disabled) { border-color: var(--gold-ink); }
.nx-pages button.is-current { background: var(--on-bg); border-color: var(--on-bg); color: var(--on-fg); }
.nx-pages button:disabled { opacity: .45; cursor: default; }
.nx-gap { padding: 0 4px; color: var(--muted); }

/* Forms on cream and in dialogs (the homepage form styles assume a dark card) */
.nx-empty { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.nx-request-title, .nx-dialog h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.1; color: var(--text); }
.nx-dialog-lede { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.nx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.nx-form .field label, .nx-usage legend { color: var(--text); }
.nx-form .field label span { color: var(--muted); }
.nx-form .field input, .nx-form .field textarea { background: var(--field); color: var(--text); border-color: var(--line); }
.nx-form .field input::placeholder { color: var(--hint); }
.nx-form .form-error { color: #a3321c; font-weight: 600; }
.nx-form .form-success p { color: var(--text); }
.nx-form .form-success svg { stroke: var(--gold-ink); }
.nx-form .form-actions .btn { padding: 15px 34px; }
.nx-usage { margin: 0; padding: 0; border: 0; }
.nx-usage .nx-note { margin: 0 0 10px; }
.nx-demo { margin: -8px 0 18px; padding: 10px 14px; border-left: 3px solid var(--gold-ink); background: rgba(246, 196, 83, .16); font-size: 14px; color: var(--text); }

/* Dialogs */
.nx-dialog {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.nx-dialog::backdrop { background: rgba(10, 7, 5, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.nx-dialog .nx-dialog-num { margin-bottom: 14px; }
.nx-dialog a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold-ink); text-decoration-thickness: 2px; }
.nx-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.nx-x:hover { color: var(--text); }
.nx-dialog-big { margin: 0 0 8px; font-family: var(--display); font-size: 28px; font-weight: 600; font-style: italic; }
.nx-similar { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nx-similar li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.nx-similar-num { font-family: var(--display); font-size: 22px; font-weight: 600; }
.nx-similar .btn { padding: 10px 16px; font-size: 14px; }

/* Bottom band */
.nx-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  background: linear-gradient(90deg, rgba(13, 10, 7, .98) 0%, rgba(13, 10, 7, .94) 45%, rgba(13, 10, 7, .55) 100%), url("/assets/numbers-hero.webp") right 30% / cover no-repeat;
  border-top: 1px solid rgba(246, 196, 83, .25);
}
.nx-band > div { max-width: 640px; }
.nx-band .eyebrow { margin-bottom: 10px; }
.nx-band h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(32px, 3.6vw, 52px); font-weight: 600; line-height: 1.05; }
.nx-band p:not(.eyebrow) { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.nx-band .btn { padding: 16px 32px; }

/* ---------- Numbers page: responsive ---------- */
@media (max-width: 1180px) {
  .nx-row { grid-template-columns: minmax(190px, 1.4fr) minmax(110px, 1fr) minmax(90px, .7fr) 190px; }
  /* Also spells drops to its own line under the row */
  .nx-num { grid-column: 1; grid-row: 1; }
  .nx-where { grid-column: 2; grid-row: 1; }
  .nx-pricecol { grid-column: 3; grid-row: 1; }
  .nx-act { grid-column: 4; grid-row: 1; }
  .nx-also { grid-column: 1 / -1; grid-row: 2; flex-direction: row; align-items: baseline; gap: 12px; }
  .nx-also:empty { display: none; }
}
@media (max-width: 960px) {
  .nx-layout { grid-template-columns: 1fr; }
  .nx-filters-btn { display: inline-flex; padding: 10px 16px; font-size: 15px; background: var(--paper); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--gold-ink); }
  .nx-refine {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: min(360px, 88vw);
    border-radius: 0 12px 12px 0;
    overflow-y: auto;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nx-refine.is-open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(10, 7, 5, .55); }
  .nx-apply { display: flex; width: 100%; margin-top: 22px; }
  .nx-count { order: 3; width: 100%; }
  .nx-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nx-rows { border: 0; background: none; display: flex; flex-direction: column; gap: 12px; }
  .nx-row {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }
  .nx-row + .nx-row { border-top: 1px solid var(--line); }
  .nx-num { grid-column: 1 / -1; grid-row: auto; }
  .nx-where { grid-column: 1; grid-row: auto; }
  .nx-pricecol { grid-column: 2; grid-row: auto; text-align: right; }
  .nx-also { grid-column: 1 / -1; grid-row: auto; order: 1; }
  .nx-act { order: 2; grid-column: 1 / -1; grid-row: auto; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .nx-act .btn, .nx-onhold { flex: 1 1 auto; justify-content: center; }
  .nx-sort { margin-left: 0; }
  .nx-form { grid-template-columns: 1fr; }
  .nx-similar li { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nx-search { padding-left: 12px; }
  .nx-search .btn { padding: 12px 16px; font-size: 15px; }
  .nx-new h2 { padding: 14px 12px; font-size: 11px; }
  .nx-new-num { font-size: 17px; }
  .nx-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-refine, .chip span { transition: none; }
}

/* Overrides for the shared main flex column and the hidden attribute */
main.nx { display: block; }
.nx-new[hidden], .nx-step[hidden] { display: none; }

/* ---------- About this number (/numbers/:digits) and reservation confirmation (/reserved) ---------- */
.nx-single { max-width: 820px; margin: 0 auto; }
.nx-card { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.nx-back { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.nx-card h1 { margin: 0 0 6px; font-family: var(--display); font-size: clamp(40px, 6vw, 72px); font-weight: 600; line-height: 1; }
.nx-card .nx-digits { font-size: 16px; }
.nx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin: 28px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.nx-facts dt { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nx-facts dd { margin: 0; font-size: 17px; font-weight: 600; }
.nx-card p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.nx-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.nx-steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; }
.nx-steps li { position: relative; padding: 0 0 22px 52px; counter-increment: s; }
.nx-steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1d150c; color: var(--gold);
  font: 600 17px var(--display);
}
.nx-steps h2 { margin: 0 0 4px; font-family: var(--display); font-size: 21px; font-weight: 600; }
.nx-steps p { margin: 0; }

/* Gold numbers: gradient fill clipped to the text, with a hairline shadow to keep edges crisp on cream */
.nx-display, .nx-card h1, .nx-dialog .nx-dialog-num, .nx-similar-num {
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #c28a1e;
  filter: drop-shadow(0 1px 0 rgba(110, 70, 5, .28));
}

/* ---------- Glass look: the page sits on a blurred copy of the banner photo, like the other pages ----------
   Dark glass is the default; html.glass-light switches to translucent white panels. Dialogs keep the cream look. */
.numbers-page::before {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: -1;
  background: url("/assets/numbers-hero.webp") 70% center / cover no-repeat;
  filter: blur(14px) brightness(.68) saturate(1.1);
}
.nx {
  --text: var(--ink);
  --muted: #cfc1ab;
  --hint: rgba(244, 237, 225, .5);
  --line: rgba(246, 196, 83, .2);
  --paper: rgba(20, 15, 11, .76);
  --field: rgba(0, 0, 0, .35);
  --hover: rgba(28, 20, 13, .88);
  --on-bg: var(--gold);
  --on-fg: #1d150c;
  --tag-bg: rgba(246, 196, 83, .14);
  --tag-fg: #f3dfae;
  --eyebrow: var(--gold);
  --dim: rgba(244, 237, 225, .38);
  --gold-ink: #f6c453;
  --gold-grad: linear-gradient(180deg, #ffe08a 0%, #f6c453 45%, #e19a1f 100%);
}
html.glass-light .nx {
  --text: #1d150c;
  --muted: #5e4f3c;
  --hint: #8c7c66;
  --line: rgba(138, 90, 43, .24);
  --paper: rgba(250, 246, 238, .93);
  --field: #fff;
  --hover: rgba(255, 253, 248, .97);
  --on-bg: #1d150c;
  --on-fg: var(--gold);
  --tag-bg: rgba(138, 90, 43, .1);
  --tag-fg: #5a4020;
  --eyebrow: #1d150c;
  --dim: #a39583;
  --gold-ink: #b98420;
  --gold-grad: linear-gradient(180deg, #e3b24a 0%, #d0961f 48%, #b47a12 100%);
}
.nx-row, .nx-refine, .nx-search, .nx-empty, .nx-card, .nx-pages button {
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.nx select option { background: #1d150c; color: var(--ink); }
html.glass-light .nx select option { background: #fff; color: #1d150c; }
.nx .nx-search { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.nx-filters-btn.btn-ghost { background: var(--paper); color: var(--text); }
.nx-active button { color: var(--text); }
/* Light glass: the heading needs its own panel to stay readable over the photo */
html.glass-light .nx-head { padding: clamp(24px, 3vw, 36px); border-radius: 14px; background: var(--paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nx-steps li::before { background: var(--on-bg); color: var(--on-fg); }
/* Text that sits straight on the photo (not in a panel) stays light in both looks */
.nx-count, .nx-sort, .nx-gap { color: #e9dfcf; }
.nx-active button { background: var(--paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
