:root { color-scheme: dark light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; background: #111315; color: #e7e9ec; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 800px; margin: auto; padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(44px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
a { color: #b8d9ff; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible { outline: 3px solid #a4d0ff; outline-offset: 5px; }
.home { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; }
.home span { font-size: 26px; }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.2; margin: 28px 0 8px; }
h2 { font-size: 1.35rem; line-height: 1.35; }
h3 { font-size: 1rem; margin-top: 0; }
.date, .note { color: #b3bac4; font-size: .94rem; }
.summary { font-size: 1.08rem; border-left: 3px solid #8ca9c8; padding-left: 18px; margin: 26px 0; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0; border-block: 1px solid #343a43; }
section { margin-top: 32px; scroll-margin-top: 20px; }
li + li { margin-top: 12px; }
.choices { border: 1px solid #465060; border-radius: 12px; padding: 20px; }
button { font: inherit; font-weight: 600; background: #d4e8ff; color: #102239; border: 0; border-radius: 8px; padding: 12px 18px; cursor: pointer; min-height: 44px; }
button:disabled { cursor: default; opacity: .65; }
footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #343a43; }
[hidden] { display: none !important; }
@media (prefers-color-scheme: light) {
  :root { background: #f8f9fb; color: #202630; }
  a { color: #164e88; }
  .date, .note { color: #515c6b; }
  nav, footer { border-color: #d5dbe2; }
  .choices { border-color: #a8b4c4; }
  button { background: #183e68; color: #fff; }
}
