/* 화면 모양. 색은 :root 에서만 바꾼다(--p… = 클럽 색, --a… = 강조색 하나). */
:root {
  /* 물색(레퍼런스: Swimming Australia #0b2240 · World Aquatics #0d4fad · arena #00aeef · OCEANMAN 노랑 #fad100) */
  --deep: #000b2a; --p900: #0b2240; --p700: #0d4fad; --p500: #1f7fd6; --aqua: #00aeef; --p200: #b9dcf3; --p100: #dcefff; --p50: #eaf7fc;
  --sun: #fad100; --sun-ink: #0b2240;
  --a600: #e0582c; --a700: #b8461d; --a100: #fde8df;
  --ink: #0b1a2c; --muted: #546576; --faint: #8796a5; --line: #dde6ee; --bg: #f5f9fc; --card: #ffffff;
  --ok: #1f7a4d; --okbg: #e3f3ea; --warn: #b4442c; --warnbg: #f9e4de;
  --r: 16px; --shadow: 0 1px 2px rgba(11, 34, 64, .06), 0 6px 20px rgba(11, 34, 64, .07);
  --tab: 64px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px;
  -webkit-text-size-adjust: 100%; word-break: keep-all; overflow-wrap: anywhere;
}
* { box-sizing: border-box }
body { margin: 0; background: #eaf6fb; padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)) }
a { color: var(--p700) }
:focus-visible { outline: 3px solid var(--p500); outline-offset: 2px; border-radius: 6px }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px }
.narrow { max-width: 600px }
.narrow .form { max-width: none }
main.wrap { padding-top: 20px; padding-bottom: 40px }
main.wide { max-width: 1120px }

/* 아이콘 */
.ms { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1;
  display: inline-block; vertical-align: -0.22em; letter-spacing: 0; text-transform: none; white-space: nowrap;
  font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; width: 1em; overflow: hidden; margin-right: .2em }

/* 위 머리줄 */
.top { background: var(--p900); position: sticky; top: 0; z-index: 10 }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 56px }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.08rem; color: #fff; text-decoration: none; min-width: 0; letter-spacing: -.01em }
.brand .mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px 9px 9px 2px; background: var(--aqua); color: var(--p900); flex: none }
.brand .mark .ms { margin: 0; font-size: 20px }
.desk { display: none; gap: 4px; margin-left: 8px }
.desk a { padding: 6px 12px; border-radius: 999px; color: #b9c8d8; text-decoration: none; font-weight: 600 }
.desk a:hover { color: #fff } .desk a.on { color: var(--p900); background: var(--sun) }
.who { margin-left: auto; display: flex; gap: 12px; align-items: center; font-size: .9rem; white-space: nowrap }
.who .staff { color: #fff; font-weight: 700; text-decoration: none }
.quiet { color: var(--faint) !important; text-decoration: none }
.top .quiet, .top button.link { color: #8fa6bf !important }

/* 휴대폰 아래 탭 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px) }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--faint);
  text-decoration: none; font-size: .78rem; font-weight: 600 }
.tabbar a .ms { margin: 0; font-size: 26px }
.tabbar a.on { color: var(--p900) }
.tabbar a.on .ms { font-variation-settings: "FILL" 1 }
@media (min-width: 760px) {
  body { padding-bottom: 0 }
  .tabbar { display: none }
  .desk { display: flex }
}
.foot { color: var(--faint); font-size: .85rem; padding-top: 8px; padding-bottom: 28px }

/* 글자 */
h1 { font-size: 1.6rem; line-height: 1.3; margin: 4px 0 14px; letter-spacing: -.02em }
h1 small { color: var(--muted); font-weight: 500; font-size: 1rem; margin-left: 6px }
h2 { font-size: 1.2rem; margin: 36px 0 12px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 10px }
h2 .more { margin-left: auto; font-size: .9rem; font-weight: 600; text-decoration: none }
h3 { font-size: 1.05rem; margin: 0 }
p { margin: 0 0 10px }
.muted { color: var(--muted) } .warn { color: var(--warn); font-weight: 600 } .pre { white-space: pre-line }
.req { color: var(--a600); margin-left: 2px }
.lead { font-size: 1.05rem; color: var(--muted) }

/* 버튼: 화면마다 진한 버튼은 하나 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; border: 0; border-radius: 12px;
  padding: 0 20px; background: var(--sun); color: var(--sun-ink); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer }
.btn:hover { background: #ffe14d }
.btn.ghost { background: transparent; color: var(--p700); box-shadow: inset 0 0 0 1.5px var(--p700) }
.btn.ghost:hover { background: var(--p50) }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .92rem }
.btn.block { width: 100% }
.btn.danger { background: transparent; color: var(--warn); box-shadow: inset 0 0 0 1.5px #ecc3b8 }
button.link { border: 0; background: none; color: var(--p700); font: inherit; cursor: pointer; padding: 0; text-decoration: underline }
form.inline { display: inline }

/* 홈 첫 화면: 깊은 물 + 레인 줄 */
.hero { position: relative; overflow: hidden; margin: 0 -16px 0; padding: 28px 20px 40px; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #1b6f91 0%, var(--p900) 60%) }
.hero.photo { background-size: cover; background-position: center }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, #e0582c 0 18px, #fff 18px 30px, #2a9fc8 30px 48px, #fff 48px 60px) }
.hero .eyebrow { color: var(--p200); font-weight: 700; font-size: .9rem; margin-bottom: 6px }
.hero h1 { color: #fff; font-size: 2rem; margin: 0 0 10px }
.hero .pre { color: #e3f1f6; font-size: 1.05rem; max-width: 34em }
.hero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px }
.hero .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55) }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .1) }
@media (min-width: 760px) { .hero { margin: 0; border-radius: 20px; padding: 44px 40px 52px } .hero h1 { font-size: 2.4rem } }

.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted) }
.facts b { color: var(--ink); font-size: 1.15rem; margin-right: 3px }

/* 정기 훈련 시간표 */
.week { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow) }
.week li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line) }
.week li:last-child { border-bottom: 0 }
.week .day { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--p100); color: var(--p900); font-weight: 800 }
.week .time { font-weight: 700 } .week .where { color: var(--muted); font-size: .94rem }
.week .note { color: var(--p700); font-weight: 600 }

/* 일정 카드 */
.evs { display: grid; gap: 10px }
.ev { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 14px; background: var(--card);
  border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); text-decoration: none }
a.ev:hover { box-shadow: 0 0 0 2px var(--p200), var(--shadow) }
.ev.dim { opacity: .7 }
.ev .date { align-self: start; text-align: center; border-radius: 12px; background: var(--p50); padding: 8px 0 7px; color: var(--p900) }
.ev .date b { display: block; font-size: 1.6rem; line-height: 1.1 }
.ev .date span { font-size: .78rem; font-weight: 600; color: var(--p700) }
.ev .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; font-size: .78rem; font-weight: 700 }
.ev .sub, .ev .count { margin: 2px 0 0; color: var(--muted); font-size: .92rem }
.ev .go { color: var(--faint); font-size: 1.2rem }
.kind { padding: 2px 8px; border-radius: 6px; background: var(--p100); color: var(--p900) }
.kind.competition { background: var(--a100); color: var(--a700) }
.kind.lecture { background: #ebe8f7; color: #4a3f8f }
.dday { padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #fff }
.chip { padding: 2px 8px; border-radius: 6px; background: #eef1f2; color: var(--muted) }
.state.closed { color: var(--warn); font-weight: 700 }

/* 질문 접기 */
details.faq { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 8px }
details.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; gap: 8px }
details.faq summary::-webkit-details-marker { display: none }
details.faq summary::after { content: "expand_more"; font-family: "Material Symbols Rounded"; margin-left: auto; color: var(--faint); font-size: 1.4rem; line-height: 1 }
details.faq[open] summary::after { content: "expand_less" }
details.faq p { padding: 0 16px 14px; color: var(--muted) }
.chat { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r);
  background: #fff7d6; color: #5a4600; text-decoration: none; font-weight: 700 }
.chat .ms { font-size: 1.6rem }

/* 입력 */
.form { display: grid; gap: 18px; max-width: 560px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px }
.form label, fieldset { display: block; font-weight: 700 }
.form label > input, .form label > select, .form label > textarea { display: block; margin-top: 6px }
.form .hint { font-weight: 400; color: var(--muted); font-size: .85rem; margin: 0 }
.form label > .hint, .form legend > .hint { display: block; margin-top: 2px }
fieldset { border: 0; padding: 0; margin: 0 } legend { padding: 0; margin-bottom: 8px }
input, select, textarea { font: inherit; font-weight: 400; padding: 11px 12px; min-height: 48px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; width: 100%; color: var(--ink) }
input:focus, select:focus, textarea:focus { border-color: var(--p500); outline: none; box-shadow: 0 0 0 3px var(--p100) }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--p700); margin: 0 }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 }
label.check input { flex: none; margin-top: 2px }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px }
.row input, .row select { width: auto; flex: 1 1 150px }

/* 크게 누르는 고르기 칸(종목·가입/체험·성별) */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px }
.picks.two { grid-template-columns: 1fr 1fr }
.pick { position: relative; display: flex !important; align-items: center; gap: 8px; min-height: 52px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600 !important; cursor: pointer }
.pick input { position: absolute; opacity: 0; pointer-events: none }
.pick .ms { color: var(--faint) }
.pick:has(input:checked) { border-color: var(--p700); background: var(--p50); color: var(--p900) }
.pick:has(input:checked) .ms { color: var(--p700); font-variation-settings: "FILL" 1 }
.pick:has(input:focus-visible) { outline: 3px solid var(--p500); outline-offset: 2px }
.pick small { display: block; font-weight: 400; color: var(--muted) }
.notice { background: var(--p50); border-radius: 12px; padding: 14px 16px; color: var(--p900) }
.notice h3 { margin-bottom: 4px; font-size: 1rem }

.flash { display: flex; gap: 6px; align-items: center; background: var(--okbg); color: var(--ok); border-radius: 12px; padding: 12px 14px; font-weight: 600 }
.flash.dev { background: #fff4d6; color: #5a4600 }

/* 운영 화면 */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px }
.tabs a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem }
.tabs a.on { background: var(--p900); color: #fff; box-shadow: none }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 } .stats > * { flex: 1 1 110px }
.stat { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 12px 14px; text-decoration: none; color: var(--muted); font-size: .88rem }
.stat b { display: block; font-size: 1.5rem; color: var(--ink); line-height: 1.3 }
.stat.hot b { color: var(--a600) }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px }
.cards li { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px }
.cards li.accepted, .cards li.rejected { opacity: .6 }
.cards .acts { display: flex; gap: 8px; margin-top: 10px }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--p100); color: var(--p900) }
.tag.trial { background: var(--a100); color: var(--a700) }

.pill { display: inline-flex; align-items: center; gap: 2px; border: 0; border-radius: 999px; min-height: 34px; padding: 0 12px 0 8px;
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer }
.pill .ms { margin: 0 }
.pill.ok { background: var(--okbg); color: var(--ok) } .pill.no { background: var(--warnbg); color: var(--warn) }

.scroll { overflow-x: auto }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); font-size: .94rem; overflow: hidden }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap }
tr:last-child td { border-bottom: 0 }
th { background: #f8fafb; color: var(--muted); font-weight: 600; font-size: .85rem }
td.c { text-align: center; color: var(--p700) } tr.rest td { color: var(--faint) }
/* 휴대폰에서 표 → 한 사람 = 카드 하나 */
@media (max-width: 640px) {
  table.m { background: none; box-shadow: none; border-radius: 0 }
  table.m thead, table.m tr.h { display: none }
  table.m tr { display: block; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px 14px; margin-bottom: 10px }
  table.m td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; white-space: normal; text-align: right }
  table.m td::before { content: attr(data-l); color: var(--faint); font-size: .85rem; text-align: left }
  table.m td:first-child { font-weight: 800; font-size: 1.05rem; justify-content: flex-start }
  table.m td:first-child::before { display: none }
  table.m td:empty { display: none }
  table.m td.c { text-align: right }
}

.empty { text-align: center; padding: 32px 16px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); color: var(--muted) }
.empty > .ms { font-size: 40px; color: var(--p200); margin: 0 0 6px }
.empty p { margin-bottom: 14px }


/* ───── 홈(아쿠아) ───── */
main.home > * { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px }
main.home > .flash { margin-top: 12px }
.btn.sun { background: var(--sun); color: var(--sun-ink) } .btn.sun:hover { background: #ffe14d }
.btn.glass { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); backdrop-filter: blur(6px) }
.btn.glass:hover { background: rgba(255, 255, 255, .16) }

.splash { position: relative; isolation: isolate; overflow: hidden; max-width: none !important; padding: 0 !important; color: #fff;
  min-height: min(88svh, 760px); display: flex; align-items: flex-end;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(255, 255, 255, .06) 0 12.5%),
    linear-gradient(180deg, #0b2a52 0%, var(--p900) 45%, var(--deep) 100%) }
.splash.photo { background: linear-gradient(to top, rgba(0, 11, 42, .94) 0%, rgba(0, 11, 42, .5) 55%, rgba(0, 11, 42, .25) 100%), var(--photo) center / cover }
/* 레인 로프: 수영장 레인 줄 세 가닥 */
.splash .ropes { position: absolute; inset: 0; z-index: -1; pointer-events: none }
.splash .ropes i { position: absolute; left: -5%; right: -5%; height: 7px; border-radius: 4px; opacity: .55;
  background: repeating-linear-gradient(90deg, #e03b3b 0 14px, #fff 14px 26px, #1f7fd6 26px 40px, #fff 40px 52px);
  transform: rotate(-6deg); box-shadow: 0 6px 18px rgba(0, 0, 0, .35) }
.splash .ropes i:nth-child(1) { top: 14% } .splash .ropes i:nth-child(2) { top: 30%; opacity: .35 } .splash .ropes i:nth-child(3) { top: 46%; opacity: .18 }
.splash.photo .ropes { display: none }
.splash .inner { width: 100%; max-width: 1120px; margin: 0 auto; padding: 48px 20px 92px }
.splash .eyebrow { margin: 0 0 16px; color: #b9cde2; font-weight: 500; font-size: 1rem }
.splash h1 { margin: 0 0 16px; color: #fff; font-weight: 900; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(46px, 12.5vw, 124px) }
.splash h1 em { font-style: normal; color: var(--aqua); display: block }
.splash .lead-in { color: #cfe3f5; font-size: clamp(1.02rem, 2.4vw, 1.25rem); max-width: 34em; margin: 0 }
.splash .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px }
.splash .acts .btn { min-height: 54px; padding: 0 24px; font-size: 1.05rem }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 44px; display: block }

/* 숫자 띠 */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 1px; margin-top: -8px !important; position: relative; z-index: 1 }
.numbers .num { padding: 18px 4px 14px; border-bottom: 1px solid var(--line) }
.numbers b { display: flex; align-items: baseline; gap: 2px; font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--p900) }
.numbers b small { font-size: .38em; font-weight: 800; color: var(--p700); letter-spacing: 0 }
.numbers .num > span { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; font-weight: 600 }
.numbers .num { border-bottom: 0; border-right: 1px solid var(--line); padding-left: 10px } .numbers .num:last-child { border-right: 0 }
@media (min-width: 760px) { .numbers .num { padding-left: 20px } }

/* 섹션 제목 + 작은 물결 */
.sec-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 44px; margin-bottom: 16px }
.sec-h h2 { margin: 0; font-size: clamp(1.35rem, 3.6vw, 1.9rem); font-weight: 900; letter-spacing: -.03em }
.sec-h .more { margin-left: auto; font-weight: 700; text-decoration: none; font-size: .95rem }

/* 대표 대회 띠 */
.feature { display: grid; gap: 8px; margin: 28px 16px 0 !important; padding: 26px 22px !important; border-radius: 22px 22px 22px 4px; text-decoration: none; color: #fff;
  background: var(--p900); box-shadow: var(--shadow); position: relative; overflow: hidden }
.feature .badge { justify-self: start; display: inline-flex; align-items: center; gap: 2px; padding: 5px 12px; border-radius: 999px; background: var(--sun); color: var(--sun-ink); font-weight: 800; font-size: .85rem }
.feature strong { font-size: clamp(1.5rem, 4.6vw, 2.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.15 }
.feature .fmeta { color: #c6dcf2 }
.feature .fitems { display: flex; flex-wrap: wrap; gap: 6px } .feature .fitems i { font-style: normal; font-size: .82rem; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12) }
.feature .fgo { font-weight: 800; color: var(--sun); margin-top: 4px }
@media (min-width: 1152px) { .feature { margin-left: auto !important; margin-right: auto !important; max-width: 1088px !important } }

/* 정기 훈련: 레인 */
.pool-band { max-width: none !important; margin-top: 44px; padding: 4px 0 36px !important;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(13, 79, 173, .07) 0 25%), var(--p50) }
.pool-band > * { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px }
.lanes { display: grid; gap: 10px } @media (min-width: 760px) { .lanes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) } }
.lane { position: relative; background: var(--card); border-radius: 6px 36px 6px 6px; padding: 18px 18px 16px 62px; box-shadow: var(--shadow) }
.lane .ln { position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--p900); color: var(--sun); font-weight: 900 }
.lane .day { display: block; font-size: 1.15rem; font-weight: 900; letter-spacing: -.02em }
.lane .time { font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; color: var(--p700); line-height: 1.2 }
.lane p { margin: 6px 0 0; color: var(--muted) }
.lane .lnote { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: var(--p100); color: var(--p900); font-weight: 700; font-size: .85rem }

/* 일정: 휴대폰에서 옆으로 넘기기 */
@media (max-width: 759px) {
  .evs.rail { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding-bottom: 10px !important; scrollbar-width: none }
  .evs.rail > * { scroll-snap-align: start }
}
@media (min-width: 760px) { .evs.rail { grid-template-columns: repeat(2, 1fr) } }

/* 마지막 권유 */
.closing { max-width: none !important; margin-top: 52px; padding: 48px 20px 56px !important; text-align: center; color: #fff;
  background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(255, 255, 255, .05) 0 12.5%), linear-gradient(180deg, var(--p900), var(--deep)) }
.closing h2 { display: block; margin: 0 0 20px; font-size: clamp(1.7rem, 6vw, 3rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.15 }
.closing .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px }
main.home + .foot { margin-top: 0 }
body:has(main.home) .top .wrap, body:has(main.home) .foot { max-width: 1120px }


/* ───── 2바퀴 ───── */
/* 머리줄 아래 레인 로프 한 줄: 모든 화면에 물 느낌을 잇는다 */
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: repeating-linear-gradient(90deg, #e03b3b 0 14px, #fff 14px 24px, var(--aqua) 24px 38px, #fff 38px 48px) }
body:has(main.home) .top::after { display: none }
main.wrap > h1:first-child, .narrow > h1, main.wrap > .tabs + h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 900; letter-spacing: -.035em; margin-top: 12px }
.state.hot { color: var(--a700); font-weight: 800 }

/* 입금 버튼: 안 됐으면 '입금 확인', 됐으면 초록과 날짜 */
.pay { display: inline-flex; align-items: center; gap: 2px; min-height: 36px; padding: 0 12px 0 9px; border-radius: 10px; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; border: 0 }
.pay .ms { margin: 0 2px 0 0 }
.pay.no { background: #fff; color: #c2410c; box-shadow: inset 0 0 0 1.5px #c2410c }
.pay.ok { background: #e6f5ec; color: #15803d }

/* 파일 고르기 */
label.file { display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; cursor: pointer;
  font-weight: 700 !important; color: var(--p700); box-shadow: inset 0 0 0 1.5px var(--p700); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
label.file input { position: absolute; opacity: 0; width: 1px; height: 1px }
label.file:focus-within { outline: 3px solid var(--p500); outline-offset: 2px }

@media (max-width: 640px) {
  table.m .hm { display: none }
  table.m tr { padding: 4px 14px }
  table.m td { padding: 6px 0 }
}

/* 휴대폰 한 줄 목록(회원명단·회비): 이름 · 연락처/상태 · 버튼 */
@media (max-width: 640px) {
  table.m.compact tr { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 12px 14px; margin-bottom: 8px }
  table.m.compact td { display: block; padding: 0; border: 0; text-align: left }
  table.m.compact td::before { display: none }
  table.m.compact td:first-child { flex: 1 1 auto; font-size: 1.05rem }
  table.m.compact td:last-child { margin-left: auto }
  table.m.compact td[data-l="연락처"] { order: 5; flex-basis: 100%; color: var(--muted); font-size: .9rem }
  table.m.compact td[data-l="상태"] { font-size: .82rem; font-weight: 700; color: var(--p700); background: var(--p100); padding: 2px 8px; border-radius: 6px }
  table.m.compact tr.rest td[data-l="상태"] { color: var(--muted); background: #eef1f3 }
}

/* ───── 3바퀴 ───── */
html { background: #eaf6fb } body { min-height: 100vh }
.narrow { margin-left: auto; margin-right: auto }
/* 입금: 상태 배지와 누르는 버튼을 나눔 */
.badge { display: inline-flex; align-items: center; gap: 2px; padding: 4px 10px 4px 7px; border-radius: 8px; font-size: .88rem; font-weight: 800; white-space: nowrap }
.badge .ms { margin: 0 2px 0 0 } .badge.ok { background: #e3f6ec; color: #0b6b3a } .badge.no { background: #fdecea; color: #b42318 }
.pay { background: #fff; color: var(--p700); box-shadow: inset 0 0 0 1.5px var(--p700) }
/* 휴대폰 한 줄 목록에서 표 머리 숨김 */
@media (max-width: 640px) { table.m.compact tr.h, table.m tr.h { display: none !important } }
/* 휴대폰 첫 화면: 빈 위쪽을 줄이고 숫자가 첫 화면에 보이게 */
@media (max-width: 759px) {
  .splash { min-height: 0 } .splash .inner { padding: 64px 20px 76px }
  .splash .ropes i:nth-child(1) { top: 6% } .splash .ropes i:nth-child(2) { top: 14% } .splash .ropes i:nth-child(3) { display: none }
}
/* 작은 글자 키우기 */
.ev .meta { font-size: .82rem } .form .hint { font-size: .9rem; color: #4d5e6e } .foot { font-size: .9rem }
/* 설정 글칸: 내용만큼 늘어남 */
.form textarea { field-sizing: content; min-height: 120px }
.picks.one { grid-template-columns: 1fr }
.ev .go { display: inline-flex; align-items: center; font-weight: 800; color: var(--p700); font-size: .92rem }
.ev .go .ms { margin: 0 }

/* ───── 3바퀴 바닥 위반 ───── */
.iconbtn { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--faint); cursor: pointer }
.iconbtn:hover { background: var(--warnbg); color: var(--warn) } .iconbtn .ms { margin: 0 }
.pick .ms.on { display: none } .pick:has(input:checked) .ms.off { display: none }
.pick:has(input:checked) .ms.on { display: inline-block; color: #0b5fd9; font-variation-settings: "FILL" 1 }
.pick .ms.off { color: #b7c6d4 }
.pick:has(input:checked) { border: 2px solid #0b5fd9; background: #e6f3ff }
.numbers { grid-template-columns: repeat(auto-fit, minmax(104px, 240px)) }
@media (min-width: 1000px) { .evs.rail { grid-template-columns: repeat(3, 1fr) } }
.mid { max-width: 720px; margin: 0 auto }
.mid .form { max-width: none }
.notice > .ms { color: var(--p700) }

/* ───── unslop(2026-11-16): 장식 줄이기 · 굵기 두 단계 · 4px 간격 ───── */
/* 굵기: 홈 첫 화면 이름·대표 대회만 800, 나머지 제목 600, 강조 글자 600 */
.splash h1, .feature strong { font-weight: 800 }
.numbers b { font-weight: 700 } .numbers b small { font-weight: 600 }
.sec-h h2, .closing h2, main.wrap > h1:first-child, .narrow > h1, main.wrap > .tabs + h1, h1, h2 { font-weight: 600 }
.lane .day, .lane .time, .lane .ln, .week .day, .brand { font-weight: 600 }
.btn, .pay, .badge, .feature .badge, .feature .fgo, .state.hot, .who .staff, .sec-h .more { font-weight: 600 }
.tag, .ev .meta, .closing h2 { font-weight: 600 }
table.m td:first-child { font-weight: 600 }
/* 간격: 4의 배수로 */
h1 { margin: 4px 0 16px } h2 { margin: 36px 0 12px } p { margin: 0 0 12px }
.form { gap: 20px } .ev { gap: 16px; padding: 16px } .ev .date { padding: 8px 0 }
.evs, .cards, .stats { gap: 12px } .ev .meta { gap: 8px }
.week li, .cards li, details.faq summary, .notice, .chat { padding: 16px }
details.faq p { padding: 0 16px 16px }
.hero .acts, .splash .acts, .closing .acts { gap: 12px }
.splash .acts { margin-top: 24px } .splash h1 { margin-bottom: 16px }
.feature { padding: 24px 20px !important; border-radius: 16px }
.lane { padding: 16px 16px 16px 64px; border-radius: 8px } .lane .ln { left: 16px; top: 16px }
.numbers .num { padding: 20px 4px 16px 12px } .numbers .num > span { margin-top: 8px }
.facts { gap: 8px 24px }
.tabs { gap: 8px } .tabs a { padding: 8px 16px }
.stat { padding: 12px 16px } .row { gap: 8px; margin-bottom: 16px }
.pick { padding: 12px 16px } .btn.small { padding: 0 16px; min-height: 40px }
.empty p { margin-bottom: 16px } .itemline { margin-top: -4px; font-size: .92rem }
/* 색: 노랑은 누르는 것에만, 물색(aqua)은 홈 이름 한 단어에만 */
.desk a.on { color: #fff; background: rgba(255, 255, 255, .12) }
.lane .ln { color: #fff; background: var(--p700) }
.feature .badge { background: rgba(255, 255, 255, .12); color: #fff }
.feature .fgo { color: #fff; text-decoration: underline; text-underline-offset: 4px }
.brand .mark { background: rgba(255, 255, 255, .12); color: #fff }
.lane .lnote { background: none; padding: 0; color: var(--muted); font-weight: 500 }
/* 일정 카드: 종류 + D-day만 칩, 나머지 태그는 회색 글자 */
.ev .tagtext { color: var(--muted); font-weight: 500; align-self: center }
.feature .fitems i { background: none; padding: 0; color: #c6dcf2 } .feature .fitems { gap: 4px 12px }
