/* 메인 포털 (thelabels.co.kr) — 시안 H "아이보리 살롱" (2026-10-02 사장님: "모두 너무 어두워" → H 타입 적용).
   크림색 바탕 + 아치 창 두 겹 + 금색 로고, 레이블은 흰 카드(레이블 색이 은은하게 번짐), 지금 방송 중, 요일별 편성 줄.
   짜임은 시안 A(portal-a.css)와 같고 색·카드 모양만 다릅니다. 준비 중 화면(soon.html)은 예전 portal.css 그대로. */
:root {
  --bg: #FBF7F0; --bg2: #F4EDE1; --card: #FFFFFF; --line: #E8DECD;
  --text: #2B2520; --muted: #7D7266; --dim: #A3988A;
  --gold: #A9843A; --gold-lt: #E3C98C; --live: #E5384F;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 50px -32px rgba(90, 65, 30, .42);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.ln { display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── 머리글 ── */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px 28px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .4s; }
.top.solid { box-shadow: 0 8px 24px -18px rgba(90, 65, 30, .5); }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); letter-spacing: .3em; font-size: 12px; color: var(--muted); white-space: nowrap; }
.mark img { height: 28px; width: auto; }   /* 그림이 가로로 긴 96×38 — 너비를 정하면 찌그러짐 */
.mark b { color: var(--text); }
.snav { margin-left: auto; display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--text); }
.snav a:hover { color: var(--gold); }
.next { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.next:empty { display: none; }
.next b { color: var(--gold); letter-spacing: .12em; font-size: 11px; }
.next i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.next.on b { color: var(--live); } .next.on i { background: var(--live); animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(229, 56, 79, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(229, 56, 79, 0); } }

/* ── 첫 화면 — 아치 창 두 겹 ── */
.hero { position: relative; text-align: center; padding: 140px 20px 140px; overflow: hidden; isolation: isolate;
  background: radial-gradient(55% 60% at 50% 12%, rgba(227, 201, 140, .55), transparent 72%), linear-gradient(180deg, #FFFFFF, var(--bg) 78%); }
.hero::before, .hero::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; border: 1px solid rgba(169, 132, 58, .32); border-bottom: 0; border-radius: 999px 999px 0 0; }
.hero::before { top: 88px; width: min(660px, 86%); height: 600px; }
.hero::after { top: 108px; width: min(620px, 80%); height: 580px; border-color: rgba(169, 132, 58, .16); }
.eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: .5em; padding-left: .5em; color: var(--gold); font-weight: 600; }
.hero h1 { margin: 0 auto; width: min(520px, 78%); }
.hero h1 img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(110, 80, 30, .22)); }
.lead { margin: 20px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.ctas { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.btn { font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--text); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(43, 37, 32, .6); }
.btn.solid { background: var(--text); color: #fff; }

/* ── 숫자 카드 ── */
.stats { position: relative; z-index: 4; width: min(620px, calc(100% - 32px)); margin: -70px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 0; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats div { text-align: center; display: grid; gap: 2px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.stats b { font-family: var(--serif); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats .lv small::before { content: "● "; color: var(--live); }

/* ── 제목줄 ── */
.sec { padding-top: 56px; }
.sec-h { display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin: 0 0 22px; font-family: var(--serif); font-size: 13px; letter-spacing: .3em; font-weight: 600; }
.sec-h small { font-family: var(--sans); letter-spacing: 0; color: var(--muted); font-size: 13px; font-weight: 400; }

/* ── 지금 방송 중 ── */
.lvn-list { display: flex; flex-wrap: wrap; gap: 10px; }
.lvn-g { display: flex; align-items: center; gap: 14px; padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; min-width: 0; box-shadow: 0 10px 24px -20px rgba(90, 65, 30, .5); }
.lvn-l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.lvn-l img { width: 22px; height: 22px; object-fit: contain; }
.lvn-p { display: flex; gap: 12px; min-width: 0; }
.lvn-a { display: grid; justify-items: center; gap: 4px; font-size: 11px; flex: none; max-width: 56px; }
.lvn-a img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--live); }
.lvn-a span { max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lvn-none { margin: 0; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 14px; background: rgba(255, 255, 255, .6); }
.lvn-none b { color: var(--text); font-weight: 600; }

/* ── 레이블 카드 ── */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 18px; }
.card { --c: var(--gold); position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -30px color-mix(in srgb, var(--c) 55%, rgba(90, 65, 30, .4)); }
.pic { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--c) 30%, #fff), color-mix(in srgb, var(--c) 7%, #fff) 72%); }
.pic::after { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); border-radius: 16px 16px 120px 120px / 16px 16px 40px 40px; pointer-events: none; }
.pic img { width: min(56%, 260px); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(60, 40, 20, .25)); transition: transform .5s var(--ease); }
.card:hover .pic img { transform: scale(1.04); }
.mono { display: inline-grid; place-items: center; width: 150px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--c); color: var(--c); background: radial-gradient(circle, #fff, color-mix(in srgb, var(--c) 20%, #fff)); font-family: var(--serif); font-weight: 700; font-size: 68px; }
.badge { position: absolute; top: 24px; right: 24px; font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 4px 10px; border-radius: 999px; background: #fff; color: color-mix(in srgb, var(--c) 80%, #000); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.badge.live { background: var(--live); color: #fff; border-color: transparent; }
.badge.live::before { content: "● "; }
.tx { padding: 20px 26px 24px; display: grid; gap: 6px; text-align: center; justify-items: center; }
.en { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .06em; color: color-mix(in srgb, var(--c) 65%, var(--text)); }
.ko { font-weight: 600; font-size: 14px; }
.ko em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 8px; }
.nums { display: inline-flex; gap: 12px; font-size: 12px; color: var(--muted); }
.nums b { color: var(--text); font-variant-numeric: tabular-nums; }
.nums .lv::before { content: "● "; color: var(--live); }
.meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; width: 100%; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.meta b { color: var(--text); font-weight: 600; }
.go { color: color-mix(in srgb, var(--c) 80%, var(--text)); font-weight: 700; }
.grid.dense { gap: 12px; }
.grid.dense .pic { aspect-ratio: 1; } .grid.dense .tx { padding: 12px 12px 16px; gap: 3px; }
.grid.dense .en { font-size: clamp(14px, 1.6vw, 18px); } .grid.dense .ko em { display: none; } .grid.dense .meta { font-size: 11px; flex-direction: column; }

/* ── 편성 (요일 + 그날 시간 줄) ── */
.sch-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dy { font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px 9px; display: grid; justify-items: center; gap: 3px; cursor: pointer; min-width: 0; transition: border-color .3s, background .3s; }
.dy b { font-size: 15px; } .dy small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dy .dt { display: flex; gap: 3px; min-height: 6px; } .dy .dt u { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.dy.past { opacity: .5; }
.dy.today b::after { content: " 오늘"; font-size: 11px; color: var(--gold); font-weight: 600; }
.dy[aria-selected="true"] { border-color: var(--gold); background: #FFF8EA; opacity: 1; }
.dy:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sch-body { margin-top: 18px; }
.sch-line { position: relative; height: 290px; margin: 0 10px; }
.sch-line .axis { position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: linear-gradient(90deg, transparent, rgba(169, 132, 58, .6) 8%, rgba(169, 132, 58, .6) 92%, transparent); }
.sch-line .tk { position: absolute; top: 50%; transform: translate(-50%, 10px); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sch-line .tk::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 8px; background: rgba(169, 132, 58, .55); }
.sch-line .now { position: absolute; top: 18%; bottom: 18%; width: 2px; background: var(--live); transform: translateX(-1px); }
.sch-line .now::before { content: "지금"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--live); font-weight: 700; }
.si { position: absolute; width: 128px; margin-left: -64px; display: grid; justify-items: center; gap: 4px; text-align: center; }
.si.up { bottom: calc(50% + 14px); } .si.dn { top: calc(50% + 30px); }
.si::after { content: ""; position: absolute; left: 50%; width: 1px; background: var(--dot); opacity: .6; }
.si.up::after { top: 100%; height: 14px; } .si.dn::after { bottom: 100%; height: 30px; }
.si .md { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fff, color-mix(in srgb, var(--dot) 18%, #fff) 72%); border: 1px solid color-mix(in srgb, var(--dot) 50%, transparent); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--dot) 70%, transparent); }
.si .md img { width: 52px; height: 52px; object-fit: contain; }
.si b { font-family: var(--serif); font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.si small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.si .st { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--dot) 16%, #fff); color: color-mix(in srgb, var(--dot) 75%, #000); }
.si .st.on { background: var(--live); color: #fff; } .si.done { opacity: .45; }
.si .ko2 { display: none; }
.sch-empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; border: 1px dashed var(--line); border-radius: 14px; background: rgba(255, 255, 255, .6); }
.note { margin: 14px 0 0; color: var(--dim); font-size: 12px; }

/* ── 바닥 ── */
.foot { margin-top: 72px; border-top: 1px solid var(--line); background: var(--bg2); padding: 30px 20px 40px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.foot > img { height: 44px; width: auto; }
.lrow { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; }
.lrow a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: #fff; transition: border-color .3s; }
.lrow a:hover { border-color: var(--c, var(--gold)); }
.lrow img { width: 24px; height: 24px; object-fit: contain; }
.lrow b { font-family: var(--serif); letter-spacing: .08em; color: var(--text); font-weight: 600; }
.copy { margin: 0; color: var(--dim); font-size: 12px; }

/* ── 들어올 때 ── */
.hero > * { animation: rise .9s var(--ease) both; }
.hero h1 { animation-delay: .08s; } .hero .lead { animation-delay: .18s; } .hero .ctas { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ── 좁은 화면 ── */
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .top { padding: 12px 16px; gap: 12px; } .snav { display: none; } .next { margin-left: auto; } .next span { display: none; }
  .hero { padding: 110px 16px 96px; } .hero::before { top: 74px; height: 460px; } .hero::after { top: 92px; height: 440px; }
  .eyebrow { font-size: 10px; letter-spacing: .28em; padding-left: .28em; }
  .hero h1 { width: 92%; } .lead { font-size: 14px; } .ctas .btn { flex: 1; text-align: center; max-width: 170px; }
  .stats { margin-top: -44px; padding: 14px 0; } .stats b { font-size: 24px; }
  .sec { padding-top: 40px; }
  .lvn-list { flex-direction: column; gap: 8px; } .lvn-g { border-radius: 16px; flex-wrap: wrap; gap: 10px; } .lvn-p { overflow-x: auto; scrollbar-width: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid.dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sch-days { gap: 4px; } .dy { padding: 8px 2px 7px; border-radius: 10px; } .dy b { font-size: 13px; } .dy.today b::after { content: ""; } .dy small { font-size: 10px; }
  .sch-line { height: auto; margin: 0; display: grid; padding-left: 64px; }
  .sch-line .axis { left: 50px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; transform: none; background: linear-gradient(180deg, transparent, rgba(169, 132, 58, .6) 6%, rgba(169, 132, 58, .6) 94%, transparent); }
  .sch-line .tk, .sch-line .now { display: none; }
  .si, .si.up, .si.dn { position: relative; left: auto !important; top: auto; bottom: auto; margin: 0; width: auto; grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-rows: auto auto; justify-items: start; align-items: center; column-gap: 12px; row-gap: 0; text-align: left; padding: 10px 0; }
  .si::after { display: none; }
  .si .md { width: 46px; height: 46px; grid-row: 1 / span 2; } .si .md img { width: 38px; height: 38px; }
  .si small { position: absolute; left: -64px; top: 50%; transform: translateY(-50%); width: 44px; text-align: right; font-size: 13px; color: var(--text); font-weight: 600; }
  .si .st { grid-column: 3; grid-row: 1 / span 2; }
  .si b { font-size: 14px; } .si .ko2 { display: block; grid-column: 2; font-size: 12px; color: var(--muted); }
  .foot { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── 카드 효과 (10/2 사장님: "카드칸 효과 더줘, 단조로워") ──
   ① 위쪽 레이블 색 띠 ② 문장 뒤로 천천히 도는 빛 고리 ③ 떠오르며 반짝이는 가루 ④ 문장이 살짝 떠 있음
   ⑤ 몇 초마다(올리면 바로) 비스듬히 지나가는 빛 ⑥ 올리면 테두리가 레이블 색으로 빛남 */
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 3; background: linear-gradient(90deg, transparent, var(--c), color-mix(in srgb, var(--c) 40%, #fff), var(--c), transparent); }
.card:hover { border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.pic { overflow: hidden; isolation: isolate; }
.pic::before { content: ""; position: absolute; left: 50%; top: 50%; width: 72%; aspect-ratio: 1; margin: -36% 0 0 -36%; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 10%, color-mix(in srgb, var(--c) 80%, transparent) 22%, transparent 38%, color-mix(in srgb, var(--c) 60%, transparent) 62%, transparent 78%);
  filter: blur(18px); opacity: .9; animation: halo 16s linear infinite; }
@keyframes halo { to { transform: rotate(360deg); } }
.pic .spark { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(circle, color-mix(in srgb, var(--c) 85%, #fff) 0 2px, transparent 3px),
    radial-gradient(circle, #fff 0 1.8px, color-mix(in srgb, var(--c) 30%, transparent) 2.4px, transparent 4px),
    radial-gradient(circle, color-mix(in srgb, var(--c) 65%, #fff) 0 1.3px, transparent 2.2px);
  background-size: 90px 110px, 130px 150px, 70px 90px; background-position: 10px 0, 40px 30px, 0 60px;
  animation: drift 14s linear infinite, twinkle 3.2s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 85%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 85%); }
@keyframes drift { to { background-position: 10px -440px, 40px -570px, 0 -300px; } }
@keyframes twinkle { 50% { opacity: .45; } }
.pic img { animation: floaty 6s ease-in-out infinite; }
.card-w:nth-child(2n) .card .pic img { animation-delay: -3s; }
@keyframes floaty { 50% { translate: 0 -8px; } }
.pic .shine { position: absolute; inset: -20% -60%; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .75) 50%, transparent 60%); transform: translateX(-70%); animation: sweep 7s ease-in-out infinite; }
.card-w:nth-child(2n) .card .pic .shine { animation-delay: 3.5s; }
.card:hover .pic .shine { animation: sweep-now .9s ease-out; }
@keyframes sweep { 0%, 78% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
@keyframes sweep-now { from { transform: translateX(-70%); } to { transform: translateX(70%); } }
.card:hover .pic::before { opacity: 1; filter: blur(14px); }
@media (prefers-reduced-motion: reduce) { .pic .spark, .pic .shine { display: none; } }

/* ── 첫 화면 배경 그림 (10/2 사장님 GPT 그림) — <html class="bg-concert | bg-marble">, 주소 ?bg=concert|marble 로 바꿔 보기 ──
   그림이 들어가면 아치 선은 뺍니다(그림과 겹침). 로고·글자 자리는 가운데를 밝게 덮어 읽히게. */
html.bg-concert .hero, html.bg-marble .hero { background-color: var(--bg); }
html.bg-concert .hero { background-image: radial-gradient(42% 48% at 50% 40%, rgba(255, 252, 246, .6), transparent 72%), linear-gradient(180deg, rgba(251, 247, 240, 0) 58%, var(--bg) 100%), url(/portal/img/bg-concert-pc.webp); background-size: auto, auto, cover; background-position: center, center, center 30%; background-repeat: no-repeat; }
html.bg-marble .hero { background-image: radial-gradient(45% 50% at 50% 42%, rgba(255, 253, 249, .55), transparent 75%), linear-gradient(180deg, rgba(251, 247, 240, 0) 62%, var(--bg) 100%), url(/portal/img/bg-marble-pc.webp); background-size: auto, auto, cover; background-position: center, center, center; background-repeat: no-repeat; }
html.bg-concert .hero::before, html.bg-concert .hero::after, html.bg-marble .hero::before, html.bg-marble .hero::after { display: none; }
html.bg-concert .lead, html.bg-marble .lead { color: #4A4038; font-weight: 500; text-shadow: 0 0 10px #FFFCF6, 0 0 24px rgba(255, 252, 246, .95); }
html.bg-concert .eyebrow, html.bg-marble .eyebrow { text-shadow: 0 0 10px #FFFCF6, 0 0 20px rgba(255, 252, 246, .9); }
@media (max-width: 700px) {
  html.bg-concert .hero { background-image: radial-gradient(60% 40% at 50% 34%, rgba(255, 252, 246, .6), transparent 72%), linear-gradient(180deg, rgba(251, 247, 240, 0) 60%, var(--bg) 100%), url(/portal/img/bg-concert-mo.webp); background-position: center, center, center 20%; }
  html.bg-marble .hero { background-image: radial-gradient(60% 40% at 50% 34%, rgba(255, 253, 249, .55), transparent 75%), linear-gradient(180deg, rgba(251, 247, 240, 0) 62%, var(--bg) 100%), url(/portal/img/bg-marble-mo.webp); }
}
/* 금색 장식선 — 첫 화면 소개 아래 · 각 구역 제목 위 · 바닥 */
.orn { display: block; width: min(300px, 70%); height: auto; margin: 18px auto 0; filter: drop-shadow(0 4px 10px rgba(120, 90, 30, .2)); }
.sec-orn { display: block; width: 220px; height: auto; margin: 0 auto 10px; opacity: .9; }
.foot .orn { margin: 0 auto; width: 200px; }
.hero .orn { margin-top: 10px; width: min(260px, 64%); }
.hero .orn + .ctas { margin-top: 8px; }

/* ── LIVE NOW 큰 카드 (10/04 — 예전 작은 알약 .lvn-* 대신) ── */
.sec-h .lv-n { margin-left: auto; font: 700 12px var(--sans); letter-spacing: .04em; color: #fff; background: var(--live); padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px var(--live); }
.sec-h .lv-n::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #fff; vertical-align: 1px; animation: ping 1.6s var(--ease) infinite; }
.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.lv-card { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); min-width: 0; }
.lv-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(229, 56, 79, .45); }
.lv-media { position: relative; aspect-ratio: 16 / 9; background: #1b1512; overflow: hidden; }
.lv-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 32%, transparent 70%, rgba(0, 0, 0, .35)); pointer-events: none; }
.lv-media .lv-shot { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.lv-media .lv-shot.fb { filter: blur(14px) saturate(1.2); transform: scale(1.25); }
.lv-card:hover .lv-shot:not(.fb) { transform: scale(1.05); }
.lv-tag { position: absolute; z-index: 1; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: var(--live); color: #fff; font: 800 11px var(--sans); letter-spacing: .12em; box-shadow: 0 4px 14px -4px rgba(229, 56, 79, .8); }
.lv-tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ping 1.6s var(--ease) infinite; }
.lv-lb { position: absolute; z-index: 1; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 11px; font-weight: 700; color: var(--text); }
.lv-lb img { width: 18px; height: 18px; object-fit: contain; }
.lv-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(229, 56, 79, .92); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.lv-play::before { content: ""; position: absolute; left: 21px; top: 17px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.lv-card:hover .lv-play { opacity: 1; transform: none; }
.lv-info { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px 14px; }
.lv-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--live); }
.lv-tx { display: grid; gap: 2px; min-width: 0; }
.lv-tx b { font-size: 16px; font-weight: 700; color: var(--text); }
.lv-tx small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 편성: 요일 칸 + 아래에 방송 카드 (10/04 네 번째 — 시간 줄 없음) ── */
.sch-days:empty { display: none; }
.sch-body { margin-top: 4px; }
.tt { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.tt-head, .tt-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.tt-head { margin-bottom: 8px; }
.tt-day { display: grid; justify-items: center; gap: 3px; padding: 12px 2px; border-radius: 12px; background: var(--bg); min-width: 0; }
.tt-day b { font-size: 20px; } .tt-day small { font-size: 15px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.tt-day em { font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: var(--gold); padding: 1px 7px; border-radius: 999px; }
.tt-day.today { background: linear-gradient(160deg, #D9B66A, var(--gold)); color: #fff; box-shadow: 0 10px 20px -12px rgba(169, 132, 58, .9); }
.tt-day.today small { color: rgba(255, 255, 255, .9); }
.tt-day.today em { background: #fff; color: var(--gold); letter-spacing: .14em; font-size: 9px; padding: 2px 8px; }
.tt-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tt-col > * { flex: 1; }   /* 같은 줄 카드는 모두 같은 높이 — 휴방·오늘 칸만 아래로 튀어나오던 것 (10/04) */
.tt-col.today > * { box-shadow: 0 0 0 2px var(--gold-lt); }
.tt-off { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 14px 6px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.tt-off .md { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); font: 600 12px var(--serif); letter-spacing: .12em; color: var(--dim); }
.tt-off b { font-size: 13px; font-weight: 600; color: var(--muted); }
.tt-off small { font-size: 11px; color: var(--dim); }
.tt-ev { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 14px 6px 12px; text-align: center; min-width: 0;
  border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--dot) 20%, #fff), color-mix(in srgb, var(--dot) 5%, #fff));
  border: 1px solid color-mix(in srgb, var(--dot) 30%, transparent); border-top: 3px solid var(--dot); transition: transform .25s var(--ease), box-shadow .25s; }
.tt-ev:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -18px color-mix(in srgb, var(--dot) 85%, transparent); }
.tt-ev .md { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--dot) 45%, transparent), 0 8px 18px -10px color-mix(in srgb, var(--dot) 80%, transparent); }
.tt-ev .md img { width: 50px; height: 50px; object-fit: contain; }
.tt-ev b { font-family: var(--serif); font-size: 13px; letter-spacing: .05em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tt-ev small { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.tt-ev .st { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #fff; color: color-mix(in srgb, var(--dot) 75%, #000); white-space: nowrap; }
.tt-ev .st.on { background: var(--live); color: #fff; }
.tt-ev.done { opacity: .45; }
.tt-ev.on { border-color: var(--live); border-top-color: var(--live); background: linear-gradient(180deg, #FFE3E7, #fff); animation: ttglow 1.8s ease-in-out infinite; }
.tt-ev.on small { color: var(--live); }
.tt-ev .st.on { display: inline-flex; align-items: center; gap: 4px; }
.tt-ev .st.on i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ping 1.6s var(--ease) infinite; }
@keyframes ttglow { 0%, 100% { box-shadow: 0 0 0 2px rgba(229, 56, 79, .9), 0 0 0 6px rgba(229, 56, 79, .0); } 50% { box-shadow: 0 0 0 2px rgba(229, 56, 79, .9), 0 0 18px 6px rgba(229, 56, 79, .28); } }
@media (prefers-reduced-motion: reduce) { .tt-ev.on, .tt-ev .st.on i { animation: none; } }
@media (max-width: 700px) {
  .lv-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .lv-grid::-webkit-scrollbar { display: none; }
  .lv-card { flex: 0 0 80%; scroll-snap-align: start; }
  .lv-grid:has(.lv-card:only-child) .lv-card { flex-basis: 100%; }
  .tt { padding: 10px 8px; border-radius: 14px; }
  .tt-head, .tt-cols { gap: 3px; }
  .tt-day { padding: 7px 0; border-radius: 9px; gap: 1px; } .tt-day b { font-size: 16px; } .tt-day small { font-size: 12px; letter-spacing: -.02em; } .tt-day em { font-size: 7px; padding: 1px 4px; letter-spacing: .06em; }
  .tt-off { padding: 8px 1px; border-radius: 10px; gap: 3px; }
  .tt-off .md { width: 36px; height: 36px; font-size: 9px; letter-spacing: .06em; }
  .tt-off b { font-size: 11px; } .tt-off small { display: none; }

  .tt-ev { padding: 8px 1px; border-radius: 10px; gap: 3px; }
  .tt-ev .md { width: 36px; height: 36px; } .tt-ev .md img { width: 31px; height: 31px; }
  .tt-ev b { display: none; } .tt-ev small { font-size: 11px; }
  .tt-ev .st { font-size: 9px; padding: 1px 3px; letter-spacing: -.04em; max-width: 100%; overflow: hidden; }
  .tt-ev .st.on i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lv-tag i, .sec-h .lv-n::before { animation: none; } }
/* 레이블 카드 — 정해진 방송 요일·시각 알약 (10/04, 사장님이 고른 첫 모양) */
.bcast { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 10px auto 2px; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--muted);
  background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.bc-row { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 12px auto 2px; }   /* 단추 아래 줄에 요일·시각 (10/04 "줄바꿈해줘") */
.bc-row .bcast { margin: 0; font-weight: 700; color: color-mix(in srgb, var(--c) 80%, #000); }
.bc-when { display: inline-flex; align-items: baseline; gap: 8px; font-family: 'Gowun Batang', var(--serif); }
.bc-when b { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: .04em; }
.bc-when em { font-style: normal; font-size: 15px; font-weight: 700; color: color-mix(in srgb, var(--c) 75%, var(--text)); }
.bc-when em::before { content: ""; display: inline-block; width: 1px; height: 12px; margin-right: 8px; background: var(--line); vertical-align: -1px; }
.bcast i { width: 0; height: 0; border-left: 8px solid color-mix(in srgb, var(--c) 85%, #000); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* 바닥 관리자 로그인 → 전자계약·로그인 잠금 (10/04) */
.foot-admin { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 4px; font-size: 12px; }
/* 레이블 사이트 바닥 "관리자" 와 같은 모양 — 작은 글자 링크 (10/04 사장님 "사이트 규칙 통일") */
.fa-btn, .foot-admin a { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 2px 4px; cursor: pointer; }
.fa-btn:hover, .foot-admin a:hover { color: var(--gold); text-decoration: underline; }
.foot-admin a.main { color: var(--gold); font-weight: 700; }
.foot-admin .fa-who { color: var(--muted); }
.fa-dlg { border: 0; padding: 0; border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(60, 40, 10, .5); width: min(360px, calc(100vw - 32px)); background: #fff; color: var(--text); }
.fa-dlg::backdrop { background: rgba(43, 37, 32, .45); backdrop-filter: blur(2px); }
.fa-form { display: grid; gap: 10px; padding: 26px 24px 22px; text-align: center; }
.fa-form img { height: 38px; width: auto; margin: 0 auto 4px; }
.fa-form h2 { margin: 0; font-size: 18px; } .fa-form p { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.fa-form input { font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); }
.fa-form input:focus { outline: 2px solid var(--gold-lt); border-color: var(--gold); }
.fa-err { color: #C2410C !important; font-weight: 600; }
.fa-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 4px; }
.fa-row button { font: inherit; font-size: 15px; font-weight: 700; padding: 11px; border-radius: 12px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--text); }
.fa-row .fa-ok { background: var(--gold); border-color: var(--gold); color: #fff; }
.fa-row .fa-ok:disabled { opacity: .6; cursor: default; }
@media (max-width: 700px) {
  /* TODAY 가 좁은 칸에서 잘리던 것 — 칸 위 테두리에 걸친 딱지로 */
  .tt-day { position: relative; overflow: visible; }
  .tt-day.today { padding-top: 12px; }
  .tt-day.today em { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); font-size: 8px; letter-spacing: 0; padding: 1px 4px; line-height: 1.3; box-shadow: 0 0 0 1px var(--gold-lt); }
  .tt-head { padding-top: 6px; }
}

/* 방송 도우미 — 머리글 오른쪽 금색 단추 + 바닥 링크 (10/04) */
.top-helper { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, #D9B66A, var(--gold)); border-radius: 999px; padding: 7px 15px; box-shadow: 0 8px 18px -10px rgba(169, 132, 58, .9); transition: transform .2s var(--ease), box-shadow .2s; }
.top-helper:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(169, 132, 58, 1); }
.top-helper i { width: 14px; height: 10px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.top-helper i::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -5px; height: 2px; background: currentColor; border-radius: 1px; }
.foot-helper { font-size: 13px; font-weight: 700; color: var(--gold); }
.foot-helper:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .top-helper { padding: 6px 11px; font-size: 12px; gap: 5px; }
  .top-helper i { display: none; }
  .top .next { margin-left: auto; }
}

/* 편성표 날짜·시각 글꼴 — 숫자는 Playfair(머리 숫자와 같은 결), 요일은 고운바탕 (10/04 사장님 "날짜랑 시간 폰트만 예쁘게") */
.tt-day b { font-family: 'Gowun Batang', var(--serif); font-weight: 700; }
.tt-day small, .tt-ev small { font-family: var(--serif); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .02em; }
.tt-day small { font-size: 16px; }
.tt-ev small { font-size: 18px; }
@media (max-width: 700px) { .tt-day small { font-size: 12px; letter-spacing: 0; } .tt-ev small { font-size: 12px; letter-spacing: 0; } }


/* ── 지금 방송 중인 출연자 (10/08 사장님 "라이브 인원 메인 화면에서 볼 수가 없어 — 라이브 상태에서는 표시해서 바로 들어가게") ──
   첫 화면 ON AIR 줄(#onair) + 레이블 카드 안 「지금 방송 중」(.stories). 누르면 그 출연자 유튜브 라이브로 */
.onair { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 30px auto 0; max-width: 860px; }
.oa-h { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--live) 35%, var(--line)); font: 800 12px/1 var(--sans); letter-spacing: .14em; color: var(--live); box-shadow: 0 8px 22px -14px rgba(229, 56, 79, .6); }
.oa-h b { color: var(--text); letter-spacing: 0; font-size: 13px; }
.oa-h i, .cl-h i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(229, 56, 79, .55); animation: oa-pulse 1.6s infinite; }
@keyframes oa-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 56, 79, .55); } 70% { box-shadow: 0 0 0 9px rgba(229, 56, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 56, 79, 0); } }
.oa-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.oa-chip { --c: var(--gold); display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, .92); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 12px 26px -18px rgba(90, 65, 30, .55);
  transition: transform .25s var(--ease), box-shadow .25s; backdrop-filter: blur(6px); }
.oa-chip:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--c) 70%, rgba(90, 65, 30, .5)); }
.oa-av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: conic-gradient(var(--live), #ff8a9b, var(--live)); }
.oa-av img, .oa-av i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: var(--bg2); font-style: normal; font-weight: 800; color: var(--muted); box-sizing: border-box; }
.oa-tx { display: flex; flex-direction: column; text-align: left; line-height: 1.2; white-space: nowrap; }
.oa-tx b { font-size: 14.5px; font-weight: 800; }
.oa-tx small { font-size: 11px; color: color-mix(in srgb, var(--c) 80%, var(--muted)); font-weight: 700; }
.oa-go { font-size: 10px; color: var(--live); margin-left: 2px; }
/* 레이블 카드 감싸개 — 안에 출연자 링크가 들어갈 때 카드는 div + 덮개 링크 */
.card-w { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-w > .card { flex: 1; }
.card.has-stories { cursor: pointer; }
.card-link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
/* 카드 안 「지금 방송 중」 — 동그란 사진 + 이름 (10/08 "레이블 카드 아래 생방송 출연자 이상해 — 다시 수정해") */
.stories { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; margin: 4px 0 2px; padding: 12px 0 4px; border-top: 1px dashed color-mix(in srgb, var(--live) 28%, var(--line)); }
.st-h { display: inline-flex; align-items: center; gap: 7px; font: 800 12px/1 var(--sans); letter-spacing: .06em; color: var(--live); }
.st-h b { color: var(--text); }
.st-h i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: oa-pulse 1.6s infinite; }
.st-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.st-i { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px; text-decoration: none; color: var(--text); transition: transform .2s var(--ease); }
.st-i:hover { transform: translateY(-2px); }
.st-av { width: 52px; height: 52px; border-radius: 50%; padding: 2.5px; background: conic-gradient(var(--live), #ff9aab, var(--live)); box-shadow: 0 8px 16px -10px rgba(229, 56, 79, .7); }
.st-av img, .st-av i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: var(--bg2); font-style: normal; font-weight: 800; color: var(--muted); box-sizing: border-box; }
.st-i b { max-width: 64px; font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .st-av { width: 48px; height: 48px; } .st-row { gap: 10px 12px; } }
@media (max-width: 720px) {
  .onair { margin-top: 22px; }
  .oa-list { gap: 8px; }
  .oa-chip { padding-right: 12px; } .oa-av { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .oa-h i, .cl-h i { animation: none; } }
/* 첫 화면 ON AIR 는 크게 — 무대 그림 위라 작으면 안 보입니다 */
.onair .oa-h { font-size: 13px; padding: 8px 16px 8px 14px; }
.onair .oa-h b { font-size: 15px; }
.onair .oa-chip { gap: 12px; padding: 7px 20px 7px 7px; }
.onair .oa-av { width: 54px; height: 54px; padding: 3px; }
.onair .oa-tx b { font-size: 18px; }
.onair .oa-tx small { font-size: 12.5px; }
.onair .oa-go { font-size: 12px; margin-left: 4px; }
@media (max-width: 720px) { .onair .oa-av { width: 44px; height: 44px; } .onair .oa-tx b { font-size: 16px; } .onair .oa-chip { padding-right: 14px; } }

/* LIVE NOW — 컴퓨터에서도 휴대폰처럼 큰 카드 (10/08). 방송 수만큼(최대 3) 한 줄을 꽉 채우고, 하나면 가운데 크게 */
@media (min-width: 721px) {
  .lv-grid { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 22px; }
  .lv-grid[style*="--n:1"] { max-width: 760px; margin-inline: auto; }
  .lv-grid .lv-card { border-radius: 22px; }
  .lv-grid .lv-info { padding: 16px 20px 18px; gap: 14px; }
  .lv-grid .lv-av { width: 52px; height: 52px; }
  .lv-grid .lv-tx b { font-size: 19px; }
  .lv-grid .lv-tx small { font-size: 13.5px; }
  .lv-grid .lv-tag { font-size: 13px; padding: 6px 12px; }
  .lv-grid .lv-lb { font-size: 13px; }
}

.grid { align-items: stretch; }

/* 레이블이 1개뿐이면(더유니크 폐쇄 10/21) 카드를 가운데로 */
.grid:has(> :only-child) { grid-template-columns: minmax(0, 475px); justify-content: center; }
