/* ChronoLume — dark lume aesthetic */
:root {
  --bg: #07080c;
  --bg-elev: #0e1016;
  --bg-card: #12151e;
  --bg-card-hover: #171b27;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #e8e6df;
  --text-muted: #9a968a;
  --text-dim: #6b675c;
  --lume: #7dff9a;
  --lume-soft: rgba(125, 255, 154, 0.14);
  --lume-glow: rgba(125, 255, 154, 0.35);
  --nixie: #ff8a3d;
  --nixie-soft: rgba(255, 138, 61, 0.14);
  --nixie-glow: rgba(255, 138, 61, 0.4);
  --accent: #c9b896;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: min(1600px, 100vw - 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  /* No top-right orange haze/backlight sitewide (Alexander 2026-09-22) */
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(125, 255, 154, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.95rem 0;
}
.nav .site-search {
  margin-left: auto;
}
.nav .shopkeeper {
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.02rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-block;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border: 0;
  outline: none;
  border-radius: 0;
  background-color: #07080c;
  background-image: url("/images/logo-crescent-moon.png?v=3");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: none;
  filter: none;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lume), var(--nixie));
  opacity: 0.85;
}

/* ——— Hero ——— */
.hero {
  padding: 3.25rem 0 1.25rem;
  position: relative;
}
.hero-inner {
  max-width: 42rem;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lume);
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}
.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  color: var(--accent);
  margin: 0 0 1rem;
}
.lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #1d3a28, #2a4a20);
  color: var(--lume);
  border-color: rgba(125, 255, 154, 0.35);
  box-shadow: 0 0 24px var(--lume-soft);
}
.btn-primary:hover {
  box-shadow: 0 0 32px var(--lume-glow);
}
.btn-nixie {
  background: linear-gradient(135deg, #3a2414, #4a2e18);
  color: var(--nixie);
  border-color: rgba(255, 138, 61, 0.4);
  box-shadow: 0 0 24px var(--nixie-soft);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-muted);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}
.btn-buy {
  width: 100%;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-buy:hover {
  background: var(--lume-soft);
  border-color: rgba(125, 255, 154, 0.4);
  color: var(--lume);
}
.card--nixie .btn-buy:hover {
  background: var(--nixie-soft);
  border-color: rgba(255, 138, 61, 0.45);
  color: var(--nixie);
}

.btn-buy--disabled,
.btn-buy:disabled {
  width: 100%;
  margin-top: auto;
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text-muted);
}
.btn-buy--disabled:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text-muted);
}

/* ——— Sections ——— */
.section { padding: 0.75rem 0 3.5rem; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  margin: 0;
}
.section-head p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  max-width: 32rem;
}
.page-hero {
  padding: 2.75rem 0 1.25rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 600;
}
.page-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 46rem;
  margin: 0;
  line-height: 1.7;
}

/* ——— Tabs / filters ——— */
.tabs, .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.tab, .filter-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s;
}
.tab:hover, .filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.tab.active {
  background: var(--lume-soft);
  border-color: rgba(125, 255, 154, 0.45);
  color: var(--lume);
  box-shadow: 0 0 16px var(--lume-soft);
}
.filter-btn.active {
  background: var(--nixie-soft);
  border-color: rgba(255, 138, 61, 0.5);
  color: var(--nixie);
  box-shadow: 0 0 16px var(--nixie-soft);
}
.filter-group {
  margin-bottom: 1rem;
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.45rem;
}
.grid-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.grid-toolbar .count-line {
  margin: 0;
}
.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.sort-control select {
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}
.sort-control select:focus-visible {
  outline: 1px solid var(--lume, #7dffb3);
  outline-offset: 2px;
}

.count-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0 0 1rem;
}
/* Hub back link — bright lume so ← Back is easy to spot on dark pages */
.count-line > a {
  color: var(--lume);
  font-weight: 500;
  text-shadow: 0 0 10px var(--lume-glow), 0 0 22px rgba(125, 255, 154, 0.45);
  transition: color 0.15s ease, text-shadow 0.15s ease, filter 0.15s ease;
}
.count-line > a:hover,
.count-line > a:focus-visible {
  color: #f5fff7;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.55), 0 0 28px var(--lume-glow);
  outline: none;
}

/* ——— Cards ——— */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
  align-items: stretch;
  justify-items: stretch;
}
.grid > .card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}
html[data-art-profile="2560x1080"] .grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
}

/* Product rows: 1920 = 4 cards sized like 2560 six-across; 2560 keeps full 1600 band */
.wrap:has(> .grid),
.wrap:has(> #featured-grid),
.wrap:has(> #watch-grid),
.wrap:has(> #nixie-grid),
.wrap:has(> #bands-grid),
.wrap:has(.grid) {
  width: min(100vw - 8rem, calc((1600px - 5 * 1.15rem) * 4 / 6 + 3 * 1.15rem));
  max-width: none;
}
html[data-art-profile="2560x1080"] .wrap:has(> .grid),
html[data-art-profile="2560x1080"] .wrap:has(> #featured-grid),
html[data-art-profile="2560x1080"] .wrap:has(> #watch-grid),
html[data-art-profile="2560x1080"] .wrap:has(> #nixie-grid),
html[data-art-profile="2560x1080"] .wrap:has(> #bands-grid),
html[data-art-profile="2560x1080"] .wrap:has(.grid) {
  width: min(100vw - 8rem, 1600px);
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.card-media {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background: transparent;
  overflow: visible; /* dots sit under the photo stage */
}
/* Equal window for every product — image letterboxed, never cropped */
.grid > .card .card-media {
  width: 100%;
  aspect-ratio: auto;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0a0c12;
  transition: opacity 0.25s ease;
}
.card-media img[hidden],
.card-media img.is-broken {
  display: none !important;
}
.card-gallery .card-placeholder,
.card-media-link .card-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, var(--lume-soft), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(201, 184, 150, 0.12), transparent 45%),
    linear-gradient(145deg, #141821, #0a0c12 60%, #151018);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.card--nixie .card-placeholder {
  background:
    radial-gradient(circle at 40% 45%, var(--nixie-soft), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 90, 40, 0.12), transparent 40%),
    linear-gradient(145deg, #1a1210, #0a0c12 60%, #120e0c);
}
.card-placeholder span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--text-dim);
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.card-placeholder[hidden] {
  display: none !important;
}
.card-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
  min-width: 0;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.pill {
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.pill-lume { color: var(--lume); border-color: rgba(125, 255, 154, 0.25); }
.pill-nixie { color: var(--nixie); border-color: rgba(255, 138, 61, 0.3); }
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0.15rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-verdict {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.card-price--see {
  color: var(--lume, #7dff9a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.card-price--see:hover,
.card-price--see:focus-visible {
  color: #b6ffd0;
}

.card-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
}
.card-seller {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.card-affil {
  margin: 0.15rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  opacity: 0.9;
}

/* ——— About / Contact ——— */
.prose {
  max-width: 42rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 2rem 0 0.75rem;
}
.prose p { color: var(--text-muted); margin: 0 0 1rem; }
.timeline {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}
.tl-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.tl-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lume);
}
.tl-item--nixie .tl-year { color: var(--nixie); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-card, .note-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.form-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-row input,
.form-row textarea {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(125, 255, 154, 0.45);
  box-shadow: 0 0 0 3px var(--lume-soft);
}
.form-status {
  font-size: 0.88rem;
  color: var(--lume);
  min-height: 1.25rem;
  margin: 0.5rem 0 0;
}
.note-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}
.note-card p { color: var(--text-muted); margin: 0 0 0.75rem; font-size: 0.95rem; }


/* ——— Footer ——— */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  padding: 2rem 0 2.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: start;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}
.footer-disclosure {
  max-width: 36rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}
.footer-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: right;
}
.footer-meta a { color: var(--text-muted); }
.footer-meta a:hover { color: var(--accent); }

.empty-state {
  grid-column: 1 / -1;
  padding: 2.5rem;
  text-align: center;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .tl-item { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ——— Card actions / admin remove ——— */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
}
.card-actions .btn-buy {
  margin-top: 0;
}
.btn-remove {
  width: 100%;
  padding: 0.5rem 1rem;
  background: transparent;
  border-color: rgba(255, 100, 100, 0.28);
  color: #e8a0a0;
  font-size: 0.82rem;
}
.btn-remove:hover {
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 120, 120, 0.5);
  color: #ffb4b4;
  box-shadow: none;
}

/* ——— Footer admin ——— */
.footer-admin {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.btn-admin-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.65;
  transition: color 0.15s, opacity 0.15s;
}
.btn-admin-link:hover {
  color: var(--accent);
  opacity: 1;
}
.admin-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lume);
  opacity: 0.85;
}
.admin-hidden-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}


.card-media-link {
  display: block;
  position: relative;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}
.card-media-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


/* Home: compact intro — first product row in view, less hero weight */
body[data-page="home"] .site-header {
  padding: 0.45rem 0;
}
body[data-page="home"] .hero {
  padding: 0.65rem 0 0.15rem;
}
body[data-page="home"] .hero-inner {
  max-width: none;
  width: min(100vw - 8rem, calc((1600px - 5 * 1.15rem) * 4 / 6 + 3 * 1.15rem));
}
html[data-art-profile="2560x1080"] body[data-page="home"] .hero-inner {
  width: min(100vw - 8rem, 1600px);
}
body[data-page="home"] .hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  margin: 0 0 0.15rem;
}
body[data-page="home"] .kicker {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
}
body[data-page="home"] .tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin: 0 0 0.45rem;
}
body[data-page="home"] .lede {
  display: none; /* home keeps the short tagline only */
}
body[data-page="home"] .hero-actions {
  gap: 0.45rem;
  margin: 0;
}
body[data-page="home"] .hero-actions .btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
}
body[data-page="home"] .section {
  padding: 0.1rem 0 2rem;
}
body[data-page="home"] .section-head {
  margin-bottom: 0.55rem;
  gap: 0.4rem 1rem;
  align-items: center;
}
body[data-page="home"] .section-head h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
body[data-page="home"] .section-head p {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
}
/* Why ChronoLume — same left edge as Featured, wider readable line */
.why-chronolume .section-head {
  margin-bottom: 0;
}
.why-chronolume .section-head p {
  max-width: 48rem;
}

body[data-page="home"] #featured-grid.grid {
  gap: 0.85rem;
}
body[data-page="home"] #featured-grid .card-gallery,
body[data-page="home"] #featured-grid .card-media-link,
body[data-page="home"] #featured-grid .card-media-link--gallery {
  aspect-ratio: 4 / 3;
}
body[data-page="home"] #featured-grid .card-body {
  padding: 0.7rem 0.8rem 0.85rem;
}
@media (min-width: 900px) {
  body[data-page="home"] .hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1rem;
  }
  body[data-page="home"] .hero-inner .kicker {
    flex: 1 0 100%;
  }
  body[data-page="home"] .hero-inner h1 {
    margin: 0;
  }
  body[data-page="home"] .hero-inner .tagline {
    margin: 0;
    flex: 1 1 auto;
  }
  body[data-page="home"] .hero-inner .hero-actions {
    flex-direction: row;
    margin-left: auto;
  }
}
/* end home compact */

/* Top admin bar — above page chrome */
.admin-top[hidden] {
  display: none !important;
}
.admin-top {
  position: sticky;
  top: 0;
  z-index: 10050;
  background: rgba(8, 14, 12, 0.94);
  border-bottom: 1px solid rgba(125, 255, 154, 0.28);
  backdrop-filter: blur(10px);
}
.admin-top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  padding: 0.4rem 0;
  font-size: 0.82rem;
}
.admin-top .btn-admin-link {
  padding: 0.28rem 0.7rem;
}
.admin-top .admin-badge {
  margin-right: 0.15rem;
}
body.arrange-art .admin-top {
  border-bottom-color: rgba(125, 255, 154, 0.55);
}

/* Multi-image gallery — photo window + dots UNDERNEATH (Synesense-style) */
.card-media {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible !important;
  aspect-ratio: auto !important;
  background: transparent !important;
}
.grid > .card .card-media {
  aspect-ratio: auto !important;
}
.card-gallery,
.card-media-link,
.card-media-link--gallery {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0a0c12;
  overflow: hidden;
}
.card-media .card-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0a0c12;
}
.card-dots {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.28rem 0.35rem;
  padding: 0.45rem 0.35rem 0.15rem;
  margin: 0;
  background: transparent;
  pointer-events: auto;
  max-width: 100%;
}
.card-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
@media (max-width: 640px) {
  .card-dots { gap: 0.22rem 0.28rem; padding: 0.35rem 0.25rem 0.1rem; }
  .card-dot { width: 0.42rem; height: 0.42rem; }
}
.card-dot:hover {
  transform: scale(1.15);
  border-color: rgba(125, 255, 154, 0.85);
}
.card-dot.is-active {
  background: rgba(125, 255, 154, 0.95);
  border-color: rgba(125, 255, 154, 0.95);
  transform: scale(1.2);
}
.card--nixie .card-dot.is-active {
  background: rgba(255, 138, 61, 0.95);
  border-color: rgba(255, 138, 61, 0.95);
}
/* Country/maker badge retired from photo overlay — data remains in products.json */
.card-badge { display: none !important; }

/* User rating slider (Synesense-style) — under caption, not on image */
/* Ranked grids: DOM order IS the sorted order (js/glow-rank.js). No CSS order-by-score. */
.rank-group {
  display: grid;
}
.card-rating {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.15rem 0 0.35rem;
}
.card-rating-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 154, 0.45);
  color: #b8ffc8;
  background: rgba(20, 60, 35, 0.55);
}
.card-rating-badge[hidden] { display: none !important; }
.card-rating-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.card-rating-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.card-rating-slider {
  flex: 1;
  min-width: 0;
  accent-color: #7dff9a;
  height: 1.1rem;
  cursor: pointer;
}
.card--nixie .card-rating-slider { accent-color: #ff8a3d; }
.card-rating-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-width: 1.75rem;
  text-align: right;
  color: #e8ffe8;
}
.card-rating-heart {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 154, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #7a9a84;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.card-rating-heart:hover {
  color: #ff6b8a;
  border-color: rgba(255, 107, 138, 0.55);
  transform: scale(1.06);
}
.card-rating-heart.is-fav,
.card-rating-heart.is-saved {
  color: #ff4d6d;
  background: rgba(80, 20, 35, 0.55);
  border-color: rgba(255, 77, 109, 0.65);
}
.card-rating-status {
  margin: 0;
  font-size: 0.72rem;
  color: #9fd9b0;
  min-height: 1em;
}
.card-rating-status[hidden] { display: none !important; }

/* Locked ratings: shoppers cannot change; admin (chronolume-admin=1) can */
.is-rating-locked .card-rating-slider,
.is-rating-locked .card-rating-heart {
  opacity: 0.45;
  cursor: not-allowed;
}
.is-rating-locked .card-rating-heart { pointer-events: none; }



/* ——— Card expand + in-site lightbox (page art stays visible) ——— */
.card-expand { display: none !important; /* retired: photo click opens lightbox */
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 30;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 154, 0.45);
  background: rgba(7, 8, 12, 0.82);
  color: #7dff9a;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.card-expand:hover {
  background: rgba(20, 40, 28, 0.95);
  border-color: rgba(125, 255, 154, 0.75);
  transform: scale(1.06);
}
.card--nixie .card-expand {
  border-color: rgba(255, 138, 61, 0.45);
  color: #ff8a3d;
}
body.lightbox-open {
  overflow: hidden;
}
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.product-lightbox[hidden] {
  display: none !important;
}
.plb-wash {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.45);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.plb-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(125, 255, 154, 0.22);
  background: rgba(8, 10, 14, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}
.plb-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text, #e8ece8);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.plb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42vh;
  flex: 1;
}
.plb-img {
  max-width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  border-radius: 10px;
  background: #0a0c12;
}
.plb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 154, 0.3);
  background: rgba(7, 8, 12, 0.7);
  color: #7dff9a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.plb-prev { left: 0.25rem; }
.plb-next { right: 0.25rem; }
.plb-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.plb-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}
.plb-dot.is-active {
  background: #7dff9a;
  box-shadow: 0 0 8px rgba(125, 255, 154, 0.45);
}
.plb-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.plb-title {
  flex: 1 1 12rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text, #e8ece8);
}
.plb-affil {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}
.plb-buy {
  margin-left: auto;
}


.grid.rank-group,
.rank-group.grid {
  display: grid;
}

/* Page controls under ranked grids (?page=N) */
.grid-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.4rem auto 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  position: relative;
  z-index: 2;
}
.grid-pager[hidden] { display: none !important; }
.grid-pager-pages { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; }
.grid-pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.1rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 154, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #d8ffe0;
  text-decoration: none;
  letter-spacing: 0.04em;
}
a.grid-pager-btn:hover { border-color: rgba(125, 255, 154, 0.75); color: #fff; }
.grid-pager-btn.is-current {
  background: rgba(40, 110, 60, 0.75);
  border-color: rgba(125, 255, 154, 0.85);
  color: #fff;
}
.grid-pager-btn.is-disabled { opacity: 0.35; cursor: default; }
.grid-pager-status { color: var(--text-dim); margin-left: 0.4rem; }

.plb-zoombar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
}
.plb-zoom {
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 154, 0.35);
  background: rgba(7, 8, 12, 0.75);
  color: #7dff9a;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.plb-zoom:hover {
  border-color: rgba(125, 255, 154, 0.7);
  background: rgba(20, 40, 28, 0.95);
}
.plb-zoom-pct {
  min-width: 3.2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim, #9aa39a);
}
.plb-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: min(68vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  touch-action: none;
  cursor: zoom-in;
}
.plb-viewport.is-zoomed { cursor: grab; }
.plb-viewport.is-panning { cursor: grabbing; }
.plb-viewport .plb-img {
  max-width: 100%;
  max-height: min(68vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  background: #0a0c12;
  border-radius: 10px;
}

/* Admin-only delete (Synesense-style) — hidden for visitors via missing button in HTML;
   reinforce when body.is-admin is set */
body.is-admin .btn-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 90, 0.45);
  background: rgba(60, 16, 16, 0.55);
  color: #ffb4b4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
body.is-admin .btn-remove:hover {
  background: rgba(120, 24, 24, 0.75);
  border-color: rgba(255, 120, 120, 0.7);
  color: #fff;
}

/* Kits excite strip: compact label + video links (no name credit) */
.glow-excite-strip {
  width: fit-content;
  max-width: min(100%, 42rem);
  box-sizing: border-box;
  margin: 0.55rem 0 0;
  padding: 0.2rem 0;
  border: none;
  background: transparent;
}
.glow-excite-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.25rem 0.45rem;
}
.glow-excite-text {
  margin: 0;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.8rem;
  letter-spacing: normal;
  word-spacing: normal;
  font-weight: 500;
  color: var(--lume);
  text-shadow: none;
  white-space: nowrap;
}
.glow-excite-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  white-space: nowrap;
  gap: 0.2rem 0.35rem;
}
.glow-excite-link {
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: normal;
  word-spacing: normal;
  color: var(--lume);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--lume);
  text-shadow: none;
  padding: 0;
}
.glow-excite-link:hover,
.glow-excite-link:focus-visible {
  color: var(--lume);
  filter: brightness(1.15);
  border-bottom-color: currentColor;
  text-shadow: none;
}

/* Shopper <-> Editing mode switch */
.mode-switch {
  display: inline-flex;
  border: 1px solid color-mix(in srgb, var(--lume) 35%, var(--border));
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-elev);
}
.mode-switch-btn {
  appearance: none;
  border: none;
  margin: 0;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text-dim);
  background: transparent;
  transition: color 0.15s, background 0.15s;
}
.mode-switch-btn:hover {
  color: var(--text);
}
.mode-switch-btn.is-active {
  color: #06100a;
  background: var(--lume);
  font-weight: 600;
}
.admin-mode-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lume);
  opacity: 0.9;
}
.admin-top .mode-switch {
  margin-right: 0.35rem;
}

.buy-disc{display:block;margin-top:.35rem;font-size:.72rem;opacity:.75;line-height:1.3}


/* Legal / hazard callouts on category pages */
.legal-callout {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(120, 255, 160, 0.28);
  border-radius: 10px;
  background: rgba(0, 20, 10, 0.55);
  max-width: 52rem;
}
.legal-callout p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(220, 255, 230, 0.92);
}
.legal-callout a {
  color: #7dffb0;
  text-decoration: underline;
}


/* ——— Site search (header far right) ——— */
.site-search {
  position: relative;
  margin-left: auto;
  flex: 0 1 220px;
  min-width: 140px;
  max-width: 260px;
}
.site-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.9);
  overflow: hidden;
}
.site-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.75rem 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
}
.site-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}
.site-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--lume);
  padding: 0.35rem 0.7rem 0.35rem 0.25rem;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}
.site-search-btn:hover { color: #b6ffc9; }
.site-search-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  filter: drop-shadow(0 0 5px rgba(46, 140, 80, 0.45));
}
.site-search-btn:hover .site-search-icon {
  filter: drop-shadow(0 0 10px rgba(125, 255, 154, 0.85));
}
.site-search-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  width: min(360px, 92vw);
  max-height: min(70vh, 420px);
  overflow: auto;
  z-index: 80;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 12, 18, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  padding: 0.35rem;
}
mark.search-hit {
  background: #ffe566;
  color: #111;
  padding: 0 0.12em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background 0.6s ease, color 0.6s ease, padding 0.6s ease;
}
mark.search-hit.is-faded {
  background: transparent;
  color: inherit;
  padding: 0;
}

.site-search-hit {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}
.site-search-hit:hover {
  background: rgba(120, 255, 160, 0.08);
}
.site-search-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #151821;
}
.site-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-search-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: #1a1d28;
}
.site-search-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.site-search-name {
  font-size: 0.86rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-search-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.site-search-empty {
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
@media (max-width: 720px) {
  .site-search {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
    order: 3;
  }
}
.search-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.search-page-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  max-width: 36rem;
}
.search-page-form input[type="search"] {
  flex: 1 1 220px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.9);
  color: var(--text);
  padding: 0.65rem 1rem;
  font: inherit;
}

.site-search-more {
  display: block;
  padding: 0.55rem 0.65rem;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--lume);
  text-decoration: none;
  border-top: 1px solid var(--border);
}
.site-search-more:hover { color: var(--text); }

/* Shopkeeper help bot — green lume control after header search */
.shopkeeper {
  position: relative;
  display: flex;
  align-items: center;
}
.shopkeeper-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--lume, #7dff9a);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.shopkeeper-btn:hover,
.shopkeeper.is-open .shopkeeper-btn {
  color: #eafff0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.shopkeeper-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #7dff9a;
  box-shadow: 0 0 8px rgba(125, 255, 154, 0.9), 0 0 14px rgba(182, 255, 201, 0.55);
}
.shopkeeper-label { line-height: 1; }
.shopkeeper-icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  animation: shopkeeper-pulse 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(46, 140, 80, 0.45));
}
.shopkeeper-icon--sm {
  width: 1.25rem;
  height: 1.25rem;
  animation-duration: 2.4s;
}
.shopkeeper-btn--live { padding: 0; }
@keyframes shopkeeper-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.shopkeeper-live {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a1a10;
  background: #7dff9a;
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
  box-shadow: 0 0 10px rgba(125, 255, 154, 0.65);
  animation: shopkeeper-live-blink 1.8s ease-in-out infinite;
}
@keyframes shopkeeper-live-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(125, 255, 154, 0.55); }
  50% { opacity: 0.72; box-shadow: 0 0 14px rgba(182, 255, 201, 0.9); }
}
.shopkeeper.is-unavailable .shopkeeper-icon {
  animation: none;
  opacity: 0.45;
  filter: grayscale(0.7);
}
.shopkeeper.is-unavailable .shopkeeper-live { display: none; }

.shopkeeper-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-height: min(28rem, 70vh);
  display: flex;
  flex-direction: column;
  border-radius: 0.85rem;
  border: 1px solid rgba(182, 255, 201, 0.35);
  background: rgba(8, 10, 14, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(125, 255, 154, 0.12);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.shopkeeper-panel[hidden] { display: none !important; }
.shopkeeper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(182, 255, 201, 0.18);
}
.shopkeeper-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: #b6ffc9;
  font-size: 0.92rem;
}
.shopkeeper-close {
  border: 0;
  background: transparent;
  color: var(--muted, #9aa3b2);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}
.shopkeeper-close:hover { color: #b6ffc9; }
.shopkeeper-msgs {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 8rem;
  max-height: 14rem;
}
.shopkeeper-msg {
  max-width: 95%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-word;
}
.shopkeeper-msg--user {
  align-self: flex-end;
  background: rgba(125, 255, 154, 0.16);
  border: 1px solid rgba(182, 255, 201, 0.28);
  color: #eafff0;
}
.shopkeeper-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  color: var(--text, #e8ecf4);
}
.shopkeeper-msg--bot a { color: #b6ffc9; }
.shopkeeper-msg--wait { opacity: 0.7; font-style: italic; }
.shopkeeper-disclaimer {
  margin: 0;
  padding: 0.35rem 0.75rem 0.15rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted, #9aa3b2);
}
.shopkeeper-disclaimer a { color: #b6ffc9; }
.shopkeeper-form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem 0.7rem;
  border-top: 1px solid rgba(182, 255, 201, 0.14);
}
.shopkeeper-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.42rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(182, 255, 201, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text, #e8ecf4);
  font: inherit;
  font-size: 0.82rem;
}
.shopkeeper-input:focus {
  outline: none;
  border-color: rgba(182, 255, 201, 0.65);
  box-shadow: 0 0 0 2px rgba(125, 255, 154, 0.15);
}
.shopkeeper-send,
.shopkeeper-mic {
  flex: 0 0 auto;
  border-radius: 0.45rem;
  border: 1px solid rgba(182, 255, 201, 0.4);
  background: rgba(125, 255, 154, 0.12);
  color: #b6ffc9;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.6rem;
  cursor: pointer;
}
.shopkeeper-send:hover,
.shopkeeper-mic:hover {
  background: rgba(125, 255, 154, 0.22);
  color: #eafff0;
}
.shopkeeper-mic.is-listening {
  border-color: #7dff9a;
  box-shadow: 0 0 12px rgba(125, 255, 154, 0.45);
}

.shopkeeper.is-unavailable .shopkeeper-btn {
  opacity: 0.55;
  color: #9aa3b2;
  cursor: not-allowed;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.shopkeeper.is-unavailable .shopkeeper-dot {
  background: #6b7280;
  box-shadow: none;
}
.shopkeeper.is-unavailable .shopkeeper-label {
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .shopkeeper-panel {
    position: fixed;
    top: auto;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-height: 70vh;
  }
  .shopkeeper-label { /* keep compact */ }
}



/* Nation hub "sOOn" — same vibe as live chronolume.net coming-soon */
.hub-soon {
  margin: 2.5rem auto 3rem;
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #07080c;
  border-radius: 1rem;
  padding: 3rem 1.25rem;
}
.hub-soon__word {
  margin: 0;
  font-size: clamp(3.5rem, 16vw, 7.5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #7dff9a;
  text-align: center;
  text-shadow:
    0 0 8px rgba(125, 255, 154, 0.95),
    0 0 24px rgba(125, 255, 154, 0.75),
    0 0 48px rgba(125, 255, 154, 0.45),
    0 0 96px rgba(125, 255, 154, 0.25);
  user-select: none;
}
.hub-soon__note {
  margin: 1.25rem auto 0;
  color: #9a968a;
  font-size: 0.95rem;
  max-width: 28rem;
  text-align: center;
  line-height: 1.45;
}
.hub-soon__back {
  margin: 1.5rem 0 0;
  text-align: center;
}
.hub-soon__back a {
  color: #7dff9a;
  font-weight: 500;
  text-decoration: none;
}
.hub-soon__back a:hover { text-decoration: underline; }


/* Editing: inline copy fields */
body.is-admin p.page-intro.is-copy-editable,
body.is-admin h1.is-copy-editable {
  outline: 1px dashed rgba(125, 255, 154, 0.55);
  outline-offset: 4px;
  cursor: text;
  min-height: 1.2em;
}
body.is-admin p.page-intro.is-copy-editable:focus,
body.is-admin h1.is-copy-editable:focus {
  outline: 1px solid rgba(125, 255, 154, 0.9);
  background: rgba(125, 255, 154, 0.06);
}
body.arrange-art > main p.page-intro,
body.arrange-art > main h1,
body.arrange-art > main .page-hero h1 {
  pointer-events: auto !important;
}

}

/* SEARCH ALWAYS CLICKABLE */
.site-header { position: sticky; z-index: 200; pointer-events: auto; }
.site-header .site-search, .site-header .site-search-input, .site-header .site-search-btn { pointer-events: auto !important; }


/* Search results — clean focus, no scene art / moons / bulbs */
body.page-search-clean {
  background: #0b0d12;
}
body.page-search-clean .page-hero {
  padding-bottom: 1rem;
}
body.page-search-clean #search-results.grid {
  position: relative;
  z-index: 1;
}
body.page-search-clean .segments-bg,
body.page-search-clean .seg,
body.page-search-clean .seg-object,
body.page-search-clean .seg-moon,
body.page-search-clean .seg-light-toggle,
body.page-search-clean [data-moon-toggle],
body.page-search-clean [data-light-toggle],
body.page-search-clean .glow-toggle-hint,
body.page-search-clean .chrono-clock,
body.page-search-clean .brand-mark,
body.page-search-clean .arrange-bar,
body.page-search-clean .segments-wash {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.page-search-clean .brand--text-only .brand-mark {
  display: none !important;
}

body.page-search-clean .search-results-section {
  padding-top: 1.25rem;
}
body.page-search-clean .search-status-line {
  margin: 0 0 1rem;
  opacity: 0.85;
  font-size: 0.95rem;
}
body.page-search-clean .card-rating,
body.page-search-clean .btn-remove,
body.page-search-clean .admin-top,
body.page-search-clean .arrange-bar,
body.page-search-clean #footer-admin {
  display: none !important;
}

body.page-search-clean .search-results-heading {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}



/* No focus/hover outline ring on Ask Grok Bot */
.shopkeeper-btn,
.shopkeeper-btn:focus,
.shopkeeper-btn:focus-visible,
.shopkeeper-hit,
.shopkeeper-hit:focus {
  outline: none;
  border: 0;
}
.shopkeeper-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--lume, #7dff9a);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}


/* ——— 1920 profile: align hero/section text left edge with first product card; frost hugs copy ——— */
:root {
  --cl-product-band-1920: min(100vw - 8rem, calc((1600px - 5 * 1.15rem) * 4 / 6 + 3 * 1.15rem));
  --cl-product-band-2560: min(100vw - 8rem, 1600px);
}

/* Shared left gutter = left edge of centered product band */
html[data-art-profile="1920x1080"] {
  --cl-product-band: var(--cl-product-band-1920);
}
html[data-art-profile="2560x1080"] {
  --cl-product-band: var(--cl-product-band-2560);
}
/* Default (no attr yet / mid-boot): 1920 formula — Full HD primary */
html:not([data-art-profile]) {
  --cl-product-band: var(--cl-product-band-1920);
}

/* Home uses .hero > .wrap.hero-inner (NOT .page-hero) */
body[data-page="home"] .hero > .wrap.hero-inner {
  width: fit-content;
  max-width: var(--cl-product-band);
  margin-left: max(4rem, calc((100vw - min(100vw - 8rem, calc((1600px - 5 * 1.15rem) * 4 / 6 + 3 * 1.15rem))) / 2));
  margin-right: auto;
  box-sizing: border-box;
}
html[data-art-profile="2560x1080"] body[data-page="home"] .hero > .wrap.hero-inner {
  margin-left: max(4rem, calc((100vw - min(100vw - 8rem, 1600px)) / 2));
  max-width: var(--cl-product-band-2560);
}

/* Why ChronoLume + Featured section heads: same left edge as 4-product band */
body[data-page="home"] .why-chronolume > .wrap {
  width: var(--cl-product-band);
  max-width: none;
  margin-inline: auto;
}
body[data-page="home"] .why-chronolume .section-head,
body[data-page="home"] .section > .wrap > .section-head {
  width: fit-content;
  max-width: 100%;
}

/* Catalog hubs (bands/watches/kits/tubes/nixie): page-hero hug + align with grid */
body[data-page="bands"] .page-hero > .wrap,
body[data-page="watches"] .page-hero > .wrap,
body[data-page="kits"] .page-hero > .wrap,
body[data-page="tubes"] .page-hero > .wrap,
body[data-page="nixie"] .page-hero > .wrap {
  width: fit-content;
  max-width: var(--cl-product-band);
  margin-left: max(4rem, calc((100vw - min(100vw - 8rem, calc((1600px - 5 * 1.15rem) * 4 / 6 + 3 * 1.15rem))) / 2));
  margin-right: auto;
  box-sizing: border-box;
}
html[data-art-profile="2560x1080"] body[data-page="bands"] .page-hero > .wrap,
html[data-art-profile="2560x1080"] body[data-page="watches"] .page-hero > .wrap,
html[data-art-profile="2560x1080"] body[data-page="kits"] .page-hero > .wrap,
html[data-art-profile="2560x1080"] body[data-page="tubes"] .page-hero > .wrap,
html[data-art-profile="2560x1080"] body[data-page="nixie"] .page-hero > .wrap {
  margin-left: max(4rem, calc((100vw - min(100vw - 8rem, 1600px)) / 2));
  max-width: var(--cl-product-band-2560);
}

/* ——— PHONE derived from 1920 (2026-09-20) — do not alter 1920 rules ——— */
html[data-art-profile="phone"] body[data-page="home"] .hero {
  padding: 0.85rem 0 0.35rem;
}
html[data-art-profile="phone"] body[data-page="home"] .hero-inner {
  width: fit-content;
  max-width: min(100% - 1.5rem, 22rem);
  margin-left: 0.75rem;
  margin-right: auto;
  padding: 0.35rem 0.55rem;
}
html[data-art-profile="phone"] .page-hero {
  padding: 0.85rem 0 0.4rem;
}
html[data-art-profile="phone"] .page-hero > .wrap {
  width: fit-content;
  max-width: min(100% - 1.5rem, 22rem);
  margin-left: 0.75rem;
  margin-right: auto;
}
html[data-art-profile="phone"] body[data-page="home"] .section {
  padding: 0.15rem 0 1.25rem;
}
html[data-art-profile="phone"] .page-intro {
  max-width: 22rem;
  font-size: 0.92rem;
}

/* ——— PHONE fit content+art (shopper usable on ~390px) ——— */
html[data-art-profile="phone"] .grid {
  grid-template-columns: 1fr !important;
  gap: 0.75rem;
}


/* ——— PHONE / narrow bands: hero pad spans same width as product cards ——— */
html[data-art-profile="phone"] body[data-page="bands"] .page-hero > .wrap {
  width: min(100vw - 1.5rem, 24rem) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
html[data-art-profile="phone"] body[data-page="bands"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="bands"] .page-hero .legal-callout {
  max-width: none !important;
  width: 100%;
}
@media (max-width: 699px) {
  body[data-page="bands"] .page-hero > .wrap {
    width: min(100vw - 1.5rem, 24rem) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  body[data-page="bands"] .page-hero .page-intro,
  body[data-page="bands"] .page-hero .legal-callout {
    max-width: none !important;
    width: 100%;
  }
}

/* ——— PHONE / narrow: Bands = one band per line ——— */
html[data-art-profile="phone"] #bands-grid,
html[data-art-profile="phone"] body[data-page="bands"] .grid {
  grid-template-columns: 1fr !important;
}
@media (max-width: 699px) {
  body[data-page="bands"] #bands-grid,
  body[data-page="bands"] .grid {
    grid-template-columns: 1fr !important;
  }
}

html[data-art-profile="phone"] .wrap:has(> .grid),
html[data-art-profile="phone"] .wrap:has(> #featured-grid),
html[data-art-profile="phone"] .wrap:has(.grid) {
  width: min(100vw - 1.5rem, 24rem);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
html[data-art-profile="phone"] body[data-page="home"] .why-chronolume > .wrap,
html[data-art-profile="phone"] body[data-page="home"] .section-head {
  max-width: min(100% - 1.5rem, 24rem);
  margin-left: auto;
  margin-right: auto;
}
html[data-art-profile="phone"] body[data-page="home"] .section-head p {
  font-size: 0.88rem;
  max-width: 22rem;
}
html[data-art-profile="phone"] .segments-bg .seg,
html[data-art-profile="phone"] .segments-bg .seg-object {
  max-width: min(42vw, 160px);
}
html[data-art-profile="phone"] .segments-bg .seg-face {
  max-width: min(48vw, 150px);
}
html[data-art-profile="phone"] .site-header .nav {
  flex-wrap: wrap;
  gap: 0.35rem;
}
html[data-art-profile="phone"] .card-body {
  padding: 0.65rem 0.75rem 0.8rem;
}


/* ——— PHONE hero pad: slight right nudge + pad hugs text ——— */
html[data-art-profile="phone"] body[data-page="home"] .hero-inner {
  width: fit-content;
  max-width: min(100% - 1.5rem, 22rem);
  margin-left: 3.1rem;
  margin-right: auto;
  padding: 0.15rem 0.35rem;
  box-sizing: border-box;
}
html[data-art-profile="phone"] .page-hero > .wrap {
  width: fit-content;
  max-width: min(100% - 1.5rem, 22rem);
  margin-left: 3.1rem;
  margin-right: auto;
  padding: 0.15rem 0.35rem;
  box-sizing: border-box;
}
html[data-art-profile="phone"] body[data-page="home"] .why-chronolume > .wrap,
html[data-art-profile="phone"] body[data-page="home"] .section > .wrap .section-head {
  max-width: min(100% - 1.5rem, 22rem);
  margin-left: 3.1rem;
  margin-right: auto;
}
html[data-art-profile="phone"] .segments-bg .seg-face,
html[data-art-profile="phone"] .segments-bg [data-art-id*="face"] {
  max-width: min(28vw, 96px) !important;
}

html[data-art-profile="phone"] body[data-page="home"] .hero-inner,
html[data-art-profile="phone"] .page-hero > .wrap {
  background-clip: padding-box;
}
html[data-art-profile="phone"] body[data-page="home"] .hero-inner .kicker,
html[data-art-profile="phone"] body[data-page="home"] .hero-inner h1,
html[data-art-profile="phone"] body[data-page="home"] .hero-inner .tagline {
  margin-top: 0.05rem;
  margin-bottom: 0.05rem;
}

/* ——— PHONE moon (lower toward products) + bulb (original height) ——— */
html[data-art-profile="phone"] .segments-bg .seg-moon[data-moon-toggle] {
  left: 84% !important;
  top: 30% !important;
  width: 56px !important;
  overflow: visible !important;
  z-index: 80 !important;
}
html[data-art-profile="phone"] .segments-bg .seg-light-toggle {
  left: 84% !important;
  top: 14% !important;
  width: 56px !important;
  overflow: visible !important;
  z-index: 80 !important;
}

/* ——— PHONE arrange edit usable ——— */
html[data-art-profile="phone"] body.arrange-art .arrange-bar {
  flex-wrap: wrap;
  max-height: none;
  overflow: auto;
  font-size: 0.82rem;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem;
  z-index: 80;
}
html[data-art-profile="phone"] body.arrange-art .arrange-tabs {
  flex-wrap: wrap;
}
html[data-art-profile="phone"] body.arrange-art .arrange-bar button {
  min-height: 2.4rem;
  padding: 0.35rem 0.55rem;
}
html[data-art-profile="phone"] body.arrange-art .segments-bg .seg,
html[data-art-profile="phone"] body.arrange-art .segments-bg .seg-object {
  touch-action: none;
}


/* ——— PHONE right gutter for moon/bulb (equal all pages) ——— */
html[data-art-profile="phone"] body[data-page="home"] .hero-inner,
html[data-art-profile="phone"] .page-hero > .wrap {
  max-width: min(100% - 5.5rem, 18.5rem);
  margin-right: 4.75rem; /* keep pad clear of right-edge moon/bulb */
}

/* ——— PHONE watches + nixie + kits + tubes hero reduced+centered ——— */
html[data-art-profile="phone"] body[data-page="watches"] .page-hero,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero {
  padding: 0.55rem 0 0.3rem;
}
html[data-art-profile="phone"] body[data-page="watches"] .page-hero > .wrap,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero > .wrap,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero > .wrap,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero > .wrap {
  width: fit-content;
  max-width: min(88vw, 17.5rem);
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0.2rem 0.45rem;
  text-align: center;
  box-sizing: border-box;
}
html[data-art-profile="phone"] body[data-page="watches"] .page-hero .kicker,
html[data-art-profile="phone"] body[data-page="watches"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero .kicker,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero .kicker,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero .kicker,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero h1 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
html[data-art-profile="phone"] body[data-page="watches"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero .page-intro {
  max-width: 17rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: left;
}


/* ——— PHONE moon vs bulb tops (moon lower; bulbs stay up); Light Switch above tip ——— */
html[data-art-profile="phone"] .segments-bg .seg-moon[data-moon-toggle] {
  left: 84% !important;
  top: 30% !important;
  width: 56px !important;
  overflow: visible !important;
  z-index: 80 !important;
}
html[data-art-profile="phone"] .segments-bg .seg-light-toggle {
  left: 84% !important;
  top: 14% !important;
  width: 56px !important;
  overflow: visible !important;
  z-index: 80 !important;
}
html[data-art-profile="phone"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint,
html[data-art-profile="phone"] .segments-bg .seg-light-toggle .glow-toggle-hint {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  /* same spot on every phone page: stacked above moon/bulb tip */
  bottom: calc(100% + 0.25rem) !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.05 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 0.72rem !important;
  color: rgba(230, 245, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  pointer-events: none !important;
  z-index: 81 !important;
}
html[data-art-profile="phone"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint-arrow,
html[data-art-profile="phone"] .segments-bg .seg-light-toggle .glow-toggle-hint-arrow {
  display: none !important;
}

/* ——— PHONE watches moon above clock (aligned ABOVE clock center) ——— */
/* phone watches clock: position comes from the phone layout save (draggable); no !important pin */
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-moon[data-moon-toggle] {
  /* center moon over 100px clock: same left + 22px offset */
  /* position from phone layout save (draggable) — no !important pin */
  overflow: visible !important;
  z-index: 120 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: calc(100% + 0.25rem) !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.05 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 0.72rem !important;
  color: rgba(230, 245, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  pointer-events: none !important;
  z-index: 121 !important;
}
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint-arrow {
  display: none !important;
}

/* PERMANENT: Home — never show clock art */
body[data-page="home"] .seg-clock-live,
body[data-page="home"] .parts-clock,
body[data-page="home"] [data-art-id="seg-clock-live"],
body[data-page="home"] [data-art-id="seg-clock"],
body[data-page="home"] [data-art-id="seg-clock-b"],
body[data-page="home"] [data-art-id="seg-clock-frozen"],
body[data-page="home"] [data-clock],
body[data-page="home"] .chrono-clock {
  display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important;
}

/* PERMANENT: Nixie — never show culled scenery/junk clocks */
body[data-page="nixie"] [data-art-id="seg-water"],
body[data-page="nixie"] [data-art-id="seg-ground"],
body[data-page="nixie"] [data-art-id="seg-island"],
body[data-page="nixie"] [data-art-id="seg-castle"],
body[data-page="nixie"] [data-art-id="seg-creature"],
body[data-page="nixie"] [data-art-id="seg-clock"],
body[data-page="nixie"] [data-art-id="seg-liquid"],
body[data-page="nixie"] [data-art-id="seg-face-2"],
body[data-page="nixie"] [data-art-id="seg-face-3"],
body[data-page="nixie"] .seg-face-2,
body[data-page="nixie"] .seg-face-3,
body[data-page="nixie"] .seg-creature,
body[data-page="nixie"] .seg-clock,
body[data-page="nixie"] .chrono-clock,
body[data-page="nixie"] .seg-clock-live,
body[data-page="nixie"] [data-art-id="seg-clock-live"] {
  display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important;
}

.seg-light-toggle .seg-light-label { display: none !important; }

/* PERMANENT: desk bulb tip must show Turn Lights On and Off (Alexander) */
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle,
body.bg-segments-nixie .seg-light-toggle {
  overflow: visible !important;
}
html[data-art-profile="2560x1080"] .segments-bg .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .glow-toggle-hint {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--lume, #7dff9a) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  z-index: 50 !important;
  text-shadow: 0 0 8px rgba(0,0,0,0.85);
}

/* Desk 2560/1920: Light Switch + arrow on one line (moon/bulb tip) */
html[data-art-profile="2560x1080"] .segments-bg .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .glow-toggle-hint {
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}
html[data-art-profile="2560x1080"] .segments-bg .glow-toggle-hint .glow-hint-break,
html[data-art-profile="1920x1080"] .segments-bg .glow-toggle-hint .glow-hint-break {
  display: none !important;
}

html[data-art-profile="2560x1080"] .segments-bg .glow-toggle-hint-arrow,
html[data-art-profile="1920x1080"] .segments-bg .glow-toggle-hint-arrow {
  border-left-color: var(--lume, #7dff9a) !important;
  opacity: 1 !important;
}
/* Desk bulbs only (not moon): tip up toward glass bevel — Nixie/Kits/Tubes match */
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle .glow-toggle-hint,
body.bg-segments-nixie .segments-bg .seg-light-toggle .glow-toggle-hint {
  top: 22.5% !important;
  transform: none !important;
  align-items: center !important;
  right: calc(100% + 1.05rem) !important;
}

/* Shopper: bulb tip words+arrow clickable (toggle green/white); moon tip stays none for search */
body:not(.arrange-art) .segments-bg .seg-light-toggle .glow-toggle-hint,
body:not(.arrange-art) .segments-bg .seg-light-toggle .glow-toggle-hint * {
  pointer-events: auto !important;
  cursor: pointer !important;
}


/* Moon tip color tracks moon: green/glow default, white when day */
html[data-art-profile="2560x1080"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint,
.segments-bg .seg-moon[data-moon-toggle]:not(.is-day) .glow-toggle-hint {
  color: var(--lume, #7dff9a) !important;
}
html[data-art-profile="2560x1080"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint-arrow,
html[data-art-profile="1920x1080"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint-arrow,
.segments-bg .seg-moon[data-moon-toggle]:not(.is-day) .glow-toggle-hint-arrow {
  border-left-color: var(--lume, #7dff9a) !important;
}
html[data-art-profile="2560x1080"] .segments-bg .seg-moon[data-moon-toggle].is-day .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .seg-moon[data-moon-toggle].is-day .glow-toggle-hint,
.segments-bg .seg-moon[data-moon-toggle].is-day .glow-toggle-hint {
  color: rgba(245, 248, 255, 0.95) !important;
}
html[data-art-profile="2560x1080"] .segments-bg .seg-moon[data-moon-toggle].is-day .glow-toggle-hint-arrow,
html[data-art-profile="1920x1080"] .segments-bg .seg-moon[data-moon-toggle].is-day .glow-toggle-hint-arrow,
.segments-bg .seg-moon[data-moon-toggle].is-day .glow-toggle-hint-arrow {
  border-left-color: rgba(245, 248, 255, 0.95) !important;
}

/* Static moons (About etc.): default green lume cast */
body.bg-segments-about .seg-moon,
body[data-page="about"] .seg-moon,
body[data-page="contact"] .seg-moon,
body[data-page="terms"] .seg-moon,
body[data-page="disclosure"] .seg-moon {
  filter: drop-shadow(0 0 18px rgba(125, 255, 154, 0.55)) drop-shadow(0 0 6px rgba(125, 255, 154, 0.35)) !important;
}

/* Bulb tip color tracks bulb: green default / white when lit white */
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle .glow-toggle-hint,
body.bg-segments-nixie .segments-bg .seg-light-toggle .glow-toggle-hint,
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle.is-lit-green .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle.is-lit-green .glow-toggle-hint,
body.bg-segments-nixie .segments-bg .seg-light-toggle.is-lit-green .glow-toggle-hint {
  color: var(--lume, #7dff9a) !important;
}
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle .glow-toggle-hint-arrow,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle .glow-toggle-hint-arrow,
body.bg-segments-nixie .segments-bg .seg-light-toggle .glow-toggle-hint-arrow,
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle.is-lit-green .glow-toggle-hint-arrow,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle.is-lit-green .glow-toggle-hint-arrow,
body.bg-segments-nixie .segments-bg .seg-light-toggle.is-lit-green .glow-toggle-hint-arrow {
  border-left-color: var(--lume, #7dff9a) !important;
}
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle.is-lit-white .glow-toggle-hint,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle.is-lit-white .glow-toggle-hint,
body.bg-segments-nixie .segments-bg .seg-light-toggle.is-lit-white .glow-toggle-hint {
  color: rgba(245, 248, 255, 0.95) !important;
  text-shadow: 0 0 8px rgba(0,0,0,0.85);
}
html[data-art-profile="2560x1080"] .segments-bg .seg-light-toggle.is-lit-white .glow-toggle-hint-arrow,
html[data-art-profile="1920x1080"] .segments-bg .seg-light-toggle.is-lit-white .glow-toggle-hint-arrow,
body.bg-segments-nixie .segments-bg .seg-light-toggle.is-lit-white .glow-toggle-hint-arrow {
  border-left-color: rgba(245, 248, 255, 0.95) !important;
}



/* Humor page: YouTube thumbs use 16:9 (legal CDN hqdefault) */
body[data-page="humor"] .card-media-link--video {
  aspect-ratio: 16 / 9;
}
body[data-page="humor"] .card-title a {
  color: inherit;
  text-decoration: none;
}
body[data-page="humor"] .card-title a:hover {
  color: var(--lume, #7dff9a);
}
body[data-page="humor"] .card--external .card-body {
  padding-top: 1rem;
}


/* Humor page columns by art profile (product grids unchanged) */
/* 2560 desk: 3 per row */
html[data-art-profile="2560x1080"] body[data-page="humor"] #humor-grid.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
/* 1920: 2 per row — roomier for 16:9 + rating row */
html[data-art-profile="1920x1080"] body[data-page="humor"] #humor-grid.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
/* Phone: one video per row */
html[data-art-profile="phone"] body[data-page="humor"] #humor-grid.grid {
  grid-template-columns: 1fr !important;
}
/* Fallback when profile attr missing: 3 desk / 1 narrow */
body[data-page="humor"] #humor-grid.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (max-width: 720px) {
  body[data-page="humor"] #humor-grid.grid {
    grid-template-columns: 1fr !important;
  }
}


/* PHONE-ONLY fff2 restore 2026-09-24 — do not edit from desk work */
/* Restores Sep 22 fff2 moon-nestled Light Switch + bulb-above tips,
   phone kerning from _backup-before-sep19-restore, and excite-strip wrap.
   All selectors scoped to html[data-art-profile="phone"] so 2560/1920 stay identical. */

/* --- fff2 nestled Light Switch — MOON ONLY (never bulbs) --- */
html[data-art-profile="phone"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint,
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint,
html[data-art-profile="phone"] body[data-page="home"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint {
  position: absolute !important;
  left: 1.15rem !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  white-space: normal !important;
  text-align: left !important;
  line-height: 1.05 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 0.62rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: rgba(245, 248, 255, 0.98) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
  background: rgba(6, 10, 16, 0.72) !important;
  padding: 0.18rem 0.28rem 0.18rem 0.22rem !important;
  border-radius: 0.2rem !important;
  pointer-events: none !important;
  z-index: 121 !important;
  max-width: 3.1rem !important;
}
html[data-art-profile="phone"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint-arrow,
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint-arrow,
html[data-art-profile="phone"] body[data-page="home"] .segments-bg .seg-moon[data-moon-toggle] .glow-toggle-hint-arrow {
  display: none !important;
}

/* --- Bulbs keep Light Switch stacked ABOVE (beat unscoped desk bg-segments-nixie tip) --- */
html[data-art-profile="phone"] .segments-bg .seg-light-toggle .glow-toggle-hint,
html[data-art-profile="phone"] body.bg-segments-nixie .segments-bg .seg-light-toggle .glow-toggle-hint,
html[data-art-profile="phone"] body[data-page="nixie"] .segments-bg .seg-light-toggle .glow-toggle-hint,
html[data-art-profile="phone"] body[data-page="kits"] .segments-bg .seg-light-toggle .glow-toggle-hint,
html[data-art-profile="phone"] body[data-page="tubes"] .segments-bg .seg-light-toggle .glow-toggle-hint {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: calc(100% + 0.25rem) !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.05 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: rgba(230, 245, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  pointer-events: none !important;
  z-index: 81 !important;
  max-width: none !important;
  align-items: unset !important;
}
html[data-art-profile="phone"] .segments-bg .seg-light-toggle .glow-toggle-hint-arrow,
html[data-art-profile="phone"] body.bg-segments-nixie .segments-bg .seg-light-toggle .glow-toggle-hint-arrow,
html[data-art-profile="phone"] body[data-page="nixie"] .segments-bg .seg-light-toggle .glow-toggle-hint-arrow,
html[data-art-profile="phone"] body[data-page="kits"] .segments-bg .seg-light-toggle .glow-toggle-hint-arrow,
html[data-art-profile="phone"] body[data-page="tubes"] .segments-bg .seg-light-toggle .glow-toggle-hint-arrow {
  display: none !important;
}

/* Home phone moon+fff2 tip: nudged down (Alexander 2026-09-22) */
html[data-art-profile="phone"] body[data-page="home"] .segments-bg .seg-moon[data-moon-toggle] {
  left: 84% !important;
  top: 36% !important;
  width: 56px !important;
  overflow: visible !important;
  z-index: 120 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Hero frost must not cover moon/tip on phone home+watches */
html[data-art-profile="phone"] body[data-page="home"] .page-hero,
html[data-art-profile="phone"] body[data-page="watches"] .page-hero,
html[data-art-profile="phone"] body[data-page="home"] .page-hero > .wrap,
html[data-art-profile="phone"] body[data-page="watches"] .page-hero > .wrap,
html[data-art-profile="phone"] body[data-page="home"] .hero,
html[data-art-profile="phone"] body[data-page="home"] .hero-inner {
  z-index: 5 !important;
}
html[data-art-profile="phone"] body[data-page="home"] .segments-bg .seg-moon[data-moon-toggle],
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-moon[data-moon-toggle] {
  z-index: 120 !important;
}

/* --- Phone kerning restore (from _backup-before-sep19-restore + evening-final-locked) --- */
/* Phone Guides: tighter kerning on collector-grade explainers intro */
html[data-art-profile="phone"] body[data-page="guides"] .page-intro {
  letter-spacing: -0.015em !important;
  word-spacing: -0.05em !important;
  line-height: 1.45 !important;
  text-align: left !important;
  text-justify: auto !important;
}
/* Phone Guides: tighter kerning on “Learn the way of the glow” */
html[data-art-profile="phone"] body[data-page="guides"] .page-hero h1 {
  letter-spacing: -0.02em !important;
  word-spacing: -0.06em !important;
  line-height: 1.12 !important;
  text-align: left !important;
  text-justify: auto !important;
}
/* Phone Watches: tighter kerning on “Glow by type, nation, top pics…” */
html[data-art-profile="phone"] body[data-page="watches"] .page-hero h1 {
  letter-spacing: -0.02em !important;
  word-spacing: -0.06em !important;
  line-height: 1.12 !important;
  text-justify: auto !important;
}

/* Phone: kill justify + tighten common hero headings/intros that showed wide word gaps */
html[data-art-profile="phone"] .page-hero h1,
html[data-art-profile="phone"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="home"] .hero h1,
html[data-art-profile="phone"] body[data-page="home"] .tagline,
html[data-art-profile="phone"] body[data-page="home"] .lede,
html[data-art-profile="phone"] body[data-page="bands"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="bands"] .page-intro,
html[data-art-profile="phone"] body[data-page="about"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="about"] .page-intro,
html[data-art-profile="phone"] body[data-page="humor"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="humor"] .page-intro,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero .page-intro {
  text-align: left !important;
  text-justify: auto !important;
}
/* Centered product-page titles stay centered (watches/nixie/kits/tubes already center via earlier rules);
   only kill justify — don't force left on those centered h1s. Re-assert center for those: */
html[data-art-profile="phone"] body[data-page="watches"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero h1 {
  text-align: center !important;
  text-justify: auto !important;
}
/* Tighten word gaps on remaining product/hero titles that shared the watches problem */
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="bands"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="about"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="humor"] .page-hero h1,
html[data-art-profile="phone"] body[data-page="home"] .hero h1 {
  letter-spacing: -0.02em !important;
  word-spacing: -0.06em !important;
  line-height: 1.12 !important;
}
html[data-art-profile="phone"] body[data-page="bands"] .page-intro,
html[data-art-profile="phone"] body[data-page="about"] .page-intro,
html[data-art-profile="phone"] body[data-page="humor"] .page-intro,
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero .page-intro,
html[data-art-profile="phone"] body[data-page="watches"] .page-hero .page-intro {
  letter-spacing: -0.015em !important;
  word-spacing: -0.05em !important;
  text-align: left !important;
  text-justify: auto !important;
}

/* Phone excite-strip: wrap like sep22 (no nowrap clip) */
html[data-art-profile="phone"] .glow-excite-text {
  white-space: normal !important;
  font-size: 0.82rem !important;
}
html[data-art-profile="phone"] .glow-excite-inner {
  flex-wrap: wrap !important;
}
html[data-art-profile="phone"] body[data-page="nixie"] .page-hero .glow-excite-text,
html[data-art-profile="phone"] body[data-page="kits"] .page-hero .glow-excite-text,
html[data-art-profile="phone"] body[data-page="tubes"] .page-hero .glow-excite-text {
  white-space: normal !important;
  text-align: left !important;
}

/* PHONE-ONLY watches moon: above first product card (Alexander 2026-09-24 3:33 PM) */
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-moon[data-moon-toggle] {
  left: 84% !important;
  top: 26% !important;
  width: 56px !important;
}

/* PHONE-ONLY Watches face: opposite side of the live clock (clock left 78.7% / top 12%), same vertical band,
   left gutter kept clear of the intro text (Alexander 2026-09-24 10:08 PM, D5b; pending re-lock) */
html[data-art-profile="phone"] body[data-page="watches"] .segments-bg .seg-face {
  left: min(calc(21.3vw - 94px), calc(50vw - 220px)) !important;
  right: auto !important;
  top: calc(12% + 16px) !important;
}

/* PHONE-ONLY Home: copy of Watches live clock, same spot (Alexander 2026-09-24 3:54 PM) */
html[data-art-profile="phone"] body[data-page="home"] .phone-home-clock.parts-clock {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: 78.7% !important;
  top: 280px !important;
  width: 100px !important;
  z-index: 1 !important;
}
html:not([data-art-profile="phone"]) .phone-home-clock { display: none !important; }

/* PHONE-ONLY Home moon: up just above Featured hero, off the intro text (Alexander 2026-09-24 4:00 PM)
   D5 9:50 PM: Light Switch sits between the intro ("Why ChronoLume") text and the Featured text, right gutter.
   px (not % of the 320vh canvas) so it tracks the text at any phone height; the text column grows below ~402px wide. */
html[data-art-profile="phone"] body[data-page="home"] .segments-bg .seg-moon[data-moon-toggle] {
  left: 84% !important;
  top: max(720px, calc(1890px - 287vw)) !important;
  width: 56px !important;
}


/* ——— PRE-LAUNCH C (2026-09-24) #5: no sideways scroll. Clipping only — no art or text moves. ———
   overflow-x:clip (not hidden) keeps position:sticky working and never creates a scroll container. */
html,
body {
  overflow-x: clip;
}
html body .segments-bg {
  overflow-x: clip; /* art hanging past the right edge is clipped, never scrollable */
}
@supports not (overflow-x: clip) {
  html { overflow-x: hidden; } /* old browsers only; viewport-level so sticky still works */
}
/* Editing canvas (localhost arrange mode) keeps its previous behaviour */
html:has(> body.arrange-art) {
  overflow-x: visible;
}
body.arrange-art {
  overflow-x: visible;
}

/* PRE-LAUNCH C #8: Amazon Associates statement — same small print as the footer disclosure */
.footer-disclosure.footer-amazon {
  margin-top: 0.35rem;
}
