@font-face {
  font-family: "Ninja Naruto";
  src: url("njnaruto.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("atkinson-next.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --body-face: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
  --text-small: .875rem;
  --text-base: 1rem;
  --ink: #1c2427;
  --muted: #455357;
  --ground: #f3f5f5;
  --surface: #fff;
  --line: #cbd2d3;
  --accent: #983b08;
  --action: #983b08;
  --action-hover: #772e06;
  --control-line: #7c898c;
  --control-hover-line: #4b5b5f;
  --control-hover: #e7ecec;
  --input: var(--surface);
  --list-hover: var(--ground);
  --selection: #e7ecec;
  --accent-line: #9d592c;
  --reader-gutter: #e1e6e6;
  --accent-soft: #fae8db;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1f3f3;
  --muted: #bcc7c9;
  --ground: #1b2022;
  --surface: #252c2e;
  --line: #525e61;
  --accent: #ffac73;
  --accent-soft: #493221;
  --accent-line: #bc855d;
  --action: #973d0d;
  --action-hover: #ad4810;
  --control-line: #839195;
  --control-hover-line: #acb8ba;
  --control-hover: #394447;
  --selection: #394447;
  --reader-gutter: #161b1d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: var(--text-base)/1.55 var(--body-face);
}
h1, h2, p { margin: 0; }
h2 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.018em; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button, .button, select { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: .6rem .9rem;
  color: var(--ink);
  background: var(--surface);
  border-radius: 6px;
}
.skip-link:focus { transform: none; }
.frame {
  width: min(100%, 1480px);
  margin-inline: auto;
  padding-inline: clamp(16px, 4.4vw, 66px);
}
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.125rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.top nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.25rem); }
.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: .18em;
}
.brand:hover, .top nav a:hover { text-decoration-thickness: 2px; text-decoration-line: underline; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .35rem .55rem;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  background: var(--surface);
  color: inherit;
  font-size: var(--text-small);
  font-weight: 700;
  white-space: nowrap;
}
.theme-toggle:hover { background: var(--control-hover); }
.theme-indicator {
  display: flex;
  align-items: center;
  width: 1.6rem;
  height: .95rem;
  padding: 2px;
  border: 1px solid var(--control-line);
  border-radius: 10px;
}
.theme-indicator::before {
  width: .6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--muted);
  content: "";
}
.theme-toggle[aria-pressed="true"] .theme-indicator {
  justify-content: flex-end;
  border-color: var(--accent);
}
.theme-toggle[aria-pressed="true"] .theme-indicator::before { background: var(--accent); }
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.75rem, 4vw, 2.25rem);
  padding: clamp(1rem, 2.5vw, 1.65rem) 0;
  border-bottom: 2px solid var(--line);
}
.intro h1 { font: 400 clamp(2rem, 4.5vw, 4rem)/1.1 "Ninja Naruto", var(--body-face); }
.intro p { max-width: 52ch; margin-top: .45rem; color: var(--muted); }
.intro-logo {
  display: flex;
  align-items: center;
  flex: 0 0 clamp(74px, 10vw, 122px);
  height: clamp(48px, 6vw, 76px);
  overflow: hidden;
}
:root[data-theme="dark"] .intro-logo img { filter: contrast(.76) brightness(1.35); }
.intro-logo img { display: block; width: 100%; height: auto; }
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 278px) minmax(0, 1fr);
  align-items: start;
  gap: 10px clamp(16px, 2.2vw, 30px);
  transition: grid-template-columns 240ms ease, column-gap 240ms ease;
  margin-block: clamp(18px, 3vw, 30px);
  scroll-margin-top: 16px;
}
.workspace[data-browse="closed"] {
  grid-template-columns: minmax(0, 0px) minmax(0, 1fr);
  column-gap: 0;
}
.workspace-tools { grid-column: 1 / -1; }
.browse-toggle { display: inline-flex; align-items: center; gap: .5rem; }
.browse-icon {
  display: inline-block;
  width: .9rem;
  height: .76rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
}
.browse-icon::before {
  position: absolute;
  inset: 0 auto 0 28%;
  border-left: 1.5px solid currentColor;
  content: "";
}
.reader {
  border: 1px solid var(--line);
  background: var(--surface);
}
.control, .button {
  min-height: 44px;
  padding: .48rem .75rem;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
}
.control:hover:not(:disabled), .button:hover {
  border-color: var(--control-hover-line);
  background: var(--control-hover);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.25rem;
  padding-block: 16px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-small);
}
.footer-credit { display: grid; align-content: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .18em; }
.footer-links a:hover { text-decoration-thickness: 2px; }
.policy {
  max-width: 48rem;
  margin: clamp(18px, 4vw, 46px) auto;
  padding-block: .5rem 1rem;
  overflow-wrap: anywhere;
}
.policy h1 {
  font: 750 clamp(2rem, 5vw, 3rem)/1.12 var(--body-face);
}
.policy .policy-date { margin: .45rem 0 1.5rem; color: var(--muted); font-size: var(--text-small); }
.policy h2 { margin: 1.6rem 0 .5rem; }
.policy a { text-underline-offset: .18em; }
.policy a:hover { text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  .workspace, .workspace[data-browse="closed"] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .top-inner { min-height: 54px; }
  .intro { align-items: start; }
  .intro-logo { margin-top: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace { transition: none; }
}

@media (max-width: 760px) {
  body[data-document] .intro { padding-block: .6rem; align-items: center; }
  body[data-document] .intro h1 { font-size: clamp(1.35rem, 5vw, 1.85rem); }
  body[data-document] .intro p { display: none; }
  body[data-document] .intro-logo { flex-basis: 48px; height: 29px; margin: 0; }
  body[data-document] .workspace { margin-top: .65rem; }
}

.staging-notice {
  margin: 0;
  padding: .35rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 700;
  text-align: center;
}
