/* ==========================================================================
   AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
   Source of truth: src/theme-palette.mjs (run `npm run sync:theme` to update)
   ========================================================================== */

:root {
  --bg: #f4f6f9;
  --bg-elevated: #ffffff;
  --bg-subtle: #eaeff5;
  --bg-accent-soft: #eef5fc;
  --bg-prompt: #f2faf7;
  --bg-prompt-header: #e2f4ed;
  --surface-media: #070f1e;
  --surface-scrim: rgba(11, 19, 36, 0.58);
  --phone-bezel: #161d2a;
  --phone-bezel-border: #334155;
  --phone-hardware-bar: #64748b;
  --ink-strong: #0b1324;
  --ink-body: #1e293b;
  --ink-muted: #526075;
  --ink-faint: #7b8798;
  --ink-on-accent: #ffffff;
  --border: #dce3ec;
  --border-strong: #c2cfde;
  --brand: #0b4f8a;
  --brand-hover: #083b68;
  --brand-soft: #e0effc;
  --emerald: #0a6c54;
  --emerald-hover: #075340;
  --emerald-copied: #15803d;
  --emerald-border: #92d2c0;
  --slot-bg: #fef3c7;
  --slot-ink: #92400e;
  --badge-course-bg: #dcfce7;
  --badge-course-ink: #065f46;
  --badge-radar-bg: #fef3c7;
  --badge-radar-ink: #92400e;
  --badge-interview-bg: #dbeafe;
  --badge-interview-ink: #1e40af;
  --yt-red: #c81e1e;
  --yt-red-hover: #991b1b;
  --probe-accent: #0b4f8a;
  --probe-frame-fill: rgba(11, 79, 138, 0.10);
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 19, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 19, 36, 0.15);
  --shadow-phone: 0 24px 64px rgba(7, 15, 30, 0.36);
  --shadow-emerald: 0 2px 6px rgba(10, 108, 84, 0.22);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --container-max: 1160px;
  --reading-max: 780px;
}

[data-theme="dark"] {
  --bg: #090f1d;
  --bg-elevated: #111a2e;
  --bg-subtle: #18243d;
  --bg-accent-soft: #132644;
  --bg-prompt: #0d221e;
  --bg-prompt-header: #122e28;
  --surface-media: #050913;
  --surface-scrim: rgba(3, 7, 18, 0.76);
  --phone-bezel: #1e293b;
  --phone-bezel-border: #475569;
  --phone-hardware-bar: #64748b;
  --ink-strong: #f1f5f9;
  --ink-body: #cbd5e1;
  --ink-muted: #94a3b8;
  --ink-faint: #64748b;
  --ink-on-accent: #ffffff;
  --border: #1f2f4a;
  --border-strong: #2e4469;
  --brand: #38bdf8;
  --brand-hover: #7dd3fc;
  --brand-soft: #102c4a;
  --emerald: #10b981;
  --emerald-hover: #34d399;
  --emerald-copied: #22c55e;
  --emerald-border: #1d5b49;
  --slot-bg: #3b2e10;
  --slot-ink: #facc15;
  --badge-course-bg: #0f3529;
  --badge-course-ink: #6ee7b7;
  --badge-radar-bg: #3b290f;
  --badge-radar-ink: #fcd34d;
  --badge-interview-bg: #172b4d;
  --badge-interview-ink: #93c5fd;
  --yt-red: #ef4444;
  --yt-red-hover: #f87171;
  --probe-accent: #38bdf8;
  --probe-frame-fill: rgba(56, 189, 248, 0.14);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.56);
  --shadow-phone: 0 28px 72px rgba(0, 0, 0, 0.72);
  --shadow-emerald: 0 2px 8px rgba(16, 185, 129, 0.26);
}


/* ==========================================================================
   01-base-header.css — Reset, Base Typography, Sticky Header, Instant Search
   All colors strictly consume var(--...) from src/tokens.css
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html[data-mobile-model-active="1"] {
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-hover);
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 860px;
}

/* Sticky Top Header & Instant Search Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-elevated) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-link:hover {
  color: var(--ink-strong);
}

.brand-mark {
  min-width: 38px;
  height: 30px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--ink-strong);
  color: var(--bg-elevated);
  border: 1px solid var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding-left: 8px;
  border-left: 1px solid var(--border-strong);
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 410px;
}

.search-input-box {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 12px;
  height: 40px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.search-input-box:focus-within {
  background: var(--bg-elevated);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}

.search-icon {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-right: 8px;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ink-strong);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--ink-faint);
}

.search-kbd {
  font-size: 0.72rem;
  color: var(--ink-faint);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.search-clear {
  display: none;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 2px 4px;
  line-height: 1;
}

.search-clear.visible {
  display: inline-block;
}

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

.theme-toggle,
.header-mobile-btn {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover,
.header-mobile-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
  color: var(--ink-strong);
}

.header-mobile-btn[aria-pressed="true"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.yt-header-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--ink-strong);
  color: var(--bg-elevated);
  font-size: 0.83rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yt-header-btn:hover {
  opacity: 0.9;
  color: var(--bg-elevated);
}

/* Category Navigation Strip */
.nav-strip-wrap {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.nav-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 7px 0;
}

.nav-strip::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-pill:hover {
  background: var(--bg-subtle);
  color: var(--ink-strong);
}

.nav-pill.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

/* Search Results Dropdown */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: min(560px, calc(100vw - 24px));
  max-height: 74vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 200;
}

.search-dropdown.open {
  display: block;
}

.search-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 8px 4px;
}

.search-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  margin-bottom: 4px;
  color: var(--ink-body);
  transition: background 0.12s ease, border-color 0.12s ease;
}

.search-item:hover {
  background: var(--bg-subtle);
  border-color: var(--border);
  color: var(--ink-strong);
}

.search-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.search-item-title {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink-strong);
  line-height: 1.35;
}

.search-item-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-item-snippet {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-item mark {
  background: var(--slot-bg);
  color: var(--slot-ink);
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 700;
}

.search-empty {
  padding: 22px 14px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 8px 8px;
}

.search-chip {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--ink-body);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.search-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}


/* ==========================================================================
   02-home-cards.css — Hero, Spotlight, Badges, Cards Grid & Prompt Shelf
   All colors strictly consume var(--...) from src/tokens.css
   ========================================================================== */

.hero-section {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3.1vw, 2.35rem);
  line-height: 1.25;
  font-weight: 850;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
}

.hero-desc {
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  background: var(--emerald);
  color: var(--ink-on-accent);
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--emerald-hover);
  color: var(--ink-on-accent);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--ink-strong);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  color: var(--ink-strong);
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-spotlight {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.spotlight-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--ink-strong);
}

.spotlight-title a {
  color: inherit;
}

.spotlight-title a:hover {
  color: var(--brand);
}

.spotlight-points {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 0.87rem;
  color: var(--ink-body);
  line-height: 1.65;
}

.spotlight-points li {
  margin-bottom: 5px;
}

.spotlight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.spotlight-cta-link {
  font-weight: 800;
}

/* Badges & Section Blocks */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.badge-spaced {
  margin-bottom: 8px;
}

.badge-courses {
  background: var(--badge-course-bg);
  color: var(--badge-course-ink);
}

.badge-radar {
  background: var(--badge-radar-bg);
  color: var(--badge-radar-ink);
}

.badge-interviews {
  background: var(--badge-interview-bg);
  color: var(--badge-interview-ink);
}

.badge-prompt-count {
  background: var(--bg-prompt-header);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.main-section {
  padding: 32px 0;
}

.main-section + .main-section {
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
}

.section-title-lg {
  font-size: 1.75rem;
}

.section-sub {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.section-sub-spaced {
  margin-bottom: 24px;
}

.section-more {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Three Pillars Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.card-date {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.42;
  font-weight: 800;
  color: var(--ink-strong);
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--brand);
}

.card-excerpt {
  margin: 0 0 16px;
  font-size: 0.89rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.card-highlights {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--ink-body);
}

.card-highlights div + div {
  margin-top: 4px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  font-weight: 700;
}

/* Home Quick Copy SOP Shelf */
.prompt-shelf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prompt-shelf-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prompt-mini-card {
  background: var(--bg-elevated);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.prompt-mini-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.prompt-mini-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.4;
}

.prompt-mini-title a {
  color: inherit;
}

.prompt-mini-title a:hover {
  color: var(--brand);
}

.prompt-mini-preview {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: var(--bg-prompt);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-body);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

.prompt-mini-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.prompt-mini-link {
  font-size: 0.81rem;
  font-weight: 700;
}


/* ==========================================================================
   03a-article-prompt.css — Article Shell, YouTube Funnel & Prompt Copy Card
   All colors strictly consume var(--...) from src/tokens.css
   ========================================================================== */

.article-shell {
  padding: 26px 0 56px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading-max)) 280px;
  gap: 36px;
  align-items: start;
  justify-content: space-between;
}

.article-main {
  min-width: 0;
  max-width: 100%;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--ink-muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.article-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-text {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.article-h1 {
  margin: 0 0 12px;
  font-size: clamp(1.48rem, 2.8vw, 2.08rem);
  line-height: 1.32;
  font-weight: 850;
  color: var(--ink-strong);
  letter-spacing: -0.015em;
}

.article-lead-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--ink-body);
  line-height: 1.68;
}

.article-lead-box p {
  margin: 0;
}

.article-lead-box p + p {
  margin-top: 6px;
}

/* Companion YouTube Video & Bidirectional Funnel Card */
.yt-companion-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.yt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.yt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--yt-red);
  background: color-mix(in srgb, var(--yt-red) 10%, var(--bg-elevated));
  border: 1px solid color-mix(in srgb, var(--yt-red) 25%, transparent);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.yt-duration {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--ink-muted);
}

.yt-card-title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.4;
}

.yt-card-desc {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.yt-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-media);
  margin-bottom: 14px;
}

.yt-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.yt-chapter-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 0.81rem;
  color: var(--ink-body);
  line-height: 1.45;
}

.yt-time {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand);
  font-size: 0.76rem;
  flex-shrink: 0;
}

.yt-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-yt-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--yt-red);
  color: var(--ink-on-accent);
  font-size: 0.87rem;
  font-weight: 700;
}

.btn-yt-sub-full {
  width: 100%;
}

.btn-yt-sub:hover {
  background: var(--yt-red-hover);
  color: var(--ink-on-accent);
}

.btn-jump-prompts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-prompt-header);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
  font-size: 0.87rem;
  font-weight: 800;
}

.btn-jump-prompts:hover {
  background: var(--emerald);
  color: var(--ink-on-accent);
}

/* Signature High-Conversion Component: One-Click Copy Prompt Card */
.prompt-card {
  margin: 22px 0;
  border: 2px solid var(--emerald-border);
  border-radius: var(--radius-md);
  background: var(--bg-prompt);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: 124px;
}

.prompt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-prompt-header);
  border-bottom: 1px solid var(--emerald-border);
}

.prompt-card-info {
  min-width: 0;
}

.prompt-card-eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: 0.02em;
}

.prompt-card-title {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.35;
  margin-top: 2px;
}

.copy-prompt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--emerald);
  color: var(--ink-on-accent);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-emerald);
  transition: background 0.15s ease, transform 0.08s ease;
  touch-action: manipulation;
}

.copy-prompt-btn-sm {
  min-height: 40px;
  padding: 6px 14px;
  font-size: 0.84rem;
}

.copy-prompt-btn-xs {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.78rem;
}

.copy-prompt-btn:hover {
  background: var(--emerald-hover);
}

.copy-prompt-btn:active {
  transform: scale(0.98);
}

.copy-prompt-btn.copied {
  background: var(--emerald-copied);
}

.prompt-pre {
  margin: 0;
  padding: 16px;
  overflow-x: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-strong);
  background: var(--bg-prompt);
}

.prompt-slot {
  background: var(--slot-bg);
  color: var(--slot-ink);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}

.prompt-card-foot {
  padding: 8px 16px;
  border-top: 1px dashed var(--emerald-border);
  font-size: 0.78rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.prompt-card-foot-link {
  font-weight: 700;
}

.code-block-wrap {
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  overflow: hidden;
}

.code-block-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.code-pre {
  margin: 0;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-strong);
}


/* ==========================================================================
   03b-prose-sidebar.css — Editorial Prose, Tables, Sticky Sidebar & Mobile TOC
   All colors strictly consume var(--...) from src/tokens.css
   ========================================================================== */

.prose {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-body);
  min-width: 0;
}

.prose h2 {
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  font-size: 1.36rem;
  line-height: 1.38;
  font-weight: 850;
  color: var(--ink-strong);
  scroll-margin-top: 124px;
}

.prose h3 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
  line-height: 1.42;
  font-weight: 800;
  color: var(--ink-strong);
  scroll-margin-top: 124px;
}

.prose h4 {
  margin: 20px 0 8px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 800;
  color: var(--brand);
}

.prose p {
  margin: 0 0 14px;
}

.prose strong {
  color: var(--ink-strong);
  font-weight: 750;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 7px;
}

.prose li > ul,
.prose li > ol {
  margin-top: 6px;
  margin-bottom: 6px;
}

.prose code:not(pre code) {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--ink-strong);
  word-break: break-word;
}

.prose blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  background: var(--bg-accent-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-body);
  font-size: 0.94rem;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  -webkit-overflow-scrolling: touch;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.55;
  min-width: 520px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prose th {
  background: var(--bg-subtle);
  color: var(--ink-strong);
  font-weight: 800;
  white-space: nowrap;
}

.prose tr:last-child td {
  border-bottom: none;
}

/* Sidebar Sticky TOC & Channel Funnel Box */
.article-sidebar {
  position: sticky;
  top: 124px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.sidebar-card-prompt {
  border-color: var(--emerald-border);
  background: var(--bg-prompt);
}

.sidebar-heading {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink-strong);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar-heading-emerald {
  color: var(--emerald);
}

.sidebar-note {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 52vh;
  overflow-y: auto;
}

.toc-list li {
  margin-bottom: 6px;
}

.toc-link {
  display: block;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--ink-muted);
  padding: 3px 0;
}

.toc-link-strong {
  color: var(--ink-strong);
  font-weight: 700;
}

.toc-link:hover {
  color: var(--brand);
}

.toc-link.toc-h3 {
  padding-left: 12px;
  font-size: 0.79rem;
}

.mobile-toc {
  display: none;
  margin-bottom: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.mobile-toc summary {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink-strong);
  cursor: pointer;
}

.mobile-toc ul {
  margin: 10px 0 4px;
  padding-left: 18px;
}

.mobile-toc li {
  margin-bottom: 6px;
  font-size: 0.86rem;
}

.related-section {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 2px solid var(--border);
}


/* ==========================================================================
   04-footer-probe-mobile.css — Site Footer, Code Probe (Alt+Shift+C),
   Silent Version Status & 1:1 Mobile Model Overlay (390×844)
   All colors strictly consume var(--...) from src/tokens.css
   ========================================================================== */

.site-footer {
  margin-top: 48px;
  padding: 32px 0 26px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand-title {
  color: var(--ink-strong);
  font-size: 0.96rem;
}

.footer-brand-desc {
  margin: 6px 0 0;
  max-width: 540px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand);
}

/* Standard Utility Bar: Mobile 1:1 Switcher + Build Version + Code Probe */
.footer-utility-bar {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.79rem;
}

.footer-utility-left,
.footer-utility-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-mobile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--ink-strong);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-mobile-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-elevated);
}

.footer-mobile-btn[aria-pressed="true"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.site-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-faint);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.site-update-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--emerald-border);
  background: var(--bg-prompt-header);
  color: var(--emerald);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.site-update-pill[hidden] {
  display: none !important;
}

.site-update-pill:hover {
  background: var(--emerald);
  color: var(--ink-on-accent);
}

/* ① Code Probe Button (Alt+Shift+C): Admin prominent, Visitor muted ALWAYS VISIBLE */
.cx-code-probe-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.cx-code-probe-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Visitor tier: low-saturation muted & permanently visible (NEVER display:none) */
.cx-code-probe-btn[data-cx-probe-tier="muted"]:not([aria-pressed="true"]) {
  border-color: transparent;
  background: transparent;
  color: var(--ink-faint);
  opacity: 0.48;
  font-weight: 500;
}

.cx-code-probe-btn[data-cx-probe-tier="muted"]:not([aria-pressed="true"]):hover {
  opacity: 0.86;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border-color: var(--border);
}

.cx-code-probe-btn[data-cx-probe-tier="admin"]:not([aria-pressed="true"]):hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--bg-elevated);
}

.cx-code-probe-btn[aria-pressed="true"] {
  opacity: 1;
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
}

html[data-cx-code-probe="1"],
html[data-cx-code-probe="1"] * {
  cursor: crosshair !important;
}

.cx-code-probe-frame {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  border: 2px solid var(--probe-accent);
  border-radius: 6px;
  background: var(--probe-frame-fill);
}

.cx-code-probe-hud {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  max-width: min(520px, calc(100vw - 24px));
  padding: 8px 11px;
  border: 1px solid var(--probe-accent);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--ink-strong);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.48;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cx-code-probe-hud[hidden],
.cx-code-probe-frame[hidden] {
  display: none !important;
}

.cx-code-probe-hud-title {
  font-weight: 800;
  color: var(--brand);
  word-break: break-word;
}

.cx-code-probe-hud-src {
  color: var(--ink-body);
  word-break: break-all;
}

.cx-code-probe-hud-hint {
  color: var(--ink-faint);
  font-size: 10.5px;
}

/* ③ 1:1 Mobile Model Overlay (390 × 844) */
.mobile-model-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 16px 14px;
  background: var(--surface-scrim);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.mobile-model-overlay[hidden] {
  display: none !important;
}

.mobile-model-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(820px, 100%);
  min-height: 44px;
  padding: 6px 10px 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
}

.mobile-model-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mobile-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.mobile-model-route {
  font-size: 0.8rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-model-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.mobile-model-exit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--ink-strong);
  color: var(--bg-elevated);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.mobile-model-exit:hover {
  opacity: 0.9;
}

.mobile-model-stage {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.mobile-model-shell {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 414px;
  height: 896px;
  padding: 12px 12px 14px;
  border: 2px solid var(--phone-bezel-border);
  border-radius: 44px;
  background: var(--phone-bezel);
  box-shadow: var(--shadow-phone);
  transform-origin: center center;
}

@media (max-height: 980px) {
  .mobile-model-shell { transform: scale(0.90); }
}
@media (max-height: 910px) {
  .mobile-model-shell { transform: scale(0.84); }
}
@media (max-height: 840px) {
  .mobile-model-shell { transform: scale(0.77); }
}
@media (max-height: 770px) {
  .mobile-model-shell { transform: scale(0.70); }
}
@media (max-height: 700px) {
  .mobile-model-shell { transform: scale(0.62); }
}

.mobile-model-earpiece {
  flex: none;
  width: 78px;
  height: 5px;
  margin: 1px auto 9px;
  border-radius: var(--radius-pill);
  background: var(--phone-hardware-bar);
}

.mobile-model-screen {
  position: relative;
  width: 390px;
  height: 844px;
  flex: none;
  border-radius: 32px;
  background: var(--bg);
  overflow: hidden;
}

.mobile-model-iframe {
  display: block;
  width: 390px;
  height: 844px;
  border: 0;
  background: var(--bg);
}

.mobile-model-homebar {
  flex: none;
  width: 124px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: var(--radius-pill);
  background: var(--phone-hardware-bar);
}

/* Copy Toast Notification */
.copy-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--emerald-copied);
  color: var(--ink-on-accent);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10000;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ==========================================================================
   05-responsive.css — Tablet, Mobile Embed Suppression & 390px Android Rules
   ========================================================================== */

/* Hide desktop->mobile 1:1 switcher on narrow screens (<=768px) or inside mobile iframe */
@media (max-width: 768px) {
  .header-mobile-btn,
  .footer-mobile-btn,
  .mobile-model-overlay {
    display: none !important;
  }
}

html[data-mobile-embed="1"] .header-mobile-btn,
html[data-mobile-embed="1"] .footer-mobile-btn,
html[data-mobile-embed="1"] .mobile-model-overlay {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid-2,
  .prompt-shelf-grid,
  .prompt-shelf-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-sidebar {
    display: none;
  }

  .mobile-toc {
    display: block;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }

  .header-top {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .brand-sub,
  .yt-header-btn,
  .search-kbd {
    display: none;
  }

  .search-wrapper {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .search-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }

  .theme-toggle span.theme-label {
    font-size: 0.8rem;
  }

  .hero-section {
    padding: 22px 0 20px;
  }

  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: 100%;
  }

  .yt-chapters {
    grid-template-columns: minmax(0, 1fr);
  }

  .yt-card-actions a {
    width: 100%;
  }

  .prompt-card,
  .prose h2,
  .prose h3 {
    scroll-margin-top: 166px;
  }

  /* Thumb-friendly full-width copy button on mobile (390px Android) */
  .prompt-card-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .copy-prompt-btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.94rem;
  }

  .prompt-pre {
    padding: 14px;
    font-size: 0.88rem;
    line-height: 1.68;
  }

  .prose {
    font-size: 1rem;
    line-height: 1.76;
  }

  .prose h2 {
    font-size: 1.24rem;
    margin-top: 28px;
  }

  .prose h3 {
    font-size: 1.08rem;
  }

  .footer-utility-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
