:root {
  color-scheme: light;
  --bg: #d9d9d4;
  --page: #ffffff;
  --text: #000000;
  --rule: #8a8a8a;
  --soft: #d0d0d0;
  --panel: #eeeeee;
  --muted: #333333;
  --link: #0033cc;
  --accent: #9c1d1d;
  --button-bg: #ffffff;
  --button-hover: #f3f3f3;
  --button-pressed: #dddddd;
  --button-shadow: 2px 2px 0 #000000;
  --button-shadow-small: 1px 1px 0 #000000;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: var(--font-sans);
  --font-code: ui-monospace, "SF Mono", "Cascadia Mono", "Cascadia Code", "Roboto Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --font-formula: "Cambria Math", Cambria, Georgia, "Times New Roman", Times, serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --text-xs: 11.5px;
  --text-sm: 12.5px;
  --text-table: 13px;
  --text-body: 15.5px;
  --text-large: 17.5px;
  --title-sm: 15.5px;
  --title-md: 20px;
  --title-lg: 35px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-icon,
.metric-icon,
.home-entry-icon,
.nav-icon,
.section-title-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.35;
}

.icon-dot {
  fill: currentColor;
  stroke: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-body);
  font-kerning: normal;
  font-optical-sizing: auto;
  line-height: 1.58;
  color: var(--text);
  background-color: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: var(--weight-regular);
  background: transparent;
  overscroll-behavior-x: none;
}

body.temppal-tab-hidden * {
  animation-play-state: paused !important;
}

body.temppal-page-idle * {
  animation-play-state: paused !important;
}

strong,
b {
  font-weight: var(--weight-bold);
}

body.modal-open {
  overflow: hidden;
}

body.record-detail-scroll-locked {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:visited {
  color: #551a8b;
}

.ad-slot {
  display: block;
  width: min(960px, calc(100% - 20px));
  min-height: 122px;
  margin: 10px auto;
  padding: 8px;
  border: 1px solid var(--rule);
  text-align: center;
  background: #ffffff;
}

.ad-slot-top {
  margin-top: 6px;
}

.ad-slot-bottom {
  margin-top: 6px;
  margin-bottom: 6px;
}

.ad-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0;
  color: #333333;
}

.ad-placeholder {
  display: grid;
  width: 320px;
  height: 100px;
  max-width: 100%;
  margin: 0 auto;
  place-items: center;
  border: 1px dashed var(--rule);
  font-family: var(--font-sans);
  font-size: 13px;
  color: #333333;
  background: #ffffff;
}

.temppal-ad-unit {
  width: 320px;
  height: 100px;
  margin: 0 auto;
}

.site-notices {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0 0 12px;
}

.site-notice {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid #000000;
  border-left: 5px solid #000000;
  background: #fffdf4;
  box-shadow: 1px 1px 0 #000000;
}

.site-notice-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border: 1px solid #000000;
  color: #000000;
  font-size: var(--text-xs);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: #ffffff;
}

.site-notice-date {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-notice-marquee {
  position: relative;
  min-width: 0;
  height: 24px;
  overflow: hidden;
  text-align: center;
}

.site-notice-marquee p {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: max-content;
  max-width: none;
  min-width: 0;
  margin: 0;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  transform: translate(-110%, -50%);
  animation: site-notice-scroll 12s linear infinite;
  will-change: left, transform;
}

.site-notice:hover .site-notice-marquee p,
.site-notice:focus-within .site-notice-marquee p {
  animation-play-state: paused;
}

@keyframes site-notice-scroll {
  0% {
    left: 0;
    transform: translate(-110%, -50%);
  }

  100% {
    left: 100%;
    transform: translate(0, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-notice-marquee {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-notice-marquee p {
    position: static;
    animation: none;
    transform: none;
  }
}

.home-shortcuts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
}

.home-shortcuts p {
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #000000;
  border-radius: 4px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  background: #ffffff;
  white-space: nowrap;
}

.home-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-shortcut-button {
  position: relative;
  min-height: 52px;
  margin: 0;
  padding: 9px 32px 9px 10px;
  border: 2px solid #000000;
  border-radius: 5px;
  border-left-width: 2px;
  font-size: var(--text-table);
  background: #f4f4ee;
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -3px 0 #cfcfc7,
    0 4px 0 #000000;
}

.home-shortcut-button::after {
  content: attr(data-shortcut-key);
  position: absolute;
  top: 6px;
  right: 7px;
  min-width: 20px;
  padding: 1px 4px;
  border: 1px solid #000000;
  border-radius: 3px;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  background: #ffffff;
}

.home-shortcut-button .home-entry-icon {
  width: 24px;
  height: 24px;
  padding: 2px;
  border-width: 1px;
}

.home-shortcut-button:hover,
.home-shortcut-button:focus-visible {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -2px 0 #cfcfc7,
    0 3px 0 #000000;
}

.home-shortcut-button:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 0 0 #000000;
}

@media (min-width: 500px) {
  .ad-slot {
    min-height: 82px;
  }

  .ad-placeholder,
  .temppal-ad-unit {
    width: 468px;
    height: 60px;
  }
}

@media (min-width: 800px) {
  .ad-slot {
    min-height: 112px;
  }

  .ad-placeholder,
  .temppal-ad-unit {
    width: 728px;
    height: 90px;
  }
}

.bar-inner,
.site-identity {
  display: grid;
  align-items: start;
  gap: 14px;
  width: 100%;
  margin: 0 auto;
}

.site-identity {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.site-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 10px;
  width: 100%;
  min-width: 0;
  margin-left: 0;
  max-width: none;
  color: #000000;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  min-height: 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  white-space: nowrap;
}

.language-switcher span {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-right: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.language-switcher select {
  width: auto;
  min-width: 88px;
  min-height: 26px;
  padding: 1px 22px 1px 7px;
  border: 1px solid #999999;
  color: #000000;
  font: inherit;
  font-size: var(--text-xs);
  font-weight: 700;
  background: #ffffff;
}

#auth-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  gap: 5px;
  margin-left: 0;
  padding: 0;
  width: auto;
  max-width: none;
  min-width: 0;
  border: 0;
  font-family: var(--font-sans);
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

#auth-nav.is-signed-in {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: auto;
  max-width: none;
  min-width: 0;
  gap: 5px;
  padding: 0;
  overflow: visible;
  white-space: nowrap;
}

.auth-status {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  border-right: 0;
  background: transparent;
}

.auth-nickname {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 118px;
  min-width: 42px;
  min-height: 24px;
  padding: 0 5px;
  overflow: hidden;
  border: 0;
  color: #000000;
  font-size: var(--text-xs);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  overflow: visible;
}

.auth-discord-pending {
  animation: authDiscordButtonBlink 1.15s steps(2, end) infinite;
}

@keyframes authDiscordButtonBlink {
  0%,
  65% {
    border-color: #000000;
    background: #fff8d8;
    box-shadow: inset 0 -2px 0 var(--accent), 0 0 0 2px rgba(156, 29, 29, 0.12);
  }

  66%,
  100% {
    border-color: #999999;
    background: #ffffff;
    box-shadow: none;
  }
}

.auth-actions-signed-out {
  width: 100%;
}

#auth-nav.is-signed-in .auth-actions {
  flex: 0 0 auto;
  min-width: max-content;
}

.auth-contribution-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: none;
  min-height: 24px;
  padding: 2px 6px;
  border: 1px solid #999999;
  color: #000000;
  background: #f7f7f7;
}

.auth-contribution-level {
  font-family: var(--font-code);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-contribution-name {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-contribution-runs {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

#auth-nav button {
  flex: 0 0 auto;
  min-height: 26px;
  height: auto;
  padding: 1px 8px;
  border: 1px solid #999999;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#auth-nav button:first-child {
  border-left: 1px solid #999999;
}

#auth-nav.is-signed-in button:first-child {
  border-left: 1px solid #999999;
}

#auth-nav .auth-secondary {
  color: #000000;
  background: #ffffff;
}

#auth-nav .auth-primary {
  color: #000000;
  background: #ffffff;
  border-color: #000000;
}

#auth-nav button:hover,
#auth-nav button:focus-visible {
  text-decoration: none;
  transform: none;
  box-shadow: inset 0 -2px 0 #000000;
}

#auth-nav .auth-secondary:hover,
#auth-nav .auth-secondary:focus-visible {
  border-color: #000000;
  color: #000000;
  background: var(--button-hover);
}

#auth-nav .auth-primary:hover,
#auth-nav .auth-primary:focus-visible {
  border-color: #000000;
  color: #000000;
  background: var(--button-hover);
}

#auth-nav button:active {
  transform: translate(1px, 1px);
  box-shadow: inset 0 2px 0 #000000;
}

@media (prefers-reduced-motion: reduce) {
  .auth-discord-pending {
    animation: none;
    border-color: #000000;
    background: #fff8d8;
  }
}

.site-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 7px;
  padding: 0 0 2px;
  border: 0;
  color: #000000;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: 1.28;
  text-decoration: none;
  background: #ffffff;
  box-shadow: none;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.site-logo::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  bottom: -30%;
  left: -45%;
  width: 32%;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0.9) 48%,
    rgba(255, 255, 255, 0) 68%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-18deg);
  animation: site-logo-sheen 8s ease-in-out infinite;
}

.site-logo > * {
  position: relative;
  z-index: 0;
}

@keyframes site-logo-sheen {
  0%,
  62% {
    transform: translateX(-130%) skewX(-18deg);
    opacity: 0;
  }
  68% {
    opacity: 0.75;
  }
  78% {
    transform: translateX(560%) skewX(-18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(560%) skewX(-18deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo::after {
    animation: none;
    opacity: 0;
  }
}

.site-logo:link,
.site-logo:visited,
.site-logo:hover,
.site-logo:focus-visible,
.site-logo:active {
  color: #000000;
}

@media (min-width: 681px) {
  .site-identity {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px 18px;
  }

  #site-title {
    min-width: 0;
  }

  .site-logo {
    max-width: 100%;
  }

  .site-controls {
    justify-self: end;
    align-self: start;
    justify-content: flex-end;
    width: min(36vw, 430px);
    max-width: 100%;
    padding-top: 4px;
  }

}

@media (max-width: 680px) {
  #site-title {
    min-width: 0;
  }

  #auth-nav,
  #auth-nav.is-signed-in {
    flex-wrap: wrap;
    max-width: 100%;
    white-space: normal;
  }

  #auth-nav .auth-actions,
  #auth-nav.is-signed-in .auth-actions {
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
  }

  #auth-nav button {
    max-width: 100%;
  }
}

.brand-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  align-self: center;
  stroke-width: 1.45;
}

.entry-subnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0 0 18px;
  padding: 6px 8px;
  border: 1px solid #000000;
  border-bottom-width: 2px;
  background: #f2f2ea;
  box-shadow: 1px 1px 0 #000000;
}

.entry-subnav::before {
  content: "Menu";
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  min-height: 30px;
  margin-right: 4px;
  padding: 0 8px 0 0;
  border-right: 1px solid var(--rule);
  color: #444444;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.entry-subnav-toggle {
  display: none;
}

.entry-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  min-height: 30px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid transparent;
  color: #000000;
  opacity: 0.84;
  font-size: var(--text-sm);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
}

.entry-subnav a.entry-back-link {
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid var(--rule);
}

.entry-subnav a:visited {
  color: #000000;
}

.entry-subnav a:hover,
.entry-subnav a:focus-visible {
  color: #000000;
  opacity: 1;
  text-decoration: none;
  background: #ffffff;
  border-color: #9a9a9a;
  outline: 1px solid #000000;
  outline-offset: 1px;
}

.nav-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

.entry-subnav a.active {
  color: #000000;
  opacity: 1;
  font-weight: 800;
  text-decoration: none;
  background: #dcdcdc;
  border-color: #000000;
  box-shadow: inset 1px 1px 0 #ffffff;
  transform: none;
}

.entry-subnav a.active::after {
  display: none;
}

.seo-page .site-identity {
  align-items: center;
}

.seo-logo {
  font-size: var(--title-md);
  font-weight: 800;
}

.seo-logo img {
  display: inline-block;
  width: 88px;
  height: auto;
  image-rendering: auto;
  vertical-align: middle;
}

.seo-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.seo-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--rule);
  color: #000000;
  font-size: var(--text-table);
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
}

.seo-nav a:visited {
  color: #000000;
}

.seo-nav a:hover,
.seo-nav a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.seo-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.seo-note,
.seo-answer {
  padding: 9px 10px;
  border: 1px solid var(--rule);
  border-left: 5px solid var(--accent);
  background: #f7f7f7;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seo-answer-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.seo-card {
  padding: 10px;
  border: 1px solid var(--rule);
  background: #ffffff;
}

.seo-answer-card-primary {
  border-width: 2px;
  border-color: #000000;
}

.seo-card h2 {
  margin-top: 0;
}

.seo-metric {
  margin: 8px 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--title-md);
  font-weight: 800;
}

.seo-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.seo-action-row a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #000000;
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
}

.seo-action-row a:visited {
  color: #000000;
}

.seo-action-row a:hover,
.seo-action-row a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: #ffffff;
}

.seo-answer-list {
  display: grid;
  gap: 7px;
  margin: 10px 0;
  padding-left: 18px;
}

.seo-mini-metrics {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 8px;
  margin: 8px 0;
  font-size: var(--text-table);
}

.seo-mini-metrics dt,
.seo-mini-metrics dd {
  margin: 0;
}

.seo-faq {
  display: grid;
  gap: 8px;
}

.seo-faq article {
  padding-top: 8px;
  border-top: 1px solid var(--soft);
}

.seo-faq h3 {
  margin: 0 0 4px;
  font-size: var(--text-base);
}

.seo-faq p {
  margin: 0;
}

.seo-footer-strip {
  margin-top: 18px;
}

.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
}

.seo-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: var(--text-table);
}

.seo-table th,
.seo-table td {
  padding: 6px 8px;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.seo-table th {
  background: var(--panel);
}

.seo-facts {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) 1fr;
  border: 1px solid var(--rule);
}

.seo-facts dt,
.seo-facts dd {
  margin: 0;
  padding: 7px 9px;
  border-bottom: 1px solid var(--rule);
  font-size: var(--text-table);
  line-height: 1.35;
}

.seo-facts dt {
  font-weight: 800;
  background: var(--panel);
}

.seo-facts dd {
  border-left: 1px solid var(--rule);
}

.seo-steps {
  padding-left: 26px;
}

.seo-research-section {
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.seo-publication-list {
  margin-top: 10px;
}

.legal-page main {
  max-width: 960px;
}

.legal-identity {
  align-items: center;
}

.legal-identity .site-logo {
  max-width: 100%;
}

.legal-nav {
  margin-top: 0;
}

.legal-hero {
  margin: 18px 0 14px;
  padding: 0 0 12px;
  border-bottom: 4px double #000000;
}

.legal-hero h1 {
  margin: 0;
  padding: 0;
  border: 0;
}

.legal-kicker,
.legal-updated {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-table);
  font-weight: 700;
}

.legal-updated {
  margin: 8px 0 0;
}

.legal-section h2 {
  margin-top: 0;
}

.legal-section {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--soft);
}

.legal-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

main {
  width: min(960px, calc(100% - 20px));
  margin: 12px auto 0;
  padding: 18px;
  border: 1px solid var(--rule);
  background: var(--page);
}

h1 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  font-family: var(--font-display);
  font-size: var(--title-lg);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  letter-spacing: 0;
  border-bottom: 4px double #000000;
}

#site-title {
  flex: 1 1 auto;
  min-width: min(360px, 100%);
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 38px;
  line-height: 1.28;
}

.page-view > h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 0 8px 6px;
  border-top: 0;
  border-bottom: 2px solid #000000;
  font-size: 28px;
  line-height: 1.18;
  text-align: center;
  background: transparent;
}

h1 span {
  display: inline-block;
}

.title-hangul {
  font-weight: 700;
}

.title-pronunciation {
  margin-left: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-large);
  font-weight: 400;
  color: var(--muted);
}

main h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 32px 0 13px;
  padding: 0 0 6px;
  color: #000000;
  font-family: var(--font-display);
  font-size: var(--title-md);
  font-weight: var(--weight-bold);
  line-height: 1.25;
  border: 0;
  border-bottom: 2px solid #000000;
  background: transparent;
}

.section-title-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 2px;
  border: 1px solid #000000;
  color: #000000;
  background: #ffffff;
}

main h2 span {
  min-width: 0;
}

main h3 {
  margin: 22px 0 8px;
  padding: 0 0 4px;
  font-family: var(--font-display);
  font-size: var(--title-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

p {
  margin: 0 0 12px;
  line-height: 1.62;
}

.home-entry-section {
  margin: 0 0 18px;
  padding-bottom: 12px;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 4px;
  padding: 7px 12px;
  border: 2px solid #000000;
  border-left: 5px solid var(--accent);
  color: #000000;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: #ffffff;
}

.home-entry-choice {
  position: relative;
  min-height: clamp(78px, 9vw, 98px);
  margin: 0;
  padding: 16px 52px 20px 18px;
  border: 2px solid #000000;
  border-radius: 7px;
  font-size: clamp(17px, 2.1vw, 24px);
  background: #f4f4ee;
  box-shadow:
    inset 0 2px 0 #ffffff,
    inset 0 -5px 0 #cfcfc7,
    0 7px 0 #000000;
  transform: translateY(0);
  transition: transform 80ms ease, box-shadow 80ms ease, background-color 80ms ease;
}

.home-entry-choice::after {
  content: attr(data-key);
  position: absolute;
  top: 9px;
  right: 10px;
  min-width: 28px;
  padding: 2px 4px;
  border: 1px solid #000000;
  border-radius: 3px;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  background: #ffffff;
}

.home-entry-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 4px;
  border: 2px solid #000000;
  color: #000000;
  background: #f7f7f7;
}

.home-entry-button span {
  min-width: 0;
}

.home-entry-button:visited {
  color: #000000;
}

.home-entry-button::before {
  content: none;
}

.home-entry-button:hover,
.home-entry-button:focus-visible {
  border-color: #000000;
  color: #000000;
  background: #eeeeea;
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 0 #ffffff,
    inset 0 -3px 0 #cfcfc7,
    0 5px 0 #000000;
}

.home-entry-button:hover::before,
.home-entry-button:focus-visible::before {
  color: #000000;
}

.home-entry-button:hover .home-entry-icon,
.home-entry-button:focus-visible .home-entry-icon {
  border-color: #000000;
  color: #000000;
  background: #f7f7f7;
}

.home-entry-choice:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -1px 0 #cfcfc7,
    0 1px 0 #000000;
}

.home-entry-button.home-shortcut-button {
  position: relative;
  min-height: 52px;
  margin: 0;
  padding: 9px 32px 9px 10px;
  border: 2px solid #000000;
  border-radius: 5px;
  color: #000000;
  font-size: var(--text-table);
  background: #f4f4ee;
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -3px 0 #cfcfc7,
    0 4px 0 #000000;
}

.home-entry-button.home-shortcut-button:hover,
.home-entry-button.home-shortcut-button:focus-visible {
  border-color: #000000;
  color: #000000;
  background: #eeeeea;
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -2px 0 #cfcfc7,
    0 3px 0 #000000;
}

.home-entry-button.home-shortcut-button:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 0 0 #000000;
}

.declaration-thesis {
  max-width: 860px;
  margin: 0 0 12px;
  font-size: var(--text-large);
  font-weight: 700;
  line-height: 1.4;
}

.home-team-section {
  margin-top: 10px;
  padding-top: 0;
}

.home-team-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 0 0 6px;
}

.home-team-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin: 0;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: #000000;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  background: #ffffff;
}

.home-team-note {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.25;
}

.people-list {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  border: 1px solid var(--rule);
  list-style: none;
}

.people-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.48fr) minmax(0, 1fr);
  gap: 8px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--soft);
  font-size: var(--text-xs);
  line-height: 1.25;
}

.people-list li:last-child {
  border-bottom: 0;
}

.home-team-section .compact-people-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px;
  margin-top: 0;
  border: 0;
}

.home-team-section .compact-people-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 58px;
  padding: 7px 8px;
  border: 1px solid var(--rule);
  background: #ffffff;
  box-shadow: 1px 1px 0 #000000;
}

.home-legal-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 8px;
  padding-top: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.home-legal-strip a {
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.home-legal-strip a:visited {
  color: #000000;
}

.home-legal-strip a:hover,
.home-legal-strip a:focus-visible {
  border-bottom-color: #000000;
}

.home-visitor-counter {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  margin: 5px 0 0 auto;
  padding: 0;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
}

.home-visitor-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-visitor-digits {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #333333;
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: right;
  justify-content: flex-end;
  background: transparent;
}

.person-name {
  font-weight: 700;
}

.person-affiliation,
.person-focus {
  color: #111111;
}

.team-table {
  max-width: 720px;
  line-height: 1.28;
}

.team-table th,
.team-table td {
  padding: 4px 7px;
}

.team-table th:first-child,
.team-table td:first-child {
  width: 150px;
  white-space: nowrap;
}

.home-key-visual {
  position: relative;
  width: min(430px, 100%);
  margin: 12px auto 20px;
}

.benchmark-key-visual {
  margin-top: 16px;
}

.home-stamp-visual {
  width: min(680px, 100%);
  margin: 8px auto 16px;
}

.home-main-visual {
  width: min(780px, 100%);
  margin: 8px auto 16px;
  background: #ffffff;
}

.home-key-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--rule);
  background: #ffffff;
}

.home-key-visual.home-main-visual img {
  border: 0;
}

.home-stamp-visual img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.home-stamp-visual figcaption {
  width: min(520px, 100%);
}

.home-key-visual figcaption {
  display: grid;
  gap: 2px;
  width: min(360px, 100%);
  margin: 7px auto 0;
  padding: 6px 8px;
  border-top: 1px solid var(--soft);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  line-height: 1.35;
  text-align: center;
}

.home-key-visual figcaption span:first-child {
  color: #000000;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.condition-filter-panel {
  position: relative;
  z-index: 30;
  display: block;
  margin: 16px 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.condition-filter-shell {
  position: relative;
  display: block;
  max-width: none;
}

.condition-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #000000;
  color: #000000;
  background: #f2f2ec;
  font: inherit;
  font-size: var(--text-table);
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 2px 0 #000000;
}

.condition-filter-shell.is-open .condition-filter-toggle {
  background: #ffffff;
  transform: translateY(1px);
  box-shadow: 0 1px 0 #000000;
}

.condition-filter-popover {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr) auto;
  gap: 8px 10px;
  align-items: center;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--soft);
  background: #ffffff;
  box-shadow: none;
}

.condition-filter-message,
.condition-filter-current {
  margin: 0;
  color: #333333;
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.35;
}

.condition-filter-message {
  display: grid;
  gap: 2px;
  min-width: 0;
  white-space: normal;
}

.condition-filter-message strong {
  color: #000000;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.condition-filter-message span {
  color: #333333;
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.25;
}

.condition-filter-current {
  min-width: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.condition-filter-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 5px;
  min-width: 0;
  justify-items: stretch;
  text-align: center;
}

.condition-filter-label {
  color: #000000;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.condition-filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.condition-filter-button,
.condition-filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  color: #000000;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: var(--text-table);
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: var(--button-shadow-small);
}

.condition-filter-button:hover,
.condition-filter-button:focus-visible,
.condition-filter-clear:hover,
.condition-filter-clear:focus-visible {
  background: var(--button-hover);
  box-shadow: var(--button-shadow-small);
}

.condition-filter-button.selected {
  background: #dddddd;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.28);
  transform: translateY(1px);
}

.condition-filter-clear:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  background: #ffffff;
  box-shadow: var(--button-shadow-small);
}

.best-pick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.best-pick-grid > .technical-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px;
  background: #ffffff;
}

.best-pick-overall-row {
  display: grid;
  grid-template-columns: minmax(0, min(360px, 100%));
  justify-content: center;
  min-width: 0;
}
