/* KamZour's standard (4 Nov 2026): one look across the site, loaded after a
 * page's own styles so it can settle what they disagree on. It starts with the
 * top bar, every page's first impression:
 *   a quiet glass bar, the mark and the name, links without bullets (the
 *   current page lit), "Sign in" as text, and one primary action with the
 *   running pink-to-gold gradient the Studio's Generate uses.
 * Tokens first, so the rest of the site can follow them.
 */
:root {
  --kz-ink: #0e0b0d;          /* the ground */
  --kz-panel: #161114;        /* cards, bars */
  --kz-line: rgba(255, 255, 255, 0.08);
  --kz-line-2: rgba(255, 255, 255, 0.14);
  --kz-text: #f6eee8;
  --kz-mute: rgba(244, 233, 228, 0.62);
  --kz-gold: #d8a35e;
  --kz-gold-hi: #f3d7a6;
  --kz-rose: #e0446e;
  --kz-cta: linear-gradient(110deg, #b02a4e 0%, #e0446e 30%, #d8a35e 55%, #e0446e 80%, #b02a4e 100%);
  --kz-radius: 12px;
}

/* ── The top bar ─────────────────────────────────────────────────────────── */
.kz-nav {
  height: 64px; padding: 0 clamp(16px, 3.5vw, 40px) !important; gap: 28px;
  background: rgba(14, 11, 13, 0.72) !important;
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--kz-line); box-shadow: none !important;
}
.kz-nav.is-scrolled { background: rgba(14, 11, 13, 0.86) !important; }

/* The mark (Mithu, on a gold-to-rose tile) and the name. */
.kz-nav .kz-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.12rem/1 Inter, system-ui, sans-serif !important; letter-spacing: -0.02em; color: var(--kz-text) !important;
}
.kz-nav .kz-logo::before {
  content: ""; width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: url('/public/img/mithu/mithu-face.svg?v=f1') center / 22px no-repeat, linear-gradient(140deg, #f3c56b, #e0446e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(224, 68, 110, 0.25);
}

/* Links: no bullets; a soft pill on hover; the current page lit. */
.kz-nav .kz-links { gap: 2px; font-size: 0.9rem; }
.kz-nav .kz-links li + li::before { content: none !important; }
.kz-nav .kz-links a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px;
  color: var(--kz-mute) !important; font-weight: 500; transition: color 0.2s, background 0.2s;
}
.kz-nav .kz-links a:hover { color: var(--kz-text) !important; background: rgba(255, 255, 255, 0.05); }
.kz-nav .kz-links a[aria-current="page"] { color: var(--kz-text) !important; background: rgba(255, 255, 255, 0.08); }

/* Actions: "Sign in" as text; one primary button. */
.kz-nav .kz-nav-actions, .kz-nav .kz-auth-slot { gap: 10px; }
.kz-nav .kz-signin { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 99px; color: var(--kz-text) !important; font-weight: 500; font-size: 0.9rem; }
.kz-nav .kz-signin:hover { background: rgba(255, 255, 255, 0.06); color: var(--kz-text) !important; }
.kz-nav .kz-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px !important;
  border: 0 !important; border-radius: 99px; color: #fff !important; font: 600 0.88rem Inter, system-ui, sans-serif !important; letter-spacing: 0;
  background: var(--kz-cta) !important; background-size: 220% 100% !important;
  box-shadow: 0 4px 18px rgba(224, 68, 110, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  animation: kz-run 6s ease-in-out infinite; text-decoration: none;
}
.kz-nav .kz-btn::before { content: none !important; }             /* the old glass sheen */
.kz-nav .kz-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
@keyframes kz-run { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* The menu button and its panel, on narrow screens. */
.kz-menu-btn { border: 1px solid var(--kz-line-2) !important; background: rgba(255, 255, 255, 0.04) !important; }
.kz-menu { background: rgba(14, 11, 13, 0.96) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--kz-line); }
.kz-menu .kz-btn-solid { background: var(--kz-cta) !important; background-size: 220% 100% !important; color: #fff !important; animation: kz-run 6s ease-in-out infinite; border: 0; }

/* Phones: the menu panel carries the account buttons, as before. */
@media (max-width: 520px) {
  .kz-nav { gap: 12px; }
  .kz-nav .kz-signin { display: none !important; }
  .kz-nav .kz-btn { height: 34px; padding: 0 14px !important; font-size: 0.82rem !important; }
}
@media (max-width: 350px) {
  .kz-nav #navSignUpBtn { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .kz-nav .kz-btn, .kz-menu .kz-btn-solid { animation: none; }
}

/* ── One ground ──────────────────────────────────────────────────────────────
 * The site's older maroon (#150a0e) becomes the standard near-black. Pages
 * that paint the ground through --velvet follow by themselves. */
:root { --velvet: #0e0b0d; }
html { background: var(--kz-ink) !important; }

/* ── The primary action, everywhere ──────────────────────────────────────────
 * The one button on a page or card that moves you on wears the running
 * gradient; everything else stays quiet glass. */
.kz-btn-solid, .kz-btn-primary:not(.kz-auth .kz-btn-primary), .hn-cta, .nk-pick-btn:first-child, .lic-check-row .kz-btn, .lic-check-row .kz-btn {
  background: var(--kz-cta) !important; background-size: 220% 100% !important;
  color: #fff !important; border: 0 !important;
  box-shadow: 0 6px 20px rgba(224, 68, 110, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  animation: kz-run 6s ease-in-out infinite;
}
.kz-btn-solid::before, .hn-cta::before { content: none !important; }

/* ── The gold accent word ────────────────────────────────────────────────────
 * One accent: Instrument Serif italic, plain gold (no pink or purple fades). */
.section-title em, .ph-hero h1 em, .ph-title em {
  font-family: 'Instrument Serif', Georgia, serif !important; font-weight: 400 !important; font-style: italic;
  background: none !important; -webkit-text-fill-color: var(--kz-gold) !important; color: var(--kz-gold) !important;
}

/* ── Leftover display faces become the standard ones ─────────────────────── */
.kz-modal-title:not(.kz-auth .kz-modal-title), .im-sb-logo-imagine, .nk-title, .kzc-bubble b {
  font-family: Inter, system-ui, sans-serif !important; letter-spacing: -0.02em;
}
.kz-paint-n, .kz-gift-n, .kz-coin-use strong { font-family: Inter, system-ui, sans-serif !important; font-style: normal !important; font-weight: 700 !important; letter-spacing: -0.04em; }

/* ── The footer's mark, as in the top bar ────────────────────────────────── */
.kz-foot .kz-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.12rem/1 Inter, system-ui, sans-serif !important; letter-spacing: -0.02em; color: var(--kz-text) !important;
}
.kz-foot .kz-logo::before {
  content: ""; width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: url('/public/img/mithu/mithu-face.svg?v=f1') center / 20px no-repeat, linear-gradient(140deg, #f3c56b, #e0446e);
}

/* ── Carousel arrows: round and dark, like the rest of the controls ──────── */
.kzc-btn {
  width: 38px !important; height: 38px !important; padding: 0 0 2px !important; border-radius: 50% !important;
  background: rgba(14, 11, 13, 0.78) !important; color: var(--kz-text) !important;
  border: 1px solid var(--kz-line-2) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 20px !important;
}

@media (prefers-reduced-motion: reduce) {
  .kz-btn-solid, .kz-btn-primary, .hn-cta, .nk-pick-btn, .lic-check-row .kz-btn { animation: none; }
}

/* ── Page headings for the panel pages (Gallery, Styles; kz-standard.js) ── */
.kz-page-head { max-width: 1240px; margin: 10px auto 4px; }
.im-sg-overlay .kz-page-head { max-width: none; margin: 4px 0 18px; }
.kz-page-title { margin: 0; font: 700 clamp(1.7rem, 3.2vw, 2.4rem)/1.1 Inter, system-ui, sans-serif; letter-spacing: -0.03em; color: var(--kz-text); }
.kz-page-line { margin: 6px 0 0; max-width: 62ch; font: 400 0.98rem/1.5 Inter, system-ui, sans-serif; color: var(--kz-mute); }
.im-sg-overlay.im-gallery-page .im-ro-label { display: none; }      /* the small "STYLES" label, now the heading */
.im-gal-door-name, .im-gal-view-name { font-weight: 600 !important; letter-spacing: -0.01em; font-family: Inter, system-ui, sans-serif !important; font-style: normal !important; }

/* The panel pages scroll inside the panel: a slim dark bar, not a second
   page-sized one beside the window's. */
.im-gallery-page .im-gal-body { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent; }
.im-gallery-page .im-gal-body::-webkit-scrollbar { width: 8px; }
.im-gallery-page .im-gal-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 8px; }
.im-gallery-page .im-gal-body::-webkit-scrollbar-track { background: transparent; }

/* The panel pages' heading on one line: the name, its note beside it, so
   the page's content starts high on a laptop screen (Gallery, Styles). */
.kz-page-head { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; margin-top: 6px; margin-bottom: 2px; }
.im-sg-overlay .kz-page-head { margin: 2px 0 10px; }
.kz-page-title { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.kz-page-line { margin: 0; font-size: 0.86rem; }

/* ── Long pages fold on phones (kz-fold.js): a heading opens its section ── */
@media (max-width: 760px) {
  .kz-folded { display: none !important; }
  .kz-fold-h { position: relative; cursor: pointer; padding-right: 30px !important; -webkit-tap-highlight-color: transparent; }
  .kz-fold-h::after {
    content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid #d8a35e; border-bottom: 2px solid #d8a35e;
    transform: translateY(-75%) rotate(45deg); transition: transform 0.2s ease;
  }
  .kz-fold-h[aria-expanded="true"]::after { transform: translateY(-25%) rotate(225deg); }
  .kz-fold-h[aria-expanded="false"] { margin-bottom: 0 !important; }
  .kz-fold-block.kz-fold-shut { padding-top: 14px !important; padding-bottom: 14px !important; margin-top: 0 !important; margin-bottom: 0 !important; min-height: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .kz-fold-block.kz-fold-shut * { margin-top: 0 !important; }
}
@media (max-width: 760px) {
  /* folded, a heading is a row: one size, left-aligned, whatever the page's style */
  .kz-folding .kz-fold-h { font-size: 1.22rem !important; line-height: 1.3 !important; text-align: left !important; margin: 0 !important; padding-top: 4px !important; padding-bottom: 4px !important; }
  .kz-folding .kz-fold-h[aria-expanded="true"] { margin-bottom: 12px !important; }
  .kz-folding .kz-toc, .kz-folding .kz-tocbar, .kz-folding .tr-toc { display: none !important; }
}

/* ══ One look for the same pieces on every page (8 Nov 2026) ══════════════
   Search boxes, filter chips, the Filters button and page headings were
   styled page by page (Styles, Gallery, PromptHub, Journal, the Studio's
   Ustaad picker, Pricing, the policies). These rules come last and set one
   design for each; the pages keep only their layout. */

/* Search: a pill, 40px, the same ink and border. */
body .im-sg-searchbar input, body .ph-search, body .im-gal-search-input, html body .jsearch input {
  height: 40px; padding: 0 18px !important; border-radius: 999px !important;
  border: 1px solid rgba(216, 163, 94, 0.3) !important; background: rgba(255, 255, 255, 0.04) !important;
  color: #f4e9e4 !important; font: 500 0.9rem Inter, system-ui, sans-serif !important; box-shadow: none;
}
body .im-sg-searchbar input:focus, body .ph-search:focus, body .im-gal-search-input:focus, html body .jsearch input:focus {
  outline: none; border-color: #d8a35e !important; box-shadow: 0 0 0 3px rgba(216, 163, 94, 0.16) !important;
}
html body .jsearch button { height: 40px; padding: 0 18px; font-size: 0.85rem; }

/* Filter chips: 32px pills; on, a gold tint (not a solid fill). */
body .ph-chip, html body .jchip, body .im-sg-shelf, body .im-gal-room, body .im-purpose-fam {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 13px !important;
  border-radius: 999px !important; border: 1px solid rgba(216, 163, 94, 0.28) !important;
  background: rgba(255, 255, 255, 0.03) !important; color: rgba(244, 233, 228, 0.85) !important;
  font: 600 0.78rem/1 Inter, system-ui, sans-serif !important; letter-spacing: 0 !important; white-space: nowrap;
}
body .ph-chip:hover, html body .jchip:hover, body .im-sg-shelf:hover, body .im-gal-room:hover, body .im-purpose-fam:hover { border-color: rgba(216, 163, 94, 0.7) !important; }
body .ph-chip.is-on, html body .jchip.on, body .im-sg-shelf[aria-selected="true"], body .im-gal-room.is-on, body .im-purpose-fam.active {
  background: rgba(216, 163, 94, 0.18) !important; border-color: rgba(216, 163, 94, 0.85) !important; color: #f3d7a6 !important;
}
body .ph-chip small, body .im-sg-shelf em { font-size: 0.7rem; font-weight: 500; opacity: 0.7; color: inherit; }

/* The Filters button: the same pill as the chips, a little taller beside a search. */
body .ph-filters-btn, body .im-sg-filters-toggle {
  min-height: 40px !important; padding: 0 16px !important; border-radius: 999px !important;
  border: 1px solid rgba(216, 163, 94, 0.35) !important; background: rgba(255, 255, 255, 0.04) !important;
  color: #f4e9e4 !important; font: 600 0.82rem Inter, system-ui, sans-serif !important;
}

/* Page headings: one size and type on the app pages and the policies.
   The name in Inter; an <em> in it in gold serif italic, as everywhere. */
body .kz-page-title, html body .wrap-wide .hero h1, body .kz-legal-main h1, body .kz-mem-hero .kz-h2 {
  font: 600 clamp(1.6rem, 2.6vw, 2.15rem)/1.15 Inter, system-ui, sans-serif !important; letter-spacing: -0.025em !important;
  color: #f6eee8; margin-top: 0;
}
body .kz-page-title em, html body .wrap-wide .hero h1 em, body .kz-legal-main h1 em, body .kz-mem-hero .kz-h2 em {
  font-family: 'Instrument Serif', Georgia, serif !important; font-style: italic !important; font-weight: 400 !important; color: #e3b877;
}
body .kz-legal-main h1 { margin-bottom: 6px !important; }
/* Styles: the heading above its search bar, in line with it */
.im-sg-overlay > .kz-page-head { padding: 14px clamp(16px, 4vw, 44.5px) 0; margin: 0; max-width: none; }
.im-sg-overlay > .kz-page-head + .im-sg-searchbar { padding-top: 8px; }
/* Gallery: the Rasa / Exclusive switch the size of the other controls */
body .im-gal-view { min-height: 36px; padding: 4px 14px !important; }
body .im-gal-view .im-gal-view-name { font-size: 0.95rem !important; }

/* The footer on phones: tighter, and no "Say hello" block (Contact us is
   already under Policies). */
@media (max-width: 640px) {
  .kz-foot { padding-top: 28px !important; padding-bottom: 18px !important; }
  .kz-foot-grid { gap: 18px 16px !important; }
  .kz-foot-line { font-size: 1rem !important; margin: 6px 0 10px !important; }
  .kz-foot ul { gap: 6px !important; }
  .kz-foot a { font-size: 0.86rem; }
  .kz-foot-h { margin-bottom: 8px !important; }
  .kz-foot-grid > .kz-foot-col:not(nav) { display: none; }
}

/* ── Phones: the tool pages' heads in as few rows as possible, so the
   pictures start on the first screen. Search and its buttons share a row;
   the one-line descriptions go (the heading says it). ── */
@media (max-width: 760px) {
  .kz-page-head .kz-page-line, .ph-pagehead .kz-page-line { display: none; }
  .kz-page-head { margin-bottom: 8px; }
  /* Styles: search · ◇ (like a picture) · Show all on one row */
  .im-sg-searchbar.im-sg-searchbar { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
  .im-sg-searchbar.im-sg-searchbar input { flex: 1 1 auto; min-width: 0; }
  .im-sg-searchbar .im-sg-clear { flex: none; white-space: nowrap; min-height: 40px; padding: 0 12px; font-size: 13px; }
  .im-sg-searchbar .im-sg-picture { width: 40px; padding: 0; font-size: 0; }
  .im-sg-searchbar .im-sg-picture::before { content: '◇'; font-size: 16px; }
  /* shelves scroll in one row; Filters stays on it */
  .im-sg-topbar.im-sg-topbar { flex-wrap: nowrap; }
  .im-sg-topbar .im-sg-shelves.im-sg-shelves { flex: 1 1 auto; min-width: 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .im-sg-topbar .im-sg-shelves::-webkit-scrollbar { display: none; }
  .im-sg-topbar .im-sg-filters-toggle { flex: none; }
  /* PromptHub: search + Filters on one row */
  .ph-tools.ph-tools { flex-wrap: nowrap; gap: 8px; }
  .ph-tools .ph-search { flex: 1 1 auto; min-width: 0; max-width: none; }
  .ph-tools .ph-filters-btn { flex: none; }
  .ph-tools--sub.ph-tools--sub { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  /* Gallery: the door tab above already says "Kama World"; no second heading */
  .im-gal-body > .kz-page-head { display: none; }
}

/* ── ⓘ: a short line on the page, the full explanation on hover, focus or
   tap. <span class="kz-info"><button aria-describedby=…>i</button>
   <span class="kz-info-tip" role="tooltip" id=…>…</span></span> ── */
.kz-info { position: relative; display: inline-block; vertical-align: middle; margin-left: 4px; }
.kz-info > button {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(216,163,94,.5); background: rgba(216,163,94,.1);
  color: #e3b877; font: 600 11px/1 Georgia, serif; font-style: italic; cursor: pointer; padding: 0; vertical-align: 1px;
}
.kz-info > button:hover, .kz-info > button:focus-visible, .kz-info.is-open > button { background: rgba(216,163,94,.25); outline: none; }
.kz-info-tip {
  position: absolute; z-index: 40; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: min(320px, 80vw);
  padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(216,163,94,.3); background: #1d1016; color: #e8dcd6;
  font: 400 13px/1.45 Inter, system-ui, sans-serif; text-align: left; box-shadow: 0 14px 40px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.kz-info:hover .kz-info-tip, .kz-info:focus-within .kz-info-tip, .kz-info.is-open .kz-info-tip { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) { .kz-info-tip { left: auto; right: -8px; transform: none; } }

/* ══════════════════════════════════════════════════════════════════════════
   THE DESIGN SYSTEM (8 Nov 2026). One set of tokens, and the older per-page
   token families (--silk, --candle, --im-*, --hn-*, --ms-*) now alias them,
   so every page follows without touching its own stylesheet. Then one rule
   each for: the primary button, the quiet (ghost) button, cards, inputs,
   focus, motion. Specificity through `body` + !important, because this file
   is the last word.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  /* text */
  --kz-text: #f6eee8;
  --kz-mute: rgba(246, 238, 232, 0.62);
  --kz-faint: rgba(246, 238, 232, 0.42);
  /* accents */
  --kz-gold: #d8a35e;
  --kz-gold-hi: #f3d7a6;
  --kz-rose: #e0446e;
  /* surfaces */
  --kz-ink: #0e0b0d;
  --kz-panel: #161114;
  --kz-panel-2: #1d1519;
  /* lines */
  --kz-line: rgba(255, 255, 255, 0.08);
  --kz-line-2: rgba(255, 255, 255, 0.14);
  --kz-line-gold: rgba(216, 163, 94, 0.35);
  /* radii: controls · cards · panels/modals · pills */
  --kz-r-sm: 12px; --kz-r-md: 16px; --kz-r-lg: 24px; --kz-r-pill: 999px;
  /* layout */
  --kz-nav-h: 64px;
  --kz-gutter: clamp(16px, 4vw, 48px);
  /* motion */
  --kz-fast: 0.15s; --kz-base: 0.2s; --kz-slow: 0.4s; --kz-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* aliases: the older families follow the standard */
  --silk: var(--kz-text); --ink: var(--kz-text); --frost: var(--kz-text); --cream: var(--kz-text);
  --im-text: var(--kz-text); --hn-fg: var(--kz-text); --ms-silk: var(--kz-text);
  --rose-ash: var(--kz-mute); --slate: var(--kz-mute); --cream-dim: var(--kz-mute);
  --im-muted: var(--kz-mute); --hn-mute: var(--kz-mute); --ms-ash: var(--kz-mute);
  --candle: var(--kz-gold); --gold: var(--kz-gold); --im-gold: var(--kz-gold); --hn-gold: var(--kz-gold); --ms-gold: var(--kz-gold);
  --gold-light: var(--kz-gold-hi); --im-gold-hi: var(--kz-gold-hi); --hn-gold-2: var(--kz-gold-hi); --ms-gold-hi: var(--kz-gold-hi);
  --rose: var(--kz-rose); --crimson: var(--kz-rose); --accent: var(--kz-rose);
  --hairline: var(--kz-line-gold); --border: var(--kz-line-gold); --im-border: var(--kz-line-gold); --ms-line: var(--kz-line-gold);
  --hn-line: var(--kz-line); --hn-line-2: var(--kz-line-2);
  --hn-bg: var(--kz-ink); --dark: var(--kz-ink); --hn-panel: var(--kz-panel); --hn-panel-2: var(--kz-panel-2);
  --hn-r: var(--kz-r-md); --hn-R: var(--kz-r-lg); --card-radius: var(--kz-r-lg); --button-radius: var(--kz-r-pill); --kz-radius: var(--kz-r-sm);
  --hn-pad: var(--kz-gutter);
}

/* ── The primary button: one gradient, one shape, everywhere ──────────────
   Every "go" button on the site: the Studio Generate and upgrade buttons,
   Nikhaar, the Journal, PromptHub and the account pages, the pack and tier
   buttons. Pill, Inter 600, white text. */
body .im-gen-btn, body .im-l2-up-go, body .im-asst-go, body .im-rp-up-btn, body .im-gal-empty-cta, body .im-locked-popup-close,
body .im-confirm-yes, body .im-sg-empty-cta, body .im-sg-nudge-cta, body .im-sg-idea-try, body .im-ro-clean, body .im-ro-idea-more,
body .nk-go, body .tp-build, body .tp-send, body .ah-btn--solid, body .ph-btn--solid, body .kz-intl-submit,
html body .kz-gal-cta-btn, html body .make-like, html body .pw-primary, html body .jsearch button,
body .kz-btn-solid, body .kz-btn-primary, body .hn-cta, body .kz-pack .kz-btn, body .kz-enter, body .nk-pick-btn:first-child {
  background: var(--kz-cta) !important; background-size: 220% 100% !important; animation: kz-run 6s ease-in-out infinite;
  color: #fff !important; border: 0 !important; border-radius: var(--kz-r-pill) !important;
  font-family: Inter, system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: 0 6px 20px rgba(224, 68, 110, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transition: filter var(--kz-base) var(--kz-ease), transform var(--kz-base) var(--kz-ease);
}
body .im-gal-empty-cta, html body .kz-gal-cta-btn, html body .make-like { font-size: 0.88rem !important; }
body .im-gen-btn:hover, body .nk-go:hover, body .ah-btn--solid:hover, body .ph-btn--solid:hover, html body .kz-gal-cta-btn:hover, body .kz-pack .kz-btn:hover {
  filter: brightness(1.08); transform: translateY(-1px);
}
body .im-gen-btn[disabled], body .im-gen-btn[aria-disabled="true"] { filter: saturate(0.4) brightness(0.7); animation: none; }

/* ── The quiet button: glass pill with a gold hairline ─────────────────── */
body .kz-btn-ghost, body .ah-btn--ghost, body .ph-btn:not(.ph-btn--solid), body .nk-btn2, body .nk-pick-btn + .nk-pick-btn,
html body .pw-btn:not(.pw-primary), html body .jfoot-btn, body .kz-btn-glass {
  background: rgba(255, 255, 255, 0.04) !important; border: 1px solid var(--kz-line-gold) !important; border-radius: var(--kz-r-pill) !important;
  color: var(--kz-text) !important; font-family: Inter, system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: 0 !important;
  transition: border-color var(--kz-base), background var(--kz-base);
}
body .kz-btn-ghost:hover, body .ah-btn--ghost:hover, body .ph-btn:not(.ph-btn--solid):hover, body .nk-btn2:hover, html body .pw-btn:not(.pw-primary):hover, html body .jfoot-btn:hover, body .kz-btn-glass:hover {
  border-color: rgba(216, 163, 94, 0.7) !important; background: rgba(216, 163, 94, 0.1) !important;
}

/* ── Cards: one radius ──────────────────────────────────────────────────── */
body .im-sg-card, body .hn-card, body .tp-lib-card, body .ph-card, body .ph-box, body .nk-panel, body .tr-card, body .tt-card, body .tr-stat,
body .lic-card, body .lic-verdict-card, body .ph-rasa-card, body .im-lib-card, body .kz-ust-card, body .ah-card, body .wq-card,
html body .idx-card, html body .excl, html body .authorbox, html body .takeaways, body .kz-pack, body .sr-item, body .action-card {
  border-radius: var(--kz-r-md) !important;
}
body .kz-tier, body .kz-join-card, body .kz-modal-card, body .pf-card, body .im-confirm-card, body .kz-spirit-box { border-radius: var(--kz-r-lg) !important; }
body .ph-card { overflow: hidden; }

/* ── Inputs: one radius ─────────────────────────────────────────────────── */
body .kz-input, body .kz-intl-input, body .ah-input, body .set-input, body .kz-field input, body .kz-field textarea, body .lic-check input, body .im-prompt-input { border-radius: var(--kz-r-sm) !important; }

/* ── Focus: one ring, on everything ─────────────────────────────────────── */
body :focus-visible { outline: 2px solid var(--kz-gold) !important; outline-offset: 2px !important; }
body input:focus-visible, body textarea:focus-visible, body select:focus-visible { outline-offset: 0 !important; }

/* ── The gold accent: one colour (fixes the two in this file) ───────────── */
body .kz-page-title em, html body .wrap-wide .hero h1 em, body .kz-legal-main h1 em, body .kz-mem-hero .kz-h2 em,
body .ms-hero h1 em, body .ms-h2 em, html body .article em, html body .byline b {
  color: var(--kz-gold) !important; background: none !important; -webkit-text-fill-color: var(--kz-gold) !important; animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body .im-gen-btn, body .nk-go, body .ah-btn--solid, body .ph-btn--solid, body .kz-pack .kz-btn, html body .kz-gal-cta-btn { animation: none; }
}

/* ── Members' price: the nudge beside a price (11 Nov 2026) ─────────────────
 * "Members ◇1" next to everyone's price on Create, Architect and Mithu, a link to
 * the pricing page; once someone has the members' price, "Member price" instead.
 */
.kz-member-price {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font: 600 0.74rem/1.2 Inter, system-ui, sans-serif; letter-spacing: 0.01em; white-space: nowrap; text-transform: none;
  color: var(--kz-gold-hi); background: rgba(216, 163, 94, 0.12); border: 1px solid rgba(216, 163, 94, 0.35);
  text-decoration: none;
}
a.kz-member-price:hover { background: rgba(216, 163, 94, 0.2); }
.kz-member-price[hidden] { display: none; }
.kz-member-price.is-member { color: var(--kz-mute); background: transparent; border-color: var(--kz-line-2); }
.kz-member-price svg { width: 10px; height: 10px; }

/* ── Right-click menu (shared: the carousel editor; Architect next) ──
   <div class="kz-ctxmenu" role="menu"><button role="menuitem"><span>Label</span><kbd>Ctrl+C</kbd></button><hr>…</div>
   Positioned by the page at the pointer (fixed); items are buttons; <hr> separates groups. */
.kz-ctxmenu { position: fixed; z-index: 300; min-width: 220px; background: #1d1519; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); color: var(--kz-text, #f4e9e4); font: 14px/1.4 inherit; }
.kz-ctxmenu button { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; border: 0; background: none; color: inherit; padding: 7px 10px; border-radius: 8px; cursor: pointer; font: inherit; }
.kz-ctxmenu button:hover, .kz-ctxmenu button:focus-visible { background: rgba(255, 255, 255, 0.08); outline: none; }
.kz-ctxmenu button[disabled] { opacity: 0.35; cursor: default; }
.kz-ctxmenu kbd { font: 11px/1.6 inherit; color: rgba(244, 233, 228, 0.45); }
.kz-ctxmenu hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); margin: 4px 2px; }
/* The members' price said once, quietly, near the top of a page (Create, Architect): not beside the paint button,
 * where it crowded the bar. Hidden for anyone who already pays it. */
.kz-member-note {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font: 500 0.82rem/1.3 Inter, system-ui, sans-serif; letter-spacing: 0.01em;
  color: var(--kz-mute); text-decoration: none;
}
.kz-member-note b { color: var(--kz-gold-hi); font-weight: 600; }
.kz-member-note svg { width: 11px; height: 11px; }
.kz-member-note::after { content: '→'; color: var(--kz-gold-hi); transition: transform .15s; }
a.kz-member-note:hover { color: var(--kz-text, #f6efe4); }
a.kz-member-note:hover::after { transform: translateX(3px); }
.kz-member-note[hidden] { display: none; }

/* While something is made: our K forming in a field of dots, and how far along (kz-forming.js). Built once here.
   Its host must be positioned. The page sets the background: a dark box (architect, carousel) or the picture
   showing through (nikhaar). This file loads after the pages' own, so nothing here may fight them. */
.kz-forming { position: absolute; inset: 0; z-index: 40; overflow: hidden; pointer-events: none; transition: opacity .35s ease; }
.kz-forming canvas { position: absolute; inset: 0; }
.kz-forming-label { position: absolute; left: 16px; top: 14px; font: 500 13px/1 Inter, system-ui, sans-serif; }
.kz-forming-pct { position: absolute; right: 14px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,0.92);
  color: #1d1420; font: 600 12px/1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.kz-forming.is-out { opacity: 0; }
.kz-forming-sound { position: absolute; right: 12px; top: 10px; pointer-events: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(20,14,18,0.6); color: rgba(244,233,228,0.8);
  font: 500 12px/1 Inter, system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kz-forming-sound:hover { color: #f4e9e4; border-color: rgba(216,163,94,0.55); }
.kz-forming-sound.is-on { color: #1d1420; background: linear-gradient(135deg, #e3b877, #c9935a); border-color: transparent; }
.kz-forming-sound:focus-visible { outline: 2px solid #d8a35e; outline-offset: 2px; }

/* What kind of thing a card is, said on its picture ("Carousel"), and the button that opens it in the tool that made
   it ("Open in Carousel editor"). Built once here: any library that mixes kinds uses these. */
.kz-kind-host { position: relative; }
.kz-kind-tag { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(20,14,18,0.78);
  border: 1px solid rgba(216,163,94,0.45); color: var(--kz-gold-hi, #e3b877); font: 600 11px/1 Inter, system-ui, sans-serif; letter-spacing: 0.04em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kz-open-in { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(216,163,94,0.4); color: var(--kz-gold-hi, #e3b877); font: 600 12.5px/1 Inter, system-ui, sans-serif; transition: background .15s, border-color .15s; }
.kz-open-in::after { content: '→'; transition: transform .15s; }
a:hover > .kz-open-in, .kz-open-in:hover { background: rgba(216,163,94,0.1); border-color: rgba(216,163,94,0.7); }
a:hover > .kz-open-in::after { transform: translateX(3px); }
@media (max-width: 560px) { .kz-open-in { min-height: 44px; } }
