/* ==========================================================================
   KWorks ENT · 서브 페이지 공통 (페이지 머리 · 아티스트 목록 · 사실 목록 · 오디션 · 회사 소개 · 뉴스 · 문의 · 검색 · 스케줄)
   ========================================================================== */
.sub { padding-top: var(--hd-h); }
.page-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); }
.page-head__main { display: flex; flex-direction: column; gap: 14px; }
.page-head__desc { max-width: 520px; text-align: right; text-wrap: balance; }
@media (max-width: 767px) { .page-head { grid-template-columns: 1fr; } .page-head__desc { text-align: left; } }

/* ---------- 아티스트 목록 (4열 카드 격자, 이름만) ---------- */
.alist { padding-bottom: var(--sec-pad); }
.alist__foot .desc { text-wrap: balance; }
.alist__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); }

.ap-back { display: inline-flex; align-items: center; gap: 2px; color: var(--text-2); font-size: .9375rem; padding: 6px 0; transition: color .2s; }
.ap-back svg { width: 18px; height: 18px; }
.ap-back:hover { color: var(--text); }

.facts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.facts dd a:hover { text-decoration-color: var(--accent); }

.empty { color: var(--muted); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty[hidden] { display: none; }
.note--box { padding: 14px 16px; background: var(--surface); border-radius: 4px; margin-top: 32px; }

/* ---------- 오디션 ---------- */
.aud-top { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; align-items: start; padding-bottom: var(--sec-pad); }
.aud-top__info { display: flex; flex-direction: column; gap: 28px; }
.aud-top__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.aud-top__img { border-radius: 2px; overflow: hidden; }
@media (max-width: 959px) { .aud-top { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.steps__n { font-family: var(--font-en); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--accent); }
.steps h3 { font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 6px; }
.steps p { color: var(--text-2); }
.steps--compact { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 959px) { .steps, .steps--compact { grid-template-columns: 1fr; } .steps li { flex-direction: row; gap: 20px; } .steps__n { flex: 0 0 3.5rem; } }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.docs li { padding-top: 24px; border-top: 1px solid var(--line); }
.docs h3 { font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; }
.docs p { color: var(--text-2); }
@media (max-width: 767px) { .docs { grid-template-columns: 1fr; } }
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__arrow svg { width: 20px; height: 20px; transform: rotate(-90deg); transition: transform .25s var(--ease-out); }
.faq__item[open] .faq__arrow svg { transform: rotate(90deg); }
.faq__item p { padding: 0 0 20px; color: var(--text-2); max-width: 70ch; }
.faq__item--small { border: 0; margin-top: 8px; }
.faq__item--small summary { font-size: .875rem; padding: 8px 0; color: var(--text-2); justify-content: flex-start; }
.faq__item--small p { font-size: .875rem; }

/* ---------- 회사 소개 ---------- */
/* 사진 옆 띠(surface 바탕)를 없애 섹션 배경과 한 톤으로 */
.about-hero { margin-bottom: clamp(40px, 6vw, 80px); background: none; }
.about-hero img { border-radius: 2px; width: 100%; height: auto; display: block; }
.quote { margin: 0 auto; max-width: 960px; padding: 0 var(--gutter) var(--sec-pad); text-align: center; }
.quote p { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.6; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 20px; color: var(--muted); font-style: normal; }
.quote__last { white-space: nowrap; }
@media (max-width: 559px) { .quote p { font-size: 1.0625rem; } }
@media (max-width: 359px) { .quote p { font-size: .9375rem; } }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; font-size: 1.0625rem; line-height: 1.8; color: var(--text-2); }
.cols2 + .note { margin-top: 28px; }
@media (max-width: 767px) { .cols2 { grid-template-columns: 1fr; } }
.credits { border-top: 1px solid var(--line); }
.credits li a { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px 24px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.credits li a:hover { background: var(--surface); }
.credits .num { font-size: 1.5rem; color: var(--text-2); }
.credits__title { display: flex; flex-direction: column; gap: 2px; }
.credits__title strong { font-size: 1.125rem; font-weight: 700; }
.credits__title span { color: var(--muted); font-family: var(--font-en); font-size: 1rem; letter-spacing: .02em; }
.credits__genre { display: flex; color: var(--text-2); font-size: .9375rem; }
.credits__genre span + span { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line-strong); }
@media (max-width: 559px) { .credits li a { grid-template-columns: 64px 1fr; } .credits__genre { grid-column: 2; } }
.loc { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: start; }
.loc__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) { .loc { grid-template-columns: 1fr; } }

/* ---------- 뉴스 목록 ---------- */
.news-chips { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.news-chips::-webkit-scrollbar { display: none; }
.news-rows { border-top: 1px solid var(--line); margin-top: 16px; }
.news-row { border-bottom: 1px solid var(--line); padding: 24px 0; }
.news-row[hidden] { display: none; }
.news-row__link { display: grid; grid-template-columns: 280px 1fr; gap: 24px 32px; align-items: start; }
.news-row__thumb { border-radius: 2px; overflow: hidden; background: var(--surface); outline: 1px solid transparent; outline-offset: -1px; transition: outline-color .2s; }
.news-row__thumb img { width: 100%; height: auto; }
.news-row__link:hover .news-row__thumb { outline-color: var(--line-strong); }
.news-row__meta { display: flex; flex-wrap: wrap; color: var(--muted); font-size: .875rem; }
.news-row__meta span + span { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line-strong); }
.news-row__title { margin-top: 10px; font-weight: 650; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.01em; }
.news-row__title .u { border-bottom: 2px solid transparent; transition: border-color .2s; }
.news-row__link:hover .news-row__title .u { border-bottom-color: var(--accent); }
.news-row__sum { margin-top: 10px; color: var(--text-2); }
.news-row__tags { display: flex; gap: 8px 14px; flex-wrap: wrap; margin-top: 14px; margin-left: 312px; }
.news-row__tags a { color: var(--text-2); font-size: .875rem; border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.news-row__tags a:hover { color: var(--text); border-color: var(--accent); }
@media (max-width: 767px) { .news-row__link { grid-template-columns: 1fr; gap: 14px; } .news-row__tags { margin-left: 0; } .news-row__title { font-size: 1.0625rem; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 32px 0 var(--sec-pad); }
.pager[hidden] { display: none; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent; color: var(--text-2); font-weight: 600; transition: border-color .2s, color .2s; }
.pager button:hover { border-color: var(--line-strong); color: var(--text); }
.pager button[aria-current="page"] { background: var(--text); color: var(--bg); }
.pager button:disabled { opacity: .35; pointer-events: none; }
.pager__gap { color: var(--muted); padding: 0 4px; }
.pager__pos { display: none; color: var(--text-2); padding: 0 12px; }
@media (max-width: 559px) { .pager__num, .pager__gap { display: none; } .pager__pos { display: inline-block; } }

/* ---------- 뉴스 상세 ---------- */
.news-detail { max-width: 760px; margin: 0 auto; padding-bottom: var(--sec-pad); }
.news-detail__meta { display: flex; flex-wrap: wrap; color: var(--muted); font-size: .9375rem; margin-top: 24px; }
.news-detail__meta span + span { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line-strong); }
.news-detail__title { margin-top: 14px; font-weight: 750; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.3; letter-spacing: -.02em; }
.news-detail__img { margin: 32px 0; border-radius: 2px; overflow: hidden; }
.news-detail__body { margin-top: 32px; font-size: 1.0625rem; line-height: 1.85; color: var(--text-2); }
.news-detail__body p + p { margin-top: 1em; }
.news-detail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.news-detail .news-row__tags { margin: 32px 0 0; }
.news-detail__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.news-detail__nav-item { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 4px; border: 1px solid var(--line); transition: border-color .2s; }
.news-detail__nav-item span { color: var(--muted); font-size: .8125rem; }
.news-detail__nav-item strong { font-weight: 600; }
a.news-detail__nav-item:hover { border-color: var(--text); }
.news-detail__nav-item.is-off { opacity: .4; }
@media (max-width: 559px) { .news-detail__nav { grid-template-columns: 1fr; } }

/* ---------- 문의 폼 ---------- */
.contact { display: grid; grid-template-columns: 1fr 320px; gap: 48px 64px; padding-bottom: var(--sec-pad); }
@media (max-width: 959px) { .contact { grid-template-columns: 1fr; } }
.form[hidden] { display: none; }
.form__types { display: flex; gap: 8px; flex-wrap: wrap; }
.form__summary { margin-top: 20px; padding: 12px 16px; border-radius: 4px; background: var(--surface); color: var(--danger); font-weight: 600; }
.form__summary[hidden] { display: none; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 28px; }
@media (max-width: 559px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field[hidden] { display: none; }
.field--wide { grid-column: 1 / -1; }
.field label, .field__label { font-weight: 600; font-size: .9375rem; }
.field em { font-style: normal; color: var(--muted); font-weight: 500; font-size: .8125rem; margin-left: 4px; }
.field em.is-req { color: var(--accent); }
.field input:not([type="checkbox"]), .field textarea { width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text); padding: 12px 14px; font: inherit; line-height: 1.4; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #88888E; }
.field.is-error input, .field.is-error textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .875rem; }
.field__err[hidden] { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.checks .check { position: relative; height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9375rem; transition: background-color .2s, color .2s, border-color .2s; }
.checks .check input { position: absolute; width: 1px; height: 1px; opacity: 0; left: 0; top: 0; }
.checks .check:has(input:checked) { background: var(--text); color: var(--bg); border-color: var(--text); }
.checks .check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.field--consent { margin-top: 24px; }
.field--consent .check { align-items: flex-start; }
.field--consent .check input { margin-top: 3px; }
.form__actions { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.form__done { padding: 40px 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form__done[hidden] { display: none; }
.form__done .btn { margin-top: 12px; }
.contact__aside { display: flex; flex-direction: column; gap: 24px; }

/* ---------- 검색 ---------- */
.search { display: flex; gap: 12px; padding-bottom: 20px; }
.search__input { flex: 1; min-width: 0; height: 64px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 20px; font: inherit; font-size: 1.375rem; color: var(--text); }
.search__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.search__input::placeholder { color: #88888E; }
.search .btn { height: 64px; padding: 0 28px; }
.search__tags { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 32px; }
.search__results { padding-bottom: var(--sec-pad); }
.search__results[hidden] { display: none; }
.search__stat { color: var(--muted); margin-bottom: 8px; }
.search__sec { padding: 32px 0; border-top: 1px solid var(--line); }
.search__sec[hidden] { display: none; }
.search__sec .h-section { font-size: 2rem; margin-bottom: 20px; }
/* 검색 결과의 배우: 공통 카드(.acard). 모바일 2열, 그 위로는 180px 이상 칸을 채운다 */
.headshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 560px) { .headshots { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 16px; } }
.works { border-top: 1px solid var(--line); }
.works li { display: grid; grid-template-columns: 70px 90px 1fr auto; gap: 16px; padding: 14px 8px; border-bottom: 1px solid var(--line); align-items: baseline; }
.works .num { font-size: 1.125rem; color: var(--text-2); }
.works__cat { color: var(--muted); font-size: .875rem; }
.works__title strong { font-weight: 600; }
.works__title span { color: var(--muted); font-size: .875rem; margin-left: 8px; }
.works__artist a { border-bottom: 1px solid var(--line-strong); }
.works__artist a:hover { border-color: var(--accent); }
.works__artist a + a { margin-left: 8px; }
.works a.works__link { display: contents; }
@media (max-width: 559px) { .works li { grid-template-columns: 60px 1fr; } .works__cat { display: none; } .works__artist { grid-column: 2; } }
.notfound__actions { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: var(--sec-pad); }
.legal { padding-bottom: var(--sec-pad); }

/* ---------- 스케줄 ---------- */
/* 도구 띠: PC 는 통째로 고정(월 이동 · 배우 드롭다운 · 유형 칩 · 보기). 고정 위치를 1px 올려 띠의 윗선이 헤더 아랫선과 겹치게 한다(두 줄로 보이지 않게).
   모바일·태블릿은 고정하지 않고, 필터 묶음 → 가운데 정렬한 월 이동 → 달력 순서로 놓는다 */
.sch-bar { position: sticky; top: calc(var(--hd-h) - 1px); z-index: 30; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sch-bar__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding-top: 12px; padding-bottom: 12px; }
.sch-month { display: flex; align-items: center; gap: 6px; }
.sch-month strong { font-size: 1.75rem; min-width: 7ch; text-align: center; }
.sch-month__btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); transition: border-color .2s; }
.sch-month__btn svg { width: 18px; height: 18px; }
.sch-month__btn:hover { border-color: var(--text); }
.sch-filters { display: contents; }
.sch-types { display: flex; flex-wrap: wrap; gap: 8px; }
.sch-view { display: flex; gap: 6px; margin-left: auto; }
.chip--type.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip--type:not(.is-on) .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--dc, var(--muted)); }
.dot--air { --dc: var(--type-air); } .dot--film { --dc: var(--type-film); } .dot--stage { --dc: var(--type-stage); } .dot--event { --dc: var(--type-event); }
/* 좁은 PC: 유형 칩은 둘째 줄로 */
@media (min-width: 960px) and (max-width: 1199px) {
  .sch-view { order: 2; }
  .sch-types { order: 3; flex: 0 0 100%; }
}

/* 배우 드롭다운: 버튼을 누르면 체크박스 목록이 펼쳐진다(여러 명 선택, 체크 즉시 반영) */
.sch-drop { position: relative; }
.sch-drop__btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 600; font-size: .9375rem; line-height: 1; white-space: nowrap; transition: border-color .18s var(--ease-out); }
.sch-drop__btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .25s var(--ease-out); }
.sch-drop__btn:hover, .sch-drop.is-open .sch-drop__btn, .sch-drop.is-set .sch-drop__btn { border-color: var(--text); }
.sch-drop.is-open .sch-drop__btn svg { transform: rotate(180deg); }
.sch-drop__panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; width: 300px; max-width: calc(100vw - 2 * var(--gutter)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 4px; padding: 8px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); animation: schDrop .18s var(--ease-out); }
.sch-drop__panel[hidden] { display: none; }
@keyframes schDrop { from { opacity: 0; transform: translateY(-4px); } }
.sch-check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 4px; font-size: .9375rem; cursor: pointer; transition: background-color .15s; }
.sch-check:hover { background: var(--surface); }
.sch-check--all { grid-column: 1 / -1; margin-bottom: 4px; border-bottom: 1px solid var(--line); border-radius: 4px 4px 0 0; font-weight: 600; }
.sch-check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--muted); border-radius: 3px; background: transparent center / 12px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s; }
.sch-check input:checked { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230B0B0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.sch-check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 959px) {
  /* 화면 순서: 필터 묶음 → 월 이동(가운데, 달력 바로 위) → 달력. 마크업 순서(월 이동 먼저)는 PC 기준이라 order 로 바꾼다 */
  .sch-bar { position: static; display: flex; flex-direction: column; border: 0; background: none; }
  .sch-bar__inner { display: contents; }
  .sch-filters { order: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 0 var(--gutter); }
  .sch-view { order: 2; }
  .sch-types { order: 3; flex: 0 0 100%; }
  .sch-month { order: 2; justify-content: center; gap: 10px; margin-top: 22px; padding: 0 var(--gutter); }
}
@media (max-width: 559px) {
  /* 휴대폰: 첫 줄은 배우 드롭다운이 남는 폭을 채우고 오른쪽에 보기 전환(같은 높이), 둘째 줄은 유형 칩 네 개가 한 줄을 고르게 채운다 */
  .sch-filters { gap: 10px 8px; }
  .sch-drop { flex: 1 1 0; min-width: 0; }
  .sch-drop__btn { width: 100%; height: 40px; justify-content: space-between; }
  .sch-view .chip { height: 40px; }
  .sch-types { gap: 6px; }
  .sch-types .chip { flex: 1 1 auto; justify-content: center; padding: 0 10px; font-size: .8125rem; }
  .sch-types .chip .dot { width: 8px; height: 8px; margin-right: 5px; }
}
@media (max-width: 359px) {
  /* 아주 좁은 화면: 유형 칩은 2 x 2 로 */
  .sch-types { display: grid; grid-template-columns: 1fr 1fr; }
}

/* 달력 */
.sch-body { padding-top: 24px; padding-bottom: var(--sec-pad); }
.sch-list[hidden], .sch-cal[hidden] { display: none; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { padding: 10px 0; color: var(--muted); font-size: .8125rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.cal th:first-child { color: var(--danger); }
.cal td { vertical-align: top; height: 120px; padding: 8px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); cursor: pointer; transition: background-color .2s; }
.cal td:first-child { border-left: 1px solid var(--line); }
.cal td:hover { background: var(--surface); }
.cal td.is-out { opacity: .45; }
.cal__d { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; font-family: var(--font-en); font-weight: 700; font-size: 1.125rem; }
.cal td.is-today .cal__d { background: var(--accent); color: var(--accent-ink); }
.cal__items { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; font-size: .75rem; line-height: 1.3; }
.cal__item { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; }
.cal__txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cal__item .dot { width: 8px; height: 8px; margin-right: 2px; flex: 0 0 auto; }
.cal__more { color: var(--muted); }
.cal__more--m { display: none; }
.callsheet__ext { color: var(--text-2); font-size: .875rem; border-bottom: 1px solid var(--line-strong); }
@media (max-width: 959px) {
  .sch-body { padding-top: 10px; }
  .cal td { height: 68px; padding: 4px 2px 5px; }
  .cal__d { font-size: 1rem; min-width: 24px; height: 24px; }
  /* 칸 안: 색 점 + 배우 이름, 2줄까지. 넘치면 +N */
  .cal__items { margin-top: 3px; gap: 2px; font-size: clamp(.625rem, 2.9vw, .75rem); line-height: 1.25; letter-spacing: -.02em; }
  .cal__item { gap: 2px; }
  .cal__item .dot { width: 5px; height: 5px; margin-right: 0; border-radius: 1px; }
  .cal__item:nth-child(n+3), .cal__what, .cal__rest, .cal__more--d { display: none; }
  .cal__txt { text-overflow: clip; }
  .cal__more--m { display: block; padding-left: 7px; }
}

/* 날짜 모달: PC 가운데 창, 모바일 아래에서 올라오는 시트. 일정이 없는 날도 열린다 */
.sch-modal { width: min(560px, calc(100vw - 2 * var(--gutter))); max-width: none; max-height: min(640px, calc(100svh - 96px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--card); color: var(--text); overflow: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, .5); }
.sch-modal::backdrop { background: rgba(var(--scrim), .72); }
.sch-modal__box { display: flex; flex-direction: column; max-height: inherit; }
.sch-modal__head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.sch-modal__title { display: flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: 1rem; color: var(--text-2); }
.sch-modal__title .num { font-size: 2.25rem; line-height: 1; color: var(--text); }
.sch-modal__close { flex: 0 0 auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--text); transition: background-color .18s; }
.sch-modal__close:hover { background: rgba(255, 255, 255, .06); }
.sch-modal__close svg { width: 22px; height: 22px; }
.sch-modal__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 8px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
/* 일정이 많아 목록이 넘칠 때: 아래에 더 있으면 끝을 흐리게(끝까지 내리면 풀린다, schedule.js) */
.sch-modal__list.is-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
.sch-modal__list[hidden], .sch-modal__empty[hidden] { display: none; }
.sch-modal__empty { padding: 28px 24px 36px; color: var(--muted); }
/* 왼쪽 칸 폭은 가장 긴 유형 이름(공연·팬미팅)이 들어가는 값 */
.dayrow { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: start; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dayrow:last-child { border-bottom: 0; }
.dayrow__when { display: flex; flex-direction: column; gap: 6px; }
.dayrow__time { font-family: var(--font-en); font-weight: 700; font-size: 1.375rem; line-height: 1; font-variant-numeric: tabular-nums; }
.dayrow__type { font-size: .8125rem; color: var(--text-2); white-space: nowrap; }
.dayrow__what { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dayrow__what strong { font-weight: 700; font-size: 1.0625rem; line-height: 1.4; }
.dayrow__what .callsheet__sub { color: var(--muted); font-size: .875rem; }
.dayrow__who { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.dayrow__who a { font-weight: 600; font-size: .9375rem; border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.dayrow__who a:hover { border-color: var(--accent); }
.sch-modal[open] { animation: schIn .28s var(--ease-out) both; }
.sch-modal[open]::backdrop { animation: schFade .28s ease both; }
.sch-modal.is-closing { animation: schOut .2s ease both; }
.sch-modal.is-closing::backdrop { animation: schFadeOut .2s ease both; }
@keyframes schIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes schOut { to { opacity: 0; transform: translateY(8px); } }
@keyframes schFade { from { opacity: 0; } }
@keyframes schFadeOut { to { opacity: 0; } }
@keyframes schUp { from { transform: translateY(100%); } }
@keyframes schDown { to { transform: translateY(100%); } }
@media (max-width: 767px) {
  .sch-modal { width: 100%; margin: auto 0 0; max-height: min(78svh, calc(100svh - 88px)); border-width: 1px 0 0; border-radius: 14px 14px 0 0; }
  .sch-modal__box { padding-bottom: env(safe-area-inset-bottom); }
  .sch-modal__head { padding: 18px 12px 14px var(--gutter); }
  .sch-modal__list { padding: 0 var(--gutter) 12px; }
  .sch-modal__empty { padding: 24px var(--gutter) 40px; }
  .dayrow { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 4px 12px; }
  .sch-modal[open] { animation-name: schUp; animation-duration: .34s; }
  .sch-modal.is-closing { animation-name: schDown; animation-duration: .22s; }
}
@media (prefers-reduced-motion: reduce) {
  .sch-modal[open], .sch-modal[open]::backdrop, .sch-modal.is-closing, .sch-modal.is-closing::backdrop, .sch-drop__panel { animation: none; }
}
