.site-links {
  position: fixed;
  inset: auto 0 0;
  z-index: 101;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0 max(10px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(10px, env(safe-area-inset-left, 0px));
  border-radius: 8px 8px 0 0;
  color: #f1f6ff;
  background: #101b31;
  font: 600 13px/1.25 system-ui, sans-serif;
}

.site-links nav,
.site-document nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
}

.site-links nav { justify-content: center; }
.site-links a { padding: 8px 2px; color: inherit; }
.site-links a:focus-visible,
.site-document a:focus-visible { outline: 2px solid #ffd269; outline-offset: 3px; }
.site-links [lang="ko"],
html[lang="ko"] .site-links [lang="en"] { display: none; }
html[lang="ko"] .site-links [lang="ko"] { display: inline; }

.site-document {
  margin: 0;
  color: #eaf0fb;
  background: #131e34;
  font: 16px/1.65 system-ui, -apple-system, sans-serif;
}

.site-document .wrap {
  box-sizing: border-box;
  width: min(100%, 54rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.site-document header { background: #0d172b; border-bottom: 1px solid #344568; }
.site-document header .wrap,
.site-document footer .wrap { padding-block: 1rem; }
.site-document header a,
.site-document nav a { display: inline-block; padding-block: 0.3rem; }
.site-document header nav { margin-top: 0.25rem; }
.site-document main { padding-block: 1.5rem 3rem; }
.site-document a { color: #a6d8ff; overflow-wrap: anywhere; }
.site-document a[aria-current="page"] { color: #ffd269; }
.site-document h1 { margin: 0 0 0.5rem; font-size: clamp(1.85rem, 5vw, 2.65rem); line-height: 1.15; }
.site-document h2 { margin-top: 1.5rem; font-size: 1.4rem; line-height: 1.35; }
.site-document h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.site-document h3 + p { margin-top: 0; }
.site-document ul { padding-inline-start: 1.4rem; }
.site-document li + li { margin-top: 0.4rem; }
.site-document footer { border-top: 1px solid #344568; color: #c2cde2; }
.site-document .updated { color: #c2cde2; }
.site-document .translation { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #344568; }
.site-document .panel { padding: 1rem 1.25rem; background: #1f3051; border: 1px solid #425d88; border-radius: 12px; }
.site-document .panel > :first-child { margin-top: 0; }
.site-document .panel > :last-child { margin-bottom: 0; }
