/* 화면 모양. 색은 :root 에서만 바꾼다(--p… = 클럽 색, --a… = 강조색 하나). */
/* 글꼴(2026-11-18 저자): 제목은 Paperlogy, 본문은 Pretendard. Paperlogy는 눈누 배포 파일(jsDelivr)을 쓰고,
   굵기마다 파일이 따로라(약 160KB) 쓰는 600·700·800만 둔다. 900은 800 파일로. 받는 동안은 Pretendard로 보인다(swap). */
@font-face { font-family: Paperlogy; font-weight: 600; font-display: swap; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2) format("woff2") }
@font-face { font-family: Paperlogy; font-weight: 700; font-display: swap; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2) format("woff2") }
@font-face { font-family: Paperlogy; font-weight: 800 900; font-display: swap; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2) format("woff2") }
: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 }
h1, h2, h3, .brand { font-family: Paperlogy, "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif }
h1 small { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif }
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 .logo { height: 26px; width: auto; flex: none; display: block }  /* TEAM JUN 수영 선수 그림(004_로고/결과) */
.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-auto-flow: column; grid-auto-columns: 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 .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 }



}
/* 작은 글자 키우기 */
.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 }
.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 }

/* ───── 운영 화면 다듬기(2026-11-18 저자 메모 '홈페이지.md'): 기본 HTML 티(파란 밑줄 링크·파란 빛 테두리·기본 고르기 상자)를 걷어낸다 ───── */
.top::after { display: none }                                   /* 머리줄 아래 빨강·파랑 점선 띠 뺌 */
main.wrap a:not(.btn):not(.ev):not(.li):not(.li-main):not(.iconbtn):not(.attach) { color: var(--p900); text-decoration: none; font-weight: 600 }
main.wrap a:not(.btn):not(.ev):not(.li):not(.li-main):not(.iconbtn):not(.attach):hover { color: var(--p700); text-decoration: underline; text-underline-offset: 3px }
main.wrap a.tel { font-weight: 500; font-variant-numeric: tabular-nums }
.tabs a, .tabs a:hover { color: var(--muted) !important; text-decoration: none !important; font-weight: 600 !important }
.tabs a.on, .tabs a.on:hover { color: #fff !important }
button.link { text-decoration: none }
:focus-visible { outline: 2px solid var(--p900); outline-offset: 2px }
input:focus, select:focus, textarea:focus { border-color: var(--p900); box-shadow: 0 0 0 3px rgba(11, 34, 64, .08) }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23546576' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center }
input[type=checkbox], input[type=radio] { accent-color: var(--p900) }
.pick:has(input:checked) { border: 2px solid var(--p900); background: var(--p50); color: var(--p900) }
.pick:has(input:checked) .ms.on { color: var(--p900) }
.picks.three { grid-template-columns: repeat(3, 1fr) }
.small { font-size: .88rem }
.okc { color: var(--ok) !important }
.btn .ms { margin: 0 2px 0 0 }
.btn.danger-solid { background: var(--warn); color: #fff } .btn.danger-solid:hover { background: #9c3622 }
.btn.danger { box-shadow: inset 0 0 0 1.5px #e7b4a8 } .btn.danger:hover { background: var(--warnbg) }
.flash.err { background: var(--warnbg); color: var(--warn) }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 16px }
.head-row h1 { margin: 0 !important; display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.head-row .acts, .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto }
.metaline { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); margin: 0 0 16px }
.metaline span { display: inline-flex; align-items: center; gap: 4px }
.metaline .ms { margin: 0; color: var(--faint) }
h1 .kind { font-size: .9rem; vertical-align: middle; font-family: "Pretendard Variable", Pretendard, sans-serif }

/* 목록 줄(일정·기록·게시판): 표 대신 카드 줄 하나에 칩·글자·아이콘 */
.list { display: grid; gap: 8px }
.li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; color: var(--ink); text-decoration: none }
a.li:hover, .li-main:hover { background: #fbfdff } a.li:hover .li-t, .li-main:hover .li-t { color: var(--p700) }
.li-main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none }
.li-t { font-weight: 600; font-size: 1.02rem; min-width: 0 }
.li-m { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .92rem }
.li-m .ms { margin: 0; color: var(--faint); font-size: 1.1em }
.li-go { margin-left: auto !important; color: var(--faint) }
.li.past { opacity: .6 }
.li .iconbtn { color: var(--muted) } .li .iconbtn:hover { background: var(--p50); color: var(--p900) } .li .iconbtn.del:hover { background: var(--warnbg); color: var(--warn) }
.li.rec .li-t { flex: 0 0 auto } .rec-v { font-size: 1.2rem; font-variant-numeric: tabular-nums; margin-right: auto }
.kind, .tag { font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 7px }

/* 지우기 확인 */
.confirm { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px 24px; text-align: center; margin-top: 16px }
.confirm h1 { margin: 8px 0 8px !important } .confirm .auth-form { text-align: left; margin-top: 16px }
.confirm .row { justify-content: center; margin: 4px 0 0 }

/* 로그인 */
.auth { display: grid; place-items: center; min-height: calc(100vh - 220px); padding: 24px 0 }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border-radius: 20px; box-shadow: 0 10px 40px rgba(11, 34, 64, .1); padding: 32px 24px; display: grid; gap: 12px; text-align: center }
.auth-card h1 { margin: 0 !important; font-size: 1.6rem !important }
.auth-card .muted { margin: 0 }
.auth-ic { justify-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--p50); color: var(--p900) }
.auth-ic .ms { margin: 0; font-size: 28px } .auth-ic.danger { background: var(--warnbg); color: var(--warn) }
.auth-form { display: grid; gap: 14px; text-align: left; margin-top: 8px }
.auth-form label { font-weight: 600; display: grid; gap: 6px }
.auth-form .code { font-size: 1.5rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums }
.auth-alt { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: #f6f8fa; color: var(--muted) !important; text-decoration: none !important; font-weight: 500 !important; font-size: .92rem }
.auth-alt span { color: var(--p900); font-weight: 600 } .auth-alt .ms { display: none }
.auth-alt:hover { background: var(--p50) }

/* 입금 칸: 배지와 버튼을 같은 높이·같은 너비로 */
.paybox { display: inline-flex; align-items: center; gap: 8px }
.paybox .badge, .paybox .pay { height: 36px; min-height: 36px; justify-content: center; border-radius: 10px; padding: 0 12px }
.paybox .badge { min-width: 104px } .paybox .pay { min-width: 92px; font-weight: 600 }
.pay.undo { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line) }
.badge.rest { background: #eef1f3; color: var(--muted) }
table.dues td { height: 60px; vertical-align: middle }

/* 회원명단: 상태 버튼 · 찾기 두 칸 · 머리 눌러 정렬 · 통계 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px }
.seg { display: inline-flex; background: #e9eef3; border-radius: 12px; padding: 4px; gap: 2px; flex: none }
.seg a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; color: var(--muted) !important; text-decoration: none !important; font-weight: 600 }
.seg a span { font-size: .8rem; color: var(--faint); font-variant-numeric: tabular-nums }
.seg a.on { background: #fff; color: var(--p900) !important; box-shadow: 0 1px 3px rgba(11, 34, 64, .12) }
.search { position: relative; display: flex; align-items: center; flex: 1 1 200px }
.search > .ms { position: absolute; left: 12px; color: var(--faint); margin: 0; pointer-events: none }
.search input, .search select { padding-left: 42px }
table.sortable th { padding: 0 }
table.sortable th button { display: flex; align-items: center; gap: 2px; width: 100%; padding: 11px 12px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; text-align: left }
table.sortable th button:hover, table.sortable th button.on { color: var(--p900) }
.sort-ic { font-size: 1.05em; color: var(--line) } th button.on .sort-ic { color: var(--p900) }
th button[data-dir=up] .sort-ic { transform: rotate(180deg) }
td a.name { font-weight: 600 }
.st { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: var(--okbg); color: var(--ok) }
.st.rest, .st.accepted { background: #eef1f3; color: var(--muted) } .st.left, .st.rejected { background: var(--warnbg); color: var(--warn) } .st.new { background: var(--a100); color: var(--a700) }
.empty-find { text-align: center; padding: 24px }
[data-toggle-stats].on { background: var(--p900); color: #fff; box-shadow: none }
.stats-panel { margin-bottom: 16px }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px }
.statbox { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px }
.statbox h3 { font-size: .95rem; margin: 0 0 12px; color: var(--muted) }
.bar { display: grid; grid-template-columns: 76px 1fr 36px; align-items: center; gap: 8px; margin: 6px 0; font-size: .92rem }
.bar span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.bar i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--p900) var(--w), #eef2f6 var(--w)) }
.bar b { text-align: right; font-variant-numeric: tabular-nums }

/* 가입신청 카드 */
.jcards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px }
.jc { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px }
.jc.accepted, .jc.rejected { opacity: .62 }
.jc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px }
.jc-name { font-size: 1.15rem; font-weight: 600 }
.jc-date { margin-left: auto; color: var(--faint); font-size: .88rem }
.jc-info { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; margin: 14px 0 0 }
.jc-info div { display: grid; gap: 1px } .jc-info dt { display: flex; align-items: center; gap: 4px; color: var(--faint); font-size: .82rem }
.jc-info dt .ms { margin: 0; font-size: 1.05em } .jc-info dd { margin: 0; font-weight: 500 }
.jc-msg { display: flex; gap: 8px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #f6f8fa }
.jc-msg .ms { margin: 2px 0 0; color: var(--faint); flex: none }
.jc-acts { display: flex; gap: 8px; margin-top: 14px }

/* 설정 */
.switch { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px }
.switch .sw { flex: none; position: relative; width: 46px; height: 28px; border-radius: 14px; background: #cfd8e1; transition: background .2s; margin-top: 2px }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s }
.switch input:checked + .sw { background: var(--p900) } .switch input:checked + .sw::after { transform: translateX(18px) }
.switch input:focus-visible + .sw { outline: 2px solid var(--p900); outline-offset: 2px }
.switch .hint { display: block; margin-top: 2px }
.savebar { position: sticky; bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 8px); display: flex; gap: 8px; padding: 12px; margin: 4px -8px -8px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 -2px 16px rgba(11, 34, 64, .08); backdrop-filter: blur(6px) }
.savebar .btn { flex: 1 } @media (min-width: 760px) { .savebar { bottom: 12px } }
details.fold { margin-top: 32px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 0 }
details.fold > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 16px 18px; font-weight: 600 }
details.fold > summary::-webkit-details-marker { display: none }
details.fold > summary .hint { flex-basis: 100%; font-weight: 400; color: var(--muted); font-size: .88rem; padding-left: 28px }
details.fold[open] > summary { border-bottom: 1px solid var(--line) }
details.fold > :not(summary) { margin-left: 18px; margin-right: 18px }
details.fold > form:last-child { margin-bottom: 18px }
details.fold table { box-shadow: none; border: 1px solid var(--line) }

/* 기록 */
.pickbar { margin-bottom: 12px }
.card-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px }
.who-card { display: flex; align-items: center; gap: 12px } .who-card b { display: block; font-size: 1.1rem } .who-card .muted { font-size: .88rem }
.who-card .dv-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--p100); color: var(--p900); font-weight: 700 }
.inline-form { display: flex; align-items: flex-end; gap: 8px; margin-left: auto }
.inline-form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem } .inline-form input { min-height: 40px; padding: 8px 10px }

/* 게시판 */
.post { display: grid !important; gap: 4px 14px; grid-template-columns: 1fr auto auto }
.post .li-t { grid-column: 1 / -1 } .post .post-sum { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.post .li-m.file { grid-column: 1 / -1; color: var(--p900) }
.flabel { display: block; font-weight: 700; margin-bottom: 8px } .flabel .hint { font-weight: 400 }
.post-view { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 22px; margin-top: 12px }
.post-view h1 { margin: 0 0 8px !important }
.post-body { line-height: 1.75; margin: 8px 0 20px; padding-top: 16px; border-top: 1px solid var(--line) }
.attach { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--p50); color: var(--p900); text-decoration: none; margin-bottom: 20px }
.attach span { display: grid; flex: 1; min-width: 0 } .attach b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .attach small { color: var(--muted) }
.attach .ms { margin: 0; font-size: 26px }
@media (max-width: 640px) { .jc-date { margin-left: 0; flex-basis: 100% } .inline-form { margin-left: 0; width: 100% } .inline-form label { flex: 1 } .seg { width: 100% } .seg a { flex: 1; justify-content: center; padding: 8px 6px } }

/* ───── 물속 다이빙(2026-11-18): 홈만(main.dive). 시안 003_시안/04_물속 다이빙.html을 옮김 ─────
   내리면 수면에서 바닥까지 깊어진다. 배경은 칸마다 칠하지 않고 body 한 장. 글자가 얹히는 판은 거의 불투명한 유리.
   움직임은 public/dive.js(물빛 그물·패럴랙스·수심계·남은 시간), 움직임 줄이기 설정이면 다 꺼짐. 노랑은 버튼만. */
body:has(main.dive) {
  --dv-navy: #062a43; --dv-soft: #33566e; --dv-sun: #ffd66b; --dv-sun-ink: #3a2a00; --dv-line: rgba(255, 255, 255, .22);
  --dv-glass-light: rgba(255, 255, 255, .78); --dv-glass-deep: rgba(6, 32, 58, .66); --dv-glass-edge: rgba(170, 236, 244, .28);
  --dv-blur: saturate(1.4) blur(20px); --ray: .8;
  color: #fff; word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden;
  background: linear-gradient(180deg, #c8f4f6 0%, #a6ecf1 6%, #6fd6e0 12%, #1a8c9d 19%, #0e6578 31%, #0b4a68 46%, #0a3157 60%, #071d3d 74%, #071d3d 100%) }
main.dive { position: relative }
main.dive > * { max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0 }
body:has(main.dive) .foot { max-width: none; margin: 0; background: #e3fbfc; color: var(--dv-navy); text-align: center; padding: 28px 16px 32px; position: relative; z-index: 3 }
main.dive .ms { margin: 0 }
.dv-wrap { max-width: 1080px; margin: 0 auto }
/* 고정 층: 물빛 그물 · 빛줄기 · 수심계 */
/* 뒤 물빛은 흐리게 깔아 눈이 아프지 않게(2026-11-18 저자 '블러가 좀 더') */
.dv-caustic { position: fixed !important; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); pointer-events: none; z-index: 0; mix-blend-mode: screen; filter: blur(5px); opacity: .85 }
.dv-rays { position: fixed !important; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; opacity: var(--ray) }
.dv-rays i { position: absolute; top: -20%; height: 150%; width: 14vw; min-width: 70px; filter: blur(6px); transform-origin: 50% 0; transform: rotate(18deg); mix-blend-mode: soft-light;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 45%, rgba(255, 255, 255, 0) 80%) }
.dv-rays i:nth-child(1) { left: 6%; width: 9vw } .dv-rays i:nth-child(2) { left: 24%; width: 16vw; opacity: .7 } .dv-rays i:nth-child(3) { left: 47%; width: 7vw }
.dv-rays i:nth-child(4) { left: 63%; width: 13vw; opacity: .6 } .dv-rays i:nth-child(5) { left: 84%; width: 8vw }
/* 칸 공통 */
main.dive section { position: relative; z-index: 2; padding: 96px 20px }
.dv-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #e6fbfd; margin-bottom: 14px }
.dv-tag .ms { font-size: 18px }
main.dive h2 { display: block; font-size: clamp(26px, 4.2vw, 38px); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 10px; font-weight: 700 }   /* -.025em·800은 그림자와 겹쳐 글자가 붙어 보였다(2026-11-18 저자) */
main.dive h3 { margin: 0 }
.dv-lead { font-size: 17px; color: rgba(255, 255, 255, .86); margin: 0 0 32px; max-width: 36em }
.dv-sec h2, .dv-sec .dv-lead, .dv-cue { text-shadow: 0 1px 2px rgba(2, 16, 34, .55), 0 2px 14px rgba(2, 16, 34, .55) }
[data-px] { will-change: transform }
.dv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-size: 17px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease }
.dv-btn:hover { transform: translateY(-2px) }
.dv-btn .ms { font-size: 22px }
.dv-main { background: var(--dv-sun); color: var(--dv-sun-ink) } .dv-main:hover { background: #ffe08a }
.dv-sub { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55) } .dv-sub:hover { background: rgba(255, 255, 255, .22) }
.dv-sub.light { background: rgba(255, 255, 255, .72); color: var(--dv-navy); border-color: var(--dv-navy) } .dv-sub.light:hover { background: #fff }
.dv-row { display: flex; flex-wrap: wrap; gap: 12px }
.dv-card { background: rgba(5, 24, 46, .62); border: 1px solid var(--dv-line); border-radius: 20px; padding: 26px; color: #fff }
/* 수면: 첫 화면 */
main.dive .dv-hero { min-height: calc(100svh - 56px); padding-top: 72px; padding-bottom: 64px; color: var(--dv-navy) }
.dv-surface { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 44px; pointer-events: none; opacity: .9 }
.dv-surface path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round }
.dv-eyebrow { font-size: 15px; font-weight: 700; color: var(--dv-soft); margin: 0 0 12px }
.dv-hero .dv-tag { background: rgba(6, 42, 67, .1); color: var(--dv-navy) }
main.dive .dv-hero h1 { font-size: clamp(34px, 7vw, 68px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 800; color: var(--dv-navy) }
main.dive .dv-hero h1 small { display: block; font-size: .42em; font-weight: 700; letter-spacing: -.01em; color: var(--dv-soft); margin: 0 0 10px }
.dv-intro { font-size: clamp(17px, 2.1vw, 20px); max-width: 30em; margin: 0 0 30px; color: #0d3550; font-weight: 500 }
.dv-hero .dv-main { box-shadow: 0 8px 24px rgba(160, 110, 0, .25) }
.dv-photo { display: block; width: 100%; max-width: 560px; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 36px; border-radius: 20px; box-shadow: 0 16px 40px rgba(6, 42, 67, .25) }
.dv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 44px; max-width: 720px }
.dv-stat { background: rgba(255, 255, 255, .9); color: var(--dv-navy); border-radius: 20px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(6, 42, 67, .15) }
.dv-stat b { display: block; font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; font-variant-numeric: tabular-nums }
.dv-stat b small { font-size: .6em; margin-left: 2px }
.dv-stat span { font-size: 15px; color: var(--dv-soft); font-weight: 600 }
.dv-cue { display: inline-flex; align-items: center; gap: 6px; margin-top: 36px; font-weight: 700; color: #e9fbfd; font-size: 15px; text-decoration: none }
/* 회원용 다음 일정 띠 */
main.dive .dv-next { position: relative; z-index: 3; padding: 0 20px; margin-top: -28px }
.dv-next-in { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 18px;
  background: rgba(4, 28, 48, .82); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 12px 30px rgba(4, 30, 50, .25) }
.dv-nu { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; border-radius: 12px; text-decoration: none; min-width: 0; color: #fff }
.dv-nu:hover { background: rgba(255, 255, 255, .08) }
.dv-nu b { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.dv-nu .k { flex: none; font-size: 13px; font-weight: 700; color: #9eeaf1 }
.dv-all { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .85); text-decoration: none }
.dv-dday { flex: none; font-size: 15px; font-weight: 700; padding: 4px 10px; border-radius: 10px; background: rgba(158, 234, 241, .2); color: #dffbfd; font-variant-numeric: tabular-nums }
/* 처음 오는 날 */
.dv-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px }
.dv-step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(158, 234, 241, .2); color: #bff3f7; font-weight: 800; font-size: 17px; margin-bottom: 14px }
.dv-steps h3 { font-size: 19px; line-height: 1.4; margin: 0 0 8px; font-weight: 700 }
.dv-steps p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .86) }
/* 정기 훈련 */
.dv-lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px }
.dv-lane { position: relative; overflow: hidden }
.dv-lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; opacity: .85; background: repeating-linear-gradient(180deg, #ffd66b 0 14px, #e04848 14px 28px, #fff 28px 42px) }
.dv-day { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px }
.dv-day b { font-size: 40px; font-weight: 800; line-height: 1 }
.dv-day span { font-size: 15px; color: rgba(255, 255, 255, .75) }
.dv-lane p { margin: 6px 0; display: flex; align-items: center; gap: 8px; font-size: 17px }
.dv-lane .ms, .dv-facts .ms, .dv-plan li .ms { font-size: 20px; color: #9eeaf1 }
.dv-who { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 700; padding: 6px 12px; border-radius: 10px; background: rgba(158, 234, 241, .16); color: #dffbfd }
/* 대표 대회 */
.dv-meet { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px }
.dv-meet-title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px !important; line-height: 1.35 }
.dv-facts { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none }
.dv-facts li { display: flex; gap: 10px; align-items: center; font-size: 17px }
.dv-label { font-size: 15px; color: rgba(255, 255, 255, .75); margin: 0 0 8px; font-weight: 600 }
.dv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none }
.dv-chips li { font-size: 15px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(158, 234, 241, .16); border: 1px solid rgba(158, 234, 241, .35) }
.dv-count { display: flex; flex-direction: column; justify-content: space-between; gap: 20px }
.dv-count h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px }
.dv-cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.dv-cgrid > div { background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 4px; text-align: center }
.dv-cgrid b { display: block; font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1 }
.dv-cgrid span { font-size: 14px; color: rgba(255, 255, 255, .75) }
.dv-note { font-size: 15px; color: rgba(255, 255, 255, .78); margin: 0 }
/* 다가오는 일정 */
.dv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px }
.dv-head .dv-lead { margin: 0 }
.dv-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px }
.dv-plan { display: flex; flex-direction: column }
.dv-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 18px; font-weight: 800 }
.dv-kind { display: inline-flex; align-self: flex-start; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; padding: 4px 10px; border-radius: 8px; margin-bottom: 10px; background: rgba(158, 234, 241, .18); color: #bff3f7 }
.dv-kind .ms { font-size: 17px }
.dv-kind.lecture { background: rgba(255, 255, 255, .16); color: #fff }
.dv-plan h3 { font-size: 19px; line-height: 1.4; margin: 0 0 12px; font-weight: 700 }
.dv-plan ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-size: 16px; color: rgba(255, 255, 255, .88) }
.dv-plan li { display: flex; gap: 8px; align-items: center }
.dv-plan .dv-btn { margin-top: auto; width: 100% }
.dv-closed { margin-top: auto; text-align: center; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); font-weight: 700 }
/* 같이 수영하는 사람들 */
.dv-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px }
.dv-person { margin: 0; display: flex; flex-direction: column; gap: 12px }
.dv-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(111, 214, 224, .22); color: #dffbfd; font-size: 20px; font-weight: 800 }
.dv-person figcaption { display: flex; flex-direction: column; gap: 2px }
.dv-person figcaption b { font-size: 17px }
.dv-person figcaption span { font-size: 14px; color: rgba(255, 255, 255, .72) }
.dv-person blockquote { margin: 0; font-size: 17px; line-height: 1.65 }
/* 자주 묻는 질문 */
.dv-faq { display: grid; gap: 12px; max-width: 780px }
.dv-faq details { padding: 0; border-radius: 18px }
.dv-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 20px; font-size: 18px; font-weight: 700 }
.dv-faq summary::-webkit-details-marker { display: none }
.dv-q { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(158, 234, 241, .2); color: #bff3f7; display: grid; place-items: center; font-size: 15px; font-weight: 800 }
.dv-faq summary .ms { margin-left: auto !important; transition: transform .25s ease }
.dv-faq details[open] summary .ms { transform: rotate(180deg) }
.dv-faq details p { padding: 0 20px 18px 62px; font-size: 17px; color: rgba(255, 255, 255, .88); margin: 0 }
/* 다시 수면 위로 */
main.dive .dv-final { padding-top: 120px; padding-bottom: 120px; text-align: center; overflow: hidden;
  /* 위쪽은 투명하게 시작해 뒤 물빛과 끊기지 않고 이어진다 */
  background: linear-gradient(180deg, rgba(7, 29, 61, 0) 0%, rgba(11, 74, 107, .85) 30%, #1f9db0 62%, #9fe9ef 86%, #e3fbfc 100%) }
.dv-final-card { position: relative; max-width: 640px; margin: 0 auto; background: rgba(255, 255, 255, .9); color: var(--dv-navy); border-radius: 28px; padding: 40px 28px; box-shadow: 0 24px 60px rgba(4, 30, 50, .25) }
.dv-final-card .dv-tag { background: rgba(6, 42, 67, .08); color: var(--dv-navy) }
main.dive .dv-final-card h2 { margin-bottom: 12px }
.dv-final-card p { font-size: 17px; color: var(--dv-soft); margin: 0 0 26px }
.dv-final-card .dv-row { justify-content: center }
/* 유리 판(흐림이 되는 브라우저만. 안 되면 위의 불투명 판 그대로) */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .dv-stat, .dv-final-card { background: var(--dv-glass-light); border: 1px solid rgba(255, 255, 255, .7); -webkit-backdrop-filter: var(--dv-blur); backdrop-filter: var(--dv-blur);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 12px 32px rgba(6, 42, 67, .18) }
  .dv-final-card { background: rgba(255, 255, 255, .85) }
  .dv-card { background: var(--dv-glass-deep); border: 1px solid var(--dv-glass-edge); -webkit-backdrop-filter: var(--dv-blur); backdrop-filter: var(--dv-blur);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 40px rgba(2, 16, 34, .28) }
  .dv-sub.light { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px) }
}
@media (max-width: 980px) { .dv-meet { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 759px) {
  /* 휴대폰은 유리 판 흐림을 반으로(흐림은 판 넓이만큼 매 장면 다시 계산돼 가장 비싸다) */
  body:has(main.dive) { --dv-blur: saturate(1.25) blur(10px) }
  main.dive section { padding: 72px 16px }
  main.dive .dv-hero { padding-top: 56px; min-height: auto }
  .dv-hero .dv-row .dv-btn { flex: 1 1 100% }
  .dv-stats { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .dv-stat { padding: 14px }
  .dv-card { padding: 20px }
  .dv-cgrid > div { padding: 12px 2px }
  .dv-faq details p { padding-left: 20px }
  .dv-faq summary { font-size: 17px; padding: 14px 16px }
  main.dive .dv-next { padding: 0 16px; margin-top: -20px }
  .dv-nu { flex: 1 1 100%; padding: 4px }
  .dv-all { margin-left: 0; padding: 0 4px }
}
@media (prefers-reduced-motion: no-preference) {
  .js-dive .dv-surface .w1 { animation: dvDrift 7s linear infinite }
  .js-dive .dv-surface .w2 { opacity: .55; animation: dvDrift 11s linear infinite reverse }
}
@keyframes dvDrift { to { transform: translateX(-200px) } }
@media (prefers-reduced-motion: reduce) { .dv-caustic { display: none } .dv-btn { transition: none } }

/* 홈: 우리 클럽 기록(종목별 1~3위 · 최근 기록) */
.dv-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px }
.dv-board h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 19px; margin: 0 0 14px !important }
.dv-board h3 span { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .6); font-family: "Pretendard Variable", Pretendard, sans-serif }
.dv-board ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.dv-board li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 2px 10px }
.dv-board li small { grid-column: 2 / -1; color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: -4px }
.dv-rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .12); color: #dffbfd }
.dv-rank.r1 { background: rgba(255, 214, 107, .9); color: #3a2a00 } .dv-rank.r2 { background: rgba(220, 232, 240, .85); color: #12324a } .dv-rank.r3 { background: rgba(214, 160, 110, .85); color: #2d1806 }
.dv-rec { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px }
.dv-subh { font-size: 20px; margin: 32px 0 12px !important; text-shadow: 0 1px 2px rgba(2, 16, 34, .55) }
.dv-feed { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px }
.dv-feed li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px }
.dv-feed .dv-avatar { width: 40px; height: 40px; font-size: 16px }
.dv-feed small { display: block; color: rgba(255, 255, 255, .6); font-size: 13px }

/* ───── 등장(2026-11-18 저자 'Stagger Animation · Scroll Reveal 넣어서 화려하게') ─────
   짧게: 한 개 0.6초, 줄줄이 간격 0.07초, 가장 늦은 것도 0.5초 안에 시작. 움직임 줄이기면 없음. 스크립트가 없으면 처음부터 다 보임 */
@media (prefers-reduced-motion: no-preference) {
  /* 첫 화면: 위에서부터 줄줄이(스크립트 없이 CSS만 — 처음 그릴 때부터라 깜빡이지 않는다) */
  main.dive .dv-hero .dv-eyebrow, main.dive .dv-hero h1 small, main.dive .dv-hero h1 > span, main.dive .dv-hero h1:not(:has(small)),
  main.dive .dv-hero .dv-intro, main.dive .dv-hero .dv-row > *, main.dive .dv-hero .dv-photo, main.dive .dv-hero .dv-stat, main.dive .dv-hero .dv-cue {
    animation: dvIn .7s cubic-bezier(.2, .8, .2, 1) both }
  main.dive .dv-hero .dv-eyebrow { animation-delay: .05s } main.dive .dv-hero h1 small { animation-delay: .1s; display: block }
  main.dive .dv-hero h1 > span, main.dive .dv-hero h1:not(:has(small)) { animation-delay: .18s; display: block }
  main.dive .dv-hero .dv-intro { animation-delay: .3s }
  main.dive .dv-hero .dv-row > :nth-child(1) { animation-delay: .4s } main.dive .dv-hero .dv-row > :nth-child(2) { animation-delay: .47s }
  main.dive .dv-hero .dv-photo { animation-delay: .5s }
  main.dive .dv-hero .dv-stat:nth-child(1) { animation-delay: .55s } main.dive .dv-hero .dv-stat:nth-child(2) { animation-delay: .62s }
  main.dive .dv-hero .dv-stat:nth-child(3) { animation-delay: .69s } main.dive .dv-hero .dv-stat:nth-child(n+4) { animation-delay: .76s }
  main.dive .dv-hero .dv-cue { animation-delay: .85s }
  /* 내리면 떠오름: 살짝 아래·작게·흐리게 → 제자리. 번호(--i)마다 0.07초씩 늦게 */
  main.dive .rv { opacity: 0; transform: translateY(32px) scale(.97); filter: blur(6px);
    transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1), filter .6s ease; transition-delay: calc(var(--i, 0) * 70ms) }
  main.dive .rv.in { opacity: 1; transform: none; filter: none }
  main.dive .dv-boards > .rv, main.dive .dv-plans > .rv { transform: translateY(40px) rotateX(10deg) scale(.96); transform-origin: 50% 0 }
  main.dive .dv-boards > .rv.in, main.dive .dv-plans > .rv.in { transform: none }
  /* 기록판 1~3위 줄도 카드가 뜬 뒤 차례로 */
  main.dive .dv-board.rv li { opacity: 0; transform: translateX(-14px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1) }
  main.dive .dv-board.rv.in li { opacity: 1; transform: none }
  main.dive .dv-board.rv.in li:nth-child(1) { transition-delay: calc(var(--i, 0) * 70ms + .25s) }
  main.dive .dv-board.rv.in li:nth-child(2) { transition-delay: calc(var(--i, 0) * 70ms + .33s) }
  main.dive .dv-board.rv.in li:nth-child(3) { transition-delay: calc(var(--i, 0) * 70ms + .41s) }
}
@keyframes dvIn { from { opacity: 0; transform: translateY(22px); filter: blur(6px) } to { opacity: 1; transform: none; filter: none } }
@keyframes admIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes barGrow { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0 0 0 0) } }

/* 좁은 휴대폰에서 로그인하면 머리줄이 붐빈다: 클럽 이름은 한 줄로 자르고, '비밀번호'는 운영 화면 안에서만 */
.brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex } .who { flex: none }
@media (max-width: 420px) { .who a.quiet[href='/account/password'] { display: none } }
.tab-pw { display: none } @media (max-width: 420px) { .tab-pw { display: contents } }   /* 좁은 휴대폰은 운영 메뉴 끝에 '내 비밀번호' */

/* ───── 저자 메모 반영(2026-11-18 '홈페이지.md') ───── */
/* 첫 화면: 큰 모니터에서 화면 전체 높이를 채우면 내용 아래가 텅 비었다 → 높이에 상한, 내용은 가운데 */
main.dive .dv-hero { min-height: min(calc(100svh - 56px), 720px); display: flex; flex-direction: column; justify-content: center }
main.dive .dv-hero > .dv-wrap { width: 100% }
@media (max-width: 759px) { main.dive .dv-hero { min-height: auto } }
/* '기록' 화면: 홈 기록 칸과 같은 판, 배경은 처음부터 깊은 물 */
body:has(main.dv-records) { background: linear-gradient(180deg, #0b4a68 0%, #0a3157 40%, #071d3d 100%) }
main.dv-records section { padding-top: 64px }
main.dv-records h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 10px; color: #fff }

/* 회원 수정 칸: 다 쓰지 않고 넘어가면 빨간 테두리 */
.form input.bad, .form select.bad { border-color: #d93a2b !important; box-shadow: 0 0 0 3px rgba(217, 58, 43, .12) !important }
.form .bad-msg { color: #c0392b; font-size: .88rem; font-weight: 600 }
/* 상태 고르기: 고른 것마다 색(활동 남색 · 휴식기 주황 · 탈퇴 빨강) */
.picks.status .pick:has(input[value=rest]:checked) { border-color: #e07b00; background: #fff4e5; color: #8a4b00 }
.picks.status .pick:has(input[value=left]:checked) { border-color: #d93a2b; background: #fdecea; color: #a32a1d }
.st.rest { background: #fff4e5; color: #8a4b00 }
/* 회원 지우기: 수정 화면 맨 밑 */
.danger-zone { margin-top: 40px; padding: 18px; border: 1.5px solid #f3c9c4; border-radius: 14px; background: #fffafa }
.danger-zone h2 { margin: 0 0 6px; font-size: 1.05rem; color: #a32a1d }
.danger-zone .row { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap }
.btn.danger { background: #d93a2b; color: #fff } .btn.danger:disabled { background: #eab3ad; cursor: not-allowed }
/* 명단: 이름은 글자만, 수정은 버튼으로 */
td .name { font-weight: 600 } td .acts-cell { display: flex; gap: 6px; justify-content: flex-end }
.form [hidden] { display: none !important }   /* 주종목 직접 쓰기 칸은 '+ 주종목 추가'를 골랐을 때만 */

/* ───── 시안 06에서 고른 것(2026-11-18 저자: 가-1 · 나-1 + 아이콘 · 다-3) ───── */
/* 가-1 위 메뉴: 판 없이, 고른 칸은 흰 글자 + 노란 밑줄 */
.desk a, .desk a.on { position: relative; border-radius: 0; background: none; padding: 6px 12px }
.desk a.on { color: #fff }
.desk a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -4px; height: 3px; border-radius: 3px; background: #ffd66b }
/* 나-1 + 아이콘 운영 탭: 글자 + 아이콘, 고른 칸은 남색 밑줄. 휴대폰은 한 줄로 옆으로 밀어 봄 */
.tabs { gap: 0 !important; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--line); margin-bottom: 20px }
.tabs::-webkit-scrollbar { display: none }
.tabs a, .tabs a:hover { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px !important; margin-bottom: -2px; border-radius: 0; background: none; box-shadow: none;
  border-bottom: 3px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s }
.tabs a .ms { font-size: 19px; margin: 0; color: var(--faint) }
.tabs a:hover { color: var(--p900) !important }
.tabs a.on, .tabs a.on:hover { color: var(--p900) !important; background: none; border-bottom-color: var(--p900) }
.tabs a.on .ms { color: var(--p900); font-variation-settings: "FILL" 1 }
/* 다-3 일정 카드: 훈련은 그대로, 대회는 진한 주황 테두리 + 옅은 주황 바탕, 특강은 보라 점선 테두리(색을 못 가려도 선 모양으로 갈림) */
.ev.k-competition { box-shadow: inset 0 0 0 2px #e0703c, var(--shadow); background: #fffaf6 }
.ev.k-competition .date { background: var(--a100) } .ev.k-competition .date span { color: var(--a700) }
.ev.k-lecture { outline: 2px dashed #9a8fd6; outline-offset: -2px; background: #fbfaff }
.ev.k-lecture .date { background: #ebe8f7 } .ev.k-lecture .date span { color: #4a3f8f }
a.ev.k-competition:hover { box-shadow: inset 0 0 0 2px #e0703c, 0 0 0 2px #f6c9b2, var(--shadow) }
/* ───── 카톡 분석 반영(2026-11-19): 일정 카드의 최소 인원 · 신청 화면의 돈 안내 ───── */
.ev .need { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0; padding: 3px 10px; border-radius: 8px; font-size: .86rem; font-weight: 600; background: #fff4e5; color: #8a4b00 }
.ev .need.ok { background: var(--okbg); color: var(--ok) } .ev .need .ms { font-size: 18px; margin: 0 }
.notice.paynote { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 } .notice.paynote p { margin: 4px 0 0 }
.form .hint .ms { font-size: 17px; margin-right: 2px }
.ev .sub .nw { white-space: nowrap } .ev .sub .ms { font-size: 18px; vertical-align: -0.25em; margin-right: 2px }

/* ───── 저자 메모 2(2026-11-19 '홈페이지.md') ───── */
/* 머리(제목·통계·회원 추가 버튼)는 화면이 열릴 때도 움직이지 않는다. 움직이는 것은 목록 줄만 */
main.wrap .head-row, main.wrap .tabs + h1 { animation: none !important }
/* 마우스를 올려도 글자가 파랗게 바뀌거나 밑줄이 생기지 않는다. 대신 누를 수 있는 판은 살짝 떠오르고, 글자 링크는 옅은 바탕이 깔린다 */
main.wrap a:not(.btn):not(.ev):not(.li):not(.li-main):not(.iconbtn):not(.attach):hover { color: var(--p900); text-decoration: none }
main.wrap a:not(.btn):not(.ev):not(.evb):not(.li):not(.li-main):not(.iconbtn):not(.attach):not(.stat):not(.cell-link):not(.stepper):hover { background: rgba(11, 34, 64, .06); border-radius: 6px; box-shadow: 0 0 0 3px rgba(11, 34, 64, .06) }
a.li:hover .li-t, .li-main:hover .li-t { color: inherit }
a.stat, a.li, a.ev { transition: transform .18s ease, box-shadow .18s ease }
a.stat:hover, a.li:hover, a.ev:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11, 34, 64, .12) }
a.stat:hover b, a.stat:hover { text-decoration: none !important }
/* 한 줄 목록 대신 표: 같은 정보는 같은 열에(날짜·인원·상태) */
table.m.grid tbody tr { transition: background-color .15s ease }
table.m.grid tr[data-href] { cursor: pointer }
table.m.grid tr[data-href]:hover { background: #f3f8fc }
table.m.grid tr.past { opacity: .6 }
table.m.grid td.num { font-variant-numeric: tabular-nums; white-space: nowrap }
table.m.grid .cell-link { font-weight: 600; color: var(--ink) !important }
table.m.grid .go-cell { color: var(--faint); text-align: right; width: 1% }
table.m.grid .acts-cell { width: 1%; white-space: nowrap }
table.m.grid .warn { color: var(--warn); font-weight: 600 }
/* 입금 칸: '입금 11월 10일'과 '미입금' 배지 너비를 같게 해서 오른쪽 버튼이 한 줄로 서게 */
.paybox .badge { min-width: 148px; justify-content: flex-start; padding: 0 12px }
.paybox .pay { min-width: 96px }
/* 회비: 월·분기·연 고르기와 기간 넘기기 사이를 띄우고, < > 는 동그란 버튼으로 */
.period-nav { display: flex; align-items: center; gap: 14px; margin: 14px 0 18px }
.period-nav b { min-width: 9em; text-align: center; font-size: 1.1rem; font-variant-numeric: tabular-nums }
.stepper { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(11, 34, 64, .14), inset 0 0 0 1px var(--line);
  color: var(--p900) !important; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease }
.stepper:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(11, 34, 64, .14), inset 0 0 0 1px var(--line); background: var(--card) !important }
.stepper .ms { margin: 0; font-size: 22px }
/* 휴대폰 첫 화면: 밝은 수면 위에서 물빛 그물이 흐려 안 보였다 → 흐림을 줄이고 진하게 */
@media (max-width: 759px) { .dv-caustic { filter: blur(1.5px); opacity: 1 } }

/* ───── 저자 메모 3(2026-11-19) ───── */
/* 공개 화면도 홈처럼 물속: 위는 밝은 수면, 내려갈수록 푸른 물. 물빛 무늬는 가볍게 CSS로만(스크립트 없음) */
body:has(main.water) { background: linear-gradient(180deg, #d4f6f8 0%, #a6ecf1 22%, #6fd6e0 55%, #38b3c4 100%) }
body:has(main.water)::before { display: none; content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55; mix-blend-mode: soft-light;
  background: radial-gradient(60% 40% at 20% 10%, rgba(255, 255, 255, .9), transparent 70%), radial-gradient(50% 35% at 80% 30%, rgba(255, 255, 255, .7), transparent 70%),
    repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .0) 0 38px, rgba(255, 255, 255, .35) 40px, rgba(255, 255, 255, 0) 44px) }
main.water { position: relative; z-index: 1 }
main.water > h1, main.water .narrow > h1, main.water .sec-h h2 { color: #062a43 }
main.water .notice { background: rgba(255, 255, 255, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
main.water .form, main.water .empty { box-shadow: 0 14px 36px rgba(6, 42, 67, .14) }
body:has(main.water) .foot { background: transparent; color: #062a43 }
/* 소식(회원 공개 글) 표시 */
.tag.pub { display: inline-flex; align-items: center; gap: 2px; background: var(--okbg); color: var(--ok); vertical-align: 2px; margin-right: 4px } .tag.pub .ms { font-size: 15px; margin: 0 }
/* 회원명단: 가운데 정렬, 휴식기·탈퇴 줄을 서로 다르게(휴식기 = 옅은 글자 + 주황 띠, 탈퇴 = 회색 글자 + 이름 가로줄) */
table.sortable th button { justify-content: center; text-align: center }
table.m.compact.sortable td { text-align: center } table.m.compact.sortable td .acts-cell { justify-content: center }
table.m.compact tr.rest td { color: #6b7c8c; background: #fffaf2 } table.m.compact tr.rest td:first-child { box-shadow: inset 4px 0 0 #f0a23a }
table.m.compact tr.left td { color: #a9b4bf } table.m.compact tr.left td .name { text-decoration: line-through; text-decoration-color: #c3ccd5 }
table.m.compact tr.left .st.left { background: #eef1f3; color: #8a96a3 }
table.m.compact tr.rest td[data-l="상태"] { background: #fffaf2 }
/* 개인 기록: 회원 찾기 */
.finder { position: relative; max-width: 520px; margin: 0 0 18px }
.finder-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 14px 36px rgba(11, 34, 64, .18) }
.finder-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink) !important; text-decoration: none !important; font-weight: 600 }
.finder-list a small { color: var(--muted); font-weight: 500 } .finder-list li.on a, .finder-list a:hover { background: var(--p50) !important; box-shadow: none !important }
/* 요약의 다가오는 일정 카드: 오른쪽에 신청 수·미입금 */
.ev .go.adm { display: grid; justify-items: end; gap: 2px; color: var(--ink); font-size: .95rem } .ev .go.adm small { font-size: .85rem; font-weight: 600 } .ev .go.adm .warn { color: var(--warn) }
/* 휴대폰 표 카드: 화살표만 있는 칸은 숨김 */
@media (max-width: 759px) { table.m.grid .go-cell { display: none } }
/* 맨 밑 줄: 운영진 들어가는 문만 작게(2026-11-19 저자 '맨 위에 두면 벽을 느낀다'). 클럽 이름 줄은 11-18 저자 요청으로 뺀 것이라 다시 넣지 않는다 */
.site-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 28px 20px calc(28px + var(--tab, 0px)); color: var(--faint); font-size: .88rem; position: relative; z-index: 3 }
.site-foot .staff-door { display: inline-flex; align-items: center; gap: 4px; color: inherit !important; text-decoration: none !important; opacity: .8 } .site-foot .staff-door:hover { opacity: 1 }
.site-foot .staff-door .ms { font-size: 16px; margin: 0 }
@media (min-width: 760px) { .site-foot { padding-bottom: 28px } }
body:has(main.dive) .site-foot { background: #071d3d; color: rgba(255, 255, 255, .55) }
/* 휴대폰 아래 탭: 시안 07 C(2026-11-19 저자 고름) — 반투명 남색 유리 + 고른 탭 위 노란 줄. 흰 판이 남색 화면 위에서 떠 보이던 것 */
.tabbar { background: rgba(7, 24, 46, .72); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-top: 1px solid rgba(255, 255, 255, .14) }
.tabbar a { position: relative; color: rgba(255, 255, 255, .62) }
.tabbar a.on { color: #fff }
.tabbar a.on .ms { color: #fff }
.tabbar a.on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: #ffd66b }

/* 가입신청: 거절한 신청 묶음 */
.jc-rejected { margin-top: 36px } .jc-rejected h2 { color: var(--muted) } .jc.rejected { opacity: .75 }

/* ───── 저자 메모 6(2026-11-19) ───── */
/* 운영 화면(밝은 바탕 main.wrap, 물빛 공개 화면 제외)에는 움직임이 없다: 등장·떠오르기·전환 효과 모두 끔 */
main.wrap:not(.water), main.wrap:not(.water) * { animation: none !important; transition: none !important }
main.wrap:not(.water) a.stat:hover, main.wrap:not(.water) a.li:hover, main.wrap:not(.water) a.ev:hover, main.wrap:not(.water) .stepper:hover { transform: none !important }
/* 기록 화면도 다른 공개 화면처럼 하늘색 물빛 + 흰 카드(전에는 홈 깊은 물처럼 남색) */
main.water .recs-light .dv-card { background: #fff; color: var(--ink); border: 0; box-shadow: 0 10px 28px rgba(6, 42, 67, .12) }
main.water .recs-light .dv-board h3 { color: #062a43 } main.water .recs-light .dv-board h3 span, main.water .recs-light .dv-board li small, main.water .recs-light .dv-feed small { color: var(--muted) }
main.water .recs-light .dv-rank { background: #e8eef4; color: #12324a } main.water .recs-light .dv-rank.r1 { background: #ffd66b; color: #3a2a00 } main.water .recs-light .dv-rank.r2 { background: #dce8f0 } main.water .recs-light .dv-rank.r3 { background: #e7c09a; color: #2d1806 }
main.water .recs-light .dv-avatar { background: var(--p50); color: var(--p900) }
main.water .recs-light .dv-subh { color: #062a43; text-shadow: none }
main.water .recs-light .ms { margin: 0 }
/* 개인 기록 회원 찾기: 이름 옆 연락처(동명이인 가리기) */
.finder-list a > span:first-child { display: flex; align-items: baseline; gap: 8px } .finder-list .ph { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap }
.finder-list em.st { font-style: normal; font-size: .75rem }

/* 공개 화면(일정·기록·소식·가입)도 홈과 같은 물빛 그물(2026-11-19 저자). 그림은 public/dive.js ④, 판은 홈과 같음 */
body:has(main.water) .dv-caustic { z-index: 0 }
body:has(main.water) .site-foot { position: relative; z-index: 3 }

/* ───── 운영 화면 틀: 시안 09 D3(2026-11-19 저자 고름) ─────
   맨 위 남색 머리줄과 왼쪽 남색 기둥(운영 메뉴)이 ㄱ자로 이어지고, 고른 메뉴는 본문 색으로 '뚫려' 본문과 이어진다. 움직임 없음.
   큰 화면: 기둥은 왼쪽에 고정(220px). 휴대폰: 머리줄 아래 남색 가로 띠(옆으로 밀어 봄) */
body:has(main.staff) { background: #f3f6f9 }
main.staff > .tabs { background: #0b2240; border-bottom: 0 !important; margin: -20px -16px 18px; padding: 6px 8px; gap: 2px !important }
main.staff > .tabs a, main.staff > .tabs a:hover { color: #8fa6bf !important; border-bottom: 0 !important; border-radius: 10px; padding: 9px 12px !important; margin: 0; gap: 8px }
main.staff > .tabs a .ms { color: #8fa6bf; font-size: 20px }
main.staff > .tabs a:hover { color: #fff !important } main.staff > .tabs a:hover .ms { color: #fff }
main.staff > .tabs a.on, main.staff > .tabs a.on:hover { background: #f3f6f9; color: #0b2240 !important }
main.staff > .tabs a.on .ms { color: #0b2240; font-variation-settings: "FILL" 1 }
@media (min-width: 760px) {
  main.staff, main.staff.wide { max-width: none; margin: 0; padding: 28px 32px 56px calc(220px + 32px) }
  main.staff > .tabs { position: fixed; left: 0; top: 56px; bottom: 0; width: 220px; margin: 0; padding: 16px 0 16px 10px; flex-direction: column; flex-wrap: nowrap; overflow-y: auto; z-index: 5 }
  main.staff > .tabs a, main.staff > .tabs a:hover { border-radius: 12px 0 0 12px; padding: 11px 14px !important }
  main.staff > .tabs .tab-pw { display: contents }
  main.staff > .tabs .tab-pw a { margin-top: auto }
  main.staff > *:not(.tabs) { max-width: 1100px }
  main.staff .mid { margin: 0 }
}

/* ───── 저자 메모 7(2026-11-19) ───── */
/* 화면 끝에서 튕겨도(고무줄 스크롤) 하얀 바탕이 보이지 않게: 튕기기를 막고, 보이는 바탕은 머리줄과 같은 남색 */
html { background: #0b2240; overscroll-behavior: none }
html.is-staff { background: #0b2240 }
/* 화면을 옮길 때 하얗게 깜빡이지 않게: 새 화면이 준비될 때까지 앞 화면을 잡아 두고 바로 바꾼다(움직임 없음) */
@view-transition { navigation: auto }
::view-transition-old(root), ::view-transition-new(root) { animation: none }
/* 왼쪽 메뉴 기둥: 폭·여백을 줄임 */
@media (min-width: 760px) {
  main.staff, main.staff.wide { padding-left: calc(184px + 28px); padding-right: 28px }
  main.staff > .tabs { width: 184px; padding: 12px 0 12px 8px }
  main.staff > .tabs a, main.staff > .tabs a:hover { padding: 9px 12px !important; gap: 10px; font-size: .9rem }
}
/* 설정 '로그인할 수 있는 사람': 접는 칸 안쪽 여백(맨 밑 '넣기' 버튼이 잘리던 것) */
details.fold[open] { padding-bottom: 20px } details.fold > :not(summary) { margin-left: 18px; margin-right: 18px }
details.fold table { width: calc(100% - 36px) }
/* 지우기·삭제는 늘 빨강(계속 지킬 것 L) */
.iconbtn.del, .li .iconbtn.del { color: #d93a2b } .iconbtn.del:hover { background: #fdecea; color: #a32a1d }
.btn.danger, .btn.small.danger { background: #d93a2b !important; color: #fff !important; border-color: #d93a2b !important }
.btn.danger .ms { color: #fff }
/* 운영 표: 칸 선 + 줄 번갈아 옅은 색으로 식별 쉽게 */
main.staff table.m td + td, main.staff table.m th + th { border-left: 1px solid #edf1f5 }
main.staff table.m tbody tr:nth-child(even) td { background: #f9fbfd }
main.staff table.m tbody tr:nth-child(even).rest td { background: #fff6ea }
/* 홈 첫 화면: '아래로 내려가 보세요'를 숫자 상자에서 띄움 */
.dv-cue { margin-top: 56px }

/* ───── 저자 메모 8(2026-11-19) ───── */
/* 누를 때 파란 칠·끌 때 회색 흐림·글자 고르기 없앰 */
* { -webkit-tap-highlight-color: transparent }
.tabs a, .tabbar a, nav.desk a, .seg a, .view-seg a { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none }
@media (hover: none) {
  main.staff > .tabs a:not(.on):hover, main.staff > .tabs a:not(.on):active { background: transparent; color: #8fa6bf !important }
  main.staff > .tabs a:not(.on):hover .ms { color: #8fa6bf }
}
/* 알림은 3초 뒤 사라짐 */
.flash.gone { display: none }

/* 기록판: 시안 10 가-1 경기장 전광판 */
.sb-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; background: #0a1424; border-radius: 18px; padding: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); color: #fff }
.sb-board.sb-one { grid-template-columns: 1fr }
.sb-ev { border: 1px solid #1f2d44; border-radius: 12px; padding: 12px 14px; background: linear-gradient(180deg, #0f1c31, #0a1424) }
.sb-ev h3 { margin: 0 0 6px !important; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; color: #ffd66b; letter-spacing: .02em }
.sb-ev h3 small { color: #6f86a3; font-weight: 500; font-size: 12px }
.sb-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px dashed #1f2d44 }
.sb-ln { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #1b2a43; color: #9fb6d1; font-weight: 800; font-size: 13px }
.sb-ln .ms { font-size: 16px; margin: 0; color: #ffd66b } .sb-ln.r1 { background: #ffd66b; color: #2b1d00 } .sb-ln.r2 { background: #c9d4df; color: #12324a } .sb-ln.r3 { background: #d6a77c; color: #2d1806 }
.sb-nm { font-weight: 700; font-size: 15px; min-width: 0 } .sb-nm small { display: block; font-weight: 500; font-size: 12px; color: #6f86a3 }
.sb-tm { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 700; color: #7dffb0; text-shadow: 0 0 8px rgba(125, 255, 176, .45) }
main.water .dv-subh { color: #062a43; margin: 28px 0 10px }

/* 일정: [달력]·[목록] 고르기 + 달력 */
.view-seg { margin: 16px 0 4px } .view-seg a { gap: 6px } .view-seg a .ms { font-size: 18px; margin: 0 }
.cal-card { margin-top: 14px; background: #fff; border-radius: 18px; box-shadow: 0 12px 30px rgba(6, 42, 67, .14); padding: 16px }
.cal-hd { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 12px } .cal-hd b { font-size: 1.2rem; min-width: 8em; text-align: center }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px }
.cw { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0 } .cw:first-child { color: #d9582b } .cw:last-child { color: #2f86c9 }
.cd { min-height: 84px; border-radius: 10px; background: #f6fafc; padding: 6px; display: grid; align-content: start; gap: 3px; min-width: 0 }
.cd b { font-size: 13px } .cd.sun b { color: #d9582b } .cd.sat b { color: #2f86c9 } .cd.mute { background: transparent } .cd.past { opacity: .55 }
.cd.today { box-shadow: inset 0 0 0 2px #062a43; background: #fff }
.ce { display: block; font-size: 11px; font-weight: 600; padding: 3px 5px; border-radius: 6px; color: #fff !important; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.ce.training { background: #2f86c9 } .ce.competition { background: #e0703c } .ce.lecture { background: #7d6fd0 } .ce.off { opacity: .6 }
.cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--muted) } .cal-key .ce { display: inline-block }
@media (max-width: 600px) { .cal-card { padding: 10px } .cd { min-height: 62px; padding: 4px } .ce { font-size: 10px; padding: 2px 3px } }

/* 가입: 시안 10 다-2 레인 진행(신청서 위에 붙어 따라옴) */
.join-lane { --p: 0; position: sticky; top: 64px; z-index: 4; height: 58px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #2aa7c0, #1689a6); box-shadow: 0 8px 20px rgba(6, 42, 67, .18) }
.join-lane::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px dashed rgba(255, 255, 255, .5) }
.join-lane .swimmer { position: absolute; top: 50%; left: calc(12px + (100% - 90px) * var(--p) / 100); transform: translateY(-50%) scaleX(-1); font-size: 34px; color: #fff; margin: 0; transition: left .4s ease }
.join-lane .wall { position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: #fff }
.join-lane .m { position: absolute; top: 4px; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .85) } .join-lane .m.l { left: 10px } .join-lane .m.r { right: 16px }
.join-lane .pct { position: absolute; right: 16px; bottom: 5px; font-size: 12px; font-weight: 800; color: #fff }
.join-lane.done { background: linear-gradient(180deg, #35c08a, #1f9a6c) }

/* 대표 사진 자르기 틀(홈과 같은 16:10) */
.crop-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #0b2240; cursor: grab; touch-action: none }
.crop-frame img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none }
.crop-zoom { display: flex !important; align-items: center; gap: 10px; margin-top: 10px } .crop-zoom input { flex: 1 }

/* 휴대폰 운영 화면: 표 카드를 깔끔하게 */
@media (max-width: 759px) {
  main.staff table.m td + td, main.staff table.m th + th { border-left: 0 }
  main.staff table.m tbody tr:nth-child(even) td, main.staff table.m tbody tr:nth-child(even).rest td { background: transparent }
  main.staff table.m tr { border-radius: 16px; padding: 12px 16px; margin-bottom: 10px }
  main.staff table.m td { text-align: right; padding: 7px 0; border-top: 1px solid #eef2f6 }
  main.staff table.m td:first-child { border-top: 0; padding-top: 2px; font-size: 1.08rem }
  main.staff table.m td::before { color: #6b7c8c; font-weight: 600 }
  main.staff table.m td.acts-cell, main.staff table.m td[data-l=""] { justify-content: flex-end; border-top: 0; padding-top: 10px }
  /* 회원명단: 한 사람 = 한 카드. 이름·상태 / 성별·나이·사는 곳·가입일·함께한 날 / 연락처 / 버튼 */
  table.m.compact.sortable tr { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 16px }
  table.m.compact.sortable td { display: block !important; border: 0 !important; padding: 0 !important; text-align: left !important; background: transparent !important; font-size: .92rem; color: var(--muted) }
  table.m.compact.sortable td::before { display: none !important }
  table.m.compact.sortable td.hm { display: block !important }
  table.m.compact.sortable td:first-child { order: 1; flex: 0 0 calc(100% - 70px); font-size: 1.1rem; color: var(--ink) }
  table.m.compact.sortable td[data-l="상태"] { order: 2; flex: 0 0 60px; text-align: right !important }
  table.m.compact.sortable td[data-l="성별"] { order: 3 } table.m.compact.sortable td[data-l="나이"] { order: 4 } table.m.compact.sortable td[data-l="나이"]::after { content: '세' }
  table.m.compact.sortable td[data-l="사는 곳"] { order: 5 } table.m.compact.sortable td[data-l="가입일"] { order: 6 } table.m.compact.sortable td[data-l="함께한 날"] { order: 7 }
  table.m.compact.sortable td[data-l="연락처"] { order: 8; flex-basis: 100%; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums }
  table.m.compact.sortable td[data-l=""] { order: 9; flex-basis: 100% } table.m.compact.sortable td[data-l=""] .acts-cell { justify-content: flex-end }
  table.m.compact.sortable tr.rest td:first-child { box-shadow: none } table.m.compact.sortable tr.rest { box-shadow: inset 4px 0 0 #f0a23a, var(--shadow) }
  /* 가입신청 카드: 정보 두 칸씩, 이름표·값 대비 높임 */
  .jc { padding: 16px } .jc-info { grid-template-columns: 1fr 1fr; gap: 12px 14px } .jc-info dt { color: #5a6b7b; font-weight: 600 } .jc-info dd { font-weight: 700; color: var(--ink); font-size: 1rem }
  .jc-date { flex-basis: 100% } .jc-msg { font-size: .95rem } .jc-acts .btn { flex: 1 }
}
/* 휴대폰 일정·참가자 목록: 시안 11 B 신청 막대(2026-11-19 저자 고름). 큰 화면은 표 */
.ev-bars { display: none }
@media (max-width: 759px) {
  main.staff .scroll:has(> table.m.grid) { display: none }
  .ev-bars { display: grid; gap: 10px }
  .evb { display: block; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(11, 34, 64, .1); color: var(--ink) !important; text-decoration: none !important }
  .evb.past { opacity: .6 }
  .evb-top { display: flex; align-items: center; gap: 8px } .evb-top b { font-size: 1rem; min-width: 0 }
  .evb-date { font-size: .82rem; color: var(--muted); margin: 4px 0 8px }
  .evb-meter { height: 8px; border-radius: 4px; background: #e6eef4; overflow: hidden; margin-bottom: 8px } .evb-meter i { display: block; height: 100%; background: #2f86c9 }
  .evb.k-competition .evb-meter i { background: #e0703c } .evb.k-lecture .evb-meter i { background: #7d6fd0 }
  .evb-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .86rem; font-weight: 600 }
  .evb-foot .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1f8a4c; margin-right: 5px; vertical-align: 1px } .evb-foot .dot.x { background: #a9b4bf }
  .evb-foot .warn { color: #c0392b } .evb-acts { display: flex; gap: 6px } .evb-acts .iconbtn { width: 36px; height: 36px; background: #eef2f6 } .evb-acts .iconbtn.del { background: #fdecea }
}

/* ───── 대장간 1바퀴(2026-11-19) 운영 화면 평가 반영 ───── */
/* 숨긴 줄은 휴대폰 카드 규칙보다 늘 먼저(활동 탭에 휴식기 회원이 섞이던 것) */
table.m tr[hidden] { display: none !important }
/* 휴대폰에서 일정 목록 표만 숨긴다(개인 기록 표까지 숨겨지던 것) */
@media (max-width: 759px) { main.staff .scroll:has(> table.m.grid) { display: block } main.staff .scroll.ev-table { display: none } }
/* 운영 화면 휴대폰: 손님용 아래 탭은 숨김(누르면 운영 화면을 빠져나감). 위 메뉴 띠 오른쪽에 '더 있음' 그늘 */
@media (max-width: 759px) {
  body:has(main.staff) .tabbar { display: none } body:has(main.staff) { padding-bottom: 0 }
  main.staff > .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent) }
  body:has(main.staff) .brand { font-size: .95rem } body:has(main.staff) .brand .logo { height: 22px }
}
/* 입금 칸: '미입금'은 버튼처럼 보이지 않게 테두리 없는 글자 표시로 줄이고, 버튼은 하나만 버튼답게 */
.paybox .badge { min-width: 118px; height: 34px; padding: 0 8px; background: transparent !important; justify-content: flex-start }
.paybox .badge.ok { color: #0b6b3a } .paybox .badge.no { color: #b42318 }
.paybox .pay { min-width: 88px; height: 36px }
/* 참가자 표: 휴대폰은 한 사람 두세 줄(이름 / 종목 / 입금), 큰 화면은 종목별 칸 */
td.only-m { display: none }
@media (max-width: 759px) {
  main.staff table.m td.itc { display: none !important }
  main.staff table.m td.only-m { display: flex; color: var(--ink) }
  main.staff table.m td.ph { color: var(--muted); font-size: .88rem }
  main.staff table.m td.del-cell { position: absolute; right: 10px; top: 8px; border: 0 !important; padding: 0 !important }
  main.staff table.m tr:has(td.del-cell) { position: relative; padding-right: 52px }
}
/* 회비 표 휴대폰: 이름·상태 한 줄 + 입금 한 줄 */
@media (max-width: 759px) {
  main.staff table.m.dues tr { display: grid !important; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center; padding: 12px 14px }
  main.staff table.m.dues td { display: block !important; border: 0 !important; padding: 0 !important; text-align: left !important; background: transparent !important }
  main.staff table.m.dues td::before { display: none !important }
  main.staff table.m.dues td:first-child { font-size: 1.05rem; font-weight: 700 }
  main.staff table.m.dues td[data-l="상태"] { color: var(--muted); font-size: .85rem; text-align: right !important }
  main.staff table.m.dues td[data-l="입금"] { grid-column: 1 / -1 } main.staff table.m.dues td[data-l="입금"] .paybox { width: 100%; justify-content: space-between }
}
/* 일정 목록: 참가자 보기 입구 */
.evb-go { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--p900); color: #fff; font-size: .85rem; font-weight: 700 } .evb-go .ms { font-size: 16px; margin: 0; color: #fff }
@media (max-width: 759px) { .evb-foot { flex-wrap: wrap } .evb-acts { width: 100%; justify-content: flex-end } }
table.m.grid td .warn .ms, table.m.grid td .okc .ms { font-size: 16px; margin: 0 2px 0 0; vertical-align: -3px }
/* 회원명단 '휴식기로'는 '수정'보다 낮은 버튼 */
.btn.small.quiet-btn { background: #eef2f6; color: #4d5e6e; border: 0; box-shadow: none }
/* 가입신청: 종류는 회색 글자(상태 배지와 구별), 거절은 오른쪽 끝 */
.jc-kind { font-size: .82rem; font-weight: 700; color: #6b7c8c } .jc-acts { display: flex; gap: 8px } .jc-acts .jc-reject { margin-left: auto }
/* 날짜 칸 밑 풀어 쓴 날짜 */
.date-say { display: block; font-size: .86rem; font-weight: 600; color: #1d4f91; margin-top: 2px }
/* 대장간 1바퀴 공개 화면 평가 반영 */
.ev .go .go-m { display: none }
@media (max-width: 759px) {
  /* 일정 카드: '신청'을 카드 맨 아래 폭 가득한 버튼으로, 정보는 한 줄에 하나 */
  a.ev { grid-template-columns: 56px 1fr }
  a.ev .go { grid-column: 1 / -1; display: flex; justify-content: center; height: 44px; border-radius: 12px; border: 2px solid var(--p700); color: var(--p700); font-size: .95rem }
  a.ev .go .go-m { display: inline }
  .ev .sub .nw { display: block } .ev .sub { line-height: 1.6 }
  /* 신청서: 종목 칸은 한 줄에 하나(긴 종목 이름이 두 줄로 꺾이지 않게) */
  .form .picks:not(.two):not(.three) { grid-template-columns: 1fr }
  /* 손가락으로 누를 작은 링크 */
  .back-link, .dv-all, .site-foot .staff-door { display: inline-flex !important; align-items: center; min-height: 44px }
  .site-foot { padding-bottom: calc(var(--tab, 64px) + 24px) }
  .top .who form button, .top .who a { min-height: 44px; display: inline-flex; align-items: center }
}
/* 홈 '다음 일정': 제목이 잘리지 않게 두 줄, 장소는 아래 작게 */
.dv-nu b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden } .dv-nu b small { display: block; font-weight: 500; opacity: .8; font-size: .85em }
/* 달력 아래 그 달 일정 목록(달력 칸 안 글자가 짧게 잘려도 여기서 다 보임) */
.cal-sub { margin: 18px 0 8px; font-size: 1rem }
.cal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.cal-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f6fafc; border-left: 4px solid #2f86c9 }
.cal-list li.k-competition { border-left-color: #e0703c } .cal-list li.k-lecture { border-left-color: #7d6fd0 } .cal-list li.past { opacity: .55 }
.cl-d { font-weight: 800; text-align: center; line-height: 1.15 } .cl-d small { display: block; font-size: .75rem; color: var(--muted); font-weight: 600 }
.cl-t b { display: block; font-size: .95rem } .cl-t small { color: var(--muted); font-size: .82rem }
.cal-list .btn.small { min-height: 40px }
@media (max-width: 600px) { .ce { font-size: 0; height: 8px; padding: 0; border-radius: 4px } .cal-key .ce { font-size: 11px; height: auto; padding: 2px 6px } }
/* 신청서 계좌 복사 */
.notice.paynote .acct { font-weight: 700; color: var(--ink); white-space: normal } .copy-acct { margin-top: 8px; min-height: 40px }
/* 운영 화면 휴대폰 손가락 크기 */
@media (max-width: 759px) {
  main.staff table.m td.del-cell .iconbtn { width: 40px; height: 40px; background: #fdecea }
  .period-nav .stepper { width: 46px; height: 46px }
  main.staff .paybox .pay { min-height: 44px; height: 44px }
  .jc-acts { flex-wrap: wrap } .jc-acts form:first-child { flex: 1 1 100% } .jc-acts form:first-child .btn { width: 100%; min-height: 48px } .jc-acts .jc-reject { margin: 4px auto 0 }
}
@media (max-width: 759px) {
  main.staff table.m.dues tr.h { display: none !important }
  main.staff table.m.dues td, main.staff table.m.dues td form { min-height: 0; height: auto; margin: 0 }
  main.staff table.m.dues td[data-l="입금"] .paybox .badge { min-width: 0 }
  .ev .sub { display: flex; align-items: center; gap: 4px }
}

/* ───── 대장간 2바퀴(2026-11-19) ───── */
/* 휴대폰 일정 목록 표가 카드와 함께 두 번 나오던 것, 활동 탭에 휴식기가 섞이던 것: 숨김이 늘 이기게 */
@media (max-width: 759px) { main.staff div.scroll.ev-table { display: none !important } }
table.m.compact.sortable tr[hidden], table.m tbody tr[hidden] { display: none !important }
/* 휴대폰 표 카드의 버튼 칸: 이름표 없는 빈 칸 표시('-')를 없애고 고치기·지우기를 44px로 */
@media (max-width: 759px) {
  main.staff table.m td[data-l=""]::before { display: none !important }
  main.staff table.m td.acts-cell { display: flex !important; justify-content: flex-end; gap: 8px; width: auto; border-top: 0 }
  main.staff table.m td.acts-cell .iconbtn { width: 44px; height: 44px; background: #eef2f6 } main.staff table.m td.acts-cell .iconbtn.del { background: #fdecea }
  /* 요약 일정 카드 오른쪽 신청 수: 버튼 모양을 빼고 글자로 */
  a.ev .go.adm { grid-column: 1 / -1; height: auto; border: 0; display: flex; justify-content: flex-start; gap: 10px; padding: 0; align-items: baseline }
  /* 회원명단 휴대폰: 가입일·함께한 날에 이름표 */
  table.m.compact.sortable td[data-l="가입일"]::before { content: '가입 '; display: inline !important; color: inherit; font-size: inherit; font-weight: 400 }
  table.m.compact.sortable td[data-l="함께한 날"]::after { content: '째' }
}
/* 참가자 표: 종목은 한 칸에 이어 쓰기(큰 화면에서 표가 넘쳐 '입금 받음'이 잘리던 것) */
td.items-cell { white-space: normal; min-width: 9em } td.note-cell.empty { display: table-cell }
@media (max-width: 759px) { td.note-cell.empty { display: none !important } }
/* 지우기 버튼: '삭제'를 쓰기 전에는 흐리게 */
.btn.danger:disabled { background: #eab3ad !important; border-color: #eab3ad !important; cursor: not-allowed }
/* 가입신청 거절: 빨간 글자 */
.btn.small.reject-btn { background: #fff; color: #b42318; box-shadow: inset 0 0 0 1.5px #f1c3bd; min-height: 44px }
.finder-n { margin: 6px 2px 0 }
/* 머리줄 클럽 이름: 글자만 '…'로 줄어들게 */
.brand .brand-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
/* 정기 훈련 안내: 요일·시간·장소 줄 */
.notice.weekly { display: flex; gap: 10px; align-items: flex-start } .notice.weekly ul { margin: 6px 0; padding-left: 18px } .notice.weekly li { margin: 2px 0 } .notice.weekly li small { color: var(--muted) }
/* 가입 레인: 오른쪽 끝은 결승 깃발(흰 띠가 깨진 그림처럼 보이던 것), 글자 크게 */
.join-lane .wall { display: none } .join-lane .goal { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 28px; color: #fff; margin: 0 }
.join-lane .pct { left: 14px; right: auto; bottom: 4px; font-size: 13px } .join-lane .swimmer { left: calc(14px + (100% - 100px) * var(--p) / 100) }
.send-hint { display: flex; gap: 4px; align-items: center }
/* 신청서 계좌 복사 버튼 크게 */
.copy-acct { min-height: 44px; width: 100% }

/* ───── 대장간 3바퀴(2026-11-19) ───── */
/* 휴대폰 운영 메뉴 띠: 양쪽 끝을 흐리게(왼쪽 끝 글자가 잘려 보이던 것) */
@media (max-width: 759px) { main.staff > .tabs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 85%, transparent) } }
.itemline .nw { white-space: nowrap } .itemline .nw + .nw::before { content: ' · ' }
.tag.priv { display: inline-flex; align-items: center; gap: 2px; background: #eef1f3; color: #4d5e6e; vertical-align: 2px; margin-right: 4px } .tag.priv .ms { font-size: 15px; margin: 0 }
.li-m.edit-go { margin-left: auto; color: var(--p700); font-weight: 600; min-height: 36px }
.recent-mem { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 0 } .recent-mem > span { flex-basis: 100% }
.chip-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink) !important; text-decoration: none !important; font-weight: 600 }
.chip-btn.on { background: var(--p900); color: #fff !important; box-shadow: none }
/* 가입 레인: 글자는 막대 아래 줄로(선수 아이콘이 글자를 덮던 것) */
.join-lane { margin-bottom: 30px; overflow: visible } .join-lane .pct { left: 2px; bottom: -24px; color: var(--ink); font-size: 13px }
/* 홈 '다음 일정' 이름이 잘리지 않게 */
.dv-nu { flex-wrap: wrap } .dv-nu b { white-space: normal !important; -webkit-line-clamp: 3; text-overflow: clip }
/* 최근 기록: 순위 칸 없는 줄 */
.sb-row.sb-recent { grid-template-columns: 1fr auto }
/* 큰 화면 일정 카드 '신청'도 테두리 버튼으로(휴대폰과 한 벌) */
@media (min-width: 760px) { a.ev .go:not(.adm) { height: 44px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--p700); color: var(--p700) } a.ev .go .go-m { display: inline } }
.back-link { color: var(--ink) !important; font-weight: 600 }
/* 개인 기록 한꺼번에 넣기(엑셀처럼) */
.bulk-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px }
details.paste { background: var(--p50); border-radius: 12px; padding: 10px 14px } details.paste summary { cursor: pointer; font-weight: 700; display: flex; gap: 6px; align-items: center; min-height: 40px }
details.paste textarea { width: 100%; margin: 8px 0; font-family: ui-monospace, Menlo, monospace }
table.bulk-t td { padding: 4px 6px } table.bulk-t td.n { width: 2.5em; text-align: center; color: var(--faint) } table.bulk-t input { min-height: 40px; padding: 8px 10px; width: 100% }
table.bulk-t tr.bad-row td { background: #fdecea !important } table.bulk-t .bad-msg { display: block; font-size: .8rem }
@media (max-width: 759px) {
  main.staff table.bulk-t tr { display: grid !important; grid-template-columns: 2.2em 1fr 1fr; gap: 6px; padding: 10px }
  main.staff table.bulk-t td { display: block !important; border: 0 !important; padding: 0 !important }
  main.staff table.bulk-t td::before { display: none !important }
  main.staff table.bulk-t td.n { grid-row: span 2; align-self: center; font-size: 1rem }
  main.staff table.bulk-t td:nth-child(2) { grid-column: 2 / -1 }
  main.staff table.bulk-t td:nth-child(5) { grid-column: 2 / -1 }
}
/* 가입 레인(2026-11-19 저자 메모): 선수는 오른쪽(결승 깃발)을 보고 헤엄, 글자는 막대 안 위쪽에(따라 내려올 때 아래 버튼 위로 뜨던 것) */
.join-lane { height: 66px; margin-bottom: 18px; overflow: hidden }
.join-lane::before { top: 66% }
.join-lane .swimmer { top: 66%; transform: translateY(-50%) }
.join-lane .goal { top: 66% }
.join-lane .pct { left: 14px; top: 7px; bottom: auto; color: #fff; font-size: 12px; font-weight: 700 }
/* 사이트가 직접 띄우는 빈칸·형식 안내 */
.field-bad input, .field-bad select, .field-bad textarea, input.field-bad, .field-bad .pick { border-color: #d93a2b !important; box-shadow: 0 0 0 3px rgba(217, 58, 43, .12) }
.field-msg { display: flex; align-items: center; gap: 4px; margin-top: 6px; color: #c0392b; font-size: .9rem; font-weight: 700 }
.field-msg::before { content: '!'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #d93a2b; color: #fff; font-size: 12px }

/* ───── 저자 메모 9(2026-11-19) ───── */
/* 왼쪽 메뉴: 글자 링크 옅은 바탕 규칙(main.wrap a:not(...):hover)이 고른 칸까지 덮어 남색 글자가 남색 기둥에 묻혀 사라지던 것 */
main.staff > .tabs a.on:hover { background: #f3f6f9 !important; box-shadow: none !important; border-radius: 10px }
main.staff > .tabs a:not(.on):hover { background: rgba(255, 255, 255, .07) !important; box-shadow: none !important }
@media (min-width: 760px) {
  main.staff > .tabs { overflow-x: hidden }   /* 휴대폰에서 옆으로 민 자리가 큰 화면 기둥을 밀어 글자가 잘리던 것 */
  main.staff > .tabs a.on:hover { border-radius: 12px 0 0 12px }
}
/* 회원명단 열 제목: 정렬 화살표를 글자 밖으로 빼서 글자가 칸 한가운데 */
table.sortable th button { position: relative; justify-content: center; padding-left: 20px; padding-right: 20px }
table.sortable th button .sort-ic { position: absolute; right: 4px; top: 50% ; margin-top: -.55em }
th button[data-dir=up] .sort-ic { transform: rotate(180deg) }
/* 가입서: 회비 안내는 맨 끝(보내기 바로 위) */
.notice.dues-last { margin: 18px 0 4px }
/* 큰 화면 운영 폭: 시안 12 A(2026-11-19 저자 고름). 본문을 최대 1280px로, 왼쪽 메뉴를 뺀 남은 자리 한가운데에 */
@media (min-width: 760px) {
  /* 칸마다 가운데로 두면 기간 버튼처럼 폭이 좁은 것이 왼쪽에 남아서, 본문 양옆 여백을 같게 만든다 */
  main.staff, main.staff.wide { padding-left: max(212px, calc(184px + (100vw - 184px - 1280px) / 2)); padding-right: max(28px, calc((100vw - 184px - 1280px) / 2)) }
  main.staff > *:not(.tabs) { max-width: none }
}

/* ───── 저자 메모 10(2026-11-19) ───── */
/* 개인 기록 회원별·종목별 바꾸기 */
.seg.view-by { display: inline-flex; margin: 0 0 14px } .seg.view-by a { display: inline-flex; align-items: center; gap: 6px }
/* 종목 고르기: 알약 대신 밑줄 탭(옆으로 밀어 봄), 사람 수는 옅게 */
.item-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 2px solid #e3e9ef; margin: 0 0 10px; scrollbar-width: none }
.item-tabs::-webkit-scrollbar { display: none }
.item-tabs a { flex: none; padding: 10px 14px; margin-bottom: -2px; border-bottom: 2px solid transparent; color: var(--muted) !important; font-weight: 600; text-decoration: none !important; background: none !important; box-shadow: none !important; border-radius: 0 !important }
.item-tabs a span { margin-left: 6px; font-size: .8em; color: var(--faint); font-weight: 500 }
.item-tabs a.on { color: var(--p900) !important; border-bottom-color: var(--p900) }
table.item-recs tr.more td { color: var(--muted) } table.item-recs tr.more td b { font-weight: 500 }
/* 왼쪽 메뉴 고른 칸: 마우스를 올려도 모양 그대로(글자 링크 규칙의 6px 둥근 모서리가 덮던 것). 다른 칸도 모서리는 그대로 */
main.staff > .tabs a:hover { border-radius: 10px !important }
@media (min-width: 760px) { main.staff > .tabs a:hover { border-radius: 12px 0 0 12px !important } }
/* 종목별 기록 휴대폰: 한 사람 한 카드를 두 줄로(순위·이름·기록 / 날짜·장소·고치기 지우기) */
@media (max-width: 759px) {
  main.staff table.m.grid.item-recs tr { display: grid !important; grid-template-columns: 44px 1fr auto; align-items: center; gap: 4px 10px; padding: 12px 14px !important }
  main.staff table.m.grid.item-recs td { display: block !important; border: 0 !important; padding: 0 !important; text-align: left !important; background: transparent !important; min-height: 0 }
  main.staff table.m.grid.item-recs td::before { display: none !important }
  main.staff table.m.grid.item-recs td:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; font-weight: 700; color: var(--p900); font-size: 1rem }
  main.staff table.m.grid.item-recs td:nth-child(2) { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 1.02rem }
  main.staff table.m.grid.item-recs td:nth-child(3) { grid-column: 3; grid-row: 1; text-align: right !important; white-space: nowrap }
  main.staff table.m.grid.item-recs td:nth-child(4) { grid-column: 2; grid-row: 2; font-size: .85rem; color: var(--muted) }
  main.staff table.m.grid.item-recs td:nth-child(5) { grid-column: 2; grid-row: 3; font-size: .85rem; color: var(--muted) }
  main.staff table.m.grid.item-recs td:nth-child(6) { grid-column: 2; grid-row: 4; font-size: .85rem; color: var(--muted) }
  main.staff table.m.grid.item-recs td:nth-child(5):empty, main.staff table.m.grid.item-recs td:nth-child(6):empty { display: none !important }
  main.staff table.m.grid.item-recs td:nth-child(7) { grid-column: 3; grid-row: 2 / span 3; justify-self: end; display: flex !important; gap: 4px }
}
.seg.view-by .ms { font-size: 18px }

/* ───── 시안 13 고른 것(2026-11-19 저자: 가-1 · 나-1 · 다-1) ───── */
/* 다-1: 운영 일정 표·휴대폰 일정 막대는 테두리 없이 줄 맨 앞 색 막대만(훈련 파랑 · 대회 주황 · 특강 보라) */
main.staff table.m.grid tr.k-training td:first-child { box-shadow: inset 4px 0 0 #9bbbe6 }
main.staff table.m.grid tr.k-competition td:first-child { box-shadow: inset 4px 0 0 #e0703c }
main.staff table.m.grid tr.k-lecture td:first-child { box-shadow: inset 4px 0 0 #7d6fd0 }
.evb.k-training { box-shadow: inset 4px 0 0 #9bbbe6, 0 1px 3px rgba(11, 34, 64, .1) }
.evb.k-competition { box-shadow: inset 4px 0 0 #e0703c, 0 1px 3px rgba(11, 34, 64, .1) }
.evb.k-lecture { box-shadow: inset 4px 0 0 #7d6fd0, 0 1px 3px rgba(11, 34, 64, .1) }
/* 운영 표 열 제목은 모두 가운데 */
main.staff table.m th, main.staff table.m tr.h th, main.staff table th { text-align: center !important }
main.staff table th button { justify-content: center }
/* 가-1: 최근 기록을 넣은 회원 = 작은 표(이름 · 마지막 기록 날 · 기록 수), 5명 */
.recent-mem2 { margin: 10px 0 4px } .recent-mem2 > span { display: block; margin-bottom: 6px }
.rm-table { width: 100%; max-width: 520px; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; font-size: .92rem; box-shadow: 0 1px 2px rgba(11, 34, 64, .06) }
.rm-table td { padding: 9px 12px; border-top: 1px solid #edf1f5; cursor: pointer }
.rm-table tr:first-child td { border-top: 0 }
.rm-table td.n a { color: var(--ink) !important; font-weight: 700; text-decoration: none !important; background: none !important; box-shadow: none !important }
.rm-table td.r { text-align: right; color: var(--muted) }
.rm-table tr.on td { background: #eef3f9 }
/* 나-1: 가입신청 두 줄 카드 */
.jcards .jc.jc2 { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px 16px }
.jc2 .jc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 }
.jc2 .jc-top .jc-name { font-size: 1.08rem }
.jc2 .jc-kind { font-size: .78rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; color: #1f6d45 !important; background: #e4f3ea }
.jc2 .jc-kind.k-trial { color: #1d4f9a !important; background: #e3effc }
.jc2 .jc-date { color: var(--muted); font-size: .85rem }
.jc2 .jc-acts { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; margin: 0; justify-content: flex-end }
.jc2 .jc-acts .btn.small { min-height: 44px; height: 44px; align-items: center; box-sizing: border-box }   /* 받기·거절 같은 높이(2026-11-19 저자) */
.jc2 .jc-meta { grid-column: 1; margin: 0; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 2px 12px }
.jc2 .jc-meta .em { color: var(--ink); font-weight: 600 }
.jc2 .jc-msg { grid-column: 1 / -1; margin: 2px 0 0; font-size: .9rem; background: #f3f6f9; border-radius: 8px; padding: 7px 10px }
@media (max-width: 759px) {
  .jcards .jc.jc2 { grid-template-columns: 1fr }
  .jc2 .jc-acts { grid-column: 1; grid-row: auto; justify-content: space-between; order: 9 }
}

/* ───── 저자 메모 11(2026-11-19, 휴대폰) ───── */
/* 휴대폰: 카드를 꾹 누른 채 끌면 '마우스 올림' 모양이 남던 것 → 손가락 화면에서는 마우스 올림 바탕·테두리를 아예 안 씀 */
@media (hover: none) {
  main.wrap a:not(.btn):not(.ev):not(.evb):not(.li):not(.li-main):not(.iconbtn):not(.attach):not(.stat):not(.cell-link):not(.stepper):hover { background: transparent; box-shadow: none }
  .evb:hover, .evb:active { background: #fff !important }
  a.ev:hover, a.ev:active { transform: none !important }
}
.evb, a.ev { -webkit-user-select: none; user-select: none }
/* 회비: 이름 옆 연락처(동명이인 가리기), 입금일 칸·날짜 바꾸기 */
.due-name { font-weight: 700 } .due-tel { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; margin-top: 1px }
.paybox { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap }
.due-when { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin: 0 }
.due-when input, .due-date input { width: 7.4em; padding: 6px 8px; font: inherit; font-size: .9rem; border: 1px solid #d5dde6; border-radius: 8px; background: #fff; color: var(--ink) }
.due-date { display: inline-block } .due-date summary { cursor: pointer; font-size: .82rem; color: var(--muted); list-style: none; padding: 4px 6px; border-radius: 6px }
.due-date summary::-webkit-details-marker { display: none } .due-date summary::after { content: " ▾" }
.due-date[open] summary::after { content: " ▴" } .due-row { display: inline-flex; gap: 6px; align-items: center; margin-left: 4px }
/* 공개 일정 머리: 제목 옆 [목록][달력], 안내 한 줄은 작게 제목 밑(2026-11-19 저자 '바로 본론') */
.sched-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px }
.sched-head h1 { margin-bottom: 2px }
.sched-hint { margin: 0; font-size: .85rem; color: var(--muted) }
.sched-head .view-seg { margin: 6px 0 0; flex: none }
.sched-head > div:first-child { flex: 1 1 auto; min-width: 0 }
.sched-head .view-seg { display: inline-flex !important; width: auto !important; flex: none !important }
.sched-head .view-seg a { flex: none !important; padding: 7px 11px !important; font-size: .85rem }
.due-when .date-say, .due-date .date-say { display: none }

/* ───── 시안 14 고른 것(2026-11-19 저자: 가-1 간격 넓게 · 나-1 · 라-2) ───── */
/* 운영 메뉴 띠(휴대폰): 양옆 흰 흐림 빼기 */
main.staff > .tabs { -webkit-mask-image: none !important; mask-image: none !important }
/* 가-1: 일정 막대 카드(일정·참가자·요약 같이) 글자 사이를 넓혀 덜 갑갑하게 */
.evb { padding: 16px 16px 14px !important }
.evb .evb-top { gap: 8px; line-height: 1.4 } .evb .evb-top b { font-size: 1.02rem }
.evb .evb-date { margin: 6px 0 12px !important }
.evb .evb-meter { margin-bottom: 12px !important }
.evb .evb-foot { line-height: 1.5; gap: 10px; row-gap: 10px }
.ev-bars { gap: 12px }
.more-link { text-align: center; margin: 12px 0 0 } .more-link a { color: var(--muted) !important; font-weight: 600; font-size: .9rem }
/* 나-1: 휴대폰 회원 카드 두 줄(이름·상태 + 작은 버튼 / 성별·나이·연락처·함께한 날) */
@media (max-width: 759px) {
  table.m.compact.sortable tr { gap: 4px 8px !important; padding: 12px 14px !important }
  table.m.compact.sortable tr::after { content: ''; order: 4; flex-basis: 100%; height: 0 }
  table.m.compact.sortable td:first-child { order: 1; flex: 0 1 auto !important; font-size: 1.05rem }
  table.m.compact.sortable td[data-l="상태"] { order: 2; flex: 0 0 auto !important; text-align: left !important }
  table.m.compact.sortable td[data-l=""] { order: 3; flex: 0 0 auto !important; margin-left: auto }
  table.m.compact.sortable td[data-l=""] .acts-cell { gap: 6px }
  table.m.compact.sortable td[data-l=""] .btn.small { width: 36px; height: 36px; min-height: 0; padding: 0 !important; justify-content: center }
  table.m.compact.sortable td[data-l=""] .btn .t { display: none }
  table.m.compact.sortable td[data-l=""] .btn .ms { margin: 0 }
  table.m.compact.sortable td[data-l="성별"] { order: 5 } table.m.compact.sortable td[data-l="나이"] { order: 6 }
  table.m.compact.sortable td[data-l="연락처"] { order: 7; flex-basis: auto !important; font-size: .92rem }
  table.m.compact.sortable td[data-l="함께한 날"] { order: 8 }
  table.m.compact.sortable td[data-l="사는 곳"], table.m.compact.sortable td[data-l="가입일"] { display: none !important }
  table.m.compact.sortable td[data-l="성별"], table.m.compact.sortable td[data-l="나이"], table.m.compact.sortable td[data-l="연락처"], table.m.compact.sortable td[data-l="함께한 날"] { font-size: .86rem }
  table.m.compact.sortable td[data-l="나이"]::before, table.m.compact.sortable td[data-l="연락처"]::before, table.m.compact.sortable td[data-l="함께한 날"]::before { content: '· '; display: inline !important; color: var(--faint) }
}
@media (min-width: 760px) { .btn .t { display: inline } }
/* 라-2: 공개 일정 [목록][달력]은 아이콘 두 개만, 고른 쪽 남색 */
.sched-head .view-seg { background: none !important; padding: 0 !important; gap: 6px; box-shadow: none !important }
.sched-head .view-seg a { width: 40px; height: 40px; padding: 0 !important; justify-content: center; border-radius: 10px !important; background: rgba(255, 255, 255, .6) !important; color: #3c5d78 !important; box-shadow: none !important; font-size: 0 !important; gap: 0 !important }
.sched-head .view-seg a .ms { font-size: 21px !important; color: inherit }
.sched-head .view-seg a.on { background: #0b2240 !important; color: #fff !important }

/* ───── 저자 메모 12(2026-11-19) ───── */
/* 물음 창('지울까요?')·알림('고쳤어요')은 화면 가운데(사이트가 직접 띄움, 움직임 없음) */
.ask-back { position: fixed; inset: 0; z-index: 100; background: rgba(11, 34, 64, .45); display: grid; place-items: center; padding: 16px }
.ask-back[hidden] { display: none }
.ask-box { background: #fff; border-radius: 16px; width: min(380px, 100%); padding: 22px 20px 16px; box-shadow: 0 20px 50px rgba(11, 34, 64, .35); color: var(--ink) }
.ask-text { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.55; white-space: pre-line; word-break: keep-all }
.ask-acts { display: flex; gap: 8px; justify-content: flex-end } .ask-acts .btn { min-width: 84px; justify-content: center }
/* 알림('고쳤어요'·'회원명단에 넣었어요')은 화면 아래 가운데 스낵바(2026-11-19 저자 '토스트나 스낵바로'). 휴대폰은 아래 탭 위에. 글이 길면 줄을 바꿔 잘리지 않게 */
.flash { position: fixed !important; left: 50%; bottom: 28px; top: auto; transform: translateX(-50%); z-index: 90; width: max-content; max-width: calc(100vw - 32px); background: #0b2240 !important; color: #fff !important;
  box-shadow: 0 10px 30px rgba(11, 34, 64, .35); padding: 13px 18px !important; font-size: .95rem; margin: 0 !important; border-radius: 12px !important; pointer-events: none; white-space: normal; word-break: keep-all; line-height: 1.45 }
.flash .ms { color: #7fd6a0 !important; flex: none }
@media (max-width: 759px) { .flash { bottom: calc(84px + env(safe-area-inset-bottom)) } }
.flash.err, .flash.dev { position: static !important; transform: none; box-shadow: none; pointer-events: auto; margin: 0 0 12px !important }
/* 가입서 레인: 수영하는 사람이 칸을 채울 때마다 천천히 미끄러지듯(0.4초 → 1.4초), 다 쓰면 색도 천천히 */
.join-lane .swimmer { transition: left 1.4s cubic-bezier(.22, .61, .36, 1) !important }
.join-lane { transition: background-color 1.2s ease, background 1.2s ease }
@media (prefers-reduced-motion: reduce) { .join-lane .swimmer { transition: none !important } }
/* 공개 기록 종목 탭(물 바탕 위) */
.item-tabs.pub { border-bottom-color: rgba(11, 34, 64, .15); margin-bottom: 14px }
.item-tabs.pub a { color: #3c5d78 !important } .item-tabs.pub a.on { color: #0b2240 !important; border-bottom-color: #f5cf3c }
.recs-light .dv-boards:has(> .dv-board:only-child) { grid-template-columns: minmax(0, 720px) }
/* 휴대폰 달력: 막대에 일정 이름을 아주 작게라도(두 줄까지, 넘치면 …) */
@media (max-width: 600px) {
  .cal-grid .ce { font-size: 9px !important; height: auto !important; padding: 2px 3px !important; line-height: 1.2; border-radius: 4px !important; margin-top: 2px;
    white-space: normal; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.02em }
}
/* 개인 기록 '최근 기록을 넣은 회원': 네모 버튼을 가로로 나란히(휴대폰은 옆으로 밀어 봄). 2026-11-19 저자 '버튼식으로 횡열로' */
.recent-mem3 { margin: 10px 0 4px } .recent-mem3 > span { display: block; margin-bottom: 6px }
.rm-btns { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none } .rm-btns::-webkit-scrollbar { display: none }
.rm-btn { flex: none; display: flex; flex-direction: column; gap: 2px; min-width: 104px; padding: 9px 12px; border-radius: 10px; background: #fff !important; box-shadow: inset 0 0 0 1px #dde4ec !important; color: var(--ink) !important; text-decoration: none !important }
.rm-btn b { font-size: .95rem } .rm-btn small { font-size: .76rem; color: var(--muted); white-space: nowrap }
.rm-btn.on { box-shadow: inset 0 0 0 2px #0b2240 !important }

/* ───── 시안 16 고른 것(2026-11-19 저자: 가-2 · 나-2 · 다-2) ───── */
/* 가-2 공통: D-day 이름표(3일 안은 빨강), 둥근 신청 막대 */
.dd { display: inline-block; background: #0b2240; color: #fff; font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 2px 6px; line-height: 1.3 }
.dd.soon { background: #c4442a } .dd.past { background: #c5cfda; color: #fff }
.mt-bar { height: 8px; border-radius: 999px; background: #e6eef4; overflow: hidden } .mt-bar i { display: block; height: 100%; border-radius: 999px; background: #2f86c9 }
.k-competition .mt-bar i { background: #e0703c } .k-lecture .mt-bar i { background: #7d6fd0 }
/* 큰 화면 표: 맨 앞 날짜(밑에 D-day), 신청 칸은 막대 + 인원 */
table.ev-list td.dcell { white-space: nowrap; font-weight: 700 } table.ev-list td.dcell small { display: block; margin-top: 3px }
table.ev-list td.mcell { min-width: 140px } table.ev-list td.mcell .mt-bar { margin-bottom: 4px } table.ev-list td.mcell span { font-size: .85rem }
/* 휴대폰: 왼쪽 날짜 칸 카드(누르면 참가자 화면) */
.evc { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; background: #fff; border-radius: 12px; padding: 11px 12px; color: var(--ink) !important; text-decoration: none !important; box-shadow: 0 1px 3px rgba(11, 34, 64, .1) }
.evc.k-training { box-shadow: inset 4px 0 0 #9bbbe6, 0 1px 3px rgba(11, 34, 64, .1) } .evc.k-competition { box-shadow: inset 4px 0 0 #e0703c, 0 1px 3px rgba(11, 34, 64, .1) } .evc.k-lecture { box-shadow: inset 4px 0 0 #7d6fd0, 0 1px 3px rgba(11, 34, 64, .1) }
.evc.past { opacity: .6 }
.evc-dt { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; line-height: 1.1 } .evc-dt b { font-size: 1.25rem; font-weight: 800 } .evc-dt small { font-size: .68rem; color: var(--muted); font-weight: 700; margin: 2px 0 4px }
.evc-nm { grid-column: 2; display: flex; gap: 6px; align-items: center; min-width: 0 } .evc-nm b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.evc-side { grid-column: 3; grid-row: 1 / span 2; text-align: right; font-size: .78rem; color: var(--muted); white-space: nowrap } .evc-side b { font-size: 1rem; color: var(--ink) } .evc-side em { display: block; font-style: normal; font-weight: 700; margin-top: 2px }
.evc-row { grid-column: 2; font-size: .8rem }
.ev-bars { gap: 8px !important }
.evc:hover, .evc:active { background: #fff !important }
/* 나-2: 공개 일정 [목록][달력] 아이콘 밑 작은 글자(휴대폰 아래 탭과 같은 모양) */
.sched-head .view-seg a { width: 54px !important; height: 50px !important; flex-direction: column; font-size: .68rem !important; gap: 1px !important; font-weight: 700 }
.sched-head .view-seg a .ms { font-size: 20px !important }
/* 다-2: 가입신청 상자 다섯 칸 */
.jcards .jc.jc5 { display: block; padding: 14px 16px }
.jc5 .jc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.jc5 .jc-top .jc-name { font-size: 1.05rem } .jc5 .jc-date { margin-left: auto; color: var(--muted); font-size: .82rem }
.jc5 .jc-kind { font-size: .78rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; color: #1f6d45 !important; background: #e4f3ea } .jc5 .jc-kind.k-trial { color: #1d4f9a !important; background: #e3effc }
.jc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0 8px }
.jc-grid > div { background: #f5f8fb; border-radius: 8px; padding: 7px 10px; font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0 }
.jc-grid > div > span { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; margin-bottom: 1px }
.jc5 .jc-msg { display: flex; gap: 6px; align-items: center; margin: 0 0 10px; font-size: .9rem; color: var(--muted); background: none; padding: 0 }
.jc5 .jc-msg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0 }
.jc5 .jc-acts { display: flex; gap: 8px; justify-content: flex-end }
.jc5 .jc-acts .btn.small { height: 36px; min-height: 0; padding: 0 14px !important; font-size: .88rem; align-items: center }   /* 큰 화면: 작은 버튼 */
@media (max-width: 759px) {
  .jc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .jc5 .jc-date { margin-left: 0; width: 100% }
  .jc5 .jc-acts { justify-content: stretch } .jc5 .jc-acts .jc-accept { flex: 2 } .jc5 .jc-acts .jc-reject { flex: 1 }   /* 휴대폰: 받기가 거절보다 크게(2:1) */
  .jc5 .jc-acts form .btn { width: 100%; height: 44px; justify-content: center }
}
/* 회비 칸 고정: 늘 [상태 | 가운데 칸 | 버튼] 세 자리, 높이도 같게(누를 때마다 모양이 바뀌던 것) */
.paybox.due-box { display: grid; grid-template-columns: minmax(96px, auto) minmax(120px, 1fr) minmax(96px, auto); align-items: center; gap: 10px; min-height: 52px; width: 100%; max-width: 520px }
.due-box .pay { height: 40px; min-width: 96px; justify-content: center; white-space: nowrap }
.due-box .due-edit { background: #f3f6f9; border: 0; color: var(--muted); font-weight: 600; font-size: .85rem; border-radius: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; justify-self: start }
.due-box .due-when { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: .7rem; color: var(--muted) }
.due-box .due-when input { width: 100%; max-width: 9em; height: 34px; padding: 4px 8px }
.due-pop { width: 100%; font: inherit; font-size: 1.1rem; padding: 10px 12px; border: 1px solid #d5dde6; border-radius: 10px; margin: 0 0 6px }
.due-pop-msg { color: #c4442a; font-size: .85rem; margin: 0 0 8px }
@media (max-width: 759px) { .paybox.due-box { grid-template-columns: auto 1fr auto; max-width: none } .due-box .pay { min-width: 88px } }
.evc-nm .kind { flex: none; white-space: nowrap }
/* 회비 칸 버튼 하나(시안 17 가-2): 모든 줄 같은 높이·같은 폭 */
.paybox.due-one { display: flex; justify-content: flex-end; min-height: 44px; align-items: center }
.due-one .pay { height: 42px; min-width: 140px; justify-content: center; display: inline-flex; align-items: center; gap: 5px; border-radius: 10px; font-weight: 700; font-size: .88rem; white-space: nowrap }
.due-one .pay.is-ok { background: #e4f3ea !important; color: #1f7a4c !important; border: 0 !important }
.due-one .pay.is-ok .badge.ok { background: none; padding: 0; color: inherit; font-size: inherit }
.due-one .pay.is-ok .ms { color: inherit }
.due-one .pay.is-rest { background: #fff4e5; color: #a8620e; border: 0 }
.due-pop-l { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px } .due-pop-l small { color: var(--faint) }
.due-pop-l .due-pop { display: block; margin-top: 4px }
.ask-acts .sp { flex: 1 }
@media (min-width: 760px) { table.m.dues td[data-l="입금"] .paybox.due-one { justify-content: flex-start } }
@media (max-width: 759px) {
  main.staff table.m.dues tr { grid-template-columns: 1fr auto !important; padding: 10px 14px !important; min-height: 66px }
  main.staff table.m.dues td:first-child { grid-column: 1; grid-row: 1 }
  main.staff table.m.dues td[data-l="상태"] { grid-column: 1; grid-row: 2; text-align: left !important; font-size: .78rem }
  main.staff table.m.dues td[data-l="입금"] { grid-column: 2 !important; grid-row: 1 / span 2 }
  main.staff table.m.dues td[data-l="입금"] .paybox { width: auto !important }
  main.staff table.m.dues .due-tel { display: inline; margin-left: 6px }
}
[hidden] { display: none !important }   /* 숨긴 것은 어떤 규칙이 덮어도 숨김(회비 버튼 안 미입금 글자가 보이던 것) */
/* 휴대폰·큰 화면 점검(2026-11-19): 알림은 머리줄 바로 밑 가운데(설정 화면 아래 저장 띠·휴대폰 아래 탭과 겹치지 않게) */
.flash { top: 70px !important; bottom: auto !important }
@media (max-width: 759px) { .flash { top: 64px !important; bottom: auto !important } }
/* 체크 칸과 글자를 한 줄에(단체전 있음 · 신청 받기 등) */
.form label.opt, .form label:has(> input[type=checkbox]:first-child) { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; font-weight: 600 }
.form label.opt input[type=checkbox], .form label:has(> input[type=checkbox]:first-child) input[type=checkbox] { width: 20px; height: 20px; margin: 0; flex: none }
/* 버튼이 나란히 있을 때 높이 같게(가입 완료 화면 '단톡방 들어가기'·'홈으로' 등) */
.btn { box-sizing: border-box } .done-acts .btn, .empty .btn, .card .btn + .btn, .btn.ghost + .btn, .btn + .btn.ghost { min-height: 44px; display: inline-flex; align-items: center }
.jc5 .jc-acts form { margin: 0 !important }   /* 받기·거절을 오른쪽에 나란히(거절이 반대 끝으로 밀려 있던 것) */
@media (min-width: 760px) { .sched-hint { white-space: nowrap } }

/* ───── 저자 메모 13(2026-11-19) ───── */
/* 제목 글 길이가 바뀌어도(2026년 11월 ↔ 2026년 4분기) '엑셀로 받기'는 늘 오른쪽 끝에 고정 */
.head-row > .acts { margin-left: auto; flex: none }
.head-row h1 small { white-space: nowrap }
/* 회비 표(큰 화면): 너무 넓게 퍼지지 않게 폭을 줄이고 가운데 정렬 */
@media (min-width: 760px) {
  main.staff table.m.dues { max-width: none }
  main.staff table.m.dues td, main.staff table.m.dues th { text-align: center !important }
  main.staff table.m.dues td[data-l="입금"] .paybox.due-one { justify-content: center !important }
  main.staff table.m.dues .due-tel { display: block }
}
/* 운영 일정 표(일정·참가자·요약): 일정 이름만 왼쪽, 나머지 칸은 가운데 */
main.staff table.ev-list td { text-align: center } main.staff table.ev-list td:nth-child(2) { text-align: left }
main.staff table.ev-list td.acts-cell { justify-content: center }
/* 회원명단 사진 촬영 칸 */
.photo-tag { font-size: .82rem; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px } .photo-tag.ok { color: #1f7a4c } .photo-tag.no { color: var(--faint) } .photo-tag .ms { font-size: 16px }   /* 이름을 .ph로 했다가 참가자 표 연락처 칸(class="ph")과 겹쳐 칸이 깨졌다(2026-11-19)
@media (max-width: 759px) {
  table.m.compact.sortable td[data-l="사진"] { order: 9; font-size: .86rem }
  table.m.compact.sortable td[data-l="사진"]::before { content: '· '; display: inline !important; color: var(--faint) }
  table.m.compact.sortable td[data-l="사진"] .photo-tag .ms { display: none }
}
/* 가입신청 상자: 칸 폭을 같게 나누면 생년월일(만 나이)·연락처가 '…'로 잘려서, 칸마다 내용에 맞는 폭(성별·사진은 좁게, 생년월일·연락처는 글이 다 들어가게, 사는 곳이 남는 폭). 좁아지면 3칸·2칸으로 */
.jc-grid { grid-template-columns: 76px minmax(178px, auto) minmax(148px, auto) minmax(0, 1fr) 88px !important }
.jc-grid > div:nth-child(2), .jc-grid > div:nth-child(3) { overflow: visible; text-overflow: clip }
@media (max-width: 1100px) { .jc-grid { grid-template-columns: 76px minmax(178px, 1fr) minmax(148px, 1fr) !important } }
@media (max-width: 759px) { .jc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important } .jc-grid > div:nth-child(2) { font-size: .84rem } }

/* ───── 레이아웃 시프트 막기(2026-11-19 저자 '웹·모바일 둘 다 레이아웃 시프트 없게') ───── */
/* 꼭 쓸 칸 밑에 안내 한 줄 자리를 미리 비워 두고, 안내는 그 자리에만 뜬다(뜰 때 아래 칸·버튼이 밀리지 않게) */
.form label:has([required]):not(.pick):not(.check), .form fieldset:has([required]) { position: relative; padding-bottom: 26px !important }   /* 고르는 버튼(.pick)은 빼야 글자 밑만 넓어지지 않음 */
.form label:has([required]):not(.pick):not(.check) > .field-msg, .form fieldset:has([required]) > .field-msg { position: absolute; left: 0; bottom: 2px; margin: 0; white-space: nowrap }
.form fieldset:has([required]) > .field-msg { left: 14px }
/* 회비 버튼(휴대폰): '입금 받음' ↔ '✓ 입금 11월 19일' 글 길이가 달라도 폭은 같게 */
.due-one .pay { width: 168px; min-width: 168px } @media (max-width: 759px) { .due-one .pay { width: 156px; min-width: 156px; font-size: .84rem } }
/* 휴대폰 일정 카드 이름: '…'로 자르지 않고 두 줄까지 */
.evc-nm { align-items: flex-start } .evc-nm b { white-space: normal !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: clip; line-height: 1.3 }
.evc-nm .kind { margin-top: 1px }

/* ───── 홈 등장 천천히·고급스럽게(2026-11-19 저자 '너무 빨리 나온다') ─────
   0.7초 → 1.4초, 줄줄이 간격 0.07초 → 0.14초, 움직이는 거리·흐림은 줄이고 기울어짐(rotateX)·작아짐(scale)은 뺌.
   끝으로 갈수록 아주 천천히 멈추는 곡선(ease-out). 움직임 줄이기를 켠 기기는 지금처럼 없음 */
@media (prefers-reduced-motion: no-preference) {
  main.dive .dv-hero .dv-eyebrow, main.dive .dv-hero h1 small, main.dive .dv-hero h1 > span, main.dive .dv-hero h1:not(:has(small)),
  main.dive .dv-hero .dv-intro, main.dive .dv-hero .dv-row > *, main.dive .dv-hero .dv-photo, main.dive .dv-hero .dv-stat, main.dive .dv-hero .dv-cue {
    animation: dvInSoft 1.4s cubic-bezier(.16, 1, .3, 1) both }
  main.dive .dv-hero .dv-eyebrow { animation-delay: .15s } main.dive .dv-hero h1 small { animation-delay: .3s }
  main.dive .dv-hero h1 > span, main.dive .dv-hero h1:not(:has(small)) { animation-delay: .45s }
  main.dive .dv-hero .dv-intro { animation-delay: .7s }
  main.dive .dv-hero .dv-row > :nth-child(1) { animation-delay: .9s } main.dive .dv-hero .dv-row > :nth-child(2) { animation-delay: 1.02s }
  main.dive .dv-hero .dv-photo { animation-delay: 1s }
  main.dive .dv-hero .dv-stat:nth-child(1) { animation-delay: 1.15s } main.dive .dv-hero .dv-stat:nth-child(2) { animation-delay: 1.29s }
  main.dive .dv-hero .dv-stat:nth-child(3) { animation-delay: 1.43s } main.dive .dv-hero .dv-stat:nth-child(n+4) { animation-delay: 1.57s }
  main.dive .dv-hero .dv-cue { animation-delay: 1.8s }
  main.dive .rv { transform: translateY(18px); filter: blur(3px);
    transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1), filter 1s ease; transition-delay: calc(var(--i, 0) * 140ms) }
  main.dive .dv-boards > .rv, main.dive .dv-plans > .rv { transform: translateY(20px) }
  main.dive .dv-board.rv li { transform: translateX(-8px); transition: opacity .9s ease, transform 1s cubic-bezier(.16, 1, .3, 1) }
  main.dive .dv-board.rv.in li:nth-child(1) { transition-delay: calc(var(--i, 0) * 140ms + .45s) }
  main.dive .dv-board.rv.in li:nth-child(2) { transition-delay: calc(var(--i, 0) * 140ms + .6s) }
  main.dive .dv-board.rv.in li:nth-child(3) { transition-delay: calc(var(--i, 0) * 140ms + .75s) }
}
@keyframes dvInSoft { from { opacity: 0; transform: translateY(14px); filter: blur(4px) } to { opacity: 1; transform: none; filter: none } }
h1.with-hint { margin-bottom: 2px !important } h1.with-hint + .sched-hint { margin: 0 0 14px }   /* 제목 밑 안내는 작게(공개 일정과 같은 모양, 2026-11-19 저자) */
.sched-head h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; margin-top: 12px }   /* 공개 일정 제목도 다른 화면 제목과 같은 크기(2026-11-19 저자) */

/* ───── 공개 기록판: 시안 18 가-1·나-1(2026-11-19 저자) ───── */
/* 나-1: 위 줄 영법 탭(노란 밑줄), 아래 줄 거리 버튼(고른 것 남색) */
.stroke-tabs { margin-bottom: 10px !important }
.stroke-tabs a { padding: 10px 14px !important; font-size: 1rem }
.dist-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px }
.dist-btns a { min-width: 64px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .7) !important; color: #2c4a63 !important; font-weight: 700; font-size: .9rem; text-decoration: none !important; box-shadow: none !important }
.dist-btns a.on { background: #0b2240 !important; color: #fff !important }
@media (max-width: 480px) { .stroke-tabs a { padding: 10px 9px !important; font-size: .92rem } }
/* 가-1: 1~3위 시상대(가운데 1위가 가장 높음) */
.rec-board { max-width: 760px }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; margin: 4px 0 14px }
.podium .pd { border-radius: 14px; padding: 14px 8px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0 }
.podium .pd b { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: clip; max-width: 100% }
.podium .pd-t { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.15rem; color: #0b2240 }
.podium .pd small { font-size: .74rem; color: var(--muted) }
.podium .p1 { background: linear-gradient(180deg, #fff6d6, #fffbea); padding-top: 26px } .podium .p2 { background: linear-gradient(180deg, #eef2f6, #f7f9fb) } .podium .p3 { background: linear-gradient(180deg, #f9eadc, #fcf5ee) }
.podium .pd.empty { background: none }
.podium .dv-rank { margin-bottom: 6px }
/* 메달 색: 금·은·동만. 은은 금속 느낌 회은색 + 테두리라 4위부터의 원과 다르게 */
main.water .recs-light .rec-board .dv-rank.r1 { background: linear-gradient(135deg, #ffe38a, #f2c23c) !important; color: #3a2a00 !important; box-shadow: 0 0 0 2px #f6d677 }
main.water .recs-light .rec-board .dv-rank.r2 { background: linear-gradient(135deg, #f1f4f7, #b9c4ce) !important; color: #24384b !important; box-shadow: 0 0 0 2px #c9d2da }
main.water .recs-light .rec-board .dv-rank.r3 { background: linear-gradient(135deg, #f2c9a3, #cf8f5c) !important; color: #3a1f08 !important; box-shadow: 0 0 0 2px #e0b28a }
/* 4~10위: 메달이 아닌 무늬 없는 원(흰 바탕 + 옅은 테두리) */
.rk-plain { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #5a6f84; font-weight: 700; font-size: .82rem; box-shadow: inset 0 0 0 1.5px #d5dde6 }
.rec-rest { width: 100%; border-collapse: collapse; font-size: .95rem; background: none; box-shadow: none; border-radius: 0 }
.rec-rest td { padding: 9px 6px; border-top: 1px solid #edf1f5; background: none !important }
.rec-rest td.n { width: 40px } .rec-rest td.nm { font-weight: 700 } .rec-rest td.d { color: var(--muted); font-size: .82rem }
.rec-rest td.t { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800 }
@media (max-width: 480px) { .rec-rest td.d { display: none } .podium .pd small { display: none } .podium { gap: 6px } .podium .pd b { font-size: .92rem } .podium .pd-t { font-size: 1rem } }
.rec-board h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 19px; margin: 0 0 14px !important; color: #062a43 } .rec-board h3 span { font-size: 13px; font-weight: 500; color: var(--muted) }
/* 아이콘 글꼴이 오기 전: 아이콘 자리는 그대로(밀림 없음), 글자는 안 보이게 */
.ms { display: inline-block; width: 1em; overflow: hidden; white-space: nowrap; flex: none }
html.icons-wait .ms { color: transparent !important }
/* 가입신청 칸: '사는 곳'이 남는 폭을 다 차지해 너무 길던 것 → 칸마다 정한 폭, 왼쪽부터 차례로 */
@media (min-width: 1101px) { .jc-grid { grid-template-columns: 76px 190px 160px 240px 88px !important; justify-content: start } }
/* 상자 안 마지막 줄의 아래 여백을 없애 위·아래 여백을 같게(안내 상자·카드·고르는 버튼, 2026-11-19 저자 '글자 밑 여백이 위보다 많다') */
.notice > :last-child, .card > :last-child, .dv-card > :last-child, .jc > :last-child, .pick > :last-child, .notice > :last-child > :last-child { margin-bottom: 0 !important }
.notice > :first-child, .card > :first-child, .dv-card > :first-child { margin-top: 0 !important }
.notice h3 { line-height: 1.2; display: flex; align-items: center; gap: 6px } .notice h3 .ms { font-size: 1.15em }
/* 개인 기록 표(회원별·종목별): 칸 내용 가운데 정렬(2026-11-19 저자) */
@media (min-width: 760px) { main.staff table.rec-mine td, main.staff table.item-recs td { text-align: center } main.staff table.rec-mine td.acts-cell, main.staff table.item-recs td.acts-cell { justify-content: center } }
/* 중간 폭(760~1250px, 작은 노트북·태블릿 가로): 표가 화면보다 넓어 오른쪽이 잘리던 것 → 줄 버튼은 아이콘만, 칸 여백을 줄임 */
@media (min-width: 760px) and (max-width: 1250px) {
  main.staff table.m .acts-cell .btn .t { display: none !important }
  main.staff table.m .acts-cell .btn { width: 38px; min-width: 38px; height: 38px; padding: 0 !important; justify-content: center }
  main.staff table.m .acts-cell .btn .ms { margin: 0 }
  main.staff table.m td, main.staff table.m th { padding-left: 8px !important; padding-right: 8px !important }
  main.staff table.ev-list td.mcell { min-width: 96px }
  main.staff table.m td.dcell, main.staff table.m td { font-size: .9rem }
}
/* 중간 폭에서 표가 화면보다 넓을 때: 덜 중요한 칸부터 숨김(그 칸은 수정 화면·엑셀에 다 있음) */
@media (min-width: 760px) and (max-width: 1250px) {
  /* 회원명단: 사는 곳(5)·함께한 날(7) */
  main.staff table.m.compact.sortable tr > :nth-child(5), main.staff table.m.compact.sortable tr > :nth-child(7) { display: none }
  /* 일정 표: 신청 받기(6) */
  main.staff table.ev-list tr > :nth-child(6) { display: none }
  /* 종목별 기록: 메모(6) */
  main.staff table.item-recs tr > :nth-child(6) { display: none }
}
@media (min-width: 760px) and (max-width: 1000px) {
  main.staff table.m.compact.sortable tr > :nth-child(2), main.staff table.m.compact.sortable tr > :nth-child(6) { display: none }   /* 성별·가입일 */
  main.staff table.ev-list tr > :nth-child(3) { display: none }   /* 종류(줄 앞 색 막대로 보임) */
}
@media (min-width: 760px) and (max-width: 900px) { main.staff table.ev-list td.dcell { white-space: normal; min-width: 92px } main.staff table.ev-list td.mcell { min-width: 80px } }

/* ───── 회비: 시안 19 가-3(2026-11-19 저자) ───── 누를 때 바뀌는 글·이름표·막대는 자리와 폭이 정해져 있어 밀리지 않는다 */
.dues-sum { background: #fff; border-radius: 12px; padding: 12px 16px; margin: 0 0 12px; display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; gap: 8px 16px; align-items: center; box-shadow: 0 1px 2px rgba(11, 34, 64, .06) }
.dues-sum .big { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 5.5em } .dues-sum .big small { font-size: .82rem; color: var(--muted); font-weight: 600 }
.dues-sum .bar { height: 10px; border-radius: 999px; background: #e6eef4; overflow: hidden } .dues-sum .bar i { display: block; height: 100%; border-radius: 999px; background: #1f7a4c }
.dues-sum .side { font-size: .82rem; color: var(--muted); white-space: nowrap }
.dues-sum .chips { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; height: 26px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none }   /* 한 줄로 높이 고정 */
.dues-sum .chips::-webkit-scrollbar { display: none }
.dues-sum .chips .lbl { font-size: .74rem; font-weight: 700; color: var(--muted); flex: none }
.dues-sum .chips .chip { flex: none; font-size: .78rem; font-weight: 700; background: #fdecea; color: #c4442a; border-radius: 6px; padding: 2px 8px }
.dues-sum .chips .none { font-size: .8rem; color: #1f7a4c; font-weight: 700 }
table.dues3 col.c-st { width: 110px } table.dues3 col.c-dt { width: 130px } table.dues3 col.c-bt { width: 200px }
table.dues3 { table-layout: fixed }
table.dues3 td { height: 60px }
.stt { font-size: .76rem; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: #eef3f7; color: #0b2240 } .stt.r { background: #fff4e5; color: #a8620e }
.due-dt .d { color: #1f7a4c; font-weight: 700; font-variant-numeric: tabular-nums } .due-dt .dn { color: var(--faint) }
table.dues3 .due-one .pay { width: 150px; min-width: 150px }
@media (max-width: 759px) {
  .dues-sum { grid-template-columns: auto 1fr; padding: 10px 12px } .dues-sum .side { grid-column: 1 / -1; white-space: normal }
  main.staff table.m.dues.dues3 tr { grid-template-columns: 1fr auto !important; grid-template-rows: auto auto; min-height: 64px }
  main.staff table.m.dues.dues3 td[data-l="상태"] { display: none !important }
  main.staff table.m.dues.dues3 td[data-l="입금일"] { grid-column: 1; grid-row: 2; font-size: .8rem; text-align: left !important }
  main.staff table.m.dues.dues3 td[data-l="입금일"] .dn::before { content: '입금일 ' } main.staff table.m.dues.dues3 td[data-l="입금일"] .d::before { content: '입금 ' }
  main.staff table.m.dues.dues3 td[data-l="입금"] { grid-column: 2 !important; grid-row: 1 / span 2 }
  table.dues3 .due-one .pay { width: 120px; min-width: 120px }
}
/* 참가자 입금 칸: '미입금 [입금 받음]' ↔ '입금 11월 19일 [되돌리기]'가 글 길이 따라 버튼 자리가 움직이던 것 → 두 자리 폭 고정, 칸 가운데 */
main.staff table.m form[action$="/paid"] { display: flex; justify-content: center }
main.staff table.m form[action$="/paid"] .paybox { display: grid !important; grid-template-columns: 120px 100px; gap: 10px; align-items: center; justify-items: center; flex-wrap: nowrap }
main.staff table.m form[action$="/paid"] .paybox .badge { justify-self: center; white-space: nowrap }
main.staff table.m form[action$="/paid"] .paybox .pay { width: 100px; min-width: 100px; height: 38px; justify-content: center }
main.staff table.m td[data-l="참가비"], main.staff table.m th { text-align: center }
@media (max-width: 759px) {
  main.staff table.m.dues.dues3 { display: block !important; table-layout: auto !important; width: 100% }
  main.staff table.m.dues.dues3 colgroup { display: none }
  main.staff table.m.dues.dues3 tbody { display: block !important }
  main.staff table.m.dues.dues3 tr { width: 100%; grid-template-columns: minmax(0, 1fr) auto !important; min-height: 64px; box-sizing: border-box }
  main.staff table.m.dues.dues3 td:first-child { min-width: 0 } main.staff table.m.dues.dues3 .due-tel { display: block; margin: 1px 0 0 }
}
/* 참가자 화면 가-3: 이름 밑 연락처, 입금일 칸 따로, 입금 칸에는 버튼만(배지 글은 입금일 칸이 대신) — 자리·폭 고정 */
main.staff table.entries3 td.nm-cell .due-tel { display: block; color: var(--muted); font-size: .8rem; font-weight: 500 }
main.staff table.entries3 form[action$="/paid"] .paybox { grid-template-columns: 100px !important }
main.staff table.entries3 form[action$="/paid"] .paybox .badge { display: none !important }
main.staff table.entries3 td.due-dt { width: 120px; text-align: center }
@media (max-width: 759px) { main.staff table.entries3 td.due-dt { width: auto; white-space: nowrap; min-height: 40px } }   /* 휴대폰 카드는 칸 이름(입금일)이 이미 붙어 있어 앞말 없이 한 줄
.cal-grid .ce { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: clip; line-height: 1.25 }   /* 달력 칸 일정 이름: …로 자르지 않고 두 줄까지(모든 폭) */
.cal-grid .ce { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; height: auto !important }   /* 이름 전체를 보이게(칸이 조금 길어짐). 2026-11-19 저자 "아주 작아도 괜찮으니까 뭔지 적어놔라" */
/* 회비 '입금 확인' 버튼: 안의 글이 배지 여백을 그대로 가져 버튼보다 넓어져 아이콘이 테두리 밖으로 나가던 것 + 파란 안쪽 테두리(그림자)가 남던 것 */
.due-one .pay.is-ok, .due-one .pay.is-rest { box-shadow: none !important; border: 0 !important; padding: 0 10px !important; gap: 4px !important }
.due-one .pay.is-ok .badge.ok { padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; font-size: inherit; line-height: 1; min-width: 0 }
.due-one .pay { overflow: hidden; box-sizing: border-box }
