/* 양경수 아카이브 (비공식 팬페이지)
   첫 화면은 아이돌 팬사이트처럼 큰 사진과 응원색(2번 오렌지) 띠로 꾸민다.
   제목은 굵은 고딕, 어록과 손편지는 명조로 쓰고, 남색 바탕에 선본 전단(2026-10-29)의 주황을 응원색으로 쓴다. */

:root {
  --night: #141b2d; /* 선본 조끼의 남색에서 가져온 바탕 */
  --night-2: #1f2840;
  --orange: #ec6618;
  --orange-ink: #b4440a; /* 흰 바탕 위 글자용 */
  --orange-glow: #ff9150; /* 남색 바탕 위 글자용 */
  --ink: #14182b;
  --muted: #565b69;
  --paper: #ffffff;
  --panel: #f2f2f0;
  --line: #d9d9dc;
  --letter: #f4f1ea;

  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --display: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; /* 팬페이지 제목용 굵은 고딕 */
  --body: 'IBM Plex Sans KR', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --wrap: 1160px;
  --narrow: 760px;
  --gutter: 16px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 8px;
  z-index: 10;
  background: var(--orange);
  color: var(--ink);
  padding: 8px 12px;
}

.wrap,
.wrap-narrow {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
}
.wrap-narrow {
  max-width: calc(var(--narrow) + 2 * var(--gutter));
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin: 0;
}

/* ─────────────── 머리와 꼬리 ─────────────── */

.site-header {
  background: var(--night);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* 휴대폰에서는 머리글이 두 줄이라 붙여 두면 화면을 너무 많이 가린다. */
@media (min-width: 700px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 5;
  }
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 10px;
}
.wordmark {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.wordmark-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}
.wordmark-tag {
  font-size: 0.75rem;
  color: var(--orange-glow);
}
.site-nav {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -8px;
}
.site-nav a {
  padding: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
  color: #c3c8d6;
}
.site-nav a:hover {
  color: #fff;
}
.site-nav a[aria-current='page'] {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--orange);
}

.site-footer {
  background: var(--night);
  color: #c3c8d6;
  margin-top: 88px;
  padding-block: 40px 56px;
  font-size: 0.9375rem;
}
.footer-inner p {
  margin: 0 0 4px;
}
.footer-name {
  font-family: var(--serif);
  font-weight: 900;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 12px !important;
}
.footer-note {
  margin-top: 16px !important;
  color: #8e95a8;
  max-width: 52em;
}
.footer-note a {
  color: var(--orange-glow);
}

/* ─────────────── 팬페이지 첫 화면 ─────────────── */

.fanhero {
  position: relative;
  background: var(--night);
  color: #fff;
  overflow: hidden;
}
/* 휴대폰에서는 사진을 위에 두고, 얼굴을 가리지 않도록 이름은 사진 아래 끝에 걸친다.
   사진 여러 장을 겹쳐 두고 is-on 이 붙은 한 장만 보인다(hero.js). */
.fanhero-slides {
  position: relative;
  height: 440px;
}
.fanhero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.fanhero-photo.is-on {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .fanhero-photo {
    transition: none;
  }
}
.fanhero-dots {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 27, 45, 0.55);
}
.fanhero-dots [data-slide] {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.3s ease;
}
.fanhero-dots [data-slide][aria-current] {
  width: 22px;
  background: var(--orange);
}
.fanhero-pause {
  margin-left: 4px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}
.fanhero-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.fanhero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 27, 45, 0) 0, rgba(20, 27, 45, 0) 260px, var(--night) 440px);
  pointer-events: none;
}
.fanhero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: -96px;
  padding-bottom: 36px;
}
.fanhero-kicker {
  margin: 0 0 10px;
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--orange-glow);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--orange-glow);
}
.fanhero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.25rem, 13vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.fanhero-line {
  margin: 18px 0 0;
  max-width: 28em;
  font-size: 1.0625rem;
  color: #dfe3ec;
}
.fanhero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn.btn-fan {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  min-height: 52px;
  padding-inline: 24px;
}
.btn.btn-fan:hover {
  background: var(--orange-glow);
}

.vote-badge {
  margin-top: 28px;
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: rgba(20, 27, 45, 0.72);
  max-width: 26rem;
}
.vote-badge p {
  margin: 0;
}
.vote-badge-status {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--orange-glow);
}
.vote-badge-range {
  font-weight: 700;
  margin-top: 4px !important;
}
.vote-badge-sub {
  font-size: 0.875rem;
  color: #c3c8d6;
}
@media (min-width: 900px) {
  .fanhero {
    min-height: 680px;
    display: flex;
    align-items: flex-end;
  }
  /* 넓은 화면에서는 사진을 오른쪽에 두고 왼쪽에 이름을 쓴다. */
  .fanhero-slides {
    position: absolute;
    inset: 0 0 0 auto;
    height: 100%;
    width: 64%;
  }
  .fanhero-dots {
    top: auto;
    bottom: 20px;
  }
  .fanhero::after {
    background: linear-gradient(90deg, var(--night) 36%, rgba(20, 27, 45, 0.6) 46%, rgba(20, 27, 45, 0) 62%),
      linear-gradient(0deg, var(--night) 0%, rgba(20, 27, 45, 0) 30%);
  }
  .fanhero-inner {
    margin-top: 0;
    padding-block: 120px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'kicker kicker' 'title title' 'line badge' 'actions badge';
    column-gap: 40px;
    align-items: end;
  }
  .fanhero-kicker {
    grid-area: kicker;
    justify-self: start;
  }
  .fanhero-title {
    grid-area: title;
  }
  .fanhero-line {
    grid-area: line;
  }
  .fanhero-actions {
    grid-area: actions;
  }
  .vote-badge {
    grid-area: badge;
    margin: 0;
  }
}

/* 첫 화면에 한 번만: 이름이 조명을 받듯 떠오른다. */
@media (prefers-reduced-motion: no-preference) {
  .fanhero-title {
    animation: title-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  @keyframes title-in {
    from {
      transform: translateY(16px);
      filter: blur(8px);
    }
    to {
      transform: none;
      filter: blur(0);
    }
  }
}

/* 입덕 가이드 카드 */
.guide {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .guide {
    grid-template-columns: repeat(3, 1fr);
  }
}
.guide a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.guide-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--night);
  overflow: hidden;
}
.guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.4s ease;
}
.guide a:hover .guide-img img {
  transform: scale(1.03);
}
.guide-title {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.guide-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 6px;
  background: var(--orange);
}
.guide-text {
  margin-top: 6px;
  color: var(--muted);
}

.why p {
  font-size: 1.0625rem;
  line-height: 1.85;
}

.debut {
  position: relative;
  display: block;
  margin-top: 16px;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  background: var(--night);
  overflow: hidden;
  text-decoration: none;
}
.debut img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.debut::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 27, 45, 0.9) 0%, rgba(20, 27, 45, 0) 55%);
}
.debut-text {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
}
.debut .play {
  z-index: 1;
}

/* ─────────────── 버튼과 조각 ─────────────── */

.btn {
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--panel);
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--night-2);
}
.btn-play {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  min-height: 52px;
  padding-inline: 22px;
}
.btn-play::before {
  content: '';
  border-left: 12px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.btn-play:hover {
  background: var(--orange-glow);
}
.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.btn-orange:hover {
  background: var(--orange-glow);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  min-height: 52px;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-kakao {
  background: #fee500;
  border-color: #fee500;
  color: #191919;
}
.btn-kakao:hover {
  background: #f5dc00;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #b9bcc6;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
}
.chip:hover {
  border-color: var(--ink);
}
.chip span {
  color: var(--muted);
  font-size: 0.8125rem;
}
.chip-issue {
  border-color: var(--orange);
}
.chips-active {
  margin: 0 0 16px;
  align-items: center;
}
.chip-remove span {
  font-size: 1rem;
  color: var(--ink);
}
.clear {
  font-size: 0.875rem;
  color: var(--muted);
}

.pending {
  display: inline-block;
  padding: 2px 8px;
  border: 2px dashed #c9b800;
  background: #fffbcc;
  color: #4a4300;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
.draft {
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  padding: 0 6px;
  border-radius: 2px;
}
.empty {
  color: var(--muted);
  padding: 24px 0;
}
.source {
  font-size: 0.8125rem;
  color: var(--orange-ink);
}

/* ─────────────── 구획 ─────────────── */

.section {
  padding-top: 64px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}
.more {
  flex: none;
  font-size: 0.9375rem;
  color: var(--orange-ink);
  font-weight: 500;
}
.section-lead {
  color: var(--muted);
  margin: 12px 0 8px;
}
.more-line {
  margin-top: 16px;
}
.more-line a {
  color: var(--orange-ink);
  font-weight: 500;
}

.section-dark {
  background: var(--night);
  color: #fff;
  margin-top: 64px;
  padding-bottom: 64px;
}
.section-dark .section-head {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.page-head {
  padding-top: 44px;
  padding-bottom: 16px;
}
.page-kicker {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange-ink);
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.03em;
}
.page-count {
  margin: 4px 0 0;
  color: var(--muted);
}
.page-lead {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 40em;
}

/* ─────────────── 기획의도와 관전 포인트 ─────────────── */

.intent p {
  max-width: 38em;
  font-size: 1.125rem;
  line-height: 1.85;
  margin: 0 0 14px;
}
.intent-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.375rem, 3.4vw, 1.75rem);
  margin: 12px 0 16px;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.points li {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.points li + li {
  border-top: 1px solid var(--line);
}
.points strong {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1.35;
}
.points span {
  color: var(--muted);
}
@media (min-width: 800px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
  }
  .points li {
    padding: 8px 24px 8px 0;
  }
  .points li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 24px;
  }
}

/* ─────────────── 양경수의 말 ─────────────── */

.quotes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 40px;
}
@media (min-width: 800px) {
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}
.quotes blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.375rem, 3.4vw, 1.875rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.quotes blockquote::before {
  content: '“';
  display: block;
  color: var(--orange);
  font-size: 1.8em;
  line-height: 0.6;
  margin-bottom: 4px;
}
@media (min-width: 800px) {
  .quotes blockquote::before {
    font-size: 2.5em;
    margin-bottom: 8px;
  }
}
.quotes p {
  margin: 10px 0 0;
  font-size: 0.875rem;
}
.quotes a {
  color: #a9b0c2;
}

/* ─────────────── 후보 ─────────────── */

.cast-strip {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cast-strip a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.cast-strip img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--orange);
  width: 100%;
}
.cast-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  margin-top: 8px;
}
.cast-role {
  font-size: 0.8125rem;
  color: var(--muted);
}

.people {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 40px;
}
.person {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .person {
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
  }
}
.person-photo {
  aspect-ratio: 4 / 5;
  background: var(--orange);
  overflow: hidden;
  max-width: 280px;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-photo span {
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
}
.person-role {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  color: var(--orange-ink);
}
.person-name {
  margin: 2px 0 10px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.person-desc {
  margin: 0 0 12px;
  font-size: 1.0625rem;
  max-width: 36em;
}
.person-career {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ─────────────── 손편지 ─────────────── */

.letter-section {
  background: var(--night);
  margin-top: 64px;
  padding-bottom: 64px;
  color: #fff;
}
.letter-heading {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2rem);
}
.letter-lead {
  margin: 6px 0 0;
  color: #a9b0c2;
}
.letter {
  margin-top: 22px;
  background: var(--letter);
  color: #24242a;
  padding: clamp(22px, 5vw, 48px);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 2.6vw, 1.1875rem);
  line-height: 1.95;
}
.letter p {
  margin: 0 0 1.1em;
}
.letter-sign {
  text-align: right;
  font-weight: 600;
  margin: 1.4em 0 0 !important;
}
.letter-original {
  margin: 16px 0 0;
  font-size: 0.9375rem;
}
.letter-original a {
  color: var(--orange-ink);
}
.letter-section .letter-original a {
  color: var(--orange-glow);
}

/* ─────────────── 우리 현장의 기록 ─────────────── */

.find {
  background: var(--panel);
  margin-top: 64px;
  padding-block: 44px;
}
.find-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.625rem, 4.6vw, 2.25rem);
  letter-spacing: -0.02em;
}
.find-lead {
  margin: 8px 0 20px;
  color: var(--muted);
}
.find-form,
.filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.find-form .btn {
  grid-column: 1 / -1;
}
@media (min-width: 700px) {
  .find-form {
    grid-template-columns: 1fr 1fr auto;
    max-width: 720px;
  }
  .find-form .btn {
    grid-column: auto;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 0;
}
.field select,
.field input {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9bcc6;
  border-radius: 4px;
  padding: 10px 12px;
  min-height: 46px;
  width: 100%;
}

.filter {
  margin-bottom: 16px;
}
.filter .field-q,
.filter .btn {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .filter {
    grid-template-columns: repeat(5, 1fr);
  }
  .filter .field-q {
    grid-column: 1 / 5;
  }
  .filter .btn {
    grid-column: auto;
  }
}

/* ─────────────── 기록 목록 ─────────────── */

.union-filter {
  margin-bottom: 20px;
}
.union-filter fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.union-filter legend {
  font-weight: 700;
  margin-bottom: 8px;
}
.union-filter legend small {
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
}
.chipboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chipbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chipbox span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid #b9bcc6;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 0.9375rem;
}
.chipbox span small {
  color: var(--muted);
}
.chipbox input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chipbox input:checked + span small {
  color: #c3c8d6;
}
.chipbox input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.union-filter-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.row {
  border-bottom: 1px solid var(--line);
}
.row-link {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding: 16px 0;
  text-decoration: none;
}
.row-link:hover .row-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.row-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--night);
  overflow: hidden;
  align-self: start;
}
.row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-kind {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 900;
  color: #8e95a8;
}
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
}
.play::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 11px;
  border-left: 12px solid var(--ink);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.row-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.rec-no {
  font-weight: 700;
  color: var(--orange-ink);
  font-variant-numeric: tabular-nums;
}
.row-title {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.row-summary {
  color: var(--muted);
  font-size: 0.9375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.tag {
  font-size: 0.75rem;
  padding: 1px 8px;
  background: var(--panel);
  border-radius: 2px;
}
.tag-official {
  background: var(--night);
  color: #fff;
}
.tag-kctu {
  background: #e4e7ee;
  color: var(--ink);
}
.tag-fan {
  background: var(--orange);
  color: var(--ink);
}
@media (min-width: 700px) {
  .row-link {
    grid-template-columns: 184px 1fr;
    gap: 20px;
  }
  .row-feature .row-link {
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    padding: 24px 0;
  }
  .row-feature .row-title {
    font-family: var(--serif);
    font-weight: 900;
    font-size: 1.625rem;
  }
  .row-feature .row-summary {
    -webkit-line-clamp: 4;
  }
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.pager a,
.pager span {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  text-decoration: none;
}
.pager a[rel] {
  padding: 0 12px;
}
.pager span[aria-current] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pager .pager-gap {
  min-width: 20px;
  border: 0;
}
@media (max-width: 480px) {
  .pager {
    gap: 4px;
  }
  .pager a,
  .pager span {
    min-width: 34px;
  }
  .pager a[rel] {
    padding: 0 8px;
  }
  .pager .pager-gap {
    min-width: 14px;
  }
}

/* ─────────────── 기록 상세 ─────────────── */

.record {
  padding-top: 36px;
}
.record-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.record-meta a {
  color: var(--orange-ink);
}
.record-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.record-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.record-lead {
  font-size: 1.125rem;
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
}
.figure {
  margin: 28px 0 0;
}
.figure img {
  width: 100%;
  border: 1px solid var(--line);
}
.figure figcaption {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
}
.embed {
  margin-top: 28px;
  background: var(--panel);
  min-height: 200px;
}
.embed-portrait {
  max-width: 360px;
  background: var(--night);
}
.embed-fallback {
  font-size: 0.875rem;
  color: var(--muted);
}
.prose {
  margin-top: 24px;
  font-size: 1.0625rem;
  line-height: 1.85;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.375rem;
  margin: 36px 0 8px;
}
.prose p,
.prose ul {
  margin: 0 0 16px;
}
.prose ul {
  padding-left: 1.25em;
}
.prose blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: var(--panel);
}
.prose a,
.record-link a {
  color: var(--orange-ink);
}
.record-link {
  margin-top: 20px;
  font-weight: 500;
}
.record-tags {
  margin-top: 32px;
}
.record-tags-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}
.record-tags .chips {
  margin-top: 8px;
}

/* ─────────────── 공유 ─────────────── */

.share {
  max-width: 760px;
  margin-top: 40px;
  padding: 20px;
  background: var(--panel);
  border-top: 4px solid var(--orange);
}
.share-label {
  margin: 0 0 12px;
  font-weight: 700;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-buttons .btn {
  flex: 1 1 140px;
}
.share-status {
  margin: 8px 0 0;
  min-height: 1.5em;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ─────────────── 연표 ─────────────── */

.year {
  margin-top: 28px;
}
.year-label {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--orange-ink);
  letter-spacing: -0.02em;
}

.timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--ink);
}
.timeline li {
  position: relative;
  padding: 0 0 24px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 2px solid #fff;
  outline: 2px solid var(--ink);
}
.timeline time {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}
.timeline a {
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.timeline a:hover {
  text-decoration: underline;
}
.timeline p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ─────────────── 쟁점 해설 ─────────────── */

.issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.issue-list li {
  border-bottom: 1px solid var(--line);
}
.issue-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  text-decoration: none;
}
.issue-list a:hover .issue-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.issue-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.3125rem;
}
.issue-summary {
  color: var(--muted);
}
.issue-count {
  font-size: 0.8125rem;
  color: var(--orange-ink);
  font-weight: 500;
}

/* ─────────────── 공약 ─────────────── */

.agenda {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.agenda li {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.agenda li::before {
  content: '';
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: no-repeat center / 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23ec6618' stroke-width='2.5'/%3E%3C/svg%3E");
}
.agenda-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1.3;
}
.agenda-detail {
  font-weight: 700;
  font-size: 1.0625rem;
}
@media (min-width: 800px) {
  .agenda {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}

.pledge-hero {
  background: var(--night);
  color: #fff;
  padding-block: 48px 52px;
}
.pledge-hero .page-kicker {
  color: var(--orange-glow);
}
.pledge-headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 6.5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.pledge-intro {
  margin-top: 24px;
  max-width: 36em;
  font-size: 1.0625rem;
  color: #d5d9e3;
}
.pledge-intro p {
  margin: 0 0 4px;
}
.pledge-note {
  margin: 18px 0 0;
  font-size: 0.875rem;
  color: #a9b0c2;
}

.section-survey {
  padding-bottom: 8px;
}
.survey {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 32px;
  align-items: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-block: 24px;
}
.survey-value {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  color: var(--orange-ink);
  font-size: clamp(4.5rem, 16vw, 8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.survey h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.5rem;
}
.survey p {
  margin: 4px 0 0;
}
.survey-source {
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (min-width: 700px) {
  .survey {
    grid-template-columns: auto 1fr;
  }
}

.principles {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.principles li {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  padding: 10px 18px;
  border: 2px solid var(--ink);
}

.roadmap {
  max-width: 760px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.roadmap li {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.roadmap-when {
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  padding: 6px 10px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
.roadmap li:first-child .roadmap-when {
  background: var(--orange);
  color: var(--ink);
}
.roadmap-what {
  font-weight: 500;
}

.policies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 40px;
}
@media (min-width: 800px) {
  .policies {
    grid-template-columns: repeat(2, 1fr);
  }
}
.policy {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.policy h3 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.policy ul {
  margin: 0;
  padding-left: 1.1em;
}
.policy li {
  margin-bottom: 4px;
}
.policy li::marker {
  color: var(--orange);
}

.donation {
  max-width: 760px;
  border: 2px solid var(--ink);
  padding: 20px;
}
.donation h2 {
  font-size: 1.0625rem;
}
.donation-account {
  margin: 8px 0 14px;
  font-size: 1.125rem;
}
.donation-account strong {
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* ─────────────── 묻습니다 ─────────────── */

.ask-hero {
  background: var(--night);
  color: #fff;
  padding-block: 48px 52px;
}
.ask-hero .page-kicker {
  color: var(--orange-glow);
}
.ask-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.125rem, 7vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ask-title {
  max-width: 14em;
}
.ask-lead {
  margin: 18px 0 0;
  max-width: 30em;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.125rem, 2.8vw, 1.375rem);
  line-height: 1.5;
}
.ask-sub {
  margin: 12px 0 0;
  max-width: 34em;
  color: #d5d9e3;
}
.ask-teaser-lead {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1875rem;
}
.ask-stats {
  display: flex;
  gap: 32px;
  margin: 24px 0 0;
}
.ask-stats div {
  display: flex;
  flex-direction: column-reverse;
}
.ask-stats dt {
  font-size: 0.875rem;
  color: #a9b0c2;
}
.ask-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--orange-glow);
}
.ask-steps {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  counter-reset: step;
  max-width: 900px;
}
@media (min-width: 760px) {
  .ask-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ask-steps li {
  counter-increment: step;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ask-steps li::before {
  content: counter(step);
  font-family: var(--serif);
  font-weight: 900;
  color: var(--orange-glow);
  font-size: 1.25rem;
}
.ask-steps span {
  font-size: 0.875rem;
  color: #a9b0c2;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 12px;
}
.tabs a {
  padding: 6px 14px;
  border: 1px solid #b9bcc6;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
}
.tabs a[aria-current='page'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.qcards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 800px) {
  .qcards {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-ask .qcards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.qcard a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
}
.qcard a:hover {
  border-color: var(--ink);
}
.qcard.is-answered a {
  border-left: 4px solid var(--orange);
}
.qcard-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8125rem;
}
.qno {
  font-weight: 700;
  color: var(--orange-ink);
  font-variant-numeric: tabular-nums;
}
.qstate {
  color: var(--muted);
}
.is-answered .qstate {
  color: var(--ink);
  font-weight: 700;
}
.qtext {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.qmeta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.qtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.topic-chips {
  margin: 0 0 16px;
}
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip.is-on span {
  color: #c3c8d6;
}
.answer-via {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.answer-via a {
  color: var(--orange-ink);
}

.section-ask {
  background: var(--panel);
  padding-bottom: 56px;
}
.ask-cta {
  margin: 20px 0 0;
}

.notice {
  padding: 12px 16px;
  margin: 8px 0 16px;
  font-weight: 500;
}
.notice-ok {
  background: #eef7ee;
  border-left: 4px solid #2f7d32;
}
.notice-error {
  background: #fdeeee;
  border-left: 4px solid #b3261e;
}

.ask-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 16px;
}
@media (min-width: 640px) {
  .ask-form {
    grid-template-columns: 1fr 1fr;
  }
}
.ask-form .field-full,
.ask-form .check.field-full {
  grid-column: 1 / -1;
}
.field small {
  font-weight: 400;
  color: var(--muted);
}
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid #b9bcc6;
  border-radius: 4px;
  padding: 10px 12px;
  width: 100%;
  resize: vertical;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9375rem;
  align-self: center;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--orange);
}
.hp {
  position: absolute;
  left: -9999px;
}
.ask-privacy {
  margin: 20px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.ask-privacy a {
  color: var(--orange-ink);
}
.ask-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.question-text {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.4vw, 2.125rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.question-text::before {
  content: 'Q.';
  color: var(--orange);
  margin-right: 8px;
}
.metoo {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.metoo .btn span {
  color: var(--orange-ink);
}
.metoo-done {
  font-size: 0.875rem;
  color: var(--muted);
}
.answer {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  background: var(--panel);
}
.answer-label {
  margin: 0;
  font-weight: 700;
  color: var(--orange-ink);
}
.answer .prose {
  margin-top: 8px;
}
.answer-wait {
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px dashed var(--muted);
  color: var(--muted);
}

/* ─────────────── 사진 ─────────────── */

.pgrid,
.pstrip {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pgrid {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .pgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .pgrid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pstrip {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .pstrip {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ptile a {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--panel);
}
.ptile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.ptile a:hover img {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .ptile img {
    transition: none;
  }
}
.photo-callout {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  background: #fff7f1;
  max-width: 760px;
}
.photo-callout p {
  margin: 0;
}
.photo-callout-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 4px !important;
}
.photo-callout a,
.photo-ask a {
  color: var(--orange-ink);
  font-weight: 500;
}
.photo-credit {
  font-size: 0.875rem;
  color: var(--muted);
}
.photo-credit a {
  color: var(--orange-ink);
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 13, 22, 0.94);
  color: #fff;
}
.lightbox::backdrop {
  background: rgba(10, 13, 22, 0.94);
}
.lightbox figure {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 20px;
  gap: 12px;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
}
.lightbox figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-width: 760px;
  text-align: center;
  font-size: 0.9375rem;
}
.lb-caption {
  font-weight: 500;
}
.lb-meta {
  color: var(--orange-glow);
  font-weight: 700;
}
.lb-basis {
  font-size: 0.8125rem;
  color: #a9b0c2;
}
.lb-basis a {
  color: #c3c8d6;
}
.lb-count {
  color: #a9b0c2;
  font-variant-numeric: tabular-nums;
}
.lightbox button {
  position: absolute;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.lightbox button:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lb-prev {
  left: 12px;
  top: 50%;
}
.lb-next {
  right: 12px;
  top: 50%;
}
.lb-close {
  right: 12px;
  top: 12px;
}

@media print {
  .site-header,
  .share,
  .site-footer {
    display: none;
  }
}

/* ─────────────── 팬페이지 제목 글꼴 ─────────────── */
/* 제목은 굵은 고딕으로 통일하고, 명조는 어록과 손편지, 본문 글에만 남긴다. */
.wordmark-title,
.footer-name,
.section-head h2,
.page-head h1,
.find-title,
.person-name,
.cast-name,
.ask-title,
.pledge-headline {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
}
