/* Notes by the person who made yetsung (/story/). Same palette and type as the LP (index.html). */
:root {
  --bg: #1E1B18;
  --surface: #282420;
  --line: #3A3530;
  --line-strong: #524B43;
  --text: #E4DED3;
  --muted: #A39B8F;
  --accent: #FF6B3D;
  --accent-hover: #FF8A63;
  --on-accent: #1E1B18;
  --display: 'Dela Gothic One', sans-serif;
  --body: 'Zen Kaku Gothic New', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: 0.01em; color: var(--text); text-decoration: none; }
.logo span { background: var(--accent); color: var(--on-accent); padding: 0 3px; margin-left: 1px; }
.status { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-decoration: none; }
.status:hover { color: var(--text); }

.label { margin: 0 0 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.12em; }
.label .no { color: var(--accent); }

/* index */
.intro { padding: 40px 0 8px; }
.intro h1 { margin: 0 0 12px; font-weight: 700; font-size: 26px; line-height: 1.5; }
.intro p { margin: 0; color: var(--muted); font-size: 15px; }
.notes { list-style: none; margin: 32px 0 0; padding: 0; }
.notes li { border-bottom: 1px solid var(--line); }
.notes li:first-child { border-top: 1px solid var(--line); }
.notes a { display: block; padding: 22px 0; color: var(--text); text-decoration: none; }
.notes a:hover h2 { color: var(--accent-hover); }
.notes h2 { margin: 0 0 6px; font-weight: 700; font-size: 19px; line-height: 1.5; }
.notes p { margin: 0; color: var(--muted); font-size: 14px; }

/* entry */
article { padding: 40px 0 0; }
article h1 { margin: 0 0 32px; font-weight: 700; font-size: 26px; line-height: 1.5; }
article p { margin: 0 0 1.4em; font-size: 16px; line-height: 2; }
article .quote { margin: 1.8em 0; padding-left: 16px; border-left: 3px solid var(--accent); font-weight: 700; }
article .by { margin-top: 40px; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-align: right; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: block; color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.6; }
.pager a:hover { color: var(--accent-hover); }
.pager small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.pager .next { text-align: right; grid-column: 2; }
.back { display: block; margin-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }

.cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; margin-top: 40px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.cta:hover { background: var(--accent-hover); color: var(--on-accent); }

footer { margin-top: 64px; border-top: 1px solid var(--line); padding: 24px 0 calc(32px + env(safe-area-inset-bottom)); }
footer .wrap { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; display: flex; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
