@font-face { font-family: "PlliTitleA"; src: url("fonts/orbitron-title.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { color-scheme: dark; --bg: #101320; --text: #f3f0fb; --muted: #b6b6cd; --line: #ffffff19; --lilac: #cdc0ff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navigation-height, 66px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "맑은 고딕", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lilac); outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px 20px; background: #fff; color: #101320; z-index: 5; }
.skip-link:focus { top: 10px; }
.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; font-size: 20px; font-weight: 700; letter-spacing: -.8px; }
.brand-logos { display: flex; align-items: center; gap: 8px; }
.brand-logo { display: block; width: auto; height: 41px; }
.brand-logo:nth-of-type(2) { height: 46px; }
.brand-times { font-size: 15px; font-weight: 300; color: var(--muted); }
.scroll-controls { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 11; display: flex; flex-direction: column; gap: 4px; width: 36px; }
.scroll-controls.is-inactive { visibility: hidden; pointer-events: none; }
.scroll-controls button { width: 36px; height: 36px; padding: 0; border: 1px solid #cdc0ff45; border-radius: 10px; background: #191d2ef2; color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; touch-action: manipulation; }
.scroll-controls button:disabled { opacity: .3; cursor: default; }
@media (max-width: 600px) { .scroll-controls { right: 8px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); } }
.brand-title { font-family: "PlliTitleA", sans-serif; font-size: 21px; letter-spacing: .2px; white-space: nowrap; }
.private-label { color: var(--muted); font-size: 12px; border: 1px solid var(--line); border-radius: 30px; padding: 6px 14px; }
.navigation { display: flex; border-block: 1px solid var(--line); gap: 42px; }
.navigation a, .navigation button { position: relative; display: flex; gap: 12px; align-items: center; padding: 19px 0; background: none; border: 0; color: var(--muted); white-space: nowrap; }
.navigation a { color: var(--text); font-weight: 700; }
.navigation a::after { content: ""; height: 2px; position: absolute; bottom: -1px; width: 100%; background: var(--lilac); }
.navigation span { font-size: 10px; font-weight: 400; color: var(--muted); }
.navigation a span { color: var(--lilac); }
.navigation button:disabled { cursor: default; opacity: .75; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 70px 0 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.3px; color: var(--lilac); margin: 0 0 22px; }
h1 { font-size: clamp(38px, 4.4vw, 60px); font-weight: 500; letter-spacing: -3px; line-height: 1.3; margin: 0; }
h1 em { font-style: normal; color: var(--lilac); }
.hero-description { color: var(--muted); margin: 24px 0 30px; line-height: 1.9; }
.hero-bottom { grid-column: 1 / -1; margin-top: 54px; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; color: #a4a3bb; font-size: 11px; letter-spacing: .7px; }
.hero-bottom span:last-child { font-size: 9px; letter-spacing: 2px; }
.members-section { padding: 58px 0 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading .eyebrow { margin-bottom: 10px; }
h2 { margin: 0; font-size: 30px; letter-spacing: -1.3px; font-weight: 600; }
.member-count { color: var(--muted); font-size: 11px; letter-spacing: 1px; white-space: nowrap; }
.section-description { color: var(--muted); margin: 12px 0 30px; font-size: 13px; }
.member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.member-card { --accent: #b9c7ee; background: #191d2e; border: 1px solid #ffffff15; border-radius: 14px; overflow: hidden; }
.member-card:nth-child(2) { --accent: #c8b4e9; }.member-card:nth-child(3) { --accent: #e3bacc; }.member-card:nth-child(4) { --accent: #dbbab0; }.member-card:nth-child(5) { --accent: #b9ceca; }
.portrait-placeholder { height: 178px; position: relative; overflow: hidden; background: linear-gradient(140deg, #ffffff09, #ffffff00), #20263a; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--accent); border-bottom: 1px solid var(--line); }
.portrait-placeholder::before, .portrait-placeholder::after { content: ""; position: absolute; width: 240px; height: 92px; border: 1px solid currentColor; opacity: .16; border-radius: 50%; transform: rotate(-25deg); }
.portrait-placeholder::after { transform: rotate(35deg); width: 185px; height: 130px; }
.card-number { position: absolute; top: 16px; left: 20px; font-family: Georgia, serif; font-size: 14px; }
.portrait { position: relative; color: var(--accent); border-bottom: 1px solid var(--line); }
.portrait-image { display: block; width: 100%; height: 178px; object-fit: cover; object-position: 50% 22%; background: #20263a; }
.portrait .card-number { text-shadow: 0 1px 4px #0b0e18cc; }
.portrait-initial { font-family: Georgia, serif; font-size: 72px; font-style: italic; line-height: 1.1; opacity: .9; }
.portrait-label { font-size: 9px; letter-spacing: 2px; margin-top: 10px; }
.card-content { padding: 23px; }
.name-line { display: flex; align-items: baseline; gap: 12px; }
.name-line h3 { font-size: 24px; letter-spacing: -1px; margin: 0; }
.english-name { color: var(--accent); letter-spacing: 2px; font-size: 10px; }
.member-intro { color: #c6c6d7; font-size: 13px; min-height: 45px; margin: 13px 0 18px; word-break: keep-all; }
dl { border-top: 1px solid var(--line); margin: 0; padding-top: 15px; font-size: 12px; }
.fact-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; margin-bottom: 12px; }
dt { color: #a6a9c1; }dd { margin: 0; word-break: keep-all; }
.pending { display: inline-block; font-size: 11px; color: #dacbad; border: 1px solid #dacbad33; background: #dacbad08; border-radius: 4px; padding: 0 7px; }
.tag { display: inline-block; margin-left: 6px; font-size: 10px; letter-spacing: .3px; border-radius: 4px; padding: 0 6px; white-space: nowrap; }
.tag-unofficial { color: #a6a9c1; border: 1px solid #a6a9c133; background: #a6a9c10d; }
.tag-conflict { color: #dacbad; border: 1px solid #dacbad33; background: #dacbad08; }
.sources { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); color: #aaaec6; font-size: 11px; }
.sources summary { cursor: pointer; padding: 3px 0; }
.sources ul { padding-left: 18px; }.sources li { margin: 7px 0; }.sources a { text-decoration: underline; text-underline-offset: 3px; }.sources p { margin-bottom: 0; }
.editor-note { display: flex; gap: 20px; margin-top: 30px; border: 1px solid var(--line); border-radius: 10px; padding: 23px 26px; background: #c5b8fc04; }
.note-mark { color: var(--lilac); font-size: 27px; }.editor-note h3 { font-size: 13px; margin: 0 0 5px; font-weight: 600; }.editor-note p { color: var(--muted); margin: 0; font-size: 12px; }.editor-note .small { margin-top: 5px; font-size: 11px; }
.data-error { padding: 20px; color: #ffd4c8; border: 1px solid #ffd4c844; border-radius: 8px; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0 40px; font-size: 11px; color: var(--muted); }.site-footer > span { color: #d7d2e7; }.site-footer p { margin: 0; }.site-footer a { white-space: nowrap; }

@media (max-width: 1000px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wrap {
    width: calc(100% - 48px);
  }
  .navigation {
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 88px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-logo {
    height: 32px;
  }
  .brand-logo:nth-of-type(2) { height: 36px; }
  .brand { column-gap: 10px; }
  .brand-title { font-size: clamp(13px, 4vw, 19px); letter-spacing: 0; }
  .private-label {
    display: none;
  }
  .navigation {
    justify-content: space-between;
    gap: 8px;
  }
  .navigation a, .navigation button {
    gap: 5px;
    font-size: 12px;
    padding: 16px 0;
  }
  .navigation span {
    font-size: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }
  .eyebrow {
    font-size: 10px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-bottom {
    margin-top: 26px;
    font-size: 10px;
  }
  .hero-bottom span:last-child {
    display: none;
  }
  .members-section {
    padding-top: 36px;
  }
  h2 {
    font-size: 24px;
  }
  .member-count {
    font-size: 9px;
  }
  .member-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portrait-placeholder, .portrait-image {
    height: 170px;
  }
  .member-intro {
    min-height: 0;
  }
  .editor-note {
    gap: 13px;
    padding: 20px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 본문이 비치지 않는 고정 메뉴. 실제 높이는 ResizeObserver로 앵커 여백에 반영해. */
nav.navigation { position: sticky; top: 0; z-index: 10; background: var(--bg); flex-wrap: nowrap; }
.navigation a { color: var(--muted); }
.navigation a[aria-current] { color: var(--text); }
.navigation a:not([aria-current])::after { display: none; }
.content-page h1 { font-size: 30px; letter-spacing: -1.3px; font-weight: 600; }
.content-page > section { padding-top: 54px; }
@media (max-width: 600px) {
  .content-page h1 { font-size: 24px; }
  .content-page > section { padding-top: 36px; }
}
main section[id] { scroll-margin-top: 16px; }
.skip-link { z-index: 20; }
@media (max-width: 390px) {
  .navigation { gap: 10px; }
  .navigation a, .navigation button { min-height: 44px; padding: 10px 0; font-size: 11px; }
  .navigation span { display: none; }
}

/* 카드 목록은 이 공통 클래스를 붙여. 행별 접힌 높이는 card-grid.js가 맞춰. */
.card-grid { display: grid; align-items: start; }
.card-grid > * { min-width: 0; }
