:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --surface-2: #ebe7df;
  --text: #24211d;
  --muted: #6e6a62;
  --line: #d9d3c8;
  --accent: #315f73;
  --accent-2: #9b4d44;
  --gold: #a67b2d;
  --shadow: 0 18px 44px rgba(45, 38, 28, .12);
  --reader-width: 760px;
  --header-height: 58px;
}

:root[data-theme="dark"] {
  --bg: #171818;
  --surface: #222322;
  --surface-2: #2d302f;
  --text: #f1eee8;
  --muted: #b5aea3;
  --line: #3c3d3a;
  --accent: #79b5c8;
  --accent-2: #e09586;
  --gold: #d8b46c;
  --shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(14px);
}
.brand {
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0;
}
.header-actions, .toolbar, .segmented, .reader-actions, .episode-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}
.small-button {
  width: 30px;
  height: 30px;
  font-size: 14px;
}
.icon-button:hover, .text-button:hover, .episode-card:hover, .campaign-card:hover {
  border-color: var(--accent);
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 72px;
}
.app-shell:focus {
  outline: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 72%, white);
  outline-offset: 3px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 8vw, 78px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: .04em;
}
.muted { color: var(--muted); }
.page-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}
.library-head {
  align-items: center;
  padding: 18px 0 8px;
}
.page-head h1, .campaign-title h1, .reader-head h1 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}
.page-head h1 { font-size: clamp(32px, 6vw, 56px); }
.campaign-title h1 { font-size: clamp(34px, 7vw, 64px); }
.reader-head h1 { font-size: clamp(28px, 5vw, 48px); }
.page-head p, .campaign-title p, .reader-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.search-box {
  width: min(100%, 420px);
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.select {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--surface);
  color: var(--text);
}
.text-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  text-align: center;
}
.text-button.primary {
  border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
  background: var(--accent);
  color: white;
}
.segmented {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.segmented button {
  min-width: 42px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}
.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.campaign-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.cover {
  min-height: 220px;
  position: relative;
  display: grid;
  align-items: end;
  background:
    linear-gradient(140deg, rgba(49,95,115,.92), rgba(155,77,68,.8)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 13px);
  color: white;
  padding: 20px;
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.05));
}
.cover-title {
  position: relative;
  z-index: 1;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 900;
}
.campaign-card-body {
  padding: 16px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 76%, var(--surface-2));
  color: var(--muted);
  font-size: 13px;
}

.campaign-hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}
.campaign-cover-large {
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(49,95,115,.94), rgba(166,123,45,.8), rgba(155,77,68,.82)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 12px);
  box-shadow: var(--shadow);
}
.campaign-cover-large img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  display: block;
}
.campaign-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
}
.episode-list {
  display: grid;
  gap: 8px;
}
.character-feature,
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px 14px;
  text-decoration: none;
}
.character-feature {
  margin: 0 0 12px;
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
.episode-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--accent);
  font-weight: 900;
}
.episode-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}
.episode-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.character-feature h2,
.character-feature p {
  margin: 0;
}
.character-feature p {
  color: var(--muted);
  font-size: 14px;
}

.character-page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 0 0 22px;
}
.character-page-head h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.08;
}
.character-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.character-card {
  min-width: 0;
  text-decoration: none;
}
.character-portrait {
  position: relative;
  min-height: 360px;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 42%, transparent), color-mix(in srgb, var(--accent-2) 36%, transparent)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 12px);
  box-shadow: var(--shadow);
}
.character-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: white;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}
.character-card-caption {
  display: grid;
  gap: 2px;
  padding: 10px 2px 0;
}
.character-card-caption strong {
  line-height: 1.25;
}
.character-card-caption span {
  color: var(--muted);
  font-size: 13px;
}
.character-detail {
  display: grid;
  gap: 18px;
  position: relative;
  width: 100vw;
  min-height: calc(100vh - var(--header-height));
  margin: -28px calc(50% - 50vw) -72px;
  padding: 28px max(16px, calc((100vw - 1180px) / 2)) 72px;
  color: #f6f1e8;
  background:
    radial-gradient(circle at 50% 31%, rgba(255, 255, 255, .12), transparent 28%),
    linear-gradient(180deg, #111418 0%, #17120f 54%, #0d0f12 100%);
  overflow: hidden;
}
.character-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .12), transparent 18%),
    radial-gradient(circle at 12% 18%, rgba(121, 181, 200, .1), transparent 24%),
    radial-gradient(circle at 88% 26%, rgba(224, 149, 134, .09), transparent 22%);
  pointer-events: none;
}
.character-detail > * {
  position: relative;
  z-index: 1;
}
.character-detail > .text-button {
  justify-self: start;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #f6f1e8;
}
.character-carousel {
  --focus-portrait-width: min(44vw, 520px);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
  justify-content: center;
  perspective: 1400px;
  perspective-origin: 50% 44%;
}
.character-wheel {
  position: relative;
  width: var(--focus-portrait-width);
  aspect-ratio: 3 / 5;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  touch-action: pan-y;
}
.character-carousel:not(.spin-left):not(.spin-right) .character-wheel {
  animation: wheelSettle .42s cubic-bezier(.2, .72, .2, 1) both;
}
.character-profile-text {
  width: min(var(--focus-portrait-width), 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(15, 18, 22, .78);
  padding: clamp(18px, 4vw, 28px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
}
.character-profile-text h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
}
.character-profile-text p {
  margin: 10px 0 0;
}
.character-role {
  color: var(--accent);
  font-weight: 850;
}
.wheel-character {
  position: absolute;
  inset: 0;
  z-index: var(--wheel-depth);
  width: 100%;
  text-decoration: none;
  transform:
    translateX(calc(var(--wheel-x) * var(--focus-portrait-width)))
    translateZ(calc(var(--wheel-z) * var(--focus-portrait-width)))
    rotateY(var(--wheel-ry))
    scale(var(--wheel-scale));
  transform-origin: center;
  transition: transform .24s ease, filter .24s ease;
  filter:
    brightness(var(--wheel-brightness))
    saturate(var(--wheel-saturation))
    blur(var(--wheel-blur));
  backface-visibility: hidden;
  will-change: transform, filter;
  transform-style: preserve-3d;
}
.wheel-character:hover {
  filter: brightness(1) saturate(1.05) blur(0);
}
.wheel-character .character-portrait {
  width: 100%;
  min-height: 0;
  border: 0;
  background: rgba(255, 255, 255, .06);
  isolation: isolate;
  overflow: hidden;
  box-shadow:
    0 0 34px rgba(255, 255, 255, .22),
    0 0 86px rgba(255, 255, 255, .14),
    0 24px 60px rgba(0, 0, 0, .4);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 69%, rgba(0, 0, 0, .72) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 69%, rgba(0, 0, 0, .72) 82%, transparent 100%);
}
.wheel-character .character-portrait::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, .24), transparent 62%),
    linear-gradient(90deg, rgba(255, 255, 255, .12), transparent 22%, transparent 78%, rgba(255, 255, 255, .1));
  filter: blur(16px);
  opacity: .78;
  pointer-events: none;
}
.wheel-character .character-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(17, 20, 24, .36), transparent 12%, transparent 88%, rgba(17, 20, 24, .36)),
    linear-gradient(180deg, rgba(17, 20, 24, .26), transparent 14%, transparent 86%, rgba(17, 20, 24, .34)),
    rgba(11, 18, 32, var(--wheel-dim));
  pointer-events: none;
}
.wheel-character:not(.selected) .character-portrait {
  box-shadow:
    0 0 26px rgba(255, 255, 255, .12),
    0 18px 44px rgba(0, 0, 0, .36);
}
.wheel-character.selected {
  pointer-events: none;
  filter: none;
}
.wheel-character.selected .character-portrait::after {
  display: none;
}
.wheel-character.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.character-carousel.spin-left .wheel-character,
.character-carousel.spin-right .wheel-character {
  animation: wheelCardOrbit .62s cubic-bezier(.18, .78, .18, 1) both;
}

@keyframes wheelSettle {
  from { opacity: .92; transform: rotateY(0deg) translateZ(-24px); }
  to { opacity: 1; transform: rotateY(0deg) translateZ(0); }
}
@keyframes wheelCardOrbit {
  from {
    transform:
      translateX(calc(var(--from-wheel-x) * var(--focus-portrait-width)))
      translateZ(calc(var(--from-wheel-z) * var(--focus-portrait-width)))
      rotateY(var(--from-wheel-ry))
      scale(var(--from-wheel-scale));
    filter:
      brightness(var(--from-wheel-brightness))
      saturate(var(--from-wheel-saturation))
      blur(var(--from-wheel-blur));
  }
  to {
    transform:
      translateX(calc(var(--wheel-x) * var(--focus-portrait-width)))
      translateZ(calc(var(--wheel-z) * var(--focus-portrait-width)))
      rotateY(var(--wheel-ry))
      scale(var(--wheel-scale));
    filter:
      brightness(var(--wheel-brightness))
      saturate(var(--wheel-saturation))
      blur(var(--wheel-blur));
  }
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: start;
}
.reader {
  width: min(100%, var(--reader-width));
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.reader-head, .log-content, .reader-nav {
  padding: clamp(22px, 5vw, 54px);
}
.reader-head {
  border-bottom: 1px solid var(--line);
}
.reader-actions {
  flex-wrap: wrap;
  margin-top: 18px;
}
.reader-side {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 10px;
}
.reader-side-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}
.reader-side-panel h2 {
  margin: 0 0 8px;
  font-size: 15px;
}
.range {
  width: 100%;
  accent-color: var(--accent);
}
.reader-select {
  width: 100%;
  margin-top: 2px;
}
.checkbox-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}
.log-content {
  font-family: var(--reader-font-family, "Noto Serif KR", "Apple SD Gothic Neo", serif);
  font-size: var(--reader-font-size, 18px);
  line-height: var(--reader-line-height, 1.7);
  letter-spacing: var(--reader-letter-spacing, 0);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.log-entry {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0 0 var(--reader-paragraph-gap, 1.15em);
}
.avatar-slot {
  width: 42px;
  height: 42px;
}
.speaker-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.avatar-fallback {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 850;
}
.entry-body {
  min-width: 0;
}
.log-entry .speaker {
  font-weight: 850;
  color: var(--speaker-color, var(--accent));
}
.log-entry .time {
  margin-left: 6px;
  color: var(--muted);
  font-size: .82em;
}
.log-entry .speech {
  margin-top: .15em;
  white-space: pre-wrap;
}
.log-entry.quoted-speech .speech {
  display: inline-block;
  border-radius: 8px;
  padding: .18em .42em;
  background: color-mix(in srgb, var(--speaker-color, var(--accent)) 14%, transparent);
  font-weight: 800;
}
.dice-roll {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: .35em 0;
  border-left: 4px solid color-mix(in srgb, var(--muted) 45%, transparent);
  border-radius: 8px;
  padding: .62em .8em;
  background: color-mix(in srgb, var(--muted) 12%, var(--surface));
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: .94em;
  font-weight: 650;
  line-height: 1.45;
  white-space: pre-wrap;
}
.log-content.novel-mode .log-entry {
  margin-bottom: var(--reader-paragraph-gap, 1.15em);
}
.log-content.novel-mode .speaker {
  display: inline;
  margin-right: .4em;
}
.log-content.novel-mode .time {
  display: none;
}
.log-content.novel-mode .speech {
  display: inline;
}
.log-content.novel-mode .log-entry.quoted-speech .speech {
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.log-content.novel-mode .dice-roll {
  display: block;
}
.log-content.no-colors .speaker {
  color: var(--accent);
}
.log-content img, .log-content video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.reader-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.reader-nav .next { justify-self: end; }
.reader-nav .home { justify-self: center; }
.reader-nav .disabled {
  opacity: .45;
  pointer-events: none;
}

.status-panel, .empty-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
}
.status-panel h1, .empty-panel h2 {
  margin: 0;
}
.dialog {
  width: min(520px, calc(100% - 24px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.settings-dialog {
  width: min(420px, calc(100% - 24px));
}
.dialog::backdrop {
  background: rgba(0, 0, 0, .38);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.dialog-head h2 {
  margin: 0;
}
.bookmark-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.settings-panel {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.setting-group {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
}
.setting-group h3 {
  margin: 0;
  font-size: 15px;
}
.setting-group p {
  margin: 0;
  font-size: 14px;
}
.speaker-color-list {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
}
.speaker-color-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 30px;
  gap: 8px;
  align-items: center;
  min-height: 38px;
}
.speaker-color-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.speaker-color-row input[type="color"] {
  width: 42px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
  background: var(--surface);
}
.bookmark-item {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  text-decoration: none;
}
.highlight {
  background: color-mix(in srgb, var(--gold) 38%, transparent);
  border-radius: 4px;
}

@media (max-width: 920px) {
  .app-shell { width: min(100% - 20px, 760px); margin-top: 18px; }
  .page-head, .campaign-hero, .reader-layout {
    display: block;
  }
  .toolbar {
    flex-wrap: wrap;
    margin-top: 14px;
  }
  .search-box {
    width: 100%;
  }
  .campaign-cover-large {
    min-height: 300px;
    margin-bottom: 18px;
  }
  .campaign-cover-large img {
    min-height: 300px;
  }
  .episode-card {
    grid-template-columns: auto 1fr;
  }
  .character-feature {
    grid-template-columns: auto 1fr;
  }
  .episode-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .character-page-head {
    display: block;
  }
  .character-page-head .text-button {
    display: inline-block;
    margin-top: 12px;
  }
  .character-carousel {
    --focus-portrait-width: min(72vw, 420px);
  }
  .reader-side {
    position: static;
    margin-top: 12px;
  }
  .reader-nav {
    grid-template-columns: 1fr;
  }
  .reader-nav .next, .reader-nav .home, .reader-nav .prev {
    justify-self: stretch;
  }
}

@media (max-width: 520px) {
  .site-header { padding: 0 12px; }
  .campaign-grid { grid-template-columns: 1fr; }
  .reader-head, .log-content, .reader-nav { padding: 20px; }
  .page-head h1 { font-size: 34px; }
  .log-entry {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }
  .avatar-slot, .speaker-avatar, .avatar-fallback {
    width: 34px;
    height: 34px;
  }
}
