:root {
  --bg: #05070f;
  --card: rgba(20, 25, 46, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --green: #31d47a;
  --text: #e7ecff;
  --muted: #9aa6d1;
}

body {
  background: var(--bg);
}

.notes-back-link {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 60;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(9, 14, 28, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #7dd3fc;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
}

.notes-back-link:hover {
  background: rgba(14, 22, 42, 0.95);
  color: #bae6fd;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal p,
.reveal label {
  color: var(--text);
  font-family: Inter, "SF Pro Display", "Segoe UI", sans-serif;
}

.hero-title {
  font-size: 3rem;
  text-shadow: 0 0 22px rgba(49, 212, 122, 0.33);
}

.hero-subtitle {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.chip-row {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.32rem 0.9rem;
  font-size: 0.75rem;
  color: #d8e2ff;
  background: rgba(255, 255, 255, 0.04);
}

.chip--accent {
  border-color: rgba(49, 212, 122, 0.6);
  color: var(--green);
  background: rgba(49, 212, 122, 0.08);
  font-weight: 600;
}

/* DCA 75/25 slide */
.dca-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
  max-width: 920px;
  margin: 0 auto 1rem;
}

.dca-tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem;
  text-align: left;
}

.dca-tier--core {
  border-color: rgba(49, 212, 122, 0.55);
}

.dca-tier--satellite {
  border-color: rgba(102, 185, 255, 0.55);
}

.dca-tier--opportunistic {
  border-color: rgba(255, 179, 71, 0.55);
}

.dca-tier-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.dca-tier-head h4 {
  margin: 0;
  font-size: 0.85rem;
}

.dca-pct {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}

.dca-tier--satellite .dca-pct {
  color: #66b9ff;
}

.dca-tier--opportunistic .dca-pct {
  color: #ffb347;
}

.scan-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto 0.75rem;
}

.scan-controls label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.65rem;
  text-align: left;
}

.scan-controls select,
.scan-controls input,
.scan-controls button {
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  background: rgba(20, 25, 46, 0.95);
  color: var(--text);
  font: inherit;
}

.scan-controls button {
  border-color: rgba(49, 212, 122, 0.55);
  background: rgba(49, 212, 122, 0.14);
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.scan-controls button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.weekly-plan {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.plan-summary {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #cfdaff;
  font-size: 0.72rem;
  margin-bottom: 0.65rem;
}

.weekly-plan h4 {
  color: #b8c7f5;
  font-size: 0.72rem;
  margin: 0.65rem 0 0.35rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem;
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem;
  background: var(--card);
}

.plan-card--core {
  border-color: rgba(49, 212, 122, 0.4);
}

.plan-card--tactical {
  border-color: rgba(255, 179, 71, 0.45);
}

.plan-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.7rem;
}

.plan-card p,
.plan-card small {
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.4;
  margin: 0.3rem 0 0;
}

.plan-card .plan-amount {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-card .plan-levels {
  color: #ffcf87;
}

.plan-disclaimer {
  color: var(--muted);
  font-size: 0.58rem;
  margin-top: 0.65rem;
}

.dca-tier-amount {
  margin: 0 0 0.45rem !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  color: #e7ecff !important;
}

.dca-tier-body {
  margin: 0 !important;
  font-size: 0.68rem !important;
  line-height: 1.55 !important;
  color: var(--muted) !important;
}

.dca-alpha-box {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(245, 215, 110, 0.06);
  border: 1px solid rgba(245, 215, 110, 0.35);
  border-radius: 16px;
  padding: 0.85rem;
  text-align: left;
}

.dca-alpha-box h4 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #f5d76e;
}

.dca-alpha-box p {
  margin: 0 0 0.35rem !important;
  font-size: 0.74rem !important;
  line-height: 1.5 !important;
  color: #cfdaff !important;
}

.dca-alpha-projection {
  color: var(--green) !important;
  font-weight: 600;
}

.compare-table .alpha-pos {
  color: var(--green);
  font-weight: 600;
}

.compare-table .alpha-neg {
  color: #ff7a7a;
  font-weight: 600;
}

/* Autoresearch Lab slide */
.ar-strategy-def {
  max-width: 920px;
  margin: 0 auto 0.85rem;
  text-align: left;
}

.ar-strategy-mission {
  background: rgba(49, 212, 122, 0.06);
  border: 1px solid rgba(49, 212, 122, 0.35);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
}

.ar-strategy-mission h3 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--green);
}

.ar-strategy-mission p {
  margin: 0 0 0.4rem !important;
  font-size: 0.72rem !important;
  line-height: 1.5 !important;
  color: #cfdaff !important;
}

.ar-strategy-mission p:last-child {
  margin-bottom: 0 !important;
}

.ar-strategy-card--steps {
  margin-bottom: 0.75rem;
}

.ar-steps {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.68rem;
  line-height: 1.55;
  color: #cfdaff;
}

.ar-steps li {
  margin-bottom: 0.35rem;
}

.ar-example-pick {
  background: rgba(102, 185, 255, 0.08);
  border: 1px solid rgba(102, 185, 255, 0.35);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  color: #cfdaff;
  line-height: 1.5;
}

.ar-example-pick p {
  margin: 0.25rem 0 0 !important;
}

.ar-ticker-picks {
  color: var(--green);
  font-weight: 700;
}

.ar-example-note {
  color: var(--muted) !important;
  font-size: 0.65rem !important;
}

.ar-strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.ar-strategy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}

.ar-strategy-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  color: #b8c7f5;
  font-weight: 600;
}

.ar-strategy-card p,
.ar-strategy-card li {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.45;
  color: var(--muted);
}

.ar-strategy-card ul {
  margin: 0;
  padding-left: 1rem;
}

.ar-strategy-card .ar-formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  color: #e7ecff;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  margin-top: 0.35rem;
}

.ar-strategy-card--agents {
  grid-column: 1 / -1;
}

.ar-agent-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.ar-agent-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
}

.ar-agent-chip strong {
  display: block;
  font-size: 0.68rem;
  color: #e7ecff;
  margin-bottom: 0.25rem;
}

.ar-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.55rem;
  max-width: 920px;
  margin: 0 auto 0.85rem;
}

.ar-metric-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem 0.55rem;
  text-align: left;
}

.ar-metric-card h5 {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ar-metric-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
}

.ar-metric-card p.neg {
  color: #ff7a7a;
}

.ar-metric-card p.gold {
  color: #f5d76e;
}

.mu-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto 0.75rem;
}

.mu-explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.55rem;
  max-width: 920px;
  margin: 0 auto 0.75rem;
}

.mu-explainer-card {
  text-align: left;
  background: rgba(12, 18, 36, 0.65);
  border: 1px solid rgba(102, 185, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}

.mu-explainer-card h5 {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b8c7f5;
}

.mu-explainer-card p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #cfdaff;
}

.mu-ticker-table {
  max-width: 920px;
  margin: 0 auto 0.75rem;
  overflow-x: auto;
}

.mu-tips {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.mu-tip {
  background: rgba(12, 18, 36, 0.55);
  border-left: 3px solid rgba(102, 185, 255, 0.4);
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.45rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.74rem;
}

.mu-tip--high {
  border-left-color: #ff7a7a;
}

.mu-tip--medium {
  border-left-color: #ffb347;
}

.mu-tip strong {
  display: block;
  color: #e8eeff;
  margin-bottom: 0.2rem;
}

.mu-tip p {
  margin: 0;
  color: #9db0e7;
  line-height: 1.45;
}

.ar-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto 0.85rem;
}

.ar-chart-block {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem 0.65rem 0.35rem;
  text-align: left;
}

.ar-chart-block h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  color: #b8c7f5;
  font-weight: 600;
}

.ar-chart-block canvas {
  width: 100% !important;
  height: auto !important;
  border: none;
  background: transparent;
  padding: 0;
}

.ar-period-table,
.ar-experiment-log {
  max-width: 920px;
  margin: 0 auto 0.75rem;
  overflow-x: auto;
}

.ar-experiment-log .compare-table {
  font-size: 0.68rem;
}

.pt-section-title {
  font-size: 0.78rem;
  color: #b8c7f5;
  margin: 0.9rem auto 0.45rem;
  max-width: 920px;
  text-align: left;
}

.pt-open-positions,
.pt-executions,
.pt-closed-trades {
  max-width: 920px;
  margin: 0 auto;
}

.pt-position-card,
.pt-exec-card {
  text-align: left;
  background: rgba(12, 18, 36, 0.75);
  border: 1px solid rgba(102, 185, 255, 0.18);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.55rem;
  font-size: 0.74rem;
  color: #cfdaff;
}

.pt-position-card header,
.pt-exec-card header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
}

.pt-exec-action {
  background: rgba(49, 212, 122, 0.2);
  color: #31d47a;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pt-exec-card--stop .pt-exec-action,
.pt-exec-card--hold_expired .pt-exec-action {
  background: rgba(255, 122, 122, 0.2);
  color: #ff7a7a;
}

.pt-conviction {
  color: #f5d76e;
  font-size: 0.68rem;
}

.pt-rationale,
.pt-exec-summary {
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

.pt-why,
.pt-trade-detail {
  margin: 0.2rem 0;
  color: #9db0e7;
  font-size: 0.7rem;
}

.pt-agent {
  margin-top: 0.35rem;
  font-size: 0.68rem;
}

.pt-agent ul,
.pt-news ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  color: #9db0e7;
}

.pt-news {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: #b8c7f5;
}

.pt-mtm {
  font-size: 0.72rem;
  font-weight: 600;
}

.pt-exec-feed {
  max-height: 42vh;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.pt-plain,
.pt-company {
  margin: 0.5rem 0 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(49, 212, 122, 0.06);
  border-left: 3px solid rgba(49, 212, 122, 0.45);
}

.pt-company {
  background: rgba(102, 185, 255, 0.06);
  border-left-color: rgba(102, 185, 255, 0.45);
}

.pt-plain h5,
.pt-company h5 {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b8c7f5;
}

.pt-plain p,
.pt-company p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #e8eeff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.compare-intro {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 0.8rem;
}

.compare-table-wrap {
  margin-top: 1rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
}

.scroll-slide {
  max-height: 86vh;
  overflow-y: auto !important;
  padding-right: 0.45rem;
}

.scroll-slide::-webkit-scrollbar {
  width: 7px;
}

.scroll-slide::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 5px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  color: var(--text);
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
  text-align: left;
}

.compare-table th {
  color: #cfdaff;
  background: rgba(255, 255, 255, 0.04);
}

.compare-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.quick-wins-panel {
  text-align: left;
  max-width: 760px;
}

.quick-wins-lead {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #cfdaff;
  line-height: 1.45;
}

.quick-wins-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.quick-wins-projection {
  margin: 0;
  font-size: 0.84rem;
  color: var(--green);
  font-weight: 600;
}

.quick-wins-meta {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.quick-wins-scorecard {
  margin-bottom: 1rem;
  overflow-x: auto;
}

.quick-wins-scorecard .compare-table {
  font-size: 0.72rem;
}

.quick-wins-scorecard .notes-cell {
  max-width: 280px;
  white-space: normal;
  font-size: 0.65rem;
  color: #aeb9e8;
}

.quick-wins-empty {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.5rem 0;
}

.portfolio-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: 0.25s ease;
}

.portfolio-card:hover,
.portfolio-card.active {
  border-color: rgba(49, 212, 122, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(24, 137, 73, 0.2);
}

.portfolio-card h4 {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0 0 0.4rem 0;
  font-size: 1rem;
}

.portfolio-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.control-panel {
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.control-panel label {
  display: block;
  color: #cfdaff;
  margin: 0.4rem 0 0.2rem;
  font-size: 0.84rem;
}

.control-panel input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.metric-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.metric-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem;
}

.metric-card h4 {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.metric-card p {
  margin: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}

canvas {
  max-width: 100%;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.5rem;
}

.mix-slide .mix-range-hint {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 0.65rem;
  line-height: 1.45;
}

.mix-quick-wins-note {
  font-size: 0.72rem;
  color: #b8c7f5;
  max-width: 640px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
  text-align: left;
}

.mix-quick-wins-note[hidden] {
  display: none !important;
}

.mix-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  max-width: 920px;
  margin: 0 auto;
}

.mix-chart-wrap {
  position: relative;
  width: min(260px, min(85vw, 42vh));
  height: min(260px, min(85vw, 42vh));
  margin: 0 auto;
}

.legend {
  width: 100%;
  max-width: 520px;
  text-align: left;
  font-size: 0.78rem;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legend-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.legend-main {
  font-weight: 600;
  color: var(--text);
}

.legend-range {
  font-size: 0.72rem;
  color: var(--muted);
}

.legend-sleeve {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  line-height: 1.4;
  color: #8fa3d4;
}

.legend-color {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-top: 0.22rem;
}

@media (min-width: 720px) and (min-height: 560px) {
  .mix-panel {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
  }

  .legend {
    flex: 1;
    min-width: 200px;
    max-width: 380px;
  }
}

@media (max-width: 719px) {
  .reveal .slides section {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .scan-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .scan-controls label,
  .scan-controls button {
    width: 100%;
  }

  .plan-summary {
    flex-direction: column;
  }

  .plan-grid,
  .dca-tiers,
  .mu-charts {
    grid-template-columns: 1fr;
  }
}

.footnote {
  margin-top: 0.8rem;
  font-size: 0.62rem;
  color: var(--muted);
}

/* Faint encircled hint (hover / long-press for title tooltip) */
.hint-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  margin-left: 3px;
  margin-right: 1px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  font-weight: 600;
  cursor: help;
  vertical-align: super;
  line-height: 1;
  transform: translateY(-1px);
}

.hint-q:hover,
.hint-q:focus-visible {
  color: rgba(49, 212, 122, 0.85);
  border-color: rgba(49, 212, 122, 0.45);
}

.hint-q--static {
  pointer-events: none;
  vertical-align: middle;
}

/* Book chapter (small type) */
.book-chapter-section {
  text-align: left;
}

.book-chapter-h2 {
  font-size: 1.35rem !important;
  margin-bottom: 0.35rem !important;
}

.book-chapter-sub {
  font-size: 0.72rem !important;
  color: var(--muted) !important;
  margin: 0 0 0.75rem !important;
}

.book-scroll {
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding-right: 0.6rem;
  margin: 0 auto;
  max-width: 700px;
  text-align: justify;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.book-scroll::-webkit-scrollbar {
  width: 6px;
}

.book-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.book-h3 {
  font-size: 0.72rem !important;
  color: #b8c7f5 !important;
  margin: 0.85rem 0 0.35rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.book-p {
  font-size: 0.62rem !important;
  line-height: 1.72 !important;
  color: #c5cde8 !important;
  margin: 0 0 0.55rem !important;
}

.book-muted {
  color: var(--muted) !important;
  font-style: italic;
  margin-top: 0.75rem !important;
}

.book-footer-hint {
  font-size: 0.58rem !important;
  color: rgba(154, 166, 209, 0.75) !important;
  margin: 0.6rem 0 0 !important;
  text-align: center;
}
