/* ===== v2: 공식 톤(검정 + 네온 그린) · 첫 화면 MV · 사진 먼저 (2026-10-25) ===== */
:root { --accent: #66fc69; --green: #66fc69; --white: #f1f1ee; }
.btn:hover { background: #8dff8f; }
.btn.ghost { background: transparent; color: #000; border: 2px solid #000; }
.btn.ghost:hover { background: #000; color: #fff; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: stretch; background: #000; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; padding: 0 var(--m); color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand .fan { font-size: 13px; font-weight: 600; color: #000; background: var(--green); padding: 2px 6px; }
.top nav { display: flex; align-items: center; gap: 24px; margin-left: auto; padding: 0 var(--m); }
.top nav a { color: #fff; text-decoration: none; font-size: 16px; white-space: nowrap; }
.top nav a:hover { color: var(--green); }

/* 첫 화면 */
.hero2 { background: #000; }
.video { position: relative; height: 64svh; min-height: 360px; overflow: hidden; background: #111; }
.video iframe { position: absolute; top: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 16 / 9; max-width: 100%; transform: translateX(-50%); border: 0; }
.video { background: #000; }
.sound { position: absolute; right: var(--m); bottom: 100px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; background: var(--green); color: #000; font: 600 var(--step-body)/1 var(--face); cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.sound:hover { transform: translateY(-2px); background: #8dff8f; }
.sound:active { transform: scale(.97); }
.sound[aria-pressed="true"] { background: #fff; }
.sound[aria-pressed="false"] .wave { opacity: .25; }
.video-fallback { position: absolute; left: var(--m); bottom: 20px; color: #fff; }
.hero2-copy { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding: 48px var(--m) 96px; }
.hero2-copy h1 { font-size: var(--step-giant); letter-spacing: -0.05em; line-height: .92; }
.hero2-copy h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero2-copy h1 .ln > span { display: block; animation: rise .9s var(--ease) both; }
.hero2-copy h1 .ln:nth-child(2) > span { animation-delay: .11s; }
.hero2-side .sub { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.hero2-side .acts { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; animation: fadeup .8s .45s var(--ease) both; }
.hero2-side .btn.dark { background: #fff; color: #000; }
.hero2-side .btn.dark:hover { background: var(--green); }

/* 구역 바탕 */
.ch2 { padding: 120px var(--m); position: relative; }
.ch2 h2 { font-size: var(--step-head); max-width: 18ch; }
.ch2 .lede { margin-top: 18px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.35; }
.dark2 { background: #000; color: #fff; }
.green { background: var(--green); color: #000; }
.white { background: var(--white); color: #000; }

/* EYE-CONTACT */
#members .eyes { margin-top: 48px; }
.eye figcaption span { color: var(--muted); }

/* 아홉 개의 빛 */
.lights2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
.name { min-height: 56px; border: 0; background: rgba(0,0,0,.1); color: #000; font: 600 var(--step-body)/1.2 var(--face); text-align: left; padding: 0 14px; cursor: pointer; position: relative; transition: background .2s, transform .2s var(--ease); }
.name::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 1px; border: 2px solid #000; box-sizing: border-box; }
.name:hover { transform: translateY(-2px); background: rgba(0,0,0,.18); }
.name[aria-pressed="true"] { background: #000; color: #fff; }
.name[aria-pressed="true"]::before { border-color: var(--c); }
.lights2 .mix { aspect-ratio: 1; }
.lights2 .lights-ctl { margin-top: 16px; }

/* 일정 */
.debut-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.debut-head.past { margin-top: 96px; }
.timeline { list-style: none; margin-top: 48px; display: grid; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; min-height: 84px; padding: 16px 20px; background: #e4e4df; }
.timeline li:nth-child(even) { background: #d9d9d3; }
.timeline time { display: flex; gap: 10px; align-items: baseline; }
.timeline time b { font-size: var(--step-lead); font-variant-numeric: tabular-nums; }
.timeline .ti { font-weight: 600; font-size: var(--step-lead); line-height: 1.25; }
.timeline .no { margin-top: 4px; }

/* 응원 · 채널 · 바닥글 */
.green .links a { color: #000; }
.green .links a:hover { background: #000; color: var(--green); }
.rows-head, .row { background: var(--white); color: #000; }
.row:nth-child(even) { background: #e4e4df; }
.ft.cta { background: var(--green); }
.ft.cta:hover { background: #8dff8f; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .hero2-copy { grid-template-columns: 1fr; gap: 24px; padding: 32px var(--m) 72px; }
  .lights2 { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .video { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .video iframe { width: 100%; height: 100%; }  .sound { bottom: auto; top: 12px; right: 12px; min-height: 44px; padding: 0 14px; }
  .hero2-copy h1 { font-size: 13vw; }
  .ch2 { padding: 88px var(--m); }
  /* 사진: 옆으로 넘기기 */
  #members .eyes { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  #members .eye { scroll-snap-align: start; }
  .names { grid-template-columns: repeat(2, 1fr); }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
}
section[id] { scroll-margin-top: 56px; }

.video.loaded .video-fallback { display: none; }
#members .eye-frame { background: #111; }

#heroPlayer { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; transform: none; border: 0; }
.ft.ml { gap: 16px; } .ft.ml span { color: #bdbdbd; }

/* 한눈에 보기 달력 */
.debut-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.cal { margin-top: 32px; background: #fff; border: 2px solid #000; padding: 24px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-head h3 { font-size: var(--step-lead); }
.cal-head button { width: 48px; height: 48px; border: 2px solid #000; background: #fff; font: 600 28px/1 var(--face); cursor: pointer; }
.cal-head button:hover:not(:disabled) { background: var(--green); }
.cal-head button:disabled { opacity: .25; cursor: default; }
.cal-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-grid .wk { padding: 6px 4px; font-weight: 600; text-align: center; }
.cal-grid .wk:first-child { color: #c62828; }
.cal-grid .day { min-height: 96px; padding: 6px; background: #f1f1ee; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-grid .day.empty { background: transparent; }
.cal-grid .day b { font-variant-numeric: tabular-nums; }
.cal-grid .day.today { outline: 2px solid #000; outline-offset: -2px; }
.cal-grid .ev { display: block; padding: 2px 5px; font-size: 13px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev.k-show, .dot.k-show { background: #000; color: #fff; }
.ev.k-bday, .dot.k-bday { background: #ff9ad5; color: #000; }
.ev.k-rec, .dot.k-rec { background: #cfcfc8; color: #000; }
.dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.cal-legend { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.cal-list { list-style: none; margin-top: 16px; display: grid; gap: 8px; border-top: 1px solid #000; padding-top: 16px; }
.cal-list em { font-style: normal; color: #555; font-size: 14px; }
@media (max-width: 760px) {
  .cal { padding: 14px 10px; }
  .cal-grid .day { min-height: 52px; padding: 4px; align-items: center; }
  .cal-grid .day .ev { width: 8px; height: 8px; padding: 0; border-radius: 50%; font-size: 0; }
}

/* 첫 화면 영상 바로 아래: 다가오는 일정 4칸 + 한눈에 보기 인포그래픽 (2026-10-30) */
.soon { background: #000; color: #fff; padding: 28px var(--m) 8px; }
.soon-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.soon-head h2 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.soon-head a { color: var(--green); text-decoration: none; font-size: var(--step-body); white-space: nowrap; }
.soon-head a:hover { text-decoration: underline; }
.soon-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1.6fr); gap: 8px; }
.next4 { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.next4 li { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 180px; padding: 20px 18px; background: #141414; border-top: 4px solid #cfcfc8; min-width: 0; }
.next4 li.k-show { border-top-color: var(--green); }
.next4 li.k-bday { border-top-color: #ff9ad5; }
.n4-k { font-size: 14px; color: #bdbdbd; }
.n4-dd { font-size: clamp(2.2rem, 3.4vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--green); font-variant-numeric: tabular-nums; margin-top: auto; }
.next4 li.k-bday .n4-dd { color: #ff9ad5; }
.n4-t { font-size: var(--step-body); font-weight: 600; line-height: 1.3; }
.next4 time { font-size: 14px; color: #bdbdbd; font-variant-numeric: tabular-nums; }

.glance { display: flex; flex-direction: column; gap: 12px; min-height: 180px; padding: 18px; border: 0; background: var(--green); color: #000; font: inherit; text-align: left; cursor: pointer; overflow: hidden; position: relative; transition: transform .25s var(--ease), background .2s; }
.glance:hover { transform: translateY(-3px); background: #8dff8f; }
.glance:active { transform: scale(.985); }
.glance:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.g-top { display: flex; align-items: center; justify-content: space-between; }
.g-top b { font-size: var(--step-lead); letter-spacing: -0.02em; }
.g-go { display: grid; place-items: center; width: 40px; height: 40px; background: #000; color: var(--green); font-size: 22px; transition: transform .3s var(--ease); }
.glance:hover .g-go { transform: translateX(4px); }
.g-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
.gm { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gm > span { font-size: 12px; font-weight: 600; line-height: 1; }
.gg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.gd { display: block; aspect-ratio: 1; border-radius: 50%; background: rgba(0,0,0,.16); opacity: 0; transform: scale(.3); }
.gd.pad { visibility: hidden; }
.gd.k-rec { background: rgba(0,0,0,.45); }
.gd.k-bday { background: #ff4fb8; }
.gd.k-show { background: #000; }
.gd.now { box-shadow: 0 0 0 2px #fff; }
.glance.in .gd { animation: gpop .45s var(--ease) both; animation-delay: calc(var(--i) * 4ms); }
.glance.in .gd.k-show, .glance.in .gd.k-bday { animation: gpop .45s var(--ease) both, gpulse 2.4s 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * 4ms), calc(1.2s + var(--i) * 4ms); }
@keyframes gpop { to { opacity: 1; transform: scale(1); } }
@keyframes gpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
.g-stat { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; margin-top: auto; }
.g-stat .dot.k-show { background: #000; }
.g-stat .dot.k-bday { background: #ff4fb8; }
.g-stat .dot.k-rec { background: rgba(0,0,0,.45); }
.no-js .gd, .glance:not(.in) .gd.pad { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .gd { opacity: 1; transform: none; animation: none !important; } }

/* 일정 목록 D-day 표시 */
.timeline .dd { display: inline-block; margin-left: 10px; padding: 2px 8px; background: #000; color: var(--green); font-size: 14px; vertical-align: 3px; font-variant-numeric: tabular-nums; }
.timeline .dd.now { background: var(--green); color: #000; }

@media (max-width: 1100px) {
  .soon-body { grid-template-columns: 1fr; }
  .glance { min-height: 0; }
  .g-map { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .soon { padding: 20px var(--m) 4px; }
  .next4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next4 li { min-height: 150px; padding: 14px; }
  .g-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* A2O LITE 한눈에 (질문·답 5개) */
.sum5 ol { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: 1px solid rgba(0,0,0,.18); }
.sum5 li { padding: 22px 20px 26px 0; border-bottom: 1px solid rgba(0,0,0,.18); }
.sum5 h3 { font-size: var(--step-body); font-weight: 600; line-height: 1.3; }
.sum5 p { margin-top: 8px; font-size: var(--step-body); line-height: 1.6; max-width: 46ch; color: rgba(0,0,0,.78); word-break: keep-all; }

/* 하위 페이지 (/schedule/ /records/ /members/) — 2026-11-18 */
.subnav { display: none; }
@media (max-width: 900px) {
  .subnav { display: flex; gap: 18px; overflow-x: auto; padding: 12px var(--m); background: #000; border-top: 1px solid #222; }
  .subnav a { color: #fff; text-decoration: none; white-space: nowrap; font-size: 15px; }
}
.top nav a[aria-current="page"], .subnav a[aria-current="page"] { color: var(--green); }
.sub-head { padding-bottom: 32px; }
.sub-head h1 { font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1.05; }
.crumb { margin-bottom: 16px; font-size: 15px; }
.crumb a { color: inherit; }
.sub-body { padding-top: 24px; }
.sub-body .sum { max-width: 60ch; font-size: var(--step-lead); line-height: 1.4; }
.sub-body .mon { margin-top: 56px; font-size: var(--step-lead); max-width: none; }
.sub-body .mon + .timeline { margin-top: 16px; }
.sub-body .more { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.sub-body .note { margin-top: 16px; font-size: 15px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mlist { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 4px; }
.mlist a { display: grid; gap: 4px; min-height: 120px; padding: 20px; background: #e4e4df; color: #000; text-decoration: none; }
.mlist a:hover { background: var(--green); }
.mlist b { font-size: var(--step-lead); }
.mlist .en { font-weight: 600; letter-spacing: .04em; }
.prof { margin-top: 40px; display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid rgba(0,0,0,.18); max-width: 760px; }
.prof dt, .prof dd { padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.18); margin: 0; }
.prof dt { font-weight: 600; }
.prof .dd { margin-left: 6px; padding: 2px 8px; background: #000; color: var(--green); font-size: 14px; }
.others { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.others a { padding: 10px 16px; background: #e4e4df; color: #000; text-decoration: none; }
.others a:hover { background: var(--green); }
.sub-foot { padding: 40px var(--m); background: #000; color: #b5b5b5; font-size: 14px; display: grid; gap: 8px; }
.sub-foot a { color: #fff; }
@media (max-width: 760px) { .prof { grid-template-columns: 88px 1fr; } }
.more-pg { margin-top: 32px; }
