﻿/* =====================================================================
   Dhraconyx public chrome — Contact / Store / parked support pages
   SSoT: E:\9-CLAUDE STREAM\RUEZALS-SKINS\RUEZALS-CHAT-SHIP-SKIN\
   Palette is law (SHIP-SKIN-RECORD.md). Do not invent colors.
   ===================================================================== */

:root {
  --rz-obsidian: #0B0B0F;
  --rz-emerald: #0E4D30;
  --rz-gold: #C8962A;
  --rz-gold-bright: #e9c25a;
  --rz-teal: #29C4C0;
  --rz-ink-deep: #050807;
  --rz-ink-void: #050608;
  --rz-body: Inter, Arial, "Segoe UI", Helvetica, sans-serif;
  --rz-title: "Cinzel", Georgia, serif;

  /* aliases used by contact/store sheets */
  --gold: var(--rz-gold-bright);
  --gold-dim: rgba(200, 150, 42, 0.55);
  --gold-glow: rgba(200, 150, 42, 0.85);
  --gold-line: rgba(200, 150, 42, 0.5);
  --void: var(--rz-obsidian);
  --panel: rgba(6, 10, 8, 0.90);
  --panel-2: rgba(11, 11, 15, 0.92);
  --edge: rgba(200, 150, 42, 0.35);
  --ink: #ffffff;
  --dim: rgba(255, 255, 255, 0.62);
  --good: #6ecf8a;
  --bad: #e07070;
  --warn: #d98a4a;
  --plum: var(--rz-emerald); /* legacy name → emerald breath, not purple */

  /* ── Accents from ruezals.chat (reuse, do not invent) — 2026-09-24 ──
     Sources:
       --rz-teal #29C4C0 …… ship skin + room-look + dining-shell
       --emerald-bright #32b764 … pack/club-chat ruezals-skin.css
       AskRue blue-flash #288CFF … askrue-login-page.css (.askrue-blue-flash-ring)
       Realm-bar purple #A064C8 … askrue-realm-bar.css (rgba(160,100,200) zone)
       OK/err already: --good #6ecf8a, --bad #e07070 (ship skin)
     Use for badges / step numbers / dividers / icon tints — not body text. */
  --dhx-accent-teal: var(--rz-teal);           /* #29C4C0 */
  --dhx-accent-teal-dim: rgba(41, 196, 192, 0.32);
  --dhx-accent-emerald: #32b764;               /* ruezals-skin --emerald-bright */
  --dhx-accent-emerald-dim: rgba(50, 183, 100, 0.28);
  --dhx-accent-blue: #288CFF;                  /* AskRue blue-flash */
  --dhx-accent-blue-dim: rgba(40, 140, 255, 0.32);
  --dhx-accent-violet: #A064C8;                /* realm-bar purple zone */
  --dhx-accent-violet-dim: rgba(160, 100, 200, 0.30);



  /* Type scale (Cinzel titles / Inter-ish body). Mobile steps down in media. */
  --dhx-fs-hero: 36px;
  --dhx-fs-1: 30px;
  --dhx-fs-2: 24px;
  --dhx-fs-3: 20px;
  --dhx-fs-body: 16px;
  --dhx-fs-sm: 14px;
  --dhx-fs-xs: 12px;
}


* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: Inter, Arial, "Segoe UI", Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "hlig" 0, "calt" 0;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(130% 100% at 50% -10%, #101418 0%, var(--rz-obsidian) 50%, var(--rz-ink-void) 100%);
}

/* Soft ethier wash behind page (atmospheric). Runes stay on panel frames. */
.dhx-ethier {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(5, 8, 7, 0.72), rgba(11, 11, 15, 0.78)),
    url("/assets/ethier/ethier07.jpg") center / cover no-repeat fixed;
  opacity: 0.55;
}
.dhx-ethier::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 680px at 68% -10%, rgba(14, 77, 48, 0.22), transparent 68%),
    radial-gradient(820px 580px at -10% 100%, rgba(200, 150, 42, 0.08), transparent 70%);
}

.dhx-page,
.wrap {
  position: relative;
  z-index: 2;
}

a { color: var(--rz-gold); text-decoration: none; }
a:hover { color: var(--rz-gold-bright); text-decoration: underline; }

/* ── header brand lockup: CLEAN-SOLO + HOZ-WHITE-NAME (real PNGs) ── */
.dhx-top,
.top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 0 18px;
}
.dhx-brandlink {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.dhx-brandlink:hover { text-decoration: none; }
.dhx-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(200, 150, 42, 0.4));
}
.dhx-wordmark {
  height: 26px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(200, 150, 42, 0.25));
}
.dhx-tm {
  font-size: 9px;
  letter-spacing: 0;
  color: var(--rz-gold);
  opacity: 0.75;
  align-self: flex-start;
  margin-top: 2px;
}
.dhx-top .spacer,
.top .spacer { flex: 1 1 auto; }

/* Home nav lock — same items on store / affiliate / meme */
.dhx-topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dhx-topnav .small-button {
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--dim);
  border-radius: 9px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--rz-body);
}
.dhx-topnav .small-button:hover {
  color: var(--rz-gold-bright);
  border-color: var(--rz-gold);
  text-decoration: none;
}
.dhx-topnav .small-button[aria-current="page"] {
  color: var(--rz-gold-bright);
  border-color: var(--rz-gold);
}
.topnav .small-button.dhx-nav-ruezals,
.dhx-topnav .small-button.dhx-nav-ruezals {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* Seat buttons: Sign in XOR Log out. [hidden] must beat display:inline-flex. */
#dhx-signin[hidden],
#dhx-account[hidden],
#dhx-logout[hidden],
#dhx-register[hidden] {
  display: none !important;
}

/* Kill OS chrome on ghost buttons. Gold fill = primary CTA (Sign in). */
.ghost-button,
button.ghost-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 8px 14px;
  font-family: var(--rz-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}
.ghost-button.gold,
button.ghost-button.gold,
.dhx-topnav .ghost-button.gold,
.dhx-topnav #dhx-account {
  border: 1px solid var(--rz-gold);
  background: var(--rz-gold);
  color: var(--void);
}
.ghost-button.gold:hover,
button.ghost-button.gold:hover,
.dhx-topnav #dhx-account:hover {
  background: var(--rz-gold-bright);
  border-color: var(--rz-gold-bright);
  color: var(--void);
  filter: brightness(1.04);
}
.ghost-button:not(.gold) {
  border: 1.5px solid var(--rz-gold);
  background: transparent;
  color: var(--rz-gold);
}
.ghost-button:not(.gold):hover {
  background: rgba(200, 150, 42, 0.12);
  color: var(--rz-gold-bright);
  border-color: var(--rz-gold-bright);
}

/* ── rune-framed panel (ship glass + perimeter runes) ── */
.dhx-rune-panel,
.panel.dhx-rune-panel,
.getit.dhx-rune-panel,
.plans.dhx-rune-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(6, 10, 8, 0.86), rgba(11, 11, 15, 0.90));
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  box-shadow:
    0 0 44px rgba(200, 150, 42, 0.10),
    inset 0 0 60px rgba(14, 77, 48, 0.18);
  overflow: visible;
}

/* Host for twinkling border runes (JS fills spans) */
.dhx-panel-runes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  /* Clip border runes — visible overflow was growing the page scroll area
     (terms / tall panels) and could feedback with resize→rebuild. */
  overflow: hidden;
}
.dhx-panel-runes span {
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Segoe UI Symbol", "Noto Sans Runic", monospace;
  color: var(--rz-gold);
  line-height: 1;
  will-change: transform, opacity;
  text-shadow: 0 0 6px rgba(200, 150, 42, 0.55), 0 0 14px rgba(200, 150, 42, 0.3);
  pointer-events: none;
  user-select: none;
}

/* Panel content sits above the rune ring */
.dhx-rune-panel > *:not(.dhx-panel-runes) {
  position: relative;
  z-index: 4;
}

/* Forms / buttons — ship input + gold-ghost law */
.dhx-rune-panel input,
.dhx-rune-panel textarea,
.panel input,
.panel textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(200, 150, 42, 0.35);
  background: rgba(5, 6, 8, 0.7);
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}
.dhx-rune-panel input:focus,
.dhx-rune-panel textarea:focus,
.panel input:focus,
.panel textarea:focus {
  outline: none;
  border-color: var(--rz-gold);
  box-shadow: 0 0 12px rgba(200, 150, 42, 0.28);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 9px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--rz-gold);
  color: var(--rz-ink-deep);
  letter-spacing: 0.04em;
  transition: filter 0.12s, background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--rz-gold);
  color: var(--rz-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}
.btn.ghost:hover {
  background: rgba(200, 150, 42, 0.12);
  color: var(--rz-gold-bright);
  border-color: var(--rz-gold-bright);
  box-shadow: 0 0 16px rgba(200, 150, 42, 0.22);
  text-decoration: none;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 150, 42, 0.22);
  font-size: 0.82rem;
  color: var(--dim);
}
.foot .spacer { flex: 1 1 auto; }

@media (prefers-reduced-motion: reduce) {
  .dhx-panel-runes { display: none !important; }
}


/* ── account control (button-as-link in store chrome) ── */
button.dhx-account-link,
a.dhx-account-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--rz-gold);
  cursor: pointer;
  text-decoration: none;
}
button.dhx-account-link:hover,
a.dhx-account-link:hover {
  color: var(--rz-gold-bright);
  text-decoration: underline;
}

/* ── in-page login overlay (shared; matches chat modal feel) ── */
.dhx-auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.dhx-auth-backdrop.open { display: grid; }
.dhx-auth-modal {
  width: min(440px, 96vw);
  border: 1px solid rgba(200, 150, 42, 0.4);
  border-radius: 14px;
  background: rgba(10, 14, 12, 0.97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  padding: 22px 20px 18px;
}
.dhx-auth-modal,
.dhx-auth-modal * {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "hlig" 0, "calt" 0;
}
.dhx-auth-modal h3 {
  margin: 0 0 6px;
  font-family: Inter, Arial, "Segoe UI", Helvetica, sans-serif;
  font-size: 1.2rem;
  color: var(--rz-gold);
  text-align: center;
}
.dhx-auth-modal > p {
  text-align: center;
  font-size: 0.78rem;
  color: #8a9088;
  margin: 0 0 14px;
  line-height: 1.4;
}
.dhx-auth-modal .field { margin-bottom: 14px; }
.dhx-auth-modal .field label {
  display: block;
  margin-bottom: 6px;
  color: #789482;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-family: Inter, Arial, "Segoe UI", Helvetica, sans-serif;
}
.dhx-auth-modal .field input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(200, 150, 42, 0.3);
  background: rgba(3, 6, 5, 0.9);
  color: #f6f4ec;
  font: inherit;
  font-size: 0.88rem;
}
.dhx-auth-modal .field input:focus {
  outline: none;
  border-color: var(--rz-gold);
  box-shadow: 0 0 12px rgba(200, 150, 42, 0.28);
}
.dhx-auth-modal .notice {
  color: #e07070;
  font-size: 0.8rem;
  margin: 0 0 10px;
}
.dhx-auth-modal .modal-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.dhx-auth-modal .micro {
  margin: 14px 0 0;
  font-size: 0.72rem;
  color: #5d7566;
  text-align: center;
}
.dhx-auth-modal .btn.primary,
.dhx-auth-modal .primary-button {
  appearance: none;
  border: 0;
  border-radius: 9px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--rz-gold);
  color: var(--rz-ink-deep);
}
.dhx-auth-modal .btn.ghost,
.dhx-auth-modal .ghost-button {
  appearance: none;
  border-radius: 9px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid var(--rz-gold);
  color: var(--rz-gold);
}

/* ethier fade helper used by rotator */
.dhx-ethier {
  transition: opacity 0.9s ease;
}

/* home marketing cards can wear the same rune frame as store panels */
.card.dhx-rune-panel,
.hero-panel.dhx-rune-panel {
  position: relative;
  overflow: visible;
}

/* ── signed-in Your Account flyover/sheet ── */
.dhx-fly-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  justify-content: flex-end;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
}
.dhx-fly-backdrop.open { display: flex; }
.dhx-fly-sheet {
  width: min(420px, 96vw);
  height: 100%;
  max-height: 100vh;
  overflow: auto;
  box-sizing: border-box;
  padding: 18px 18px 22px;
  border-left: 1px solid rgba(200, 150, 42, 0.42);
  background: rgba(8, 10, 9, 0.98);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.55);
  color: #f6f4ec;
  outline: none;
  transform: translateX(12px);
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.dhx-fly-backdrop.open .dhx-fly-sheet {
  transform: translateX(0);
  opacity: 1;
}
.dhx-fly-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.dhx-fly-head h3 {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--rz-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rz-gold, #c8962a);
  letter-spacing: 0.02em;
}
.dhx-fly-x {
  appearance: none;
  border: 0;
  background: transparent;
  color: #8a9088;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
}
.dhx-fly-x:hover { color: var(--rz-gold, #c8962a); }
.dhx-fly-card {
  border: 1px solid rgba(200, 150, 42, 0.28);
  border-radius: 12px;
  background: rgba(5, 6, 8, 0.72);
  padding: 14px 14px 16px;
  margin-bottom: 14px;
}
.dhx-fly-card.is-current {
  border-color: rgba(200, 150, 42, 0.55);
  box-shadow: 0 0 0 1px rgba(200, 150, 42, 0.12) inset;
}
.dhx-fly-card.is-upsale {
  border-color: rgba(200, 150, 42, 0.38);
  background: rgba(12, 14, 11, 0.88);
}
.dhx-fly-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #789482;
  font-weight: 700;
  margin-bottom: 6px;
}
.dhx-fly-card h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--rz-gold, #c8962a);
}
.dhx-fly-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
  background: rgba(200, 150, 42, 0.18);
  color: var(--rz-gold, #c8962a);
  border: 1px solid rgba(200, 150, 42, 0.35);
}
.dhx-fly-price {
  font-size: 1.55rem;
  font-weight: 600;
  color: #f6f4ec;
  margin: 4px 0 8px;
}
.dhx-fly-price span,
.dhx-fly-sticker span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #8a9088;
}
.dhx-fly-sticker {
  font-size: 0.95rem;
  color: #c8c4b8;
  margin-bottom: 6px;
}
.dhx-fly-today {
  margin: 8px 0 10px;
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(200, 150, 42, 0.1);
  border: 1px solid rgba(200, 150, 42, 0.22);
}
.dhx-fly-today b {
  display: block;
  color: var(--rz-gold, #c8962a);
  font-size: 0.95rem;
}
.dhx-fly-today span {
  display: block;
  margin-top: 3px;
  font-size: 0.75rem;
  color: #8a9088;
  line-height: 1.35;
}
.dhx-fly-stuff {
  margin: 0;
  font-size: 0.82rem;
  color: #b7c0b4;
  line-height: 1.45;
}
.dhx-fly-cta {
  appearance: none;
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  background: var(--rz-gold, #c8962a);
  color: var(--rz-ink-deep, #0b0d0a);
}
.dhx-fly-cta:hover { filter: brightness(1.06); }
.dhx-fly-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 4px;
}
.dhx-fly-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--rz-gold, #c8962a);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.dhx-fly-link:hover { color: var(--rz-gold-bright, #e0b84a); }
.dhx-fly-quiet {
  font-size: 0.72rem;
  color: #5d7566;
  text-decoration: none;
}
.dhx-fly-quiet:hover { color: #8a9088; text-decoration: underline; }
.dhx-fly-muted,
.dhx-fly-top {
  font-size: 0.8rem;
  color: #8a9088;
  margin: 0 0 12px;
}
.dhx-fly-note {
  font-size: 0.78rem;
  color: #c8c4b8;
  margin: 0 0 12px;
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(200, 150, 42, 0.08);
  border: 1px solid rgba(200, 150, 42, 0.2);
  line-height: 1.4;
}
.dhx-fly-note a { color: var(--rz-gold, #c8962a); }
.dhx-fly-err {
  color: #e07070;
  font-size: 0.85rem;
  margin: 0 0 14px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .dhx-fly-backdrop {
    align-items: flex-end;
    justify-content: stretch;
  }
  .dhx-fly-sheet {
    width: 100%;
    height: auto;
    max-height: min(88vh, 720px);
    border-left: 0;
    border-top: 1px solid rgba(200, 150, 42, 0.42);
    border-radius: 16px 16px 0 0;
    transform: translateY(16px);
  }
  .dhx-fly-backdrop.open .dhx-fly-sheet {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dhx-fly-sheet { transition: none; }
}


/* ── Shared type scale utilities (affiliate / meme / home sections) ── */
.dhx-h-hero,
.meme-hero h1,
.aff-hero h1 { font-family: var(--rz-title); font-size: var(--dhx-fs-hero); line-height: 1.15; font-weight: 700; }
.dhx-h1 { font-family: var(--rz-title); font-size: var(--dhx-fs-1); line-height: 1.2; font-weight: 700; }
.dhx-h2,
.meme-section h2,
.aff-section h2,
.aff-pitch h2,
.meme-cta-band h2 { font-family: var(--rz-title); font-size: var(--dhx-fs-2); line-height: 1.25; font-weight: 700; }
.dhx-h3,
.meme-card h3,
.aff-card h3,
.aff-principle h3 { font-family: var(--rz-title); font-size: var(--dhx-fs-3); line-height: 1.3; font-weight: 700; }
.dhx-body,
.meme-hero .lede,
.aff-hero .lede,
.aff-section .lede,
.meme-lede-left { font-size: var(--dhx-fs-body); line-height: 1.65; }
.dhx-sm,
.meme-eyebrow,
.aff-eyebrow,
.micro { font-size: var(--dhx-fs-sm); line-height: 1.5; }
.dhx-xs { font-size: var(--dhx-fs-xs); line-height: 1.45; }

.dhx-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: var(--dhx-fs-xs); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--dhx-accent-blue-dim);
  color: var(--dhx-accent-blue);
  background: rgba(40, 140, 255, 0.08);
}
.dhx-badge.emerald {
  border-color: var(--dhx-accent-emerald-dim); color: var(--dhx-accent-emerald);
  background: rgba(50, 183, 100, 0.08);
}
.dhx-badge.violet {
  border-color: var(--dhx-accent-violet-dim); color: var(--dhx-accent-violet);
  background: rgba(160, 100, 200, 0.08);
}
.dhx-badge.teal {
  border-color: var(--dhx-accent-teal-dim); color: var(--dhx-accent-teal);
  background: rgba(41, 196, 192, 0.08);
}

/* Affiliate code box — checkout, Meme page, later products. */
.dhx-aff-code {
  margin: 18px 0 8px;
  padding: 16px 16px 14px;
  text-align: left;
}
.dhx-aff-code-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #fff;
  font-size: var(--dhx-fs-sm, 14px);
  font-weight: 600;
}
.dhx-aff-code-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dhx-aff-code-row input {
  flex: 1 1 180px;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--gold-line, rgba(200,150,42,.45));
  background: #0b0b0f;
  color: #fff;
  font-size: 16px;
}
.dhx-aff-code-row input:focus {
  outline: none;
  border-color: var(--rz-gold);
}
.dhx-aff-code-hint {
  margin: 8px 0 0;
  color: var(--dim, rgba(255,255,255,.62));
  font-size: var(--dhx-fs-xs, 12px);
  line-height: 1.45;
}
.dhx-aff-code [data-aff-msg] {
  margin: 10px 0 0;
  font-size: var(--dhx-fs-sm, 14px);
}
.dhx-aff-code [data-aff-msg].is-good { color: var(--good, #6ecf8a); }
.dhx-aff-code [data-aff-msg].is-bad { color: var(--bad, #e07070); }

@media (max-width: 720px) {
  :root {
    --dhx-fs-hero: 30px;
    --dhx-fs-1: 26px;
    --dhx-fs-2: 22px;
    --dhx-fs-3: 18px;
    --dhx-fs-body: 15px;
  }
}
@media (max-width: 480px) {
  :root {
    --dhx-fs-hero: 28px;
    --dhx-fs-1: 24px;
    --dhx-fs-2: 20px;
    --dhx-fs-3: 17px;
    --dhx-fs-body: 15px;
  }
}
