/* ==========================================================================
   RING CHAMPIONSHIP - 공통 스타일
   포스터 톤(블랙 / 화이트 / 골드)을 그대로 웹으로 옮긴 디자인
   ========================================================================== */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #121214;
  --bg-3:      #18181c;
  --line:      #26262c;
  --fg:        #ffffff;
  --muted:     #9a9aa4;
  --gold:      #c8a45c;
  --gold-2:    #e8c87a;
  --red:       #d64545;
  --blue:      #4f7fd6;
  --green:     #7ee787;

  --wrap: 1180px;
  --radius: 4px;

  --display: 'Anton', 'Arial Narrow', 'Noto Sans KR', sans-serif;
  --body: 'Noto Sans KR', -apple-system, 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* 헤더 -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 11, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.brand img { height: 50px; width: auto; }
.brand { display: flex; align-items: center; gap: 10px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--muted); transition: color .15s;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--fg); }
.nav a.active { color: var(--fg); border-bottom-color: var(--gold); }
.nav .btn-sm { border-bottom: none; }

/* 헤더 안의 버튼은 위 .nav a 규칙(회색 글자 / 좌우 여백 0)보다 우선해야 한다 */
.nav a.btn {
  color: #0a0a0b; font-weight: 800;
  padding: 10px 18px; letter-spacing: .02em;
  white-space: nowrap; border-bottom: none;
}
.nav a.btn:hover { color: #0a0a0b; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--fg); width: 42px; height: 38px; border-radius: var(--radius);
  font-size: 18px; cursor: pointer;
}

/* 버튼 -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: 1px solid var(--gold); border-radius: var(--radius);
  background: var(--gold); color: #0a0a0b;
  font-weight: 800; font-size: 14px; letter-spacing: .06em;
  cursor: pointer; transition: all .16s; font-family: var(--body);
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.ghost { background: transparent; color: var(--fg); border-color: #3a3a42; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* 섹션 -------------------------------------------------------------------- */
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 34px;
}
.section-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1;
  letter-spacing: .02em; margin: 0; text-transform: uppercase;
}
.section-title small {
  display: block; font-family: var(--body); font-size: 13px; font-weight: 700;
  letter-spacing: .18em; color: var(--gold); margin-bottom: 10px;
}
.section-link { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.section-link:hover { color: var(--gold); }

/* 히어로 ------------------------------------------------------------------ */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  /* 포스터 원본은 오른쪽에 따로 보여주므로, 배경은 분위기만 낸다 */
  filter: grayscale(.6) blur(14px) brightness(.5);
  transform: scale(1.08);        /* blur 로 생기는 가장자리 여백 가리기 */
}
/* 포스터 자체에 큰 글씨가 있어서, 그대로 두면 히어로 문구와 겹쳐 지저분해진다.
   위아래로 눌러 인물만 남기고 글씨는 배경으로 가라앉힌다. */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.6) 45%, rgba(10,10,11,.96) 100%);
}
.hero-inner { position: relative; padding: 60px 0 64px; width: 100%; }
.hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .24em;
  color: var(--gold); border: 1px solid var(--gold); padding: 6px 14px;
  border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 9vw, 104px); line-height: .92;
  margin: 0 0 14px; letter-spacing: .01em; text-transform: uppercase;
}
.hero .hero-sub {
  font-size: clamp(15px, 2vw, 19px); color: #d5d5db; margin: 0 0 8px; font-weight: 500;
}
.hero .slogan {
  font-family: var(--display); font-size: 15px; letter-spacing: .3em;
  color: var(--gold); margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }


/* 히어로: 왼쪽 문구 + 오른쪽 포스터 --------------------------------------- */
.hero-split {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
}
.hero-poster {
  display: block; width: 380px; max-width: 38vw;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.65);
  transition: transform .18s, border-color .18s;
}
.hero-poster:hover { transform: translateY(-4px); border-color: var(--gold); }
.hero-poster img { width: 100%; height: auto; display: block; }

/* 히어로가 예정 대회를 넘겨 보여줄 때 (home.js renderHero) */
.hero-bg { opacity: 0; transition: opacity .9s ease; }
.hero-bg.active { opacity: 1; }
.hero-copy-stack { display: grid; }
.hero-copy-item {
  grid-area: 1 / 1; align-self: end;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s;
}
.hero-copy-item.active { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-poster-wrap { position: relative; }
.hero-poster { display: grid; }
.hero-poster img {
  grid-area: 1 / 1; align-self: start;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
}
.hero-poster img.active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.hero-side .poster-slider .dots { margin-top: 0; }
.hero-tabs { display: flex; gap: 8px; width: 380px; max-width: 38vw; }
.hero-tabs button {
  flex: 1 1 0; min-width: 0; text-align: left; cursor: pointer;
  padding: 8px 10px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(10,10,11,.55); color: var(--muted);
  font-family: var(--body); transition: border-color .2s, color .2s;
}
.hero-tabs button .t {
  display: block; font-family: var(--display); font-size: 13px; letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-tabs button .d { display: block; font-size: 11px; }
.hero-tabs button:hover { color: var(--fg); }
.hero-tabs button.active { border-color: var(--gold); color: var(--fg); }
.hero-tabs button.active .d { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-copy-item, .hero-copy-item.active, .hero-poster img, .hero-poster img.active { transition: none; }
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-poster { width: 260px; max-width: 65vw; }
  .hero-side { order: -1; }
  .hero-tabs { width: 100%; max-width: 360px; }
}

/* D-DAY 카운터 ------------------------------------------------------------ */
.dday {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--display); font-size: 40px; color: var(--gold); line-height: 1;
}
.dday span { font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 700; }

/* 대회 카드 그리드 -------------------------------------------------------- */
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.event-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, border-color .18s;
}
.event-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.event-card .poster {
  position: relative; aspect-ratio: 4 / 5; background: var(--bg-3); overflow: hidden;
}
.event-card .poster img { width: 100%; height: 100%; object-fit: cover; }
.event-card .poster.empty {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #131317 0 12px, #16161b 12px 24px);
  color: var(--muted); font-family: var(--display); font-size: 22px; letter-spacing: .1em;
  text-align: center; padding: 20px;
}
.event-card .body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.event-card h3 {
  font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.1;
  margin: 0; text-transform: uppercase; letter-spacing: .02em;
}
.event-card .sub { font-size: 12px; color: var(--gold); letter-spacing: .12em; font-weight: 700; }
.event-card .meta { font-size: 13px; color: var(--muted); line-height: 1.55; }
.event-card .main-bout {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: #d5d5db;
}

.badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); background: var(--bg-3);
}
.badge.up { color: #0a0a0b; background: var(--gold); border-color: var(--gold); }
.badge.live { color: var(--green); border-color: #2c4a30; background: #101a12; }
.badge.demo { color: var(--gold); border-color: var(--gold); background: transparent; }
.badge.pro { color: #0a0a0b; background: #ffffff; border-color: #ffffff; }
.badge.amateur { color: #7ee787; border-color: #2c4a30; background: #101a12; }

/* 대회 상세 --------------------------------------------------------------- */
.event-hero { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.event-hero .poster-lg img { border: 1px solid var(--line); border-radius: var(--radius); width: 100%; }

/* 포스터가 여러 장일 때: 겹쳐 두고 한 장씩 보이게 (site.js posterSlider) */
.poster-slider .slides { position: relative; display: grid; }
.poster-slider .slides img {
  grid-area: 1 / 1; align-self: start;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
}
.poster-slider .slides img.active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,11,.6); color: var(--fg);
  font-size: 24px; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity .2s, border-color .2s;
}
.nav-btn.prev { left: 10px; }
.nav-btn.next { right: 10px; }
.poster-slider:hover .nav-btn, .hero-poster-wrap:hover .nav-btn, .nav-btn:focus-visible { opacity: 1; }
.nav-btn:hover { border-color: var(--gold); }
.poster-slider .dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.poster-slider .dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  border: 0; background: var(--line); cursor: pointer; transition: background .2s, width .2s;
}
.poster-slider .dots button.active { width: 22px; border-radius: 4px; background: var(--gold); }
/* 터치 화면은 마우스를 올릴 수 없으니 화살표를 항상 보인다 */
@media (hover: none) { .nav-btn { opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  .poster-slider .slides img, .poster-slider .slides img.active { transition: none; }
}
.event-hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(32px, 5.6vw, 60px); line-height: .95; margin: 12px 0 6px;
}
.event-hero .subtitle {
  font-family: var(--display); font-size: 18px; letter-spacing: .24em; color: var(--gold); margin: 0 0 22px;
}
.info-list { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px solid var(--line); }
.info-list li {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.ext-link { color: var(--gold); border-bottom: 1px solid rgba(200,164,92,.35); }
.ext-link:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }
.info-list .k { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; }

/* 파이트 카드 ------------------------------------------------------------- */
.card-block { margin-top: 46px; }
.card-block-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gold);
}
.card-block-head h2 {
  font-family: var(--display); font-weight: 400; font-size: 22px;
  letter-spacing: .1em; margin: 0; text-transform: uppercase;
}
.card-block-head .time { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }

.bout {
  display: grid; grid-template-columns: 1fr minmax(150px, 210px) 1fr;
  align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 10px;
  transition: border-color .16s;
}
.bout:hover { border-color: #3a3a42; }
.bout.headline { border-color: var(--gold); background: linear-gradient(180deg, #16130d, var(--bg-2)); }
.bout .fighter { font-family: var(--display); font-size: clamp(17px, 2.4vw, 25px); line-height: 1.1; text-transform: uppercase; }
.bout .side.red { text-align: right; }
.bout .side.blue { text-align: left; }
.bout .team { font-size: 12px; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }

/* 결과가 기록된 경기 */
.bout.done .side { opacity: .55; }
.bout.done .side.win { opacity: 1; }
.bout .side.win .fighter { color: var(--gold); }
.bout .win-tag {
  display: inline-block; margin-top: 7px;
  font-size: 10px; font-weight: 800; letter-spacing: .16em;
  color: #0a0a0b; background: var(--gold); border-radius: 999px; padding: 2px 9px;
}
.bout .method {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--gold-2); line-height: 1.5;
}
.bout .mid { text-align: center; }
.bout .vs {
  font-family: var(--display); font-size: 15px; color: var(--gold); letter-spacing: .1em;
  margin-bottom: 4px;
}
.bout .cls { font-size: 12px; color: #d5d5db; font-weight: 700; letter-spacing: .06em; }
.bout .rule { font-size: 11px; color: var(--muted); letter-spacing: .12em; margin-top: 2px; }
.bout .tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .16em;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px;
  padding: 2px 10px; margin-bottom: 8px;
}
.bout.headline .tag { background: var(--gold); color: #0a0a0b; }

/* 알림 / 안내 배너 -------------------------------------------------------- */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  background: var(--bg-2); padding: 16px 20px; border-radius: var(--radius);
  font-size: 14px; color: #d5d5db;
}
.notice strong { color: var(--gold); }
.demo-bar {
  background: #1a160c; border-bottom: 1px solid #3a3218;
  color: var(--gold-2); font-size: 13px; text-align: center; padding: 10px 20px;
}

/* FUTURE LEAGUE ----------------------------------------------------------- */
.fl-banner {
  display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 30px;
  background: linear-gradient(100deg, #101014, #17171d); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 34px;
}
.fl-logo-box { background: #fff; border-radius: var(--radius); padding: 20px; }
.fl-banner h3 { font-family: var(--display); font-size: 26px; margin: 0 0 8px; text-transform: uppercase; }
.fl-banner p { margin: 0; color: var(--muted); font-size: 14px; }

.fl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.fl-step {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.fl-step .num { font-family: var(--display); font-size: 30px; color: var(--gold); line-height: 1; }
.fl-step h4 { margin: 10px 0 6px; font-size: 16px; }
.fl-step p { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.fl-step p:last-of-type { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--gold);
  border: 1px solid rgba(200,164,92,.35); border-radius: 999px; padding: 4px 10px;
}


/* 값이 없는 자리 표시 ------------------------------------------------------ */
.nodata {
  color: #62626c; font-size: .92em; letter-spacing: .06em; font-style: normal;
}
.empty-state .nodata { font-size: 15px; letter-spacing: .12em; }

/* 아직 내용이 확정되지 않은 자리 표시 ------------------------------------- */
.todo {
  color: var(--gold); font-size: 13px; font-style: normal;
  border: 1px dashed #4a4130; border-radius: var(--radius);
  padding: 8px 12px; display: inline-block; background: #14120c;
}
.fl-banner.two-col { grid-template-columns: 1fr auto; }

/* 폼 ---------------------------------------------------------------------- */
.form { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.field label .req { color: var(--gold); margin-left: 3px; }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--fg); padding: 12px 14px; font-size: 15px; font-family: var(--body);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 12px; color: var(--muted); }
.field .err { font-size: 12px; color: #ff8a8a; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff8a8a; }
.field.invalid .err { display: block; }

.radio-row { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.radio-row label { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 15px; cursor: pointer; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.check-row input { margin-top: 4px; }

.guardian-block { display: none; }
.guardian-block.show { display: contents; }

/* 접수 완료 화면 ----------------------------------------------------------- */
.receipt { display: none; }
.receipt.show { display: block; }
.receipt-no {
  font-family: var(--display); font-size: clamp(26px, 4vw, 40px); color: var(--gold);
  letter-spacing: .08em; margin: 10px 0 6px;
}
.summary { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.summary li {
  display: grid; grid-template-columns: 150px 1fr; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.summary .k { color: var(--muted); font-size: 13px; font-weight: 700; }


/* 인스타그램 목록 (벽돌쌓기) ------------------------------------------------
   게시물마다 세로 길이가 달라서, 격자로 줄을 맞추면 짧은 카드 밑에 빈 공간이 남는다.
   그래서 카드를 직접 배치한다. 앞에서부터 순서대로 '가장 짧은 칸' 밑에 넣는다.
   -> 윗줄은 1 2 3 순서로 오고, 그 뒤로는 빈 곳을 메우며 내려간다.
   높이는 JS 가 계산해 넣으므로 여기서는 자리만 잡는다. */
.ig-grid { position: relative; }
.ig-cell {
  position: absolute; top: 0; left: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  line-height: 0;
  min-height: 180px;             /* 뜨기 전 최소 자리. 통일된 높이를 강제하지 않는다 */
}

.ig-cell > * { opacity: 0; transition: opacity .35s ease; }
.ig-cell.ready > * { opacity: 1; }
.ig-cell::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, #131317 30%, #1b1b21 50%, #131317 70%);
  background-size: 220% 100%;
  animation: ig-shimmer 1.4s linear infinite;
  transition: opacity .35s ease;
}
.ig-cell.ready::after { opacity: 0; }
@keyframes ig-shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -120% 0; }
}

.ig-cell .instagram-media {
  margin: 0 !important; min-width: 0 !important;
  width: 100% !important; max-width: 100% !important;
  border: none !important; border-radius: 0 !important; box-shadow: none !important;
}

.ig-status {
  padding: 26px 0 4px; text-align: center;
  font-size: 13px; letter-spacing: .08em; color: var(--muted);
}

/* 페이지 넘김 */
.ig-pager {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px; padding: 14px 0 4px;
}
.ig-pager button {
  min-width: 40px; padding: 9px 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted); font-family: var(--body); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.ig-pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--fg); }
.ig-pager button.active {
  background: var(--gold); border-color: var(--gold); color: #0a0a0b;
}
.ig-pager button:disabled { opacity: .35; cursor: not-allowed; }
.ig-pager .pg-nav { min-width: auto; }
.ig-pager .pg-gap { color: var(--muted); padding: 0 2px; }

/* 인용문 -------------------------------------------------------------------- */
.quote {
  margin: 0; padding: 26px 30px;
  border-left: 3px solid var(--gold); background: var(--bg-2);
  border-radius: var(--radius);
}
.quote p { margin: 0 0 14px; font-size: 17px; line-height: 1.8; color: #e2e2e8; }
.quote strong { color: var(--gold); }
.quote cite {
  font-style: normal; font-size: 12px; letter-spacing: .12em;
  color: var(--muted); font-weight: 700;
}

/* 신청 링크 카드 ------------------------------------------------------------ */
.apply-list { display: grid; gap: 14px; }
.apply-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 24px 28px;
}
.apply-card.closed { border-left-color: var(--line); opacity: .7; }
.apply-card h3 {
  font-family: var(--display); font-weight: 400; font-size: 22px;
  margin: 0 0 6px; text-transform: uppercase; letter-spacing: .02em;
}
.apply-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* 채널 링크 ----------------------------------------------------------------- */
.link-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); }
.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-size: 15px; font-weight: 700; transition: border-color .16s;
}
.link-card:hover { border-color: var(--gold); }
.link-host { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

/* 스폰서 ------------------------------------------------------------------ */
.sponsors { display: flex; flex-wrap: wrap; gap: 10px; }
.sponsors span {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 14px; background: var(--bg-2);
}

/* 푸터 -------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 40px; background: #08080a; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 32px; }
.site-footer img.logo { height: 60px; margin-bottom: 18px; }
.site-footer .desc { font-size: 13px; color: var(--muted); max-width: 380px; line-height: 1.7; }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-nav h5 {
  font-size: 12px; letter-spacing: .16em; color: var(--gold); margin: 0 0 12px; font-weight: 800;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-nav li { font-size: 13px; color: var(--muted); }
.footer-nav a:hover { color: var(--fg); }
.copyright {
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: 12px; color: #62626c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* 탭 ---------------------------------------------------------------------- */
.tabs { display: flex; gap: 6px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.tabs button {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--muted); font-family: var(--body); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; padding: 12px 18px; cursor: pointer; transition: all .15s;
}
.tabs button:hover { color: var(--fg); }
.tabs button.active { color: var(--fg); border-bottom-color: var(--gold); }

.empty-state {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 56px 20px; text-align: center; color: var(--muted); font-size: 14px;
}

/* 반응형 ------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .event-hero { grid-template-columns: 1fr; gap: 26px; }
  .event-hero .poster-lg { max-width: 380px; }
  .fl-banner { grid-template-columns: 1fr; text-align: center; }
  .fl-logo-box { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0d0d10; border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a.active { border-bottom-color: var(--line); color: var(--gold); }
  .nav .btn-sm { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: block; }

  .section { padding: 52px 0; }
  .hero { min-height: 68vh; }

  .bout { grid-template-columns: 1fr; gap: 6px; text-align: center; padding: 20px 16px; }
  .bout .side.red, .bout .side.blue { text-align: center; }
  .bout .mid { order: 2; padding: 6px 0; }
  .bout .side.blue { order: 3; }

  .form-grid { grid-template-columns: 1fr; }
  .info-list li, .summary li { grid-template-columns: 88px 1fr; gap: 10px; }
}
