/* RedLover: The Building.
   Dark only. Tokens first, then the signage system, then the Bootstrap remap
   that lets the existing views keep their utility classes.

   The product is a building at night: every companion is a door, the feed is
   the directory, the chat is the room behind it. Colour is borrowed from a
   night lobby: oxblood walls, brass fittings, one red door, lamplight. */

:root {
  color-scheme: dark;

  --ground: #0C0908;
  --ground-2: #120D0C;
  --surface: #1A1211;
  --surface-2: #241716;
  --line: #3A2A26;

  --ink: #F4EDE6;
  --muted: #A2917F;

  --brass: #C8A268;
  --brass-dim: #8A6E45;
  --door: #C8322A;
  --door-deep: #A8281F;
  --red: #E8564A;
  --lamp: #F0A35E;
  --telegram: #229ED9;
  --telegram-deep: #1c88bb;

  --sign: 'Archivo Narrow', 'Arial Narrow', sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Roboto Mono', ui-monospace, SFMono-Regular, monospace;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --hdr-h: 68px;
  --tabs-h: 58px;

  /* Bootstrap remap: existing .bg-white / .text-dark / .card markup lands on
     the night lobby instead of a white page. New markup uses the tokens. */
  --bs-body-bg: var(--ground);
  --bs-body-color: var(--ink);
  --bs-body-color-rgb: 244, 237, 230;
  --bs-body-bg-rgb: 12, 9, 8;
  --bs-emphasis-color: var(--ink);
  --bs-secondary-color: var(--muted);
  --bs-secondary-bg: var(--surface);
  --bs-tertiary-color: var(--muted);
  --bs-tertiary-bg: var(--surface-2);
  --bs-border-color: var(--line);
  --bs-border-color-translucent: rgba(200, 162, 104, .16);
  --bs-white: var(--ground);
  --bs-white-rgb: 12, 9, 8;
  --bs-black: var(--ink);
  --bs-black-rgb: 244, 237, 230;
  --bs-light: var(--surface-2);
  --bs-light-rgb: 36, 23, 22;
  --bs-dark: var(--ink);
  --bs-dark-rgb: 244, 237, 230;
  --bs-link-color: var(--red);
  --bs-link-hover-color: #FF7A6E;
  --bs-focus-ring-color: rgba(232, 86, 74, .45);
  --bs-card-bg: var(--surface);
  --bs-card-color: var(--ink);
  --bs-card-border-color: var(--line);
  --bs-table-color: var(--ink);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--line);
  --bs-table-striped-bg: var(--surface);
  --bs-table-hover-bg: var(--surface);
  --bs-dropdown-bg: var(--surface);
  --bs-dropdown-color: var(--ink);
  --bs-dropdown-border-color: var(--line);
  --bs-dropdown-link-color: var(--ink);
  --bs-dropdown-link-hover-bg: var(--surface-2);
  --bs-dropdown-link-hover-color: var(--ink);
  --bs-dropdown-divider-bg: var(--line);
  --bs-dropdown-header-color: var(--muted);
}

/* base ------------------------------------------------------------------ */
html { background: var(--ground); }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--sign);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98;
  margin: 0;
}
h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
h5, h6 { font-family: var(--sans); font-weight: 600; text-transform: none; letter-spacing: -.005em; }
a { color: var(--red); text-decoration: none; }
a:hover { color: #FF7A6E; }
::selection { background: rgba(200, 50, 42, .35); color: var(--ink); }
* { scrollbar-color: var(--surface-2) var(--ground); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }
hr { border-color: var(--line); opacity: 1; }

/* signage primitives ---------------------------------------------------- */
/* A plate is a small engraved label: brass, mono, spaced. */
.cc-plate {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border: 1px solid var(--brass-dim); border-radius: 2px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; color: var(--brass); text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.cc-plate--door { border-color: var(--door); color: #F2B7B1; }
/* A sign is a section label: condensed caps, brass, wide. */
.cc-sign {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sign); font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 14px;
}
.cc-sign::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.cc-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.cc-lede { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 46ch; }

/* shell: the directory bar ---------------------------------------------- */
.cc-hdr {
  position: sticky; top: 0; z-index: 1030;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.cc-hdr-in {
  display: flex; align-items: center; gap: 20px;
  height: var(--hdr-h); max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
/* The lockup: mark and wordmark read as one object, not two neighbours. */
.cc-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); flex: 0 0 auto; }
.cc-brand:hover { color: var(--ink); }
.cc-brand-mark { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
.cc-brand-name {
  font-family: var(--sign); font-size: 20px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; line-height: .82;
  transform: translateY(2px);
}
.cc-nav { display: flex; gap: 24px; margin-inline-start: 8px; }
.cc-nav a {
  position: relative; display: inline-flex; align-items: center; height: var(--hdr-h);
  font-family: var(--sign); font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.cc-nav a:hover { color: var(--ink); }
.cc-nav a[aria-current="page"] { color: var(--ink); }
.cc-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--door);
}
.cc-hdr-right { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

/* language: a dropdown that holds every locale the site ships, not a toggle */
.cc-lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px;
  border: 1px solid var(--brass-dim); border-radius: 2px;
  background: transparent; color: var(--brass);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer;
}
.cc-lang-btn:hover { border-color: var(--brass); color: var(--brass); }
.cc-lang-btn svg { display: block; opacity: .9; }
.cc-lang-menu { min-width: 190px; padding: 6px; max-height: 60vh; overflow-y: auto; }
.cc-lang-menu .dropdown-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 10px; border-radius: 3px; font-size: 13.5px;
}
.cc-lang-menu .dropdown-item span { font-family: var(--mono); font-size: 11px; color: var(--brass); letter-spacing: .08em; }
.cc-lang-menu .dropdown-item[aria-current="true"] { background: var(--surface-2); }

.cc-coins {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px;
  border: 1px solid var(--brass-dim); border-radius: 2px;
  color: var(--ink); font-family: var(--mono); font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.cc-coins:hover { border-color: var(--brass); color: var(--ink); }
.cc-coins svg { color: var(--brass); }

.cc-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border: 0; border-radius: 3px;
  background: var(--door); color: #fff;
  font-family: var(--sign); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.cc-cta:hover { background: var(--door-deep); color: #fff; }

.cc-plan {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px;
  border: 1px solid var(--brass-dim); border-radius: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brass);
}

.cc-av {
  width: 34px; height: 34px; padding: 0; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--brass-dim); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--brass); cursor: pointer;
}
.cc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* shell: the tab bar (mobile) ------------------------------------------- */
.cc-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: none;
  background: var(--ground);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.cc-tabs a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  height: var(--tabs-h); min-width: 44px;
  font-family: var(--sign); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.cc-tabs a svg { display: block; }
.cc-tabs a[aria-current="page"] { color: var(--ink); }
.cc-tabs a[aria-current="page"]::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--door);
}

/* shell: front desk footer ---------------------------------------------- */
.cc-ftr { border-top: 1px solid var(--line); margin-top: 64px; padding: 36px 0 44px; }
.cc-ftr-name { font-family: var(--sign); font-size: 17px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.cc-ftr h6, .cc-ftr .cc-ftr-heading { font-family: var(--sign); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.cc-ftr a { color: var(--muted); font-size: 13.5px; }
.cc-ftr a:hover { color: var(--ink); }
.cc-ftr-legal { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }

/* the door: one companion ------------------------------------------------ */
.cc-door {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
}
.cc-door:hover { border-color: var(--brass-dim); }
.cc-door-shot { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--ground-2); }
.cc-door-shot img,
.cc-door-shot video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.92) contrast(1.02);
}
/* The transom: a dark scrim that makes the plate readable and reads as glass. */
.cc-door-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,9,8,.55) 0%, rgba(12,9,8,0) 34%, rgba(12,9,8,.82) 100%);
}
.cc-door-num {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
  padding: 3px 8px; border: 1px solid var(--brass); border-radius: 2px;
  background: rgba(12, 9, 8, .55);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; color: var(--brass); font-variant-numeric: tabular-nums;
}
.cc-door-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; }
.cc-door-name {
  font-family: var(--sign); font-size: 17px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink); line-height: 1.05;
  margin: 0;
}
.cc-door-name a { color: inherit; text-decoration: none; }
.cc-door-name a:hover { color: var(--brass); }
.cc-door-line { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.cc-door-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* the peephole: the character portrait, seen through the door ------------ */
.cc-peep {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; border: 6px solid var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--brass-dim);
  background: var(--ground-2);
}
.cc-peep img,
.cc-peep video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.94) contrast(1.03); }
.cc-peep::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(240,163,94,.10) 0%, rgba(12,9,8,0) 45%, rgba(12,9,8,.55) 100%);
}

/* a still: any photo in the building ------------------------------------ */
.cc-still { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--r-md); object-fit: cover; }
.cc-polaroid {
  display: inline-block; padding: 7px 7px 24px; background: #E9DFD2;
  border-radius: 2px; transform: rotate(-1.2deg);
}
.cc-polaroid img { display: block; width: 100%; border-radius: 1px; }

/* panels ---------------------------------------------------------------- */
.cc-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px; }
.cc-panel--flat { background: transparent; }
.cc-rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* the noticeboard: tasks ------------------------------------------------- */
.cc-punch { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-punch-hole {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px dashed var(--brass-dim); display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.cc-punch-hole--on { border-style: solid; border-color: var(--door); background: rgba(200,50,42,.14); color: #F2B7B1; }
.cc-note { border-top: 1px solid var(--line); padding: 16px 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cc-note-title { font-size: 15px; font-weight: 600; }
.cc-note-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* the intercom: voices --------------------------------------------------- */
.cc-intercom { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cc-intercom-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
.cc-intercom-row:first-child { border-top: 0; }
.cc-intercom-row:hover { background: var(--surface); }
.cc-intercom-play {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%;
  border: 1px solid var(--brass-dim); background: transparent; color: var(--brass);
  display: grid; place-items: center; cursor: pointer;
}
.cc-intercom-play:hover { border-color: var(--brass); color: var(--brass); }
.cc-wave { flex: 1 1 auto; height: 26px; display: flex; align-items: center; gap: 2px; min-width: 0; overflow: hidden; }
.cc-wave i { display: block; width: 2px; border-radius: 1px; background: var(--brass-dim); }
.cc-intercom-name { font-family: var(--sign); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 575.98px) {
  .cc-intercom-row { flex-wrap: wrap; }
  .cc-wave { display: none; }
}

/* the keys: pricing ------------------------------------------------------ */
.cc-key {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 20px 20px 18px; height: 100%;
  display: flex; flex-direction: column;
}
.cc-key--on { border-color: var(--door); }
.cc-key::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 0;
  border-top: 1px dashed var(--line);
}
.cc-key-name { font-family: var(--sign); font-size: 20px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cc-key-price { font-family: var(--sign); font-size: 40px; font-weight: 700; letter-spacing: -.01em; line-height: 1; margin: 10px 0 2px; }
.cc-key-price small { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; color: var(--muted); margin-inline-start: 6px; }
.cc-key-list { list-style: none; padding: 0; margin: 16px 0 20px; }
.cc-key-list li { font-size: 13.5px; color: var(--muted); padding: 5px 0; display: flex; gap: 8px; }
.cc-key-list li::before { content: "·"; color: var(--brass); }

/* the darkroom: profile -------------------------------------------------- */
.cc-stat { border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
.cc-stat-num { font-family: var(--sign); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.cc-stat-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* the buzzer: auth ------------------------------------------------------- */
.cc-buzzer { border: 1px solid var(--brass-dim); border-radius: var(--r-lg); background: var(--surface); padding: 24px; }

/* the directory filters: a strip of labels, not pills */
.cc-filters { display: flex; flex-direction: column; gap: 8px; }
.cc-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cc-filter-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass-dim); min-width: 72px;
}
.cc-filter {
  display: inline-flex; align-items: center; height: 30px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--sign); font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.cc-filter:hover { color: var(--ink); border-color: var(--brass-dim); }
.cc-filter--on { color: var(--ink); border-color: var(--door); background: rgba(200,50,42,.14); }
.cc-directory { padding-top: 4px; }

.cc-post { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px; height: 100%; }
.cc-post-link { display: block; color: inherit; }
.cc-post-link:hover .cc-post { border-color: var(--brass-dim); }
.cc-post-title { font-family: var(--sign); font-size: 21px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 8px; color: var(--ink); }

/* the door page: peephole portrait + name plate --------------------------- */
.cc-doorpage { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 44px; align-items: start; }
.cc-doorpage-side { position: sticky; top: calc(var(--hdr-h) + 16px); }
.cc-doorpage-side .cc-peep { display: block; }
.cc-doorpage-main h1 { font-size: clamp(38px, 6vw, 68px); }

@media (max-width: 991.98px) {
  .cc-doorpage { grid-template-columns: 1fr; gap: 20px; }
  .cc-doorpage-side { position: static; display: flex; flex-direction: column; align-items: flex-start; }
  .cc-doorpage-side .cc-shot { width: 168px; }
  .cc-doorpage-main h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* the entrance: home hero ------------------------------------------------ */
.cc-entrance { padding: 40px 0 8px; }
.cc-entrance-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.cc-entrance-copy h1 { max-width: 15ch; }
.cc-entrance-door {
  position: relative; display: block; aspect-ratio: 4/5; overflow: hidden;
  border: 1px solid var(--brass-dim); border-radius: var(--r-lg);
  background: var(--ground-2);
}
.cc-entrance-door img,
.cc-entrance-door video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.94) contrast(1.03); }
.cc-entrance-door::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,9,8,.45) 0%, rgba(12,9,8,0) 30%, rgba(12,9,8,.88) 100%);
}
.cc-entrance-door .cc-door-num { top: 14px; inset-inline-start: 14px; font-size: 12px; padding: 4px 10px; }
.cc-entrance-door-name {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  font-family: var(--sign); font-size: 22px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.cc-notice-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.cc-notice-block .cc-prose { max-width: 62ch; }

.cc-hero-prose { max-width: 44ch; font-size: 15px; line-height: 1.6; }
/* chapters: five rooms, five compositions. The copy and its order never move;
   only the frame around it changes, so the middle of the page has rhythm. */
.cc-chapters { display: flex; flex-direction: column; overflow-x: clip; }
.cc-chapter { position: relative; display: grid; gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); }
.cc-chapter:first-child { border-top: 0; padding-top: 0; }
.cc-chapter-copy { min-width: 0; align-self: start; }
.cc-chapter-copy h2 { font-size: clamp(22px, 2.8vw, 32px); text-wrap: balance; }
.cc-chapter-body { margin-top: 14px; }
.cc-chapter-body .cc-prose { max-width: 62ch; }
.cc-chapter-num {
  font-family: var(--sign); font-weight: 700; line-height: .8;
  letter-spacing: .02em; color: var(--brass-dim);
  font-variant-numeric: tabular-nums;
}
.cc-chapter-art { margin: 0; position: relative; overflow: hidden; background: var(--ground-2); }
.cc-chapter-art img,
.cc-chapter-art video,
.cc-chapter-tile img,
.cc-chapter-tile video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
}
.cc-chapter-art img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cc-chapter-tile { display: block; overflow: hidden; background: var(--ground-2); }
@media (hover: hover) and (pointer: fine) {
  .cc-chapter:hover .cc-chapter-art img { transform: scale(1.035); }
}

.cc-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.cc-ticks li { border-top: 1px solid var(--brass-dim); padding-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* 01: the doorway. Outline numeral, copy, tall portrait. */
.cc-chapter--1 { grid-template-columns: 64px minmax(0, 1fr) minmax(240px, 340px); align-items: start; }
.cc-chapter--1 .cc-chapter-num { font-size: 56px; color: transparent; -webkit-text-stroke: 1px var(--brass-dim); padding-top: 2px; }
@supports not (-webkit-text-stroke: 1px black) {
  .cc-chapter--1 .cc-chapter-num { color: var(--brass-dim); }
}
.cc-chapter--1 .cc-chapter-art--tall { aspect-ratio: 4 / 5; border: 1px solid var(--brass-dim); border-radius: var(--r-lg); }
.cc-chapter--1 .cc-ticks { gap: 10px; }
.cc-chapter--1 .cc-ticks li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; border-top: 0; padding-top: 0; }
.cc-chapter--1 .cc-ticks li::before { content: ""; width: 6px; height: 6px; margin-top: 7px; background: var(--brass-dim); }

/* 02: the contact sheet. Two-column copy, a three-tile strip below, one clip. */
.cc-chapter--2 { grid-template-columns: 72px minmax(0, 1fr); gap: 24px 32px; }
.cc-chapter--2 .cc-chapter-num {
  grid-column: 1; grid-row: 1; justify-self: start; align-self: start;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--brass); border: 1px solid var(--brass-dim); border-radius: 2px;
  padding: 3px 8px; line-height: 1.4;
}
.cc-chapter--2 .cc-chapter-copy { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 32px; }
.cc-chapter--2 .cc-chapter-body { margin-top: 0; }
.cc-chapter--2 .cc-chapter-art--strip {
  grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.cc-chapter--2 .cc-chapter-tile { aspect-ratio: 4 / 5; }
.cc-chapter--2 .cc-ticks { grid-template-columns: repeat(3, 1fr); }

/* 03: the mirror. Portrait left, copy right, frame tilted over the rule. */
.cc-chapter--3 { grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
.cc-chapter--3 .cc-chapter-art--mirror {
  aspect-ratio: 4 / 5; border: 1px solid var(--brass-dim); border-radius: var(--r-lg);
  transform: rotate(-1.2deg); margin-top: -40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.cc-chapter--3:first-child .cc-chapter-art--mirror { margin-top: 0; }
.cc-chapter--3 .cc-chapter-copy { position: relative; padding-inline-start: 44px; }
.cc-chapter--3 .cc-chapter-num {
  position: absolute; inset-inline-start: 0; top: 4px; writing-mode: vertical-rl;
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em;
  color: var(--brass);
}
.cc-chapter--3 .cc-ticks { gap: 0; }
.cc-chapter--3 .cc-ticks li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; }
.cc-chapter--3 .cc-ticks li:first-child { border-top: 0; padding-top: 0; }
.cc-chapter--3 .cc-ticks li::before { content: ""; width: 6px; height: 6px; margin-top: 7px; background: var(--door); }

/* 04: the diptych. Two portraits flank a centred copy column. */
.cc-chapter--4 { grid-template-columns: minmax(0, 1fr) minmax(0, 52ch) minmax(0, 1fr); grid-template-rows: auto auto; gap: 24px 40px; align-items: start; }
.cc-chapter--4 .cc-chapter-num { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 16px; width: 100%; font-size: 44px; color: var(--door); }
.cc-chapter--4 .cc-chapter-num::before,
.cc-chapter--4 .cc-chapter-num::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.cc-chapter--4 .cc-chapter-copy { grid-column: 2; grid-row: 2; text-align: center; }
.cc-chapter--4 .cc-chapter-copy .cc-prose { margin-left: auto; margin-right: auto; }
.cc-chapter--4 .cc-chapter-art--a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3 / 4; margin-top: 40px; border: 1px solid var(--brass-dim); border-radius: var(--r-lg); }
.cc-chapter--4 .cc-chapter-art--b { grid-column: 3; grid-row: 1 / span 2; aspect-ratio: 3 / 4; margin-top: 96px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cc-chapter--4 .cc-ticks { grid-template-columns: 1fr 1fr; text-align: start; }

/* 05: the room. A wide backdrop with the copy in a solid panel. */
.cc-chapter--5 { display: flex; align-items: flex-end; min-height: 520px; padding: 0; border-radius: var(--r-lg); overflow: hidden; }
.cc-chapter--5 .cc-chapter-art--room { position: absolute; inset: 0; }
.cc-chapter--5 .cc-chapter-art--room img { width: 120%; object-position: 0% 12%; }
.cc-chapter--5 .cc-chapter-art--room::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 9, 8, .12) 0%, rgba(12, 9, 8, .78) 100%);
}
.cc-chapter--5 .cc-chapter-copy {
  position: relative; width: min(560px, calc(100% - 48px)); margin: 24px;
  padding: 28px; background: var(--ground-2);
  border: 1px solid var(--brass-dim); border-radius: var(--r-lg);
}
.cc-chapter--5 .cc-chapter-num { position: absolute; top: 16px; inset-inline-end: 18px; font-size: 40px; color: var(--door); transform: rotate(-4deg); opacity: .9; }
.cc-chapter--5 .cc-chapter-copy h2 { padding-inline-end: 64px; }
.cc-chapter--5 .cc-ticks { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chapter--5 .cc-ticks li { border: 1px solid var(--line); border-radius: 2px; padding: 7px 10px; font-size: 12.5px; }

@media (max-width: 991.98px) {
  /* 01: the portrait becomes the top band, the numeral sits on it */
  .cc-chapter--1 { grid-template-columns: 1fr; gap: 18px; }
  .cc-chapter--1 .cc-chapter-art--tall { order: -1; aspect-ratio: 4 / 5; }
  .cc-chapter--1 .cc-chapter-num {
    position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
    padding: 3px 8px; border: 1px solid var(--brass-dim); border-radius: 2px;
    background: rgba(12, 9, 8, .72); font-family: var(--mono); font-size: 11px;
    letter-spacing: .14em; color: var(--brass); -webkit-text-stroke: 0;
  }

  /* 02: plate, copy, strip */
  .cc-chapter--2 { grid-template-columns: 1fr; gap: 18px; }
  .cc-chapter--2 .cc-chapter-num { grid-column: 1; grid-row: 1; }
  .cc-chapter--2 .cc-chapter-copy { grid-column: 1; grid-row: 2; display: block; }
  .cc-chapter--2 .cc-chapter-body { margin-top: 14px; }
  .cc-chapter--2 .cc-chapter-art--strip { grid-column: 1; grid-row: 3; }
  .cc-chapter--2 .cc-ticks { grid-template-columns: 1fr; }

  /* 03: the portrait floats inline-end and the text wraps */
  .cc-chapter--3 { display: block; }
  .cc-chapter--3 .cc-chapter-art--mirror {
    float: right; width: 48%; margin: 0 0 14px 18px; transform: none;
  }
  [dir="rtl"] .cc-chapter--3 .cc-chapter-art--mirror {
    float: left; margin: 0 18px 14px 0;
  }
  .cc-chapter--3 .cc-chapter-copy { padding-inline-start: 0; }
  .cc-chapter--3 .cc-chapter-num {
    position: relative; inset-inline-start: auto; top: auto; writing-mode: horizontal-tb;
    display: inline-flex; margin-bottom: 10px; padding: 3px 8px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
    color: var(--brass); border: 1px solid var(--brass-dim); border-radius: 2px;
  }
  .cc-chapter--3::after { content: ""; display: block; clear: both; }

  /* 04: the pair above the copy */
  .cc-chapter--4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 14px; }
  .cc-chapter--4 .cc-chapter-art--a { grid-column: 1; grid-row: 1; margin-top: 0; }
  .cc-chapter--4 .cc-chapter-art--b { grid-column: 2; grid-row: 1; margin-top: 0; }
  .cc-chapter--4 .cc-chapter-num { grid-column: 1 / -1; grid-row: 2; }
  .cc-chapter--4 .cc-chapter-copy { grid-column: 1 / -1; grid-row: 3; text-align: start; }
  .cc-chapter--4 .cc-ticks { grid-template-columns: 1fr; }

  /* 05: backdrop on top, the panel overlaps it */
  .cc-chapter--5 { display: block; min-height: 0; padding: 0; }
  .cc-chapter--5 .cc-chapter-art--room { position: relative; aspect-ratio: 4 / 3; }
  .cc-chapter--5 .cc-chapter-art--room img { width: 100%; object-position: 50% 12%; }
  .cc-chapter--5 .cc-chapter-copy {
    position: relative; width: auto; margin: -48px 16px 0; padding: 22px;
  }
}

@media (max-width: 767.98px) {
  .cc-chapter { padding: 34px 0; gap: 20px; }
  .cc-chapter-copy h2 { font-size: 22px; }
  .cc-chapter--1 .cc-chapter-art--tall { aspect-ratio: 4 / 3; }
  .cc-chapter--3 .cc-chapter-art--mirror { width: 40%; }
}

/* the text-only fallback wins over every responsive variant */
.cc-chapter--bare { display: block; }
.cc-chapter--bare .cc-chapter-copy { display: block; position: static; padding-inline-start: 0; text-align: start; }
.cc-chapter--bare .cc-chapter-num {
  position: static; left: auto; top: auto; right: auto; transform: none;
  writing-mode: horizontal-tb; display: inline-flex; width: auto;
  margin: 0 0 10px; padding: 3px 8px; font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; color: var(--brass);
  border: 1px solid var(--brass-dim); border-radius: 2px; -webkit-text-stroke: 0;
}
.cc-chapter--bare .cc-chapter-num::before,
.cc-chapter--bare .cc-chapter-num::after { content: none; }
.cc-chapter--5.cc-chapter--bare { min-height: 0; padding: 34px 0; border-radius: 0; overflow: visible; }
.cc-chapter--5.cc-chapter--bare .cc-chapter-copy { width: auto; margin: 0; padding: 0; background: transparent; border: 0; }
.cc-chapter--5.cc-chapter--bare .cc-chapter-num { position: static; transform: none; }

/* steps: numbered rows, never three equal cards */
.cc-steps { display: flex; flex-direction: column; }
.cc-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); align-items: start; }
.cc-step:first-child { border-top: 0; padding-top: 0; }
.cc-step-num { font-family: var(--sign); font-size: 30px; font-weight: 700; line-height: 1; color: var(--door); letter-spacing: .02em; }
.cc-step-title { font-family: var(--sign); font-size: 17px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cc-step-desc { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 4px; max-width: 56ch; }

/* steps: a horizontal strip with oversized numerals on desktop */
.cc-steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cc-step3 { background: var(--ground); padding: 24px 20px 26px; }
.cc-step3-num { display: block; font-family: var(--sign); font-size: 44px; font-weight: 700; line-height: .9; color: var(--door); letter-spacing: .01em; }
.cc-step3-title { font-family: var(--sign); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 14px; }
.cc-step3-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-top: 6px; }

/* comparison: the RedLover column is the only one lit */
.cc-compare thead th { border-bottom: 1px solid var(--brass-dim); }
.cc-compare .cc-us { background: rgba(200, 162, 104, .09); color: var(--ink); font-weight: 600; box-shadow: inset 1px 0 0 var(--brass-dim), inset -1px 0 0 var(--brass-dim); }

@media (max-width: 767.98px) {
  .cc-steps3 { grid-template-columns: 1fr; }
  .cc-step3-num { font-size: 32px; }
}

/* the final call: one door */
.cc-final { margin-top: 56px; padding: 56px 24px; text-align: center; border: 1px solid var(--brass-dim); border-radius: var(--r-lg); background: radial-gradient(120% 100% at 50% 0%, rgba(200,50,42,.16) 0%, rgba(12,9,8,0) 62%); }
.cc-final h2 { font-size: clamp(28px, 4vw, 44px); }
.cc-final .cc-lede { margin: 0 auto; }

@media (max-width: 991.98px) {
  .cc-entrance-in { grid-template-columns: 1fr; gap: 28px; }
  .cc-entrance-door { aspect-ratio: 16/10; }
}

/* empty state ------------------------------------------------------------ */
.cc-empty {
  border: 1px dashed var(--line); border-radius: var(--r-lg);
  padding: 48px 24px; text-align: center; color: var(--muted);
}

/* content primitives ---------------------------------------------------- */
.cc-chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  color: var(--muted); text-transform: uppercase;
}
.cc-blog-article { max-width: 74ch; }
.cc-prose { font-size: 16px; line-height: 1.65; color: var(--muted); }
.cc-prose > :last-child { margin-bottom: 0; }
.cc-prose p { margin: 0 0 14px; }
.cc-prose strong, .cc-prose b { color: var(--ink); font-weight: 600; }
.cc-prose h2 { color: var(--ink); margin: 32px 0 12px; font-size: 22px; scroll-margin-top: 84px; }
.cc-prose h3 { color: var(--ink); margin: 24px 0 10px; font-size: 18px; scroll-margin-top: 84px; }
.cc-prose h4 { color: var(--brass); margin: 20px 0 8px; font-size: 16px; scroll-margin-top: 84px; }
.cc-prose ul, .cc-prose ol { padding-inline-start: 20px; margin: 0 0 14px; }
.cc-prose li { margin-bottom: 6px; }
.cc-prose li > ul, .cc-prose li > ol { margin-top: 6px; margin-bottom: 6px; }
.cc-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.cc-prose code {
  font-family: var(--mono); font-size: 0.875em; color: var(--brass);
  background: var(--surface-2); padding: 2px 6px; border-radius: var(--r-sm);
  direction: ltr; unicode-bidi: embed;
}
.cc-prose .cc-code {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px; margin: 0 0 18px; overflow-x: auto;
  direction: ltr; text-align: left;
}
.cc-prose .cc-code code {
  background: transparent; padding: 0; color: var(--ink); font-size: 13.5px; line-height: 1.55;
}
.cc-prose .cc-callout {
  background: var(--surface); border-inline-start: 3px solid var(--brass);
  border-start-end-radius: var(--r-md); border-end-end-radius: var(--r-md);
  padding: 16px 18px; margin: 0 0 20px;
}
.cc-prose .cc-callout > :last-child { margin-bottom: 0; }
.cc-prose .cc-blog-table {
  margin-bottom: 0; border-color: var(--line); font-size: 14px;
}
.cc-prose .cc-blog-table th {
  background: var(--surface-2); color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line); white-space: nowrap; padding: 10px 12px;
}
.cc-prose .cc-blog-table td {
  color: var(--muted); border-color: var(--line); padding: 10px 12px; vertical-align: top;
}
.cc-section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.cc-section-sub { color: var(--muted); margin: 0 0 20px; max-width: 56ch; }

.cc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cc-fact { background: var(--ground); padding: 18px 20px; }
.cc-fact > h3 { margin: 0 0 10px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.cc-fact p { margin: 0; color: var(--ink); font-size: 14px; }
.cc-fact .cc-chip { margin: 0 6px 6px 0; }

.cc-scene-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px 22px; }
.cc-scene-card-head { font-family: var(--sign); font-size: 19px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

.cc-session { display: flex; gap: 16px; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cc-session-shot { flex: 0 0 auto; width: 68px; }
.cc-session-shot img,
.cc-session-shot video { width: 68px; height: 90px; object-fit: cover; border-radius: var(--r-md); display: block; }
.cc-session-body { min-width: 0; flex: 1 1 auto; }
.cc-session-top { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.cc-session-name { font-family: var(--sign); font-size: 16px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-session-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); line-height: 1.5; text-transform: uppercase; }

.cc-shop-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 16px; }
.cc-shop-name { font-size: 14.5px; font-weight: 600; }
.cc-shop-slot { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* Bootstrap components -------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line) !important; border-radius: var(--r-lg); color: var(--ink); }
.card-body { padding: 18px; }
.shadow, .shadow-sm, .shadow-lg { box-shadow: none !important; }
.card-img-top { border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }

.btn { --bs-btn-font-family: var(--sans); --bs-btn-border-radius: 3px; font-weight: 500; }
.btn-sm { --bs-btn-padding-y: .3rem; --bs-btn-font-size: 13px; }
.btn-lg { --bs-btn-padding-y: .65rem; --bs-btn-padding-x: 1.25rem; --bs-btn-font-size: 15px; }

.btn-dark {
  --bs-btn-bg: var(--door); --bs-btn-border-color: var(--door);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--door-deep); --bs-btn-hover-border-color: var(--door-deep); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #96231B; --bs-btn-active-border-color: #96231B; --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: #4A211E; --bs-btn-disabled-border-color: #4A211E; --bs-btn-disabled-color: #C9A9A4;
  font-family: var(--sign); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.btn-outline-dark {
  --bs-btn-color: var(--ink); --bs-btn-border-color: var(--brass-dim);
  --bs-btn-hover-bg: var(--surface-2); --bs-btn-hover-border-color: var(--brass); --bs-btn-hover-color: var(--ink);
  --bs-btn-active-bg: var(--surface-2); --bs-btn-active-border-color: var(--brass); --bs-btn-active-color: var(--ink);
}
.btn-outline-secondary {
  --bs-btn-color: var(--muted); --bs-btn-border-color: var(--line);
  --bs-btn-hover-bg: var(--surface-2); --bs-btn-hover-border-color: var(--brass-dim); --bs-btn-hover-color: var(--ink);
  --bs-btn-active-bg: var(--surface-2); --bs-btn-active-border-color: var(--brass-dim); --bs-btn-active-color: var(--ink);
}
.btn-light {
  --bs-btn-bg: var(--surface-2); --bs-btn-border-color: var(--line); --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: #2E1D1B; --bs-btn-hover-border-color: var(--brass-dim); --bs-btn-hover-color: var(--ink);
}
.btn-link { color: var(--red); }

.badge { font-weight: 500; }
.badge.text-dark { color: var(--ink) !important; }

.alert-light {
  --bs-alert-bg: var(--surface); --bs-alert-color: var(--ink); --bs-alert-border-color: var(--line);
  --bs-alert-link-color: var(--red);
  border-radius: var(--r-md);
}
.alert-warning { --bs-alert-bg: #2A1D12; --bs-alert-color: #F0C48A; --bs-alert-border-color: #4A3A22; }

.table { --bs-table-color: var(--ink); --bs-table-bg: transparent; --bs-table-border-color: var(--line); }
.table > :not(caption) > * > * { border-color: var(--line); }
.table thead th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }

.form-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-control, .form-select {
  background-color: var(--ground-2); border-color: var(--line); color: var(--ink); border-radius: 3px;
}
.form-control::placeholder { color: #6F6257; }
.form-control:focus, .form-select:focus {
  background-color: var(--ground-2); border-color: var(--brass); color: var(--ink);
  box-shadow: 0 0 0 3px rgba(200, 162, 104, .16);
}
.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23C8A268' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-check-input { background-color: var(--ground-2); border-color: var(--brass-dim); }
.form-check-input:checked { background-color: var(--door); border-color: var(--door); }

.dropdown-menu { font-size: 14px; padding: 6px; border-radius: var(--r-md); }
.dropdown-item { border-radius: 3px; padding: 8px 10px; }
.dropdown-item:active { background: var(--surface-2); color: var(--ink); }
.dropdown-divider { border-color: var(--line); opacity: 1; margin: 6px 0; }
.dropdown-header { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }

/* accordion: Bootstrap ships a white panel and a pale blue active header. */
.accordion {
  --bs-accordion-color: var(--ink);
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
}
.accordion-item { background: transparent; border-bottom: 1px solid var(--line); }
.accordion-item:first-of-type, .accordion-item:last-of-type { border-radius: 0; }
.accordion-button { font-size: 15px; padding: 18px 4px; }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-button::after { filter: invert(1) sepia(1) saturate(3) hue-rotate(3deg) opacity(.55); }
.accordion-body { padding: 0 4px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.btn-close { filter: invert(1) grayscale(1) opacity(.6); }
.modal {
  --bs-modal-bg: var(--surface);
  --bs-modal-color: var(--ink);
  --bs-modal-border-color: var(--line);
  --bs-modal-header-border-color: var(--line);
  --bs-modal-footer-border-color: var(--line);
}
audio { color-scheme: dark; }

.breadcrumb { --bs-breadcrumb-divider-color: var(--brass-dim); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb-item.active { color: var(--muted); }
.list-inline-item { color: var(--muted); }
.link-secondary { color: var(--muted) !important; }
.link-secondary:hover { color: var(--ink) !important; }
.text-muted { color: var(--muted) !important; }
.text-dark { color: var(--ink) !important; }
.bg-white { background-color: var(--ground) !important; }
.border, .border-top, .border-bottom, .border-start, .border-end { border-color: var(--line) !important; }

/* responsive ------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .cc-hdr-in { height: 58px; gap: 10px; padding: 0 14px; }
  .cc-nav { display: none; }
  .cc-brand-name { font-size: 16px; letter-spacing: .14em; }
  .cc-hdr-right { gap: 8px; }
  .cc-hdr-right .dropdown.cc-account { display: none; }
  .cc-cta { height: 36px; padding: 0 12px; font-size: 12.5px; letter-spacing: .1em; }
  .cc-coins { height: 32px; padding: 0 9px; font-size: 11.5px; }
  .cc-lang-btn { height: 32px; padding: 0 8px; font-size: 11px; }
  .cc-tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
  body.cc-has-tabs { padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom)); }
  body:has(input:focus) .cc-tabs,
  body:has(textarea:focus) .cc-tabs { display: none; }
  .btn-sm { min-height: 38px; }
}

@media (max-width: 359.98px) {
  .cc-hdr-in { gap: 6px; padding: 0 10px; }
  .cc-brand-mark { width: 20px; height: 20px; }
  .cc-brand-name { display: none; }
  .cc-lang-btn { padding: 0 6px; }
  .cc-coins { padding: 0 7px; }
  .cc-cta { padding: 0 9px; font-size: 11.5px; }
}

@media (min-width: 992px) {
  .cc-tabs { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* the fan: the hero image is the product, not one portrait ---------------- */
.cc-fan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}
.cc-fan img {
  position: absolute;
  width: 43%;
  /* `height: auto` is load-bearing: the images carry width/height attributes so
     the browser reserves the right box before CSS lands, and without this the
     attribute's presentational height wins and beats `aspect-ratio`. */
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--brass-dim);
  background: var(--ground-2);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5);
  filter: saturate(.95) contrast(1.03);
}
.cc-fan img:nth-child(1) { transform: translateX(-50%) rotate(-8deg) scale(.92); z-index: 1; }
.cc-fan img:nth-child(2) { transform: translateY(-4px); z-index: 3; }
.cc-fan img:nth-child(3) { transform: translateX(50%) rotate(8deg) scale(.92); z-index: 2; }

/* the long copy lives under the image, at reading width ------------------- */
.cc-hero-copy {
  max-width: 64ch;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 991.98px) {
  .cc-fan { min-height: 280px; margin-top: 8px; }
  .cc-fan img { width: 46%; }
  .cc-hero-copy { margin-top: 28px; padding-top: 20px; }
}

/* both primary actions: one size, one baseline, one shape ----------------- */
.cc-cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 34rem;
}
.cc-cta-pair > form,
.cc-cta-pair > a { display: flex; }
.cc-cta-pair .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
  font-weight: 600;
  min-height: 46px;
  padding: 0 14px;
}
.cc-cta-pair .btn-lg { font-size: .9rem; min-height: 52px; }
.cc-cta-pair .cc-cta-telegram {
  background: #229ED9;
  border-color: #229ED9;
  color: #fff;
}
.cc-cta-pair .cc-cta-telegram:hover,
.cc-cta-pair .cc-cta-telegram:focus-visible {
  background: #1c88bb;
  border-color: #1c88bb;
  color: #fff;
}
@media (max-width: 575.98px) {
  .cc-cta-pair { grid-template-columns: 1fr; max-width: none; }
}

/* filters sit in one row once there is width for it ----------------------- */
@media (min-width: 992px) {
  .cc-filters { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px; }
}

/* one typeface for the pair: .btn-dark sets the sign face, .btn-outline-dark
   does not, so the two buttons rendered in different fonts next to each other */
.cc-cta-pair .btn {
  font-family: var(--sign);
  font-weight: 700;
  letter-spacing: .06em;
  -webkit-appearance: none;
  appearance: none;
}

/* Telegram Mini App surfaces ---------------------------------------------- */
.tg-shell {
  min-height: 100dvh;
  background: var(--ground);
  color: var(--ink);
  padding: 14px 14px calc(24px + env(safe-area-inset-bottom));
  max-width: 680px;
  margin: 0 auto;
}
.tg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.tg-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sign);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.tg-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--brass-dim);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tg-nav-link:hover,
.tg-nav-link:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
}
.tg-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tg-pill {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--sign);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tg-pill.active,
.tg-pill[aria-pressed="true"] {
  background: var(--door);
  border-color: var(--door);
  color: var(--ink);
}
.tg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 340px) {
  .tg-grid { grid-template-columns: 1fr; }
}
@media (min-width: 560px) {
  .tg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  text-align: start;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
}
.tg-card:hover,
.tg-card:focus-visible {
  border-color: var(--brass);
}
.tg-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--ground-2);
  overflow: hidden;
}
.tg-card-media img,
.tg-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tg-card-badge {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  padding: 3px 7px;
  background: var(--ground);
  border: 1px solid var(--brass);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
}
.tg-card-body {
  padding: 10px 10px 12px;
}
.tg-card-name {
  font-family: var(--sign);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.tg-card-sub {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12, 9, 8, .86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.tg-modal-backdrop[hidden] { display: none !important; }
.tg-modal-card {
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--brass-dim);
  border-radius: var(--r-lg);
  padding: 22px 18px;
}
.tg-modal-title {
  font-family: var(--sign);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.tg-modal-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.tg-gender-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tg-gender-btn {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--brass-dim);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--sign);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tg-gender-btn:hover,
.tg-gender-btn:focus-visible {
  background: var(--door);
  border-color: var(--door);
}
.tg-intro-stage {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: var(--ground);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tg-intro-stage[hidden] { display: none !important; }
.tg-intro-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tg-intro-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 18px calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(12,9,8,0) 0%, rgba(12,9,8,.92) 100%);
}
.tg-intro-name {
  font-family: var(--sign);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.tg-intro-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
}
.tg-intro-skip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--brass);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sign);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tg-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 16px;
  margin-bottom: 14px;
}
.tg-panel--highlight {
  border-color: var(--brass);
}
.tg-quotas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.tg-quota-box {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ground-2);
  padding: 10px 12px;
}
.tg-quota-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tg-quota-val {
  font-family: var(--sign);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.tg-stars-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--brass);
  border-radius: var(--r-sm);
  background: var(--door);
  color: var(--ink);
  font-family: var(--sign);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tg-stars-btn:hover,
.tg-stars-btn:focus-visible {
  background: var(--door-deep);
}
.tg-stars-btn--secondary {
  background: var(--surface-2);
  border-color: var(--brass-dim);
}
.tg-stars-btn:disabled {
  opacity: .55;
  cursor: default;
}
.tg-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--ground-2);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
}
.tg-seg-btn {
  min-height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font-family: var(--sign);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tg-seg-btn.active {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--brass-dim);
}
.tg-plan-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.tg-plan-title {
  font-family: var(--sign);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tg-plan-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brass);
}
.tg-plan-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.tg-status-msg {
  padding: 10px 12px;
  border: 1px solid var(--brass-dim);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 12px;
}
.tg-status-msg[hidden] { display: none !important; }

/* ── Web age gate (cookie, not a wall) ─────────────────────────────────── */
.cc-agegate {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2040;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--brass-dim);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .45);
}
.cc-agegate[hidden] { display: none !important; }
.cc-agegate-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.cc-agegate-title {
  font-family: var(--sign);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
}
.cc-agegate-body {
  font-size: 13px;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 2px;
}
.cc-agegate-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 575.98px) {
  .cc-agegate-actions { width: 100%; }
  .cc-agegate-actions .btn { flex: 1; }
}

/* ── Multi-provider Auth Stack ─────────────────────────────────────────── */
.cc-auth-stack {
  display: grid;
  gap: 10px;
}
.cc-provider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--sign);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cc-provider-btn:hover,
.cc-provider-btn:focus-visible {
  background: var(--surface);
  border-color: var(--brass);
  color: var(--ink);
}
.cc-provider-btn--primary {
  background: var(--door);
  border-color: var(--brass);
  color: var(--ink);
}
.cc-provider-btn--primary:hover,
.cc-provider-btn--primary:focus-visible {
  background: var(--door-deep);
  border-color: var(--brass);
  color: var(--ink);
}
.cc-provider-btn--telegram {
  background: var(--telegram);
  border-color: var(--telegram);
  color: #fff;
}
.cc-provider-btn--telegram:hover,
.cc-provider-btn--telegram:focus-visible {
  background: var(--telegram-deep);
  border-color: var(--telegram-deep);
  color: #fff;
}
.cc-provider-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.cc-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cc-auth-divider::before,
.cc-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.cc-otp-input {
  letter-spacing: .45em;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

/* ── Unified Pre-Checkout 2-Step Wizard Modal (Web + Telegram Mini Apps) ── */
.cc-checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2060;
  background: rgba(12, 9, 8, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cc-checkout-backdrop[hidden] {
  display: none !important;
}
.cc-checkout-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--brass-dim);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .65);
  display: flex;
  flex-direction: column;
}
@media (max-width: 575.98px) {
  .cc-checkout-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .cc-checkout-dialog {
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
.cc-checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--line);
}
.cc-checkout-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2px;
}
.cc-checkout-title {
  font-family: var(--sign);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.cc-checkout-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
}
.cc-checkout-close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
}
.cc-checkout-close:hover,
.cc-checkout-close:focus-visible {
  color: var(--ink);
  border-color: var(--brass);
}
.cc-checkout-body {
  padding: 16px 18px 20px;
}
.cc-checkout-summary {
  padding: 12px 14px;
  background: var(--ground-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cc-checkout-price {
  font-family: var(--sign);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.1;
}
.cc-checkout-renew {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.cc-checkout-methods {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}
.cc-method-btn {
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  transition: background .15s ease, border-color .15s ease;
}
.cc-method-btn:hover,
.cc-method-btn:focus-visible {
  border-color: var(--brass);
  background: var(--ground-2);
}
.cc-method-btn:disabled {
  opacity: .55;
  cursor: wait;
}
.cc-method-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cc-pay-logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cc-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 5px;
  border-radius: 4px;
  line-height: 1;
}
.cc-brand-pill--light {
  background: #FFFFFF;
}
.cc-brand-pill--dark {
  background: var(--ground-2);
  border: 1px solid var(--line);
}
.cc-checkout-disclaimer {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
  margin: 10px 0 0;
  text-align: center;
}
/* Modal-over-modal email prompt (HoneyChat dh pattern) */
.cc-email-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2080;
  background: rgba(8, 6, 5, .78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cc-email-backdrop[hidden] {
  display: none !important;
}
@keyframes cc-epm-rise {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cc-email-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--brass);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .75);
  animation: cc-epm-rise .18s ease-out both;
}
.cc-email-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 36px;
  margin-bottom: 12px;
}
.cc-email-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(200, 50, 42, .16);
  border: 1px solid var(--brass-dim);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cc-email-title {
  font-family: var(--sign);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.cc-email-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}
.cc-email-close:hover {
  color: var(--ink);
  border-color: var(--brass);
}
.cc-email-body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px;
}
.cc-email-input {
  width: 100%;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--ground-2);
  border: 1px solid var(--brass-dim);
  color: var(--ink);
  transition: border-color .15s ease;
}
.cc-email-input:focus {
  outline: none;
  border-color: var(--brass);
}
.cc-email-err {
  color: var(--red);
  font-size: 12.5px;
  margin: 8px 0 0;
}
.cc-email-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.cc-email-cancel {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--sign);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.cc-email-cancel:hover {
  color: var(--ink);
  border-color: var(--brass-dim);
}
.cc-email-submit {
  flex: 2;
  min-height: 46px;
  border: 1px solid var(--brass);
  border-radius: var(--r-md);
  background: var(--door);
  color: var(--ink);
  font-family: var(--sign);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.cc-email-submit:hover:not(:disabled) {
  background: var(--door-deep);
}
.cc-email-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.cc-checkout-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--ground-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
  text-align: center;
}
.cc-checkout-fallback {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px dashed var(--brass-dim);
  border-radius: var(--r-sm);
  background: var(--ground-2);
  font-size: 12px;
}
.cc-sub-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  background: var(--ground-2);
}
.cc-sub-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
