/* K리그 유스 가이드북 — 공용 스타일 (브랜드 고정 단일 테마) */
:root {
  --navy: #001c48;
  --navy-deep: #001334;
  --navy-soft: #e7edf7;
  --navy-mid: #123467;
  --red: #ee2529;
  --red-soft: #fdecec;
  --red-deep: #c01418;
  --white: #ffffff;
  --ground: #eef1f7;
  --ink: #142543;
  --ink-soft: #4a5b78;
  --ink-faint: #7e8ca6;
  --line: #dde3ee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
.page {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,28,72,.08);
}

/* 상단 바 */
.topbar {
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
}
.topbar img { height: 22px; width: auto; display: block; }
.topbar .btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 999px;
  font-family: inherit; font-size: 12px; font-weight: 500;
  padding: 5px 14px; cursor: pointer; text-decoration: none;
}
.topbar .btn-ghost:hover, .topbar .btn-ghost:focus-visible { background: rgba(255,255,255,.12); outline: none; }

/* 스플래시 */
.splash {
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s;
}
.splash img { width: min(64vw, 300px); height: auto; }
.splash.hide { opacity: 0; pointer-events: none; }

/* 히어로 */
.cover {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 36px 24px 42px;
  overflow: hidden;
}
.cover .swoosh {
  position: absolute; right: -60px; top: -40px;
  width: 220px; height: 340px;
  background: var(--red);
  transform: rotate(24deg) skewX(-14deg);
  opacity: .92;
}
.cover .swoosh2 {
  position: absolute; right: -130px; top: -20px;
  width: 200px; height: 380px;
  background: var(--navy-deep);
  transform: rotate(24deg) skewX(-14deg);
}
.cover > * { position: relative; }
.cover .issue-tag {
  display: inline-block;
  background: #fff; color: var(--navy);
  font-family: "Gothic A1", sans-serif; font-weight: 800;
  font-size: 12px; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 3px;
  margin-bottom: 16px;
}
.cover .kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: .18em;
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
}
.cover h1 {
  font-family: "Gothic A1", sans-serif;
  font-weight: 800;
  font-size: 32px; line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.cover .desc { font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.85); margin: 0; max-width: 30em; }
.cover .date { margin-top: 22px; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: rgba(255,255,255,.6); }

/* 기사 */
article { padding: 40px 24px 8px; scroll-margin-top: 64px; }
article + article { border-top: 8px solid var(--ground); }
.cat {
  display: inline-block;
  font-family: "Gothic A1", sans-serif;
  font-size: 12px; font-weight: 800;
  color: var(--navy-mid);
  background: var(--navy-soft);
  padding: 4px 12px; border-radius: 3px;
  margin-bottom: 14px;
}
article h2 {
  font-family: "Gothic A1", sans-serif;
  font-weight: 800;
  font-size: 23px; line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--navy);
}
.lead { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 20px; line-height: 1.75; }
article p { margin: 0 0 16px; color: var(--ink); }
article h3 {
  font-family: "Gothic A1", sans-serif;
  font-weight: 700; font-size: 16.5px;
  color: var(--navy);
  margin: 30px 0 10px;
}

/* 체크리스트 블록 */
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.7;
}
.checklist li:last-child { border-bottom: none; }
.checklist .n {
  flex: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; font-weight: 500;
  color: var(--navy-mid); background: var(--navy-soft);
  min-width: 24px; height: 24px; border-radius: 999px;
  padding: 0 6px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.checklist li > div { flex: 1; min-width: 0; }
.checklist b { color: var(--navy); }
.checklist small { display: block; color: var(--ink-soft); font-size: 13.5px; }

/* 규정·조항 블록 — 본문과 구분되는 네이비 톤 */
.rule-block {
  background: var(--navy-soft);
  border-left: 3px solid var(--navy-mid);
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  margin: 0 0 12px;
}
.rule-block b {
  display: block;
  font-family: "Gothic A1", sans-serif;
  font-weight: 800; font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 6px;
}
.rule-block p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.rule-block .ref {
  display: inline-block; margin-top: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; color: var(--navy-mid);
  background: rgba(255,255,255,.75);
  border-radius: 3px; padding: 2px 8px;
}

/* 인용 블록 */
.pull {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 18px;
  margin: 26px 0;
}
.pull p {
  font-family: "Gothic A1", sans-serif;
  font-weight: 700; font-size: 17px; line-height: 1.65;
  color: var(--navy); margin: 0;
}
.pull small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-faint); }
.photo-real { border-radius: 10px; overflow: hidden; margin: 0 0 20px; border: 1px solid var(--line); background: #fff; }
.photo-real img { display: block; width: 100%; height: auto; }
.photo-real figcaption { padding: 8px 12px; font-size: 12px; color: var(--ink-faint); }

/* 핵심 요약 */
.summary {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}
.summary .s-label {
  font-family: "Gothic A1", sans-serif; font-weight: 800;
  font-size: 12px; letter-spacing: .1em;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.summary .s-label::before { content: ""; width: 14px; height: 3px; background: var(--red); }
.summary ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.75; }
.summary li { margin-bottom: 7px; color: rgba(255,255,255,.92); }
.summary li:last-child { margin-bottom: 0; }
.summary li::marker { color: var(--red); font-family: "IBM Plex Mono", monospace; }

/* 꼭 확인 */
.must {
  border: 1.5px solid var(--red);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
  background: var(--red-soft);
}
.must .m-label {
  font-family: "Gothic A1", sans-serif; font-weight: 800;
  font-size: 13px; color: var(--red-deep);
  margin-bottom: 6px;
}
.must p { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.7; }

/* 목록 카드 (홈) */
.issue-list { padding: 20px 18px 8px; display: flex; flex-direction: column; gap: 14px; }
.issue-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none; color: inherit;
}
.issue-card:hover, .issue-card:focus-visible { border-color: var(--navy-mid); outline: none; }
.issue-card .ic-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.issue-card .ic-no {
  font-family: "Gothic A1", sans-serif; font-weight: 800;
  font-size: 13px; color: var(--navy-mid);
  background: var(--navy-soft); border-radius: 3px; padding: 3px 10px;
}
.issue-card .ic-new {
  font-family: "Gothic A1", sans-serif; font-weight: 800;
  font-size: 11px; color: var(--red-deep); background: var(--red-soft);
  border-radius: 3px; padding: 3px 8px;
}
.issue-card .ic-q { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-faint); margin-left: auto; }
.issue-card b { font-family: "Gothic A1", sans-serif; font-weight: 800; font-size: 17px; color: var(--navy); line-height: 1.45; }
.issue-card .ic-sub { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* 의견 폼 */
.voice-form label {
  display: block;
  font-family: "Gothic A1", sans-serif; font-weight: 700;
  font-size: 13px; color: var(--navy);
  margin: 0 0 6px;
}
.voice-form select, .voice-form textarea, .voice-form input {
  width: 100%;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink);
  font-family: inherit; font-size: 14.5px; line-height: 1.6;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.voice-form textarea { min-height: 110px; resize: vertical; }
.voice-form select:focus, .voice-form textarea:focus, .voice-form input:focus {
  outline: 2px solid var(--navy-mid); outline-offset: 1px;
}
.btn-primary {
  display: block; width: 100%;
  background: var(--red); color: #fff;
  border: none; border-radius: 10px;
  font-family: "Gothic A1", sans-serif; font-weight: 800;
  font-size: 15px; padding: 14px;
  cursor: pointer;
}
.btn-primary:hover { background: #d61e22; }
.btn-primary:disabled { background: var(--ink-faint); cursor: default; }
.btn-primary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* 푸터 */
footer.site {
  margin-top: 40px;
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 32px 24px 40px;
  font-size: 13px;
  line-height: 1.8;
}
footer.site img { height: 20px; width: auto; display: block; margin-bottom: 14px; }
footer.site .contact { margin-top: 6px; }
footer.site .contact a { color: #fff; font-weight: 700; text-decoration: none; }
footer.site .contact a:hover { text-decoration: underline; }
footer.site .note {
  font-size: 12px; color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 14px; margin-top: 14px;
}
footer.site .copyright {
  margin-top: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: .08em;
  color: rgba(255,255,255,.45);
}

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  background: var(--navy); color: #fff;
  font-size: 13.5px; padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,28,72,.3);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 200;
  max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; }

.demo-badge {
  position: fixed; right: 12px; bottom: 12px; z-index: 150;
  background: var(--red); color: #fff;
  font-family: "Gothic A1", sans-serif; font-weight: 800;
  font-size: 11px; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 999px;
  opacity: .9;
}
