/* Q Nation ("/") v8.5 Masterpiece Production Stylesheet
   Unified Emerald (#25dc71), Safety Orange (#ff610b), Warm Cream (#f4ebd6) & Riveted Gunmetal Steel.
   Zero bitmap/pixel fonts. Zero gold-and-black link-page CSS (go-house.css stays on /go/* only).
   Zero CSS rounded pills or plain 1px CSS boxes: every eyebrow tag, medallion, locker door, icon bay,
   readout, button, and modal is plated with dedicated Codex & gunmetal hardware assets (CP01-CP09, deck-art, elevator-art). */

@font-face {
  font-family: "Q Display";
  src: url("/runtime/quit/q-club-art/fonts/russo-one-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Q Display";
  src: url("/runtime/quit/q-club-art/fonts/russo-one-cyrillic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Q Geometric";
  src: url("/runtime/quit/q-club-art/fonts/montserrat-latin-800.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Q Geometric";
  src: url("/runtime/quit/q-club-art/fonts/montserrat-cyrillic-800.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Q Sans";
  src: url("/runtime/quit/q-club-art/fonts/barlow-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Q Sans";
  src: url("/runtime/quit/q-club-art/fonts/barlow-latin-700.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Q Mono";
  src: url("/runtime/quit/q-club-art/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Q Mono";
  src: url("/runtime/quit/q-club-art/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Q Mono";
  src: url("/runtime/quit/q-club-art/fonts/ibm-plex-mono-cyrillic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Q Mono";
  src: url("/runtime/quit/q-club-art/fonts/ibm-plex-mono-cyrillic-600-normal.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --qc-bg: #030906;
  --qc-bg-elev: #06130d;
  --qc-bg-bay: #081911;
  --qc-ink-cream: #f4ebd6;
  --qc-ink-soft: #d4e0d0;
  --qc-ink-muted: #93aa9b;
  --qc-green: #25dc71;
  --qc-green-hi: #6cf3a4;
  --qc-green-line: rgba(37, 220, 113, 0.38);
  --qc-orange: #ff610b;
  --qc-orange-hi: #ff853d;
  --qc-brass: #6cf3a4;
  --qc-display: "Q Display", "Q Geometric", system-ui, -apple-system, sans-serif;
  --qc-geom: "Q Geometric", "Q Sans", system-ui, -apple-system, sans-serif;
  --qc-sans: "Q Sans", system-ui, -apple-system, sans-serif;
  --qc-mono: "Q Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --qc-max: 1360px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--qc-bg);
  color: var(--qc-ink-cream);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.qc-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--qc-bg);
  background-image:
    radial-gradient(circle at 14% 8%, rgba(37, 220, 113, 0.12), transparent 36%),
    radial-gradient(circle at 86% 14%, rgba(255, 97, 11, 0.11), transparent 34%),
    linear-gradient(180deg, #030906 0%, #05120c 48%, #030906 100%);
  color: var(--qc-ink-cream);
  font-family: var(--qc-sans);
  font-size: 18.5px;
  line-height: 1.72;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.qc-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 240;
  padding: 10px 16px;
  background: var(--qc-green);
  color: #03120a;
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
}
.qc-skip:focus {
  left: 12px;
}

.qc-wrap {
  width: 100%;
  max-width: var(--qc-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Riveted Command Header with Authentic Illustrated Elevator MENU */
.qc-header {
  position: sticky;
  top: 0;
  z-index: 95;
  background:
    linear-gradient(180deg, rgba(8, 22, 15, 0.96) 0%, rgba(3, 10, 7, 0.96) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid #2b4a3a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.qc-header__inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qc-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.qc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--qc-ink-cream);
  flex-shrink: 0;
}

.qc-brand__crest {
  width: 38px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(37, 220, 113, 0.34));
}

.qc-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.qc-brand__name {
  font-family: var(--qc-display);
  font-size: 1.16rem;
  letter-spacing: 0.03em;
  color: var(--qc-ink-cream);
}

.qc-brand__tag {
  font-family: var(--qc-mono);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--qc-green-hi);
  text-transform: uppercase;
}

/* Authentic Illustrated Building Elevator MENU Button */
.qc-elev-call {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.14s ease, filter 0.14s ease;
}
.qc-elev-call:hover,
.qc-elev-call:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(37, 220, 113, 0.38));
}
.qc-elev-call__img {
  display: block;
  height: 36px;
  width: auto;
}

.qc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}

.qc-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-style: solid;
  border-width: 5px 8px;
  border-image: url("/runtime/quit/deck-art/tab.webp") 42 62 42 62 fill / 5px 8px stretch;
  background-color: #1c2620;
  color: var(--qc-ink-cream);
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.63rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.qc-nav__icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.qc-nav__link:hover,
.qc-nav__link:focus-visible {
  color: var(--qc-green-hi);
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.qc-nav__link--orange {
  border-width: 5px 7px 6px 7px;
  border-image: url("/runtime/quit/deck-art/key-orange.webp") 22 24 34 24 fill / 5px 7px 6px 7px stretch;
  background-color: var(--qc-orange);
  color: #190800;
}
.qc-nav__link--orange:hover,
.qc-nav__link--orange:focus-visible {
  color: #000000;
}

.qc-nav__link--green {
  border-width: 5px 7px 6px 7px;
  border-image: url("/runtime/quit/deck-art/key-green.webp") 22 24 34 24 fill / 5px 7px 6px 7px stretch;
  background-color: #19b859;
  color: #03150a;
}
.qc-nav__link--green:hover,
.qc-nav__link--green:focus-visible {
  color: #000000;
}

.qc-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.qc-actions .qc-btn {
  padding: 5px 11px;
  font-size: 0.72rem;
}

/* Tactile Plated Hardware Keys (deck-art/key-*.webp, zero rounded CSS pills) */
.qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0;
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.15;
  white-space: nowrap;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.qc-btn:hover,
.qc-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.qc-btn--orange {
  background-color: var(--qc-orange);
  border-style: solid;
  border-width: 8px 11px 10px 11px;
  border-image: url("/runtime/quit/deck-art/key-orange.webp") 22 24 34 24 fill / 8px 11px 10px 11px stretch;
  color: #190800;
  padding: 6px 16px;
}

.qc-btn--green {
  background-color: #19b859;
  border-style: solid;
  border-width: 8px 11px 10px 11px;
  border-image: url("/runtime/quit/deck-art/key-green.webp") 22 24 34 24 fill / 8px 11px 10px 11px stretch;
  color: #03150a;
  padding: 6px 16px;
}

.qc-btn--dark {
  background-color: #0b1c14;
  border-style: solid;
  border-width: 9px 13px 11px 13px;
  border-image: url("/runtime/quit/deck-art/key-dark.webp") 42 46 50 46 fill / 9px 13px 11px 13px stretch;
  color: var(--qc-ink-cream);
  padding: 7px 20px;
}

.qc-btn--lg {
  font-size: 0.84rem;
  padding: 8px 20px;
}

.qc-btn--lg.qc-btn--dark {
  padding: 9px 22px;
}

/* CP08 Octagonal Gunmetal-and-Emerald Medallion */
.qc-medallion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  background: url("/runtime/quit/q-club-art/CP08-medallion-badge-plate.png") center / 100% 100% no-repeat;
  font-family: var(--qc-display);
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--qc-green-hi);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  flex-shrink: 0;
}

/* Telemetry Ribbon under Header (Riveted Gunmetal Steel + Emerald LCD, Zero Gold-on-Black) */
.qc-ribbon {
  background: #04110b;
  border-bottom: 2px solid rgba(37, 220, 113, 0.28);
  font-family: var(--qc-mono);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.qc-ribbon__inner {
  max-width: var(--qc-max);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.qc-ribbon__group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 0;
  border-style: solid;
  border-width: 6px 10px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 6px 10px stretch;
  background-color: #0a140e;
  color: var(--qc-ink-cream);
  font-weight: 600;
}

.qc-pill__dot {
  width: 7px;
  height: 7px;
  background: var(--qc-green);
  box-shadow: 0 0 8px var(--qc-green);
  flex-shrink: 0;
}

.qc-pill--orange .qc-pill__dot {
  background: var(--qc-orange);
  box-shadow: 0 0 8px var(--qc-orange);
}

.qc-ribbon__ca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  color: var(--qc-ink-soft);
}

.qc-ribbon__code {
  padding: 2px 9px;
  border-style: solid;
  border-color: transparent;
  border-width: 6px 9px;
  border-image: url("/runtime/quit/deck-art/lcd.webp") 42 62 42 62 fill / 6px 9px stretch;
  background-color: #04100b;
  color: var(--qc-green-hi);
  font-weight: 600;
}

.qc-copy-mini {
  padding: 3px 10px;
  border-radius: 0;
  border-style: solid;
  border-width: 5px 8px 6px 8px;
  border-image: url("/runtime/quit/deck-art/key-green.webp") 22 24 34 24 fill / 5px 8px 6px 8px stretch;
  background-color: #19b859;
  color: #03150a;
  font-family: var(--qc-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.qc-copy-mini:hover {
  filter: brightness(1.12);
}

/* Section Rhythm */
.qc-section {
  padding: 66px 0;
  position: relative;
}

.qc-section + .qc-section {
  border-top: 2px solid rgba(37, 220, 113, 0.18);
}

.qc-section--spotlight {
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 220, 113, 0.12), transparent 42%),
    radial-gradient(circle at 12% 76%, rgba(255, 97, 11, 0.1), transparent 40%),
    linear-gradient(180deg, #06150e 0%, #040e09 100%);
}

/* Dedicated Codex Component Nine-Slice Plates (CP01 to CP09) */

/* CP01: Chapter Header Banner Plate */
.qc-cp01-banner {
  background-color: #040f0b;
  border-style: solid;
  border-width: 34px 48px 26px 96px;
  border-image: url("/runtime/quit/q-club-art/CP01-chapter-banner-plate.png") 74 110 56 210 fill / 34px 48px 26px 96px;
  padding: 8px 14px 12px 12px;
  margin-bottom: 30px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.qc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  font-family: var(--qc-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qc-green-hi);
}

.qc-kicker__badge {
  padding: 3px 10px;
  border-radius: 0;
  border-style: solid;
  border-width: 5px 8px 6px 8px;
  border-image: url("/runtime/quit/deck-art/key-orange.webp") 22 24 34 24 fill / 5px 8px 6px 8px stretch;
  background-color: var(--qc-orange);
  color: #190800;
  font-weight: 800;
}

.qc-h2 {
  margin: 0 0 10px;
  font-family: var(--qc-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 2.85vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: 0.015em;
  color: var(--qc-ink-cream);
}

.qc-banner-sub {
  margin: 0;
  max-width: 76ch;
  font-family: var(--qc-sans);
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--qc-ink-soft);
}

.qc-banner-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}

.qc-banner-btn {
  display: inline-block;
  line-height: 0;
  transition: transform 160ms ease, filter 160ms ease;
  border-radius: 6px;
}

.qc-banner-btn:hover,
.qc-banner-btn:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 18px rgba(37, 220, 113, 0.45));
  outline: none;
}

.qc-banner-btn__img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
  border: 0;
}

/* CP02: Institutional Ledger Table Plate */
.qc-cp02-ledger {
  min-width: 0;
  max-width: 100%;
  background-color: #030c09;
  border-style: solid;
  border-width: 52px 34px 32px 34px;
  border-image: url("/runtime/quit/q-club-art/CP02-ledger-table-plate.png") 174 115 105 115 fill / 52px 34px 32px 34px;
  padding: 0 4px 6px;
  margin: 22px 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.52);
}

.qc-ledger-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: -37px 4px 16px;
  height: 22px;
  font-family: var(--qc-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--qc-brass);
  white-space: nowrap;
}

.qc-ledger-bar > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.qc-ledger-bar__status {
  color: var(--qc-green-hi);
  flex-shrink: 0;
}

.qc-table-scroll {
  width: 100%;
  overflow-x: visible;
}

.qc-table,
.qc-table tbody {
  display: block;
  width: 100%;
  font-family: var(--qc-mono);
  font-size: 15.5px;
  line-height: 1.48;
  font-variant-numeric: tabular-nums;
}

.qc-table thead {
  display: none;
}

.qc-table tbody tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-bottom: 10px;
  padding: 11px 13px;
  background-color: #05140e;
  border-style: solid;
  border-width: 8px 10px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 8px 10px stretch;
}

.qc-table tbody tr:last-child {
  margin-bottom: 4px;
}

.qc-table tbody tr.is-highlight {
  background-color: #061c12;
  border-width: 12px;
  border-image: url("/runtime/quit/q-club-art/CP10-superior-champion-plate.png") 118 118 118 118 fill / 12px stretch;
}

.qc-table tbody tr.is-total {
  background-color: #072015;
  border-width: 12px;
  border-image: url("/runtime/quit/q-club-art/CP10-superior-champion-plate.png") 118 118 118 118 fill / 12px stretch;
}

.qc-table tbody tr > td:first-child {
  grid-column: 1 / -1;
  display: block;
  min-width: 0;
  padding: 2px 2px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(229, 193, 122, 0.36);
  box-shadow: none;
  font-family: var(--qc-sans);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--qc-ink-cream);
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.qc-table tbody tr.is-total > td:first-child {
  color: var(--qc-green-hi);
  font-weight: 700;
}

.qc-table tbody tr > td:not(:first-child) {
  display: block;
  min-width: 0;
  padding: 7px 10px;
  background: rgba(3, 14, 9, 0.86);
  border: 1px solid rgba(56, 112, 82, 0.38);
  border-left: 2px solid rgba(37, 220, 113, 0.5);
  box-shadow: none;
  color: var(--qc-ink-cream);
  text-align: left;
  white-space: normal;
  font-size: 15.5px;
  line-height: 1.44;
  overflow-wrap: anywhere;
}

.qc-table tbody tr > td.is-prose-wide:not(:first-child) {
  grid-column: 1 / -1;
  font-family: var(--qc-sans);
}

.qc-table tbody tr > td:not(:first-child)::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 3px;
  font-family: var(--qc-geom);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--qc-brass);
}

.qc-row-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 0;
  border-style: solid;
  border-width: 4px 8px;
  border-image: url("/runtime/quit/q-club-art/CP11-superior-winner-seal.png") 98 195 98 195 fill / 4px 8px stretch;
  background-color: #062115;
  font-family: var(--qc-geom);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--qc-brass);
  vertical-align: middle;
  white-space: nowrap;
}

/* CP03: Constitutional Charter Callout Plate */
.qc-cp03-charter {
  background-color: #02130d;
  border-style: solid;
  border-width: 40px;
  border-image: url("/runtime/quit/q-club-art/CP03-charter-callout-plate.png") 132 132 132 132 fill / 40px;
  padding: 6px 10px;
  margin: 22px 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.48);
}

.qc-cp03-charter__title {
  margin: 0 0 8px;
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qc-brass);
}

.qc-cp03-charter p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--qc-ink-cream);
}

/* CP04: Precision Formula & Contract Plaque */
.qc-cp04-plaque {
  background-color: #020906;
  border-style: solid;
  border-width: 26px;
  border-image: url("/runtime/quit/q-club-art/CP04-quant-formula-plate.png") 68 68 68 68 fill / 26px / 0 stretch round;
  padding: 8px 14px;
  margin: 18px 0;
  font-family: var(--qc-mono);
  font-size: 0.93rem;
  font-variant-numeric: tabular-nums;
  color: var(--qc-ink-cream);
}

/* CP05: Modular Bento Card & KPI Plaque */
.qc-cp05-card {
  background-color: #040f0b;
  border-style: solid;
  border-width: 28px 28px 26px 28px;
  border-image: url("/runtime/quit/q-club-art/CP05-bento-module-plate.png") 88 88 84 88 fill / 28px 28px 26px 28px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48);
}

/* CP06: Interactive Simulator Console Plate */
.qc-cp06-console {
  background-color: #040e0a;
  border-style: solid;
  border-width: 44px 46px;
  border-image: url("/runtime/quit/q-club-art/CP06-simulator-console-plate.png") 150 156 150 156 fill / 44px 46px;
  padding: 8px 12px;
  margin: 28px 0;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.62);
}

/* Hero Section (#q-club-hero) */
.qc-hero {
  padding: 42px 0 62px;
}

.qc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 32px;
  align-items: start;
}

/* Riveted Gunmetal-and-Emerald Hero Eyebrow Tag (Zero Gold-on-Black Link Chrome, Zero CSS Pills) */
.qc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 15px;
  border-radius: 0;
  border-style: solid;
  border-width: 9px 14px;
  border-image: url("/runtime/quit/deck-art/lcd.webp") 42 62 42 62 fill / 9px 14px stretch;
  background-color: #04120c;
  font-family: var(--qc-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qc-green-hi);
  margin: 0 0 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.qc-hero__eyebrow-crest {
  width: 22px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.qc-hero__title {
  margin: 0 0 18px;
  font-family: var(--qc-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.3vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: 0.01em;
  color: var(--qc-ink-cream);
}

.qc-hero__title-accent {
  display: block;
  color: var(--qc-green);
  margin-top: 6px;
}

.qc-hero__lede {
  margin: 0 0 24px;
  max-width: 62ch;
  font-size: 1.16rem;
  line-height: 1.68;
  color: var(--qc-ink-soft);
}

.qc-hero__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.qc-kpi__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qc-kpi__val {
  font-family: var(--qc-display);
  font-size: clamp(0.98rem, 1.24vw, 1.22rem);
  line-height: 1.12;
  color: var(--qc-brass);
  font-variant-numeric: tabular-nums;
}

.qc-kpi__label {
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qc-green-hi);
}

.qc-kpi__note {
  font-family: var(--qc-sans);
  font-size: 0.9rem;
  line-height: 1.42;
  color: var(--qc-ink-soft);
}

.qc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
}

.qc-hero__proof {
  margin: 0;
  font-family: var(--qc-mono);
  font-size: 0.84rem;
  color: var(--qc-ink-muted);
}

.qc-hero__proof a {
  color: var(--qc-green-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Riveted Scene Plate Frames & Media Players (panel.webp Nine-Slice) */
.qc-scene-frame {
  margin: 0;
  background-color: #04100b;
  border-style: solid;
  border-width: 16px 20px;
  border-image: url("/runtime/quit/q-club-art/panel.webp") 32 50 fill / 16px 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.62);
}

.qc-scene-frame__img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.qc-scene-frame__cap {
  padding: 10px 12px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--qc-mono);
  font-size: 0.76rem;
  color: var(--qc-ink-soft);
}

.qc-zoom-btn {
  padding: 3px 11px;
  border-radius: 0;
  border-style: solid;
  border-width: 6px 9px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 6px 9px stretch;
  background-color: #0a140e;
  color: var(--qc-green-hi);
  font-family: var(--qc-mono);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.qc-hero__stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qc-film-dock {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 8px 10px;
  background-color: #05130d;
  border-style: solid;
  border-width: 24px;
  border-image: url("/runtime/quit/q-club-art/CP05-bento-module-plate.png") 88 88 84 88 fill / 24px;
}

.qc-film-dock__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: cover;
  border: 2px solid var(--qc-green-line);
}

.qc-film-dock__title {
  margin: 0 0 6px;
  font-family: var(--qc-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--qc-brass);
}

.qc-film-dock__copy {
  margin: 0 0 12px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--qc-ink-soft);
}

/* Illustrated 14-Floor Building Window Gallery */
.qc-window-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.qc-window-card {
  background-color: #04100b;
  border-style: solid;
  border-width: 16px 18px;
  border-image: url("/runtime/quit/q-club-art/panel.webp") 32 50 fill / 16px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
}

.qc-window-card__art {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(37, 220, 113, 0.34);
}

.qc-window-card__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.qc-window-card__floor {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 5px;
  border-style: solid;
  border-width: 6px 10px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 6px 10px stretch;
  background-color: rgba(8, 22, 15, 0.96);
  font-family: var(--qc-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--qc-ink-cream);
}

.qc-window-card__body {
  padding: 12px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

/* Split & Bento Grids */
.qc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 28px;
  align-items: start;
}

.qc-bento-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.qc-bento-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.qc-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Recessed Hardware Icon Bay (deck-art/bay.webp) */
.qc-icon-bay {
  width: 62px;
  height: 62px;
  padding: 4px;
  border-style: solid;
  border-width: 8px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 8px stretch;
  background-color: #05130d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qc-card-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qc-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--qc-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qc-green-hi);
  margin-bottom: 2px;
}

.qc-card-title {
  margin: 0;
  font-family: var(--qc-display);
  font-weight: 400;
  font-size: 1.14rem;
  line-height: 1.22;
  letter-spacing: 0.015em;
  color: var(--qc-ink-cream);
}

.qc-card-body {
  margin: 0;
  font-size: 0.99rem;
  line-height: 1.62;
  color: var(--qc-ink-soft);
  overflow-wrap: anywhere;
  flex-grow: 1;
}

.qc-card-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(147, 170, 155, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--qc-mono);
  font-size: 0.76rem;
  color: var(--qc-brass);
}

.qc-card-link {
  color: var(--qc-green-hi);
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.qc-card-link:hover {
  text-decoration: underline;
}

/* Interactive Q Public Rounds & 20-Locker Console (CP06 + deck-art/bay + deck-art/lcd + CP09) */
.qc-sim__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.qc-sim__title {
  margin: 0 0 4px;
  font-family: var(--qc-display);
  font-size: 1.42rem;
  color: var(--qc-ink-cream);
}

.qc-sim__sub {
  margin: 0;
  font-size: 0.98rem;
  color: var(--qc-ink-soft);
}

.qc-sim__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-style: solid;
  border-width: 12px 15px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 12px 15px stretch;
  background-color: #030c08;
}

.qc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qc-field__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-family: var(--qc-mono);
  font-size: 0.82rem;
  color: var(--qc-ink-soft);
}

.qc-field__val {
  font-weight: 700;
  color: var(--qc-brass);
  font-size: 0.95rem;
}

.qc-range {
  width: 100%;
  accent-color: var(--qc-green);
  cursor: pointer;
}

.qc-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qc-preset {
  padding: 5px 11px;
  border-radius: 0;
  border-style: solid;
  border-width: 6px 10px;
  border-image: url("/runtime/quit/deck-art/tab.webp") 42 62 42 62 fill / 6px 10px stretch;
  background-color: #1c2620;
  color: var(--qc-ink-cream);
  font-family: var(--qc-mono);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.qc-preset:hover {
  color: var(--qc-green-hi);
}
.qc-preset.is-active {
  border-width: 6px 9px 7px 9px;
  border-image: url("/runtime/quit/deck-art/key-orange.webp") 22 24 34 24 fill / 6px 9px 7px 9px stretch;
  background-color: var(--qc-orange);
  color: #190800;
}

.qc-sim__readouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.qc-readout {
  padding: 12px 14px;
  border-style: solid;
  border-width: 10px 14px;
  border-image: url("/runtime/quit/deck-art/lcd.webp") 42 62 42 62 fill / 10px 14px stretch;
  background-color: #05120c;
}

.qc-readout__k {
  font-family: var(--qc-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--qc-ink-muted);
  margin-bottom: 4px;
}

.qc-readout__v {
  font-family: var(--qc-display);
  font-size: 1.3rem;
  color: var(--qc-green-hi);
  font-variant-numeric: tabular-nums;
}

.qc-readout--brass .qc-readout__v {
  color: var(--qc-orange-hi);
}

.qc-readout__n {
  font-family: var(--qc-mono);
  font-size: 0.76rem;
  color: var(--qc-ink-soft);
  margin-top: 4px;
}

/* 20-Locker 85/5/10 Constitutional Vault Bar (CP09 Hinged Vault Doors) */
.qc-lockers {
  padding: 14px 16px;
  border-style: solid;
  border-width: 12px 15px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 12px 15px stretch;
  background-color: #030b08;
}

.qc-lockers__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-family: var(--qc-mono);
  font-size: 0.8rem;
}

.qc-lockers__grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.qc-locker {
  min-height: 62px;
  border-radius: 0;
  border-style: solid;
  border-width: 13px 7px 9px 7px;
  border-image: url("/runtime/quit/q-club-art/CP09-vault-locker-door.png") 142 66 91 66 fill / 13px 7px 9px 7px stretch;
  background-color: #071911;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.qc-locker__num {
  font-family: var(--qc-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--qc-ink-muted);
}

.qc-locker__code {
  font-family: var(--qc-display);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--qc-green-hi);
}

.qc-locker--rounds .qc-locker__code {
  color: #6fd3ff;
}
.qc-locker--builders .qc-locker__code {
  color: #5ef2d6;
}
.qc-locker--treasury .qc-locker__code {
  color: #c2b6ff;
}
.qc-locker--founder .qc-locker__code {
  color: var(--qc-orange-hi);
}
.qc-locker--team .qc-locker__code {
  color: var(--qc-orange);
}

.qc-locker.is-selected,
.qc-locker:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--qc-orange), 0 8px 20px rgba(0, 0, 0, 0.55);
}

.qc-lockers__detail {
  margin: 0;
  padding: 10px 12px;
  border-style: solid;
  border-width: 8px 13px;
  border-image: url("/runtime/quit/deck-art/lcd.webp") 42 62 42 62 fill / 8px 13px stretch;
  background-color: #05130d;
  font-family: var(--qc-mono);
  font-size: 0.84rem;
  color: var(--qc-ink-cream);
}

/* Desk Video Frame */
.qc-video-card {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 20px;
  padding: 12px;
  background-color: #05130d;
  border-style: solid;
  border-width: 16px 20px;
  border-image: url("/runtime/quit/q-club-art/panel.webp") 32 50 fill / 16px 20px;
  align-items: center;
}

.qc-video-card__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: cover;
  border: 2px solid rgba(37, 220, 113, 0.42);
}

/* Creator Photo Strip */
.qc-reel-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.qc-reel-tile {
  margin: 0;
  background-color: #05130d;
  border-style: solid;
  border-width: 8px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 8px stretch;
}

.qc-reel-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

.qc-reel-tile figcaption {
  padding: 8px 8px 4px;
  font-family: var(--qc-mono);
  font-size: 0.73rem;
  color: var(--qc-ink-cream);
}

/* Contract Plaque Row */
.qc-ca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.qc-ca-addr {
  font-family: var(--qc-mono);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--qc-brass);
  word-break: break-all;
}

/* Footer */
.qc-footer {
  padding: 52px 0 64px;
  background: #020705;
  border-top: 3px solid #264837;
}

.qc-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.qc-footer__title {
  margin: 0 0 12px;
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qc-green-hi);
}

.qc-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qc-footer__list a {
  color: var(--qc-ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}
.qc-footer__list a:hover {
  color: var(--qc-green-hi);
  text-decoration: underline;
}

.qc-footer__bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(147, 170, 155, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  font-family: var(--qc-mono);
  font-size: 0.78rem;
  color: var(--qc-ink-muted);
}

/* Authentic Steel Q Club Building Elevator Car Modal (#qc-elevator) */
.qc-elevator[hidden],
.qc-modal[hidden] {
  display: none;
}

.qc-elevator,
.qc-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(1, 6, 4, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.qc-elevator__car {
  position: relative;
  width: 100%;
  max-width: 1040px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 16px 22px;
  background:
    linear-gradient(180deg, rgba(4, 14, 10, 0.88) 0%, rgba(3, 10, 7, 0.94) 100%),
    url("/runtime/quit/elevator-art/car.webp") center / cover no-repeat;
  border-style: solid;
  border-width: 16px 20px;
  border-image: url("/runtime/quit/q-club-art/panel.webp") 32 50 fill / 16px 20px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.88);
}

.qc-elevator__doors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  overflow: hidden;
  z-index: 4;
}

.qc-elevator__door {
  width: 50%;
  height: 100%;
  background: url("/runtime/quit/elevator-art/steel.webp") center / cover no-repeat;
  border-right: 2px solid #1b3126;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.qc-elevator__door--right {
  border-right: 0;
  border-left: 2px solid #1b3126;
}

.qc-elevator.is-open .qc-elevator__door--left {
  transform: translateX(-100%);
}
.qc-elevator.is-open .qc-elevator__door--right {
  transform: translateX(100%);
}

.qc-elevator__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.qc-elevator__lcd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  border-style: solid;
  border-width: 8px 13px;
  border-image: url("/runtime/quit/deck-art/lcd.webp") 42 62 42 62 fill / 8px 13px stretch;
  background-color: #04110b;
  font-family: var(--qc-display);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  color: var(--qc-green-hi);
}

.qc-elev-close {
  padding: 5px 14px;
  border-radius: 0;
  border-style: solid;
  border-width: 8px 11px 9px 11px;
  border-image: url("/runtime/quit/deck-art/key-orange.webp") 22 24 34 24 fill / 8px 11px 9px 11px stretch;
  background-color: var(--qc-orange);
  color: #190800;
  font-family: var(--qc-geom);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.qc-elevator__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  margin-bottom: 12px;
}

.qc-elev__floor {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 11px;
  border-style: solid;
  border-width: 8px 11px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 8px 11px stretch;
  background-color: #0a140e;
  text-decoration: none;
  color: var(--qc-ink-cream);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.qc-elev__floor:hover,
.qc-elev__floor:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: inset 0 0 0 1px rgba(37, 220, 113, 0.52);
}

.qc-elev__floor.is-current {
  border-image: url("/runtime/quit/deck-art/lcd.webp") 42 62 42 62 fill / 8px 11px stretch;
  background-color: #051910;
  box-shadow: 0 0 0 2px var(--qc-green), 0 0 18px rgba(37, 220, 113, 0.36);
}

.qc-elev__floor-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.qc-elev__floor-text strong {
  font-family: var(--qc-display);
  font-weight: 400;
  font-size: 0.96rem;
  letter-spacing: 0.03em;
  color: var(--qc-ink-cream);
}

.qc-elev__floor-text span {
  font-family: var(--qc-mono);
  font-size: 0.74rem;
  color: var(--qc-ink-soft);
}

.qc-elevator__foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.qc-elevator__foot .qc-btn {
  width: 100%;
  padding: 6px 8px;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.qc-modal__box {
  width: 100%;
  max-width: 1020px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #05130d;
  border-style: solid;
  border-width: 18px 22px;
  border-image: url("/runtime/quit/q-club-art/panel.webp") 32 50 fill / 18px 22px;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.qc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.qc-modal__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Responsive Breakpoints */
@media (max-width: 1380px) {
  .qc-brand__tag {
    display: none;
  }
  .qc-nav__icon {
    display: none;
  }
  .qc-nav__link {
    padding: 4px 6px;
    border-width: 5px 6px;
    font-size: 0.6rem;
    letter-spacing: 0.025em;
  }
  .qc-actions .qc-btn {
    padding: 4px 9px;
    font-size: 0.68rem;
  }
}

@media (max-width: 1180px) {
  .qc-nav {
    display: none;
  }
  .qc-elevator__foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qc-hero__grid,
  .qc-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .qc-bento-4,
  .qc-window-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qc-sim__readouts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.qc-body {
    font-size: 17px;
  }
  .qc-wrap,
  .qc-header__inner,
  .qc-ribbon__inner {
    padding-left: 14px;
    padding-right: 14px;
  }
  .qc-brand__tag {
    display: none;
  }
  .qc-elev-call__img {
    height: 34px;
  }
  .qc-actions .qc-hide-sm {
    display: none;
  }
  .qc-actions .qc-btn {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .qc-btn {
    white-space: normal;
    text-align: center;
  }
  .qc-ledger-bar {
    margin: -33px 2px 12px;
    font-size: 0.66rem;
  }
  .qc-ledger-bar__status {
    display: none;
  }
  .qc-elevator__foot {
    grid-template-columns: minmax(0, 1fr);
  }
  .qc-section {
    padding: 48px 0;
  }
  .qc-cp01-banner {
    border-width: 24px 20px 20px 56px;
    border-image-width: 24px 20px 20px 56px;
    padding: 6px 6px 8px 8px;
  }
  .qc-cp02-ledger {
    border-width: 44px 18px 22px 18px;
    border-image-width: 44px 18px 22px 18px;
  }
  .qc-cp03-charter {
    border-width: 26px;
    border-image-width: 26px;
  }
  .qc-cp06-console {
    border-width: 28px 18px;
    border-image-width: 28px 18px;
    padding: 6px 4px;
  }
  .qc-hero__kpis,
  .qc-bento-4,
  .qc-bento-3,
  .qc-window-grid,
  .qc-sim__controls,
  .qc-sim__readouts,
  .qc-elevator__grid,
  .qc-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .qc-film-dock,
  .qc-video-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .qc-film-dock__video,
  .qc-video-card__player {
    max-width: 260px;
    margin: 0 auto;
  }
  .qc-reel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qc-lockers__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .qc-header__inner {
    padding: 7px 10px;
    gap: 6px;
  }
  .qc-header__left {
    gap: 7px;
  }
  .qc-brand {
    gap: 6px;
  }
  .qc-brand__crest {
    width: 28px;
    height: 24px;
  }
  .qc-brand__name {
    font-size: 0.96rem;
  }
  .qc-elev-call__img {
    height: 28px;
  }
  .qc-actions .qc-btn {
    font-size: 0.62rem;
    padding: 2px 6px;
    border-width: 8px 10px;
    border-image-width: 8px 10px;
  }
}


/* Interactive 3B Q Codex Rotary Vault Allocation Dial Suite */
.qc-donut-suite {
  display: grid;
  grid-template-columns: minmax(0, 268px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 6px;
  margin-bottom: 18px;
}

.qc-donut-chart-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  min-width: 0;
}

.qc-donut-dial {
  padding: 10px;
  border-style: solid;
  border-width: 14px;
  border-image: url("/runtime/quit/q-club-art/CP10-superior-champion-plate.png") 118 118 118 118 fill / 14px stretch;
  background-color: #04100b;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.qc-donut-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.qc-donut-mode {
  padding: 5px 8px;
  border-radius: 0;
  border-style: solid;
  border-width: 6px 10px;
  border-image: url("/runtime/quit/deck-art/tab.webp") 42 62 42 62 fill / 6px 10px stretch;
  background-color: #16231c;
  color: var(--qc-ink-cream);
  font-family: var(--qc-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.qc-donut-mode:hover,
.qc-donut-mode:focus-visible {
  color: var(--qc-green-hi);
  outline: 2px solid var(--qc-green-hi);
  outline-offset: 1px;
}

.qc-donut-mode.is-active {
  border-image: url("/runtime/quit/deck-art/key-green.webp") 22 24 34 24 fill / 6px 9px 7px 9px stretch;
  background-color: var(--qc-green);
  color: #03150b;
}

.qc-donut-dial__img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #2b4735;
  cursor: zoom-in;
}

.qc-donut-readout {
  padding: 9px 10px;
  border-style: solid;
  border-width: 8px 12px;
  border-image: url("/runtime/quit/deck-art/lcd.webp") 42 62 42 62 fill / 8px 12px stretch;
  background-color: #04120c;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.qc-sup-row {
  margin-bottom: 8px;
}

.qc-sup-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 0;
  border-style: solid;
  border-width: 7px 14px;
  border-image: url("/runtime/quit/q-club-art/CP11-superior-winner-seal.png") 98 195 98 195 fill / 7px 14px stretch;
  background-color: #062115;
  font-family: var(--qc-geom);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qc-brass);
  line-height: 1.2;
}

.qc-sup-seal--sm {
  padding: 3px 9px;
  border-width: 5px 10px;
  border-image-width: 5px 10px;
  font-size: 0.6rem;
}

.qc-ubo-arena {
  margin: 18px 0;
  background-color: #04100b;
  border-style: solid;
  border-width: 16px 18px;
  border-image: url("/runtime/quit/q-club-art/panel.webp") 32 50 fill / 16px 18px;
  padding: 6px 8px 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.56);
}

.qc-ubo-arena__fig {
  margin: 0 0 10px;
}

.qc-ubo-arena__img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid rgba(37, 220, 113, 0.36);
  cursor: zoom-in;
}

.qc-ubo-arena__cols {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 10px;
}

.qc-ubo-col {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--qc-ink-soft);
}

.qc-ubo-col strong {
  font-family: var(--qc-display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--qc-ink-cream);
}

.qc-ubo-col--legacy {
  background-color: #07110d;
  border-style: solid;
  border-width: 8px 10px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 8px 10px stretch;
}

.qc-ubo-col__tag {
  align-self: flex-start;
  font-family: var(--qc-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--qc-ink-muted);
}

.qc-ubo-col--champ {
  background-color: #061b12;
  border-style: solid;
  border-width: 13px;
  border-image: url("/runtime/quit/q-club-art/CP10-superior-champion-plate.png") 118 118 118 118 fill / 13px stretch;
}

.qc-ubo-col--champ .qc-sup-seal {
  align-self: flex-start;
}

.qc-ubo-col--champ strong {
  color: var(--qc-green-hi);
}

.qc-sim__plate {
  margin: 0 0 18px;
  background-color: #04100b;
  border-style: solid;
  border-width: 10px 14px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 10px 14px stretch;
  padding: 4px;
}

.qc-sim__plate-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(37, 220, 113, 0.34);
  cursor: zoom-in;
}

.qc-donut-val {
  font-family: var(--qc-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--qc-ink-cream);
  letter-spacing: 0.02em;
}

.qc-donut-lbl {
  font-family: var(--qc-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--qc-green-hi);
  letter-spacing: 0.06em;
}

.qc-donut-sub {
  font-family: var(--qc-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--qc-ink-muted);
  letter-spacing: 0.05em;
}

/* Donut Pool Bars (1:1 Wedge Color Alignment with VZ01 & VZ02) */
.qc-donut-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.qc-donut-bars[hidden] {
  display: none !important;
}

.qc-pool-bar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: #05130d;
  border-style: solid;
  border-width: 7px 10px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 7px 10px stretch;
  padding: 6px 10px;
  cursor: pointer;
  text-align: left;
  transition: transform 150ms ease, box-shadow 150ms ease;
  font-family: inherit;
  color: inherit;
}

.qc-pool-bar:hover,
.qc-pool-bar:focus-visible,
.qc-pool-bar.is-selected {
  background-color: #082217;
  box-shadow: 0 0 0 2px var(--qc-green-hi);
  outline: none;
}

.qc-pool-bar__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--qc-geom);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--qc-ink-cream);
}

.qc-pool-bar__name {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.qc-pool-swatch {
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 2px;
  flex-shrink: 0;
}

.qc-pool-swatch--work { background: #25dc71; }
.qc-pool-swatch--rounds { background: #3b9eff; }
.qc-pool-swatch--builders { background: #ff610b; }
.qc-pool-swatch--treasury { background: #9161ff; }
.qc-pool-swatch--team { background: #7a9688; }
.qc-pool-swatch--founder { background: #f2b94b; }
.qc-pool-swatch--founder-charter { background: #ff610b; }

.qc-pool-bar__share {
  font-family: var(--qc-mono);
  font-size: 0.78rem;
  color: var(--qc-green-hi);
  flex-shrink: 0;
  white-space: nowrap;
}

.qc-pool-bar__track {
  width: 100%;
  height: 6px;
  background: #020705;
  border: 1px solid #0f2419;
  border-radius: 2px;
  overflow: hidden;
}

.qc-pool-bar__fill {
  height: 100%;
  border-radius: 1px;
}

.qc-pool-bar__fill--work { background: linear-gradient(90deg, #18a955, #25dc71); }
.qc-pool-bar__fill--rounds { background: linear-gradient(90deg, #2173c7, #3b9eff); }
.qc-pool-bar__fill--builders { background: linear-gradient(90deg, #c94600, #ff610b); }
.qc-pool-bar__fill--treasury { background: linear-gradient(90deg, #6b3fd9, #9161ff); }
.qc-pool-bar__fill--team { background: linear-gradient(90deg, #556c60, #7a9688); }
.qc-pool-bar__fill--founder { background: linear-gradient(90deg, #c98f22, #f2b94b); }
.qc-pool-bar__fill--founder-charter { background: linear-gradient(90deg, #c94600, #ff7a18); }

.is-85 { width: 85%; }
.is-40 { width: 40%; }
.is-25 { width: 25%; }
.is-10 { width: 10%; }
.is-5 { width: 5%; }

.qc-pool-bar__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--qc-mono);
  font-size: 0.72rem;
  color: var(--qc-ink-muted);
}

.qc-pool-bar__foot > span {
  white-space: nowrap;
}

.qc-pool-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--qc-ink-soft);
  letter-spacing: 0.04em;
}

.qc-pool-badge--people {
  padding: 1px 6px;
  border-radius: 0;
  border-style: solid;
  border-width: 3px 6px;
  border-image: url("/runtime/quit/q-club-art/CP11-superior-winner-seal.png") 98 195 98 195 fill / 3px 6px stretch;
  background-color: #062115;
  color: var(--qc-brass);
}

/* Collapsible Ledger Drawers */
.qc-ledger-drawer {
  margin-top: 14px;
  border-top: 1px solid rgba(37, 220, 113, 0.2);
  padding-top: 8px;
}

.qc-ledger-drawer__summary {
  cursor: pointer;
  font-family: var(--qc-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qc-green-hi);
  padding: 8px 4px;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qc-ledger-drawer__summary::-webkit-details-marker {
  display: none;
}

.qc-ledger-drawer__summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #051910;
  border: 1px solid var(--qc-green-line);
  color: var(--qc-green-hi);
  font-size: 12px;
  line-height: 1;
}

.qc-ledger-drawer[open] .qc-ledger-drawer__summary::before {
  content: "-";
}

.qc-ledger-drawer[open] .qc-ledger-drawer__summary {
  margin-bottom: 10px;
}

/* Visual Metric Cards for Ledgers 02-05 */
.qc-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.qc-visual-grid--coins {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qc-visual-card {
  background-color: #04110b;
  border-style: solid;
  border-width: 8px 10px;
  border-image: url("/runtime/quit/deck-art/bay.webp") 40 52 40 52 fill / 8px 10px stretch;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qc-visual-card--highlight {
  background-color: #061c12;
  border-width: 12px;
  border-image: url("/runtime/quit/q-club-art/CP10-superior-champion-plate.png") 118 118 118 118 fill / 12px stretch;
}

.qc-visual-card--total {
  grid-column: 1 / -1;
  background-color: #072015;
  border-width: 12px;
  border-image: url("/runtime/quit/q-club-art/CP10-superior-champion-plate.png") 118 118 118 118 fill / 12px stretch;
}

.qc-visual-card__kicker {
  font-family: var(--qc-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--qc-ink-muted);
}

.qc-visual-card__val {
  font-family: var(--qc-display);
  font-size: 1.15rem;
  color: var(--qc-ink-cream);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.qc-visual-card__title {
  font-family: var(--qc-geom);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--qc-green-hi);
  line-height: 1.3;
}

.qc-visual-card__note {
  font-family: var(--qc-sans);
  font-size: 0.75rem;
  color: var(--qc-ink-soft);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .qc-donut-suite {
    grid-template-columns: 1fr;
  }
  .qc-visual-grid--coins,
  .qc-ubo-arena__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .qc-table tbody tr {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .qc-sup-seal {
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    padding: 3px 7px;
    border-width: 5px 9px;
    border-image-width: 5px 9px;
  }
  .qc-ubo-arena__col,
  .qc-ubo-arena__col--champ {
    padding: 9px 10px;
  }
}

@media (max-width: 350px) {
  .qc-header__inner {
    padding: 6px 6px;
    gap: 4px;
  }
  .qc-actions {
    gap: 3px;
  }
  .qc-actions .qc-btn {
    font-size: 0.58rem;
    padding: 2px 4px;
    border-width: 7px 8px;
    border-image-width: 7px 8px;
  }
}

@media print {
  .qc-table { display: table !important; width: 100% !important; border-collapse: collapse !important; }
  .qc-table thead { display: table-header-group !important; }
  .qc-table tbody { display: table-row-group !important; }
  .qc-table tbody tr { display: table-row !important; border: 0 !important; border-image: none !important; padding: 0 !important; margin: 0 !important; }
  .qc-table tbody tr > td:first-child,
  .qc-table tbody tr > td:not(:first-child),
  .qc-table thead th { display: table-cell !important; border: 1px solid #999 !important; background: #fff !important; color: #111 !important; padding: 4px 6px !important; font-size: 8.5pt !important; }
  .qc-table tbody tr > td:not(:first-child)::before { display: none !important; }
}
