/* /begin-again/ only. The reading area keeps the original cream look (rules carried over from
   the old /css/site.css), scoped to .paper so they cannot clash with the new design tokens.
   /css/site.css itself stays untouched for /admin/. */
/* no smooth scrolling here: an animated jump stops short when fonts reflow the long page */
html { -webkit-text-size-adjust: 100%; }

.paper {
  --ink: #241c17;
  --muted: #6f6156;
  --accent: #a24b22;
  --card: #fffaf6;
  --line: rgba(36, 28, 23, 0.12);
  --say: #8d431c;
  --serif: "Noto Serif Thai", "Leelawadee UI", "Thonburi", Palatino, serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 8px clamp(18px, 5vw, 48px) 40px;
  border-radius: 18px;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(162, 75, 34, 0.08), transparent 55%),
    #f3ebe3;
  color: var(--ink);
  font-family: "Noto Sans Thai", "Leelawadee UI", "Thonburi", Tahoma, sans-serif;
  line-height: 1.7;
  color-scheme: light;
}
.paper a { color: inherit; }
.paper :focus-visible { outline-color: var(--accent); }
.story-head { padding: 20px 0 8px; }
.paper h1, .paper h2 { font-family: var(--serif); font-weight: 650; }
.paper h1 { margin: 12px 0 4px; font-size: clamp(1.65rem, 4.2vw, 2.45rem); line-height: 1.4; }
.paper .kicker { margin: 0 0 8px; color: var(--accent); font-weight: 700; }
.paper .ai-note { margin: 0 0 14px; text-align: left; font-size: 0.85rem; color: var(--muted); }
.paper .note { color: var(--muted); font-size: 0.9rem; }

.toc { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 18px; }
.toc a {
  flex: none;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.chapter { padding: 12px 0 28px; scroll-margin-top: 16px; }
.paper .chapter h2 { margin: 8px 0 12px; font-size: clamp(1.35rem, 4vw, 1.7rem); line-height: 1.35; }
.prose p { margin: 0 0 1.05em; font-family: var(--serif); font-size: 1.12rem; line-height: 2; }
.say { font-family: Georgia, "Noto Serif Thai", serif; font-style: italic; color: var(--say); }
.clip { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.paper .clip-go {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #f8f1ea;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.next-ch { margin-top: 8px; }

.paper .phrases { margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.paper .phrases summary { cursor: pointer; font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.paper .phrases ul { margin: 10px 0 0; padding: 0; list-style: none; }
.paper .phrases li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; color: var(--muted); }
.paper .phrases li:last-child { border-bottom: 0; }
