/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #282926;
  --secondary: #5d5d56;
  /* Dark library roles mirror Palette::DARK; the player has its own frame. */
  --night: #1d1f1e;
  --dark-toolbar: #272a27;
  --dark-field: #181a18;
  --dark-ink: #f0efe8;
  --dark-secondary: #b8bbb1;
  --dark-line: #4b4e47;
  --dark-accent: #fb9a70;
  --player-frame: #23211f;
  --light: #f3f4f1;
  --white: #fff;
  --rule: #d7d9d3;
  --rust: #ad351b;
  --button: #ff603c;
  --button-pressed: #fb603b;
  --focus: #a63e21;
  --shell: 1248px;
  --gutter: clamp(16px, 4vw, 60px);
  --system: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --sans: "Instrument Sans", var(--system);
  --display: "Instrument Sans", var(--system);
}
:root:lang(ja) { --system: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif; line-break: strict; }
:root:lang(zh-Hans) { --system: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
:root:lang(hi) { --system: "Nirmala UI", "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, figure, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 660;
  line-height: 1.13;
  letter-spacing: -.038em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
h3 { font-size: 1.16rem; letter-spacing: -.018em; }
:where(:lang(ja), :lang(zh-Hans), :lang(hi)) :is(h1, h2, h3) { letter-spacing: normal; }
strong, b { font-weight: 660; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration-thickness: .075em; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { color: var(--ink); background: #ffb799; }
kbd, code { font: .9em/1.35 "SFMono-Regular", Consolas, monospace; }
kbd { border: 1px solid #b9bbb3; border-bottom-width: 2px; padding: 1px 5px; border-radius: 3px; background: var(--white); color: var(--ink); }
section[id], article[id], details[id] { scroll-margin-block: 1rem; }

.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.icon { display: inline-block; flex: none; vertical-align: -.13em; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip:focus { position: absolute; z-index: 20; top: 8px; left: var(--gutter); padding: 8px 14px; background: var(--white); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 46px;
  padding: .68rem 1.12rem;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--button);
  color: var(--ink);
  font: 650 .95rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #ff7959; text-decoration: none; }
.button:active { background: var(--button-pressed); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; color: var(--secondary); font-size: .83rem; }
.breadcrumbs a { color: var(--ink); text-decoration-color: #94978f; }
.breadcrumbs a:hover { color: var(--rust); text-decoration-color: currentColor; }

.site-header { position: relative; z-index: 4; border-bottom: 1px solid var(--rule); background: var(--white); color: var(--ink); }
.masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(22px, 4vw, 62px);
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 44px;
  color: inherit;
  font: 700 1.55rem/1 var(--display);
  letter-spacing: -.065em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { flex: none; }
.masthead nav { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-end; gap: 0 clamp(16px, 2.2vw, 34px); }
.masthead nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 1px;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 560;
  line-height: 1.24;
  text-decoration: none;
}
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--ink); }
.masthead nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  background: var(--button);
}
.masthead nav a:hover { text-decoration: underline; text-underline-offset: .26em; }
.masthead nav a[aria-current]:hover { text-decoration: none; }

.language-menu { position: relative; justify-self: end; }
.language-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding-inline: 9px;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 590;
  line-height: 1.25;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover, .language-menu[open] summary { background: var(--light); }
.language-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  transform: translateY(-2px) rotate(45deg);
  border: solid currentColor;
  border-width: 0 1.4px 1.4px 0;
  margin-inline: 2px;
}
.language-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-short { display: none; }
.language-options {
  position: absolute;
  z-index: 1;
  inset: calc(100% + 5px) 0 auto auto;
  width: min(345px, calc(100vw - var(--gutter) * 2));
  max-height: min(64vh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  box-shadow: 0 10px 24px #1d1f1e20;
  background: var(--white);
}
.language-menu[open] .language-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.language-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 42px;
  padding: 5px 9px;
  border-radius: 3px;
  font-size: .9rem;
  line-height: 1.28;
  text-decoration: none;
}
.language-options a:hover, .language-options a:focus-visible { background: var(--light); }
.language-options a:focus-visible { outline-offset: -2px; }
.language-options a[aria-current] { background: #fff0e9; color: #842e1b; font-weight: 650; }
.language-options a[aria-current]::after { content: ""; flex: none; width: 10px; height: 6px; border: solid currentColor; border-width: 0 0 1.7px 1.7px; transform: translateY(-1px) rotate(-45deg); }

.site-footer { margin-top: auto; background: var(--night); color: var(--dark-ink); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(210px, 1.3fr) minmax(152px, .7fr) minmax(190px, 1fr);
  gap: 20px clamp(28px, 5vw, 76px);
  padding-block: clamp(23px, 3.2vw, 43px);
  align-items: start;
}
.footer-brand, .footer-group { min-width: 0; }
.footer-brand .brand { min-height: 36px; }
.footer-brand .brand img { width: 30px; height: 30px; }
.footer-edition { display: flex; align-items: center; gap: .55rem; width: fit-content; min-height: 38px; color: var(--dark-secondary); font-size: .84rem; text-decoration: none; }
.footer-edition span { padding-inline-start: .55rem; border-inline-start: 1px solid var(--dark-line); font-variant-numeric: tabular-nums; }
.footer-edition .icon { width: 13px; height: 13px; }
.footer-edition:hover { color: var(--dark-ink); text-decoration: underline; }
.footer-group h2 { margin: 7px 0 4px; font-size: .95rem; line-height: 1.35; letter-spacing: -.012em; }
.footer-group ul { list-style: none; padding: 0; margin: 0; }
.footer-group a { display: inline-flex; align-items: center; min-height: 35px; color: var(--dark-secondary); font-size: .89rem; line-height: 1.35; text-decoration: none; }
.footer-group a:hover { color: var(--dark-ink); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--dark-accent); }

@media (min-width: 45.01rem) and (max-width: 58rem) {
  .masthead { min-height: 60px; column-gap: 18px; }
  .masthead nav { column-gap: 16px; }
}
@media (max-width: 45rem) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 0 15px; min-height: 0; }
  .masthead > .brand { min-height: 53px; }
  .masthead .language-menu { grid-column: 2; grid-row: 1; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; column-gap: clamp(12px, 4vw, 30px); border-top: 1px solid var(--rule); }
  .masthead nav a { min-height: 42px; }
  .footer-inner { grid-template-columns: minmax(165px, 1fr) minmax(110px, .75fr) minmax(145px, 1fr); column-gap: 22px; }
}
@media (max-width: 36rem) {
  .masthead nav { justify-content: space-between; gap: 0 9px; }
  .masthead nav a { font-size: .88rem; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; }
  .footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--dark-line); }
  .footer-brand .brand { font-size: 1.24rem; }
  .footer-brand .brand img { width: 25px; height: 25px; }
  .footer-group a { min-height: 42px; }
}
@media (max-width: 25rem) {
  .language-full { display: none; }
  .language-short { display: inline; }
  .footer-edition { gap: .35rem; font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .masthead nav a[aria-current]::after { background: Highlight; }
  .button, .language-options { border-color: ButtonText; }
}
