/* Design Crime — styles
  Light mode only. Claude's palette. Inter. Minimal. Editorial. */

:root {
  --bg: #ffffff;
  --surface: #f0f0f0;
  --surface-2: #f5f5f5;
  --preview-bg: #f8f3ee;
  --border: #e0e0e0;
  --border-strong: #c9c7c2;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-soft: #8a8a8a;
  --accent: #d97757;
  --accent-hover: #c4613e;
  --accent-soft: #f7e6dc;
  --correct: #84d2a4;
  --correct-bg: #d8f7e3;
  --wrong: #b8354a;
  --wrong-bg: #f8e3e6;

  --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 14px rgba(0,0,0,0.06);

  /* ── Typography scale (even-only, used across question components) ── */
  --fs-8:  8px;   /* micro labels (sub-pill text) */
  --fs-10: 10px;  /* eyebrows / uppercase tags */
  --fs-12: 12px;  /* meta, captions, small labels */
  --fs-14: 14px;  /* body small / buttons */
  --fs-16: 16px;  /* body / titles small */
  --fs-18: 18px;  /* card titles */
  --fs-20: 20px;  /* section titles */
  --fs-22: 22px;  /* feature icons */
  --fs-24: 24px;  /* large titles */
  --fs-26: 26px;  /* stat numbers */
  --fs-28: 28px;  /* hero numbers / display */

  /* Semantic aliases for question component text */
  --fs-eyebrow: var(--fs-10);
  --fs-meta:    var(--fs-12);
  --fs-body:    var(--fs-14);
  --fs-card-title: var(--fs-18);

  /* ── Border radius scale (used across question components) ── */
  --r-xs:   8px;   /* small icon tiles, mini badges */
  --r-sm:  12px;   /* buttons, inputs, controls, list items */
  --r-md:  16px;   /* icon containers, dropzones, inner panels */
  --r-lg:  22px;   /* outer component cards, bars */
  --r-pill: 999px; /* pill-shaped chips, tags, round buttons */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-stack);
  font-size: var(--fs-16);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

#app {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Screens + transitions */
.screen {
  display: none;
  flex: 1;
  width: 100%;
  opacity: 0;
  transition: opacity 220ms ease;
}
.screen.active {
  display: flex;
  opacity: 1;
}

/* ───────────────────────── LANDING ───────────────────────── */

#screen-landing {
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
}

.landing-inner {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.landing-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.tagline {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-muted);
  margin: 0;
  max-width: 40ch;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.mode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.mode-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.mode-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow);
}

.mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-28);
  color: var(--accent);
  line-height: 1;
}

.mode-name {
  font-size: var(--fs-20);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mode-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-14);
  line-height: 1.5;
}

.tier-indicator {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: var(--fs-12);
  font-weight: 500;
  white-space: nowrap;
}
.tier-indicator span {
  color: var(--text);
  font-weight: 600;
}

.primary-btn {
  padding: 14px 28px;
  background: var(--accent);
  color: white;
  border-radius: var(--r-pill);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 140ms ease, transform 140ms ease, opacity 140ms ease;
}
.primary-btn:hover:not(:disabled) { background: var(--accent-hover); }
.primary-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.secondary-btn {
  padding: 14px 28px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-14);
  font-weight: 500;
  transition: background 140ms ease;
}
.secondary-btn:hover { background: var(--surface-2); }

/* ───────────────────────── GAME ───────────────────────── */

#screen-game {
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      var(--preview-bg) 0,
      var(--preview-bg) calc(60vw - 23px),
      var(--bg) calc(60vw - 23px),
      var(--bg) 100%
      );
}

#screen-game.stf-mode {
  background: var(--surface)
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-14);
  line-height: 1;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.score {
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.game-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.question-counter {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  font-weight: 500;
  flex-shrink: 0;
}

.game-content {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 28px;
}

.game-content.stf-mode {
  grid-template-columns: minmax(0, 1fr);
}

.left-panel {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 16px;
  background: var(--preview-bg);
  padding: 8px 4px;
}

.right-panel {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 2px 4px 4px;
}

.game-content.stf-mode .left-panel {
  justify-content: flex-start;
  padding: 16px 6px 24px;
  background: transparent;
}

.game-content.stf-mode .right-panel {
  display: none;
}

.options-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.options-title {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 2px;
}

.options-block .primary-btn {
  align-self: flex-end;
  margin-top: 6px;
}

.explanation-block {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 300ms ease, transform 340ms cubic-bezier(0.4, 0, 0.2, 1);
}
.game-content.answered .explanation-block {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.question-area { display: flex; flex-direction: column; gap: 18px; width: 100%; align-items: center; }

.next-actions {
  display: flex;
  justify-content: flex-end;
}
.next-actions .primary-btn {
  margin-top: -2px;
}

/* Spot the Flaw layout */
.stf-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: center;
  max-width: 980px;
}

.stf-stage {
  width: 100%;
  max-width: 880px;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.stf-stack {
  position: relative;
  width: min(100%, 392px);
}

.stf-stack-sizer {
  visibility: hidden;
  pointer-events: none;
}

.stf-choice-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 392px);
  padding: 0;
  background: none;
  border: none;
  touch-action: manipulation;
  transform-origin: center center;
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, filter;
}

.stf-choice-card[data-side="A"] {
  transform: translate3d(calc(-100% - 18px), 0, 0);
}

.stf-choice-card[data-side="B"] {
  transform: translate3d(18px, 0, 0);
}

.stf-card {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px;
  /* background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(201, 199, 194, 0.72); */
  border-radius: var(--r-lg);
  
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease,
    background 260ms ease,
    transform 260ms ease;
}

.stf-card .stf-component > * {
  transition: box-shadow 220ms ease;
}

.stf-wrap:not(.answered) .stf-choice-card {
  cursor: pointer;
}

.stf-wrap:not(.answered) .stf-choice-card:hover .stf-card,
.stf-wrap:not(.answered) .stf-choice-card:focus-visible .stf-card {
  /* border-color: rgba(217, 119, 87, 0.7); */
  /* box-shadow:
    0 0 0 1px rgba(217, 119, 87, 0.34) inset,
    0 22px 48px rgba(115, 94, 76, 0.16); */
  transform: translateY(-5px);
}

.stf-wrap:not(.answered) .stf-choice-card:hover .stf-component > *,
.stf-wrap:not(.answered) .stf-choice-card:focus-visible .stf-component > * {
  box-shadow: var(--stf-hover-shadow);
}

.stf-wrap.answered .stf-choice-card {
  pointer-events: none;
}

.stf-wrap.answered .stf-choice-card.is-selected {
  z-index: 3;
  transform: translate3d(-50%, 0, 0) scale(1);
  opacity: 1;
}

.stf-wrap.answered .stf-choice-card.is-underlay {
  z-index: 2;
  transform: translate3d(-50%, 0, 0) scale(1);
  filter: none;
  opacity: 0;
}

.stf-wrap.compare-active .stf-choice-card.is-selected {
  transform: translate3d(-50%, 0, 0) scale(1);
  opacity: 0;
}

.stf-wrap.compare-active .stf-choice-card.is-underlay {
  transform: translate3d(-50%, 0, 0) scale(1);
  filter: none;
  opacity: 1;
}

.stf-card .stf-component { width: 100%; max-width: 340px; pointer-events: none; }
.stf-card > *, .stf-card .stf-component * { pointer-events: none; }

.stf-compare-btn {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap:12px;
  padding: 16px 16px;
  border-radius: var(--r-pill);
  border: 1px solid #187cff;
  background: #deecff;
  color: #187cff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease;
}

.stf-compare-btn::before,
.stf-compare-btn::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 6;
}

.stf-compare-btn::before {
  content: '';
  width: 8px;
  height: 8px;
  top: calc(100% + 6px);
  background: #101418;
  transform: translate(-50%, -4px) rotate(45deg);
}

.stf-compare-btn::after {
  content: attr(data-tooltip);
  top: calc(100% + 10px);
  padding: 6px 10px;
  border-radius: var(--r-xs);
  background: #101418;
  color: #fff;
  font-size: var(--fs-12);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: translate(-50%, -4px);
}

.stf-wrap.answered .stf-compare-btn:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  z-index: 4;
}

.stf-compare-btn:hover,
.stf-compare-btn:focus-visible {
  outline: none;
  background: #bcd9ff;;
}

.stf-compare-btn:hover::before,
.stf-compare-btn:hover::after,
.stf-compare-btn:focus-visible::before,
.stf-compare-btn:focus-visible::after {
  opacity: 1;
}

.stf-compare-btn:hover::before,
.stf-compare-btn:focus-visible::before {
  transform: translate(-50%, 0) rotate(45deg);
}

.stf-compare-btn:hover::after,
.stf-compare-btn:focus-visible::after {
  transform: translate(-50%, 0);
}

.stf-compare-btn[aria-pressed="true"] {
  background: #187cff;
  color: #fff;
}

.stf-compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.stf-compare-icon i {
  font-size: var(--fs-24);
  line-height: 1;
}

.stf-feedback {
  width: 100%;
  max-width: 760px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 320ms ease,
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stf-wrap.answered .stf-feedback:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.stf-feedback-card {
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.07);
}

.stf-feedback.correct .stf-feedback-card {
  border-color: var(--correct);
  background: var(--correct-bg);
}

.stf-feedback.wrong .stf-feedback-card {
  border-color: rgba(231, 49, 76, 0.3);
  background: #fddfe3;
}

.stf-feedback-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.stf-feedback-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.stf-feedback-title {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.stf-feedback.correct .stf-feedback-title,
.stf-feedback.correct .stf-feedback-title-icon {
  color: #2f7d4f;
}

.stf-feedback.wrong .stf-feedback-title,
.stf-feedback.wrong .stf-feedback-title-icon {
  color: #b8354a;
}

.stf-feedback-text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--text);
}

.stf-actions {
  width: 100%;
  max-width: 760px;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 300ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stf-wrap.answered .stf-actions {
  opacity: 1;
  transform: translateY(0);
}

.stf-next-btn[hidden] {
  display: none;
}

.dc-search-shell {
  max-width: 320px;
}

.dc-search-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 14px 30px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 26px 18px;
  border-radius: var(--r-lg);
  border: 1px solid #e5e5e2;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-search-bar {
  width: 100%;
  height: 52px;
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1px solid #dededb;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.dc-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #70706c;
  flex-shrink: 0;
}

.dc-search-icon i {
  font-size: var(--fs-14);
  line-height: 1;
}

.dc-search-placeholder {
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #74746f;
}

.dc-search-placeholder-flawed {
  color: #c9c9c5;
}

.dc-listing-shell {
  max-width: 320px;
}

.dc-listing-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 20px 40px rgba(17, 17, 17, 0.1);
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 12px 24px rgba(17, 17, 17, 0.06);
}

.dc-listing-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eeeeeb;
}

.dc-listing-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-listing-price-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 8px 12px;
  border-radius: var(--r-xs);
  background: #111111;
}

.dc-listing-price-text {
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.dc-listing-price-text-flawed {
  color: #787878;
}

.dc-listing-content {
  padding: 16px 18px 18px;
}

.dc-listing-title {
  margin: 0 0 8px;
  font-size: var(--fs-16);
  line-height: 1.2;
  font-weight: 600;
  color: #171717;
}

.dc-listing-meta {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.4;
  color: #73736e;
}

.dc-image-stretch-shell {
  max-width: 320px;
}

.dc-image-stretch-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 20px 40px rgba(17, 17, 17, 0.1);
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 12px 24px rgba(17, 17, 17, 0.06);
}

.dc-image-stretch-media {
  aspect-ratio: 19 / 9;
  overflow: hidden;
  background: #eeeeeb;
}

.dc-image-stretch-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.dc-image-stretch-photo-flawed {
  object-fit: fill;
}

.dc-image-stretch-content {
  padding: 15px 18px 17px;
  text-align: left;
}

.dc-image-stretch-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-image-stretch-title {
  margin: 0 0 7px;
  font-size: var(--fs-18);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  white-space: nowrap;
}

.dc-image-stretch-meta {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.35;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-presence-shell {
  max-width: 320px;
}

.dc-presence-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 34px rgba(0, 0, 0, 0.3);
  width: 100%;
  min-height: 200px;
  padding: 26px 20px 18px;
  border-radius: var(--r-lg);
  background: #111111;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 24px rgba(0, 0, 0, 0.22);
}

.dc-presence-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dc-presence-identity {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  justify-content: flex-start;
}

.dc-presence-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dc-presence-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.dc-presence-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #40b866;
  border: 2px solid #111111;
}

.dc-presence-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.dc-presence-name {
  margin: 0 0 2px;
  font-size: var(--fs-16);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafb;
  white-space: nowrap;
}

.dc-presence-subtitle {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.2;
  color: #b7b7b7;
}

.dc-presence-subtitle-flawed {
  color: #4f4f4f;
}

.dc-presence-video-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2a2a2a;
  color: #f5f5f5;
  font-size: var(--fs-14);
  flex-shrink: 0;
}

.dc-presence-divider {
  margin-top: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.dc-player-shell {
  max-width: 320px;
}

.dc-player-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 20px 42px rgba(0, 0, 0, 0.28);
  width: 100%;
  min-height: 234px;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid #2a2a2a;
  background: #111111;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 12px 26px rgba(0, 0, 0, 0.24);
  color: #f7f7f5;
}

.dc-player-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dc-player-art {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #2b2b2b;
}

.dc-player-art i {
  font-size: var(--fs-22);
  color: #f7f7f5;
}

.dc-player-copy {
  min-width: 0;
  text-align: left;
}

.dc-player-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8a8a3;
}

.dc-player-title {
  margin: 0 0 4px;
  font-size: var(--fs-18);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f7f7f5;
  white-space: nowrap;
}

.dc-player-artist {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.2;
  color: #b4b4b0;
}

.dc-player-progress {
  position: relative;
  height: 7px;
  margin: 26px 0 9px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.dc-player-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: #e8e8e3;
}

.dc-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 13px;
}

.dc-player-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dc-player-time {
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1;
  color: #bebeba;
}

.dc-player-play {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f5;
  color: #171824;
}

.dc-player-play-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(1px);
}

.dc-player-play-icon i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-player-play-icon-flawed {
  transform: translate(-2px, -2px);
}

.dc-toast-shell {
  max-width: 320px;
}

.dc-toast-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 18px 34px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 18px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
  display: flex;
  align-items: center;
}

.dc-toast-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dc-toast-status {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eef8f0;
  color: #2f7d50;
}

.dc-toast-status i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-toast-copy {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.dc-toast-title {
  margin: 0 0 4px;
  font-size: var(--fs-16);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #171717;
  white-space: nowrap;
}

.dc-toast-message {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.35;
  color: #73736e;
  white-space: nowrap;
}

.dc-toast-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #dededb;
  background: #ffffff;
  color: #5f5f5b;
}

.dc-toast-close-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dc-toast-close-icon i {
  font-size: var(--fs-16);
  line-height: 1;
}

.dc-toast-close-icon-flawed i {
  font-size: 29px;
}

.dc-icon-style-shell {
  max-width: 320px;
}

.dc-icon-style-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-icon-style-heading {
  text-align: left;
}

.dc-icon-style-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-icon-style-title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
}

.dc-icon-style-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dc-icon-style-action {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dc-icon-style-button {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eeeeeb;
  color: #171717;
}

.dc-icon-style-button i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-icon-style-button-flawed i {
  font-weight: 400;
}

.dc-icon-style-label {
  font-size: var(--fs-12);
  line-height: 1;
  font-weight: 600;
  color: #5f5f5b;
  white-space: nowrap;
}

.dc-invite-style-shell {
  max-width: 320px;
}

.dc-invite-style-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-invite-style-header {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.dc-invite-style-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eeeeeb;
  color: #5f5f5b;
}

.dc-invite-style-icon i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-invite-style-copy {
  min-width: 0;
  text-align: left;
}

.dc-invite-style-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-invite-style-title {
  margin: 0 0 5px;
  font-size: var(--fs-18);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  white-space: nowrap;
}

.dc-invite-style-message {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.35;
  font-weight: 600;
  color: #73736e;
}

.dc-invite-style-actions {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dc-invite-secondary-button,
.dc-invite-primary-button {
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.dc-invite-secondary-button {
  border: 1px solid #dededb;
  background: #ffffff;
  color: #4f4f4a;
}

.dc-invite-secondary-button-flawed {
  border: 1px solid #dededb;
  border-radius: 2px;
   background: #ffffff;
  color: #171717;
  font-weight: 400;
}

.dc-invite-primary-button {
  background: #111111;
  color: #ffffff;
}

.dc-online-indicator-shell {
  max-width: 320px;
}

.dc-online-indicator-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 34px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  background: #111111;
  color: #f7f7f5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 24px rgba(0, 0, 0, 0.22);
}

.dc-online-indicator-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dc-online-indicator-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dc-online-indicator-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.dc-online-indicator-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #40b866;
  border: 2px solid #111111;
}

.dc-online-indicator-dot-flawed {
  background: #ff3b5f;
}

.dc-online-indicator-copy {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.dc-online-indicator-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b9b96;
}

.dc-online-indicator-title {
  margin: 0 0 4px;
  font-size: var(--fs-18);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f7f7f5;
  white-space: nowrap;
}

.dc-online-indicator-status {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.2;
  font-weight: 600;
  color: #bebeba;
}

.dc-online-indicator-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #2a2a2a;
  color: #f7f7f5;
}

.dc-online-indicator-action i {
  font-size: var(--fs-14);
  line-height: 1;
}

.dc-call-start-shell {
  max-width: 320px;
}

.dc-call-start-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 24px 22px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
  text-align: center;
}

.dc-call-start-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eeeeeb;
  color: #171717;
}

.dc-call-start-icon i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-call-start-title {
  margin: 0 0 7px;
  font-size: var(--fs-20);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #171717;
}

.dc-call-start-message {
  max-width: 23ch;
  margin: 0 auto;
  font-size: var(--fs-14);
  line-height: 1.45;
  font-weight: 600;
  color: #73736e;
}

.dc-call-start-button {
  margin: 18px auto 0;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111111;
  color: #ffffff;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 600;
}

.dc-call-start-button i {
  font-size: var(--fs-14);
  line-height: 1;
}

.dc-call-start-button-label {
  letter-spacing: 0;
  text-transform: none;
}

.dc-call-start-button-label-flawed {
  text-transform: uppercase;
}

.dc-gallery-aspect-shell {
  max-width: 300px;
}

.dc-gallery-aspect-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 20px 40px rgba(17, 17, 17, 0.1);
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 12px 24px rgba(17, 17, 17, 0.06);
}

.dc-gallery-aspect-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eeeeeb;
}

.dc-gallery-aspect-media-flawed {
  aspect-ratio: 16 / 10;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: #ffffff;
}

.dc-gallery-aspect-media-flawed .dc-gallery-aspect-photo {
  width: 46%;
  height: 100%;
  object-fit: cover;
}

.dc-gallery-aspect-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.dc-gallery-aspect-content {
  padding: 15px 18px 17px;
  text-align: left;
}

.dc-gallery-aspect-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-gallery-aspect-title {
  margin: 0 0 7px;
  font-size: var(--fs-18);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  white-space: nowrap;
}

.dc-gallery-aspect-meta {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.35;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-call-color-shell {
  max-width: 320px;
}

.dc-call-color-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 20px 42px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  background: #111111;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 26px rgba(0, 0, 0, 0.24);
}

.dc-call-color-eyebrow {
  margin: 0 0 18px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b9b96;
  text-align: left;
}

.dc-call-color-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.dc-call-color-button,
.dc-call-hangup-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.dc-call-color-button {
  background: #2d2d2d;
}

.dc-call-hangup-button {
  background: #ff3b5f;
}

.dc-call-hangup-button-flawed {
  background: #2f9d68;
}

.dc-call-color-button i,
.dc-call-hangup-button i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-call-hangup-button i {
  transform: rotate(135deg);
}

.dc-event-shell {
  max-width: 320px;
}

.dc-event-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
}

.dc-event-date-pill {
  width: 64px;
  height: 74px;
  border-radius: var(--r-lg);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #111111;
  color: #f7f7f5;
}

.dc-event-date-pill-flawed {
  border-radius: 3px;
}

.dc-event-month {
  font-size: var(--fs-12);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8c8c3;
}

.dc-event-day {
  margin-top: 7px;
  font-size: var(--fs-28);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.dc-event-copy {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.dc-event-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-12);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-event-title {
  margin: 0 0 10px;
  font-size: var(--fs-18);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  white-space: nowrap;
}

.dc-event-meta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dc-event-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-14);
  line-height: 1.1;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-event-meta i {
  width: 13px;
  font-size: var(--fs-12);
  line-height: 1;
  text-align: center;
  color: #74746f;
}

.dc-checkout-shell {
  max-width: 320px;
}

.dc-checkout-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-checkout-heading {
  text-align: left;
}

.dc-checkout-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-12);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-checkout-title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
}

.dc-checkout-lines {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.dc-checkout-line,
.dc-checkout-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.dc-checkout-line {
  font-size: var(--fs-14);
  line-height: 1.15;
  font-weight: 600;
  color: #73736e;
}

.dc-checkout-total-row {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #dededb;
}

.dc-checkout-total-label {
  font-size: var(--fs-14);
  line-height: 1.1;
  font-weight: 600;
  color: #171717;
}

.dc-checkout-total-amount {
  font-size: var(--fs-28);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #171717;
  white-space: nowrap;
}

.dc-checkout-total-amount-flawed {
  font-weight: 300;
}

.dc-danger-shell {
  max-width: 320px;
}

.dc-danger-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-danger-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dc-danger-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fde9e6;
  color: #c94638;
}

.dc-danger-icon i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-danger-copy {
  min-width: 0;
  text-align: left;
}

.dc-danger-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b65c52;
}

.dc-danger-title {
  margin: 0 0 5px;
  font-size: var(--fs-18);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  white-space: nowrap;
}

.dc-danger-message {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.35;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-danger-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.dc-danger-cancel,
.dc-danger-delete-button {
  min-width: 88px;
  padding: 13px 18px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 600;
}

.dc-danger-cancel {
  border: 1px solid #dededb;
  background: #ffffff;
  color: #4f4f4a;
}

.dc-danger-delete-button {
  background: #c94638;
  color: #ffffff;
}

.dc-danger-delete-button-flawed {
  background: #2f9d68;
}

.dc-login-shell {
  max-width: 320px;
}

.dc-login-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-login-heading {
  text-align: left;
}

.dc-login-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-login-title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
}

.dc-login-fields {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-login-field {
  display: block;
  text-align: left;
}

.dc-login-label {
  display: block;
  margin: 0 0 6px;
  font-size: var(--fs-12);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
  color: #5f5f5b;
}

.dc-login-password-label-flawed {
  text-transform: uppercase;
}

.dc-login-input {
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid #dededb;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: #171717;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.dc-login-input i {
  width: 14px;
  font-size: var(--fs-14);
  line-height: 1;
  text-align: center;
  color: #6b6b66;
  flex-shrink: 0;
}

.dc-login-input span {
  min-width: 0;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 650;
  color: #171717;
}

.dc-login-submit {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 600;
}

.dc-settings-shell {
  max-width: 320px;
}

.dc-settings-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  min-height: 218px;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-settings-heading {
  text-align: left;
}

.dc-settings-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-settings-title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
}

.dc-settings-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.dc-settings-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.dc-settings-row + .dc-settings-row {
  border-top: 1px solid #e2e2df;
}

.dc-settings-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.dc-settings-label {
  font-size: var(--fs-14);
  line-height: 1.1;
  font-weight: 600;
  color: #171717;
  white-space: nowrap;
}

.dc-settings-helper {
  font-size: var(--fs-12);
  line-height: 1.2;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-settings-toggle {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
  background: #111111;
}

.dc-settings-toggle-knob {
  position: absolute;
  top: 4px;
  left: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
}

.dc-settings-toggle-knob-flawed {
  left: 4px;
}

.dc-upload-shell {
  max-width: 320px;
}

.dc-upload-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  min-height: 206px;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-upload-heading {
  text-align: left;
}

.dc-upload-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-upload-title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
}

.dc-upload-dropzone {
  margin-top: 16px;
  min-height: 72px;
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px dashed #c8c8c3;
  background: #ffffff;
  display: flex;
  align-items: center;
}

.dc-upload-file-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.dc-upload-file-row-flawed {
  gap: 28px;
}

.dc-upload-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eeeeeb;
  color: #5f5f5b;
}

.dc-upload-icon i {
  font-size: var(--fs-16);
  line-height: 1;
}

.dc-upload-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.dc-upload-label {
  font-size: var(--fs-14);
  line-height: 1.1;
  font-weight: 600;
  color: #171717;
  white-space: nowrap;
}

.dc-upload-helper {
  font-size: var(--fs-12);
  line-height: 1.2;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-upload-button {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 600;
}

.dc-appointment-shell {
  max-width: 240px;
}

.dc-appointment-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 18px 16px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-appointment-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dc-appointment-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eeeeeb;
  color: #5f5f5b;
}

.dc-appointment-icon i {
  font-size: var(--fs-16);
  line-height: 1;
}

.dc-appointment-copy {
  min-width: 0;
  text-align: left;
}

.dc-appointment-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-appointment-title {
  margin: 0 0 5px;
  font-size: var(--fs-16);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  white-space: nowrap;
}

.dc-appointment-meta {
  margin: 0;
  font-size: var(--fs-12);
  line-height: 1.35;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-appointment-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dc-appointment-secondary,
.dc-appointment-confirm {
  height: 40px;
  min-width: 76px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 600;
}

.dc-appointment-secondary {
  border: 1px solid #dededb;
  background: #ffffff;
  color: #4f4f4a;
}

.dc-appointment-confirm {
  background: #111111;
  color: #ffffff;
}

.dc-appointment-confirm-flawed {
  height: 36px;
}

.dc-profile-progress-shell {
  max-width: 320px;
}

.dc-profile-progress-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-profile-progress-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-profile-progress-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eeeeeb;
  color: #5f5f5b;
}

.dc-profile-progress-icon i {
  font-size: var(--fs-18);
  line-height: 1;
}

.dc-profile-progress-copy {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.dc-profile-progress-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-profile-progress-title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  white-space: nowrap;
}

.dc-profile-progress-percent {
  font-size: var(--fs-18);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #171717;
  font-variant-numeric: tabular-nums;
}

.dc-profile-progress-track {
  position: relative;
  height: 12px;
  margin-top: 22px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: #eeeeeb;
}

.dc-profile-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  border-radius: inherit;
  background: #111111;
}

.dc-profile-progress-fill-flawed {
  border-radius: 0;
}

.dc-profile-progress-helper {
  margin: 12px 0 0;
  font-size: var(--fs-14);
  line-height: 1.4;
  font-weight: 600;
  color: #73736e;
  text-align: left;
}

.dc-team-status-shell {
  max-width: 320px;
}

.dc-team-status-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 18px 36px rgba(17, 17, 17, 0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(17, 17, 17, 0.06);
}

.dc-team-status-heading {
  text-align: left;
}

.dc-team-status-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
}

.dc-team-status-title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
}

.dc-team-status-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.dc-team-status-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.dc-team-status-row + .dc-team-status-row {
  border-top: 1px solid #e2e2df;
}

.dc-team-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eeeeeb;
  color: #4f4f4a;
  font-size: var(--fs-12);
  line-height: 1;
  font-weight: 700;
}

.dc-team-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.dc-team-name {
  font-size: var(--fs-14);
  line-height: 1.1;
  font-weight: 600;
  color: #171717;
  white-space: nowrap;
}

.dc-team-role {
  font-size: var(--fs-12);
  line-height: 1.2;
  font-weight: 600;
  color: #73736e;
  white-space: nowrap;
}

.dc-team-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 82px;
  padding: 7px 10px;
  border-radius: var(--r-pill);
  background: #eef8f1;
  color: #2f7d4f;
  font-size: var(--fs-12);
  line-height: 1;
  font-weight: 600;
  flex-shrink: 0;
}

.dc-team-state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #2f7d4f;
}

.dc-team-state-dot-flawed {
  background: #b8354a;
}

/* Design Detective layout — scene + complaint on the left panel */
.dd-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.dd-scene-outer {
  width: 100%;
  display: flex;
  justify-content: center;
}
.dd-scene-outer .dd-scene {
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-sm);
}

.dd-complaint {
  padding: 14px 20px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-xs);
  color: var(--text);
  font-size: var(--fs-16);
  font-style: italic;
  line-height: 1.5;
  max-width: 480px;
  width: 100%;
  box-sizing: border-box;
}
.dd-complaint::before { content: '\201C'; margin-right: 2px; color: var(--accent); font-weight: 600; }
.dd-complaint::after { content: '\201D'; margin-left: 2px; color: var(--accent); font-weight: 600; }

.dd-hint {
  font-size: var(--fs-12);
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 2px;
}

.dd-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.dd-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: var(--fs-14);
  line-height: 1.45;
  color: var(--text);
  transition: border-color 140ms ease, background 140ms ease;
}
.dd-option:hover:not(.revealed) { border-color: var(--border-strong); background: var(--surface); }
.dd-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.dd-option.revealed { cursor: default; }
.dd-option.correct { border-color: var(--correct); background: var(--correct-bg); }
.dd-option.wrong { border-color: var(--wrong); background: var(--wrong-bg); }
.dd-option.missed {
  border-color: var(--correct);
  background: var(--bg);
  border-style: dashed;
}

.dd-option-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 1px;
}
.dd-option.selected .dd-option-marker {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.dd-option.correct .dd-option-marker {
  background: var(--correct);
  border-color: var(--correct);
  color: white;
}
.dd-option.wrong .dd-option-marker {
  background: var(--wrong);
  border-color: var(--wrong);
  color: white;
}
.dd-option.missed .dd-option-marker {
  border-color: var(--correct);
  color: var(--correct);
}

/* Explanation */
.explanation {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.explanation-label {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}
.explanation p { margin: 0; color: var(--text); font-size: var(--fs-14); line-height: 1.55; }

/* Tier transition */
.tier-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  cursor: pointer;
  transition: opacity 260ms ease;
}
.tier-overlay[hidden] { display: none; }
.tier-overlay.visible { opacity: 1; }

.tier-overlay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.tier-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--correct-bg);
  color: var(--correct);
  font-size: var(--fs-28);
  font-weight: 600;
}

.tier-complete-label {
  color: var(--text);
  font-size: var(--fs-28);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tier-next-label {
  color: var(--text-muted);
  font-size: var(--fs-18);
}

.tier-overlay-hint {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ───────────────────────── RESULTS ───────────────────────── */

#screen-results {
  justify-content: center;
  align-items: center;
  padding: 60px 24px;
}

.results-inner {
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.results-eyebrow {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}

.rank-title {
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.final-score {
  font-size: var(--fs-20);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.final-score-divider { color: var(--text-soft); font-size: var(--fs-14); }
#final-score-value { font-size: var(--fs-28); font-weight: 600; color: var(--accent); }

.rank-flavour {
  color: var(--text-muted);
  font-size: var(--fs-18);
  max-width: 40ch;
  margin: 4px 0 24px;
}

.results-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ───────────────────────── RESPONSIVE ───────────────────────── */

/* Narrow viewport: stack panels vertically, allow the page to scroll. */
@media (max-width: 960px) {
  #screen-game { height: auto; min-height: 100vh; overflow: visible; background: var(--bg); }
  .game-inner { overflow: visible; padding: 20px 20px 16px; }
  .game-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .left-panel, .right-panel { overflow: visible; }
  .left-panel { padding: 4px 0; }

  .game-content.stf-mode .left-panel {
    padding: 8px 0 20px;
  }

  .stf-stage {
    min-height: 0;
  }

  .stf-stack {
    width: min(44vw, 240px);
  }
  .stf-stack:focus-visible{
    outline: none!important;
  }


  .stf-choice-card[data-side="A"] {
    transform: translate3d(calc(-100% - 12px), 0, 0);
  }

  .stf-choice-card[data-side="B"] {
    transform: translate3d(12px, 0, 0);
  }

  .stf-wrap.answered .stf-choice-card.is-selected {
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .stf-wrap.answered .stf-choice-card.is-underlay {
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .stf-wrap.compare-active .stf-choice-card.is-selected {
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .stf-wrap.compare-active .stf-choice-card.is-underlay {
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .stf-compare-btn {
    width: 38px;
    height: 38px;
  }

  .stf-feedback {
    text-align: left;
  }

  .stf-feedback-card {
    width: 100%;
  }

  .stf-actions {
    justify-content: center;
  }

  .dc-settings-card {
    min-height: 174px;
    padding: 14px 12px;
    border-radius: var(--r-lg);
  }

  .dc-settings-eyebrow {
    font-size: var(--fs-8);
    letter-spacing: 0.13em;
  }

  .dc-settings-title {
    font-size: var(--fs-14);
  }

  .dc-settings-list {
    margin-top: 10px;
  }

  .dc-settings-row {
    min-height: 36px;
    gap: 8px;
    padding: 7px 0;
  }

  .dc-settings-label {
    font-size: var(--fs-12);
  }

  .dc-settings-helper {
    font-size: var(--fs-10);
  }

  .dc-settings-toggle {
    width: 34px;
    height: 20px;
  }

  .dc-settings-toggle-knob {
    top: 3px;
    left: 17px;
    width: 14px;
    height: 14px;
  }

  .dc-settings-toggle-knob-flawed {
    left: 3px;
  }

  .dc-upload-card {
    min-height: 174px;
    padding: 14px 12px;
    border-radius: var(--r-lg);
  }

  .dc-upload-eyebrow {
    font-size: var(--fs-8);
    letter-spacing: 0.13em;
  }

  .dc-upload-title {
    font-size: var(--fs-14);
  }

  .dc-upload-dropzone {
    margin-top: 10px;
    min-height: 58px;
    padding: 10px;
    border-radius: var(--r-md);
  }

  .dc-upload-file-row {
    gap: 8px;
  }

  .dc-upload-file-row-flawed {
    gap: 26px;
  }

  .dc-upload-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--r-xs);
  }

  .dc-upload-icon i {
    font-size: var(--fs-14);
  }

  .dc-upload-label {
    font-size: var(--fs-12);
  }

  .dc-upload-helper {
    font-size: var(--fs-10);
  }

  .dc-upload-button {
    margin-top: 10px;
    padding: 11px 14px;
    border-radius: var(--r-xs);
    font-size: var(--fs-12);
  }
}

@media (min-width: 961px) {
  #screen-game:not(.stf-mode) .left-panel {
    --game-edge-shift: min(-32px, calc((1280px - 100vw) / 2 - 32px));
    --game-edge-width: max(32px, calc((100vw - 1280px) / 2 + 32px));
    position: relative;
    left: var(--game-edge-shift);
    width: calc(100% + var(--game-edge-width));
    max-width: none;
  }
}

@media (max-width: 680px) {
  .mode-cards { grid-template-columns: 1fr; }
  .top-bar { padding: 12px 18px; }
  .top-bar-right { gap: 12px; }
  #screen-landing { padding: 40px 20px; }
  .back-label { display: none; }
  .icon-btn { padding: 7px 10px; }
}

@media (min-width: 1280px) {
  #screen-game {
    background:
      linear-gradient(
        90deg,
        var(--preview-bg) 0,
        var(--preview-bg) calc(50vw + 105px),
        var(--bg) calc(50vw + 105px),
        var(--bg) 100%
      );
  }
}

@media (min-width: 1400px) {
  .title { font-size: 72px; }
}

/* ═══════════════════════════════════════════════════════════
   MEDIUM SPOT THE FLAW — Question Components (M1–M20)
   ═══════════════════════════════════════════════════════════ */

/* ─── M1: Filter Chip Row — Horizontal Padding Consistency ─── */
.dc-filterchip-shell { max-width: 320px; }
.dc-filterchip-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-filterchip-heading { text-align: left; margin-bottom: 16px; }
.dc-filterchip-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-filterchip-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-filterchip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-filterchip {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  border: 1px solid #dededb;
  background: #f5f5f2;
  color: #4f4f4a;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 650;
  white-space: nowrap;
}
.dc-filterchip-wide { padding: 8px 22px; }

/* ─── M2: Notification List — Icon Vertical Alignment ─── */
.dc-notiflist-shell { max-width: 320px; }
.dc-notiflist-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-notiflist-heading { text-align: left; }
.dc-notiflist-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-notiflist-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-notiflist-list { margin-top: 16px; display: flex; flex-direction: column; }
.dc-notiflist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-height: 52px;
}
.dc-notiflist-row + .dc-notiflist-row { border-top: 1px solid #e2e2df; }
.dc-notiflist-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eeeeeb;
  color: #5f5f5b;
  align-self: center;
}
.dc-notiflist-icon-wrap-flawed { align-self: flex-start; }
.dc-notiflist-icon-wrap i { font-size: var(--fs-14); line-height: 1; }
.dc-notiflist-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}
.dc-notiflist-label {
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.1;
  white-space: nowrap;
}
.dc-notiflist-sublabel {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #73736e;
  line-height: 1.2;
  white-space: nowrap;
}
.dc-notiflist-time {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #9b9b96;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── M3: Podcast Card — Metadata Letter Spacing ─── */
.dc-podcast-shell { max-width: 320px; }
.dc-podcast-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.dc-podcast-art {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  background: #2b2b2b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7f7f5;
}
.dc-podcast-art i { font-size: var(--fs-20); line-height: 1; }
.dc-podcast-copy { min-width: 0; flex: 1; text-align: left; }
.dc-podcast-show {
  margin: 0 0 5px;
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1;
}
.dc-podcast-title {
  margin: 0 0 10px;
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-podcast-meta-row { display: flex; align-items: center; gap: 8px; }
.dc-podcast-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-12);
  font-weight: 650;
  color: #73736e;
  line-height: 1;
  letter-spacing: 0;
}
.dc-podcast-meta-flawed { letter-spacing: 0.2em; }
.dc-podcast-meta i { font-size: var(--fs-12); line-height: 1; }

/* ─── M4: Metric Row Card — Font Weight Inconsistency ─── */
.dc-metricrow-shell { max-width: 320px; }
.dc-metricrow-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-metricrow-heading { text-align: left; margin-bottom: 18px; }
.dc-metricrow-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-metricrow-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-metricrow-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 6px;
}
.dc-metricrow-stat {
  padding: 14px 10px;
  border-radius: var(--r-md);
  background: #f5f5f2;
  text-align: center;
}
.dc-metricrow-value {
  font-size: var(--fs-26);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #171717;
  line-height: 1;
}
.dc-metricrow-value-flawed { font-weight: 500; }
.dc-metricrow-label {
  margin-top: 5px;
  font-size: var(--fs-12);
  font-weight: 650;
  color: #73736e;
  line-height: 1;
}

/* ─── M5: Chevron Settings List — Trailing Icon Alignment ─── */
.dc-chevron-shell { max-width: 320px; }
.dc-chevron-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-chevron-heading { text-align: left; }
.dc-chevron-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-chevron-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-chevron-list { margin-top: 16px; display: flex; flex-direction: column; }
.dc-chevron-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  min-height: 56px;
}
.dc-chevron-row + .dc-chevron-row { border-top: 1px solid #e2e2df; }
.dc-chevron-copy { min-width: 0; flex: 1; text-align: left; }
.dc-chevron-label {
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.1;
  white-space: nowrap;
}
.dc-chevron-helper {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #73736e;
  line-height: 1.2;
  margin-top: 3px;
  white-space: nowrap;
}
.dc-chevron-icon {
  color: #b8b8b3;
  font-size: var(--fs-14);
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
}
.dc-chevron-icon-flawed {
  align-self: flex-end;
  margin-bottom: 14px;
}

/* ─── M6: Tag Group — Border Radius Inconsistency ─── */
.dc-taggroup-shell { max-width: 320px; }
.dc-taggroup-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-taggroup-heading { text-align: left; margin-bottom: 16px; }
.dc-taggroup-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-taggroup-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-taggroup-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-tag {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  background: #eeeeeb;
  color: #4f4f4a;
  font-size: var(--fs-14);
  line-height: 1;
  font-weight: 650;
  white-space: nowrap;
}
.dc-tag-flawed { border-radius: 6px; }

/* ─── M7: Dropdown Menu — Icon Size Inconsistency ─── */
.dc-dropdown-shell { max-width: 260px; }
.dc-dropdown-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 6px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 14px 32px rgba(17,17,17,0.12);
}
.dc-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.dc-dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f0f0ed;
  color: #4f4f4a;
}
.dc-dropdown-icon i { font-size: var(--fs-14); line-height: 1; }
.dc-dropdown-icon-flawed i { font-size: var(--fs-20); }
.dc-dropdown-label {
  font-size: var(--fs-14);
  font-weight: 650;
  color: #171717;
  line-height: 1;
  white-space: nowrap;
}
.dc-dropdown-divider { height: 1px; background: #e8e8e4; margin: 4px 14px; }

/* ─── M8: Message Preview List — Unread Dot Alignment ─── */
.dc-msglist-shell { max-width: 320px; }
.dc-msglist-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-msglist-heading { text-align: left; margin-bottom: 16px; }
.dc-msglist-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-msglist-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-msglist-list { display: flex; flex-direction: column; }
.dc-msglist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-height: 52px;
}
.dc-msglist-row + .dc-msglist-row { border-top: 1px solid #e2e2df; }
.dc-msglist-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eeeeeb;
  font-size: var(--fs-12);
  font-weight: 700;
  color: #4f4f4a;
}
.dc-msglist-copy { min-width: 0; flex: 1; text-align: left; }
.dc-msglist-name {
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.1;
  white-space: nowrap;
}
.dc-msglist-preview {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #73736e;
  line-height: 1.2;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.dc-msglist-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.dc-msglist-time {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #9b9b96;
  line-height: 1;
  white-space: nowrap;
}
.dc-msglist-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #171717;
  align-self: flex-end;
}
.dc-msglist-unread-dot-flawed { align-self: flex-start; }

/* ─── M9: Segmented Control — Active Label Font Weight ─── */
.dc-segcontrol-shell { max-width: 320px; }
.dc-segcontrol-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-segcontrol-heading { text-align: left; margin-bottom: 18px; }
.dc-segcontrol-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-segcontrol-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-segcontrol-bar {
  display: flex;
  align-items: center;
  height: 42px;
  border-radius: var(--r-md);
  background: #f0f0ed;
  padding: 4px;
  gap: 2px;
}
.dc-seg {
  flex: 1;
  height: 100%;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #73736e;
  line-height: 1;
  white-space: nowrap;
}
.dc-seg-active {
  background: #ffffff;
  color: #171717;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.14);
}
.dc-seg-active-flawed {
  background: #ffffff;
  color: #171717;
  font-weight: 400;
  box-shadow: 0 1px 3px rgba(0,0,0,0.14);
}

/* ─── M10: Form Field Pair — Input Height Inconsistency ─── */
.dc-formpair-shell { max-width: 320px; }
.dc-formpair-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-formpair-heading { text-align: left; margin-bottom: 16px; }
.dc-formpair-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-formpair-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-formpair-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.dc-formpair-field { text-align: left; }
.dc-formpair-label {
  display: block;
  margin: 0 0 6px;
  font-size: var(--fs-12);
  font-weight: 600;
  color: #5f5f5b;
  line-height: 1;
}
.dc-formpair-input {
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid #dededb;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: var(--fs-14);
  font-weight: 650;
  
  color: #171717;
  box-shadow: 0 1px 0 rgba(255,255,255,0.86) inset;
  width: 100%;
}
.dc-formpair-input-short { height: 30px; }
.dc-formpair-submit {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: var(--fs-14);
  font-weight: 600;
  margin-top: 20px;
}

/* ─── M11: CTA Panel — Button Border Radius Mismatch ─── */
.dc-ctapanel-shell { max-width: 300px; }
.dc-ctapanel-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 20px 42px rgba(0,0,0,0.3);
  width: 100%;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: #111111;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 12px 26px rgba(0,0,0,0.22);
  text-align: center;
}
.dc-ctapanel-eyebrow {
  margin: 0 0 10px;
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b9b96;
  line-height: 1;
}
.dc-ctapanel-heading {
  margin: 0 0 10px;
  font-size: var(--fs-24);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #f7f7f5;
  line-height: 1.1;
}
.dc-ctapanel-body {
  margin: 0 auto 20px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #bebeba;
  line-height: 1.5;
  max-width: 22ch;
}
.dc-ctapanel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  background: #f7f7f5;
  color: #171717;
  font-size: var(--fs-14);
  font-weight: 600;
  white-space: nowrap;
}
.dc-ctapanel-btn-flawed { border-radius: 0px; }

/* ─── M12: Booking Detail Card — Metadata Label Capitalisation ─── */
.dc-bookingdetail-shell { max-width: 320px; }
.dc-bookingdetail-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-bookingdetail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.dc-bookingdetail-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eeeeeb;
  color: #5f5f5b;
}
.dc-bookingdetail-icon i { font-size: var(--fs-18); line-height: 1; }
.dc-bookingdetail-hcopy { min-width: 0; text-align: left; }
.dc-bookingdetail-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-bookingdetail-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.18;
  white-space: nowrap;
}
.dc-bookingdetail-rows { display: flex; flex-direction: column; }
.dc-bookingdetail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.dc-bookingdetail-row + .dc-bookingdetail-row { border-top: 1px solid #e2e2df; }
.dc-bookingdetail-row-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f5f5f2;
  color: #171717;
}
.dc-bookingdetail-row-icon i { font-size: var(--fs-14); line-height: 1; }
.dc-bookingdetail-copy { min-width: 0; flex: 1; text-align: left; }
.dc-bookingdetail-row-label {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #9b9b96;
  line-height: 1;
  margin-bottom: 3px;
  text-transform: none;
  letter-spacing: 0;
}
.dc-bookingdetail-row-label-allcaps {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dc-bookingdetail-row-value {
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.1;
  white-space: nowrap;
}

/* ─── M13: Badge Position Card — Notification Badge Offset ─── */
.dc-badgepos-shell { max-width: 280px; }
.dc-badgepos-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 28px 22px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.dc-badgepos-label {
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
  text-align: center;
}
.dc-badgepos-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dc-badgepos-btn-wrap { position: relative; display: inline-flex; }
.dc-badgepos-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f0ed;
  color: #4f4f4a;
}
.dc-badgepos-btn i { font-size: var(--fs-18); line-height: 1; }
.dc-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff3b5f;
  color: #ffffff;
  font-size: var(--fs-12);
  font-weight: 700;
  line-height: 1;
  border: 2px solid #ffffff;
}
.dc-badge-flawed { top: -15px; right: -15px; }

/* ─── M14: Empty State Card — Body Text Letter Spacing ─── */
.dc-emptystate-shell { max-width: 300px; }
.dc-emptystate-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 32px 24px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
  text-align: center;
}
.dc-emptystate-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eeeeeb;
  color: #5f5f5b;
}
.dc-emptystate-icon i { font-size: var(--fs-22); line-height: 1; }
.dc-emptystate-heading {
  margin: 0 0 10px;
  font-size: var(--fs-20);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #171717;
  line-height: 1.1;
}
.dc-emptystate-body {
  margin: 0 auto 20px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #73736e;
  line-height: 1.5;
  max-width: 22ch;
  letter-spacing: 0;
}
.dc-emptystate-body-flawed { letter-spacing: 0.09em; }
.dc-emptystate-btn {
  padding: 12px 18px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: var(--fs-14);
  font-weight: 600;
}

/* ─── M15: Comment Thread — Reply Icon Style Inconsistency ─── */
.dc-comment-shell { max-width: 320px; }
.dc-comment-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-comment-heading { text-align: left; margin-bottom: 16px; }
.dc-comment-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-comment-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-comment-list { display: flex; flex-direction: column; gap: 16px; }
.dc-comment-row { display: flex; align-items: flex-start; gap: 10px; }
.dc-comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eeeeeb;
  font-size: var(--fs-12);
  font-weight: 700;
  color: #4f4f4a;
}
.dc-comment-body { min-width: 0; flex: 1; text-align: left; }
.dc-comment-name {
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.1;
}
.dc-comment-text {
  margin: 4px 0 8px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #4f4f4a;
  line-height: 1.4;
}
.dc-comment-actions { display: flex; align-items: center; gap: 14px; }
.dc-comment-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-12);
  font-weight: 650;
  color: #9b9b96;
  line-height: 1;
}
.dc-comment-action i { font-size: var(--fs-14); line-height: 1; }
.dc-comment-reply-flawed i { font-weight: 400; }

/* ─── M16: Breadcrumb Nav — Separator Size Inconsistency ─── */
.dc-breadcrumb-shell { max-width: 320px; }
.dc-breadcrumb-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 28px 22px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-breadcrumb-label {
  margin: 0 0 14px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
  text-align: left;
}
.dc-breadcrumb-nav { display: flex; align-items: center; flex-wrap: nowrap; }
.dc-breadcrumb-link {
  font-size: var(--fs-14);
  font-weight: 650;
  color: #73736e;
  line-height: 1;
  white-space: nowrap;
}
.dc-breadcrumb-link.dc-breadcrumb-current { color: #171717; font-weight: 600; }
.dc-breadcrumb-sep {
  font-size: var(--fs-14);
  font-weight: 400;
  color: #c8c8c3;
  margin: 0 7px;
  line-height: 1;
}
.dc-breadcrumb-sep-flawed { font-size: var(--fs-28); line-height: 0.65; }

/* ─── M17: Detail List — Row Spacing Inconsistency ─── */
.dc-detaillist-shell { max-width: 320px; }
.dc-detaillist-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-detaillist-heading { text-align: left; margin-bottom: 16px; }
.dc-detaillist-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-detaillist-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-detaillist-list { display: flex; flex-direction: column; }
.dc-kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
}
.dc-kv-row + .dc-kv-row { border-top: 1px solid #e2e2df; }
.dc-kv-row-flawed { padding: 11px 0 24px; }
.dc-kv-key {
  font-size: var(--fs-14);
  font-weight: 650;
  color: #73736e;
  line-height: 1.1;
  white-space: nowrap;
}
.dc-kv-value {
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.1;
  white-space: nowrap;
}

/* ─── M18: Avatar Stack — Overlap Inconsistency ─── */
.dc-avatarstack-shell { max-width: 280px; }
.dc-avatarstack-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
  text-align: left;
}
.dc-avatarstack-eyebrow {
  margin: 0 0 5px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-avatarstack-title {
  margin: 0 0 20px;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-avatarstack-row { display: flex; align-items: center; }
.dc-avatar-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  font-size: var(--fs-12);
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}
.dc-avatar-item:not(:first-child) { margin-left: -10px; }
.dc-avatar-item.dc-avatar-item-flawed:not(:first-child) { margin-left: -3px; }
.dc-avatarstack-count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #f0f0ed;
  color: #4f4f4a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-12);
  font-weight: 700;
  flex-shrink: 0;
  margin-left: -10px;
}
.dc-avatarstack-helper {
  margin-top: 14px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #73736e;
  line-height: 1.4;
}

/* ─── M19: Stat Tile Pair — Icon Size Inconsistency ─── */
.dc-stattile-shell { max-width: 320px; }
.dc-stattile-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-stattile-heading { text-align: left; margin-bottom: 18px; }
.dc-stattile-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-stattile-title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.2;
}
.dc-stattile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc-stattile {
  padding: 16px 14px;
  border-radius: var(--r-lg);
  background: #f5f5f2;
  border: 1px solid #e8e8e4;
  text-align: left;
}
.dc-stattile-tile-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #4f4f4a;
  margin-bottom: 12px;
}
.dc-stattile-tile-icon i { font-size: var(--fs-14); line-height: 1; }
.dc-stattile-tile-icon-flawed i { font-size: var(--fs-22); }
.dc-stattile-value {
  font-size: var(--fs-26);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #171717;
  line-height: 1;
}
.dc-stattile-label {
  margin-top: 5px;
  font-size: var(--fs-12);
  font-weight: 650;
  color: #73736e;
  line-height: 1;
}

/* ─── M20: Alert Banner — Icon Vertical Alignment ─── */
.dc-alertbanner-shell { max-width: 320px; }
.dc-alertbanner-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid #f5dfa6;
  background: #fffbec;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
}
.dc-alertbanner-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dc-alertbanner-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fef0c7;
  color: #b45309;
  align-self: flex-start;
}
.dc-alertbanner-icon-center { align-self: center; }
.dc-alertbanner-icon i { font-size: var(--fs-14); line-height: 1; }
.dc-alertbanner-copy { min-width: 0; flex: 1; text-align: left; }
.dc-alertbanner-title {
  margin: 0 0 6px;
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #78350f;
  line-height: 1.15;
}
.dc-alertbanner-body {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #92400e;
  line-height: 1.55;
}

p{
margin: 2px;
}

/* ═══════════════════════════════════════════════════════════
   HARD SPOT THE FLAW — Question Components (H1–H20)
   ═══════════════════════════════════════════════════════════ */

/* Shared HARD card chrome */
.dc-pagebar-card,
.dc-recipe-card,
.dc-cookie-card,
.dc-rxn-card,
.dc-sidenav-card,
.dc-forum-card,
.dc-toastact-card,
.dc-fbc-card,
.dc-subform-card,
.dc-curinp-card,
.dc-cevr-card,
.dc-catt-card,
.dc-sendfab-card,
.dc-newslet-card,
.dc-tmt-card,
.dc-pft-card,
.dc-nf-card,
.dc-togr-card,
.dc-audbub-card {
  --stf-hover-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 18px 36px rgba(17,17,17,0.1);
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid #e2e2df;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 10px 24px rgba(17,17,17,0.06);
  text-align: left;
}

/* ─── H1: Pagination Bar — Repeated Control Spacing ─── */
.dc-pagebar-shell { max-width: 320px; }
.dc-pagebar-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-pagebar-title {
  margin: 0 0 16px;
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-pagebar-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dc-pagebar-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e2df;
  background: #ffffff;
  color: #4f4f4a;
  font-size: var(--fs-14);
  font-weight: 600;
  line-height: 1;
}
.dc-pagebar-btn.dc-pagebar-arrow { color: #9b9b96; border-color: transparent; background: transparent; }
.dc-pagebar-btn.dc-pagebar-current {
  background: #171717;
  border-color: #171717;
  color: #ffffff;
}
.dc-pagebar-btn-gap { margin-left: 8px; }

/* ─── H2: Recipe Card — Title Letter Spacing ─── */
.dc-recipe-shell { max-width: 320px; }
.dc-recipe-eyebrow {
  margin: 0 0 6px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a6a55;
  line-height: 1.1;
}
.dc-recipe-title {
  margin: 0 0 8px;
  font-size: var(--fs-20);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-recipe-title-flawed { letter-spacing: 0.04em; }
.dc-recipe-desc {
  margin: 0 0 14px;
  font-size: var(--fs-14);
  color: #5b5b56;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.dc-recipe-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.dc-recipe-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  font-weight: 600;
  color: #6b6b66;
  line-height: 1;
}
.dc-recipe-meta i { font-size: var(--fs-12); color: #9b9b96; }

/* ─── H3: Cookie Consent Bar — Action Button Height Consistency ─── */
.dc-cookie-shell { max-width: 360px; }
.dc-cookie-card { padding: 20px; }
.dc-cookie-copy { margin-bottom: 14px; }
.dc-cookie-title {
  margin: 0 0 6px;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-cookie-text {
  margin: 0;
  font-size: var(--fs-12);
  color: #5b5b56;
  line-height: 1.5;
}
.dc-cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dc-cookie-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.dc-cookie-secondary {
  border: 1px solid #d8d8d4;
  background: #ffffff;
  color: #2e2924;
}
.dc-cookie-primary {
  border: 1px solid #171717;
  background: #171717;
  color: #ffffff;
}
.dc-cookie-primary-tall { height: 40px; }

/* ─── H4: Reaction Toolbar — Repeated Button Shape ─── */
.dc-rxn-shell { max-width: 320px; }
.dc-rxn-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-rxn-title {
  margin: 0 0 16px;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-rxn-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dc-rxn-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f2;
  color: #4f4f4a;
  border: 1px solid #ececea;
}
.dc-rxn-btn i { font-size: var(--fs-14); line-height: 1; }
.dc-rxn-btn-flawed { border-radius: 8px; }

/* ─── H5: Sidebar Nav Section — Divider Length ─── */
.dc-sidenav-shell { max-width: 240px; }
.dc-sidenav-card { padding: 16px 16px 18px; }
.dc-sidenav-eyebrow {
  margin: 0 0 10px;
  font-size: var(--fs-10);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b9b96;
  line-height: 1.1;
}
.dc-sidenav-divider {
  display: block;
  height: 1px;
  width: 100%;
  background: #e6e6e3;
  margin-bottom: 12px;
}
.dc-sidenav-divider-flawed { width: calc(100% - 24px); }
.dc-sidenav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dc-sidenav-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-xs);
  font-size: var(--fs-14);
  font-weight: 600;
  color: #4f4f4a;
  line-height: 1;
}
.dc-sidenav-item i { font-size: var(--fs-14); width: 16px; text-align: center; color: #9b9b96; }
.dc-sidenav-active { background: #f5f1ed; color: #171717; }
.dc-sidenav-active i { color: #9a6a55; }

/* ─── H6: Forum Thread — Subtitle Typography Family ─── */
.dc-forum-shell { max-width: 340px; }
.dc-forum-eyebrow {
  margin: 0 0 6px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-forum-title {
  margin: 0 0 8px;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.3;
}
.dc-forum-meta {
  margin: 0 0 14px;
  font-size: var(--fs-12);
  font-weight: 500;
  color: #6b6b66;
  line-height: 1.4;
  font-family: var(--font-stack);
  font-style: normal;
}
.dc-forum-meta-flawed {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}
.dc-forum-stats {
  display: flex;
  gap: 14px;
}
.dc-forum-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  font-weight: 600;
  color: #6b6b66;
  line-height: 1;
}
.dc-forum-stat i { font-size: var(--fs-12); color: #9b9b96; }

/* ─── H7: Toast With Two Text Actions — Secondary Action Weight ─── */
.dc-toastact-shell { max-width: 360px; }
.dc-toastact-card {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.dc-toastact-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: #e8f3ec;
  color: #2f7d4f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dc-toastact-icon i { font-size: var(--fs-16); line-height: 1; }
.dc-toastact-copy { min-width: 0; }
.dc-toastact-title {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.2;
}
.dc-toastact-message {
  margin: 2px 0 0;
  font-size: var(--fs-12);
  color: #6b6b66;
  line-height: 1.3;
}
.dc-toastact-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.dc-toastact-action {
  font-size: var(--fs-12);
  font-weight: 500;
  color: #2e2924;
  line-height: 1;
  letter-spacing: 0;
}
.dc-toastact-action-flawed { font-weight: 700; }

/* ─── H8: Folder Breadcrumb — Inline Icon-Text Spacing ─── */
.dc-fbc-shell { max-width: 360px; }
.dc-fbc-eyebrow {
  margin: 0 0 10px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-fbc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dc-fbc-segment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #5b5b56;
  line-height: 1;
}
.dc-fbc-segment-flawed { gap: 12px; }
.dc-fbc-segment i { font-size: var(--fs-14); color: #9b9b96; }
.dc-fbc-current { color: #171717; }
.dc-fbc-current i { color: #9a6a55; }
.dc-fbc-sep { color: #cfcecb; font-size: var(--fs-10); display: inline-flex; align-items: center; }

/* ─── H9: Subscribe Form CTA — Button Caption Tracking ─── */
.dc-subform-shell { max-width: 320px; }
.dc-subform-eyebrow {
  margin: 0 0 6px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-subform-title {
  margin: 0 0 6px;
  font-size: var(--fs-18);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-subform-text {
  margin: 0 0 14px;
  font-size: var(--fs-12);
  color: #5b5b56;
  line-height: 1.5;
}
.dc-subform-input {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid #d8d8d4;
  background: #fafaf8;
  color: #9b9b96;
  font-size: var(--fs-14);
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.dc-subform-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: var(--r-sm);
  background: #171717;
  color: #ffffff;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.dc-subform-cta-flawed { letter-spacing: 0.18em; }

/* ─── H10: Currency Input — Placeholder Baseline ─── */
.dc-curinp-shell { max-width: 320px; }
.dc-curinp-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-curinp-title {
  margin: 0 0 14px;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-curinp-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid #d8d8d4;
  background: #fafaf8;
}
.dc-curinp-prefix {
  font-size: var(--fs-22);
  font-weight: 600;
  color: #4f4f4a;
  line-height: 1;
}
.dc-curinp-placeholder {
  flex: 1;
  font-size: var(--fs-22);
  font-weight: 600;
  color: #b4b4af;
  line-height: 1;
  display: inline-block;
  transform: translateY(0);
}
.dc-curinp-placeholder-flawed { transform: translateY(-2px); }
.dc-curinp-suffix {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b9b96;
  line-height: 1;
}
.dc-curinp-helper {
  margin: 8px 0 0;
  font-size: var(--fs-12);
  color: #6b6b66;
  line-height: 1.4;
}

/* ─── H11: Dashboard KPI Card — Shadow Direction ─── */
.dc-kpi-shell { max-width: 280px; }
.dc-kpi-card { padding: 18px 18px 14px; }
.dc-kpi-card-flawed {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 -10px 24px rgba(17,17,17,0.12);
}
.dc-kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.dc-kpi-eyebrow {
  margin: 0;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: #e8f3ec;
  color: #2f7d4f;
  font-size: var(--fs-10);
  font-weight: 700;
  line-height: 1;
}
.dc-kpi-trend i { font-size: var(--fs-10); }
.dc-kpi-value {
  margin: 6px 0 2px;
  font-size: var(--fs-26);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #171717;
  line-height: 1.1;
}
.dc-kpi-sub {
  margin: 0 0 10px;
  font-size: var(--fs-12);
  color: #6b6b66;
  line-height: 1;
}
.dc-kpi-spark {
  width: 100%;
  height: 32px;
  display: block;
}

/* ─── H12: Calendar Event Row — Metadata Separator ─── */
.dc-cevr-shell { max-width: 360px; }
.dc-cevr-card {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.dc-cevr-time {
  width: 48px;
  height: 56px;
  border-radius: var(--r-sm);
  background: #f5f1ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.dc-cevr-time-num {
  font-size: var(--fs-18);
  font-weight: 700;
  color: #171717;
  line-height: 1;
}
.dc-cevr-time-month {
  font-size: var(--fs-10);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9a6a55;
  line-height: 1;
}
.dc-cevr-body { min-width: 0; }
.dc-cevr-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-cevr-title {
  margin: 0 0 4px;
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #171717;
  line-height: 1.2;
}
.dc-cevr-meta {
  margin: 0;
  font-size: var(--fs-12);
  color: #6b6b66;
  line-height: 1.3;
  white-space: pre;
}
.dc-cevr-action {
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9b9b96;
}

/* ─── H13: App-Store Category Tile — Icon Resolution ─── */
.dc-catt-shell { max-width: 320px; }
.dc-catt-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-catt-title {
  margin: 0 0 14px;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-catt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.dc-catt-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid #ececea;
  background: #fafaf8;
}
.dc-catt-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f1ed;
  color: #9a6a55;
  flex-shrink: 0;
}
.dc-catt-icon i { font-size: var(--fs-16); line-height: 1; }
.dc-catt-icon-flawed i { filter: blur(0.5px); }
.dc-catt-label {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #2e2924;
  line-height: 1;
}

/* ─── H14: Send FAB — Optical Centering ─── */
.dc-sendfab-shell { max-width: 300px; }
.dc-sendfab-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dc-sendfab-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-sendfab-title {
  margin: 0 0 6px;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-sendfab-text {
  margin: 0 0 16px;
  font-size: var(--fs-12);
  color: #5b5b56;
  line-height: 1.5;
}
.dc-sendfab-row {
  display: flex;
  justify-content: center;
}
.dc-sendfab-fab {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: #d97757;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(217, 119, 87, 0.35);
}
.dc-sendfab-glyph {
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  /* paper-plane mass leans up-right; nudge left+down to optical centre */
  transform: translate(-1px, 1px);
}
.dc-sendfab-glyph-flawed { transform: none; }

/* ─── H15: Newsletter Pill — Asymmetric Padding ─── */
.dc-newslet-shell { max-width: 320px; }
.dc-newslet-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dc-newslet-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: #f5f1ed;
  color: #9a6a55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.dc-newslet-icon i { font-size: var(--fs-18); line-height: 1; }
.dc-newslet-title {
  margin: 0 0 6px;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-newslet-text {
  margin: 0 0 14px;
  font-size: var(--fs-12);
  color: #5b5b56;
  line-height: 1.5;
}
.dc-newslet-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid #d8d8d4;
  background: #fafaf8;
  color: #9b9b96;
  font-size: var(--fs-12);
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.dc-newslet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: #171717;
  color: #ffffff;
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1;
}
.dc-newslet-btn i { font-size: var(--fs-12); }
.dc-newslet-btn-flawed { padding: 0 12px 0 28px; }

/* ─── H16: Team Member Tile — Status Dot Position ─── */
.dc-tmt-shell { max-width: 280px; }
.dc-tmt-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px; }
.dc-tmt-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}
.dc-tmt-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  object-fit: cover;
  display: block;
}
.dc-tmt-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: var(--r-pill);
  background: #2f7d4f;
  border: 2px solid #ffffff;
}
.dc-tmt-dot-flawed { transform: translate(8px, 8px); }
.dc-tmt-name {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-tmt-role {
  margin: 2px 0 14px;
  font-size: var(--fs-12);
  color: #6b6b66;
  line-height: 1.3;
}
.dc-tmt-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.dc-tmt-btn {
  flex: 1;
  height: 32px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1;
}
.dc-tmt-btn-secondary { border: 1px solid #d8d8d4; background: #ffffff; color: #2e2924; }
.dc-tmt-btn-primary { background: #171717; color: #ffffff; }

/* ─── H17: Pricing Tier Feature List — Per-Line Letter Spacing ─── */
.dc-pft-shell { max-width: 340px; }
.dc-pft-eyebrow {
  margin: 0 0 4px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a6a55;
  line-height: 1.1;
}
.dc-pft-title {
  margin: 0 0 14px;
  font-size: var(--fs-22);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.1;
}
.dc-pft-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dc-pft-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-12);
  font-weight: 500;
  color: #2e2924;
  line-height: 1.4;
  letter-spacing: 0;
}
.dc-pft-line i { color: #2f7d4f; font-size: var(--fs-12); margin-top: 2px; }
.dc-pft-line-flawed { letter-spacing: -0.04em; }
.dc-pft-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: #171717;
  color: #ffffff;
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1;
}

/* ─── H18: 404 Not-Found Card — Body Copy Typo ─── */
.dc-nf-shell { max-width: 320px; }
.dc-nf-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dc-nf-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  background: #f5f1ed;
  color: #9a6a55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.dc-nf-icon i { font-size: var(--fs-22); line-height: 1; }
.dc-nf-title {
  margin: 0 0 6px;
  font-size: var(--fs-18);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171717;
  line-height: 1.2;
}
.dc-nf-body {
  margin: 0 0 16px;
  font-size: var(--fs-12);
  color: #5b5b56;
  line-height: 1.5;
}
.dc-nf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: #171717;
  color: #ffffff;
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1;
}

/* ─── H19: Settings Toggle Row — Knob Shadow Direction ─── */
.dc-togr-shell { max-width: 320px; }
.dc-togr-card { padding: 16px 18px; }
.dc-togr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dc-togr-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dc-togr-label {
  font-size: var(--fs-14);
  font-weight: 600;
  color: #171717;
  line-height: 1.2;
}
.dc-togr-helper {
  font-size: var(--fs-12);
  color: #6b6b66;
  line-height: 1.3;
}
.dc-togr-track {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: var(--r-pill);
  background: #2f7d4f;
  flex-shrink: 0;
}
.dc-togr-knob {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: var(--r-pill);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px 1px rgba(0, 0, 0, 0.15);
}
.dc-togr-knob-flawed {
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.25), -1px -1px 2px rgba(0, 0, 0, 0.15);
}

/* ─── H20: Audio Message Bubble — Triangular Glyph Optical Centering ─── */
.dc-audbub-shell { max-width: 320px; }
.dc-audbub-eyebrow {
  margin: 0 0 10px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a75;
  line-height: 1.1;
}
.dc-audbub-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: var(--r-lg);
  background: #f5f1ed;
}
.dc-audbub-play {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: #9a6a55;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dc-audbub-glyph {
  font-size: var(--fs-12);
  line-height: 1;
  display: inline-block;
  /* triangular play glyph mass leans left; nudge right to optical centre */
  padding-left: 2px;
}
.dc-audbub-glyph-flawed { padding-left: 0; }
.dc-audbub-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}
.dc-audbub-wave span {
  flex: 1;
  background: #c4a490;
  border-radius: 1px;
}
.dc-audbub-wave span:nth-child(1)  { height: 30%; }
.dc-audbub-wave span:nth-child(2)  { height: 55%; }
.dc-audbub-wave span:nth-child(3)  { height: 75%; }
.dc-audbub-wave span:nth-child(4)  { height: 45%; }
.dc-audbub-wave span:nth-child(5)  { height: 90%; }
.dc-audbub-wave span:nth-child(6)  { height: 60%; }
.dc-audbub-wave span:nth-child(7)  { height: 35%; }
.dc-audbub-wave span:nth-child(8)  { height: 70%; }
.dc-audbub-wave span:nth-child(9)  { height: 50%; }
.dc-audbub-wave span:nth-child(10) { height: 85%; }
.dc-audbub-wave span:nth-child(11) { height: 40%; }
.dc-audbub-wave span:nth-child(12) { height: 65%; }
.dc-audbub-wave span:nth-child(13) { height: 30%; }
.dc-audbub-wave span:nth-child(14) { height: 55%; }
.dc-audbub-wave span:nth-child(15) { height: 80%; }
.dc-audbub-wave span:nth-child(16) { height: 35%; }
.dc-audbub-wave span:nth-child(17) { height: 70%; }
.dc-audbub-wave span:nth-child(18) { height: 25%; }
.dc-audbub-wave span:nth-child(19) { height: 50%; }
.dc-audbub-wave span:nth-child(20) { height: 30%; }
.dc-audbub-time {
  font-size: var(--fs-12);
  font-weight: 600;
  color: #5b5b56;
  line-height: 1;
  flex-shrink: 0;
}

:focus-visible {
  outline: none;
}