/* 아티스트 목록·상세 */
.art-sec { padding-top: 60px; padding-bottom: var(--sec-gap); }
.art-count { margin: 30px 0 20px; font-size: 15px; color: var(--sub); }
.art-count b { color: var(--ink); }
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
.art-card { min-width: 0; }
.art-card a > * { min-width: 0; } /* 긴 앨범명이 카드 안을 늘리지 않게 (글자는 … 로 줄임) */
.art-card a { display: grid; gap: 12px; }
.art-thumb { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--card); aspect-ratio: 1; }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease-out, filter 300ms ease-out; }
@media (hover: hover) and (min-width: 768px) { .art-card a:hover .art-thumb img { transform: scale(1.1); filter: brightness(0.88); } }
.art-pin { position: absolute; left: 12px; top: 12px; }
.art-name { overflow: hidden; font-size: 17px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.art-album { overflow: hidden; margin-top: 3px; font-size: 15px; color: var(--sub); white-space: nowrap; text-overflow: ellipsis; }
.art-empty { grid-column: 1 / -1; padding: 80px 0; font-size: 16px; color: var(--sub); text-align: center; }

.art-detail { padding-top: 60px; }
.art-back { display: inline-flex; margin-bottom: 30px; font-size: 15px; font-weight: 600; color: var(--sub); }
.art-back:hover { color: var(--ink); }
.art-head { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
.art-cover { width: 360px; height: 360px; border-radius: var(--radius-card); object-fit: cover; background: var(--card); }
.art-info { display: grid; gap: 14px; justify-items: start; padding-top: 10px; }
.art-meta { display: grid; gap: 6px; margin-top: 6px; font-size: 15px; color: var(--body-2); }
.art-meta div { display: flex; gap: 12px; }
.art-meta dt { min-width: 56px; font-weight: 700; color: var(--ink-2); }
.art-info .btn-row { margin-top: 10px; }
.art-embed { margin-top: 50px; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 16 / 9; background: #000; }
.art-embed iframe { width: 100%; height: 100%; border: 0; }
.art-tracks { margin-top: 50px; }
.art-tracks-title { margin-bottom: 16px; font-size: 20px; font-weight: 700; }
.art-track-list { border-radius: var(--radius-card); background: var(--card); overflow: hidden; counter-reset: tr; }
.art-track-list li { display: flex; gap: 16px; padding: 16px 24px; font-size: 16px; counter-increment: tr; }
.art-track-list li + li { border-top: 1px solid var(--line); }
.art-track-list li::before { content: counter(tr, decimal-leading-zero); min-width: 24px; font-weight: 700; color: var(--primary); }
.art-track-list .is-title::after { content: '타이틀'; margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; }

@media (max-width: 1023px) {
  .art-sec, .art-detail { padding-top: 40px; }
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
  .art-head { grid-template-columns: 240px 1fr; gap: 30px; }
  .art-cover { width: 240px; height: 240px; }
  .art-name { font-size: 15px; }
  .art-album { font-size: 13px; }
}
@media (max-width: 767px) {
  .art-sec, .art-detail { padding-top: 30px; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .art-thumb { border-radius: 16px; }
  .art-head { grid-template-columns: 1fr; gap: 24px; }
  .art-cover { width: 100%; height: auto; aspect-ratio: 1; }
  .art-info { padding-top: 0; }
  .art-embed, .art-tracks { margin-top: 30px; }
  .art-track-list li { padding: 14px 18px; font-size: 15px; }
}

/* 상단 고정 아티스트 (큰 카드) */
.art-feat { display: grid; gap: 16px; margin-bottom: 40px; }
.art-feat-card { position: relative; display: flex; align-items: center; gap: 30px; padding: 18px 30px 18px 18px; border-radius: var(--radius-card); background: linear-gradient(110deg, #fff 0%, color-mix(in srgb, var(--primary) 7%, #fff) 60%, color-mix(in srgb, var(--primary) 14%, #f3eefe) 100%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 16%, #fff), 0 6px 20px rgba(16, 24, 40, 0.05); }
.art-feat-img { flex: none; width: 240px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--card); }
.art-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.art-feat-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.art-feat-name { font-size: 26px; font-weight: 800; line-height: 1.25; letter-spacing: -0.5px; overflow-wrap: anywhere; }
.art-feat-sub { font-size: 15px; font-weight: 600; color: var(--sub); }
.art-feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.art-feat-tags span { padding: 3px 12px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, #fff); font-size: 13px; font-weight: 600; color: var(--primary); }
.art-feat-desc { margin-top: 6px; padding-left: 10px; border-left: 3px solid var(--primary); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.art-feat-btn { flex: none; gap: 8px; }
.art-feat-play { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; }
.art-feat-play::after { content: ''; position: absolute; left: 7px; top: 5px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
@media (max-width: 1023px) {
  .art-feat-card { gap: 20px; padding-right: 20px; }
  .art-feat-img { width: 180px; }
  .art-feat-name { font-size: 22px; }
}
@media (max-width: 767px) {
  .art-feat-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 14px 18px; }
  .art-feat-img { width: 100%; }
  .art-feat-body { padding: 0 4px; }
  .art-feat-name { font-size: 21px; }
  .art-feat-btn { align-self: flex-start; margin-left: 4px; }
}

/* 상단 고정 카드: 시안처럼 흰색→하늘색 + 오른쪽 흰 물결 줄무늬, 3번째는 연보라 */
.art-feat-card { overflow: hidden; isolation: isolate; border-radius: 18px;
  background: linear-gradient(100deg, #fbfdff 0%, #f1f6ff 45%, #dde9ff 100%);
  box-shadow: inset 0 0 0 1.5px #cfdff8, 0 4px 18px rgba(36, 104, 190, 0.08); }
.art-feat-card::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(130% 160% at 112% 125%, transparent 38%, rgba(255, 255, 255, 0.85) 40%, transparent 47%),
    radial-gradient(120% 150% at 118% 140%, transparent 46%, rgba(255, 255, 255, 0.7) 48%, transparent 54%),
    radial-gradient(110% 140% at 125% 150%, transparent 53%, rgba(255, 255, 255, 0.55) 55%, transparent 60%); }
.art-feat-card:nth-child(3) { background: linear-gradient(100deg, #fdfbff 0%, #f5f0ff 45%, #e8ddff 100%); box-shadow: inset 0 0 0 1.5px #e2d6fa, 0 4px 18px rgba(124, 77, 255, 0.08); }
.art-feat-img { border-radius: 12px; }
.art-feat-sub { font-weight: 500; color: #8a8f98; }
.art-feat-tags span { padding: 3px 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px #c9d2df; }
.art-feat-desc { font-weight: 500; }
.art-feat-play { box-shadow: none; border-radius: 0; width: 14px; height: 16px; }
.art-feat-play::after { left: 1px; top: 1px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* 상단 고정: 세로 카드 3개를 가로로 (사진 위 · 글 · 버튼 아래), 색은 파란 계열 하나로 */
.art-feat { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.art-feat-card { flex-direction: column; align-items: stretch; gap: 16px; padding: 14px 14px 20px; }
.art-feat-card:nth-child(3) { background: linear-gradient(100deg, #fbfdff 0%, #f1f6ff 45%, #dde9ff 100%); box-shadow: inset 0 0 0 1.5px #cfdff8, 0 4px 18px rgba(36, 104, 190, 0.08); }
.art-feat-img { width: 100%; aspect-ratio: 1 / 1; }
.art-feat-body { padding: 0 6px; }
.art-feat-name { font-size: 22px; }
.art-feat-btn { align-self: flex-start; margin: auto 0 0 6px; }
@media (max-width: 1023px) {
  .art-feat { gap: 12px; }
  .art-feat-card { gap: 12px; padding: 10px 10px 16px; }
  .art-feat-name { font-size: 18px; }
  .art-feat-desc { font-size: 14px; }
}
@media (max-width: 767px) {
  .art-feat { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .art-feat-card { padding: 14px 14px 18px; }
  .art-feat-name { font-size: 21px; }
}

/* 아티스트 목록: 위쪽 제목 여백 줄임 */
[data-art-list-view] .sub-hero { padding-top: 50px; }
[data-art-list-view] .art-sec { padding-top: 36px; }
@media (max-width: 1023px) { [data-art-list-view] .sub-hero { padding-top: 40px; } [data-art-list-view] .art-sec { padding-top: 28px; } }
@media (max-width: 767px) { [data-art-list-view] .sub-hero { padding-top: 30px; } [data-art-list-view] .art-sec { padding-top: 24px; } }

/* 고정 아티스트 카드: 카드 아무 데나 누르면 상세로 (대표곡 듣기 버튼은 그대로 유튜브) */
.art-feat-card { cursor: pointer; }
.art-feat-link { color: inherit; text-decoration: none; }
.art-feat-link::after { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.art-feat-btn { position: relative; z-index: 1; }
.art-feat-img img { transition: transform 300ms ease-out; }
@media (hover: hover) { .art-feat-card:hover .art-feat-img img { transform: scale(1.05); } }

/* 상세: 큰 사진 밑 작은 사진 (누르면 큰 사진이 바뀜) */
.art-gallery { display: grid; gap: 12px; min-width: 0; }
.art-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.art-thumbs[hidden] { display: none; }
.art-thumb-btn { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--card); cursor: pointer; opacity: 0.55; transition: opacity 200ms ease-out, box-shadow 200ms ease-out; }
.art-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-thumb-btn.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--primary); }
@media (hover: hover) { .art-thumb-btn:hover { opacity: 1; } }
@media (max-width: 1023px) { .art-thumbs { gap: 6px; } .art-thumb-btn { border-radius: 8px; } }

/* 상세: 유튜브 밑 설명 글 */
.art-about { margin-top: 30px; padding: 30px 34px; border-radius: var(--radius-card); background: var(--card); font-size: 16px; font-weight: 500; line-height: 1.8; color: var(--ink-2); white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }
.art-about[hidden] { display: none; }
@media (max-width: 767px) { .art-about { margin-top: 20px; padding: 22px 20px; font-size: 15px; } }

/* 가수 이름 링크 · 공유 · 인스타/유튜브 · 심의한 앨범 */
.art-artist-link { display: inline-flex; align-items: center; gap: 4px; color: inherit; }
.art-artist-link span { font-size: 1.25em; line-height: 1; transition: transform 200ms ease-out; }
@media (hover: hover) { .art-artist-link:hover { text-decoration: underline; text-underline-offset: 3px; } .art-artist-link:hover span { transform: translateX(2px); } }
.art-title-row { display: flex; align-items: center; gap: 14px; max-width: 100%; }
.art-title-row .sub-title { min-width: 0; overflow-wrap: anywhere; }
.art-share { position: relative; flex: none; }
.art-share-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--card); color: var(--ink-2); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background 200ms ease-out, color 200ms ease-out; }
@media (hover: hover) { .art-share-btn:hover { background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); } }
.art-share-btn[aria-expanded="true"] { color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
/* 공유·인스타·유튜브: 세로 한 줄 + 옆에 글씨 설명 */
.art-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 2px; }
.art-acts-sns { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.art-acts-sns[hidden] { display: none; }
.art-act { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.art-act-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 200ms ease-out, color 200ms ease-out; }
.art-act-ico--share { border-radius: 50%; color: var(--ink-2); }
.art-act-ico--instagram { color: #d6249f; }
.art-act-ico--youtube { color: #ff0000; }
.art-act[aria-expanded="true"] .art-act-ico--share { color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
@media (hover: hover) { .art-act:hover .art-act-ico { transform: translateY(-2px); } .art-act:hover .art-act-ico--share { color: var(--primary); } }
.art-albums { margin-top: 50px; }
.art-albums[hidden] { display: none; }
.art-albums .art-tracks-title b { color: var(--primary); }
@media (max-width: 767px) {
  .art-albums { margin-top: 30px; }
  .art-act { font-size: 15px; }
}

/* 공유하기 창 (한 화면에 다 보이게: 카드 높이 제한 · 버튼 한 줄) */
.share-dlg { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 24px); padding: 18px 20px 14px; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(16, 24, 40, 0.28); overflow-y: auto; }
.share-dlg::backdrop { background: rgba(10, 16, 28, 0.55); }
.share-dlg[open] { animation: share-in 200ms ease-out; }
@keyframes share-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.share-head { display: flex; align-items: center; justify-content: space-between; }
.share-ttl { font-size: 19px; font-weight: 800; }
.share-x { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
@media (hover: hover) { .share-x:hover { background: var(--card); } }
.share-sub { margin-top: 2px; font-size: 13px; color: var(--sub); word-break: keep-all; }
.share-card { display: flex; justify-content: center; margin-top: 12px; }
.share-card img { display: block; height: min(44dvh, 400px); width: auto; max-width: 100%; aspect-ratio: 900 / 1100; object-fit: contain; border-radius: 14px; background: #0f1724; }
.share-card img:not([src]) { visibility: hidden; }
.share-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.share-sns { display: grid; justify-items: center; gap: 4px; padding: 10px 2px 8px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 11px; font-weight: 700; letter-spacing: -0.3px; white-space: nowrap; cursor: pointer; transition: background 200ms ease-out, transform 200ms ease-out; }
.share-sns svg { width: 22px; height: 22px; }
@media (hover: hover) { .share-sns:hover { background: color-mix(in srgb, var(--primary) 8%, #fff); transform: translateY(-2px); } }
.share-foot { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 8px; }
.share-copy, .share-save { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.share-copy { background: var(--primary); color: #fff; }
.share-save { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .share-copy:hover { filter: brightness(1.08); } .share-save:hover { background: color-mix(in srgb, var(--primary) 8%, #fff); } }
.share-msg { min-height: 18px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--primary); text-align: center; word-break: keep-all; }
@media (max-width: 767px) {
  .share-dlg { padding: 14px 14px 10px; }
  .share-card img { height: min(34dvh, 320px); }
  .share-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .share-sns { grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 6px; padding: 9px 2px; font-size: 12px; }
  .share-sns svg { width: 20px; height: 20px; }
}
