/* Unified CSS System - Typography-Based Text Enrichment */
/* Replaces the old sentiment-based theme system with 16 typography effect classes */
/* ADHD-friendly, accessible, theme-independent design */

/* ============ Global Reading Comfort ============ */
body {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #222;
  background-color: #ffffff;
}

/* ============ Typography Effect Classes (16 total) ============ */

/* Emotional Expression */
.emotion-italics { font-style: italic; }
.emotion-bold { font-weight: 700; }
.small-caps {
  font-variant: small-caps;
  letter-spacing: 0.5px;
}
.drop-cap::first-letter {
  float: left;
  font-size: 2.8em;
  font-weight: 600;
  line-height: 0.8;
  margin-right: 0.1em;
}

/* Highlighting & Emphasis */
.highlight {
  background-color: rgba(255, 255, 0, 0.15);
  padding: 0 2px;
  border-radius: 2px;
}
.spaced { letter-spacing: 0.15em; }
.wide-words { word-spacing: 0.8em; }  /* Reduced from 1.2em based on POC feedback */
.mono {
  font-family: "Courier New", Courier, monospace;
}

/* Visual Hierarchy */
.underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.muted { color: #666666; }
.faint { opacity: 0.6; }
.heavy { font-weight: 800; }

/* Special Effects */
.raised {
  position: relative;
  top: -2px;
  font-size: 0.9em;
}
.lowered {
  position: relative;
  top: 2px;
  font-size: 0.9em;
}
.pause-emdash { word-spacing: 0.1em; }
.soft-repeat { opacity: 0.85; }

/* ============ Character Names ============ */
.character-name {
  font-variant: small-caps;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #222222;
}

/* ============ Soft Horizontal Rule ============ */
hr {
  border: none;
  height: 1px;
  background: #e2e2e2;
  margin: 1.5em 0;
}

/* ============ Minimal Links ============ */
a {
  color: #444;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover, a:focus {
  text-decoration-thickness: 1.5px;
}
