:root {
  --bg: #050a1a;
  --bg-2: #0a1330;
  --line: rgba(255,255,255,.09);
  --text: #f4f5f8;
  --muted: #8e97b3;
  --hong: #e8202e;   /* 홍 */
  --chung: #1f5bff;  /* 청 */
  --gold: #f5b400;
  --accent: #f5b400; /* 띠 선택으로 바뀜 */
  --lang-font: sans-serif; /* 언어별 보조 글꼴(js/i18n.js setLang) — 라틴 글꼴에 없는 글자를 채운다 */
  --display: "Anton", var(--lang-font), sans-serif;
  --cond: "Barlow Condensed", "Anton", var(--lang-font), sans-serif;
  --lang-body: "Noto Sans KR";
  --body: var(--lang-body), "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* 앵커 이동(메뉴·대회 정보 버튼) 시 고정 헤더(약 74px)에 가리지 않게 그만큼 + 여백 아래로 멈춘다 */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
/* 기울인 띠(marquee)·히어로 사진이 화면 밖으로 나가 모바일에서 레이아웃 폭이 기기보다 넓어지던 것(390→399px) 방지.
   body 의 overflow-x: hidden 만으로는 모바일 크롬이 뷰포트를 넓힌다. clip 은 sticky·스크롤 컨테이너를 만들지 않는다 */
html { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ── 띠 색 스크롤 진행바 ── */
.belt-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%;
  z-index: 100; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #fff 0 16%, #ffd400 16% 33%, #22c55e 33% 50%, var(--chung) 50% 66%, var(--hong) 66% 83%, #111 83% 100%);
}

/* ── 커서 글로우 ── */
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 1; left: 0; top: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ── 네비 ── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .3s, backdrop-filter .3s;
}
nav.scrolled { background: rgba(5,10,26,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 24px; letter-spacing: .02em; display: flex; gap: 8px; align-items: center; }
.logo img { height: 26px; width: auto; display: block; }
nav > ul { list-style: none; display: flex; gap: 28px; font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
nav > ul a:hover { color: var(--text); }
.nav-cta {
  font-family: var(--cond); font-weight: 800; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; background: var(--text); color: var(--bg);
}
/* 메뉴 글자가 「カテゴリ/ー」처럼 두 줄로 쪼개지지 않게. 폭이 모자라는 중간 폭(태블릿·좁은 창)에서는 링크를 줄이다가 숨긴다 */
nav > ul, .logo, .nav-cta, .lang-btn { white-space: nowrap; }
@media (max-width: 1280px) { nav > ul { gap: 20px; font-size: 16px; } }
@media (max-width: 1100px) { nav > ul { display: none; } }

/* ── 히어로 ── */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  grid-template-columns: minmax(0, 1fr); /* auto 열은 긴 제목 단어만큼 넓어져 모바일에서 전체가 오른쪽으로 밀린다 */
  padding: 120px 16px 90px;
}
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-split {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, color-mix(in srgb, var(--hong) 30%, transparent) 0 var(--split, 50%), color-mix(in srgb, var(--chung) 34%, transparent) var(--split, 50%) 100%);
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%);
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--cond); font-weight: 800; font-size: 15px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hong); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

.hero-title {
  font-family: var(--cond); font-style: italic; font-weight: 900;
  font-size: clamp(40px, 11vw, 176px);
  line-height: .86; letter-spacing: -.01em;
  margin: 26px 0 8px; text-transform: uppercase;
}
.hero-title .row { display: block; overflow: hidden; padding: 0 .08em; }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .ch {display: inline-block; transform: translateY(110%) skewY(8deg); animation: rise .9s cubic-bezier(.2,.9,.2,1) forwards; }
.hero-title .row.year .ch { color: var(--gold); text-shadow: 0 0 60px rgba(245,180,0,.35); }
@keyframes rise { to { transform: none; } }

.hero-date {
  display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap; justify-content: center;
  font-family: var(--cond); font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); text-transform: uppercase;
  opacity: 0; animation: fade 1s .9s forwards;
}
.hero-date .sun { color: var(--hong); }
.hero-date .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); align-self: center; }
.hero-venue { color: var(--muted); margin-top: 8px; font-size: 15px; opacity: 0; animation: fade 1s 1s forwards; }
@keyframes fade { to { opacity: 1; } }

.countdown {
  display: flex; justify-content: center; gap: clamp(8px, 2vw, 18px);
  margin-top: 36px; opacity: 0; animation: fade 1s 1.2s forwards;
}
.cd-box {
  min-width: clamp(68px, 14vw, 108px); padding: 14px 10px 10px;
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(6px);
}
.cd-num { font-family: var(--display); font-size: clamp(34px, 6vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--muted); margin-top: 6px; }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; opacity: 0; animation: fade 1s 1.4s forwards; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font-family: var(--cond); font-weight: 800; font-size: 19px; letter-spacing: .05em; text-transform: uppercase;
  border: 0; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.9,.2,1), box-shadow .25s, background .6s;
}
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 10px 40px -10px var(--accent); }
.btn-primary:hover { box-shadow: 0 16px 60px -8px var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: var(--text); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--cond); font-size: 12px; letter-spacing: .3em; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span { width: 1px; height: 40px; background: linear-gradient(var(--text), transparent); animation: drop 1.6s infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ── 마키 ── */
.marquee {
  position: relative; z-index: 2; overflow: hidden; white-space: nowrap;
  padding: 20px 0; background: var(--gold);
  transform: rotate(-2deg) scale(1.04); margin: 40px 0;
}
.marquee-track { display: inline-flex; gap: 44px; animation: marq 26s linear infinite; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: clamp(30px, 5vw, 58px); text-transform: uppercase; color: var(--bg); }
.marquee-track span::after { content: "✦"; margin-left: 44px; opacity: .55; }
.marquee.alt { background: var(--text); transform: rotate(2deg) scale(1.04); }
.marquee.alt .marquee-track { animation-direction: reverse; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── 섹션 공통 ── */
section { position: relative; z-index: 2; }
.wrap { max-width: 1920px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px); } /* 1920px 까지 화면을 꽉 채워 쓴다 */
.sec { padding: clamp(80px, 12vw, 150px) 0; }
.sec-tag { font-family: var(--cond); font-weight: 800; font-size: 16px; letter-spacing: .3em; color: var(--accent); text-transform: uppercase; transition: color .6s; }
.sec-title { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: clamp(44px, 7vw, 96px); line-height: .95; margin-top: 14px; text-transform: uppercase; }
.sec-title em { font-style: inherit; color: var(--accent); transition: color .6s; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.9,.2,1), transform .9s cubic-bezier(.2,.9,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── 키네틱 선언문 ── */
.manifesto { padding: clamp(70px, 12vw, 180px) 0; }
.manifesto p {
  font-family: var(--cond); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 7.4vw, 110px); line-height: 1;
}
.manifesto .w { color: rgba(255,255,255,.1); transition: color .35s; }
.manifesto .w.lit { color: var(--text); }
.manifesto .w.hot.lit { color: var(--gold); }

/* ── 대회 개요 (포스터) ── */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about .lead { color: var(--muted); line-height: 1.8; margin-top: 22px; font-size: 17px; max-width: 520px; }
.facts { margin-top: 36px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact span { font-family: var(--cond); font-weight: 800; letter-spacing: .2em; font-size: 14px; color: var(--muted); padding-top: 3px; }
.fact b { font-family: var(--cond); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.fact small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; font-family: var(--body); font-weight: 400; }
.poster-wrap { perspective: 1200px; }
.poster {
  display: block; width: 100%; max-width: 460px; margin: 0 auto; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line);
  transition: transform .15s ease-out; transform-style: preserve-3d; position: relative;
}
.poster img { display: block; width: 100%; height: auto; }
.poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.18), transparent 50%);
  mix-blend-mode: overlay;
}

/* ── 다섯 가지 가치 카드 ── */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; perspective: 1200px; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }
.card {
  --c: var(--gold);
  position: relative; min-height: 340px; padding: 28px 24px; border-radius: 22px;
  background: linear-gradient(160deg, #101a3a, #070d22);
  border: 1px solid var(--line); overflow: hidden;
  transform-style: preserve-3d; transition: transform .15s ease-out, border-color .3s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card:hover { border-color: rgba(255,255,255,.24); }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 30%, transparent), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card svg { width: 52px; height: 52px; color: var(--c); transform: translateZ(50px); }
.card .num { position: absolute; top: 18px; right: 22px; font-family: var(--display); font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); }
.card h3 { font-family: var(--cond); font-weight: 800; font-size: 28px; line-height: 1.02; text-transform: uppercase; transform: translateZ(60px); }
.card p { color: var(--muted); line-height: 1.65; margin-top: 12px; font-size: 15px; transform: translateZ(30px); }
.card .hash { display: inline-block; margin-top: 10px; color: var(--gold); font-family: var(--cond); font-weight: 800; font-size: 18px; letter-spacing: .04em; }

.msg { margin-top: 20px; color: var(--muted); min-height: 1.6em; font-size: 16px; }
.msg b { color: var(--text); }

/* ── 띠 선택 ── */
.belts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.belt-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text);
  font-family: var(--cond); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.belt-btn:hover { transform: translateY(-2px); }
.belt-btn[aria-pressed="true"] { border-color: var(--text); background: rgba(255,255,255,.08); }
.belt-btn i { width: 28px; height: 8px; border-radius: 2px; background: var(--b); box-shadow: 0 0 0 1px rgba(255,255,255,.2); }

/* ── CTA ── */
.cta { text-align: center; overflow: hidden; }
/* 신청하기(cta) 뒤에 이어지는 안내(장비·당일 준비, 문의처): cta 가 맨 끝이던 때의 큰 위아래 여백이 겹치면
   흐름이 끊겨 보이므로 이어지는 첫 섹션은 위 여백을 줄이고 가는 선으로 구분한다 */
[data-kind="cta"]:has(+ [data-kind]) > .sec { padding-bottom: clamp(56px, 8vw, 100px); }
[data-kind="cta"] + [data-kind] > .sec { padding-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line); }
/* 장비·당일 준비 → 문의처는 같은 안내 블록이 이어지므로 사이 여백을 줄인다 */
[data-kind="gear"]:has(+ [data-kind="contact"]) > .sec { padding-bottom: clamp(40px, 6vw, 72px); }
[data-kind="gear"] + [data-kind="contact"] > .sec { padding-top: clamp(40px, 6vw, 72px); }
.cta-title { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: clamp(60px, 13vw, 200px); line-height: .85; text-transform: uppercase; }
.cta-title .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.cta-sub { font-family: var(--cond); font-weight: 800; font-size: clamp(22px, 3vw, 32px); margin-top: 24px; text-transform: uppercase; letter-spacing: .02em; }
.cta-sub em { font-style: normal; color: var(--accent); transition: color .6s; }
.sns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 44px 0 20px; }
.sns a {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-family: var(--cond); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .25s cubic-bezier(.2,.9,.2,1), background .25s, border-color .25s;
}
.sns a svg { width: 24px; height: 24px; }
.sns a:hover { background: var(--c); border-color: var(--c); }
.hashtag { margin-top: 28px;font-family: var(--cond); font-weight: 800; font-size: 22px; color: var(--gold); letter-spacing: .06em; }

footer {
  position: relative; z-index: 2; border-top: 1px solid var(--line);
  padding: 36px clamp(16px, 4vw, 48px);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--muted); font-size: 13px;
}
footer .footer-logo { height: 64px; width: auto; display: block; }
footer .org { display: flex; align-items: center; gap: 12px; }
footer .org span { font-family: var(--cond); font-weight: 800; letter-spacing: .18em; padding: 6px 10px; border-radius: 6px; background: var(--text); color: var(--bg); font-size: 13px; }
footer .org b { font-family: var(--cond); font-weight: 800; font-size: 17px; letter-spacing: .06em; color: var(--text); text-transform: uppercase; }

/* ── 로딩·오류 ── */
.page-state { min-height: 100svh; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 0 16px; color: var(--muted); }
.page-state p { font-family: var(--cond); font-weight: 800; font-size: 28px; color: var(--text); text-transform: uppercase; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.about.no-poster { grid-template-columns: 1fr; }
.deadline { margin-top: 14px; color: var(--muted); font-family: var(--cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 태권도 상징 그래픽 ── */
/* 히어로: 팔각 경기장 + 홍·청 발차기 픽토그램 */
.hero-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.mat-wrap { position: absolute; left: 50%; bottom: -69vh; width: min(2250px, 225vw); aspect-ratio: 1; transform: translateX(-50%) perspective(900px) rotateX(68deg); opacity: .55; }
.mat { width: 100%; height: 100%; }
.mat-outer { fill: rgba(31,91,255,.10); stroke: rgba(31,91,255,.7); stroke-width: 4; }
.mat-inner { fill: rgba(245,180,0,.06); stroke: rgba(245,180,0,.8); stroke-width: 5; stroke-dasharray: 18 14; animation: matDash 12s linear infinite; }
.mat-center { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 3; }
.mat-line { stroke: rgba(255,255,255,.12); stroke-width: 2; }
.mat-hong { fill: var(--hong); filter: drop-shadow(0 0 12px var(--hong)); }
.mat-chung { fill: var(--chung); filter: drop-shadow(0 0 12px var(--chung)); }
@keyframes matDash { to { stroke-dashoffset: -320; } }

/* 경기장: 버튼 아래 가운데. 청을 선수 폭 46% 지점에 둬 제자리에선 약간 멀고, 파고들어야 발이 닿는 거리 */
.arena { --fw: clamp(130px, min(13vw, 18vh), 240px); position: relative; width: calc(var(--fw) * 1.46); height: calc(var(--fw) * 1.05); margin: 48px auto 0; }
.k { position: absolute; bottom: 0; width: var(--fw); aspect-ratio: 220 / 230; opacity: 0; animation: kIn 1.1s .5s cubic-bezier(.2,.9,.2,1) forwards; }
.k svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 30px var(--glow)); }
.k-hong { left: 0; --k1: #ff5a67; --k2: #b3101d; --glow: rgba(232,32,46,.55); }
.k-chung { left: calc(var(--fw) * .46); --k1: #6f9bff; --k2: #1438b8; --glow: rgba(31,91,255,.55); animation-delay: .7s; }
.k .kicker { display: block; }
/* 3D 경기장: 캔버스가 경기장을 채우고 .k 는 점수판 자리만 맡는다 */
.arena.arena--3d { width: min(96vw, calc(var(--fw) * 4.2)); height: calc(var(--fw) * 2.175); margin-top: 24px; } /* 링(경기 영역) 1.5배 */
.arena-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.arena--3d .k { width: 50%; height: 100%; aspect-ratio: auto; pointer-events: none; }
.arena--3d .k-hong { left: 0; }
.arena--3d .k-chung { left: 50%; }
.arena--3d .k-hong .k-score { left: 4%; }
.arena--3d .k-chung .k-score { right: 4%; }
.arena--3d .k-score { top: 3%; }
@keyframes kIn { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }

/* 전자 점수판(선수 머리 위) */
.k-score {
  position: absolute; top: -12%; display: flex; align-items: baseline; gap: 10px; padding: 6px 14px 4px; border-radius: 12px;
  background: rgba(5,10,26,.72); border: 2px solid var(--k1); box-shadow: 0 0 24px var(--glow); backdrop-filter: blur(6px);
}
.k-hong .k-score { left: -18%; }
.k-chung .k-score { right: -18%; }
.k-score small { font: 800 13px var(--cond); letter-spacing: .2em; color: var(--k1); }
.k-score b { font: 400 clamp(28px, 3vw, 44px)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; min-width: 1.2em; text-align: center; }
.k-score.pop b { animation: scorePop .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes scorePop { 0% { transform: scale(1); } 40% { transform: scale(1.5); color: var(--gold); } 100% { transform: scale(1); } }
.k-plus { position: absolute; right: -8px; top: -10px; font: 900 22px var(--cond); font-style: italic; color: var(--gold); text-shadow: 0 0 14px rgba(245,180,0,.8); animation: plusUp .9s ease-out forwards; pointer-events: none; }
@keyframes plusUp { from { opacity: 1; transform: translateY(0) scale(.8); } to { opacity: 0; transform: translateY(-44px) scale(1.2); } }
.k-shadow { transform-origin: 110px 216px; }
/* 라운드 승수(점 2개) */
.k-rounds { display: inline-flex; gap: 5px; margin-left: 4px; align-self: center; }
.k-rounds i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--k1); opacity: .6; }
.k-rounds i.on { background: var(--gold); border-color: var(--gold); opacity: 1; box-shadow: 0 0 10px var(--gold); }
/* 라운드 표시(매트 위 가운데) */
.k-round { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; }
.k-round b { font: 900 italic 18px var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.k-round span { font: 600 12px var(--body); color: rgba(255,255,255,.5); }
/* 라운드·경기 승리 배너 */
/* 라운드·경기 승리 배지: 경기장 가운데(선수 몸통 앞) — 제목·버튼과 겹치지 않고 화면 안에 보인다 */
.k-banner {
  position: absolute; left: 50%; top: 40%; z-index: 20; max-width: min(92vw, 720px);
  transform: translateX(-50%) translateY(20px) scale(.9); opacity: 0;
  padding: 12px 30px; border-radius: 999px; text-align: center;
  background: rgba(5,10,26,.94); border: 2px solid var(--gold); box-shadow: 0 0 40px rgba(245,180,0,.35), 0 20px 50px -20px rgba(0,0,0,.9);
  transition: transform .35s cubic-bezier(.2,1.4,.4,1), opacity .25s; pointer-events: none;
}
.k-banner.show { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
.k-banner span { display: block; font: 900 italic clamp(22px, 2.6vw, 40px)/1.1 var(--cond); text-transform: uppercase; color: #fff; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-banner.big { padding: 14px 36px; }
.k-banner.big span { color: var(--gold); font-size: clamp(26px, 3.2vw, 50px); animation: bannerPulse .9s ease-in-out infinite alternate; }
@keyframes bannerPulse { to { text-shadow: 0 0 40px rgba(245,180,0,.9); } }
.hero:not(.hero--photo) .scroll-hint { display: none; } /* 캐릭터 모드는 경기장이 아래 공간을 쓴다 */


/* 실제 경기 사진 모드 */
.hero-photo { position: absolute; inset: -4%; z-index: 0; will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 18%; filter: saturate(1.1) contrast(1.05); animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,10,26,.85) 0%, rgba(5,10,26,.35) 30%, rgba(5,10,26,.45) 62%, var(--bg) 100%),
    radial-gradient(ellipse at 50% 55%, rgba(5,10,26,.2), rgba(5,10,26,.75) 80%);
}
/* 커서 주변만 밝게 */
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle 360px at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255,255,255,.14), transparent 70%);
  mix-blend-mode: overlay;
}
.hero--photo.spot-on::after { opacity: 1; }
.hero--photo .hero-split { opacity: .55; mix-blend-mode: color; }
.hero--photo #field { opacity: .55; }
.hero--photo .hero-inner { text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.k-trail { animation: trail 1.4s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -28; } }
@media (max-width: 900px) { .arena { --fw: 40vw; } .k-score { padding: 4px 10px 2px; } .k-hong .k-score { left: -6%; } .k-chung .k-score { right: -6%; } }

/* 선언문 + 대회 엠블럼 */
.manifesto-grid { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .manifesto-grid { grid-template-columns: 1fr; } .emblem-wrap { max-width: 240px; } }
.emblem-wrap { position: relative; }
.emblem-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(245,180,0,.35), transparent 70%); filter: blur(30px); }
.emblem { position: relative; width: 100%; height: auto; display: block; }
.emblem-ring { transform-origin: 200px 200px; animation: ringSpin 40s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* 대회 정보 아이콘 */
.fact span { display: inline-flex; align-items: flex-start; gap: 10px; }
.fact-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-top: -4px; border-radius: 9px; background: rgba(245,180,0,.1); color: var(--gold); flex: none; }
.fact-ico svg { width: 17px; height: 17px; }
.fact-ico img { width: 24px; height: auto; }
.fact { grid-template-columns: 160px 1fr; }
@media (max-width: 560px) { .fact { grid-template-columns: 1fr; gap: 6px; } }

/* 도복 띠: 선택한 띠 색으로 바뀐다 */
.belt-stage { margin-top: 28px; max-width: 900px; }
.belt-art { width: 100%; height: auto; display: block; overflow: visible; }
.belt-band, .belt-knot { fill: var(--belt, var(--accent)); transition: fill .5s; }
.belt-band, .belt-knot { stroke: rgba(255,255,255,.22); stroke-width: 2; }
.belt-knot { filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }

/* 마무리: 트로피 + 메달 시상대 */
.cta { position: relative; }
.cta-trophy { position: absolute; left: 50%; top: 30%; width: min(520px, 80vw); transform: translate(-50%, -50%); opacity: .05; pointer-events: none; }
.cta-trophy svg { width: 100%; height: auto; }
.podium { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 34px); margin-bottom: 36px; }
.medal { width: clamp(60px, 9vw, 104px); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); transform-origin: 50% 0; animation: swing 4s ease-in-out infinite; }
.medal-gold { width: clamp(78px, 12vw, 138px); animation-delay: -1.3s; }
.medal-bronze { animation-delay: -2.4s; }
@keyframes swing { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }

/* ── 언어 선택 ── */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: var(--text);
  font: 600 14px var(--body); cursor: pointer; transition: border-color .2s, background .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--text); background: rgba(255,255,255,.08); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; list-style: none; padding: 6px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(8,14,36,.96); backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.9); z-index: 60;
}
.lang-menu[hidden] { display: none; }
/* 언어는 11개뿐이라 메뉴 안 스크롤(이중 스크롤)을 두지 않는다. 고정 헤더 안이라 페이지 스크롤로는 잘린 부분에 닿지 못하므로
   화면 높이가 모자라면 2열로 펼쳐 한 번에 다 보이게 한다 */
@media (max-height: 640px) {
  .lang-menu:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); column-gap: 4px; }
  .lang-menu li { padding: 8px 14px; }
}
.lang-menu li { padding: 10px 14px; border-radius: 10px; cursor: pointer; font: 500 15px var(--body); color: var(--muted); }
.lang-menu li:hover, .lang-menu li:focus { background: rgba(255,255,255,.07); color: var(--text); outline: none; }
.lang-menu li[aria-selected="true"] { color: var(--gold); font-weight: 700; }
@media (max-width: 520px) { .lang-btn span { display: none; } .lang-btn { padding: 0 11px; } .nav-cta { padding: 10px 14px; } }

/* 한자·가나 제목은 글자마다 줄바꿈 허용 */
.hero-title .word.cjk { white-space: normal; display: inline; }
.hero-title .word.cjk .ch { display: inline-block; }
:lang(ja) .hero-title, :lang(ko) .hero-title, :lang(zh-CN) .hero-title, :lang(zh-TW) .hero-title { line-height: 1.02; }
/* 가나 한 단어(インターナショナル 9자)는 쪼개지 않으므로 11vw 면 화면 폭을 넘는다 → 글자를 줄여 한 줄에 넣는다 */
:lang(ja) .hero .hero-title { font-size: clamp(28px, 9.4vw, 176px); }
:lang(ja) .manifesto p, :lang(zh-CN) .manifesto p, :lang(zh-TW) .manifesto p { line-height: 1.25; }

/* ── 관리자 미리보기 ── */
.preview-flash { animation: previewFlash 1.2s ease-out; }
@keyframes previewFlash { 0%, 30% { box-shadow: inset 0 0 0 4px var(--gold); } 100% { box-shadow: inset 0 0 0 4px transparent; } }
.is-preview { scroll-behavior: auto; }

/* ── 클릭 충격파 ── */
.shock { position: fixed; pointer-events: none; z-index: 90; border-radius: 50%; border: 3px solid var(--accent); transform: translate(-50%, -50%); animation: shock .6s cubic-bezier(.1,.8,.2,1) forwards; }
@keyframes shock { from { width: 0; height: 0; opacity: 1; } to { width: 180px; height: 180px; opacity: 0; border-width: 0; } }
.spark { position: fixed; pointer-events: none; z-index: 90; width: 4px; height: 14px; background: #fff; border-radius: 2px; }
.shake { animation: shake .25s; }
@keyframes shake { 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, -1px); } 80% { transform: translate(2px, 1px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .manifesto .w { color: var(--text); }
}

/* 승리 배지가 뜨는 동안에는 같은 자리의 라운드 표시를 숨긴다 */
.hero.banner-on .k-round { visibility: hidden; }

/* 캐릭터 모드: 제목·카운트다운·버튼·경기장이 한 화면에 들어오도록 세로 간격을 줄인다 */
.hero:not(.hero--photo) { padding-top: 78px; }
.hero:not(.hero--photo) .hero-title { font-size: clamp(40px, min(11vw, 9.5vh), 176px); margin: 12px 0 6px; }
.hero:not(.hero--photo) .countdown { margin-top: 16px; }
.hero:not(.hero--photo) .hero-actions { margin-top: 16px; }
/* ── 줄바꿈: 언어별로 자연스럽게 ── */
/* 일본어·중국어: 글자 사이에서 끊지 않고 JS(phraseBreaks)가 넣은 구 사이 <wbr> 에서만 끊는다. 금칙 처리는 strict */
:lang(ja), :lang(zh-CN), :lang(zh-TW) { word-break: keep-all; line-break: strict; overflow-wrap: anywhere; }
/* 한국어: 어절(띄어쓰기) 단위로만 끊는다 */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
/* 제목은 줄 길이를 고르게, 본문은 마지막 줄에 한 단어만 남지 않게 */
h1, h2, h3, .sec-title, .cta-title, .cta-sub, .hero-date, .card h3, .fact b, .k-banner span, .panel h2 { text-wrap: balance; }
p, .card p, .msg, .lead, .done p, .field > span { text-wrap: pretty; }
/* 긴 합성어(독일어 등)는 하이픈으로 */
:lang(de) p, :lang(de) .card h3, :lang(ru) p, :lang(fr) p { hyphens: auto; }

/* ── 대회 부문·체급·경기 방식 ── */
.div-tabs { display: inline-flex; gap: 6px; margin-top: 36px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.div-tab { padding: 12px 26px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 800 18px var(--cond); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.div-tab[aria-selected="true"] { background: var(--gold); color: var(--bg); }
/* 모바일: 탭 이름이 단어 중간에서 줄바뀜(キョ/ルギ)되지 않게 한 줄 고정 + 글자·여백을 줄여 화면 폭에 나눠 담는다.
   언어에 따라 그래도 넘치면 탭 단위로 다음 줄로(그래서 알약 대신 둥근 모서리) */
@media (max-width: 560px) {
  .div-tabs { display: flex; flex-wrap: wrap; width: 100%; gap: 4px; padding: 5px; border-radius: 26px; }
  .div-tab { flex: 1 1 auto; padding: 11px 12px; font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
}
.div-panel { margin-top: 28px; }
.div-grid { display: grid; grid-template-columns: minmax(300px, 38%) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .div-grid { grid-template-columns: 1fr; } }
.div-format { margin: 0; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, #101a3a, #070d22); padding: 8px 22px; }
.div-format > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.div-format > div:last-child { border-bottom: 0; }
.div-format dt { font: 800 13px var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.div-format dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.div-item { display: inline-block; }
.div-sep { color: var(--muted); margin: 0 .3em; }
.div-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.div-chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font: 700 14px var(--body); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.div-chip:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.div-chip[aria-pressed="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.div-detail { margin-top: 18px; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: rgba(255,255,255,.02); animation: fade .35s ease both; }
.div-age { margin: 0 0 14px; font: 800 20px var(--cond); letter-spacing: .04em; }
.div-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.div-sex { display: inline-grid; place-items: center; height: 30px; border-radius: 8px; font: 800 13px var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.div-sex.m { background: rgba(31,91,255,.18); color: #8fb0ff; }
.div-sex.f { background: rgba(232,32,46,.18); color: #ff9aa2; }
.div-weights { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.div-weights li { padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font: 400 22px/1 var(--display); letter-spacing: .02em; }
.div-weights small { font: 700 11px var(--body); color: var(--muted); margin-left: 3px; }
.div-desc { margin: 4px 0 0; color: var(--muted); line-height: 1.6; }
.div-plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.div-plist li { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; gap: 6px; }
.div-plist b { font: 800 18px var(--cond); letter-spacing: .02em; }
.div-plist span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.div-note { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* 겨루기 상세: 급·시간 칩, 규칙 목록 */
.div-age small { display: block; margin-top: 4px; font: 600 14px var(--body); letter-spacing: 0; color: var(--muted); }
.div-levels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.div-lv { padding: 7px 12px; border-radius: 10px; background: rgba(245,180,0,.08); border: 1px solid rgba(245,180,0,.25); font-size: 14px; }
.div-lv b { color: var(--gold); font-weight: 800; }
.div-lv.time { background: rgba(255,255,255,.05); border-color: var(--line); }
.div-lv.time b { color: var(--text); }
.div-sex.mf { background: rgba(255,255,255,.08); color: var(--text); font-size: 11px; }
.div-rules { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.div-rules li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.div-rules li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.div-plist .born { font-size: 13px; }
.div-plist dl { margin: 6px 0 0; display: grid; gap: 6px; }
.div-plist dl > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; padding-top: 6px; border-top: 1px solid var(--line); }
.div-plist dt { font-size: 12px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.div-plist dd { margin: 0; font-size: 14px; line-height: 1.5; }
.div-score { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.div-score table { width: 100%; border-collapse: collapse; font-size: 15px; }
.div-score th, .div-score td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.div-score tr:last-child > * { border-bottom: 0; background: rgba(245,180,0,.08); font-weight: 800; }
.div-score th { color: var(--gold); font: 800 13px var(--cond); letter-spacing: .08em; width: 26%; }
.div-score .pt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 참가비·안내 블록 */
.fee-grid { display: grid; grid-template-columns: minmax(300px, 1.1fr) 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .fee-grid { grid-template-columns: 1fr; } }
.fee-table { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, #101a3a, #070d22); padding: 6px 24px 18px; }
.fee-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fee-row b { font-size: 17px; }
.fee-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.fee-amt { font: 400 30px/1 var(--display); white-space: nowrap; color: var(--gold); text-align: right; flex-shrink: 0; }
.fee-amt.tba { font: 700 14px var(--body); color: var(--muted); }
.fee-row .fee-late { margin-top: 6px; font: 600 12px/1.4 var(--body); color: var(--muted); }
/* 조기(얼리버드) 요금 기간: 표 위 띠 + 행마다 早割 배지·인상 후 가격 취소선·할인액 */
.fee-table.is-early { border-color: rgba(245,180,0,.35); }
.fee-early {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 6px; padding: 14px 16px;
  border-radius: 14px; background: linear-gradient(110deg, rgba(232,32,46,.22), rgba(245,180,0,.16)); border: 1px solid rgba(245,180,0,.45);
}
.fee-early-tag { font: 800 12px/1 var(--cond); letter-spacing: .16em; padding: 6px 9px; border-radius: 6px; background: var(--hong); color: #fff; }
.fee-early-main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 160px; min-width: 0; }
.fee-early-main b { font-size: 18px; color: var(--text); }
.fee-early-main span { font-size: 13px; color: var(--muted); }
.fee-early-left { font: 800 15px/1 var(--body); color: var(--gold); padding: 8px 12px; border-radius: 999px; background: rgba(245,180,0,.14); white-space: nowrap; }
.fee-early-save { font: 700 13px/1.3 var(--body); color: var(--text); white-space: nowrap; }
.fee-badge { display: inline-block; vertical-align: middle; margin-right: 8px; padding: 4px 7px 3px; border-radius: 6px; font: 700 12px/1 var(--body); font-style: normal; color: #fff; background: var(--hong); transform: translateY(-4px); }
.fee-row .fee-late { font-size: 13px; }
.fee-row .fee-late s { color: var(--muted); text-decoration-thickness: 1.5px; margin-right: 8px; }
.fee-off { color: #ff6b74; font-weight: 800; }
@media (max-width: 560px) {
  .fee-early-save { white-space: normal; }
  /* 가격(배지·취소선·할인액)이 넓어 종목 설명이 세로로 짓눌리므로 가격을 종목명 아래로 */
  .fee-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fee-amt { text-align: left; }
}
.fee-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.info-blocks { display: grid; gap: 16px; }
.info-blocks.cols { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 36px; }
.info-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; background: rgba(255,255,255,.02); }
.info-card h3 { margin: 0 0 12px; font: 800 20px var(--cond); letter-spacing: .04em; color: var(--gold); }
.info-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.info-card li { font-size: 15px; line-height: 1.6; padding-left: 16px; position: relative; overflow-wrap: anywhere; }
.info-card li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); }
.info-card li.warn { color: var(--muted); font-size: 14px; padding-left: 0; }
.info-card li.warn::before { display: none; }
.info-card a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* 문의·심판 협조 폼(문의처 섹션 아래) */
.inquiry { margin-top: 24px; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 30px); background: rgba(255,255,255,.02); }
.inquiry h3 { margin: 0 0 6px; font: 800 22px var(--cond); letter-spacing: .04em; color: var(--gold); }
.inquiry-sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.inq-kinds { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.inq-kinds label { cursor: pointer; }
.inq-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.inq-kinds span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 14px; font-weight: 700; transition: border-color .2s, background .2s, color .2s; }
.inq-kinds input:checked + span { border-color: var(--gold); background: rgba(245,180,0,.12); color: var(--gold); }
.inq-kinds input:focus-visible + span { box-shadow: 0 0 0 3px rgba(245,180,0,.3); }
.inq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .inq-grid { grid-template-columns: 1fr; } }
.inq-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.inq-field.wide { grid-column: 1 / -1; }
.inq-field[hidden] { display: none; }
.inq-field > span { font-size: 13px; font-weight: 700; }
.inq-field input, .inq-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.inq-field textarea { resize: vertical; min-height: 110px; }
.inq-field input:focus, .inq-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,180,0,.18); }
.inq-field .invalid { border-color: var(--hong); box-shadow: 0 0 0 3px rgba(232,32,46,.2); }
.inq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inq-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.inq-foot .btn:disabled { opacity: .5; cursor: wait; }
.inq-msg { margin: 0; font-size: 14px; color: var(--muted); }
.inq-msg.err { color: #ffb4ba; }
.inq-done { margin: 0; font-size: 15px; line-height: 1.7; }

/* 히어로 사진: 세로·정사각에 가까운 화면에서 가로 사진으로 전체를 덮으면 가운데(발)만 남는다 → 사진 비율에 가까운 가로 띠로 보여 주고 위아래는 흐린다 */
@media (max-aspect-ratio: 4/3) {
  .hero-photo {
    inset: auto -4%; top: 46%; height: calc(108vw / 1.45); translate: 0 -50%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  }
  .hero-photo img { object-position: 50% 45%; }
}

/* ── 광고 게재 안내 진입점: 모든 페이지 푸터 텍스트 링크 · 홈 맨 아래(푸터 직전) 광고 모집 카드 ──
   메인 메뉴·히어로 CTA 에는 넣지 않는다. 푸터 링크는 낮은 대비의 작은 텍스트 */
footer .footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 640px) { footer .footer-meta { align-items: flex-start; } }
footer .footer-link { color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); }
footer .footer-link:hover { color: var(--text); }
/* 홈 맨 아래 광고 모집 카드(아이콘 타일 + 금색 테두리 버튼): 신청·홍보 흐름이 끝난 뒤에만 보이도록 푸터 직전에 둔다.
   처음엔 얇은 한 줄이었으나 너무 작다는 사용자 요청으로 카드형으로 키웠다 */
.sponsor-strip { position: relative; z-index: 2; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); }
.sponsor-strip a {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  max-width: 1080px; margin: 0 auto; padding: clamp(24px, 3.4vw, 36px) clamp(22px, 3.6vw, 44px);
  border: 1px solid rgba(245,180,0,.28); border-radius: 22px;
  background: linear-gradient(120deg, rgba(245,180,0,.09), rgba(31,91,255,.06) 60%, rgba(255,255,255,.02));
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.sponsor-strip a:hover { border-color: rgba(245,180,0,.6); transform: translateY(-2px); box-shadow: 0 18px 50px -24px rgba(245,180,0,.45); }
.sponsor-strip .sp-copy { display: flex; align-items: center; gap: 18px; flex: 1 1 380px; min-width: 0; }
.sponsor-strip .sp-ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(245,180,0,.12); color: var(--gold); }
.sponsor-strip .sp-text { font-size: clamp(17px, 2vw, 22px); font-weight: 700; line-height: 1.5; color: var(--text); }
.sponsor-strip b {
  display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 14px 26px; border-radius: 999px;
  font-family: var(--cond); font-weight: 800; font-size: 18px; letter-spacing: .05em; text-transform: uppercase;
  /* 채운 금색은 선수 신청 CTA 전용 — 광고는 테두리 버튼으로 한 단계 낮춘다 */
  border: 1.5px solid var(--gold); color: var(--gold); transition: background .25s, color .25s;
}
.sponsor-strip a:hover b { background: var(--gold); color: var(--bg); }
.sponsor-strip a:hover b .arrow { transform: translateX(4px); }
.sponsor-strip b .arrow { transition: transform .25s; }
@media (max-width: 640px) {
  .sponsor-strip .sp-ico { width: 46px; height: 46px; border-radius: 13px; }
  .sponsor-strip b { width: 100%; justify-content: center; }
}

/* ── 협찬·광고 슬라이드(js/ad-slider.js): 신청 페이지 폼 아래 · 광고 안내 페이지 게재 예시 ──
   선수 신청이 주인공이라 한 단계 낮춘다: 폭 1200px 이하(큰 화면에서 광고가 작아 보인다는 요청으로 800→1200)·가로 3:1(모바일 약 110px 높이), 버튼은 테두리·반투명만(채운 금색 없음) */
.ad-rail { position: relative; z-index: 2; padding: 0 0 clamp(48px, 7vw, 88px); }
.ad-rail .wrap { max-width: calc(1200px + 2 * clamp(16px, 4vw, 64px)); }
/* 홈: 마지막 섹션 뒤에 오므로 위 여백·구분선을 두고, 바로 아래 광고 모집 카드와는 한 묶음으로 붙인다 */
.home-ad-rail { padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
/* 마지막 섹션(문의) 아래 큰 여백 + 광고 칸 위 여백이 겹쳐 "화면이 끝난 줄" 알고 스크롤을 멈추는 일이 있어 줄인다 */
#page > [data-kind]:last-child > .sec { padding-bottom: clamp(32px, 4vw, 56px); }
.home-ad-rail:not([hidden]) + #sponsorSlot .sponsor-strip { border-top: 0; padding-top: 0; }
.ad-rail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ad-rail-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ad-rail .sec-tag { font-size: 13px; color: var(--muted); letter-spacing: .24em; }
/* 컨트롤(정지/재생·점)은 탭 순서상 먼저 두고(APG) 화면에서는 슬라이드 아래로 */
.ad-slider { position: relative; display: flex; flex-direction: column; }
.ad-controls { order: 2; display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; }
.ad-viewport { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.ad-track { display: flex; transition: transform .6s cubic-bezier(.2,.8,.2,1); touch-action: pan-y; }
.ad-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 3 / 1; }
.ad-card { display: block; width: 100%; height: 100%; color: inherit; }
.ad-card img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ad-card picture { display: block; width: 100%; height: 100%; }
.ad-card .ad-fit-bg { display: none; } /* 모바일판 원고가 없는 광고를 휴대폰 3:2 칸에 넣을 때만(아래 @media) */
a.ad-card:focus-visible { outline: 3px solid rgba(245,180,0,.6); outline-offset: -3px; }
/* 실제 광고가 없을 때의 "광고 예시" 슬라이드: 진짜 광고로 오해하지 않게 모서리 배지 */
.ad-sample { position: relative; }
.ad-sample-badge {
  /* 오른쪽 위: 예시 광고의 제목·회사명이 왼쪽에 있어서 좁은 화면에서도 글씨를 덮지 않게 */
  position: absolute; right: 12px; top: 12px; padding: 5px 11px; border-radius: 999px;
  font: 700 12px var(--body); letter-spacing: .04em; color: #fff; background: rgba(5,10,26,.72); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px); pointer-events: none;
}
@media (max-width: 560px) { .ad-sample-badge { right: 8px; top: 8px; padding: 3px 8px; font-size: 10px; } }
.ad-nav {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(5,10,26,.55); backdrop-filter: blur(6px); color: var(--text); cursor: pointer;
  opacity: .7; transition: opacity .2s, border-color .2s;
}
.ad-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ad-nav.prev { left: 10px; }
.ad-nav.next { right: 10px; }
.ad-slider:hover .ad-nav, .ad-nav:focus-visible { opacity: 1; }
.ad-nav:hover { border-color: rgba(255,255,255,.6); }
.ad-nav:focus-visible { outline: 3px solid rgba(245,180,0,.5); outline-offset: 2px; }
/* 터치 화면은 스와이프·점으로 넘긴다(작은 카드를 버튼이 가리지 않게) */
@media (hover: none) { .ad-nav { display: none; } }
.ad-dots { display: flex; justify-content: center; gap: 2px; }
/* 자동 넘김 정지/재생: 점과 같은 약한 톤(신청 CTA 보다 눈에 띄지 않게) */
.ad-rotate { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: none; color: rgba(255,255,255,.7); cursor: pointer; transition: border-color .2s, color .2s; }
.ad-rotate:hover { border-color: rgba(255,255,255,.55); color: var(--text); }
.ad-rotate:focus-visible { outline: 2px solid rgba(245,180,0,.6); outline-offset: 2px; }
.ad-rotate svg { width: 12px; height: 12px; }
.ad-rotate .i-pause { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.ad-rotate .i-play { fill: currentColor; display: none; }
.ad-rotate.paused .i-pause { display: none; }
.ad-rotate.paused .i-play { display: inline; }
.ad-dot { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.ad-dot::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.28); transition: width .3s, background .3s; }
.ad-dot[aria-current="true"]::before { width: 20px; background: rgba(255,255,255,.8); }
.ad-dot:focus-visible { outline: 2px solid rgba(245,180,0,.6); border-radius: 6px; }

/* 모집 카드(마지막 슬라이드): 점선 틀 = "이 자리에 광고" */
.ad-recruit {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(12px, 3vw, 36px);
  padding: 0 clamp(18px, 4.5vw, 52px);
  background: linear-gradient(120deg, rgba(245,180,0,.08), rgba(31,91,255,.07) 60%, rgba(255,255,255,.02));
  outline: 1.5px dashed rgba(245,180,0,.4); outline-offset: -10px; transition: outline-color .25s, background .25s;
}
.ad-recruit:hover { outline-color: rgba(245,180,0,.75); }
/* 이전/다음 버튼이 보이는 화면에서는 버튼 자리만큼 안쪽으로 */
@media (hover: hover) { .ad-slider:not(.single) .ad-recruit { padding-inline: 66px; } }
.ad-recruit-frame { display: grid; place-items: center; width: clamp(96px, 13vw, 150px); aspect-ratio: 3 / 1; border: 1.5px dashed rgba(245,180,0,.6); border-radius: 6px; color: var(--gold); }
.ad-recruit-frame i { font: 800 normal clamp(13px, 1.4vw, 17px) var(--cond); letter-spacing: .12em; }
.ad-recruit-copy { min-width: 0; display: grid; gap: 6px; }
.ad-recruit-copy b { font-size: clamp(15px, 2.2vw, 26px); font-weight: 700; line-height: 1.35; }
.ad-recruit-copy small { font-size: clamp(11.5px, 1.25vw, 14px); color: var(--muted); line-height: 1.5; }
.ad-recruit-more {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid rgba(245,180,0,.7); color: var(--gold); font: 800 16px var(--cond); letter-spacing: .05em; text-transform: uppercase;
  transition: background .25s;
}
.ad-recruit:hover .ad-recruit-more { background: rgba(245,180,0,.12); }
.ad-recruit-more .arrow { transition: transform .25s; }
.ad-recruit:hover .ad-recruit-more .arrow { transform: translateX(4px); }
@media (max-width: 640px) {
  .ad-recruit { grid-template-columns: 1fr auto; outline-offset: -6px; }
  .ad-recruit-frame { display: none; }
  .ad-recruit-copy { gap: 3px; }
  .ad-recruit-more { padding: 7px 12px; font-size: 13px; }
}
@media (max-width: 400px) { .ad-recruit-copy small { display: none; } }
/* 모바일: 배너는 폭이 곧 크기라 좌우 여백을 없애 화면 끝까지(390px 기기 358→390px). 광고 안내 페이지의 게재 예시(.mw-slot)는 .ad-rail 밖이라 해당 없음.
   모바일판 원고(가로 3:2, js/ad-slider.js adImg)가 있는 칸(.has-m)은 3:2 로 — 390px 기기 높이 약 130→260px.
   3:1 원고는 자르지 않는다(광고주 원고 규격): 모바일판이 없는 광고(.ad-fit)는 3:2 칸 가운데에 두고 위아래에 같은 원고를 흐리게 깐다.
   640px 는 js/ad-slider.js MOBILE_MQ(<picture> 원고 전환 기준)와 같아야 한다 */
@media (max-width: 640px) {
  .ad-rail .ad-viewport { margin-inline: calc(-1 * clamp(16px, 4vw, 64px)); border-radius: 0; border-inline: 0; }
  .ad-slider.has-m .ad-slide { aspect-ratio: 3 / 2; }
  .ad-slider.has-m .ad-fit { position: relative; overflow: hidden; }
  .ad-slider.has-m .ad-fit img:not(.ad-fit-bg) { position: relative; object-fit: contain; }
  .ad-slider.has-m .ad-fit .ad-fit-bg { display: block; position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); filter: blur(18px) brightness(.55); }
  .ad-slider.has-m .ad-recruit { grid-template-columns: 1fr; align-content: center; justify-items: start; gap: 14px; }
  .ad-slider.has-m .ad-recruit-copy small { display: block; }
}
@media (prefers-reduced-motion: reduce) { .ad-track { transition: none; } }
