/* 상세·안내 페이지 (style.css 위에 얹음) — 갤러리 화이트 */
body.page { display: block; height: auto; min-height: 100%; }
.detail { max-width: 1040px; margin: 0 auto; padding: 28px 24px 56px; }
.back { display: inline-block; text-decoration: none; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.back:hover { color: var(--accent); }
.detail-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 48px; align-items: start; }
.detail-poster { position: sticky; top: 24px; }
.detail-poster img, .poster-ph { width: 100%; border-radius: 8px; box-shadow: 0 30px 60px -32px rgba(0,0,0,.55); display: block; }
.poster-ph { aspect-ratio: 3 / 4.2; background: #ecebe8; }
.detail-body { min-width: 0; }
.detail-body h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1.18; letter-spacing: -0.04em; margin: 14px 0 22px; text-wrap: balance; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: 64px 1fr; gap: 10px 16px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); font-size: 13px; padding-top: 2px; }
.facts dd { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.share-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary.on { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.detail-body section { margin-bottom: 30px; }
.detail-body h2 { font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.opens ul { list-style: none; margin: 0; padding: 0; background: var(--stage); color: var(--stage-ink); border-radius: 14px; overflow: hidden; }
.opens li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.opens li:last-child { border-bottom: 0; }
.opens li b { color: var(--accent-on-dark); font-size: 16px; }
.opens li time { font-size: 14px; }
.opens li a { color: inherit; }
.opens li .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; padding: 6px 12px; font-size: 13px; }
.empty-opens p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.book-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.book-links a { text-decoration: none; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.book-links a:hover { border-color: var(--ink); }
.mini-map { height: 240px; border-radius: 14px; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); }
.page-foot { max-width: 1040px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.page-foot a { color: inherit; }
.nf { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.04em; }
.prose { max-width: 720px; line-height: 1.75; }
.prose h1 { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.04em; margin: 0 0 6px; }
.prose h2 { font-size: 17px; margin: 28px 0 8px; color: var(--ink); }
.prose li { margin-bottom: 6px; }

/* 모아보기·아티스트·지역·이번 주 */
.hub { max-width: 920px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--accent); margin: 0 0 6px; }
.hub-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.04em; line-height: 1.15; margin: 0 0 12px; overflow-wrap: anywhere; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 22px; max-width: 640px; }
.note { font-size: 13px; margin-top: 28px; }
.hub section, .detail-body .tour, .detail-body .cal { margin: 30px 0; }
.hub h2, .detail-body .tour h2 { font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.hub h2 small, .tour h2 small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.ev-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ev-item a { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ev-item a:hover b { color: var(--accent); }
.ev-item img, .ev-item .ph { width: 56px; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 4px; background: #ecebe8; display: block; }
.ev-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ev-tag { font-size: 11px; font-weight: 700; }
.ev-body b { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ev-body small { color: var(--muted); font-size: 13px; }
.open-badge { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); border-radius: 999px; padding: 3px 10px; }
.artist-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 18px; }
.artist-card a { display: block; text-decoration: none; color: inherit; }
.artist-card img, .artist-card .ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: #ecebe8; display: block; transition: transform .25s; }
.artist-card a:hover img { transform: translateY(-3px); }
.ac-body { display: flex; flex-direction: column; gap: 3px; padding-top: 10px; }
.ac-body b { font-family: var(--display); font-size: 18px; letter-spacing: -0.02em; }
.ac-body small { color: var(--muted); font-size: 12px; }
.artist-card.followed b::before { content: "★ "; color: var(--accent); }
.script-box { margin-top: 44px; padding: 18px; border: 1px dashed var(--line); border-radius: 12px; }
.script-box textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; line-height: 1.6; padding: 12px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; margin-bottom: 8px; }
.hub > .btn-primary { margin-bottom: 8px; }
.cal p { font-size: 13px; margin: 4px 0 0; }

@media (max-width: 760px) {
  .detail { padding: 18px 16px 44px; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .top .tabs { overflow-x: auto; max-width: 100%; }
  .top .tabs a { white-space: nowrap; }
  .detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .detail-poster { position: static; max-width: 240px; }
  .opens li { grid-template-columns: auto 1fr; }
  .opens li time { grid-column: 2; }
  .opens li .btn-ghost { grid-column: 1 / -1; justify-self: start; }
}

/* K-POP 아티스트 찾기 · 한글 이름 */
.hub-search { width: 100%; box-sizing: border-box; margin: 4px 0 18px; padding: 12px 14px; font: inherit; border: 1px solid #ddd; border-radius: 10px; background: #fff; }
.hub-search:focus { outline: 2px solid #111; outline-offset: 1px; }
.artist-card .ac-ko { display: block; font-style: normal; font-size: .85em; color: #666; margin: 2px 0; }

/* 상세: 오픈 일정 바로가기 · 메모 · 지난 오픈 */
.open-jump { display: inline-block; margin: 4px 0 14px; padding: 8px 14px; border-radius: 999px; background: var(--accent, #2b50ff); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.open-note { display: block; color: #666; font-size: 12.5px; margin-top: 2px; }
.report-more { display: inline-block; margin-top: 8px; font-size: 13px; color: #666; }
.past-opens { margin-top: 10px; font-size: 13px; color: #666; }
.past-opens summary { cursor: pointer; }
.past-opens ul { margin: 6px 0 0; padding-left: 18px; }
