/* sing.ayo.pe.kr — 노래방·오락실 독자 스킨 (2026-09-27 사이트 고유 디자인 규칙).
 *
 * 콘셉트: **노래방 반주기 화면 × 노래책(곡번호 책)**. 방에 들어가면 먼저 보이는 것이 파란 반주기 화면의
 * 가사 색 채움이고, 손에 드는 것이 곡번호가 빼곡한 노래책이다. 헤더는 화면, 본문은 노래책이다.
 * site.css(디자인 A) 위에 덮어쓰고 전부 body.site-sing 아래로 가둔다 — 다른 사이트에 새지 않는다.
 *
 *   헤더   : 반주기 화면(짙은 파랑 그러데이션 + 주사선) · 상호는 가사 채움(분홍→흰색 반쯤 채워진 글자)
 *   탭     : 리모컨 버튼(둥근 사각, 누르면 들어간다)
 *   요약표 : 곡 정보 표 — 왼쪽 빨간 곡번호 칸 느낌의 라벨
 *   질답   : 가사 줄 — 질문 번호를 반주기 곡번호(5자리 모노)로, 질문 밑에 채움 막대
 *   목록   : 노래책 행 — 빨간 곡번호 + 점선 줄 + 가수 칸(주소)
 *   글꼴   : 제목 Yeon Sung · 본문 Nanum Gothic · 번호 Share Tech Mono
 *
 * ⚠️ 광고 유닛(<ins>·.ad-top·.ad-row 안쪽)에는 배경·테두리·라벨을 씌우지 않는다(site.css 애드센스 절).
 * ⚠️ 질문(h2)과 답(p) 사이에 요소를 끼우지 않는다 — 장식은 ::before/::after 로만.
 * ⚠️ 시설 여부는 'Y' 만 문장으로 쓴다(SITES.md) — 디자인에서 "없음" 배지를 만들지 않는다.
 */

body.site-sing {
  --fg: #1c1b2e;
  --fg-soft: #45435c;
  --muted: #7c7a92;
  --line: #dcd8e6;
  --line-soft: #ecE9f2;
  --bg: #fdfcff;
  --bg-soft: #f2f0f8;
  --accent: #d0265f;          /* 가사 채움 분홍 */
  --accent-strong: #a81a4b;
  --accent-soft: #fde2ec;
  --accent-wash: #fff4f8;
  --accent-line: #f3b3c9;
  --screen: #0c2a78;
  --screen-2: #1a4fc4;
  --num: #d62b2b;             /* 노래책 곡번호 빨강 */
  --radius: 8px;
  --wrap: 880px;
  --head: "Yeon Sung", "Nanum Gothic", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  background: #f6f4fa;
  background-image: linear-gradient(90deg, rgba(28, 27, 46, .035) 1px, transparent 1px);
  background-size: 22px 100%;
  font-family: "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
body.site-sing a { color: var(--accent); }

body.site-sing main,
body.site-sing .site-foot,
body.site-sing .ad-top,
body.site-sing .top-search { max-width: var(--wrap); }

/* ── 헤더: 반주기 화면 ──────────────────────────────────────────────── */
body.site-sing .site-head {
  position: relative;
  max-width: none;
  margin: 0 0 6px;
  padding: 26px max(20px, calc((100% - var(--wrap)) / 2 + 20px)) 20px;
  border: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 80% 0%, rgba(255, 120, 190, .35), transparent 55%),
    radial-gradient(ellipse at 10% 120%, rgba(80, 220, 255, .35), transparent 55%),
    linear-gradient(160deg, var(--screen) 0%, var(--screen-2) 100%);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25);
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
/* 화면 오른쪽 위 곡번호 표시 */
body.site-sing .site-head::after {
  content: "예약 01 ▸ 연주 중";
  position: absolute;
  right: max(20px, calc((100% - var(--wrap)) / 2 + 20px));
  top: 22px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  color: #aef0ff;
  letter-spacing: 1px;
}
body.site-sing .brand {
  font-family: var(--head);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 1px;
}
/* 가사 채움 — 앞쪽 절반은 분홍, 뒤는 흰색 */
body.site-sing .brand a {
  color: #fff;
  background: linear-gradient(90deg, #ff6fa6 0 55%, #fff 55%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #081c52);
}
body.site-sing .brand a:hover { text-decoration: none; }

/* 탭: 리모컨 버튼 */
body.site-sing .site-head nav { gap: 8px; }
body.site-sing .site-head nav a {
  padding: 7px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f4f5fb, #cfd3e4);
  color: #1c1b2e;
  font-weight: 800;
  font-size: 14.5px;
  box-shadow: 0 3px 0 #7d84a6, 0 5px 8px rgba(0, 0, 0, .25);
}
body.site-sing .site-head nav a.on,
body.site-sing .site-head nav a:hover {
  background: linear-gradient(180deg, #ff5f99, #d0265f);
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 1px 0 #7e1238, 0 2px 4px rgba(0, 0, 0, .25);
  text-decoration: none;
}

/* 검색창: 곡 검색(번호 입력) */
body.site-sing .site-search input[type="search"] {
  border: 2px solid var(--fg);
  border-radius: 6px;
  background: #fff;
}
body.site-sing .site-search input[type="search"]:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
body.site-sing .site-search button {
  border-radius: 6px;
  background: var(--fg);
  font-family: var(--head);
  font-weight: 400;
  font-size: 18px;
}
body.site-sing .site-search button:hover { background: var(--accent); }

/* ── 경로·제목 ─────────────────────────────────────────────────────── */
body.site-sing .crumb { font-size: 13px; }
body.site-sing .crumb a { color: var(--fg-soft); }
body.site-sing .crumb a::after { content: " ▸ "; color: var(--accent-line); font-size: 11px; }
body.site-sing .crumb span { color: var(--accent); font-weight: 700; }

body.site-sing h1 {
  font-family: var(--head);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--fg);
}
/* 가사 채움 막대 */
body.site-sing h1::after {
  content: "";
  display: block;
  height: 5px;
  margin-top: 10px;
  width: 100%;
  max-width: 320px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0 58%, var(--line) 58%);
}
body.site-sing .lead { color: var(--fg-soft); margin: 0 0 22px; }
body.site-sing .data-date { font-family: var(--mono); font-size: 13.5px; margin: -6px 0 18px; color: var(--muted); }

/* ── 요약표: 곡 정보 ────────────────────────────────────────────────── */
body.site-sing .summary {
  border: 2px solid var(--fg);
  border-radius: 6px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--accent-line);
}
body.site-sing .summary tr:has(> td:empty) { display: none; }
body.site-sing .summary tr + tr th,
body.site-sing .summary tr + tr td { border-top: 1px dashed var(--line); }
body.site-sing .summary th {
  width: 118px;
  background: var(--fg);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
}
body.site-sing .summary tr + tr th { border-top: 1px solid #34324d; }
body.site-sing .summary td { font-weight: 700; }

body.site-sing .btn { border-radius: 6px; }
body.site-sing .btn-phone { border: 2px solid var(--fg); color: var(--fg); background: #fff; font-weight: 800; }
body.site-sing .btn-phone:hover { background: var(--fg); color: #fff; }

/* ── 질답: 가사 줄 ──────────────────────────────────────────────────── */
body.site-sing section.qa { counter-reset: sg-q; }
body.site-sing .qa-head {
  font-family: var(--head);
  font-weight: 400;
  font-size: 25px;
  color: var(--fg);
}
body.site-sing .qa-head::before {
  content: "";
  width: 14px; height: 22px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(var(--fg), var(--fg)) 50% 100% / 3px 8px no-repeat, radial-gradient(circle at 50% 30%, #5a5874 0 6px, var(--fg) 7px);
}
body.site-sing .qa-list,
body.site-sing section.qa > .qa-item {
  padding: 4px 22px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -18px rgba(12, 42, 120, .4);
}
body.site-sing section.qa > .qa-item + .qa-item { margin-top: 10px; }
body.site-sing .qa-item {
  counter-increment: sg-q;
  position: relative;
  padding: 18px 0 18px 76px;
  border-bottom: 1px dashed var(--line);
}
body.site-sing .qa-item::before {
  content: "0" counter(sg-q, decimal-leading-zero) "1";
  position: absolute;
  left: 0; top: 19px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--num);
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .5px;
}
body.site-sing section.qa > .qa-item { padding: 18px 22px 18px 98px; }
body.site-sing section.qa > .qa-item::before { left: 22px; }
body.site-sing .qa-item h2 {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--fg);
}
body.site-sing .qa-item h2::before { content: none; }
body.site-sing .qa-item h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0 60%, var(--line) 60%);
}
body.site-sing .qa-item p { padding-left: 0; margin-top: 8px; color: var(--fg-soft); line-height: 1.85; }

/* ── 지도 ───────────────────────────────────────────────────────────── */
body.site-sing .mapsec-head { font-family: var(--head); font-weight: 400; font-size: 22px; }
body.site-sing .map-canvas,
body.site-sing .pano-canvas { border: 3px solid var(--screen); border-radius: 6px; }

/* ── 주변: 다음 곡 예약 ────────────────────────────────────────────── */
body.site-sing .near { border-top: 0; margin-top: 44px; }
body.site-sing .near-block {
  padding: 2px 20px 16px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, var(--screen), var(--screen-2));
  color: #dbe6ff;
}
body.site-sing .near h2 {
  border-left: 0;
  padding-left: 0;
  font-family: var(--head);
  font-weight: 400;
  font-size: 21px;
  color: #fff;
}
body.site-sing .near h2::before { content: "다음 곡 ▶ "; color: #ff8fb8; font-size: .8em; }
body.site-sing .near > .near-block > p { padding-left: 0; color: #c6d4f7; }
body.site-sing .near ul { padding-left: 0; }
body.site-sing .near li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
body.site-sing .near li a { color: #fff; font-weight: 800; }
body.site-sing .near .addr { color: #a8bbe8; }
body.site-sing .near .more { padding-left: 0; }
body.site-sing .near .more a { color: #aef0ff; }
body.site-sing .near .dist { background: #aef0ff; color: var(--screen); font-family: var(--mono); }
body.site-sing .dist { border-radius: 3px; }

/* ── 목록: 노래책 ───────────────────────────────────────────────────── */
body.site-sing section.list > h2,
body.site-sing section.children > h2,
body.site-sing section.other-sites > h2 {
  font-family: var(--head);
  font-weight: 400;
  font-size: 23px;
  color: var(--fg);
  border-bottom: 2px solid var(--fg);
}
body.site-sing .place-list {
  counter-reset: sg-row;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
body.site-sing .place-list li:not(.ad-row) {
  counter-increment: sg-row;
  position: relative;
  padding: 10px 14px 10px 84px;
  border-bottom: 1px dotted #c9c5d6;
}
body.site-sing .place-list li:not(.ad-row):nth-child(odd) { background: #faf9fd; }
body.site-sing .place-list li:not(.ad-row)::before {
  content: counter(sg-row, decimal-leading-zero) "7";
  position: absolute;
  left: 12px; top: 11px;
  width: 58px;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--num);
  letter-spacing: 1px;
}
body.site-sing .place-list li > a { color: var(--fg); font-weight: 800; }
body.site-sing .place-list li:not(.ad-row):hover { background: var(--accent-wash); }
body.site-sing .cat:empty { display: none; }
body.site-sing .cat { background: var(--bg-soft); color: var(--fg-soft); border-radius: 3px; }

/* 지역·조건·다른 사이트 링크: 노래책 색인 탭 */
body.site-sing .region-links { gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
body.site-sing .region-links li {
  position: relative;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
  background: #fff;
  box-shadow: inset 5px 0 0 var(--num);
}
body.site-sing .region-links li:nth-child(3n+2) { box-shadow: inset 5px 0 0 var(--screen-2); }
body.site-sing .region-links li:nth-child(3n) { box-shadow: inset 5px 0 0 #f0a70a; }
body.site-sing .region-links li:hover { background: var(--accent-wash); }
body.site-sing .region-links li > a { color: var(--fg); font-weight: 800; }
body.site-sing .count { font-family: var(--mono); color: var(--muted); font-size: 13px; }

/* 홈 메뉴: 반주기 화면 카드 */
body.site-sing .menu-cards { gap: 16px; }
body.site-sing .menu-cards li {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 22px 20px;
  border: 0;
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 90% 0%, rgba(255, 120, 190, .4), transparent 60%),
    linear-gradient(160deg, var(--screen), var(--screen-2));
  box-shadow: 0 0 0 4px #1c1b2e, 0 8px 0 4px #3a3856;
}
body.site-sing .menu-cards li:hover { filter: brightness(1.1); }
body.site-sing .menu-cards li > a {
  font-family: var(--head);
  font-weight: 400;
  font-size: 28px;
  color: #fff;
}
body.site-sing .menu-cards .count { color: #aef0ff; }

/* ── 출처·삭제요청·푸터 ─────────────────────────────────────────────── */
body.site-sing .source h2 { font-family: var(--head); font-weight: 400; font-size: 20px; }
body.site-sing .removal {
  border: 2px solid var(--fg);
  border-radius: 8px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--line);
}
body.site-sing .removal::before { background: var(--accent-soft); }
body.site-sing .removal-icon { border-radius: 6px; background: var(--num); color: #fff; font-family: var(--mono); }
body.site-sing .btn-removal { background: var(--fg); border-radius: 6px; box-shadow: 0 3px 0 #000; }
body.site-sing .btn-removal:hover { background: var(--accent); box-shadow: 0 3px 0 #7e1238; }
body.site-sing .site-foot {
  margin-top: 56px;
  padding: 22px 20px 44px;
  border-top: 4px solid var(--fg);
  color: var(--fg-soft);
}
body.site-sing .site-foot::before {
  content: "- 반주 끝 -";
  display: block;
  margin-bottom: 8px;
  font-family: var(--head);
  font-size: 18px;
  color: var(--accent);
}

/* ── 모바일 ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  body.site-sing .site-head { padding: 20px 16px 16px; }
  body.site-sing .site-head::after { top: 14px; right: 12px; font-size: 11px; }
  body.site-sing .brand { font-size: 30px; margin-top: 12px; }
  body.site-sing h1 { font-size: 30px; }
  body.site-sing .summary th { width: 88px; }
  body.site-sing .qa-list { padding: 2px 14px; }
  body.site-sing .qa-item { padding-left: 0; padding-top: 44px; }
  body.site-sing .qa-item::before { top: 16px; }
  body.site-sing section.qa > .qa-item { padding: 44px 16px 16px; }
  body.site-sing section.qa > .qa-item::before { left: 16px; }
  body.site-sing .place-list li:not(.ad-row) { padding-left: 70px; padding-right: 10px; }
  body.site-sing .place-list li:not(.ad-row)::before { left: 8px; font-size: 14px; }
  body.site-sing .region-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-sing .region-links li { flex-wrap: wrap; min-width: 0; }
  body.site-sing .near-block { padding: 2px 14px 14px; }
}

/* ── 다크 모드: 불 끈 노래방(화면만 밝다) ──────────────────────────── */
@media (prefers-color-scheme: dark) {
  body.site-sing {
    --fg: #ecebf5;
    --fg-soft: #c3c1d6;
    --muted: #918fa8;
    --line: #34324a;
    --line-soft: #2a283c;
    --bg: #17162a;
    --bg-soft: #211f35;
    --accent: #ff6fa6;
    --accent-strong: #ff9cc2;
    --accent-soft: #3d1a2c;
    --accent-wash: #2a1a26;
    --accent-line: #6b2a48;
    --num: #ff5a5a;
    background: #121122;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  }
  body.site-sing .summary,
  body.site-sing .qa-list,
  body.site-sing section.qa > .qa-item,
  body.site-sing .place-list,
  body.site-sing .region-links li,
  body.site-sing .removal,
  body.site-sing .site-search input[type="search"],
  body.site-sing .btn-phone { background: #1c1b30; }
  body.site-sing .place-list li:not(.ad-row):nth-child(odd) { background: #201f36; }
  body.site-sing .summary th { background: #2b2945; }
  body.site-sing .site-search button,
  body.site-sing .btn-removal { background: var(--accent); color: #17162a; }
  body.site-sing .btn-phone:hover { background: var(--fg); color: #17162a; }
  body.site-sing .menu-cards li { box-shadow: 0 0 0 4px #3a3856, 0 8px 0 4px #26243b; }
}
