
/*
 * 신설리 : 클라우드
 * 노래 가사 / 노래방 번호 안내 블로그
 * 화이트 배경 + 오렌지(#ff6e41) 포인트, 신설리 애니 블로그 스킨 구조 재활용
 */

:root {
  --orange: #ff6e41;
  --orange-deep: #e8552a;
  --orange-soft: #fff1ec;
  --text: #232323;
  --text-dim: #8a8a8a;
  --line: #ececec;
  --bg: #ffffff;
  --stage: #15171c;
  --stage-line: #2a2d34;
  --radius: 14px;
  --maxw: 1860px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; width: 100%; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font-family: "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px; line-height: 1.5;
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable; /* 스크롤바 유무와 상관없이 콘텐츠 폭을 항상 동일하게 고정 */
}
body { scrollbar-gutter: auto; } /* 스크롤바 자리는 html에서만 한 번 (body까지 잡으면 오른쪽 여백이 두 배가 됨) */
div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, form, fieldset, legend, input, textarea, figure { margin: 0; padding: 0; }
header, footer, section, article, aside, nav, figure { display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; vertical-align: top; max-width: 100%; }
button { border: 0; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; border-radius: 0; }
hr { display: none; }
.screen_out { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

#acc-nav { position: absolute; top: 0; left: 0; width: 100%; height: 0; overflow: hidden; z-index: 999; }
#acc-nav a { position: absolute; top: -50px; left: 0; padding: 12px 20px; background: var(--orange); color: #fff; font-size: 13px; }
#acc-nav a:focus, #acc-nav a:active { top: 0; }

/* ---------- Header : 배너 이미지만 ---------- */
#header { border-bottom: 1px solid var(--line); background: #fff; }
#header .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 12px; /* 좌우 12px = 본문(.content-wrap)과 같은 선 */
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* 로그인 버튼 / 내 닉네임: 헤더 오른쪽 끝 (로고는 가운데 그대로) */
#header { position: relative; z-index: 1100; } /* 내 닉네임 메뉴가 아래 메뉴줄(GNB) 위로 나오게 */
#header .header-account { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
@media screen and (max-width: 767px) { #header .header-account { right: 12px; transform: translateY(-50%) scale(.9); transform-origin: right center; } }
/* 헤더 오른쪽 아이콘 버튼 (2026-11-18 B안): 칩 왼쪽, 마우스 올리면 아래 말풍선 */
#header .header-right { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; z-index: 5; }
#header .header-right .header-account { position: static; transform: none; }
.hd-tools { display: flex; align-items: center; gap: 6px; }
.hd-tool { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #ececf0; border-radius: 10px; background: #fff; color: #555; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
/* ===== 다크 모드 (2026-11-25): 색을 하나하나 바꾸지 않고 화면 전체를 뒤집어 회색 톤으로 (검정 말고 #252525 정도).
   html 에 invert·hue-rotate·contrast·saturate → 사진·영상·국기·노래방 화면(.dk-keep)은 같은 필터를 거꾸로 걸어 원래 색으로 */
html.dark { filter: invert(1) hue-rotate(180deg) contrast(.747) brightness(1.144) saturate(1.3); background: #fff; } /* 흰 바탕 → #252525, 검정 글자 → 흰색(끝까지 밝게) */
html.dark img:not(.sa-rk > img), html.dark video, html.dark iframe, html.dark canvas, html.dark picture, html.dark .dk-keep, html.dark .sa-bdg, html.dark .sc-flag, html.dark .gtc-col, html.dark .gtb-disc, html.dark .fdc-inquiry-btn, html.dark .vl-play, html.dark .vl-yt i { filter: saturate(.7692) brightness(.8741) contrast(1.3387) hue-rotate(180deg) invert(1) !important; }
html.dark :is(.dk-keep, .sa-bdg, .sc-flag, .gtc-col, .gtb-disc, .fdc-inquiry-btn) :is(img:not(.sa-rk > img), video, iframe, canvas, picture, .dk-keep, .sa-bdg, .sc-flag) { filter: none !important; } /* .sa-rk > img 는 빼서 금빛 깜빡임(filter 애니메이션) 살림 */ /* 티어 배지(.sa-bdg)는 반짝이 효과까지 통째로 */
/* 왼쪽 위 다크 모드 스위치 */
html:not(.dk-on) .theme-sw { cursor: default; } html:not(.dk-on) .theme-sw-t { opacity: .45; } html:not(.dk-on) .theme-sw:hover .theme-sw-t { box-shadow: inset 0 0 0 1px #e0e0e6; } /* 스튜디오에서 비활성화면 '준비 중' (누를 수 없음) */
html:not(.dk-on) .theme-sw-l b { display: none !important; } .theme-sw-l .prep { display: none; margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: #f1f1f4; font-size: 10.5px; font-weight: 800; color: #9a9aa2; } html:not(.dk-on) .theme-sw-l .prep { display: inline-block; }
.theme-sw { position: absolute; left: 12px; /* 아래 메뉴 "메인 홈" 왼쪽 끝과 맞춤 */ top: 50%; transform: translateY(-50%); z-index: 5; display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
/* 스위치 동그라미·아이콘은 배경 그림으로 그림 → 사이트 배율(zoom)에서 1px 씩 밀리던 것 없음 (2026-11-25) — 동그라미·아이콘은 1px 위로 (사용자 화면에서 살짝 처져 보임) */
.theme-sw-t { position: relative; display: block; flex: none; width: 52px; height: 28px; border-radius: 999px; background-color: #ececf0; box-shadow: inset 0 0 0 1px #e0e0e6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9a3d' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"), radial-gradient(circle closest-side, #fff 96%, transparent 100%), radial-gradient(circle closest-side, rgba(0,0,0,.22) 60%, transparent 100%);
  background-repeat: no-repeat; background-size: 13px 13px, 22px 22px, 26px 26px; background-position: 7.5px calc(50% - 1px), 3px calc(50% - 1px), 1px 50%;
  transition: background-position .22s ease, background-color .2s ease; }
.theme-sw-k { display: none; }
.theme-sw-l { font-size: 12.5px; font-weight: 800; color: #6b6b72; white-space: nowrap; }
.theme-sw-l b { margin-left: 2px; font-weight: 900; color: #b4b4ba; } .theme-sw-l .on { display: none; }
.theme-sw:hover .theme-sw-t { box-shadow: inset 0 0 0 1px var(--orange); }
html.dark .theme-sw-t { background-color: var(--orange); box-shadow: none; filter: saturate(.7692) brightness(.8741) contrast(1.3387) hue-rotate(180deg) invert(1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff6e41' d='M13.5 3.2a8.8 8.8 0 1 0 7.3 13.4A7.2 7.2 0 0 1 13.5 3.2z'/%3E%3C/svg%3E"), radial-gradient(circle closest-side, #fff 96%, transparent 100%), radial-gradient(circle closest-side, rgba(0,0,0,.22) 60%, transparent 100%);
  background-size: 14px 14px, 22px 22px, 26px 26px; background-position: 31px calc(50% - 1px), 27px calc(50% - 1px), 25px 50%; } /* 켜지면 진짜 주황 + 흰 동그라미 */
html.dark .theme-sw-l .off { display: none; } html.dark .theme-sw-l .on { display: inline; color: var(--orange-deep); }
@media (max-width: 700px) { .theme-sw { left: 12px; } .theme-sw-l { display: none; } .theme-sw-t { width: 46px; height: 26px; background-size: 12px 12px, 20px 20px, 24px 24px; background-position: 7px calc(50% - 1px), 3px calc(50% - 1px), 1px 50%; } html.dark .theme-sw-t { background-size: 13px 13px, 20px 20px, 24px 24px; background-position: 26.5px calc(50% - 1px), 23px calc(50% - 1px), 21px 50%; } }
.hd-tool svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hd-tool:hover { border-color: var(--orange); color: var(--orange-deep); background: #fffaf7; }
.hd-tool .hd-cnt { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff4d3d; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.hd-tool.pip { color: var(--orange-deep); border-color: #ffd2c2; background: #fff8f5; }
.yt-new { display: flex; align-items: center; gap: 14px; margin: 18px 0 16px; padding: 10px 12px 10px 10px; border: 1px solid #ffd6c7; border-radius: 12px; background: linear-gradient(90deg, #fff4ef, #fff 70%); color: inherit; text-decoration: none !important; box-shadow: 0 6px 18px -12px rgba(255,110,65,.5); transition: border-color .15s, box-shadow .15s; animation: ynIn .4s ease both; }
.yt-new[hidden] { display: none; }
.yt-new:hover { border-color: var(--orange); box-shadow: 0 10px 24px -12px rgba(255,110,65,.6); }
@keyframes ynIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.yn-th { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: #111; }
.yn-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yn-th i { position: absolute; left: 50%; top: 50%; width: 30px; height: 21px; margin: -10.5px 0 0 -15px; border-radius: 6px; background: #ff0000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") center/15px no-repeat; }
.yn-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.yn-tx b { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--orange-deep); }
.yn-tx em { font-style: normal; padding: 1px 6px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 10.5px; letter-spacing: .04em; }
.yn-t { font-size: 15px; font-weight: 800; color: #1f1f23; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yn-go { flex: none; padding: 8px 14px; border-radius: 8px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; transition: background .15s; }
.yt-new:hover .yn-go { background: var(--orange-deep); }
.yn-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 7px; background: none; color: #a0a0a8; font-size: 13px; cursor: pointer; }
.yn-x:hover { background: #f1f1f3; color: #333; }
@media (max-width: 640px) { .yn-th { width: 84px; } .yn-go { display: none; } .yn-t { font-size: 13.5px; } }
.hd-tool.tip-off::after, .hd-tool.tip-off::before { display: none; } /* 누르면 말풍선 숨김, 마우스가 나가면 다시 (2026-11-21) */
.hd-tool.on { color: #fff; border-color: var(--orange); background: var(--orange); } .hd-tool.on::after, .hd-tool.on::before { display: none; } /* 친구 창 열림 (2026-11-21) */
.hd-tool::after { content: attr(data-tip); position: absolute; top: calc(100% + 9px); left: 50%; transform: translate(-50%, -4px); padding: 6px 10px; border-radius: 7px; background: #1d1d1f; color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 30; }
.hd-tool::before { content: ""; position: absolute; top: calc(100% + 3px); left: 50%; transform: translate(-50%, -4px); border: 6px solid transparent; border-top: 0; border-bottom-color: #1d1d1f; opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; z-index: 30; }
.hd-tool:hover::after, .hd-tool:focus-visible::after, .hd-tool:hover::before, .hd-tool:focus-visible::before { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media screen and (max-width: 767px) {
  #header .header-right { right: 8px; gap: 4px; transform: translateY(-50%) scale(.88); transform-origin: right center; }
  .hd-tool { width: 36px; height: 36px; } .hd-tools { gap: 4px; }
}

#header h1.logo { line-height: 0; }
#header h1.logo a { display: inline-flex; align-items: center; height: 40px; }
#header h1.logo a img { display: block; height: 100%; width: auto; max-width: 200px; object-fit: contain; }
#header h1.logo a:not(:has(img)) {
  height: auto; font-size: 20px; font-weight: 900; color: var(--text); letter-spacing: -0.01em;
}
#header h1.logo a:not(:has(img)) {
  display: block; padding: 10px 0; font-size: 24px; font-weight: 900; color: var(--text); letter-spacing: -0.01em;
}

/* ---------- Layout ---------- */
#container { width: 100%; }
.content-wrap { max-width: var(--maxw); margin: 0 auto; padding: 12px 12px 16px; }
#content { width: 100%; }

/* ---------- List header (공통) ---------- */
.list-header {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 2px solid var(--text);
}
.list-header h2 { display: flex; align-items: baseline; gap: 6px; font-size: 19px; font-weight: 900; }
.list-header h2 em { font-style: normal; color: var(--orange); }

.empty-box { padding: 70px 0; text-align: center; color: var(--text-dim); }
.empty-box p { font-size: 14px; margin-bottom: 6px; }
.empty-box .sub { font-size: 12.5px; color: #b6b6b6; }

/* ---------- 페이지(고정 페이지) ---------- */
.page-header { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid var(--text); }
.page-header h1 { font-size: 22px; font-weight: 900; }

/* =========================================================
   GNB + 메가메뉴 패널 (햄버거 클릭 → 전체 카테고리 패널)
   ========================================================= */
:root {
  --sm-orange: #ff6e41;
  --sm-height: 65px;
  --mega-bg: #fff;
}

.custom-gnb-wrapper {
  position: relative; width: var(--fit-vw, 100vw); left: 50%; transform: translateX(-50%); /* --fit-vw: 확대·축소 중 화면 폭 */
  height: var(--sm-height); background-color: #fff; box-sizing: border-box;
  border-top: none; border-bottom: none;
  margin: 0; padding: 0; z-index: 1000; overflow: visible;
}
.gnb-inner-container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 12px; box-sizing: border-box; /* 본문과 같은 선 */
}
.gnb-left-section { display: flex; align-items: center; height: 100%; }
.gnb-hamburger-btn {
  position: relative; width: 26px; height: 20px; background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: space-between; padding: 0;
  margin-right: 0; box-sizing: border-box; z-index: 10005;
  display: none; /* 기능/이벤트는 그대로 두고 화면에만 안 보이게 처리 */
}
.gnb-hamburger-btn span {
  display: block; width: 100%; height: 3px; background-color: var(--sm-orange); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.custom-gnb-wrapper.menu-active .gnb-hamburger-btn span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.custom-gnb-wrapper.menu-active .gnb-hamburger-btn span:nth-child(2) { opacity: 0; }
.custom-gnb-wrapper.menu-active .gnb-hamburger-btn span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.custom-gnb-wrapper.menu-active .gnb-pc-nav,
.custom-gnb-wrapper.menu-active .gnb-inner-container > .gnb-right-section {
  opacity: 0; visibility: hidden; pointer-events: none;
}

.gnb-pc-nav, .gnb-right-section { transition: opacity .22s cubic-bezier(.16,1,.3,1), visibility .22s; }
.gnb-pc-nav { display: flex; align-items: center; height: 100%; }
.gnb-depth1-ul { display: flex; align-items: center; height: 100%; margin: 0; padding: 0; list-style: none; }
.gnb-depth1-ul > li { position: relative; height: 100%; margin-right: 40px; }
.gnb-depth1-ul > li:last-child { margin-right: 0; }
.gnb-depth1-ul > li > a.gnb-main-link {
  display: flex; align-items: center; height: 100%; font-size: 15px; font-weight: 800; color: var(--text);
  transition: color .15s ease;
}
.gnb-main-link:hover { color: var(--sm-orange) !important; }
/* 노래 신청하기 : 오렌지(현재 페이지 표시색)와 겹치지 않도록 블루 계열 */
.gnb-main-link.gnb-main-link-accent { color: #2f74e0 !important; }
.gnb-main-link.gnb-main-link-accent:hover { color: #1f5bbd !important; }
/* 지금 보고 있는 카테고리(또는 메인 홈) : 오렌지 글자 + 하단 바 */
.gnb-main-link.active-page { position: relative; color: var(--sm-orange) !important; }
.gnb-main-link.active-page::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 4px; background: var(--sm-orange); border-radius: 3px;
}
.mega-link-accent { color: #2f74e0 !important; }
/* 재생목록 · PIP (후원 회원) */
.gnb-depth1-ul > li > button.gnb-main-link { display: flex; align-items: center; height: 100%; font-size: 15px; font-weight: 800; line-height: 22.5px; padding-bottom: 0; }
.gnb-main-link.gnb-pip-link { gap: 5px; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; color: var(--sm-orange) !important; }
.gnb-pip-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gnb-pip-link:hover { color: #e8552a !important; }
.mega-link-pip { color: var(--sm-orange) !important; }
.ks-gate { position: fixed; z-index: 10000; width: 270px; padding: 14px 16px; background: #fff; border: 1px solid #ececf0; border-radius: 12px; box-shadow: 0 16px 40px rgba(20,20,30,.16); font-size: 13px; line-height: 1.55; color: #3a3a40; }
.ks-gate b { display: block; margin-bottom: 4px; padding-right: 22px; font-size: 14px; color: #1c1c1f; }
.ks-gate .gx { position: absolute; top: 8px; right: 8px; flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: #9a9aa2; font-size: 13px; cursor: pointer; }
.ks-gate .gx:hover { background: #f4f4f6; color: #1c1c1f; }
.ks-gate .row { display: flex; gap: 6px; margin-top: 10px; }
.ks-gate button { flex: 1; height: 34px; border-radius: 8px; border: 1px solid #e6e6ea; background: #fff; font: inherit; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.ks-gate button.ac { background: #ff6e41; border-color: #ff6e41; color: #fff; }
.gnb-main-link .menu-custom-icon { width: 20px; height: 20px; margin-right: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.gnb-depth2-ul {
  position: absolute; top: 100%; left: 50%; background: #fff; min-width: 170px; border: 1px solid #eee;
  border-top: none; border-radius: 0 0 6px 6px; box-shadow: 0 10px 25px rgba(0,0,0,.1); padding: 8px 0; margin: 0;
  list-style: none; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-10px);
  transition: opacity .28s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1), visibility .28s;
  z-index: 99999;
}
.gnb-depth1-ul > li:hover .gnb-depth2-ul { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnb-depth2-ul li a { display: block; padding: 10px 18px; font-size: 13px; font-weight: 700; color: #444; text-align: left; white-space: nowrap; }
.gnb-depth2-ul li a:hover { background: var(--orange-soft); color: var(--sm-orange); }

.gnb-right-section { display: flex; align-items: center; height: 100%; }
.shortcut-container { display: flex; align-items: center; }
.shortcut-static-title { font-size: 13px; font-weight: 800; color: var(--sm-orange); margin-right: 12px; white-space: nowrap; }
.gnb-quick-ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gnb-premium-quick-btn {
  display: inline-flex; align-items: center; padding: 9px 16px; background-color: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 8px; white-space: nowrap; box-sizing: border-box; transition: all .22s cubic-bezier(.16,1,.3,1);
}
.gnb-premium-quick-btn .quick-btn-icon { width: 20px; height: 20px; margin-right: 8px; object-fit: contain; border-radius: 4px; }
.quick-btn-text { font-size: 13px; font-weight: 700; color: #475569; transition: color .15s ease; }
.gnb-premium-quick-btn:hover { background-color: var(--orange-soft); border-color: var(--sm-orange); transform: translateY(-1.5px); box-shadow: 0 4px 10px rgba(255,110,65,.08); }
.gnb-premium-quick-btn:hover .quick-btn-text { color: var(--sm-orange); }

.custom-mega-menu-panel {
  position: absolute; top: 0; left: 0; width: 100%; background-color: var(--mega-bg); z-index: 9998;
  max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
  transition: max-height .34s cubic-bezier(.16,1,.3,1), opacity .25s ease, visibility .25s;
  box-shadow: 0 15px 30px rgba(0,0,0,.08);
}
.custom-mega-menu-panel.open { max-height: 700px; opacity: 1; visibility: visible; padding-bottom: 50px; }
.mega-inner-wrapper { display: flex; flex-wrap: nowrap; justify-content: flex-start; width: 100%; max-width: 1860px; margin: 0 auto; padding: 0 24px 0 74px; box-sizing: border-box; }
.mega-column { width: 200px; flex: 0 0 200px; margin: 0 45px 0 0; box-sizing: border-box; }
.mega-title { height: 64px; display: flex; align-items: center; margin-bottom: 15px; position: relative; text-align: left; box-sizing: border-box; }
.mega-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #f1f5f9; }
.mega-title a { display: flex; align-items: center; height: 100%; font-size: 17px; font-weight: 800; color: var(--sm-orange); }
.mega-title .menu-custom-icon { width: 22px; height: 22px; margin-right: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.mega-depth2-ul-mega { list-style: none; margin: 0; padding: 0; }
.mega-column .mega-depth2-ul-mega li { margin-bottom: 10px; }
.mega-column .mega-depth2-ul-mega li a { display: block; padding: 4px 0; font-size: 14px; font-weight: 600; color: #475569; text-align: left; }
.mega-column .mega-depth2-ul-mega li a:hover { color: var(--sm-orange); }

.mega-column.mega-shortcut-column { margin: 0 0 0 10px; width: 260px; flex: 0 0 260px; display: block; }
.mega-shortcut-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.mega-shortcut-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(145deg, #ffffff 0%, #fdf6f3 100%); border: 1px solid #f1ddd5; border-radius: 14px;
  padding: 16px 8px; box-sizing: border-box; transition: all .25s cubic-bezier(.16,1,.3,1); box-shadow: 0 2px 6px rgba(255,110,65,.06);
}
.msc-icon-wrap { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid #fde3d8; margin-bottom: 8px; box-shadow: 0 2px 5px rgba(0,0,0,.04); }
.mega-shortcut-card .msc-icon { width: 24px; height: 24px; object-fit: contain; display: block; }
.mega-shortcut-card .msc-title { font-size: 12.5px; font-weight: 700; color: #334155; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mega-shortcut-card:hover { transform: translateY(-4px); border-color: var(--sm-orange); box-shadow: 0 8px 18px rgba(255,110,65,.18); }
.mega-shortcut-card:hover .msc-icon-wrap { border-color: var(--sm-orange); background: var(--orange-soft); }
.mega-shortcut-card:hover .msc-title { color: var(--sm-orange); }

.mega-contact-link { position: absolute; bottom: 16px; right: 74px; font-size: 12.5px; font-weight: 600; color: #94a3b8; transition: color .2s ease; z-index: 10; }
.mega-contact-link:hover { color: var(--sm-orange); text-decoration: underline; }

@media screen and (max-width: 1600px) {
  .gnb-inner-container, .mega-inner-wrapper { max-width: 95%; }
  .gnb-depth1-ul > li { margin-right: 28px; }
  .mega-inner-wrapper { padding-left: 54px; }
  .mega-column { width: 150px; margin-right: 26px; }
  .mega-column.mega-shortcut-column { width: 220px; flex: 0 0 220px; }
}

/* =========================================================
   신설리's PICK + 인기 차트
   ========================================================= */
.top-songs { margin-bottom: 4px; /* 푸터와 간격 (원래 44px) */ }
.top-songs-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }

/* --- 신설리's PICK : 재생 카드 (살짝 축소) --- */
.top-song-1 { display: flex; flex-direction: column; position: relative; }
.top-song-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: var(--stage); flex: 0 0 auto;
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}
.top-song-video iframe, .top-song-video #pick-yt-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
/* 화질 (2026-11-21): 유튜브는 플레이어 크기로 화질을 고름 → 2배 크기로 만들고 반으로 줄여서 보여 줌 (작은 칸에서도 1080p) */
.top-song-video #pick-yt-player, .top-song-video iframe#pick-yt-player { inset: auto; left: 0; top: 0; width: 200%; height: 200%; transform: scale(.5); transform-origin: 0 0; }
/* 유튜브 화면(제목·공유·나중에 보기·YouTube 로고) 대신 우리 표지: 재생 중일 때만 영상이 보임 */
.pick-cover { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #15171c; cursor: pointer; transition: opacity .35s ease, visibility .35s ease; }
.pick-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.28), rgba(0,0,0,0) 55%); }
.pick-cover .video-play { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); width: 70px; height: 70px; padding: 0; background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7), 0 10px 30px rgba(0,0,0,.25); transition: transform .2s ease, background .2s ease; }
.pick-cover:hover .video-play { background: rgba(255,255,255,.3); }
.pick-cover .video-play::before { content: ""; display: block; margin-left: 7px; /* 세모는 무게중심이 왼쪽이라 오른쪽으로 살짝 → 무게중심이 동그라미 가운데 */ border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.pick-cover:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.pick-cover.hide { opacity: 0; visibility: hidden; }
.pick-cover.loading .video-play::before { width: 22px; height: 22px; margin: 0; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: pickspin .8s linear infinite; }
@keyframes pickspin { to { transform: rotate(360deg); } }
.pick-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; } /* 재생 중 화면을 누르면 일시정지 (유튜브 메뉴는 안 뜸) */
a.top-song-title { color: inherit; text-decoration: none; }
a.top-song-title:hover { color: var(--orange-deep); }
.video-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, #23262d 0%, var(--stage) 72%);
}
.video-play {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 19px; padding-left: 4px;
  box-shadow: 0 8px 20px rgba(255,110,65,0.4);
}
/* 영상 칼럼 폭에 맞춰, 검색창 밑 기존 여백 공간 안으로 떠 있음 → 그리드(영상+인기차트) 위치는 전혀 안 밀림 */
.top-song-header {
  position: absolute; bottom: 100%; left: 0; right: 0; margin-bottom: 14px; height: 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
/* 2026-11-14 3안: 라벨 = 흰 바탕 + 주황 테두리 + 주황 점 / 자동 재생 = "자동 재생 │ ON·OFF" 둘로 나뉜 버튼 */
.top-song-rank {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 900; letter-spacing: 0.02em; color: #e2511f; background: #fff; border: 1.5px solid var(--orange);
}
.top-song-rank::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #ffe1d5; }
/* 볼륨 (2026-11-14 V1): 자동 재생 버튼 왼쪽, 같은 모양 상자 · 스피커 누르면 음소거 · 이 브라우저에 기억 */
.pick-vol { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 6px; margin-left: auto; border: 1px solid #e3e3e6; border-radius: 6px; background: #fff; color: #55575d; box-sizing: border-box; }
.pick-vol .pv-spk { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; cursor: pointer; }
.pick-vol .pv-spk:hover { color: var(--orange-deep); background: var(--orange-soft); }
.pick-vol svg { width: 15px; height: 15px; }
.pick-vol .pv-body { fill: currentColor; }
.pick-vol .pv-wave, .pick-vol .pv-x { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pick-vol .pv-x { display: none; }
.pick-vol.muted .pv-wave { display: none; }
.pick-vol.muted .pv-x { display: inline; }
.pick-vol input { -webkit-appearance: none; appearance: none; width: 74px; height: 4px; margin: 0; border-radius: 2px; cursor: pointer; background: linear-gradient(90deg, var(--orange) 0 var(--v, 20%), #ececec var(--v, 20%)); }
.pick-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pick-vol input::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); }
.pick-vol.muted input { background: linear-gradient(90deg, #c4c4ca 0 var(--v, 20%), #ececec var(--v, 20%)); }
.pick-vol.muted input::-webkit-slider-thumb { border-color: #c4c4ca; }
.pick-vol b { width: 38px; box-sizing: border-box; font-size: 11px; font-weight: 800; color: #8a8a8a; text-align: right; font-variant-numeric: tabular-nums; cursor: text; border-radius: 4px; padding: 1px 2px; }
.pick-vol b:hover { color: #ff6e41; } /* (2026-11-23) 배경 상자 대신 글자색만 */
/* 볼륨 숫자 눌러서 직접 입력 (2026-11-15) */
.pick-vol input.pv-num { -webkit-appearance: none; appearance: textfield; -moz-appearance: textfield; width: 30px; height: 20px; margin: 0; padding: 0 4px; box-sizing: border-box; border: 0; border-radius: 0; background: transparent; box-shadow: none; caret-color: #ff6e41; font-family: inherit; font-size: 11px; font-weight: 800; line-height: 18px; color: #ff6e41; text-align: right; outline: none; cursor: text; }
.pick-vol input.pv-num::selection { background: #ffd2c2; color: #1c1c1f; }
.pick-vol .pv-pct { margin-left: 1px; font-size: 11px; font-weight: 800; color: #8a8a8a; }
/* (2026-11-23) 입력칸 + % 를 숫자(b)와 같은 폭 안에 → 눌러도 상자가 왼쪽으로 길어지지 않음 */
.pick-vol .pv-ed { display: inline-flex; align-items: center; justify-content: flex-end; width: 38px; flex: none; }
.pick-vol .pv-ed input.pv-num { width: 28px; padding: 0 3px; }
.pick-vol .pv-num::-webkit-inner-spin-button, .pick-vol .pv-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pick-vol + .top-song-autoplay-toggle { margin-left: 8px; }
.top-song-rank, .top-song-autoplay-toggle span { white-space: nowrap; }
@media screen and (max-width: 520px) { .pick-vol b { display: none; } .pick-vol input { width: 48px; } .pick-vol { gap: 5px; padding: 0 8px 0 4px; } .pick-vol + .top-song-autoplay-toggle { margin-left: 6px; } }
.top-song-autoplay-toggle {
  display: inline-flex; align-items: stretch; height: 28px; padding: 0; overflow: hidden;
  font-size: 11.5px; font-weight: 700; color: #55575d; background: #fff;
  border: 1px solid #e3e3e6; border-radius: 6px; cursor: pointer; transition: border-color .15s ease;
}
.top-song-autoplay-toggle span { display: flex; align-items: center; padding: 0 9px; }
.top-song-autoplay-toggle .st { width: 42px; padding: 0; justify-content: center; /* ON·OFF 너비 같게 = 예전 OFF 너비 (눌러도 버튼이 안 움직임) */ border-left: 1px solid #e3e3e6; background: var(--orange); color: #fff; font-weight: 900; transition: background .15s ease, color .15s ease; }
.top-song-autoplay-toggle.off .st { background: #f2f2f4; color: #8a8a8a; }
.top-song-autoplay-toggle:hover { border-color: var(--orange); }
.top-song-autoplay-toggle:hover .st { border-left-color: var(--orange); }
.top-song-info { text-align: center; padding-top: 14px; flex: 0 0 auto; }
.top-song-title {
  font-size: 16px; font-weight: 900; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.top-song-artist { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--text-dim); }

/* 인기 노래: 처음 HTML엔 최근 글(가수 글 등)이 들어 있어서 새로고침 때 잠깐 보였음 → 순위로 채운 뒤에만 보이게 (2026-11-15) */
#popular-songs-chart:not(.ready) { visibility: hidden; }
/* 체크박스 = 로그인 창 "로그인 유지"처럼 주황 칸 + 흰 체크 (사이트 전체, 2026-11-15) */
input[type="checkbox"]:not([hidden]) { -webkit-appearance: none; appearance: none; flex: none; width: 17px; height: 17px; margin: 0; border: 1.5px solid #cfcfd4; border-radius: 4px; background: #fff; cursor: pointer; vertical-align: -3px; transition: background .1s, border-color .1s; }
input[type="checkbox"]:not([hidden]):hover { border-color: #ff6e41; }
input[type="checkbox"]:not([hidden]):checked { border-color: #ff6e41; background: #ff6e41 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat; }
input[type="checkbox"]:not([hidden]):focus-visible { outline: 2px solid #ffc6ae; outline-offset: 1px; }
/* --- 인기 노래 / 인기 가수 차트 리스트 (가로 배치, 5개 기준 높이로 확대) --- */
.popular-lists { display: flex; flex-direction: row; gap: 32px; }
.popular-block { flex: 1; min-width: 0; }
.popular-block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.popular-block-title { font-size: 15px; font-weight: 900; color: var(--orange-deep); }
.popular-more { font-size: 12px; font-weight: 700; color: var(--text-dim); white-space: nowrap; transition: color .15s ease; }
.popular-more:hover { color: var(--orange-deep); }
.popular-chart { display: flex; flex-direction: column; }
.popular-chart li {
  border-radius: 10px; margin: 0 -8px; overflow: hidden; transition: background .15s ease;
}
.popular-chart li:hover { background: var(--orange-soft); }
.chart-row-link, .chart-artist-link {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 8px;
  box-sizing: border-box; text-decoration: none; color: inherit; cursor: pointer;
}
.chart-rank-wrap { flex: 0 0 26px; display: flex; flex-direction: column; align-items: center; }
.chart-rank {
  text-align: center; font-size: 16px; font-weight: 900; color: var(--text-dim);
}
.chart-rank-delta { font-size: 9.5px; font-weight: 800; line-height: 1; margin-top: 1px; }
.chart-rank-delta.up { color: #1fae5c; }
.chart-rank-delta.down { color: #e0433c; }
.chart-rank-delta.new { color: var(--orange-deep); }
.chart-rank-delta.same { color: #c8c8c8; }
.rank-week { display: none; margin-left: 8px; font-size: 11.5px; font-weight: 600; color: var(--text-dim); letter-spacing: 0; vertical-align: 1px; }
.rank-week.show { display: inline; }
.gtb-delta { display: inline-block; margin-left: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: 0; vertical-align: 1px; }
.gtb-delta.up { color: #1fae5c; } .gtb-delta.down { color: #e0433c; } .gtb-delta.new { color: var(--orange-deep); } .gtb-delta.same { color: #c8c8c8; }
.gtb-hero .gtb-delta { color: #fff !important; opacity: .95; }
.chart-thumb {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 9px; overflow: hidden;
  background: var(--orange-soft); border: 1px solid var(--line);
}

.chart-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chart-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.chart-title .sc-flag { margin-right: 7px; vertical-align: -1px; }
.chart-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35;
  white-space: normal; overflow: hidden; word-break: break-word;
}
.chart-artist { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-empty { padding: 16px 0; font-size: 12.5px; color: var(--text-dim); }
/* 집계 데이터가 없을 때 : 가운데 정렬된 안내 문구만 (hover 배경 없음) */
.popular-chart li.chart-empty {
  margin: 6px 0 0; padding: 34px 16px; text-align: center; line-height: 1.6;
}
.popular-chart li.chart-empty:hover { background: transparent; }

/* =========================================================
   큰 검색 영역 : 가수명 / 곡명 검색 (배경 없이, 중앙정렬)
   ========================================================= */
.search-hero { margin-bottom: 110px; padding: 8px 0 0; text-align: center; }

.search-mode-tabs { display: inline-flex; align-items: flex-end; gap: 32px; margin-bottom: 22px; }
/* 탭 전환 시 흔들림 방지 : 선택됐을 때(큰 글씨) 크기를 ::before로 미리 자리 잡아두고,
   실제 글자(span)는 같은 칸 안에서 크기만 바뀌므로 버튼 폭/높이가 절대 변하지 않음 */
.search-mode-btn {
  display: inline-grid; padding: 0 0 9px; color: var(--text-dim);
  border-bottom: 2px solid transparent; letter-spacing: 0.01em;
  transition: color .2s ease, border-color .2s ease;
}
.search-mode-btn::before {
  content: attr(data-label); grid-area: 1 / 1; visibility: hidden;
  font-size: 16.5px; font-weight: 800; white-space: nowrap;
}
.search-mode-btn > span {
  grid-area: 1 / 1; align-self: end; justify-self: center; white-space: nowrap;
  font-size: 14px; font-weight: 700; transition: font-size .2s ease;
}
.search-mode-btn:hover { color: var(--orange); border-bottom-color: rgba(255,110,65,0.35); }
.search-mode-btn.active { color: var(--orange); border-bottom-color: var(--orange); }
.search-mode-btn.active > span { font-size: 16.5px; font-weight: 800; }

.search-hero-row { display: flex; justify-content: center; }
.search-live { width: 100%; max-width: 620px; margin: 0 auto; }
.search-form-wrap { position: relative; }
/* 검색창 옆 SNS 버튼 + 아래 말풍선 */
.hero-sns { position: absolute; left: calc(100% + 24px); top: 0; display: flex; gap: 10px; height: 58px; align-items: center; }
.hero-sns-b { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(20,14,10,0.05); transition: transform .15s ease, border-color .15s ease; }
.hero-sns-b svg { width: 24px; height: 24px; }
.hero-sns-b:hover { transform: translateY(-2px); border-color: var(--orange); }
.hero-sns-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); padding: 6px 10px; border-radius: 8px; background: #2b2b30; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 30; }
.hero-sns-tip::before { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #2b2b30; }
.hero-sns-b:hover .hero-sns-tip, .hero-sns-b:focus-visible .hero-sns-tip { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .hero-sns { position: static; justify-content: center; height: auto; margin-top: 16px; } .search-form-wrap:has(.search-live-panel.open) .hero-sns { display: none; } } /* 모바일: 검색 결과가 열리면 SNS 줄 숨김 → 결과가 검색창 바로 아래 */
.search-hero-form {
  display: flex; width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 6px 20px rgba(20,14,10,0.05); transition: border-color .2s ease, box-shadow .2s ease;
}
.search-hero-form:focus-within { border-color: var(--orange); box-shadow: 0 8px 24px rgba(255,110,65,0.14); }
.search-hero-input-wrap { position: relative; flex: 1; display: flex; }
.search-hero-form input {
  flex: 1; height: 56px; padding: 0 40px 0 20px; border: 0;
  font-size: 15.5px; background: transparent; outline: none; color: var(--text);
}
.search-hero-clear-btn {
  display: none; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; border: none; background: var(--orange-soft); color: var(--sm-orange);
  font-size: 12px; line-height: 22px; text-align: center; padding: 0; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.search-hero-clear-btn.show { display: block; }
.search-hero-clear-btn:hover { background: var(--sm-orange); color: #fff; }
.search-live-footer {
  max-height: 0; opacity: 0; overflow: hidden;
  background: #fff; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  border-top: 1.5px solid var(--line); border-bottom: 1px solid transparent;
  border-radius: 14px 14px 0 0;
  transition: none;
}
.search-live-footer.show { max-height: 200px; opacity: 1; border-bottom-color: var(--line); }
.search-live-footer-inner {
  padding: 8px 10px; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
#search-live-footer .search-machine-filter { margin-left: auto; justify-content: flex-end; }
.search-scrolltop-btn {
  flex: 0 0 auto; padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 700;
  color: var(--text-dim); cursor: pointer; opacity: 0; pointer-events: none;
  transition: background .15s ease, color .15s ease, opacity .2s ease;
}
.search-scrolltop-btn.visible { opacity: 1; pointer-events: auto; }
.search-scrolltop-btn:hover { background: var(--orange-soft); color: var(--orange-deep); border-color: var(--orange); }
.search-hero-submit {
  flex: 0 0 auto; height: 56px; padding: 0 26px; border: 0;
  background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  transition: background .2s ease;
}
.search-hero-submit:hover { background: var(--orange-deep); }
.search-hero-hint { margin-top: 70px; font-size: 12.5px; color: var(--text-dim); }

.search-machine-filter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.search-machine-filter-label { font-size: 11.5px; font-weight: 700; color: var(--text-dim); margin-left: 6px; margin-right: 8px; white-space: nowrap; }
.search-machine-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 700;
  color: var(--text-dim); cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
  -webkit-user-select: none; user-select: none;
}
.search-machine-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.search-machine-chip:hover { border-color: var(--sm-orange); }
.search-machine-chip.active {
  background: var(--sm-orange); border-color: var(--sm-orange); color: #fff;
}
.search-machine-bulk { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding-left: 8px; border-left: 1px solid var(--line); }
.search-machine-bulk-btn {
  padding: 4px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--text-dim);
  transition: color .15s ease, background .15s ease;
}
.search-machine-bulk-btn:hover { color: var(--orange-deep); background: var(--orange-soft); }

/* ---------- 검색 결과 : 검색창 바로 아래, 문서 흐름 안의 단순한 박스 ---------- */
.search-live-panel {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 620px; margin-top: 18px; text-align: left; z-index: 60;
}
.search-live-panel.open { display: block; }

.search-live-box {
  max-height: 420px; overflow-y: auto; box-sizing: border-box; position: relative;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 6px;
  transition: none;
}
.search-live-box.merge-footer {
  border-top-color: transparent; border-top-left-radius: 0; border-top-right-radius: 0;
}
/* 아래쪽 흐려짐: absolute 면 스크롤할 때 같이 올라가 목록 중간 줄을 가렸음 → sticky 로 늘 보이는 칸 맨 아래에 (2026-11-24) */
.search-live-box::after {
  content: ""; display: block; position: sticky; bottom: -6px; height: 30px; margin: -30px -6px -6px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
  border-radius: 0 0 12.5px 12.5px; pointer-events: none;
}
.search-live-box.detail-mode::after { content: none; }
.search-live-box.detail-mode {
  height: auto; border: none; background: transparent; padding: 0;
}
.search-live-placeholder { padding: 24px 0; font-size: 13px; color: var(--text-dim); text-align: center; }

/* 목록 모드 : 곡 리스트 (박스 없이, 가독성 개선) */
.search-live-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px; border-radius: 10px; border-bottom: 1px solid var(--line);
  transition: background .12s ease;
}
.search-live-row:last-child { border-bottom: 0; }
.search-live-row:hover { background: var(--orange-soft); }
.search-live-row-thumb {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
}
.search-live-row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-live-row-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.search-live-row-title { font-size: 14.5px; font-weight: 800; color: var(--text); }
.search-live-row-artist { font-size: 12.5px; color: var(--text-dim); }
.search-live-row-info { flex: 0 1 auto; }
/* 긴 제목·가수명은 한 줄로 자르고 … (2026-11-24) */
.search-live-row:not(.sl-lyr) .search-live-row-info { flex: 1 1 auto; }
.search-live-row-title, .search-live-row-artist { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 가사로 찾은 줄: 행 오른쪽에, 글자는 검정 + 검색한 부분만 주황 */
.search-live-row-snip { flex: 1 1 0; min-width: 0; margin-left: auto; padding-left: 16px; text-align: right; font-size: 13px; color: #1c1c1f; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-live-row-snip mark { background: none; color: #FF6E41; font-weight: 800; }
@media (max-width: 640px) { .search-live-row { flex-wrap: wrap; } .search-live-row-snip { flex-basis: 100%; padding-left: 68px; text-align: left; } }

/* 가사·정보 검색 결과 (2026-11-17, 초안 B 말풍선): 왼쪽 곡, 오른쪽 말풍선에 찾은 가사 줄 (원문 크게, 발음·해석 작게), 찾은 글자는 주황 칩 */
.search-live-row.sl-lyr { gap: 14px; padding: 12px 10px; }
.search-live-row.sl-lyr .search-live-row-info { flex: 0 0 210px; width: 210px; }
.search-live-row.sl-lyr .search-live-row-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-bb { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; margin-left: 6px; padding: 10px 14px; border-radius: 12px; background: #fff6f2; border: 1px solid #ffe1d5; text-align: left; }
.sl-bb::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: inherit; border-left: 1px solid #ffe1d5; border-bottom: 1px solid #ffe1d5; transform: rotate(45deg); }
.sl-bb b { font-size: 14px; font-weight: 700; line-height: 1.45; color: #1c1c1f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-bb small { font-size: 12px; line-height: 1.45; color: #a08e86; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-bb mark { background: #ff6e41; color: #fff; font-weight: 800; border-radius: 4px; padding: 0 4px; margin: 0 1px; }
.sl-bb.g { flex-direction: row; align-items: center; gap: 8px; background: #f7f7f9; border-color: #ececf0; font-size: 13px; font-weight: 600; color: #55555c; white-space: nowrap; overflow: hidden; }
.sl-bb.g::before { border-color: #ececf0; }
.sl-bb.g > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sl-bb.g em { flex: none; font-style: normal; font-size: 10.5px; font-weight: 900; color: #8a8a92; background: #fff; border: 1px solid #e3e3e8; border-radius: 5px; padding: 1px 6px; }
.sl-bb.g mark { background: none; color: #e8552a; padding: 0; margin: 0; }
.search-live-row.sl-lyr:hover .sl-bb, .search-live-row.sl-lyr:hover .sl-bb::before { border-color: #ffc7b3; }
.search-live-row.sl-lyr:hover .sl-bb.g, .search-live-row.sl-lyr:hover .sl-bb.g::before { border-color: #d9d9e0; }
@media (max-width: 640px) {
  .search-live-row.sl-lyr { flex-wrap: wrap; }
  .search-live-row.sl-lyr .search-live-row-info { flex: 1 1 0; width: auto; }
  .sl-bb { flex-basis: 100%; margin: 4px 0 0; }
  .sl-bb::before { left: 22px; top: -7px; margin: 0; border-left: 1px solid #ffe1d5; border-top: 1px solid #ffe1d5; border-bottom: 0; }
  .sl-bb.g::before { border-color: #ececf0; }
}

/* 가수명으로 검색했을 때 목록 맨 위에 뜨는 가수 카드 */
@keyframes sc-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.search-live-artist-card {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px; margin-bottom: 8px; border-radius: 12px;
  background: var(--orange-soft); border: 1.5px solid var(--orange);
}
.search-live-artist-thumb {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
}
.search-live-artist-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-live-artist-name { flex: 1 1 auto; min-width: 0; font-size: 15.5px; font-weight: 900; color: var(--text); }
.search-live-artist-btn {
  flex: 0 0 auto; font-size: 12.5px; font-weight: 800; color: var(--orange-deep);
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--orange); background: #fff;
  transition: background .15s ease, color .15s ease;
}
.search-live-artist-card:hover .search-live-artist-btn { background: var(--orange); color: #fff; }

/* 상세 모드 : 클릭한 한 곡 (큰 썸네일 + 우측 2줄, 박스 없이) */
.search-live-back {
  display: inline-block; padding: 4px 0 12px 10px; font-size: 12px; font-weight: 700; color: var(--text-dim);
}
.search-live-back:hover { color: var(--orange-deep); }
.search-live-card {
  display: flex; align-items: center; gap: 16px; padding: 4px 0;
  animation: sc-fade-in .3s ease;
}
.search-live-card-thumb {
  flex: 0 0 120px; width: 120px; height: 120px; border-radius: 14px; background: #fff;
  overflow: hidden; display: block; border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(15,23,42,.16), 0 1px 3px rgba(15,23,42,.08); /* 썸네일이 흰 배경에 묻히지 않게 (2026-11-24) */
}
.search-live-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-live-card-info { min-width: 0; width: 100%; padding-left: 10px; }
.search-live-card-title { display: block; font-size: 17px; font-weight: 800; color: var(--text); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* 긴 제목 한 줄 … (2026-11-24) */
.search-live-card-artist { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.search-live-numbers { display: flex; align-items: stretch; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.search-live-numbox { flex: 1 1 70px; text-align: center; padding: 8px 4px; border-radius: 9px; background: #fff; border: 1.5px solid var(--orange); }
.search-live-numbox .num-label { display: block; font-size: 10.5px; font-weight: 800; color: var(--orange-deep); }
.search-live-numbox .num-value { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); margin-top: 3px; }
.search-live-lyrics-btn {
  flex: 1 1 100px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8px 4px; border-radius: 9px; background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 800; transition: background .15s ease;
}
.search-live-lyrics-btn:hover { background: var(--orange-deep); }

/* 번호(연결된 글) 없는 곡: 기존 버튼 하나 자리를 위/아래 2칸으로 나눔.
   바깥 래퍼가 기존 .search-live-lyrics-btn과 같은 flex-basis를 가져가서
   전체 너비는 그대로, 세로는 stretch된 높이를 두 칸으로 나눠 갖기 때문에
   사이 여백(gap) 포함해도 기존 버튼 하나와 같은 자리를 차지함 */
.search-live-lyrics-split { flex: 1 1 100px; display: flex; flex-direction: column; gap: 6px; }
.search-live-lyrics-split .search-live-lyrics-btn {
  flex: 1 1 auto; padding: 4px; font-size: 10.5px;
}
.search-live-lyrics-btn.is-disabled {
  background: #f1ece9; color: #b8aaa2; cursor: not-allowed; pointer-events: none;
}
.search-live-request-btn {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 4px; border-radius: 9px; background: var(--orange); color: #fff;
  font-size: 10.5px; font-weight: 800; transition: background .15s ease;
}
.search-live-request-btn:hover { background: var(--orange-deep); }

.search-live-empty { padding: 22px; text-align: center; }
.search-live-empty-title { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.search-live-empty-sub { font-size: 12px; color: var(--text-dim); margin-bottom: 16px; line-height: 1.5; }
.song-request-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 20px; border-radius: 10px; border: 1.5px solid var(--orange);
  color: var(--orange-deep); font-size: 13px; font-weight: 700; background: #fff;
  transition: background .15s ease, color .15s ease;
}
.song-request-btn:hover { background: var(--orange); color: #fff; }

/* ---------- 신청곡 게시판 (번호 / 제목 / 가수 / 신청현황 테이블) ---------- */
/* ===== 노래 신청 ===== */
.request-board { display: none; margin: 0 auto 44px; }
.request-board.show { display: block; min-height: calc(var(--fit-vh, 100vh) - 210px); } /* 처음 화면에 푸터가 안 보이게 */
.request-board .list-header { flex-wrap: wrap; }
.rq-head-sub { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.rq-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; }
.rq-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.rq-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.rq-card-title { margin: 0 0 14px; font-size: 15px; font-weight: 900; color: var(--text); }
.rq-prof { border-color: #ffd9cb; box-shadow: 0 10px 26px rgba(255,110,65,0.08); }
.rq-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text);
  font-size: 13.5px; font-weight: 800; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.rq-btn:hover { border-color: var(--orange); color: var(--orange-deep); }
.rq-btn-ac { background: var(--orange); border-color: var(--orange); color: #fff; }
.rq-btn-ac:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.rq-btn:disabled { opacity: .55; cursor: default; }
.rq-open-btn { width: 100%; height: 52px; gap: 8px; font-size: 15px; border-radius: 10px; box-shadow: 0 8px 18px rgba(255,110,65,.28); }
.rq-open-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
/* 프로필 카드 */
.rq-prof { padding: 18px; }
.rq-prof-head { display: flex; align-items: center; gap: 12px; }
.rq-av { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); font-size: 18px; font-weight: 900; color: #fff; overflow: hidden; }
.rq-av.off { background: #e9e9ea; color: #a5a5a5; }
.rq-av img { width: 100%; height: 100%; object-fit: cover; }
.rq-prof-who { min-width: 0; }
.rq-prof-who b { display: block; font-size: 15px; font-weight: 900; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-prof-who small, .rq-cta-note { display: block; margin-top: 2px; font-size: 12px; color: var(--text-dim); line-height: 1.45; }
.rq-cta-note b { color: var(--orange-deep); }
.rq-side .rq-cta-note button { border: 0; padding: 0; background: none; font: inherit; font-weight: 800; color: var(--orange-deep); cursor: pointer; }
.rq-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; }
.rq-stats div { padding: 10px 0 9px; text-align: center; }
.rq-stats div + div { border-left: 1px solid var(--line); }
.rq-stats b { display: block; font-size: 19px; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; }
.rq-stats span { font-size: 11.5px; font-weight: 700; color: #9a9a9a; }
/* 바로 신청 이용권 : 진짜 티켓 모양 (양옆 반원 홈 + 절취선 + 바코드 꼬리표) */
.rq-ticket { --hole: 9px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 92px; min-height: 104px; border-radius: 12px; color: #fff; background: linear-gradient(115deg, #ff6e41 0%, #ff8256 55%, #ff9a72 100%); filter: drop-shadow(0 8px 16px rgba(255,110,65,.25));
  -webkit-mask: radial-gradient(circle var(--hole) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--hole) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--hole) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--hole) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
.rq-ticket[hidden] { display: none; }
.rq-ticket::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: radial-gradient(circle at 85% -20%, rgba(255,255,255,.28), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 8px, transparent 8px 16px); pointer-events: none; }
.rq-ticket-main { position: relative; padding: 16px 14px 14px 22px; }
.rq-ticket-kicker { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; opacity: .85; }
.rq-ticket-label { display: block; margin-top: 6px; font-size: 17px; font-weight: 900; letter-spacing: -.01em; }
.rq-ticket-help { margin: 5px 0 0; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.92); }
.rq-ticket-help a { font-weight: 800; color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.rq-ticket-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-left: 2px dashed rgba(255,255,255,.55); }
.rq-ticket-stub::before, .rq-ticket-stub::after { content: ""; position: absolute; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.rq-ticket-stub::before { top: -8px; } .rq-ticket-stub::after { bottom: -8px; }
.rq-ticket-n { font-size: 13px; font-weight: 800; white-space: nowrap; }
.rq-ticket-n em { font-style: normal; font-size: 34px; font-weight: 900; line-height: 1; margin-right: 2px; font-variant-numeric: tabular-nums; }
.rq-ticket-bar { width: 48px; height: 14px; opacity: .7; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px); }
.rq-ticket.zero { color: #8a6a5e; background: #fff6f2; filter: none; box-shadow: none; }
.rq-ticket.zero::before { background: none; box-shadow: inset 0 0 0 1px #ffd2c2; border-radius: 12px; }
.rq-ticket.zero .rq-ticket-kicker { color: var(--orange); opacity: 1; }
.rq-ticket.zero .rq-ticket-label { color: var(--text); }
.rq-ticket.zero .rq-ticket-help { color: #9a7f75; }
.rq-ticket.zero .rq-ticket-help a { color: var(--orange-deep); }
.rq-ticket.zero .rq-ticket-stub { border-left-color: #ffc3ad; color: #c9a99c; }
.rq-ticket-go { display: none; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--orange); font-size: 11.5px; font-weight: 800; color: #fff; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 8px rgba(255,110,65,.3); transition: background .15s ease, transform .15s ease; }
.rq-ticket-go:hover { background: var(--orange-deep); color: #fff; transform: translateY(-1px); }
/* 후원하기: 은은하게 숨 쉬는 빛 + 반짝 지나가는 광택 */
.rq-ticket-go { position: relative; overflow: hidden; animation: rqGlow 2.2s ease-in-out infinite; }
.rq-ticket-go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.85) 50%, transparent 100%); transform: skewX(-20deg); animation: rqGoShine 2.8s ease-in-out infinite; }
@keyframes rqGlow { 0%, 100% { box-shadow: 0 3px 8px rgba(255,110,65,.3), 0 0 0 0 rgba(255,110,65,.45); } 50% { box-shadow: 0 3px 14px rgba(255,110,65,.55), 0 0 0 6px rgba(255,110,65,0); } }
@keyframes rqGoShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
/* 이용권 있을 때: 티켓 안을 좌→우로 날카롭게 지나가는 빛 */
.rq-ticket:not(.zero)::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%); transform: skewX(-20deg); animation: rqSweep 3.6s ease-in-out infinite; }
@keyframes rqSweep { 0%, 62% { left: -40%; } 90%, 100% { left: 120%; } } /* 3.6초 중 1초 동안 지나감 */
.rq-ticket-main, .rq-ticket-stub { z-index: 1; } /* 빛줄기는 글자·버튼 뒤로 */
@media (prefers-reduced-motion: reduce) { .rq-ticket-use, .rq-ticket-use::after, .rq-ticket-go, .rq-ticket-go::after, .rq-ticket:not(.zero)::after { animation: none; } .rq-ticket:not(.zero)::after { display: none; } }
.rq-ticket.zero .rq-ticket-go { display: inline-flex; }
/* 이용권 있을 때: 바코드 자리에 흰 "사용하기" 버튼 (같은 빛 효과) */
.rq-ticket .rq-ticket-bar { display: none; }
.rq-ticket-use { position: relative; overflow: hidden; display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-size: 11.5px; font-weight: 800; color: var(--orange-deep); white-space: nowrap; cursor: pointer; animation: rqGlowW 2.2s ease-in-out infinite; transition: transform .15s ease; }
.rq-ticket-use:hover { transform: translateY(-1px); }
.rq-ticket-use::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(105deg, transparent 0%, rgba(255,190,165,.9) 50%, transparent 100%); transform: skewX(-20deg); animation: rqGoShine 2.8s ease-in-out infinite; }
.rq-ticket.zero .rq-ticket-use { display: none; }
@keyframes rqGlowW { 0%, 100% { box-shadow: 0 3px 8px rgba(160,50,20,.25), 0 0 0 0 rgba(255,255,255,.7); } 50% { box-shadow: 0 3px 14px rgba(160,50,20,.3), 0 0 0 6px rgba(255,255,255,0); } }
.rq-ticket.zero .rq-ticket-bar { display: none; }
.rq-ticket.zero .rq-ticket-bar { background: repeating-linear-gradient(90deg, #e8cfc5 0 2px, transparent 2px 4px, #e8cfc5 4px 5px, transparent 5px 8px); }

.rq-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.rq-card-head .rq-card-title { margin: 0; }
.rq-mine-cnt { font-size: 12px; font-weight: 700; color: var(--text-dim); }
.rq-mine-list { display: flex; flex-direction: column; gap: 2px; height: 226px; overflow: hidden; } /* 높이 고정: 4곡씩, 넘으면 아래 페이지 번호로 */
.rq-me[hidden] { display: none; }
.rq-mine-pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.rq-mine-pager[hidden] { display: none; }
.rq-mine-pager button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--text); cursor: pointer; }
.rq-mine-pager button:hover:not(:disabled) { border-color: var(--orange); color: var(--orange-deep); }
.rq-mine-pager button:disabled { opacity: .35; cursor: default; }
.rq-mine-pager svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rq-mine-pager span { min-width: 44px; text-align: center; font-size: 12.5px; font-weight: 800; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.rq-mine-pager span b { color: var(--orange-deep); }
/* 로그인 전: 신청 버튼 잠금 + 마우스 올리면 안내 */
.rq-open-btn { position: relative; }
.rq-open-btn.is-locked, .rq-open-btn.is-locked:hover { background: #e9e9ea; border-color: #e9e9ea; color: #a3a3a3; box-shadow: none; cursor: not-allowed; }
.rq-open-btn.is-locked::after { content: "로그인하고 신청할 수 있어요"; position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); padding: 8px 12px; border-radius: 8px; background: #1f1f1f; color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.rq-open-btn.is-locked::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); margin-left: -6px; border: 6px solid transparent; border-top-color: #1f1f1f; border-bottom: 0; opacity: 0; transition: opacity .15s ease; }
.rq-open-btn.is-locked:hover::after, .rq-open-btn.is-locked:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.rq-open-btn.is-locked:hover::before, .rq-open-btn.is-locked:focus-visible::before { opacity: 1; }
.rq-mine-list::-webkit-scrollbar { width: 5px; } .rq-mine-list::-webkit-scrollbar-thumb { background: #e2e2e2; border-radius: 3px; }
.rq-mine-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rq-mine-item:last-child { border-bottom: 0; }
.rq-mine-item b { display: block; font-size: 13px; font-weight: 800; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-mine-item small { display: block; font-size: 11.5px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-mine-item a.status-badge { text-decoration: none; }
.rq-mine-empty { margin: 4px 0; font-size: 12.5px; line-height: 1.55; color: var(--text-dim); }
.rq-mine-empty button { border: 0; padding: 0; background: none; font: inherit; font-weight: 800; color: var(--orange-deep); cursor: pointer; }

.rq-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rq-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; font-size: 12.5px; line-height: 1.45; color: var(--text-dim); }
.rq-steps .status-badge { text-align: center; }
.rq-steps b { color: var(--orange-deep); }
.rq-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-dim); }

.rq-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 8px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfd; }
.rq-flow li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.rq-flow li + li { border-left: 1px solid var(--line); }
.rq-flow li:not(:last-child):not(:nth-child(3))::after { content: ""; position: absolute; right: -6px; top: 50%; z-index: 1; width: 10px; height: 10px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: #fcfcfd; transform: translateY(-50%) rotate(45deg); }
.rq-flow .status-badge { flex: none; min-width: 62px; text-align: center; }
.rq-flow p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--text-dim); }
.rq-flow b { color: var(--orange-deep); }
.rq-flow-note { margin: 0 0 16px; font-size: 12px; color: #a0a0a0; text-align: right; }
.rq-tabs button em { font-style: normal; font-size: 11.5px; opacity: .7; }
.rq-tabs button em:empty { display: none; } /* 개수 없을 때 빈 칸 때문에 오른쪽 여백이 커 보이던 것 (2026-11-18) */
.rq-toolbar-right { display: flex; align-items: center; gap: 12px; }
.rq-total { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.rq-total b { color: var(--text); }
.rq-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.rq-tabs { display: flex; gap: 6px; }
.rq-tabs button {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 13px; font-weight: 800; color: var(--text-dim); cursor: pointer; transition: all .15s ease;
}
.rq-tabs button:hover { border-color: var(--orange); color: var(--orange-deep); }
.rq-tabs button.on { background: var(--text); border-color: var(--text); color: #fff; }
.rq-sort { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.rq-sort[hidden] { display: none; }
.rq-sort button { height: 34px; padding: 0 13px; border: 0; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--text-dim); cursor: pointer; }
.rq-sort button + button { border-left: 1px solid var(--line); }
.rq-sort button.on { background: var(--orange-soft); color: var(--orange-deep); }

.rq-list-head, .rq-row { display: grid; grid-template-columns: 96px minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr) 210px 96px; gap: 16px; align-items: center; }
.rq-list-head { padding: 0 20px 8px; font-size: 11.5px; font-weight: 800; color: var(--text-dim); }
.rq-list-head span:last-child { text-align: center; }
.rq-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.rq-item + .rq-item { border-top: 1px solid var(--line); }
.rq-row { min-height: 56px; padding: 8px 20px; transition: background .15s ease; }
.rq-item:hover .rq-row { background: #fffaf8; }
.rq-cell { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 신청 목록 C안 (2026-11-18): 순위 · 사진 · 국기+곡/가수 · 신청자 · 신청일 · 상태 · 추천 진행 + 추천 */
.rq-list-head, .rq-row { grid-template-columns: 34px 52px minmax(0, 2fr) minmax(0, 1.3fr) 96px 130px 240px; gap: 14px; }
.rq-list-head .rq-h-vote { text-align: center; }
/* (2026-11-18) 머리글·칸 가운데 정렬, 신청일과 진행 현황 사이 띄움, 티어 아이콘 크게 */
.rq-list-head > span { text-align: center; }
.rq-list-head > span:nth-child(3) { text-align: left; }
.rq-row .rq-by { justify-content: flex-start; padding-left: 14%; } /* 티어 아이콘이 줄마다 같은 자리에서 시작하게 (머리글만 가운데) */
.rq-row .rq-date { text-align: center; padding-right: 10px; }
.rq-row .rq-state { justify-content: center; padding-left: 10px; }
.rq-list-head > span:nth-child(5) { padding-right: 10px; } .rq-list-head > span:nth-child(6) { padding-left: 10px; }
.rq-row { min-height: 72px; padding: 10px 20px; }
.rq-rank { font-size: 19px; font-weight: 900; color: #cfcfd4; text-align: center; font-variant-numeric: tabular-nums; }
.rq-rank.top { color: var(--orange); }
.rq-th img { display: block; width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: #f3f3f5; box-shadow: 0 3px 8px -4px rgba(0,0,0,.3); }
.rq-song { display: flex; flex-direction: column; gap: 2px; }
.rq-song .rq-title { display: flex; align-items: center; min-width: 0; font-size: 14.5px; }
.rq-song .rq-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.rq-song .rq-title .sc-flag { margin-right: 7px; }
.rq-song .rq-title .rq-genre { margin-right: 7px; flex: none; }
.rq-song .rq-artist { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-date { font-size: 12.5px; color: #8a8a92; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rq-vwrap { display: flex; align-items: center; justify-content: center; gap: 14px; }
.rq-prog { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 120px; }
.rq-prog .rq-bar { width: 100%; }
.rq-bar { display: block; height: 6px; border-radius: 3px; background: #f1f1f3; overflow: hidden; }
.rq-bar i { display: block; height: 100%; border-radius: 3px; background: var(--orange); }
.rq-prog .rq-goal { font-size: 11.5px; color: var(--orange-deep); font-weight: 800; }
@media (max-width: 1100px) { .rq-list-head, .rq-row { grid-template-columns: 30px 48px minmax(0, 1fr) minmax(0, .9fr) 90px 110px 210px; gap: 10px; } .rq-prog { width: 90px; } }

/* (2026-11-18 밤) 신청자: 티어 아이콘과 닉네임 사이 띄움 · 머리글 "신청자"를 티어 아이콘 가운데에 · 닉네임 누르면 프로필 보기/친구 추가 · 추천 버튼 오른쪽으로 */
.rq-list-head > span.rq-h-by { text-align: left; padding-left: 14%; }
.rq-list-head > span.rq-h-by em { display: inline-block; width: 66px; text-align: center; font-style: normal; }
.rq-by .rq-nk { margin-left: 6px; }
.rq-by button.rq-nk { border: 0; background: none; padding: 2px 4px; margin-left: 4px; border-radius: 5px; font: inherit; color: inherit; cursor: pointer; }
.rq-by button.rq-nk:hover, .rq-by button.rq-nk.on { background: var(--orange-soft); color: var(--orange-deep); }
.rq-vwrap { justify-content: flex-end; gap: 26px; padding-right: 4px; }
.rq-pop { position: fixed; z-index: 1000; min-width: 168px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.3); font-family: 'Noto Sans KR', sans-serif; }
.rq-pop-h { display: flex; align-items: center; gap: 6px; padding: 6px 8px 8px; border-bottom: 1px solid #f1f1f3; margin-bottom: 4px; font-size: 13px; font-weight: 800; }
.rq-pop-h span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-pop-h button { border: 0; background: none; color: #aaa; font-size: 15px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.rq-pop-h button:hover { color: #555; }
.rq-pop > button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 7px; background: none; font: 700 13px 'Noto Sans KR', sans-serif; color: var(--text); cursor: pointer; text-align: left; }
.rq-pop > button:hover { background: var(--orange-soft); color: var(--orange-deep); }
.rq-pop > button:disabled { opacity: .5; cursor: default; background: none; color: var(--text); }
.rq-pop > button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rq-genre { display: inline-block; padding: 3px 8px; border-radius: 5px; background: #f3f4f6; font-size: 11.5px; font-weight: 800; color: #5f6672; }
.rq-genre.g-KPOP { background: #eef3ff; color: #3d5bb5; } .rq-genre.g-JPOP { background: #fff0f3; color: #c2456a; }
.rq-genre.g-POP { background: #eefaf3; color: #2b8a57; } .rq-genre.g-OST { background: #f5f0ff; color: #7048c2; }
.rq-title { font-size: 14px; font-weight: 800; color: var(--text); }
.rq-artist { font-size: 13px; color: var(--text-dim); }
.rq-by { font-size: 12.5px; font-weight: 700; color: var(--text); }
.rq-by { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
.rq-by .rq-nk { overflow: hidden; text-overflow: ellipsis; }
.rq-by .rq-rk, .rq-by .rq-dn { display: none; }
.rq-by.op .rq-nk { color: var(--orange-deep); font-weight: 900; }
.rq-by small { margin-left: 6px; font-size: 11.5px; font-weight: 500; color: #aaa; }
.rq-by .me { display: inline-block; margin-left: 5px; padding: 0 6px; border-radius: 4px; background: var(--orange-soft); color: var(--orange-deep); font-size: 10.5px; font-weight: 800; vertical-align: 1px; }
.rq-fast { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 800; vertical-align: 1px; }
.rq-goal { font-size: 11.5px; font-weight: 700; color: #b0b0b0; white-space: nowrap; }
.rq-goal.hot { color: var(--orange-deep); }
.rq-state { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rq-vote {
  justify-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 64px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--text); cursor: pointer; transition: all .15s ease;
}
.rq-vote svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rq-vote b { font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; }
.rq-vote:hover:not(:disabled) { border-color: var(--orange); color: var(--orange-deep); }
.rq-vote.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-deep); cursor: default; }
.rq-vote.off { color: #b8b8b8; background: #fafafa; cursor: default; }
.rq-vote.bump b { animation: rqbump .35s ease; }
@keyframes rqbump { 40% { transform: scale(1.35); } }
.rq-link {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font-size: 11.5px; font-weight: 800; color: var(--text); cursor: pointer; text-decoration: none; transition: all .15s ease;
}
.rq-link:hover { border-color: var(--orange); color: var(--orange-deep); }
.rq-link.ac { border-color: var(--orange); color: var(--orange-deep); }
.rq-x-unused { border: 0; background: none; padding: 0 2px; font-size: 11.5px; font-weight: 700; color: #b0b0b0; cursor: pointer; text-decoration: underline; }
.rq-reason { display: none; margin: 0 20px 12px 132px; padding: 10px 12px; border-radius: 7px; background: #fdf2f2; font-size: 12.5px; line-height: 1.55; color: #b43c3c; }
.rq-item.open .rq-reason { display: block; }
.rq-more { display: block; width: 100%; height: 44px; margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 800; color: var(--text-dim); cursor: pointer; }
.rq-more[hidden] { display: none; }
.rq-more:hover { border-color: var(--orange); color: var(--orange-deep); }
.request-empty { padding: 48px 14px; font-size: 13px; color: var(--text-dim); text-align: center; }
.request-empty b { display: block; margin-bottom: 4px; font-size: 14px; color: var(--text); }

.status-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-badge.status-pending { background: #f1f1f1; color: var(--text-dim); }
.status-badge.status-translating { background: #fff1ec; color: var(--orange-deep); }
.status-badge.status-done { background: #e9f8ee; color: #22903f; }
.status-badge.status-restricted { background: #fdeaea; color: #d33; }

/* 신청서 팝업 */
.rq-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 20, 24, 0.45); }
.rq-modal[hidden] { display: none; }
.rq-dialog { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 26px 24px; border-radius: 10px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,0.22); }
.rq-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 6px; background: none; font-size: 16px; color: var(--text-dim); cursor: pointer; }
.rq-x:hover { background: #f3f3f3; color: var(--text); }
.rq-modal-title { margin: 0; font-size: 19px; font-weight: 900; color: var(--text); }
.rq-modal-sub { margin: 4px 0 20px; font-size: 12.5px; color: var(--text-dim); }
.rq-modal-sub b { color: var(--text); }
#request-form { display: flex; flex-direction: column; gap: 14px; }
.rq-field { display: flex; flex-direction: column; gap: 6px; }
.rq-field > span { font-size: 12px; font-weight: 800; color: var(--text-dim); }
.rq-field input[type="text"] { height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--text); outline: none; transition: border-color .15s ease; }
.rq-field input[type="text"]:focus { border-color: var(--orange); }
.rq-genres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rq-genres label { position: relative; }
.rq-genres input { position: absolute; opacity: 0; pointer-events: none; }
.rq-genres i { display: flex; align-items: center; justify-content: center; height: 42px; border: 1px solid var(--line); border-radius: 8px; font-style: normal; font-size: 13px; font-weight: 800; color: var(--text-dim); cursor: pointer; transition: all .15s ease; }
.rq-genres i:hover { border-color: var(--orange); color: var(--orange-deep); }
.rq-genres input:checked + i { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-deep); }
.rq-genres input:focus-visible + i { outline: 2px solid var(--orange); outline-offset: 2px; }
.rq-hint { margin: -4px 0 0; padding: 10px 12px; border-radius: 7px; background: #f6f7f9; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }
.rq-hint[hidden] { display: none; }
.rq-hint a { font-weight: 800; color: inherit; }
.rq-hint.warn { background: #fdf0ec; color: #c2451d; }
.rq-hint.ok { background: #eef8f1; color: #22903f; }
.rq-hint.info { background: #f1f5fb; color: #3b5b8a; }
.rq-use-ticket { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; border: 1px dashed #ffb699; background: #fff7f3; cursor: pointer; }
.rq-use-ticket[hidden] { display: none; }
.rq-use-ticket input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.rq-use-ticket b { font-size: 13.5px; color: var(--orange-deep); }
.rq-use-ticket em { font-style: normal; font-size: 12px; color: #a2583c; }
.rq-use-ticket small { display: block; margin-top: 2px; font-size: 11.5px; color: #a2583c; }
.rq-warn { padding: 13px 14px; border-radius: 8px; background: #fafafa; border: 1px solid var(--line); }
.rq-warn p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.55; color: var(--text-dim); }
.rq-warn p b { color: #d33; }
.rq-agree { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--text); cursor: pointer; }
.rq-agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--orange); }
.rq-submit { width: 100%; height: 50px; font-size: 14.5px; }
/* ---- 신청서 (2026-11-15, 초안 C) ---- */
#request-form { display: flex; flex-direction: column; gap: 14px; }
.rq-n { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: 5px; background: var(--orange); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 900; vertical-align: 1px; }
.rq-field > span small { margin-left: 6px; font-size: 11.5px; font-weight: 600; color: #a0a0a8; }
.rq-combo { position: relative; }
.rq-combo input[type="text"] { width: 100%; box-sizing: border-box; }
.rq-combo input:disabled { background: #fafafb; cursor: not-allowed; }
.rq-pick { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 800; color: var(--text); }
.rq-pick[hidden] { display: none; }
.rq-pick img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; flex: none; border: 1px solid rgba(0,0,0,.08); }
.rq-pick .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-pick em { font-style: normal; font-weight: 600; font-size: 12.5px; color: #9a9aa2; margin-left: 2px; }
.rq-pick .self { flex: none; font-size: 10.5px; font-weight: 800; color: #c2421a; background: #fff3ec; border-radius: 5px; padding: 2px 6px; }
.rq-pick button { margin-left: auto; flex: none; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: #9a9aa2; font-size: 15px; cursor: pointer; }
.rq-pick button:hover { background: #f4f4f6; color: var(--text); }
.rq-dd { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); max-height: 300px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.12); user-select: none; -webkit-user-select: none; }
.rq-dd[hidden] { display: none; }
.rq-o { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 7px; background: none; text-align: left; font: inherit; cursor: pointer; }
.rq-o:hover, .rq-o.on { background: #fff3ee; }
.rq-o img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex: none; border: 1px solid rgba(0,0,0,.06); }
.rq-o .t { min-width: 0; flex: 1; font-size: 13.5px; font-weight: 700; color: var(--text); }
.rq-o .t small { display: block; font-size: 11.5px; font-weight: 500; color: #9a9aa2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq-o mark { background: none; color: var(--orange); font-weight: 900; }
.rq-o .bd { flex: none; font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: #f2f2f4; color: #8a8a92; }
.rq-o .bd.q{background:#fff1ec;color:#e8552a}
.rq-hint .go.rq-hint-vote{border:0;cursor:pointer;font-family:inherit}.rq-hint .go.rq-hint-vote:hover:not(:disabled){background:var(--orange-deep,#e8552a)}.rq-hint .go.rq-hint-vote:disabled{background:#f2f2f4;color:#8a8a92!important;cursor:default}
.rq-o .bd.y { background: #e9f7ef; color: #1f8a4c; }
.rq-o.self { border-top: 1px dashed #e6e6ea; border-radius: 0 0 7px 7px; margin-top: 4px; padding: 10px 8px 6px; color: var(--orange-deep); font-size: 12.5px; font-weight: 800; }
.rq-dd .empty { padding: 10px; font-size: 12.5px; color: #9a9aa2; }
.rq-o.self .q { margin-left: 4px; font-weight: 600; color: #b0b0b8; }
.rq-info-wrap[hidden] { display: none; }
.rq-info-img { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; }
.rq-info-img::after { content: "사진 바꾸기"; position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; border-radius: 0 0 8px 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 9.5px; font-weight: 800; text-align: center; }
.rq-info-img.empty::after { content: "+ 사진"; top: 0; display: grid; place-items: center; border-radius: 8px; background: rgba(255,110,65,.08); color: var(--orange-deep); border: 1.5px dashed #ffc2ad; font-size: 11px; }
.rq-info-img:hover::after { background: rgba(255,110,65,.85); color: #fff; }
.rq-info-img.drag { outline: 2px solid var(--orange); outline-offset: 2px; }
/* 신청 완료 창 (2026-11-18) */
.rq-done-ov { position: fixed; inset: 0; z-index: 2147482500; display: grid; place-items: center; padding: 20px; background: rgba(20,20,22,.5); animation: dnpF .15s ease; }
.rq-done-ov[hidden] { display: none; }
.rq-done { position: relative; overflow: hidden; width: 100%; max-width: 440px; padding: 30px 26px 22px; border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); animation: dnpU .2s ease; }
.rq-done::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, #ff8a5c, #ff6e41, #e8552a); }
.rq-done-ic { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: #fff1ec; }
.rq-done-ic svg { width: 28px; height: 28px; fill: none; stroke: #ff6e41; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rq-done h3 { margin: 0; font-size: 21px; font-weight: 900; }
.rq-done > p { margin: 6px 0 18px; font-size: 13.5px; color: #777; line-height: 1.55; }
.rq-done-card { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid #ffe0d4; border-radius: 12px; background: #fffaf8; text-align: left; }
.rq-done-card img, .rq-done-card i { flex: none; width: 84px; height: 84px; border-radius: 10px; object-fit: cover; background: #f3f3f5; box-shadow: 0 6px 14px -8px rgba(0,0,0,.35); }
.rq-done-t { min-width: 0; flex: 1; }
.rq-done-t b { display: block; font-size: 16.5px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-done-t small { display: block; margin-top: 2px; font-size: 12.5px; color: #8a8a92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-done-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.rq-done-nums span { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border: 1px solid #ffd2c2; border-radius: 8px; background: #fff; }
.rq-done-nums em { font-style: normal; font-size: 9.5px; font-weight: 900; color: #e8552a; }
.rq-done-nums b { font-size: 13px; font-weight: 900; }
.rq-done-st { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 900; background: #f3f3f5; color: #666; }
.rq-done-st.fast { background: #fff1ec; color: #e8552a; }
.rq-done-ok { display: block; width: 100%; height: 48px; margin-top: 18px; border: 0; border-radius: 10px; background: #ff6e41; color: #fff; font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; }
.rq-done-ok:hover { background: #e8552a; }

.rq-info { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid #ececf0; border-radius: 10px; background: #fcfcfd; user-select: none; -webkit-user-select: none; }
.rq-info-img img, .rq-info-img i { display: block; width: 62px; height: 62px; border-radius: 8px; object-fit: cover; background: #f3f3f5; }
.rq-info-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rq-info-f label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rq-info-f b { font-size: 10.5px; font-weight: 800; color: #9a9aa2; }
.rq-info-f input { width: 100%; box-sizing: border-box; height: 32px; padding: 0 9px; border: 1px solid #e3e3e8; border-radius: 6px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--text); outline: none; }
.rq-info-f input:focus { border-color: var(--orange); }
.rq-info-nums { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rq-info-nums input { color: #c2421a; font-variant-numeric: tabular-nums; }
.rq-hint { margin: 0; display: flex; align-items: center; gap: 10px; }
.rq-hint .go { margin-left: auto; flex: none; height: 30px; padding: 0 12px; border-radius: 7px; background: var(--orange); color: #fff !important; font-size: 12.5px; font-weight: 800; display: inline-grid; place-items: center; text-decoration: none; }
.rq-pass { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 92px; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #f4f4f6; color: #55575d; text-align: left; font: inherit; cursor: pointer; transition: filter .15s ease; }
.rq-pass:before, .rq-pass:after { content: ""; position: absolute; left: calc(100% - 100px); width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.rq-pass:before { top: -8px; } .rq-pass:after { bottom: -8px; }
.rq-pass-l { padding: 12px 14px; min-width: 0; }
.rq-pass-l small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; opacity: .8; }
.rq-pass-l b { display: block; font-size: 14.5px; font-weight: 900; }
.rq-pass-l em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; opacity: .9; }
.rq-pass-r { display: grid; place-items: center; border-left: 2px dashed #d8d8de; font-size: 13px; font-weight: 900; color: var(--orange-deep); background: #ececef; }
.rq-pass.has { background: #fff3ee; color: #c2421a; }
.rq-pass.has .rq-pass-r { border-left-color: #ffc2ad; background: #fff; color: var(--orange-deep); }
.rq-pass.has.on { background: linear-gradient(135deg, #ff8a5c, #ff6e41); color: #fff; }
.rq-pass.has.on .rq-pass-r { border-left-color: rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff; }
.rq-pass:hover { filter: brightness(.98); }
.rq-pass-note { margin: -6px 0 0; font-size: 12px; line-height: 1.5; color: #8a8a92; }
.rq-pass-note b { color: var(--orange-deep); }
/* 정렬 다듬기 (2026-11-15): 번호 배지·글자 세로 가운데, 곡 정보 칸은 이름·값 가운데 */
.rq-field > span { display: flex; align-items: center; line-height: 1; min-height: 17px; }
.rq-n { margin-right: 7px; vertical-align: 0; line-height: 1; padding-top: 1px; box-sizing: border-box; }
/* 단계 표시 (2026-11-15): 동그란 번호 — 지금 할 단계 = 주황 + 은은한 빛, 끝난 단계 = 주황 + 흰 체크, 아직 = 회색 (잠김) */
.rq-step > span { gap: 0; font-size: 12.5px; font-weight: 800; color: var(--text); }
.rq-step .rq-n { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; padding: 0; border-radius: 50%; background: #fff; border: 1.5px solid #d6d6dc; color: #9a9aa2; font-size: 11px; font-weight: 900; transition: all .2s ease; }
.rq-step .rq-n i { font-style: normal; line-height: 1; }
.rq-step .rq-n svg { position: absolute; width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: all .2s ease; }
.rq-step.is-active .rq-n { border-color: var(--orange); background: var(--orange); color: #fff; box-shadow: 0 0 0 4px rgba(255,110,65,.16); }
.rq-step.is-done .rq-n { border-color: var(--orange); background: var(--orange); color: transparent; }
.rq-step.is-done .rq-n svg { opacity: 1; transform: none; }
.rq-step.is-locked > span { color: #b0b0b8; }
.rq-step.is-locked .rq-combo, .rq-step.is-locked .rq-genres, .rq-lock.is-locked { opacity: .45; pointer-events: none; filter: grayscale(.4); transition: opacity .2s ease; }
.rq-lock { transition: opacity .2s ease; }
.rq-submit:disabled { background: #e6e6ea; border-color: #e6e6ea; color: #a0a0a8; opacity: 1; cursor: not-allowed; }
.rq-combo input[type="text"] { height: 46px; padding: 0 14px; line-height: normal; }
.rq-pick .t { display: flex; align-items: baseline; gap: 6px; line-height: 1.25; padding-top: 1px; }
.rq-pick em { margin-left: 0; }
.rq-info { align-items: center; }
.rq-info-f label { align-items: center; text-align: center; }
.rq-info-f b { line-height: 1; }
.rq-field .rq-info-f input[type="text"] { height: 34px; padding: 0 8px; line-height: normal; text-align: center; font-size: 13px; }
/* 확인 (체크 카드) */
.rq-confirm { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1.5px solid #ececf0; border-radius: 10px; background: #fafafb; cursor: pointer; transition: border-color .15s ease, background .15s ease; user-select: none; }
.rq-confirm:hover { border-color: #ffc2ad; }
.rq-confirm-ck { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #cfcfd4; background: #fff; transition: all .15s ease; }
.rq-confirm-ck svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: all .15s ease; }
.rq-confirm-t { min-width: 0; line-height: 1.4; }
.rq-confirm-t b { display: block; font-size: 13.5px; font-weight: 900; color: var(--text); }
.rq-confirm-t small { display: block; margin-top: 2px; font-size: 11.5px; color: #8a8a92; }
.rq-confirm-t em { font-style: normal; font-weight: 800; color: #d64545; }
.rq-confirm:has(input:checked) { border-color: var(--orange); background: #fff7f3; }
.rq-confirm:has(input:checked) .rq-confirm-ck { border-color: var(--orange); background: var(--orange); box-shadow: 0 3px 8px rgba(255,110,65,.35); }
.rq-confirm:has(input:checked) .rq-confirm-ck svg { opacity: 1; transform: none; }

@media screen and (max-width: 900px) {
  .rq-layout { grid-template-columns: 1fr; gap: 18px; }
  .rq-side { position: static; }
  .rq-list-head { display: none; }
  .rq-row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "th song vote" "th state vote"; row-gap: 4px; column-gap: 12px; padding: 12px 14px; }
  .rq-rank, .rq-by, .rq-date, .rq-prog { display: none; }
  .rq-th { grid-area: th; } .rq-song { grid-area: song; } .rq-state { grid-area: state; } .rq-vwrap { grid-area: vote; align-self: center; }
  .rq-reason { margin: 0 14px 12px; }
  .rq-flow { grid-template-columns: 1fr 1fr; }
  .rq-flow li { padding: 10px 12px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .rq-flow li:nth-child(3) { border-left: 0; } .rq-flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rq-flow li::after { display: none; }
  .rq-flow-note { text-align: left; }
  .rq-toolbar-right { width: 100%; justify-content: space-between; }
  .rq-tabs { overflow-x: auto; max-width: 100%; }
  .rq-tabs button { flex: none; padding: 0 12px; }
  .rq-genres { grid-template-columns: repeat(2, 1fr); }
  .rq-dialog { padding: 22px 18px 18px; }
}

/* ---------- 포스터(음원 커버) 그리드 ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.post-card { border-radius: var(--radius); transition: transform .2s ease; }
.post-card:hover { transform: translateY(-3px); }
.post-card a { display: block; }
.post-card .thum {
  display: block; aspect-ratio: 1 / 1; width: 100%;
  border-radius: 12px; overflow: hidden; background: var(--orange-soft); border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08); margin-bottom: 10px;
}
.post-card .thum img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card a:hover .thum img { transform: scale(1.06); }
.post-card .thum .lock { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 22px; }
.post-card .title {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; font-weight: 700; line-height: 1.4; margin-bottom: 4px;
}
.post-card a:hover .title { color: var(--orange); }
.post-card .subtitle {
  display: block; font-size: 12px; color: var(--text-dim);
}
.post-card.protected .subtitle { color: #b6b6b6; }
.post-card .song-numbers {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 10.5px; color: var(--text-dim);
}
.post-card .song-numbers b { color: var(--orange-deep); font-weight: 800; margin-right: 2px; }

/* ---------- 장르 카테고리 페이지 (KPOP/JPOP/POP/OST): JSON 기반 전체 곡 목록 ---------- */
.genre-category-page { display: none; }
.genre-category-page.show { display: block; }
.genre-category-page .list-header h2 .genre-total { font-size: 13px; font-weight: 700; color: var(--text-dim); margin-left: 4px; }

/* ===== TOP 5 : 배너형 =====
   1위 = 앨범색 배경의 큰 배너(LP가 커버 뒤로 살짝 나옴) / 2·3위 = 은·동 메달 카드 / 4·5위 = 간단한 줄 */
.genre-top-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.genre-top-head h3 { font-size: 15px; font-weight: 900; color: var(--orange-deep); }
.genre-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-bottom: 26px; }

/* --- 1위 배너 --- */
.gtb-hero {
  position: relative; display: flex; align-items: center; gap: 30px; min-width: 0; min-height: 0; /* (2026-11-24) 320 → 내용만큼 */
  padding: 28px 32px; border-radius: 24px; overflow: hidden; isolation: isolate; color: #fff;
  box-shadow: 0 18px 38px rgba(0,0,0,0.16); transition: box-shadow .3s ease;
}
a.gtb-hero:hover { box-shadow: 0 22px 44px rgba(0,0,0,0.22); }
.gtb-bg { position: absolute; inset: -40px; z-index: -3; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(30px) saturate(1.5); transform: scale(1.12); }
.gtb-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(40,20,10,0.42) 0%, rgba(40,20,10,0.10) 100%); }
.gtb-watermark {
  position: absolute; right: 10px; bottom: -58px; z-index: -1; font-size: 280px; font-weight: 900; line-height: 1;
  letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.32); pointer-events: none;
}
.gtb-art { position: relative; flex: 0 0 190px; width: 190px; aspect-ratio: 1 / 1; margin-right: 56px; }
/* LP : 바깥(.gtb-disc)은 커버 뒤에서 옆으로 나오는 위치, 안쪽(.gtb-disc-spin)은 회전 */
.gtb-disc {
  position: absolute; top: 5%; left: 5%; width: 90%; height: 90%; border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0,0,0,0.35); transform: translateX(34%);
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.gtb-disc-spin {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    conic-gradient(from 30deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,0.10) 40deg, rgba(255,255,255,0) 80deg, rgba(255,255,255,0) 180deg, rgba(255,255,255,0.08) 220deg, rgba(255,255,255,0) 260deg),
    repeating-radial-gradient(circle at center, #1c1c1f 0 1.6px, #29292d 1.6px 3.2px);
  animation: gtb-spin 8s linear infinite; animation-play-state: paused; /* 평소엔 멈춤 */
}
.gtb-disc-spin img { position: absolute; left: 50%; top: 50%; width: 36%; height: 36%; transform: translate(-50%, -50%); border-radius: 50%; object-fit: cover; }
.gtb-disc-spin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5%; height: 5%; transform: translate(-50%, -50%); border-radius: 50%; background: #f3f3f3; }
@keyframes gtb-spin { to { transform: rotate(360deg); } }
a.gtb-hero:hover .gtb-disc { transform: translateX(48%); }
a.gtb-hero:hover .gtb-disc-spin { animation-play-state: running; } /* 마우스를 올리면 천천히 회전, 떼면 그 자리에서 멈춤 */
.gtb-cover { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 36px rgba(0,0,0,0.35); }
.gtb-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gtb-info { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gtb-label {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px;
  padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--orange);
  font-size: 12px; font-weight: 900; letter-spacing: 0.06em; box-shadow: 0 6px 16px rgba(255,110,65,0.45);
}
.gtb-label svg { width: 15px; height: 15px; }
.gtb-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; margin-left: 2px; }
.gtb-eq i { display: block; width: 3px; height: 60%; border-radius: 1px; background: #fff; animation: gtb-eq 0.9s ease-in-out infinite alternate; }
.gtb-eq i:nth-child(2) { animation-delay: -0.3s; }
.gtb-eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes gtb-eq { from { height: 25%; } to { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .gtb-eq i, .gtb-disc-spin { animation: none; } .gtb-disc { transition: none; } }
.gtb-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 32px; font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.gtb-orig-in { font-size: .62em; font-weight: 800; opacity: .85; letter-spacing: 0; } /* (2026-11-24) 제목 옆 (원제) */
.gtb-mid-orig-in { font-size: 13px; font-weight: 700; color: #666; }
.gtb-orig { font-size: 16px; font-weight: 700; opacity: 0.88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtb-artist { font-size: 14px; opacity: 0.78; }
.gtb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.gtb-chip {
  padding: 7px 11px; border-radius: 10px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.24);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.gtb-chip i { font-style: normal; font-size: 10px; opacity: 0.75; margin-right: 5px; letter-spacing: 0.04em; }
.gtb-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; box-sizing: border-box; } .gtb-chip:nth-child(3) { min-width: 150px; } /* 번호 없어도 칸 일정 (2026-11-19) */
.gtb-cta {
  margin-left: 4px; padding: 8px 15px; border-radius: 999px; background: #fff; color: var(--orange-deep);
  font-size: 12.5px; font-weight: 900; transition: transform .2s ease;
}
a.gtb-hero:hover .gtb-cta { transform: none; } /* 카드 전체가 같이 움직여서 따로 안 밀림 (2026-11-21) */
.gtb-info { transition: transform .7s cubic-bezier(.16,1,.3,1); } a.gtb-hero:hover .gtb-info { transform: translateX(36px); } /* 디스크가 나오면 글자·번호·가사 보기도 같이 오른쪽으로 (2026-11-21) */
@media (prefers-reduced-motion: reduce) { .gtb-info { transition: none; } }

/* --- 오른쪽 : 2·3위 메달 카드 + 4·5위 줄 --- */
.gtb-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gtb-mid {
  position: relative; flex: 1; display: flex; align-items: center; gap: 16px; min-width: 0;
  padding: 14px 18px 14px 14px; border-radius: 18px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
a.gtb-mid:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,0.12); }
.gtb-mid-bg { position: absolute; inset: -30px; z-index: -2; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(26px) saturate(1.4); }
.gtb-mid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,0.74); }
.gtb-mid-cover { position: relative; flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; overflow: visible; }
.gtb-mid-cover img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.gtb-medal {
  position: absolute; top: -8px; left: -8px; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900;
  border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.gtb-mid[data-rank="2"] .gtb-medal { background: linear-gradient(145deg, #f6f8fa 0%, #b7bfc8 100%); color: #4a525c; }
.gtb-mid[data-rank="3"] .gtb-medal { background: linear-gradient(145deg, #f3cfae 0%, #c47f4f 100%); color: #fff; }
.gtb-mid-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gtb-mid-text b { font-size: 17px; font-weight: 900; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtb-mid-orig { font-size: 12.5px; font-weight: 600; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtb-mid-artist { font-size: 12px; color: #777; }
.gtb-mid-nums { margin-top: 5px; font-size: 11.5px; font-weight: 700; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.gtb-mid-nums em { font-style: normal; font-weight: 900; color: var(--orange-deep); margin-right: 3px; }
.gtb-mid-nums .sep { margin: 0 6px; color: #c9c0bb; }
.gtb-mid-nums { display: grid; grid-template-columns: repeat(3, 92px); gap: 6px; overflow: visible; }
.gtb-mb { display: flex; align-items: center; justify-content: center; gap: 4px; height: 26px; border: 1px solid rgba(0,0,0,.08); border-radius: 6px; background: rgba(255,255,255,.75); font-size: 12px; font-weight: 800; color: #333; }
.gtb-mb em { margin-right: 0 !important; font-size: 10px; }
.gtb-mb.no { color: #b9b9be; } .gtb-mb.no em { color: #c4c4c8; }

.gtb-mid.gtb-empty, .gtb-small.gtb-empty { background: #fafafa; border: 1.5px dashed #e4e4e8; box-shadow: none; }
.gtb-mid.gtb-empty::after { display: none; }
.gtb-empty .gtb-empty-art { display: block; width: 100%; height: 100%; border-radius: 12px; background: #f0f0f3; }
.gtb-small .gtb-empty-art { width: 38px; height: 38px; border-radius: 8px; }
.gtb-empty .gtb-medal { opacity: .55; }
.gtb-empty b { color: #b4b4ba !important; font-weight: 800; }
.gtb-empty .gtb-mid-artist, .gtb-empty .gtb-small-text span { color: #c4c4ca; }
.gtb-low { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gtb-small {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); transition: border-color .15s ease;
}
a.gtb-small:hover { border-color: var(--orange); }
.gtb-small-rank { flex: 0 0 16px; font-size: 14px; font-weight: 900; color: var(--text-dim); text-align: center; }
.gtb-small-thumb { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 8px; overflow: hidden; background: var(--orange-soft); }
.gtb-small-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gtb-small-text { display: flex; flex-direction: column; min-width: 0; }
.gtb-small-text b { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtb-small-text span { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media screen and (max-width: 1100px) {
  .genre-top { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 600px) {
  .gtb-hero { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 0; padding: 20px; }
  .gtb-art { flex-basis: auto; width: 150px; margin-right: 0; }
  .gtb-watermark { font-size: 200px; bottom: -40px; }
  .gtb-title { font-size: 24px; }
  .gtb-mid-cover { flex-basis: 76px; width: 76px; height: 76px; }
  .gtb-mid-text b { font-size: 15px; }
  .gtb-low { grid-template-columns: minmax(0, 1fr); }
}


/* ===== TOP 5 (2026-11-24, 초안 C2-2) : 1위 흰 카드(왼쪽 금색 "No.1" 칸 + 커버·레코드판) / 2~5위 순위 줄 (2위 은 · 3위 동) ===== */
.genre-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.gtc-hero { gap: 0; padding: 0 28px 0 0; min-height: 250px; background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 14px 34px -20px rgba(0,0,0,.4); }
a.gtc-hero:hover { box-shadow: 0 18px 38px -18px rgba(0,0,0,.45); }
.gtc-hero::after { content: none; }
.gtc-col { position: relative; align-self: stretch; flex: 0 0 78px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding-top: 22px; margin-right: 24px; overflow: hidden;
  background: linear-gradient(160deg, #fff3c4 0%, #f3cf6a 38%, #d9a73c 70%, #b98420 100%); }
.gtc-col::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); }
.gtc-no { position: relative; writing-mode: vertical-rl; font-size: 26px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; color: #fff; text-shadow: 0 2px 8px rgba(120,80,0,.5); }
.gtc-col .gtb-delta { position: relative; margin: 0; color: #6b4708 !important; }
.gtc-hero .gtb-art { flex: 0 0 200px; width: 200px; margin-right: 96px; } /* 레코드판과 제목 사이 여유 (2026-11-24) */
.gtc-hero .gtb-disc-spin::after { background: #d9a73c; }
.gtc-hero .gtb-cover { box-shadow: 0 18px 34px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.05); }
.gtc-hero .gtb-info { gap: 6px; }
.gtc-hero .gtb-title { font-size: 28px; text-shadow: none; color: var(--text); }
.gtc-hero .gtb-orig-in { color: var(--text-dim); opacity: 1; }
.gtc-hero .gtb-artist { color: var(--text-dim); opacity: 1; font-size: 13.5px; }
.gtc-hero .gtc-nums { margin-top: 10px; }
.gtc-hero .gtb-cta { align-self: flex-start; margin: 8px 0 0; background: #fff; color: var(--orange-deep); box-shadow: inset 0 0 0 1.5px var(--orange); }
a.gtc-hero:hover .gtb-cta { background: var(--orange); color: #fff; }
.gtc-nums { display: flex; gap: 6px; }
.gtc-num { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; width: 96px; height: 28px; padding: 0 6px; white-space: nowrap; border-radius: 7px; background: #f4f4f6; font-size: 12px; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; }
.gtc-num i { font-style: normal; font-size: 9.5px; font-weight: 900; color: var(--orange); }
.gtc-num.no { color: #c4c4ca; } .gtc-num.no i { color: #d4d4d8; }
.gtc-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 8px; min-width: 0; }
.gtc-row { display: grid; grid-template-columns: 48px 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; padding-right: 14px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s ease, transform .2s cubic-bezier(.16,1,.3,1); }
a.gtc-row:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--orange), 0 10px 22px -14px rgba(0,0,0,.35); }
.gtc-rk { align-self: stretch; display: grid; place-items: center; background: #f4f4f6; font-size: 20px; font-weight: 900; color: #8a8a92; }
/* 2위 은 · 3위 동 (2026-11-24, 초안 10-a): 순위 숫자와 아래 작은 "2ND"·"3RD" 를 같은 금속색으로 */
.gtc-rk { position: relative; background: none; border-right: 1px solid var(--line); } /* 배경을 칠하면 줄 테두리(inset 그림자)를 덮어서 잘려 보임 */
.gtc-row[data-rank="2"] .gtc-rk, .gtc-row[data-rank="3"] .gtc-rk { padding-bottom: 10px; }
.gtc-row[data-rank="2"] .gtc-rk { color: #8f99a4; } .gtc-row[data-rank="3"] .gtc-rk { color: #b0703f; }
.gtc-row[data-rank="2"] .gtc-rk::after, .gtc-row[data-rank="3"] .gtc-rk::after { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-size: 8.5px; font-weight: 900; letter-spacing: .06em; }
.gtc-row[data-rank="2"] .gtc-rk::after { content: "2ND"; } .gtc-row[data-rank="3"] .gtc-rk::after { content: "3RD"; }
.gtc-th { width: 46px; height: 46px; border-radius: 9px; overflow: hidden; background: var(--orange-soft); box-shadow: 0 4px 10px -2px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05); } /* 썸네일 그림자 (2026-11-24) */
.gtc-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gtc-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gtc-tx b { font-size: 14px; font-weight: 900; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtc-tx > span { font-size: 11.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtc-row .gtc-num { width: 80px; height: 24px; font-size: 11px; } /* 번호 칸 너비 고정 (없든 길든 같게) */
.gtc-row.gtb-empty { background: #fafafa; box-shadow: inset 0 0 0 1.5px #e4e4e8; }
@media screen and (max-width: 1100px) { .gtc-side { grid-template-rows: none; } .gtc-row { min-height: 62px; } }
@media screen and (max-width: 600px) {
  .gtc-hero { flex-direction: row; flex-wrap: wrap; padding: 0 16px 16px 0; }
  .gtc-col { flex-basis: 56px; padding-top: 14px; margin-right: 14px; }
  .gtc-no { font-size: 20px; }
  .gtc-hero .gtb-art { width: 120px; flex-basis: 120px; margin: 16px 30px 0 0; }
  .gtc-hero .gtb-info { flex-basis: 100%; padding-left: 70px; }
  .gtc-row { grid-template-columns: 40px 42px minmax(0, 1fr); padding: 8px 10px 8px 0; }
  .gtc-row .gtc-nums { grid-column: 3; }
}

/* ===== 검색 바 : TOP 5 바로 아래, 전체 곡 바로 위 ===== */
.genre-finder {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px;
  margin-bottom: 30px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(135deg, #fff9f6 0%, #fff0e8 100%); border: 1px solid #fbdccf;
}
.genre-finder-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.genre-finder-title { font-size: 17px; font-weight: 900; color: var(--text); }
.genre-finder .genre-search { grid-column: 1 / -1; } /* 검색창은 패널 전체 폭 */
.genre-finder-title em { font-style: normal; color: var(--orange); }
.genre-finder-filters { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; }
.genre-finder .search-machine-filter-label { margin-left: 0; }
.genre-finder .search-machine-bulk { margin-left: 2px; }
.genre-toggles { display: inline-flex; gap: 6px; }
.genre-lyric-toggle {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 13px; border-radius: 999px;
  border: 1.5px solid #2b2f36; background: #fff; color: #2b2f36; line-height: 1;
  font-size: 11.5px; font-weight: 800; transition: background .15s ease, color .15s ease;
}
.genre-lyric-toggle svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.genre-lyric-toggle:hover { background: #f2f3f5; }
.genre-lyric-toggle.active { background: #2b2f36; color: #fff; }
.genre-lyric-toggle.is-pick { border-color: var(--orange); color: var(--orange-deep); }
.genre-lyric-toggle.is-pick svg { fill: currentColor; stroke: none; }
.genre-lyric-toggle.is-pick:hover { background: var(--orange-soft); }
.genre-lyric-toggle.is-pick.active { background: var(--orange); color: #fff; }
.search-machine-chip { height: 28px; padding-top: 0; padding-bottom: 0; line-height: 1; }
/* 국기 */
.sc-flag { display: inline-flex; flex: none; vertical-align: -2px; margin: 0 7px 0 0; overflow: hidden; border-radius: 3px; border: 1px solid rgba(0,0,0,.22); box-shadow: 0 1px 2px rgba(0,0,0,.12); background: #fff; } /* 흰 바탕 국기(일본 등)도 테두리로 또렷하게 */
.sc-flag svg { width: 21px; height: 14px; display: block; }
.sc-flag.sc-flag-text { overflow: visible; box-shadow: none; }
.search-live-artist-name .sc-flag { margin: 0 8px 0 0; }
.sc-flag-text { font-size: 10px; font-weight: 800; color: var(--text-dim); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; line-height: 14px; }

.genre-search { position: relative; }
.genre-search input {
  width: 100%; height: 54px; padding: 0 44px 0 48px; border-radius: 14px;
  border: 1.5px solid #f3d3c6; background: #fff; color: var(--text);
  font-size: 15px; font-weight: 600; caret-color: var(--orange); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.genre-search input::placeholder { color: #b9aea9; font-weight: 500; }
.genre-search input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,110,65,0.15); }
.genre-search-icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--orange); pointer-events: none; }
.genre-search-clear {
  display: none; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--orange-soft); color: var(--sm-orange);
  font-size: 12px; line-height: 24px; text-align: center; padding: 0;
}
.genre-search-clear.show { display: block; }
.genre-search-clear:hover { background: var(--orange); color: #fff; }
.genre-finder-result { font-size: 12.5px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.genre-finder-result strong { color: var(--orange-deep); font-weight: 900; }

@media screen and (max-width: 1100px) {
  .genre-finder { grid-template-columns: minmax(0, 1fr); }
  .genre-finder-filters { justify-content: flex-start; order: 2; } /* 좁은 화면 : 검색창 먼저, 필터는 그 아래 */
  .genre-finder .search-machine-bulk { border-left: 0; padding-left: 0; }
}
@media screen and (max-width: 600px) {
  .genre-finder { padding: 16px; }
}

/* ===== 전체 곡 머리 + 정렬 ===== */
.genre-grid-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap;
  margin: 0 0 20px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 20px;
}
.genre-grid-head-left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.genre-grid-head h3 { font-size: 15px; font-weight: 900; color: var(--text); }

.genre-grid-head h3 .genre-result-count { margin-left: 6px; font-size: 12.5px; font-weight: 700; color: var(--orange-deep); }
.genre-sort { display: flex; flex-wrap: wrap; gap: 6px; }
.genre-sort-btn {
  padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: 12px; font-weight: 700; color: var(--text-dim); transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.genre-sort-btn:hover { color: var(--orange-deep); border-color: var(--orange); }
.genre-sort-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.genre-loading, .genre-empty { grid-column: 1 / -1; padding: 40px 10px; text-align: center; color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.genre-empty .song-request-btn { margin-top: 14px; }

/* ===== 곡 카드 : 공통 부품 ===== */
.genre-grid { display: grid; }
.gcard-wrap { display: flex; min-width: 0; }
.gcard-wrap > .gcard { flex: 1 1 auto; width: 100%; }
.gcard { display: flex; min-width: 0; color: inherit; }
.gcard-cover { display: block; overflow: hidden; background: var(--orange-soft); }
.gcard-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gcard-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gcard-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 800; line-height: 1.4; color: var(--text); word-break: break-word;
}
.gcard-orig { font-size: 12px; font-weight: 600; color: #6b6b6b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtb-kind { display: inline-block; align-self: flex-start; margin: 2px 0 4px; padding: 2px 9px; border-radius: 5px; background: rgba(255,110,65,.92); color: #fff; font-size: 12.5px; font-weight: 800; }
.gtb-mid-kind { display: inline-block; align-self: flex-start; margin: 1px 0 2px; padding: 0 7px; border-radius: 5px; background: #fff1ec; color: #e8552a; font-size: 11px; font-weight: 800; }
.gcard-kind { display: inline-block; max-width: 100%; margin: 2px auto 0; padding: 1px 8px; border-radius: 5px; background: #fff1ec; color: #e8552a; font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* OST 구분 (2026-11-19) */
.gcard-artist { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 10.5px; color: #b0b0b0; }
.gcard-meta:empty { display: none; }
/* 가사 있는 곡 : 티켓 윗변에 매달린 책갈피 리본 (잘 보이지만 과하지 않게) */
.gcard { position: relative; }
.gcard-cover { position: relative; }
.gcard-stamps { position: absolute; top: -1px; right: 20px; z-index: 3; display: flex; gap: 4px; pointer-events: none; }
.gcard-stamp {
  position: relative; padding: 7px 7px 12px;
  display: flex; align-items: center; justify-content: center; white-space: nowrap; letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ff8357 0%, #ee5a2c 100%); color: #fff;
  font-size: 10.5px; font-weight: 900; line-height: 1.2; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 7px), 0 100%);
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.25), inset -1px 0 0 rgba(0,0,0,0.08);
  pointer-events: none;
}
/* 발매연도 칩 : 커버 왼쪽 아래 (티켓형에서만 표시) */
.gcard-year {
  display: none; position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 3px 8px; border-radius: 999px;
  background: rgba(21,23,28,0.6); color: #fff; font-size: 10.5px; font-weight: 800; font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.genre-grid[data-card="ticket"] .gcard-wrap.is-new.is-new .gcard, .genre-grid[data-card="ticket"] .gcard-wrap.is-new.is-new a.gcard:hover { --tk-line: #ee1c2b; --tk-dash: #ff9aa3; --tk-stub: linear-gradient(180deg, #fff1f2 0%, #ffe0e3 100%); --tk-num: #d1101d; }
.genre-grid[data-card="ticket"] .gcard-wrap.is-new.is-new, .genre-grid[data-card="ticket"] .gcard-wrap.is-new.is-new:hover { filter: drop-shadow(0 6px 12px rgba(238,28,43,0.26)); } /* 주황 카드와 확실히 다르게: 진한 빨강 + 빨간 번호칸 + 빨간 그림자. (2026-11-22) 1px 빨간 윤곽(drop-shadow 0 0 1px)은 뺌 — 티켓 구멍에서 곡선 테두리와 겹쳐 2겹으로 보였음 */
.genre-grid[data-card="ticket"] .gcard-wrap.is-new.is-new .gnum i { color: #e0313d; }
.genre-grid[data-card="row"] .gcard-wrap.is-new .gcard { border-color: #ff2d2d; }
.genre-grid[data-card="cover"] .gcard-wrap.is-new .gcard-cover { box-shadow: 0 0 0 2px #ff2d2d; }
.gcard-new { position: absolute; left: 7px; top: 7px; z-index: 3; padding: 2px 7px; border-radius: 5px; background: #ee1c2b; color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; line-height: 1.4; box-shadow: 0 3px 8px -2px rgba(255,45,45,.6); pointer-events: none; } /* 새 곡 (2026-11-21) */
.gcard-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.gnum {
  display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0;
  padding: 6px 2px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
}
.gnum i { font-style: normal; font-size: 9px; font-weight: 800; color: var(--orange-deep); letter-spacing: 0.04em; }
.gnum b { font-size: 11.5px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.gnum.is-empty i { color: #c6bdb8; }
.gnum.is-empty b { color: #cfcfcf; font-weight: 600; }
a.gcard:hover .gcard-title { color: var(--orange-deep); }
.gcard.is-pending { cursor: default; }

/* ----- 초안 A : 커버형 (앨범 커버 + 번호 3칸) ----- */
.genre-grid[data-card="cover"] { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 20px; }
.genre-grid[data-card="cover"] .gcard { flex-direction: column; gap: 10px; transition: transform .2s ease; }
.genre-grid[data-card="cover"] a.gcard:hover { transform: translateY(-3px); }
.genre-grid[data-card="cover"] .gcard-cover {
  aspect-ratio: 1 / 1; width: 100%; max-width: 100%; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.genre-grid[data-card="cover"] a.gcard:hover .gcard-cover img { transform: scale(1.06); }
.genre-grid[data-card="cover"] .gcard-body { align-items: center; text-align: center; }
.genre-grid[data-card="cover"] .gcard-orig, .genre-grid[data-card="cover"] .gcard-artist { max-width: 100%; }
.genre-grid[data-card="cover"] .gcard-nums { margin-top: auto; } /* 제목이 1줄이든 2줄이든 번호칸 높이를 한 줄로 맞춤 */

/* ----- 초안 B : 가로 리스트형 (번호가 한눈에 보이는 실용형) ----- */
.genre-grid[data-card="row"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 12px; }
.genre-grid[data-card="row"] .gcard {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) 210px; align-items: center; gap: 16px;
  padding: 12px 14px 12px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.genre-grid[data-card="row"] a.gcard:hover { border-color: var(--orange); box-shadow: 0 8px 20px rgba(255,110,65,0.12); }
.genre-grid[data-card="row"] .gcard-cover { width: 76px; height: 76px; border-radius: 12px; }
.genre-grid[data-card="row"] .gcard-title { -webkit-line-clamp: 1; font-size: 14.5px; }
.genre-grid[data-card="row"] .gcard-stamps { right: 16px; }
.genre-grid[data-card="row"] .gcard-stamp { padding: 4px 6px 9px; font-size: 9px; }
/* 북마크 색: 신설리 추천 = #ff6e41, 가사 = 먹색 */
.gcard-stamp.is-pick { background: linear-gradient(180deg, #ff8357 0%, #ff6e41 100%); }
.gcard-stamp.is-lyric { background: linear-gradient(180deg, #4a4f5a 0%, #2b2f36 100%); }
.gcard-stamp.is-bgm { background: linear-gradient(180deg, #3d6bd6 0%, #2a4fae 100%); } /* 가사 없는 OST·BGM (2026-11-19) */
.genre-grid .gcard-nums.is-logo, .gcard-nums.is-logo { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.gcard-nums.is-logo img { display: block; max-height: 40px; max-width: 78%; object-fit: contain; }
.gcard-nums.is-logo em { font-style: normal; font-size: 12px; font-weight: 800; color: #9aa0ab; letter-spacing: .04em; }
.genre-grid[data-card="row"] .gnum { background: var(--orange-soft); border-color: transparent; padding: 8px 2px; }

/* ----- 초안 C : 티켓형 (노래방 예약표 느낌, 절취선 + 큰 번호) ----- */
.genre-grid[data-card="ticket"] { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 18px; }
/* 그림자는 바깥 감싸개(.gcard-wrap)에 drop-shadow로 → 홈을 실제로 뚫어도 그림자가 홈 모양을 따라감 (직선 경계 안 생김) */
.genre-grid[data-card="ticket"] .gcard-wrap { filter: drop-shadow(0 2px 5px rgba(40,20,10,0.06)); transition: filter .22s ease; }
/* 가사 있는 곡 : 그림자를 홈 모양(drop-shadow) 대신 바깥 사각형(box-shadow)으로 → 홈 바깥쪽이 하얗게 튀어나와 보이지 않음 */
/* (2026-11-18) 가사 있는 곡도 홈 모양을 따라가는 drop-shadow로 → 사각형 그림자 때문에 홈(반원)만 하얗게 튀어 보이던 것 없앰 */
.genre-grid[data-card="ticket"] .gcard-wrap.is-lyric { filter: drop-shadow(0 4px 9px rgba(255,110,65,0.14)); transition: filter .22s ease, transform .22s cubic-bezier(.16,1,.3,1); }
.genre-grid[data-card="ticket"] .gcard-wrap.is-lyric:hover { transform: translateY(-5px); filter: drop-shadow(0 12px 18px rgba(255,110,65,0.24)); }
.genre-grid[data-card="ticket"] .gcard-wrap.is-lyric a.gcard:hover { transform: none; }
.genre-grid[data-card="ticket"] .gcard {
  /* 가사 없는 곡 : 깔끔한 흰 티켓 */
  --tk-line: #ebe4e0; --tk-dash: #dcd2cc; --tk-stub: #faf8f7; --tk-num: var(--text);
  --tk-stub-h: 64px; /* 번호표 높이 (홈 위치 계산에 사용) */
  flex-direction: column; border-radius: 18px; background: #fff; border: 1px solid var(--tk-line);
  transition: transform .22s cubic-bezier(.16,1,.3,1);
  /* 절취선 양끝에 반지름 9px 구멍을 실제로 뚫음 (구멍 중심 = 카드 바깥 테두리, 번호표 윗선 높이) */
  /* (2026-11-18) 반쪽(51%)씩 붙이던 방식은 카드 폭이 소수점일 때 오른쪽 끝 1px(테두리)이 가려졌음 → 카드 전체 크기 마스크 두 장을 겹치는(intersect) 방식 */
  /* (2026-11-22) 둥근 홈 → 삼각형(V자) 홈: 꼭짓점이 카드 안쪽 9px, 위아래 9px 씩 (conic 90도 쐐기) */
  -webkit-mask:
    conic-gradient(from 225deg at 9px calc(100% - var(--tk-stub-h) - 1px), transparent 0 90deg, #000 0),
    conic-gradient(from 45deg at calc(100% - 9px) calc(100% - var(--tk-stub-h) - 1px), transparent 0 90deg, #000 0);
  -webkit-mask-composite: source-in;
  mask:
    conic-gradient(from 225deg at 9px calc(100% - var(--tk-stub-h) - 1px), transparent 0 90deg, #000 0),
    conic-gradient(from 45deg at calc(100% - 9px) calc(100% - var(--tk-stub-h) - 1px), transparent 0 90deg, #000 0);
  mask-composite: intersect;
}
/* 가사 있는 곡 : 오렌지 테두리 + 오렌지빛 번호표 */
.genre-grid[data-card="ticket"] a.gcard {
  --tk-line: #ffc8b2; --tk-dash: #f5a98b; --tk-stub: linear-gradient(180deg, #fff3ec 0%, #ffe6da 100%); --tk-num: #c2421a;
}
/* 테두리색은 변수(--tk-line)로 바꿔야 홈의 곡선 테두리도 같이 바뀜 */
.genre-grid[data-card="ticket"] a.gcard:hover { --tk-line: var(--orange); transform: translateY(-5px); }
.genre-grid[data-card="ticket"] .gcard-cover {
  aspect-ratio: 1 / 1; max-width: 100%; margin: 10px 10px 0; border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.genre-grid[data-card="ticket"] a.gcard:hover .gcard-cover img { transform: scale(1.06); }
/* 책갈피(신설리 추천·가사): 앨범 커버 오른쪽 위 모서리에 붙여서 내려옴 (2026-11-14) */
.genre-grid[data-card="ticket"] .gcard-stamps { top: 10px; right: 10px; gap: 3px; border-top-right-radius: 12px; overflow: hidden; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.22)); } /* 커버 오른쪽 위 모서리에 꽉 붙게, 모서리는 커버처럼 둥글게 */
.genre-grid[data-card="ticket"] .gcard-stamp { padding: 6px 7px 12px; }
.genre-grid[data-card="ticket"] .gcard-year { display: inline-block; }
.genre-grid[data-card="ticket"] .gcard-meta { display: none; } /* 티켓형은 발매연도를 커버 위 칩으로 표시 */
.genre-grid[data-card="ticket"] .gcard-body { padding: 13px 14px 15px; gap: 3px; align-items: center; justify-content: center; text-align: center; min-height: 96px; box-sizing: border-box; } /* 제목 길이와 상관없이 카드 높이 같게 */
.genre-grid[data-card="ticket"] .gcard-title { -webkit-line-clamp: 1; max-width: 100%; font-size: 14.5px; font-weight: 900; letter-spacing: -0.01em; } /* 긴 제목은 한 줄 … (마우스 올리면 전체) */
.genre-grid[data-card="ticket"] .gcard-orig { max-width: 100%; }
.genre-grid[data-card="ticket"] .gcard-artist { display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; margin-top: 3px; }
.genre-grid[data-card="ticket"] .gcard-nums {
  position: relative; margin-top: auto; height: var(--tk-stub-h); padding: 0 8px; gap: 0; align-items: center;
  border-top: 1.5px dashed var(--tk-dash); background: var(--tk-stub); border-radius: 0 0 17px 17px;
}
/* 삼각형 홈 가장자리의 V자 선 (2026-11-22): 카드(.gcard)는 마스크로 잘리니 선은 잘리지 않는 바깥 상자(.gcard-wrap)에 그림.
   선은 홈 쪽(바깥)에 1px — 카드의 잘린 가장자리가 그 위에 겹쳐 위치(소수점)와 상관없이 양쪽이 똑같이 보임 */
.genre-grid[data-card="ticket"] .gcard-wrap { position: relative; --tk-v: #ebe4e0; }
.genre-grid[data-card="ticket"] .gcard-wrap.is-lyric { --tk-v: #ffc8b2; }
.genre-grid[data-card="ticket"] .gcard-wrap.is-lyric:hover { --tk-v: var(--orange); }
.genre-grid[data-card="ticket"] .gcard-wrap.is-new.is-new { --tk-v: #ee1c2b; }
.genre-grid[data-card="ticket"] .gcard-wrap::before,
.genre-grid[data-card="ticket"] .gcard-wrap::after {
  content: ""; position: absolute; bottom: calc(64px + 1px - 9px); width: 10px; height: 18px; background: var(--tk-v); pointer-events: none; z-index: 0;
}
.genre-grid[data-card="ticket"] .gcard-wrap::before { left: 0; clip-path: polygon(0 0, 9px 9px, 0 18px, 0 16.6px, 7.6px 9px, 0 1.4px); }
.genre-grid[data-card="ticket"] .gcard-wrap::after { right: 0; clip-path: polygon(100% 0, calc(100% - 9px) 9px, 100% 18px, 100% 16.6px, calc(100% - 7.6px) 9px, 100% 1.4px); }
.genre-grid[data-card="ticket"] .gcard-wrap > .gcard { position: relative; z-index: 1; }
.genre-grid[data-card="ticket"] .gnum { background: transparent; border: 0; padding: 0 2px; gap: 3px; }
.genre-grid[data-card="ticket"] .gnum + .gnum { border-left: 1px solid rgba(200,150,130,0.25); border-radius: 0; }
.genre-grid[data-card="ticket"] .gnum b { font-size: 13.5px; font-weight: 900; color: var(--tk-num); letter-spacing: -0.01em; }
.genre-grid[data-card="ticket"] .gnum.is-empty b { color: #cdc4bf; }


/* ===== 노래 리스트 · 가수 리스트 ===== */
.lib-page { margin: 0 auto 44px; }
.vid-page { margin: 0 auto 44px; }
.lib-page[hidden] { display: none; }
.lib-total { font-size: 13px; font-weight: 700; color: var(--text-dim); }
.lib-total b { color: var(--orange); }
/* A안: 한 줄 컨트롤 바 (분류 · 필터 스위치 · 정렬 · 넓은 검색) */
.lib-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.lib-tabs { display: flex; gap: 2px; flex: none; padding: 4px; border-radius: 9px; background: #f4f4f5; }
.lib-tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 13px; font-weight: 800; color: #6b6b6b; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.lib-tabs button em { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(0,0,0,.06); font-style: normal; font-size: 10.5px; line-height: 17px; color: #8a8a8a; vertical-align: 1px; }
.lib-tabs button:hover { color: var(--text); }
.lib-tabs button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.lib-tabs button.on em { background: var(--orange); color: #fff; }
.lib-opts { display: flex; align-items: center; gap: 16px; flex: none; }
.lib-opts:empty { display: none; }
.lib-sw { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 800; color: #6b6b6b; cursor: pointer; white-space: nowrap; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.lib-sw i { width: 6px; height: 6px; border-radius: 50%; background: #d4d4d4; transition: background .15s ease; }
.lib-sw:hover { border-color: var(--orange); color: var(--orange-deep); }
.lib-sw.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-deep); }
.lib-sw.on i { background: var(--orange); }
.lib-opts { gap: 8px; }
.lib-dd { position: relative; flex: none; margin-left: 8px; }
.lib-dd-btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 800; color: var(--text); cursor: pointer; white-space: nowrap; }
.lib-dd-btn small { font-size: 11.5px; font-weight: 700; color: #a0a0a0; }
.lib-dd-btn svg { width: 14px; height: 14px; fill: none; stroke: #9a9a9a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.lib-dd-btn:hover, .lib-dd.open .lib-dd-btn { border-color: var(--orange); }
.lib-dd.open .lib-dd-btn svg { transform: rotate(180deg); stroke: var(--orange); }
.lib-dd-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.05); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.lib-dd.open .lib-dd-menu { opacity: 1; visibility: visible; transform: none; }
.lib-dd-menu button { display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; padding: 0 10px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 13px; font-weight: 700; color: #555; text-align: left; cursor: pointer; }
.lib-dd-menu button span { flex: 1; }
.lib-dd-menu button:hover { background: #fafafa; color: var(--text); }
.lib-dd-menu button.on { background: var(--orange-soft); color: var(--orange-deep); font-weight: 800; }
.lib-dd-menu button.on::after { content: ""; width: 8px; height: 4px; margin-right: 4px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg) translateY(-2px); }
/* 검색창 C안: 주황 테두리 입력칸 + 붙은 "검색" 버튼 */
.lib-search { position: relative; display: flex; flex: 1 1 auto; min-width: 280px; }
.lib-search > svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; pointer-events: none; }
.lib-search input { flex: 1; min-width: 0; height: 42px; padding: 0 40px 0 42px; border: 1.5px solid var(--orange); border-right: 0; border-radius: 8px 0 0 8px; font: inherit; font-size: 14px; outline: none; background: #fff; box-sizing: border-box; transition: box-shadow .15s ease; }
.lib-search input::placeholder { color: #a5a5a5; }
.lib-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.lib-search:focus-within { border-radius: 8px; box-shadow: 0 0 0 4px rgba(255,110,65,.12); }
.lib-clear { position: absolute; right: 98px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: 0; border-radius: 50%; background: #ececec; cursor: pointer; display: grid; place-items: center; padding: 0; }
.lib-clear[hidden] { display: none; }
.lib-clear:hover { background: #dedede; }
.lib-clear svg { width: 10px; height: 10px; fill: none; stroke: #777; stroke-width: 3; stroke-linecap: round; }
.lib-go { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 20px; border: 0; border-radius: 0 8px 8px 0; background: var(--orange); font: inherit; font-size: 13.5px; font-weight: 800; color: #fff; cursor: pointer; transition: background .15s ease; }
.lib-go:hover { background: var(--orange-deep); }
.lib-go svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.lib-sub:empty { display: none; }
.lib-sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lib-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.lib-chip { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 800; color: var(--text-dim); cursor: pointer; }
.lib-chip.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-deep); }
.lib-sort { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lib-sort button { height: 32px; padding: 0 12px; border: 0; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--text-dim); cursor: pointer; }
.lib-sort button + button { border-left: 1px solid var(--line); }
.lib-sort button.on { background: var(--orange-soft); color: var(--orange-deep); }
.lib-index { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.lib-index button { min-width: 28px; height: 28px; padding: 0 6px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 12.5px; font-weight: 800; color: #555; cursor: pointer; transition: background .15s ease, color .15s ease; }
@media (hover: hover) { .lib-index button:not(.on):not(:disabled):hover { background: #fff; color: var(--orange-deep); box-shadow: 0 1px 2px rgba(0,0,0,.08); } }
.lib-index button.on { background: var(--orange); color: #fff; box-shadow: 0 2px 6px rgba(255,110,65,.3); }
.lib-index button:disabled { color: #cfcfcf; cursor: default; background: none; box-shadow: none; }
.lib-index-sep { width: 1px; height: 16px; margin: 0 6px; background: #e0e0e0; }
.lib-empty { padding: 60px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--text-dim); text-align: center; }
/* 노래 표 */
.lib-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.lib-row { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr) 240px 92px 330px 96px; /* 가수 칸을 제목 옆으로 (2026-11-25 A안) */ gap: 14px; align-items: center; min-height: 48px; padding: 3px 18px 3px 14px; color: inherit; text-decoration: none; }
.lib-head { min-height: 0; padding: 9px 18px; background: #fafafa; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 800; color: var(--text-dim); }
.lib-row + .lib-row { border-top: 1px solid var(--line); }
a.lib-row:hover { background: #fffaf8; }
a.lib-row:hover .lib-t b { color: var(--orange-deep); }
.lib-no { font-size: 12px; font-weight: 800; color: #b5b5b5; text-align: center; font-variant-numeric: tabular-nums; }
.lib-cover { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #f3f3f3; display: block; }
.lib-t { min-width: 0; }
.lib-t b { display: block; font-size: 14px; font-weight: 800; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-t b em { margin-left: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #9a9a9a; } /* (원제) 한 줄로 */
.lib-t small { display: block; margin-top: 1px; font-size: 12px; color: #8a8a8a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-a { min-width: 0; font-size: 13px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-n { font-size: 13px; font-weight: 800; color: var(--text); text-align: center; font-variant-numeric: tabular-nums; }
.lib-n.none { color: #cfcfcf; font-weight: 600; }
.lib-head .lib-n { font-size: 11.5px; color: var(--text-dim); }
.lib-gcell { text-align: center; }
.lib-g { display: inline-block; padding: 3px 8px; border-radius: 5px; font-size: 11px; font-weight: 800; background: #f3f4f6; color: #5f6672; }
.lib-g.g-KPOP { background: #eef3ff; color: #3d5bb5; } .lib-g.g-JPOP { background: #fff0f3; color: #c2456a; } .lib-g.g-POP { background: #eefaf3; color: #2b8a57; } .lib-g.g-OST { background: #f5f0ff; color: #7048c2; }
.lib-lyric { justify-self: end; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--orange); font-size: 11.5px; font-weight: 800; color: var(--orange-deep); white-space: nowrap; }
.lib-lyric.none { border-color: var(--line); color: #c0c0c0; }
/* 오른쪽 칸 (2026-11-25, 초안 노래리스트-오른쪽칸): 가수 = 진하게(2번) · 분류 = 회색 글자만(3번) · 번호 = 한 상자 3칸(2번) */
.lib-row:not(.lib-head) .lib-a { font-weight: 700; color: #55575d; }
.lib-row .lib-g { padding: 0; background: none !important; font-size: 11.5px; color: #9a9aa2 !important; }
.lib-nb { display: grid; grid-template-columns: repeat(3, 1fr); height: 30px; border: 1px solid #ececf0; border-radius: 8px; overflow: hidden; background: #fff; }
.lib-nb .lib-n { display: grid; place-items: center; }
.lib-nb .lib-n + .lib-n { border-left: 1px solid #ececf0; }
.lib-nb .lib-n.none { background: #fafafb; }
.lib-head .lib-nb { height: auto; border: 0; background: none; } .lib-head .lib-nb .lib-n + .lib-n { border-left: 0; }
.lib-pick { display: inline-block; margin-right: 8px; height: 20px; padding: 0 13px 0 8px; border-radius: 3px 0 0 3px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 900; line-height: 20px; letter-spacing: .02em; vertical-align: 1px; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%); } /* 추천 리본 — 제목 앞이라 길어도 안 잘림 (2026-11-25) */
.lib-row.is-pick { background: linear-gradient(90deg, #fff4ee, #fff 60%); box-shadow: inset 3px 0 0 var(--orange); }
a.lib-row.is-pick:hover { background: linear-gradient(90deg, #ffece2, #fffaf8 60%); }
/* 가수 카드 */
.lib-artists { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
/* 가수 카드: 칸 전체를 가수 사진으로 (사진 없으면 연한 주황 + 첫 글자) */
.lib-artist { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 3px; min-height: 230px; padding: 0; overflow: hidden; border-radius: 10px; background: #2a2a2a; color: inherit; text-decoration: none; text-align: left; isolation: isolate; transition: transform .18s ease, box-shadow .18s ease; }
.lib-artist img, .lib-artist .lib-ph { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lib-artist::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); pointer-events: none; }
a.lib-artist:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--orange), 0 12px 26px rgba(255,110,65,.2); }
a.lib-artist:hover img { transform: scale(1.05); }
.lib-artist > b, .lib-artist > small, .lib-artist > .lib-cnt { margin: 0 14px; }
/* 해체한 가수 (2026-11-18, 가수 JSON "해체": "2024" 처럼 연도, 아무 글자나 있으면 해체로 봄) */
.lib-artist.disb { box-shadow: 0 0 0 2px #e5383b; }
a.lib-artist.disb:hover { box-shadow: 0 0 0 2px #e5383b, 0 12px 26px rgba(229,56,59,.22); }
.lib-disb { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; padding: 4px 12px 5px; border-radius: 0 0 8px 8px; background: #e5383b; color: #fff; font-size: 11.5px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 4px 10px rgba(229,56,59,.35); }

.lib-artist > b { display: flex; align-items: center; max-width: calc(100% - 28px); font-size: 16px; font-weight: 900; color: #fff; overflow: hidden; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.lib-artist > b span { overflow: hidden; text-overflow: ellipsis; }
.lib-artist > small { max-width: calc(100% - 28px); font-size: 12px; color: rgba(255,255,255,.82); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 18px; }
.lib-artist .lib-cnt { display: flex; gap: 6px; margin-top: 8px; margin-bottom: 14px; }
.lib-artist .lib-cnt span { padding: 3px 8px; border-radius: 5px; background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 11px; font-weight: 800; color: #fff; }
.lib-artist .lib-cnt span.l { background: var(--orange); }
.lib-artist .lib-cnt span.l.zero { background: rgba(255,255,255,.2); color: rgba(255,255,255,.75); }
.lib-artist.no-photo { background: #fff; box-shadow: inset 0 0 0 1px #ffd9cb; }
.lib-artist.no-photo::after { display: none; }
.lib-ph { display: grid; place-items: center; padding-bottom: 70px; box-sizing: border-box; background: linear-gradient(160deg, #fff7f3 0%, #ffe6dc 100%); font-size: 84px; font-weight: 900; color: rgba(255,110,65,.18); }
.lib-artist.no-photo > b { color: var(--text); text-shadow: none; }
.lib-artist.no-photo > small { color: #9a7f75; }
.lib-artist.no-photo .lib-cnt span { background: #fff; color: #6b6b6b; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lib-artist.no-photo .lib-cnt span.l { background: var(--orange); color: #fff; }
.lib-artist.no-photo .lib-cnt span.l.zero { background: #fff; color: #c0a99f; }
a.lib-artist.no-photo:hover { box-shadow: 0 0 0 2px var(--orange), 0 12px 26px rgba(255,110,65,.2); }
@media screen and (max-width: 900px) {
  .lib-bar { flex-wrap: wrap; gap: 10px; }
  .lib-tabs { max-width: 100%; overflow-x: auto; }
  .lib-search { flex-basis: 100%; min-width: 0; }
  .lib-opts { flex: 1 1 100%; flex-wrap: wrap; gap: 10px 14px; }
  .lib-dd { margin-left: auto; }
  .lib-tabs { width: 100%; } .lib-tabs button { flex: 1 1 auto; padding: 0 6px; font-size: 12.5px; } .lib-tabs button em { display: none; } /* 모바일: 탭 5개 한 줄 (숫자 뺌) */
  .lib-opts { flex-wrap: nowrap; gap: 6px; } .lib-opts > * { flex: none; } .lib-dd { margin-left: auto; }
  .lib-sw { height: 34px; padding: 0 10px; font-size: 12px; gap: 5px; } .lib-dd-btn { height: 34px; gap: 6px; padding: 0 9px 0 10px; font-size: 12px; } .lib-dd-btn small { display: none; } /* 필터·정렬 한 줄에 다 들어가게 */
  .lib-head { display: none; }
  .lib-row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "cover t lyric" "cover a lyric"; row-gap: 2px; padding: 10px 14px; }
  .lib-row .lib-no, .lib-row .lib-nb, .lib-row .lib-gcell { display: none; }
  .lib-cover { grid-area: cover; } .lib-t { grid-area: t; } .lib-a { grid-area: a; } .lib-lyric { grid-area: lyric; }
  .lib-artists { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lib-index { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .lib-index::-webkit-scrollbar { display: none; }
  .lib-index button, .lib-index-sep { flex: none; }
  .lib-artist { min-height: 0; aspect-ratio: 3 / 4; }
  .lib-ph { font-size: 60px; }
}
/* ===== 페이지 번호 ===== */
.genre-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin: 40px 0 10px; }
.genre-pager button {
  min-width: 34px; height: 34px; padding: 0 9px; border-radius: 10px; border: 1px solid transparent;
  font-size: 13px; font-weight: 700; color: var(--text-dim); font-variant-numeric: tabular-nums;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.genre-pager button:hover { background: var(--orange-soft); color: var(--orange-deep); }
.genre-pager button.active { background: var(--orange); color: #fff; }
.genre-pager button.nav { border-color: var(--line); padding: 0 14px; }
.genre-pager button[disabled] { opacity: 0.3; pointer-events: none; }
.genre-pager .ellipsis { min-width: 20px; text-align: center; color: #c0c0c0; font-size: 13px; }

@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 700px) {
  .genre-grid[data-card="row"] .gcard { grid-template-columns: 64px minmax(0, 1fr); }
  .genre-grid[data-card="row"] .gcard-cover { width: 64px; height: 64px; }
  .genre-grid[data-card="row"] .gcard-nums { grid-column: 1 / -1; }
  .genre-grid[data-card="cover"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .genre-grid[data-card="ticket"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .genre-grid[data-card="ticket"] .gnum b { font-size: 11.5px; }
}

/* ---------- 상세 페이지 (기존 구조 재사용) ---------- */
.post-detail { grid-column: 1 / -1; }
.post-hero {
  position: relative; min-height: 220px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; background-color: var(--orange-soft);
  display: flex; align-items: flex-end; margin-bottom: 28px;
}
.post-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.62) 100%); }
.post-hero .inner { position: relative; z-index: 2; padding: 26px; }
.post-hero h1 { font-size: 24px; font-weight: 900; color: #fff; line-height: 1.35; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.post-hero .meta { display: flex; gap: 12px; margin-top: 10px; font-size: 12px; color: #f0e9e6; }

/* song-info-card는 본문글(karaoke-sync 위젯)에 자체 포함되도록 이동됨 */

.entry-content { padding: 8px 0 30px; font-size: 15.5px; line-height: 1.85; color: var(--text); }
.entry-content a { color: var(--orange-deep); text-decoration: underline; }
.entry-content img { border-radius: 10px; }

/* ---------- 티스토리 기본 공감/공유/통계 툴바 숨김 (애드온 태그 미사용시 강제 삽입됨) ---------- */
#post_button_group, .container_postbtn { display: none !important; }

/* ---------- 댓글 관련: 이름카드 팝업은 완전히 숨기고, 댓글 영역은 기본 숨김 후 버튼으로 토글 ---------- */
.tt_box_namecard { display: none !important; }
.comments, .tt-comment-cont { display: none; margin-top: 20px; }
body.sc-comments-open .comments, body.sc-comments-open .tt-comment-cont { display: block; }

.action-bar { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; position: relative; flex-wrap: wrap; }
.action-bar .comment-toggle-btn { padding: 8px 16px; border-radius: 18px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; background: #fff; cursor: pointer; }
.action-bar .comment-toggle-btn.open { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-deep); }
.action-bar .copyright-line { margin: 0 0 0 auto; font-size: 12px; color: #b6b6b6; }
@media screen and (max-width: 560px) {
  .action-bar .copyright-line { margin: 8px 0 0 0; flex-basis: 100%; }
}
.action-bar .like-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 18px; background: var(--orange-soft); font-size: 13px; font-weight: 700; color: var(--orange-deep); }
.action-bar .like-btn.liked .like-icon { color: var(--orange-deep); }
.action-bar .share-btn { padding: 8px 16px; border-radius: 18px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.action-bar .like-btn { border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.action-bar .like-btn:not(.liked) { background: #fff; border-color: var(--line); color: var(--text-dim); }
.action-bar .like-btn:not(.liked) .like-icon { color: #c9c9c9; }
.action-bar .like-btn.liked { border-color: #ffc9b5; }
.action-bar .like-btn.pop .like-icon { animation: likePop .35s ease; }
@keyframes likePop { 40% { transform: scale(1.35); } }
.action-bar .share-btn, .action-bar .comment-toggle-btn { background: #fff; cursor: pointer; }
.action-bar .share-btn[aria-expanded="true"] { border-color: var(--orange); color: var(--orange-deep); }
.action-bar .comment-toggle-btn { display: inline-flex; align-items: center; gap: 6px; }
.action-bar .cmt-n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #f1f1f1; font-style: normal; font-size: 11px; font-weight: 800; color: var(--text-dim); box-sizing: border-box; }
.action-bar .comment-toggle-btn.open .cmt-n { background: #fff; color: var(--orange-deep); }
.share-pop { position: absolute; left: 0; top: calc(100% - 6px); z-index: 50; width: 320px; max-width: calc(100vw - 32px); padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.14); box-sizing: border-box; }
.share-pop[hidden] { display: none; }
.share-pop-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.share-pop-h b { font-size: 14px; font-weight: 900; }
.share-x { width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--text-dim); cursor: pointer; }
.share-x:hover { background: #f3f3f3; color: var(--text); }
.share-grid { display: flex; gap: 6px; margin-bottom: 12px; }
.share-grid button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 6px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--text); cursor: pointer; }
.share-grid button:hover { background: #f7f7f7; }
.share-grid button[hidden] { display: none; }
.sh-ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.sh-ic svg { width: 24px; height: 24px; }
.sh-ic.kakao { background: #fee500; } .sh-ic.naver { background: #03c75a; } .sh-ic.mail { background: #6b7280; } .sh-ic.more { background: #b0b4bb; }
.share-copy { display: flex; gap: 6px; }
.share-copy input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fafafa; font: inherit; font-size: 12px; color: var(--text-dim); outline: none; }
.share-copy button { flex: none; height: 38px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--orange); font: inherit; font-size: 13px; font-weight: 800; color: #fff; cursor: pointer; }
.share-copy button.done { background: #22903f; }
.share-msg { margin: 8px 0 0; font-size: 12px; font-weight: 700; color: #22903f; }
.share-msg:empty { display: none; }
.share-msg.warn { color: var(--orange-deep); }

.tag-box { padding: 20px 0; border-top: 1px solid var(--line); }
.tag-box h3 { font-size: 13px; font-weight: 800; margin-bottom: 12px; color: var(--text-dim); }
.tag-box a { display: inline-block; margin: 0 8px 8px 0; padding: 6px 14px; border-radius: 16px; border: 1px solid var(--line); font-size: 12px; color: var(--text); }
.tag-box a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.comments, .tt-comments-wrap { padding: 24px 0; }

.protected-form { text-align: center; padding: 60px 0; grid-column: 1 / -1; }
.protected-form h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.protected-form p { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.protected-form input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; margin-right: 8px; }
.protected-form button { padding: 10px 18px; border-radius: 18px; background: var(--orange); color: #fff; font-weight: 700; }

/* ---------- 페이지네이션 ---------- */
.pagination { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 10px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12.5px; color: var(--text-dim); }
.pagination a:hover { background: var(--orange-soft); color: var(--orange-deep); }
.pagination a.selected, .pagination a.on { background: var(--orange); color: #fff; }
.pagination .prev, .pagination .next { width: auto; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line); }
.pagination .no-more-prev, .pagination .no-more-next { opacity: 0.3; pointer-events: none; }

/* ---------- 푸터 (후원카드 + 최근 업데이트 음악 + 네비카드) ---------- */
#footer { margin-top: 0; padding: 0; border-top: none; background: #fff; }
#footer .inner-footer { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 40px 12px 28px; box-sizing: border-box; }
#footer .footer-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; min-height: 180px; }
/* 수익 기능 끄기 (2026-11-24): <html> 에 money-on 이 없으면 = "오픈 이벤트" 기간 — 광고는 안 뜨고, 후원 UI 는 그대로 보이되 버튼만 잠김
   (스튜디오 → 신설리 계정 → 수익 기능, 이벤트 끝나는 날 = config/money.until) */
html:not(.money-on) .ad-rail:not(.oe) { display: none !important; } /* 오픈 이벤트 땐 광고 대신 이벤트 상자(.oe)만 */
html:not(.money-on) #footer .fsc-qr img { visibility: hidden; }
html:not(.money-on) .fsp-qr { position: relative; display: grid; place-items: center; } html:not(.money-on) .fsp-qr img { visibility: hidden; }
html:not(.money-on) .fsp-qr::after { content: "OPEN\A EVENT"; white-space: pre; position: absolute; font-size: 20px; font-weight: 900; line-height: 1.25; letter-spacing: .04em; text-align: center; color: #ff6e41; } /* 후원 혜택 창 QR 도 가림 (오픈 이벤트) */
html:not(.money-on) .fsp-scan { visibility: hidden; }
html:not(.money-on) .fsp-count { font-size: 0; } html:not(.money-on) .fsp-count::after { content: "후원은 이벤트 이후부터 열려요"; font-size: 12px; } /* QR 도 못 찍게 (오픈 이벤트) */
html:not(.money-on) #footer .fsc-qr { display: grid; place-items: center; } html:not(.money-on) #footer .fsc-qr::after { content: "OPEN\A EVENT"; white-space: pre; position: absolute; font-size: 11px; font-weight: 900; line-height: 1.3; text-align: center; color: #ff6e41; }
html:not(.money-on) #footer .fsc-qr { position: relative; }
html:not(.money-on) [data-donate], html:not(.money-on) .sc-kr-lp-opt[data-lp="donate"] { pointer-events: none !important; opacity: .45; filter: grayscale(1); }
.oe-note { display: none; }
html:not(.money-on) #footer .fsc-act { margin-top: 0; } /* 이벤트 문구가 버튼에 바로 붙게 */
#footer .fsc-text.fsc-oe { margin: auto -14px 14px 0; font-size: 11.5px; line-height: 1.45; letter-spacing: -.02em; white-space: nowrap; } /* 후원하기 버튼 바로 위로 */
#footer .fsc-text.fsc-oe b { font-size: 13px; font-weight: 900; letter-spacing: .08em; }
html:not(.money-on) .oe-note { display: block; }
html:not(.money-on) .oe-hide { display: none !important; }

/* 후원 카드 */
/* 후원 상자 : 티켓 */
#footer .footer-support-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 112px; border-radius: 16px; filter: drop-shadow(0 12px 22px rgba(255,110,65,.22)); box-sizing: border-box; }
#footer .fsc-hole { position: absolute; left: calc(100% - 123px); z-index: 3; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
#footer .fsc-hole-t { top: -11px; } #footer .fsc-hole-b { bottom: -11px; }
#footer .fsc-main { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 20px 20px 20px 24px; border-radius: 16px 0 0 16px; color: #fff; background: linear-gradient(150deg, #ff875a 0%, var(--orange) 50%, #f2542a 100%); }
#footer .fsc-main::after { content: ""; position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%); pointer-events: none; }
#footer .fsc-no { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.78); }
#footer .fsc-name { position: relative; margin-top: 8px; font-size: 20px; font-weight: 900; line-height: 1.3; }
#footer .fsc-text { position: relative; margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.92); }
#footer .fsc-act { position: relative; z-index: 1; margin-top: auto; display: flex; gap: 8px; }
#footer .fsc-act .fsc-go { flex: 1; min-width: 0; padding: 0 12px; }
/* 후원 (2026-11-22): 크티 하나 — 운영자 수동 확인 (최대 7일). Ko-fi 는 뺌 */
#footer .fsc-note { position: relative; margin: 6px 0 10px; font-size: 10.5px; white-space: nowrap; font-weight: 700; color: rgba(255,255,255,.85); }
/* 후원 혜택 보기 : 후원하기 옆 선물 아이콘 버튼 + "혜택" 이름표 (2026-11-13 G안) */
#footer .fsc-perk { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 9px; background: rgba(255,255,255,.2); color: #fff; cursor: pointer; box-sizing: border-box; transition: background .15s ease, transform .2s ease; }
#footer .fsc-perk:hover { background: rgba(255,255,255,.32); transform: translateY(-2px); }
#footer .fsc-perk svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#footer .fsc-perk i { position: absolute; top: -9px; right: -7px; height: 17px; padding: 0 6px; border-radius: 5px; background: #fff; color: #e85a2e; font-style: normal; font-size: 10px; font-weight: 900; line-height: 17px; white-space: nowrap; box-shadow: 0 2px 5px rgba(0,0,0,.15); }
#footer .fsc-go { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; border-radius: 9px; background: #fff; color: #e85a2e; font-size: 15px; font-weight: 900; text-decoration: none; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
#footer .fsc-go:hover { background: #fff5f0; transform: translateY(-2px); }
#footer .fsc-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-left: 2px dashed #ffb08f; border-radius: 0 16px 16px 0; background: #fff4ee; }
#footer .fsc-qr { width: 80px; height: 80px; padding: 5px; border-radius: 8px; background: #fff; box-shadow: 0 4px 10px rgba(255,110,65,.15); box-sizing: border-box; }
#footer .fsc-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
#footer .fsc-scan { font-size: 10px; font-weight: 900; letter-spacing: .2em; color: #e85a2e; }
#footer .fsc-bars { width: 70px; height: 16px; opacity: .55; background: repeating-linear-gradient(90deg, #e85a2e 0 2px, transparent 2px 4px, #e85a2e 4px 5px, transparent 5px 8px); }
@keyframes dnpF { from { opacity: 0; } }
@keyframes dnpU { from { transform: translateY(14px) scale(.98); opacity: 0; } }
@media (max-width: 640px) {
}
/* 후원 혜택 팝업 : 티켓 (왼쪽 본문 + 오른쪽 QR 조각) — 2026-11-13 새 디자인: 서비스 탭 + 혜택 카드 + 받는 방법 */
.fsc-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20,20,24,.55); backdrop-filter: blur(3px); }
.fsc-modal[hidden] { display: none; }
.fsp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 232px; width: 100%; max-width: 880px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.3)); animation: fspIn .3s cubic-bezier(.2,.9,.3,1.15); }
@keyframes fspIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.fsp-hole { display: none; }
.fsp-main { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px 0 0 18px; background: #fff; -webkit-mask: radial-gradient(circle 14px at 100% 0, #0000 96%, #000 100%), radial-gradient(circle 14px at 100% 100%, #0000 96%, #000 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fsp-head { position: relative; overflow: hidden; padding: 26px 32px 58px; color: #fff; background:
  radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px) 0 0 / 14px 14px,
  linear-gradient(135deg, #ff9466 0%, var(--orange) 42%, #e9481f 100%); }
.fsp-head::after { content: ""; position: absolute; right: -80px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.34), transparent 68%); }
.fsp-head::before { content: ""; position: absolute; right: 26px; bottom: 18px; width: 92px; height: 92px; opacity: .14; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M5 12v9h14v-9'/%3E%3Cpath d='M12 8S10.5 3.5 8 4.5 9 8 12 8zM12 8s1.5-4.5 4-3.5S15 8 12 8z'/%3E%3C/svg%3E"); }
.fsp-no { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.82); }
.fsp-no b { font-size: 15px; letter-spacing: .12em; color: #fff; }
.fsp-head h3 { position: relative; z-index: 1; margin: 12px 0 0; font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.fsp-head p { position: relative; z-index: 1; margin: 6px 0 0; max-width: 440px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.94); }
.fsp-body { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 0 32px 26px; }
/* 서비스 탭 : 머리띠 아래에 걸쳐 놓인 흰 막대 */
.fsp-tabs { position: relative; z-index: 2; display: flex; gap: 4px; margin: -26px 0 18px; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(233,72,31,.14), 0 0 0 1px rgba(0,0,0,.04); overflow-x: auto; scrollbar-width: none; }
.fsp-tabs::-webkit-scrollbar { display: none; }
.fsp-tabs[hidden] { display: none; }
.fsp-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #8a8f98; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.fsp-tab:hover { color: var(--text); background: #f7f7f8; }
.fsp-tab.on { background: #fff3ee; color: #e2511f; }
.fsp-tab img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.fsp-tab em { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #eef0f2; color: #8a8f98; font-style: normal; font-size: 10.5px; font-weight: 900; line-height: 18px; text-align: center; box-sizing: border-box; }
.fsp-tab.on em { background: var(--orange); color: #fff; }
.fsp-body.no-tabs { padding-top: 24px; }
/* 혜택 카드 2열 */
.fsp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; max-height: 340px; overflow-y: auto; animation: fspFade .22s ease; }
@keyframes fspFade { from { opacity: 0; transform: translateY(4px); } }
.fsp-card { position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 15px 15px 15px 14px; border: 1px solid #f0e7e2; border-radius: 12px; background: linear-gradient(180deg, #fff, #fffbf9); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.fsp-card:hover { border-color: #ffc6ae; box-shadow: 0 8px 18px rgba(255,110,65,.1); transform: translateY(-1px); }
.fsp-card:only-child, .fsp-card.wide { grid-column: 1 / -1; }
.fsp-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #fff1ea; overflow: hidden; font-size: 22px; line-height: 1; }
.fsp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fsp-ico img { width: 100%; height: 100%; object-fit: contain; }
.fsp-ico.img { background: #fff; box-shadow: inset 0 0 0 1px #f0e7e2; }
.fsp-card b { display: block; font-size: 14.5px; font-weight: 900; line-height: 1.35; color: var(--text); }
.fsp-card small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--text-dim); word-break: keep-all; }
.fsp-card small strong { color: #e2511f; font-weight: 800; }
.fsp-tag { display: inline-block; margin-top: 7px; padding: 2px 8px; border-radius: 5px; background: #fff1ea; font-style: normal; font-size: 11.5px; font-weight: 800; color: #e2511f; }
.fsp-empty { grid-column: 1 / -1; padding: 26px 0; border: 1px dashed #eadbd3; border-radius: 12px; font-size: 13px; color: var(--text-dim); text-align: center; }
/* 받는 방법 : 이어진 단계 */
.fsp-how h4 { margin: 0 0 12px; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; color: #b0b4bb; }
.fsp-steps { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: fsp; }
.fsp-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--text-dim); word-break: keep-all; }
.fsp-steps li::before { counter-increment: fsp; content: counter(fsp); position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 0 0 4px #fff; }
.fsp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 30px; right: -6px; top: 12px; border-top: 2px dashed #ffc6ae; }
.fsp-steps b, .fsp-steps strong { color: #e2511f; font-weight: 800; }
.fsp-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 22px; border-radius: 0 18px 18px 0; border-left: 2px dashed #ffb08f; background: linear-gradient(180deg, #fff8f4, #ffece2); -webkit-mask: radial-gradient(circle 14px at 0 0, #0000 96%, #000 100%), radial-gradient(circle 14px at 0 100%, #0000 96%, #000 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fsp-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 7px; background: rgba(0,0,0,.05); color: var(--text-dim); font-size: 15px; cursor: pointer; }
.fsp-x:hover { background: rgba(0,0,0,.09); color: var(--text); }
.fsp-qr { width: 150px; height: 150px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(255,110,65,.2); box-sizing: border-box; }
.fsp-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fsp-scan { font-size: 10.5px; font-weight: 900; letter-spacing: .2em; color: #e85a2e; }
.fsp-go { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 14.5px; font-weight: 900; text-decoration: none; box-shadow: 0 8px 18px rgba(255,110,65,.3); transition: background .15s ease, transform .15s ease; }
.fsp-go:hover { background: var(--orange-deep); transform: translateY(-1px); }
.fsp-go { flex-direction: column; gap: 1px; height: auto; min-height: 46px; padding: 6px 8px; line-height: 1.25; }
.fsp-go small { font-size: 10.5px; font-weight: 700; opacity: .9; }
.fsp-go2 { margin-top: -2px; background: #fff; color: var(--orange-deep); border: 1.5px solid var(--orange); box-shadow: none; }
.fsp-go2:hover { background: #fff5f0; }
.fsp-count { min-height: 16px; font-size: 11.5px; font-weight: 700; color: #b9785f; text-align: center; }
.fsp-bars { width: 110px; height: 18px; opacity: .45; background: repeating-linear-gradient(90deg, #e85a2e 0 2px, transparent 2px 4px, #e85a2e 4px 5px, transparent 5px 8px); }
@media screen and (max-width: 760px) {
  .fsp { grid-template-columns: 1fr; max-height: calc(100vh - 32px); overflow-y: auto; }
  .fsp-main { border-radius: 18px 18px 0 0; -webkit-mask: none; mask: none; overflow: visible; }
  .fsp-head { padding: 22px 20px 52px; border-radius: 18px 18px 0 0; }
  .fsp-head h3 { font-size: 23px; }
  .fsp-no { padding-right: 44px; }
  .fsp-body { padding: 0 16px 20px; }
  .fsp-list { grid-template-columns: 1fr; max-height: none; }
  .fsp-steps { grid-auto-flow: row; }
  .fsp-steps li { flex-direction: row; align-items: center; }
  .fsp-steps li::after { display: none; }
  .fsp-stub { border-left: 0; border-top: 2px dashed #ffb08f; border-radius: 0 0 18px 18px; padding: 22px; -webkit-mask: none; mask: none; position: static; }
  .fsp-x { z-index: 4; background: rgba(255,255,255,.22); color: #fff; }
}

/* 최근 업데이트 된 음악 카드 */
#footer .footer-recent-card {
  display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; min-width: 0;
  background: linear-gradient(160deg, #fffdf9 0%, #fff8f0 100%); border: 1px solid #f1e3cf;
  border-radius: 16px; box-sizing: border-box;
}
#footer .frc-header { text-align: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #ecddc0; }
#footer .frc-title { font-size: 15.5px; font-weight: 800; color: var(--orange); letter-spacing: -0.2px; }
/* 곡이 1~4개 어느 때든 칸 높이(38px)와 2줄 자리(84px)를 고정 → 적을 때 늘어나지 않음 */
#footer .frc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 38px; align-content: start; gap: 8px 10px; margin-bottom: 10px; height: 84px; }
#footer .frc-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; min-width: 0; overflow: hidden; /* 제목이 길어도 칸이 안 늘어나고 … (2026-11-23) */
  background: #fff; border: 1px solid #ecddc0; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
#footer .frc-item:hover { border-color: var(--orange); }
#footer .frc-item:hover .frc-item-title { color: var(--orange-deep); }
#footer .frc-artist-box {
  flex: 0 0 auto; max-width: 150px; padding: 3px 7px; border-radius: 6px; /* (2026-11-23) '메이플스토리 OST'까지 보이게 84 → 150 */
  background: var(--orange-soft); color: var(--orange-deep); font-size: 10px; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#footer .frc-item > .sc-flag { flex: none; margin: 0 -2px 0 0; } /* 가수명 칸 왼쪽에 따로 (2026-11-24) */
#footer .frc-item-title {
  min-width: 0; font-size: 12px; font-weight: 700; color: #6b5a2a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#footer .frc-empty { grid-column: 1 / -1; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; color: #b0a488; padding: 0; } /* 비었을 때 문구를 칸 가운데로 */
#footer .frc-page-nav { display: flex; gap: 6px; justify-content: center; align-items: center; margin-bottom: 6px; }
#footer .frc-page-arrow {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid #e0c87a; background: #fff; color: #8a6d23;
  font-size: 10px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; padding: 0; line-height: 1;
}
#footer .frc-page-arrow:hover { background: #f5e4a0; }
#footer .frc-page-arrow[disabled] { opacity: 0.3; pointer-events: none; }
#footer .frc-page-num { font-size: 11px; font-weight: 700; color: #8a6d23; min-width: 14px; text-align: center; }
#footer .fdc-refresh { margin: 0 0 6px 0; font-size: 11px; font-weight: 600; color: #b0b0b0; text-align: center; }
#footer .fdc-signoff { margin: 0; padding-top: 12px; border-top: 1px solid #ecddc0; font-size: 12.5px; font-weight: 800; color: var(--orange); text-align: center; line-height: 1.6; }

/* 네비게이션 카드 */
#footer .footer-nav-card {
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px 24px;
  background: #fafbfc; border: 1px solid #eef1f4; border-radius: 16px; box-sizing: border-box; gap: 12px;
}
#footer .footer-nav-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; }
#footer .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
#footer .fb-logo-img { height: 32px; width: auto; object-fit: contain; display: block; }
#footer .fb-desc { font-size: 12px; font-weight: 600; color: #94a3b8; }
#footer .box-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; flex-shrink: 0; }
#footer .footer-nav-top > .box-buttons { margin-top: 2.5px; } /* 버튼 가운데 = SINCERELY 로고 글자줄 가운데 (2026-11-27: 로고 그림 128px 중 글자는 54~101px) */
#footer .fdc-email-wrap { position: relative; display: inline-block; }
#footer .fdc-email-popup {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #fff;
  border: 1px solid #ffd2bd; border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 50; min-width: 220px; white-space: nowrap;
}
#footer .fdc-email-wrap.open .fdc-email-popup { display: block; }
#footer .fdc-email-addr-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 10px; }
#footer .fdc-email-addr { font-size: 13px; font-weight: 700; color: #1a1a1a; }
#footer .fdc-email-copy-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 3px 9px;
  font-size: 11px; font-weight: 700; color: var(--orange); background: #fff5f2; border: 1px solid #ffd2bd;
  border-radius: 6px; cursor: pointer; white-space: nowrap; transition: all .15s ease;
}
#footer .fdc-email-copy-btn:hover { background: #ffe4d6; }
#footer .fdc-email-copy-btn.copied { background: var(--orange); color: #fff; border-color: var(--orange); }
#footer .fdc-email-go {
  display: flex; width: 100%; justify-content: center; padding: 8px 14px; background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 8px; text-decoration: none; transition: background .15s; box-sizing: border-box;
}
#footer .fdc-email-go:hover { background: var(--orange-deep); }
#footer .fdc-email-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 17px; min-height: 34px; background: #fff;
  border: 1px solid var(--orange); border-radius: 18px; font-size: 12px; font-weight: 700; color: var(--orange);
  text-decoration: none; transition: all .2s ease; cursor: pointer; white-space: nowrap; box-sizing: border-box;
}
#footer .fdc-email-btn:hover { background: #fff5f2; }
html.dark .dk-txt { color: #000 !important; } html.dark ::placeholder { color: #262626 !important; opacity: 1; } /* 입력칸 안내 글자도 흰색(살짝 덜 밝게) */ /* 반전되면 흰색 */
html.dark .top-song-1 .top-song-video { box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 0 0 5px rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.5); } /* 신설리's PICK: 어두운 썸네일이 다크 바탕에 묻히지 않게 밝은 테두리 */
html.dark .dk-wbtn:not(.on):not(.active) { background-color: #fff; }
/* 흰 바탕 버튼은 따로 필터(층)를 만들지 않고 "반전되면 원래 색이 되는 색"을 직접 칠함 → 화면 배율(125% 등)에서 테두리 위아래 두께가 달라지던 것 없음.
   #000 → 흰색, #f37048 → #ff6e41, #bdcadc → #475569, #32170d → #ffe1d5 */
html.dark :is(.dk-wbtn, .gnb-premium-quick-btn, .fdc-email-btn, .top-song-rank, .gtc-hero .gtb-cta):not(.on):not(.active) { filter: none !important; background: #000 !important; border-color: #f37048 !important; color: #f37048 !important; }
html.dark .gtc-hero .gtb-cta { box-shadow: inset 0 0 0 1.5px #f37048 !important; }
html.dark .gnb-premium-quick-btn:not(.on):not(.active):not(:hover) { border-color: #171c23 !important; } html.dark .gnb-premium-quick-btn .quick-btn-text { color: #bdcadc !important; }
html.dark .gnb-premium-quick-btn:hover { border-color: #f37048 !important; } html.dark .gnb-premium-quick-btn:hover .quick-btn-text { color: #f37048 !important; }
/* 회원 목록 내 카드: 필터 없이 반전 후 원래 색이 되는 색 (#000→흰, #fff→#1f1f23, #75757c→#9a9aa2, #88888f→#8a8a92, #101012→#f1f1f4) */
html.dark .mb-card.is-me { background: #000; border-color: #fff; color: #fff; border-bottom-width: 3px; } /* 다크: 아래 테두리가 얇아 보여서 +1px */
html.dark .mb-card.is-me.is-op { border-color: #f37048; box-shadow: none; }
html.dark .mb-card.is-me .mb-bn:not([style*="url"]) { background-color: #101012; }
html.dark .mb-card.is-me .mb-nm { color: #fff; } html.dark .mb-card.is-me .mb-id { color: #75757c; }
html.dark .mb-card.is-me .mb-st { color: #88888f; } html.dark .mb-card.is-me .mb-st b { color: #fff; }
html.dark .mb-card.is-me .mb-av { border-color: #000; } html.dark .mb-card.is-me .mb-av.dk-keep { border-color: #fff; }
html.dark .mb-card.is-me .mb-tag.me { background: #fff; color: #000; } html.dark .mb-card.is-me .mb-tag.op { background: #f37048; color: #000; }
/* 번역 영상: 선택 탭·YouTube 버튼은 흰 바탕 (반전 후 색으로 직접) */
html.dark .vl-tabs button { transition: none !important; } html.dark .vl-tabs button:not(.on) { color: #000 !important; } /* 글자: 처음부터 흰색 (JS 가 나중에 바꾸면 검→흰 깜빡임) */ html.dark .vl-tabs button:not(.on):hover { background: rgba(0,0,0,.12) !important; } /* 다크: 누를 때 검게 됐다가 하얘지는 깜빡임 없앰 */
html.dark .vl-tabs button.on { background: #000 !important; color: #ff8c66 !important; box-shadow: 0 0 0 1px #3a1d12 !important; }
html.dark .vl-yt { background: #000 !important; border-color: #141414 !important; color: #fff !important; } html.dark .vl-yt small { color: #88888f !important; }
html.dark .vl-yt:hover { border-color: #f37048 !important; color: #f37048 !important; }
html.dark .mb-tab.on { background: #000 !important; border-color: #000 !important; color: #fff !important; } /* 회원 목록 선택 탭: 다크에선 흰 바탕 + 검정 글자 */
html.dark .top-song-rank::before { background: #f37048; box-shadow: 0 0 0 3px #32170d; } /* 원래 색 버튼 가장자리에 생기던 흰 띠 → 바탕색 링으로 덮음 (반전 필터 가장자리 계산 문제) */ /* 다크 모드: 테두리를 안쪽 그림자로 → 바깥에 번지던 연한 띠 없앰 */
#footer .fdc-inquiry-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; min-height: 34px; background: #FFE300;
  border: 1px solid #111; border-radius: 18px; font-size: 12px; font-weight: 700; color: #111;
  text-decoration: none; transition: all .2s ease; cursor: pointer; white-space: nowrap; box-sizing: border-box;
}
#footer .fdc-inquiry-btn:hover { background: #ffd700; }
#footer .fdc-inquiry-icon { width: 14px; height: 14px; object-fit: contain; display: block; flex-shrink: 0; }
#footer .footer-nav-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 12px; border-top: 1px solid #eef1f4;
}
#footer .box-policy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#footer .box-policy .link-footer { font-size: 12.5px; font-weight: 700; color: #64748b; text-decoration: none; position: relative; }
#footer .box-policy .link-footer:hover { color: var(--orange); }
#footer .box-policy .link-footer.current { color: var(--orange); cursor: default; pointer-events: none; font-weight: 800; }
#footer .box-meta-text { text-align: right; line-height: 1.3; }
/* 프로젝트 목록: 2열 목록 (2026-11-24, 시안 A) — 늘어나도 줄만 추가 */
#footer .fb-no { font-size: 12.5px; font-weight: 800; color: #475569; }
#footer .fb-sub { display: flex; align-items: center; gap: 9px; margin-top: 4px; }
#footer .fb-app { width: 38px; height: 38px; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.08); }
#footer .fb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#footer .footer-nav-card { justify-content: flex-start; }
#footer .footer-nav-bottom { flex-direction: column; align-items: stretch; }
#footer .box-policy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; width: 100%; }
#footer .box-policy .link-footer { display: flex; align-items: center; gap: 9px; padding: 5px 8px 5px 5px; border-radius: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#footer .box-policy .link-footer:hover { background: #f1f4f7; }
#footer .box-policy .link-footer b { font-weight: inherit; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#footer .pj-ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; border-radius: 7px; background: #fff; border: 1px solid #e6eaef; color: #94a3b8; transition: all .15s; }
#footer .pj-ic.pj-img { background: #fff; overflow: hidden; padding: 0; width: auto; min-width: 24px; max-width: 84px; }
/* 사진은 자르지 않고 비율 그대로 (가로로 긴 배너면 칸이 넓어짐) */
#footer .pj-ic img { height: 100%; width: auto; max-width: 84px; object-fit: contain; display: block; }
#footer .pj-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#footer .box-policy .link-footer:hover .pj-ic { color: var(--orange); border-color: #ffd2bd; }
#footer .box-policy .link-footer.current .pj-ic { background: var(--orange); border-color: var(--orange); color: #fff; }
#footer .box-policy .link-footer.current { background: #fff3ee; }
#footer .footer-nav-bottom .box-meta-text { text-align: left; padding-top: 10px; border-top: 1px solid #eef1f4; }
#footer .text-info { font-size: 11.5px; font-weight: 600; color: #b4b8c2; margin: 0; }
#footer .text-info .link-privacy { color: #8a8f99; font-weight: 800; text-decoration: none; }
#footer .text-info .link-privacy:hover { color: var(--orange); }
#footer address { font-size: 11px; font-style: normal; color: #cbd0d8; margin: 1px 0 0 0; }

@media screen and (max-width: 1300px) {
  #footer .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #footer .footer-nav-card { grid-column: 1 / -1; }
}
@media screen and (max-width: 700px) {
  #footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
  #footer .footer-nav-card { grid-column: auto; }
  #footer .inner-footer { padding: 24px 18px; }
  #footer .footer-nav-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  #footer .footer-nav-top > .box-buttons { margin-top: 0; }
  #footer .footer-nav-bottom { flex-direction: column; align-items: flex-start; }
  #footer .box-meta-text { text-align: left; }
}

/* ---------- 반응형 ---------- */
@media screen and (max-width: 900px) {
  .top-songs-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
  #header h1.logo a { height: 32px; }
  #header h1.logo a img { max-width: 140px; }
  #header .inner { padding: 10px 16px; }
  .content-wrap { padding: 20px 16px 16px; }
  .custom-gnb-wrapper { display: none; }
  .popular-lists { flex-direction: column; gap: 28px; }
  .search-hero { padding: 8px 16px 0; }
  .search-live { max-width: none; }
  .search-live-panel { max-width: none; }
  .search-hero-form input, .search-hero-submit { width: auto; }
  .search-hero-input-wrap, .search-hero-form input { min-width: 0; } .search-hero-submit { padding: 0 16px; } /* 모바일에서 검색하기 버튼이 얇게 눌려 안 보이던 것 */
  .post-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
}
  
/* ===== 노래 신청 (2026-11-25, 초안 노래신청-초안 — 페이지·신청서 B, 내 신청 A) ===== */
.rq-flow-note { margin: 0 0 10px; text-align: left; }
.rq-flow-note b { color: var(--orange-deep); font-weight: 800; }
.rq-tabs { gap: 2px; padding: 4px; border-radius: 10px; background: #f4f4f5; }
.rq-tabs button { height: 34px; padding: 0 15px; border: 0; border-radius: 7px; background: none; color: #6b6b6b; }
.rq-tabs button:hover { color: var(--text); }
.rq-tabs button.on { background: #fff; border-color: transparent; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.rq-tabs button.on em { color: var(--orange); opacity: 1; }
.rq-item.is-mine { background: linear-gradient(90deg, #fff4ee, #fff 55%); box-shadow: inset 3px 0 0 var(--orange); }
.rq-item.is-mine .rq-by .me { order: -1; margin: 0 6px 0 0; padding: 2px 8px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 10.5px; }
/* 신청서 = 종이 신청서 */
.rq-dialog { max-width: 500px; padding: 30px 30px 26px; border-radius: 6px; background: #fffdf9; box-shadow: 0 0 0 8px rgba(255,255,255,.6), 0 24px 60px rgba(0,0,0,.25); }
.rq-form-k { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 900; letter-spacing: .18em; color: var(--orange); }
.rq-form-no { position: absolute; right: 62px; top: 32px; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: #ffa889; font-variant-numeric: tabular-nums; }
.rq-modal-title { font-size: 22px; letter-spacing: -.01em; }
.rq-modal-sub { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1.5px dashed #ffcdb9; }
.rq-combo input[type="text"] { padding-left: 2px; border: 0; border-bottom: 1.5px solid #e6e2dc; border-radius: 0; background: transparent; }
.rq-combo input[type="text"]:focus { border-bottom-color: var(--orange); }
.rq-combo input:disabled { background: transparent; }
.rq-genres i { border-radius: 999px; background: #fff; }
.rq-submit { border-radius: 6px; }
@media (max-width: 560px) { .rq-form-no { position: static; display: block; margin: -2px 0 4px; } }
