@charset "utf-8";
/* 2026-11-07 메인 일정표 (#schedule, 메인 '가이드' 자리) — 데이터 : 사이트 관리 > 메인화면 > 일정표
 * 뒷배경 없음(검정) · 위 = 붉은 띠 탭(news_shortcut_*) · 가운데 = 다음 일정 카운트다운 + 이어지는 일정 · 아래 = 하루 24칸 타임라인 */
.sec-sched { position: relative; padding: 92px 0 110px; background: var(--c-bg-black, #0b0b0b); }
.sched-inner { width: 1034px; margin: 40px auto 0; }

/* 탭 = 붉은 띠 (.news-shortcut 모양 그대로, 맨 위) */
.sched-tabs.news-shortcut { margin: 0; }
.sched-tabs .item button { display: block; padding: 0 34px; border: 0; background: none; font: inherit; font-size: 17px; font-weight: var(--fw-semibold, 600); line-height: 1.4; color: var(--c-text-cream, #e9dcc3); cursor: pointer; transition: color .2s; }
.sched-tabs .item button:hover { color: #fff; }
.sched-tabs .item button.is-on { color: var(--c-gold-text, #E2C47C); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }

/* 가운데 */
.sched-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; margin: 34px 0 0; }
.sched-now { display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 203px; border: 1px solid color-mix(in srgb, var(--c-gold, #C9A24F) 35%, transparent); background: #120e0b; }
.sched-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1a1410; }
.sched-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sched-img .sched-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: url(../img/news_shortcut_dot_pc.png) center / 22px no-repeat; opacity: .55; }
.sched-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 20px 24px; }
.sched-label { font-size: 13px; color: var(--c-text-sub, #a99f8e); }
.sched-label b { margin-left: 4px; font-weight: 600; color: var(--c-gold-text, #E2C47C); }
.sched-title { margin: 6px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 22px; font-weight: 600; color: var(--c-text-cream, #f1e6cf); }
.sched-sub { margin: 4px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; color: var(--c-text-sub, #a99f8e); }
.sched-count { margin: 12px 0 0; font-size: 38px; font-weight: 600; line-height: 1; color: var(--c-gold-text, #E2C47C); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sched-bar { height: 3px; margin: 12px 0 0; background: rgba(255, 255, 255, .08); }
.sched-bar i { display: block; height: 100%; width: 0; background: var(--c-gold, #C9A24F); transition: width 1s linear; }
.sched-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 203px; font-size: 15px; color: var(--c-text-sub, #a99f8e); }

.sched-next { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .08); }
.sched-next-h { margin: 0 0 8px; font-size: 13px; color: var(--c-text-sub, #a99f8e); }
.sched-next li { display: grid; grid-template-columns: 52px 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sched-next .t { font-size: 15px; font-weight: 600; color: var(--c-gold-text, #E2C47C); font-variant-numeric: tabular-nums; }
.sched-next .th { width: 64px; height: 36px; overflow: hidden; background: #1a1410 url(../img/news_shortcut_dot_pc.png) center / 12px no-repeat; }
.sched-next .th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sched-next .n { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; color: var(--c-text-cream, #f1e6cf); }
.sched-next .n small { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--c-text-sub, #a99f8e); }
.sched-next .none { display: block; padding: 18px 0; font-size: 14px; color: var(--c-text-sub, #a99f8e); border-bottom: 1px solid rgba(255, 255, 255, .08); }

/* 하루 24칸 */
.sched-tl { margin: 34px 0 0; }
.sched-cells { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; }
.sched-cells li { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 40px; padding: 0 0 5px; border: 1px solid rgba(255, 255, 255, .06); background: #15110d; font-size: 11px; color: rgba(255, 255, 255, .35); cursor: default; box-sizing: border-box; transition: border-color .2s, background .2s; }
.sched-cells li.has { border-color: color-mix(in srgb, var(--c-gold, #C9A24F) 40%, transparent); color: rgba(255, 255, 255, .7); }
.sched-cells li.has::before { content: ""; position: absolute; top: 7px; left: 50%; width: 6px; height: 6px; margin-left: -3px; background: url(../img/news_shortcut_dot_pc.png) center / contain no-repeat; }
.sched-cells li.past { opacity: .45; }
.sched-cells li.now { border-color: var(--c-gold, #C9A24F); background: color-mix(in srgb, var(--c-gold, #C9A24F) 22%, #15110d); color: var(--c-gold-text, #E2C47C); }
.sched-cells li:hover, .sched-cells li.sel { border-color: var(--c-gold-text, #E2C47C); }
.sched-pick { min-height: 22px; margin: 12px 0 0; font-size: 14px; color: var(--c-text-sub, #a99f8e); }
.sched-pick b { margin-right: 6px; color: var(--c-gold-text, #E2C47C); font-variant-numeric: tabular-nums; }
.sched-pick span + span::before { content: " · "; color: rgba(255, 255, 255, .25); }

@media (min-width: 1024px) and (max-width: 1259px) {
    .sched-inner { width: min(1034px, 94vw); }
    .sched-body { grid-template-columns: minmax(0, 1fr) 300px; }
    .sched-now { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 1023px) {
    .sec-sched { padding: 72px 0 60px; }
    .sched-inner { width: auto; margin: 30px 16px 0; }
    .sched-tabs .item button { padding: 8px 4px; font-size: var(--fs-md, 14px); width: 100%; } /* [schedcenter 2026-11-22] 탭 가운데 : width 100% 만 추가 — 붉은 띠 칸(main.css .news-shortcut .item 33.33%)을 단추가 채워 글자가 칸 가운데로. button 은 display:block 이어도 글자 폭만큼이라 칸 왼쪽에 붙었음 */
    .sched-body { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
    .sched-now { grid-template-columns: minmax(0, 1fr); }
    .sched-info { padding: 16px 18px 18px; }
    .sched-title { font-size: 19px; }
    .sched-count { font-size: 32px; }
    .sched-cells { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .sched-cells li { height: 36px; }
}
@media (min-width: 1024px) { .sched-now .sched-img { aspect-ratio: auto; min-height: 203px; } }


/* 2026-11-07 (2차) 그림이 없는 일정 : 그림 칸 · 점 자리표시 없음 / 탭 : 고른 탭은 금색 글자만 (밑줄 없음) */
.sched-now.no-img { grid-template-columns: minmax(0, 1fr); }
.sched-now.no-img .sched-info { padding: 26px 30px; }
.sched-img .sched-noimg { display: none; }
.sched-next .th { background: #1a1410; }
.sched-next .th:empty { background: transparent; }
.sched-next.no-img li { grid-template-columns: 52px minmax(0, 1fr); }
.sched-next.no-img .th { display: none; }
.sched-tabs .item button.is-on { text-decoration: none; }


/* 2026-11-07 (3차) 24칸 표시 : 점 그림 → 요일 구슬 (월~금 회색 · 토 파랑 · 일 빨강), 위에 오늘 날짜 */
.sched-tl { --orb: #a7adb4; --orb-d: #3f444a; }
.sched-tl.day-sat { --orb: #4fb2ff; --orb-d: #0b4a9e; }
.sched-tl.day-sun { --orb: #ff6a6a; --orb-d: #9e1414; }
.sched-orb, .sched-cells li.has::before {
    display: inline-block; width: 9px; height: 9px; border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #fff 0, var(--orb) 38%, var(--orb-d) 100%);
    box-shadow: 0 0 5px color-mix(in srgb, var(--orb) 60%, transparent);
}
.sched-cells li.has::before { content: ""; position: absolute; top: 7px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; }
.sched-date { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; color: var(--c-text-cream, #f1e6cf); }
.sched-date .sched-orb { width: 11px; height: 11px; }


/* 2026-11-07 (4차) 일정표 배경 : 관리자에서 올렸을 때만 (없으면 검정) */
.sec-sched.has-bg { background: var(--c-bg-black, #0b0b0b) var(--sched-bg-pc, none) center top / cover no-repeat; }
@media (max-width: 1023px) { .sec-sched.has-bg { background-image: var(--sched-bg-mo, var(--sched-bg-pc, none)); } }
.sec-sched.has-bg { background-color: var(--c-bg-section, #15130F); }


/* 2026-11-07 (5차) 오른쪽 = 고른 날짜의 하루 일정 전체 : 왼쪽 카드와 같은 높이, 넘치면 스크롤 / 아래 = 날짜 줄 */
.sched-side { position: relative; min-height: 203px; }
.sched-next { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08);
    scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--c-gold, #C9A24F) 55%, transparent) transparent; }
.sched-next::-webkit-scrollbar { width: 6px; }
.sched-next::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--c-gold, #C9A24F) 55%, transparent); border-radius: 3px; }
.sched-next li { padding: 10px 10px 10px 4px; }
.sched-next li:last-child { border-bottom: 0; }
.sched-next li.past { opacity: .4; }
.sched-next li.is-next { background: color-mix(in srgb, var(--c-gold, #C9A24F) 10%, transparent); box-shadow: inset 2px 0 0 var(--c-gold, #C9A24F); }
.sched-next-h { display: none; }

/* 날짜 줄 (오늘부터 14일) */
.sched-days { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.sched-days li { --orb: #a7adb4; --orb-d: #3f444a; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(21, 17, 13, .85); cursor: pointer; transition: border-color .2s, background .2s; }
.sched-days li.day-sat { --orb: #4fb2ff; --orb-d: #0b4a9e; }
.sched-days li.day-sun { --orb: #ff6a6a; --orb-d: #9e1414; }
.sched-days li b { font-size: 17px; font-weight: 600; line-height: 1.1; color: var(--c-text-cream, #f1e6cf); font-variant-numeric: tabular-nums; }
.sched-days li span { font-size: 12px; color: var(--c-text-sub, #a99f8e); }
.sched-days li.day-sat span { color: #7cc4ff; }
.sched-days li.day-sun span { color: #ff8a8a; }
.sched-days li .sched-orb { width: 10px; height: 10px; }
.sched-days li:hover { border-color: color-mix(in srgb, var(--c-gold, #C9A24F) 55%, transparent); }
.sched-days li.is-on { border-color: var(--c-gold, #C9A24F); background: color-mix(in srgb, var(--c-gold, #C9A24F) 14%, #15110d); }
.sched-days li.is-on b { color: var(--c-gold-text, #E2C47C); }
.sched-date { display: none; }
@media (max-width: 1023px) {
    .sched-side { min-height: 0; }
    .sched-next { position: static; max-height: 300px; }
    .sched-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}


/* 2026-11-07 (6차) 목록 : 누르면 왼쪽 카드에 그 일정(그림 포함) · 마우스 올림 효과 */
.sched-next li[data-i] { cursor: pointer; transition: background .2s, opacity .2s; }
.sched-next li[data-i]:hover { background: rgba(255, 255, 255, .05); opacity: 1; }
.sched-next li[data-i]:hover .n { color: var(--c-gold-text, #E2C47C); }
.sched-next li[data-i]:hover .th img { transform: scale(1.06); }
.sched-next .th img { transition: transform .3s; }
.sched-next .n { transition: color .2s; }
.sched-next li.is-sel { background: color-mix(in srgb, var(--c-gold, #C9A24F) 18%, transparent); box-shadow: inset 3px 0 0 var(--c-gold-text, #E2C47C); opacity: 1; }
.sched-next li.is-sel .n { color: var(--c-gold-text, #E2C47C); }
.sched-next li[data-i]:focus-visible { outline: 1px solid var(--c-gold-text, #E2C47C); outline-offset: -1px; }
.sched-now.is-picked { border-color: color-mix(in srgb, var(--c-gold-text, #E2C47C) 70%, transparent); }
.sched-label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sched-label b { margin-left: 0; }
.sched-back { margin-left: auto; padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px; background: none; font-size: 12px; color: var(--c-text-sub, #a99f8e); cursor: pointer; transition: color .2s, border-color .2s; }
.sched-back:hover { border-color: var(--c-gold-text, #E2C47C); color: var(--c-gold-text, #E2C47C); }
.sched-count.is-past { font-size: 24px; color: var(--c-text-sub, #a99f8e); }


/* 2026-11-07 (7차) 등록한 그림 크기에 맞춤 : 작은 아이콘(54×54 등) → 정사각 아이콘 칸 · 목록 작은 그림도 정사각 */
.sched-now.icon-img { grid-template-columns: 170px minmax(0, 1fr); }
.sched-now.icon-img .sched-img { display: flex; align-items: center; justify-content: center; aspect-ratio: auto; min-height: 0; border-right: 1px solid color-mix(in srgb, var(--c-gold, #C9A24F) 22%, transparent);
    background: radial-gradient(circle at 50% 50%, rgba(201, 162, 79, .14) 0, rgba(201, 162, 79, 0) 62%), #15110d; }
.sched-now.icon-img .sched-img img { flex: none; max-width: none; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.sched-next .th { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .06); box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.sched-next .th img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; image-rendering: pixelated; }
.sched-next .th:empty { border-color: transparent; }
.sched-next li { grid-template-columns: 52px 40px minmax(0, 1fr); }
.sched-next.no-img li { grid-template-columns: 52px minmax(0, 1fr); }
@media (max-width: 1023px) {
    .sched-now.icon-img { grid-template-columns: 120px minmax(0, 1fr); }
}


/* 2026-11-07 (8차) 요일 줄 (매주 고정) : 금 금색 구슬 · 토 파랑 · 일 빨강 · 나머지 회색 / 요일 한정 일정 표시 */
.sched-days li.day-fri { --orb: #ffe08a; --orb-d: #8a6424; }
.sched-days li.day-fri span { color: var(--c-gold-text, #E2C47C); }
.sched-days li b { font-size: 16px; }
.sched-days li.is-today::after { content: ""; display: block; width: 18px; height: 2px; margin-top: 2px; background: var(--c-gold, #C9A24F); }
.sched-next .n em.only { display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px solid color-mix(in srgb, var(--c-gold, #C9A24F) 45%, transparent); border-radius: 2px; font-size: 11px; font-style: normal; line-height: 16px; color: var(--c-gold-text, #E2C47C); vertical-align: 1px; }
@media (max-width: 1023px) { .sched-days { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; } }

/* 2026-11-07 (9차) 목록 3줄(61px × 3)에 왼쪽 카드 높이를 딱 맞춤 · 금색 띠와 시간 사이 띄움 */
@media (min-width: 1024px) {
    .sched-now { min-height: 0; height: 183px; }
    .sched-now .sched-img, .sched-now.icon-img .sched-img { min-height: 0; height: 183px; }
    .sched-empty { min-height: 0; height: 100%; }
    .sched-side { min-height: 0; }
    .sched-info { padding: 14px 24px; }
    .sched-now.no-img .sched-info { padding: 14px 30px; }
    .sched-count { margin-top: 8px; font-size: 34px; }
    .sched-bar { margin-top: 10px; }
}
.sched-next li { padding-left: 16px; }
/* 2026-11-07 (10차) 요일 칸 아래 개수 · 오늘 글자, 요일 줄 아래 안내 줄 없음 (오늘은 금색 밑줄로만 표시) */
.sched-days li span { display: none; }
.sched-pick { display: none; }
.sched-days li { padding: 11px 0 10px; }

/* 2026-11-07 (11차) 구슬 ↔ 요일 간격 넓힘 · 오늘 밑줄 없음 */
.sched-days li { gap: 8px; }
.sched-days li.is-today::after { content: none; display: none; }

/* 2026-11-07 (12차) 그림이 있든 없든 목록 줄 높이 · 칸 위치 같게 (61px, 그림 칸 자리는 비워 둠) */
.sched-next li[data-i] { height: 61px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
.sched-next.no-img li { grid-template-columns: 52px 40px minmax(0, 1fr); }
.sched-next.no-img .th { display: flex; }
.sched-next .th:empty { border-color: transparent; background: transparent; }

/* 2026-11-07 일정표 페이지 (/schedule/) : 서브 상단 이미지 아래 · 제목 그림 없음 */
.sched-page .sec-sched { padding: 56px 0 90px; }
.sched-page .sched-inner { margin-top: 0; }
@media (max-width: 1023px) { .sched-page .sec-sched { padding: 30px 0 50px; } }

/* 일정표 페이지 : 다른 서브 페이지처럼 어두운 바탕 · 일정표 영역은 화면 폭 꽉 */
body:has(.sched-page), body:has(.sched-page) #sub_wrap, body:has(.sched-page) #sub_wrap > * { background-color: var(--c-bg-black, #0b0b0b); }
body:has(.sched-page) #sub_wrap { padding: 0; }
.sched-page .sec-sched { padding: 56px 0 100px; }
.sched-visual.cs-sub-head { margin-bottom: 0; }
body:has(.sched-page) .sched-visual.cs-sub-head { margin: 0 !important; width: auto !important; max-width: none; }
@media (max-width: 1023px) { #schedule .sched-days { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }


/* 2026-11-07 요일 칸에 날짜 (11-7 토) */
.sched-days li b { white-space: nowrap; }
.sched-days li .sched-dd { font-style: normal; font-weight: 500; }
@media (max-width: 767px) { .sched-days li b { font-size: 13px; } }
/* 폰(~599) : 칸이 좁아 한 줄에 안 들어감 → 날짜를 요일 위 작은 글씨로 (11-7 / 토) */
@media (max-width: 599px) {
    .sched-days li b { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 14px; }
    .sched-days li .sched-dd { font-size: 11px; font-weight: 400; line-height: 1.1; color: var(--c-text-sub, #a99f8e); letter-spacing: -.02em; }
}

/* 2026-11-07 날짜 '11월 6일' : 폰에서 칸이 좁으면 '11월' / '6일' 두 줄로 */
@media (max-width: 599px) {
    .sched-days li b { white-space: normal; }
    .sched-days li .sched-dd { text-align: center; word-break: keep-all; letter-spacing: -.04em; }
}

/* 2026-11-07 요일 칸 '11월 6일 금요일'
 *  PC (1024~) : 한 줄 16px · 태블릿 (600~1023) : 한 줄 14px
 *  폰 (~599) : 날짜(작은 글씨) 위 · 요일 아래 두 줄, 좁은 폰(~374)은 글씨 한 단계 작게 */
.sched-days li .sched-wd { display: inline; font-size: inherit; color: inherit; }
@media (max-width: 1023px) { .sched-days li b { font-size: 14px; } }
@media (max-width: 599px) {
    .sched-days li b { font-size: 13px; letter-spacing: -.03em; }
    .sched-days li .sched-dd { white-space: nowrap; }
}
@media (max-width: 374px) {
    .sched-days li b { font-size: 12px; letter-spacing: -.05em; }
    .sched-days li .sched-dd { font-size: 10px; }
}
/* 아주 좁은 폰(~340) : 칸 사이 간격 4 → 2 · 글씨 조금 더 작게 (글자가 칸 테두리에 닿지 않게) */
@media (max-width: 340px) {
    #schedule .sched-days { gap: 2px; }
    .sched-days li b { font-size: 11.5px; }
    .sched-days li .sched-dd { font-size: 9.5px; }
}


/* 2026-11-07 끝 시각 있는 일정 : 카운트 2번 (열리기까지 → 마감까지) */
.sched-phase { margin: 14px 0 0; font-size: 13px; line-height: 1; color: var(--c-text-sub, #a99f8e); }
.sched-phase + .sched-count { margin-top: 8px; }
.sched-now.is-ing .sched-phase { color: #8fd18f; }
.sched-now.is-ing .sched-label { color: #8fd18f; }
.sched-next .t .te { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--c-text-sub, #a99f8e); }
.sched-next li.is-ing .t .te { color: #8fd18f; }


/* 2026-11-07 탭마다 그림 칸 고정 — 그림이 있든 없든 같은 자리 · 같은 크기
 *  로테이션(wide) : 가로형 16:9 (권장 640×360)  /  보스 몬스터(square) : 정사각 1:1 (권장 400×400)
 *  PC : 카드 왼쪽 칸 높이 183 (wide 325×183 · square 183×183) / 1023 이하 : 위쪽 16:9 칸 (정사각 그림은 가운데)
 *  목록 작은 그림 칸 : wide 64×36 · square 40×40 */
.sched-now.shape-wide .sched-img, .sched-now.shape-sq .sched-img { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sched-now .sched-img.is-empty { background: #1a1410; }
.sched-now .sched-img.is-empty .sched-noimg { display: flex; }
@media (min-width: 1024px) {
    .sched-now.shape-wide, .sched-now.shape-wide.icon-img { grid-template-columns: 325px minmax(0, 1fr); }
    .sched-now.shape-sq, .sched-now.shape-sq.icon-img { grid-template-columns: 183px minmax(0, 1fr); }
    .sched-now.shape-wide .sched-img, .sched-now.shape-sq .sched-img { width: 100%; height: 183px; min-height: 0; aspect-ratio: auto; border-right: 1px solid color-mix(in srgb, var(--c-gold, #C9A24F) 22%, transparent); }
    .sched-now.shape-wide .sched-info, .sched-now.shape-sq .sched-info { padding: 14px 24px; }
    /* 카드 글 높이 고정 : '선택한 일정' + [다음 일정 보기] 버튼이 붙어도 183 안 (한 줄, 길면 말줄임) */
    .sched-label { flex-wrap: nowrap; min-height: 18px; white-space: nowrap; }
    .sched-label b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    .sched-back { flex: none; height: 18px; padding: 0 8px; font-size: 11px; line-height: 16px; }
    .sched-title { line-height: 1.2; }
    .sched-sub { line-height: 1.4; }
    .sched-phase { margin-top: 10px; }
}
@media (max-width: 1023px) {
    .sched-now.shape-wide, .sched-now.shape-sq, .sched-now.shape-wide.icon-img, .sched-now.shape-sq.icon-img { grid-template-columns: minmax(0, 1fr); }
    .sched-now.shape-wide .sched-img, .sched-now.shape-sq .sched-img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--c-gold, #C9A24F) 22%, transparent); }
    .sched-now.shape-sq.has-img:not(.icon-img) .sched-img img { width: auto; height: 100%; aspect-ratio: 1 / 1; }
}
.sched-next:not(.shape-sq) li[data-i] { grid-template-columns: 52px 64px minmax(0, 1fr); }
.sched-next:not(.shape-sq) .th { width: 64px; height: 36px; }
.sched-next.shape-sq li[data-i] { grid-template-columns: 52px 40px minmax(0, 1fr); }
.sched-next.shape-sq .th { width: 40px; height: 40px; }
.sched-next .th:empty { border-color: rgba(255, 255, 255, .06); background: #1a1410; }

/* 카드 높이 고정 보정 : 끝 없는 일정도 '열리기까지' 줄 자리 유지 · 라벨 한 줄 */
.sched-phase.is-blank { visibility: hidden; }
.sched-label { flex-wrap: nowrap; min-height: 18px; white-space: nowrap; }
.sched-label b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sched-back { flex: none; height: 18px; padding: 0 8px; font-size: 11px; line-height: 16px; }
@media (max-width: 1023px) {
    /* 폰 · 태블릿 : [다음 일정 보기] 는 그림 칸 오른쪽 위 (라벨 줄이 두 줄로 늘지 않게) */
    .sched-now { position: relative; }
    .sched-back { position: absolute; top: 10px; right: 10px; z-index: 2; height: 26px; padding: 0 10px; font-size: 12px; line-height: 24px; border-color: rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .65); color: #fff; }
}

/* 2026-11-07 PC 카드 금색 테두리 끊김 보정 : 카드 183(테두리 포함) 안쪽 = 181 → 그림 칸도 181 (가로형 322×181 · 정사각 181×181) */
@media (min-width: 1024px) {
    .sched-now.shape-wide, .sched-now.shape-wide.icon-img { grid-template-columns: 322px minmax(0, 1fr); }
    .sched-now.shape-sq, .sched-now.shape-sq.icon-img { grid-template-columns: 181px minmax(0, 1fr); }
    .sched-now.shape-wide .sched-img, .sched-now.shape-sq .sched-img { height: 181px; }
}

/* 2026-11-07 탭 설정 '목록 그림' 끔 (로테이션) : 오른쪽 목록 그림 칸 없음 — 시간 | 이름 */
.sched-next.no-thumb li[data-i] { grid-template-columns: 52px minmax(0, 1fr); }
.sched-next.no-thumb .th { display: none; }

/* 2026-11-07 PC 카드 · 목록 높이 183 → 305 (목록 5줄 = 61 × 5) : 아래 요일 줄이 그만큼 내려가고 카드 그림 칸이 커짐
 *  그림 칸 : 정사각 303 × 303 (권장 600 × 600) · 가로형 539 × 303 (권장 1078 × 606) */
@media (min-width: 1024px) {
    .sched-now { height: 305px; }
    .sched-now.shape-wide, .sched-now.shape-wide.icon-img { grid-template-columns: 539px minmax(0, 1fr); }
    .sched-now.shape-sq, .sched-now.shape-sq.icon-img { grid-template-columns: 303px minmax(0, 1fr); }
    .sched-now .sched-img, .sched-now.icon-img .sched-img, .sched-now.shape-wide .sched-img, .sched-now.shape-sq .sched-img { height: 303px; }
}

/* 2026-11-07 일정표 페이지만 : 일정 칸이 첫 화면 맨 아래까지 (푸터는 접힘선부터) · 배경 그림이 그만큼 덮음
 *  서브 상단 높이 : PC 197 · 1023 이하 50 */
.sched-page .sec-sched { box-sizing: border-box; min-height: calc(100vh - 197px); }
@media (max-width: 1023px) { .sched-page .sec-sched { min-height: calc(100vh - 50px); min-height: calc(100svh - 50px); } }
