@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Caveat+Brush&family=Handlee&display=swap');

:root {
  --bg-warm: #f2ece4;
  --bg-card: #faf7f2;
  --bg-dark-block: #2a2520;
  --bg-dark-surface: #363028;
  --border: #ddd5c8;
  --border-light: #e8e2d8;

  --text-dark: #2a2520;
  --text-body: #4a4540;
  --text-quiet: #8a8480;
  --text-on-dark: #e8e2da;

  --accent-ember: #c47040;
  --accent-ember-light: #d88050;
  --accent-deep: #6a4a38;
  --accent-teal: #3a8a7a;
  --accent-turmeric: #8a5a40;

  --radius: 8px;
}

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

body {
  background: var(--bg-warm);
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.7;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

a { color: var(--accent-ember); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-ember-light); }

::selection { background: var(--accent-ember); color: #fff; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-warm); }
::-webkit-scrollbar-thumb { background: rgba(138,90,64,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(138,90,64,0.5); }

/* ========== NAV ========== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 24px;
  background: rgba(242,236,228,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--accent-ember);
  text-decoration: none;
}
.nav-brand:hover { color: var(--accent-ember-light); }
.nav-clock {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 10px; color: var(--text-quiet); opacity: 0.45;
  font-variant-numeric: tabular-nums; letter-spacing: 0.06em;
}

/* ---- PAGE TRANSITIONS ---- */
@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-fade-in 0.4s ease; }
body.page-leaving { opacity: 0; transition: opacity 0.25s ease; }

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-quiet);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-ember); }
.nav-links a.active { color: var(--accent-ember); }

.nav-decl { position: relative; }
.nav-decl-dot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-ember);
}

/* ========== HERO ========== */
.hero {
  background: var(--bg-card);
  padding: 52px 40px 36px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-handle {
  font-family: 'Libre Baskerville', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-quiet);
  margin-top: 8px;
  line-height: 1.6;
}
.hero-sub strong { color: var(--text-body); font-weight: 600; }
.hero-sub em { color: var(--text-body); }

.hero-bio {
  font-size: 15px;
  color: var(--text-quiet);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lorebook .hero-sub { max-width: 600px; margin-left: auto; margin-right: auto; }

/* ========== PAGE WRAP ========== */
.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 32px 60px;
}
.page-wrap.wide { max-width: 1100px; }

/* ========== SECTIONS ========== */
.section {
  margin-bottom: 48px;
  position: relative;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--accent-ember);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-content {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 60ch;
}
.section-content p { margin-bottom: 14px; }
.section-content p:last-child { margin-bottom: 0; }

/* ========== ASIDE BLOCK ========== */
.aside-block {
  background: #ffffff;
  border-left: 3px solid var(--accent-teal);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-top: 16px;
}
.aside-block em { font-style: italic; color: var(--text-quiet); }

/* ========== STATUS BLOCK ========== */
.status-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 20px;
  margin-bottom: 36px;
}

.status-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(196,112,64,0.1);
  color: var(--accent-ember);
  padding: 2px 10px;
  border-radius: 12px;
  flex-shrink: 0;
}

.status-text { font-size: 15px; color: var(--text-body); }
.status-date { font-size: 13px; color: var(--text-quiet); text-decoration: none; flex-shrink: 0; }
.status-date:hover { color: var(--accent-ember); }

/* ========== PRINCIPLES GRID ========== */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.principle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.principle-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  color: var(--text-dark);
  font-weight: 600;
}

.principle-sub {
  font-size: 13px;
  color: var(--text-quiet);
  display: block;
  margin: 2px 0 8px;
}

.principle-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ========== PAGE NAV GRID ========== */
.page-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.page-nav-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.page-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: rgba(196,112,64,0.3);
}

.page-nav-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.page-nav-card-desc {
  font-size: 14px;
  color: var(--text-quiet);
  line-height: 1.5;
}

/* ========== DECLARATION BLOCKS ========== */
.decl-block {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--accent-ember);
  margin-bottom: 28px;
}

.decl-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.decl-text {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.85;
  max-width: 60ch;
  margin-bottom: 12px;
}
.decl-text:last-child { margin-bottom: 0; }

/* ========== TAGS ========== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-size: 14px;
  padding: 4px 14px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-body);
  display: inline-block;
}

.tag.core {
  background: rgba(196,112,64,0.08);
  border-color: rgba(196,112,64,0.2);
  color: var(--accent-ember);
  font-weight: 500;
}

/* ========== ACCORDION ========== */
.accordion { margin-bottom: 20px; }
.accordion summary {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: '+ '; color: var(--accent-ember); margin-right: 8px; font-weight: 700; }
.accordion[open] summary::before { content: '- '; }
.accordion[open] summary { border-radius: var(--radius) var(--radius) 0 0; }

.accordion-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px 24px;
}

.cook-item { padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.cook-item:last-child { border-bottom: none; }
.cook-name { font-weight: 600; color: var(--text-dark); font-size: 16px; }
.cook-type { font-size: 13px; color: var(--text-quiet); margin-left: 8px; }
.cook-notes { font-size: 14px; color: var(--text-body); margin-top: 4px; line-height: 1.6; }

/* ========== BOT LIST ========== */
.bot-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.bot-list-entry { border-bottom: 1px solid var(--border-light); }
.bot-list-entry:last-child { border-bottom: none; }

.bot-list-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s;
}
.bot-list-item::-webkit-details-marker { display: none; }
.bot-list-item:hover { background: #f5f0ea; }

.bot-list-thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }

.bot-list-name { font-weight: 600; font-size: 16px; color: var(--text-dark); }
.bot-list-meta { font-size: 13px; color: var(--text-quiet); margin-top: 2px; }
.bot-list-date { font-size: 13px; color: var(--text-quiet); }

.bot-detail {
  padding: 20px;
  background: #f5f0ea;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
}

.bot-detail-img { width: 180px; border-radius: var(--radius); }
.bot-detail-name { font-family: 'Libre Baskerville', serif; font-size: 22px; color: var(--text-dark); font-weight: 700; }
.bot-detail-type { font-size: 13px; color: var(--text-quiet); margin: 4px 0 10px; }

.bot-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bot-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(196,112,64,0.08);
  color: var(--accent-deep);
  border: 1px solid rgba(196,112,64,0.2);
}

.bot-detail-story { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 12px; }
.bot-detail-date { font-size: 13px; color: var(--text-quiet); margin-bottom: 8px; }
.bot-detail-link { font-size: 14px; font-weight: 600; color: var(--accent-ember); }
.bot-detail-link:hover { color: var(--accent-ember-light); }

/* ========== ENGINE ACCORDION ========== */
.engine-accordion { margin-bottom: 12px; }
.engine-accordion summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}
.engine-accordion summary::-webkit-details-marker { display: none; }
.engine-accordion[open] summary { border-radius: var(--radius) var(--radius) 0 0; }

.engine-num { font-size: 12px; text-transform: uppercase; color: var(--text-quiet); font-weight: 600; }
.engine-name { font-family: 'Libre Baskerville', serif; font-size: 18px; color: var(--text-dark); font-weight: 600; }
.engine-arrow { font-size: 12px; color: var(--text-quiet); transition: transform 0.2s; }
.engine-accordion[open] .engine-arrow { transform: rotate(180deg); }

.engine-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px;
}

.engine-subtitle { font-size: 14px; color: var(--text-quiet); font-style: italic; margin-bottom: 12px; }

.engine-item { margin-bottom: 14px; }
.engine-item:last-child { margin-bottom: 0; }
.engine-item-title { font-size: 16px; color: var(--accent-ember); font-weight: 600; }
.engine-item-desc { font-size: 16px; color: var(--text-body); line-height: 1.7; }

/* ========== TRACK CARDS ========== */
.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.track-art {
  width: 80px;
  height: 80px;
  background: #e8e0d4;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
}

.track-art-genre {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 10px;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

.track-info { flex: 1; min-width: 0; }

.track-title {
  font-family: 'Caveat Brush', cursive;
  font-size: 26px;
  color: var(--text-dark);
  line-height: 1.3;
  display: block;
}
a.track-title { text-decoration: none; }
a.track-title:hover { color: var(--accent-ember); }

.track-desc {
  font-size: 14px;
  color: var(--text-quiet);
  line-height: 1.5;
  margin-top: 4px;
}

.track-lyrics { margin-top: 8px; }
.track-lyrics summary {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-quiet);
  cursor: pointer;
  list-style: none;
  display: inline-block;
}
.track-lyrics summary::-webkit-details-marker { display: none; }
.track-lyrics summary::after { content: ' \25BE'; }
.track-lyrics[open] summary::after { content: ' \25B4'; }

.track-lyrics-body {
  font-family: 'Handlee', cursive;
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.8;
  padding: 16px 0;
  white-space: pre-line;
  font-style: normal;
}

.track-lyrics-close {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-quiet);
  cursor: pointer;
  text-align: right;
  margin-top: 8px;
}

/* ========== GOALS COLLAPSIBLE ========== */
.goals-collapsible summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}
.goals-collapsible summary::-webkit-details-marker { display: none; }
.goals-collapsible summary::after { content: ' \25BE'; color: var(--text-quiet); font-size: 12px; }
.goals-collapsible[open] summary::after { content: ' \25B4'; }
.goals-collapsible[open] summary { border-radius: var(--radius) var(--radius) 0 0; }

.goals-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px 24px;
}

.goal-item { padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.goal-item:last-child { border-bottom: none; }
.goal-title { font-weight: 600; font-size: 16px; color: var(--text-dark); }
.goal-status { font-size: 12px; color: var(--text-quiet); margin-left: 8px; }
.goal-desc { font-size: 15px; color: var(--text-body); line-height: 1.65; margin-top: 4px; }

/* ========== RESOURCE / NOTE / QUOTE / DANGER BOXES ========== */
.resource-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.resource-box h4 { font-size: 16px; color: var(--text-dark); font-weight: 600; margin-bottom: 12px; }
.resource-list { padding-left: 20px; }
.resource-list li { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 10px; }
.resource-list li:last-child { margin-bottom: 0; }
.resource-list li a { font-weight: 500; }

.note-box {
  background: rgba(196,112,64,0.06);
  border: 1px solid rgba(196,112,64,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.quote-box {
  background: rgba(58,138,122,0.06);
  border: 1px solid rgba(58,138,122,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.danger-box {
  background: rgba(255,99,71,0.08);
  border: 1px solid rgba(255,99,71,0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.accent { color: var(--accent-ember); }

/* ========== LINK PILLS ========== */
.link-group { margin-top: 8px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; }

.link-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.link-pill:hover { border-color: var(--accent-ember); color: var(--accent-ember); }

.link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-ember);
  opacity: 0.5;
}

/* ========== DIARY / UPDATE ENTRIES ========== */
.diary-entry { margin-bottom: 10px; }
.diary-entry a { font-size: 16px; font-weight: 500; }

.update-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.update-entry:last-child { border-bottom: none; }
.update-date { font-size: 13px; color: var(--text-quiet); font-weight: 600; }
.update-text { font-size: 16px; color: var(--text-body); line-height: 1.65; margin-top: 4px; }

/* ========== FOOTER ========== */
.site-footer {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 36px;
  font-size: 13px;
  color: var(--text-quiet);
}

/* ========== CREATOR NOTE (Caveat Brush annotations) ========== */
.creator-note {
  font-family: 'Caveat Brush', cursive;
  font-size: 16px;
  color: var(--text-quiet);
  opacity: 0.6;
  margin: 8px 0;
  transform: rotate(-1deg);
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--accent-turmeric) 50%, var(--border) 80%, transparent);
  opacity: 0.35;
  margin: 40px 0;
}

/* ========== METADATA EDGE SIGNATURES ========== */
.meta-sig {
  position: absolute;
  font-size: 10px;
  color: var(--text-quiet);
  opacity: 0.3;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}
.meta-sig.top-right { top: 8px; right: 12px; }
.meta-sig.bottom-left { bottom: 8px; left: 12px; }

/* ========== TURMERIC HOVER UNDERLINE ========== */
.section-content a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-turmeric);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  body { font-size: 18px; }
  .hero-handle { font-size: 28px; }
  .top-nav { height: 48px; padding: 0 16px; }
  .nav-links a { font-size: 11px; }
  .nav-links { gap: 12px; }
  .principles-grid { grid-template-columns: 1fr; }
  .bot-detail { grid-template-columns: 1fr; }
  .bot-detail-img { width: 100%; max-width: 200px; }
  .page-nav-grid { grid-template-columns: 1fr 1fr; }
  .page-wrap { padding: 24px 16px 48px; }
  .hero { padding: 36px 20px 28px; }
  .decl-block { padding: 20px 20px; }
}

/* ========== CHAT LOG (thinking.html) ========== */

.chat-entry {
  margin-bottom: 32px;
}

.chat-article {
  margin-bottom: 64px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}
.chat-article:last-child { border-bottom: none; }

.chat-metadata {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.chat-meta-date { font-size: 13px; color: var(--text-quiet); margin-bottom: 4px; }
.chat-meta-question { font-size: 17px; color: var(--text-dark); font-weight: 600; margin-bottom: 4px; font-family: 'Libre Baskerville', Georgia, serif; }
.chat-meta-conclusion {
  font-size: 15px; color: var(--accent-ember);
  font-weight: 600; margin-top: 8px; padding: 6px 12px;
  background: rgba(196,112,64,0.06);
  border-radius: 4px; display: inline-block;
}

.chat-msg {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-bottom: 20px;
  max-width: 60ch;
}
.chat-msg.llm {
  margin-left: auto;
  margin-right: 0;
}

.chat-speaker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
  white-space: nowrap;
}
.chat-speaker.jun { color: var(--accent-ember); }
.chat-speaker.gemini { color: var(--accent-teal); }
.chat-speaker.gpt { color: #7a8a5a; }
.chat-speaker.claude { color: #8a7ab0; }

.chat-body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
}
.chat-body p { margin-bottom: 12px; }
.chat-body strong { color: var(--text-dark); }
.chat-body em { font-style: italic; }
.chat-body blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}
.chat-body code {
  background: var(--bg-card);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 14px;
  font-family: 'JetBrains Mono', Consolas, monospace;
}
.chat-body .condensed-note {
  font-size: 11px;
  color: var(--text-quiet);
  opacity: 0.6;
  font-style: italic;
}

.chat-virus-example {
  margin: 12px 0;
  padding: 14px 18px;
  background: rgba(58,138,122,0.04);
  border: 1px solid rgba(58,138,122,0.12);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}
.chat-virus-example strong { color: var(--accent-teal); }
